Home
last modified time | relevance | path

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

/external/elfutils/libdwfl/
Dcore-file.c78 struct ar_hdr h = { .ar_size = "" }; in elf_begin_rand()
84 memcpy (h.ar_size, parent->map_address + parent->start_offset + offset, in elf_begin_rand()
85 sizeof h.ar_size); in elf_begin_rand()
87 h.ar_size, sizeof (h.ar_size), in elf_begin_rand()
89 + offsetof (struct ar_hdr, ar_size)) in elf_begin_rand()
90 != sizeof (h.ar_size))) in elf_begin_rand()
96 size = strtoll (h.ar_size, &endp, 10); in elf_begin_rand()
97 if (unlikely (endp == h.ar_size) in elf_begin_rand()
Dopen.c139 elf->state.ar.elf_ar_hdr.ar_size = elf->maximum_size - offset; in __libdw_open_file()
/external/elfutils/src/
Darlib.c110 char tmpbuf[sizeof (((struct ar_hdr *) NULL)->ar_size) + 1]; in arlib_finalize()
125 (int) sizeof (((struct ar_hdr *) NULL)->ar_size), in arlib_finalize()
127 memcpy (&((struct ar_hdr *) symtab.longnames)->ar_size, tmpbuf, s); in arlib_finalize()
171 memcpy (&((struct ar_hdr *) symtab.symsoff)->ar_size, tmpbuf, in arlib_finalize()
173 (int) sizeof (((struct ar_hdr *) NULL)->ar_size), in arlib_finalize()
Dranlib.c205 index_size = arhdr->ar_size; in handle_file()
210 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in handle_file()
Dar.c518 index_size = arhdr->ar_size; in do_oper_extract()
527 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in do_oper_extract()
578 (uintmax_t) arhdr->ar_size, in do_oper_extract()
975 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in do_oper_delete()
1158 newp->size = arhdr->ar_size; in do_oper_insert()
1479 no0print (false, arhdr.ar_size, sizeof (arhdr.ar_size), in do_oper_insert()
Delflint.c292 arhdr->ar_name, arhdr->ar_size, false); in process_file()
/external/elfutils/libelf/
Delf_begin.c706 len = atol (hdr->ar_size); in read_long_names()
895 if (unlikely (ar_hdr->ar_size[0] == ' ')) in __libelf_next_arhdr_wrlock()
933 INT_FIELD (ar_size); 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()
1004 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.h175 int64_t ar_size; /* File size. */ member
DChangeLog317 * elf_begin.c (__libelf_next_arhdr_wrlock): ar_size cannot be
350 (__libelf_next_arhdr_wrlock): Likewise. Sanity check the ar_size.
956 (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/valgrind/perf/
Dtinycc.c20103 char ar_size[10]; /* file size, printed as decimal */ member
20160 char ar_size[11]; in tcc_load_archive() local
20177 memcpy(ar_size, hdr.ar_size, sizeof(hdr.ar_size)); in tcc_load_archive()
20178 ar_size[sizeof(hdr.ar_size)] = '\0'; in tcc_load_archive()
20179 size = strtol(ar_size, NULL, 0); in tcc_load_archive()