Lines Matching refs:mem_header
310 Elf_Arhdr *mem_header = NULL;
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->ar_rawname) + 1))
364 tmp_rawname = mem_header->ar_rawname;
374 file->ar_date = mem_header->ar_date;
375 file->ar_uid = mem_header->ar_uid;
376 file->ar_gid = mem_header->ar_gid;
377 file->ar_mode = (unsigned long) mem_header->ar_mode;
378 file->ar_size = mem_header->ar_size;
1250 * The mem_header->ar_name[] is set to a NULL string