Lines Matching refs:elf_ar_hdr
67 elf->state.ar.elf_ar_hdr.ar_rawname = elf->state.ar.raw_name; in file_read_ar()
783 Elf_Arhdr *elf_ar_hdr; in __libelf_next_arhdr_wrlock() local
824 elf_ar_hdr = &elf->state.ar.elf_ar_hdr; in __libelf_next_arhdr_wrlock()
833 elf_ar_hdr->ar_name = memcpy (elf->state.ar.ar_name, "/", 2); in __libelf_next_arhdr_wrlock()
837 elf_ar_hdr->ar_name = memcpy (elf->state.ar.ar_name, "/SYM64/", 8); in __libelf_next_arhdr_wrlock()
841 elf_ar_hdr->ar_name = memcpy (elf->state.ar.ar_name, "//", 3); in __libelf_next_arhdr_wrlock()
864 elf_ar_hdr->ar_name = elf->state.ar.long_names + offset; in __libelf_next_arhdr_wrlock()
892 elf_ar_hdr->ar_name = elf->state.ar.ar_name; in __libelf_next_arhdr_wrlock()
922 if (sizeof (elf_ar_hdr->FIELD) <= sizeof (long int)) \ in __libelf_next_arhdr_wrlock()
923 elf_ar_hdr->FIELD = (__typeof (elf_ar_hdr->FIELD)) atol (string); \ in __libelf_next_arhdr_wrlock()
925 elf_ar_hdr->FIELD = (__typeof (elf_ar_hdr->FIELD)) atoll (string); \ in __libelf_next_arhdr_wrlock()
935 if (elf_ar_hdr->ar_size < 0) in __libelf_next_arhdr_wrlock()
945 if ((size_t) elf_ar_hdr->ar_size > maxsize) in __libelf_next_arhdr_wrlock()
946 elf_ar_hdr->ar_size = maxsize; in __libelf_next_arhdr_wrlock()
996 if (ref->state.ar.elf_ar_hdr.ar_name == NULL in dup_elf()
1004 ref->state.ar.elf_ar_hdr.ar_size, cmd, ref); in dup_elf()