Searched defs:mem_header (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dfile.c310 Elf_Arhdr *mem_header = NULL; local
321 while (mem_header == NULL) {
325 if ((mem_header = elf_getarhdr(elf)) == NULL) {
332 if (mem_header->ar_name[0] == '/') {
335 mem_header = NULL;
341 * The mem_header->ar_name[] is set to a NULL string
349 (void) strncpy(file->ar_name, mem_header->ar_name, SNAME);
351 if ((file->ar_longname = malloc(strlen(mem_header->ar_name) + 1))
357 (void) strcpy(file->ar_longname, mem_header->ar_name);
358 if ((file->ar_rawname = malloc(strlen(mem_header
[all...]
/illumos-gate/usr/src/cmd/sgs/mcs/common/
H A Dfile.c77 Elf_Arhdr *mem_header; local
152 if ((mem_header = elf_getarhdr(elf)) == NULL) {
167 strlen(mem_header->ar_name));
176 cur_file, mem_header->ar_name);
189 fdartmp, mem_header,
196 fdartmp, mem_header,
200 fdartmp, mem_header, cur_file);
214 fdartmp, mem_header,
1268 Elf_Arhdr *mem_header,
1296 (void) sprintf(mem_header_buf, FORMAT, mem_header
1266 copy_elf_file_to_temp_ar_file( int fdartmp, Elf_Arhdr *mem_header, char *cur_file) argument
1329 copy_non_elf_to_temp_ar( int fd, Elf *elf, int fdartmp, Elf_Arhdr *mem_header, char *cur_file, Cmd_Info *cmd_info) argument
[all...]

Completed in 47 milliseconds