Lines Matching full:resources
1 /* rescoff.c -- read and write resources in Windows COFF files.
23 /* This file contains function that read and write Windows resources
113 /* Read the resources in a COFF file. */
386 struct bindata_build resources; member
408 /* Write resources to a COFF file. RESOURCES should already be
412 offer the ability to merge resources into an existing file. This
418 const struct res_directory *resources) in write_coff_file() argument
492 cwi.resources.d = NULL; in write_coff_file()
493 cwi.resources.last = NULL; in write_coff_file()
494 cwi.resources.length = 0; in write_coff_file()
500 coff_bin_sizes (resources, &cwi); in write_coff_file()
506 /* Actually convert the resources to binary. */ in write_coff_file()
507 coff_to_bin (resources, &cwi); in write_coff_file()
529 + cwi.resources.length); in write_coff_file()
555 for (d = cwi.resources.d; d != NULL; d = d->next) in write_coff_file()
733 + cwi->resources.length), in coff_res_to_bin()
740 if (cwi->resources.d == NULL) in coff_res_to_bin()
741 cwi->resources.d = d; in coff_res_to_bin()
743 cwi->resources.last->next = d; in coff_res_to_bin()
749 cwi->resources.last = d; in coff_res_to_bin()
750 cwi->resources.length += length; in coff_res_to_bin()
763 ex = coff_alloc (&cwi->resources, add); in coff_res_to_bin()