Home
last modified time | relevance | path

Searched refs:ar_size (Results 1 – 19 of 19) sorted by relevance

/external/elfutils/libdwfl/
Dcore-file.c77 struct ar_hdr h = { .ar_size = "" }; in elf_begin_rand()
83 memcpy (h.ar_size, parent->map_address + parent->start_offset + offset, in elf_begin_rand()
84 sizeof h.ar_size); in elf_begin_rand()
86 h.ar_size, sizeof (h.ar_size), in elf_begin_rand()
88 + offsetof (struct ar_hdr, ar_size)) in elf_begin_rand()
89 != sizeof (h.ar_size))) in elf_begin_rand()
95 size = strtoll (h.ar_size, &endp, 10); in elf_begin_rand()
96 if (unlikely (endp == h.ar_size) in elf_begin_rand()
Dopen.c144 elf->state.ar.elf_ar_hdr.ar_size = elf->maximum_size - offset; in libdw_open_elf()
/external/elfutils/src/
Darlib.c114 char tmpbuf[sizeof (((struct ar_hdr *) NULL)->ar_size) + 1]; in arlib_finalize()
129 (int) sizeof (((struct ar_hdr *) NULL)->ar_size), in arlib_finalize()
131 memcpy (&((struct ar_hdr *) symtab.longnames)->ar_size, tmpbuf, s); in arlib_finalize()
175 memcpy (&((struct ar_hdr *) symtab.symsoff)->ar_size, tmpbuf, in arlib_finalize()
177 (int) sizeof (((struct ar_hdr *) NULL)->ar_size), in arlib_finalize()
Dranlib.c189 index_size = arhdr->ar_size; in handle_file()
194 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in handle_file()
Dar.c503 index_size = arhdr->ar_size; in do_oper_extract()
512 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in do_oper_extract()
569 (uintmax_t) arhdr->ar_size, in do_oper_extract()
969 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in do_oper_delete()
1156 newp->size = arhdr->ar_size; in do_oper_insert()
1497 if (! no0print (false, arhdr.ar_size, sizeof (arhdr.ar_size), in do_oper_insert()
Delflint.c278 arhdr->ar_name, arhdr->ar_size, false); in process_file()
/external/elfutils/libelf/
Delf_begin.c742 char buf[sizeof (hdr->ar_size) + 1]; in read_long_names()
743 const char *string = hdr->ar_size; in read_long_names()
744 if (hdr->ar_size[sizeof (hdr->ar_size) - 1] != ' ') in read_long_names()
746 *((char *) mempcpy (buf, hdr->ar_size, sizeof (hdr->ar_size))) = '\0'; in read_long_names()
942 if (unlikely (ar_hdr->ar_size[0] == ' ')) in __libelf_next_arhdr_wrlock()
980 INT_FIELD (ar_size); in __libelf_next_arhdr_wrlock()
982 if (elf_ar_hdr->ar_size < 0) in __libelf_next_arhdr_wrlock()
992 if ((size_t) elf_ar_hdr->ar_size > maxsize) in __libelf_next_arhdr_wrlock()
993 elf_ar_hdr->ar_size = maxsize; in __libelf_next_arhdr_wrlock()
1051 ref->state.ar.elf_ar_hdr.ar_size, cmd, ref); in dup_elf()
Delf_next.c59 + ((parent->state.ar.elf_ar_hdr.ar_size + 1) in elf_next()
Delf_getarsym.c182 memcpy (tmpbuf, index_hdr->ar_size, 10); in elf_getarsym()
Dlibelf.h201 int64_t ar_size; /* File size. */ member
DChangeLog70 * elf_begin.c (read_long_names): Make sure ar_size is properly
676 * elf_begin.c (__libelf_next_arhdr_wrlock): ar_size cannot be
709 (__libelf_next_arhdr_wrlock): Likewise. Sanity check the ar_size.
1315 (Elf_Arhdr): Use off64_t for ar_size.
/external/elfutils/tests/
Darls.c102 (int) arhdr->ar_mode, (long long int) arhdr->ar_size); in handle()
Darextract.c106 todo = arhdr->ar_size; in main()
Dsaridx.c188 (long int) arhdr->ar_size, in main()
/external/elfutils/po/
Dde.po1158 msgid "cannot represent ar_size"
Dja.po1156 msgid "cannot represent ar_size"
Duk.po1155 msgid "cannot represent ar_size"
Dpl.po1148 msgid "cannot represent ar_size"
Des.po1161 msgid "cannot represent ar_size"