Lines Matching refs:name

432 	char name[256];  in ar_scan()  local
439 char *name; in ar_scan() local
468 nread = read (desc, name, name_len); in ar_scan()
476 name[name_len] = 0; in ar_scan()
500 nread = read (desc, name, name_len); in ar_scan()
508 name[name_len] = 0; in ar_scan()
522 (*function) (desc, name, 0, in ar_scan()
555 name = namebuf; in ar_scan()
556 bcopy (member_header.ar_name, name, sizeof member_header.ar_name); in ar_scan()
558 register char *p = name + sizeof member_header.ar_name; in ar_scan()
561 while (p > name && *--p == ' '); in ar_scan()
570 is_namemap = (!strcmp (name, "//") in ar_scan()
571 || !strcmp (name, "ARFILENAMES/")); in ar_scan()
584 && (name[0] == ' ' || name[0] == '/') in ar_scan()
587 name = namemap + atoi (name + 1); in ar_scan()
590 else if (name[0] == '#' in ar_scan()
591 && name[1] == '1' in ar_scan()
592 && name[2] == '/') in ar_scan()
594 int namesize = atoi (name + 3); in ar_scan()
596 name = (char *) alloca (namesize + 1); in ar_scan()
597 nread = read (desc, name, namesize); in ar_scan()
603 name[namesize] = '\0'; in ar_scan()
619 (*function) (desc, name, ! long_name, member_offset, in ar_scan()
709 ar_name_equal (char *name, char *mem, int truncated) in ar_name_equal() argument
713 p = strrchr (name, '/'); in ar_name_equal()
715 name = p + 1; in ar_name_equal()
726 return strneq (name, mem, sizeof(hdr.ar_name) - 1); in ar_name_equal()
728 return strneq (name, mem, sizeof(hdr.ar_name) - 2); in ar_name_equal()
734 return !strcmp (name, mem); in ar_name_equal()
743 int mode UNUSED, char *name) in ar_member_pos() argument
745 if (!ar_name_equal (name, mem, truncated)) in ar_member_pos()
819 describe_member (int desc, char *name, int truncated, in describe_member() argument
826 name, truncated ? _(" (name might be truncated)") : "", in describe_member()