Home | History | Annotate | Download | only in libelf

Lines Matching full:ar_name

686       if (memcmp (hdr->ar_name, "//              ", 16) == 0)
793 *((char *) __mempcpy (elf->state.ar.raw_name, ar_hdr->ar_name, 16)) = '\0';
799 if (ar_hdr->ar_name[0] == '/')
801 if (ar_hdr->ar_name[1] == ' '
802 && memcmp (ar_hdr->ar_name, "/ ", 16) == 0)
804 elf_ar_hdr->ar_name = memcpy (elf->state.ar.ar_name, "/", 2);
805 else if (ar_hdr->ar_name[1] == '/'
806 && memcmp (ar_hdr->ar_name, "// ", 16) == 0)
808 elf_ar_hdr->ar_name = memcpy (elf->state.ar.ar_name, "//", 3);
809 else if (likely (isdigit (ar_hdr->ar_name[1])))
824 offset = atol (ar_hdr->ar_name + 1);
831 elf_ar_hdr->ar_name = elf->state.ar.long_names + offset;
845 endp = (char *) memccpy (elf->state.ar.ar_name, ar_hdr->ar_name,
855 elf->state.ar.ar_name[i] = '\0';
856 while (i > 0 && elf->state.ar.ar_name[--i] == ' ');
859 elf_ar_hdr->ar_name = elf->state.ar.ar_name;
950 if (ref->state.ar.elf_ar_hdr.ar_name == NULL