• Home
  • Raw
  • Download

Lines Matching refs:ar_name

497       if (strcmp (arhdr->ar_name, "/") == 0)  in do_oper_extract()
503 if (strcmp (arhdr->ar_name, "//") == 0) in do_oper_extract()
508 arlib_add_symbols (elf, arfname, arhdr->ar_name, cur_off); in do_oper_extract()
517 entry.key = arhdr->ar_name; in do_oper_extract()
530 printf ("\n<%s>\n\n", arhdr->ar_name); in do_oper_extract()
562 arhdr->ar_name); in do_oper_extract()
565 printf ("x - %s\n", arhdr->ar_name); in do_oper_extract()
571 puts (arhdr->ar_name); in do_oper_extract()
581 arhdr->ar_name, elf_errmsg (-1)); in do_oper_extract()
604 xfd = open (arhdr->ar_name, flags, 0600); in do_oper_extract()
616 *((char *) mempcpy (truncfname, arhdr->ar_name, in do_oper_extract()
625 (int) printlen, arhdr->ar_name); in do_oper_extract()
646 error (0, errno, gettext ("failed to write %s"), arhdr->ar_name); in do_oper_extract()
659 arhdr->ar_name); in do_oper_extract()
675 arhdr->ar_name); in do_oper_extract()
688 r = link (tempfname, arhdr->ar_name); in do_oper_extract()
693 r = rename (tempfname, arhdr->ar_name); in do_oper_extract()
706 *((char *) mempcpy (truncfname, arhdr->ar_name, in do_oper_extract()
723 printlen, arhdr->ar_name); in do_oper_extract()
840 char tmpbuf[sizeof (arhdr.ar_name) + 1]; in write_member()
850 (int) sizeof (arhdr.ar_name), memb->long_name_off); in write_member()
851 changed_header = memcmp (arhdr.ar_name, tmpbuf, in write_member()
852 sizeof (arhdr.ar_name)) != 0; in write_member()
873 memcpy (arhdr.ar_name, tmpbuf, sizeof (arhdr.ar_name)); in write_member()
933 if (strcmp (arhdr->ar_name, "/") == 0 in do_oper_delete()
934 || strcmp (arhdr->ar_name, "//") == 0) in do_oper_delete()
941 entry.key = arhdr->ar_name; in do_oper_delete()
951 printf ("d - %s\n", arhdr->ar_name); in do_oper_delete()
972 arlib_add_symbols (subelf, arfname, arhdr->ar_name, newp->off); in do_oper_delete()
975 remember_long_name (newp, arhdr->ar_name, strlen (arhdr->ar_name)); in do_oper_delete()
1135 if (strcmp (arhdr->ar_name, "/") == 0 in do_oper_insert()
1136 || strcmp (arhdr->ar_name, "//") == 0) in do_oper_insert()
1146 remember_long_name (newp, arhdr->ar_name, strlen (arhdr->ar_name)); in do_oper_insert()
1152 if (member != NULL && strcmp (arhdr->ar_name, member) == 0) in do_oper_insert()
1163 entry.key = arhdr->ar_name; in do_oper_insert()
1358 arlib_add_symbols (subelf, arfname, arhdr->ar_name, cur_off); in do_oper_insert()
1440 char tmpbuf[sizeof (arhdr.ar_name) + 1]; in do_oper_insert()
1444 char *p = mempcpy (arhdr.ar_name, all->name, namelen); in do_oper_insert()
1446 memset (p, ' ', sizeof (arhdr.ar_name) - namelen - 1); in do_oper_insert()
1450 snprintf (tmpbuf, sizeof (arhdr.ar_name) + 1, "/%-*ld", in do_oper_insert()
1451 (int) sizeof (arhdr.ar_name), all->long_name_off); in do_oper_insert()
1452 memcpy (arhdr.ar_name, tmpbuf, sizeof (arhdr.ar_name)); in do_oper_insert()