Searched refs:ar_hdr (Results 1 – 12 of 12) sorted by relevance
/external/elfutils/src/ |
D | arlib.c | 53 struct ar_hdr ar_hdr; in arlib_init() local 54 memcpy (ar_hdr.ar_name, "/ ", sizeof (ar_hdr.ar_name)); in arlib_init() 62 char tmpbuf[sizeof (ar_hdr.ar_date) + 1]; in arlib_init() 64 (int) sizeof (ar_hdr.ar_date), in arlib_init() 67 memcpy (ar_hdr.ar_date, tmpbuf, s); in arlib_init() 68 assert ((sizeof (struct ar_hdr) % sizeof (uint32_t)) == 0); in arlib_init() 74 memcpy (ar_hdr.ar_uid, "0 ", sizeof (ar_hdr.ar_uid)); in arlib_init() 75 memcpy (ar_hdr.ar_gid, "0 ", sizeof (ar_hdr.ar_gid)); in arlib_init() 76 memcpy (ar_hdr.ar_mode, "0 ", sizeof (ar_hdr.ar_mode)); in arlib_init() 77 memcpy (ar_hdr.ar_fmag, ARFMAG, sizeof (ar_hdr.ar_fmag)); in arlib_init() [all …]
|
D | arlib.h | 42 #define MAX_AR_NAME_LEN (sizeof (((struct ar_hdr *) NULL)->ar_name) - 1) 46 #define AR_HDR_WORDS (sizeof (struct ar_hdr) / sizeof (uint32_t))
|
D | ar.c | 513 + sizeof (struct ar_hdr)); in do_oper_extract() 785 rest_off = (index_off + sizeof (struct ar_hdr) in do_oper_extract() 846 struct ar_hdr arhdr; in write_member() 889 *startp += sizeof (struct ar_hdr); in write_member() 890 assert ((size_t) *lenp >= sizeof (struct ar_hdr)); in write_member() 891 *lenp -= sizeof (struct ar_hdr); in write_member() 970 + sizeof (struct ar_hdr)); in do_oper_delete() 1031 if (symtab.longnameslen > sizeof (struct ar_hdr) in do_oper_delete() 1380 + sizeof (struct ar_hdr)); in do_oper_insert() 1432 if (symtab.longnameslen > sizeof (struct ar_hdr) in do_oper_insert() [all …]
|
D | ranlib.c | 195 + sizeof (struct ar_hdr)); in handle_file() 243 rest_off = (index_off + sizeof (struct ar_hdr) in handle_file()
|
D | arlib2.c | 40 return size - sizeof (struct ar_hdr); in arlib_add_long_name()
|
/external/elfutils/libelf/ |
D | elf_begin.c | 712 struct ar_hdr hdrm; in read_long_names() 713 struct ar_hdr *hdr; in read_long_names() 722 || elf->maximum_size - offset < sizeof (struct ar_hdr)) in read_long_names() 726 hdr = (struct ar_hdr *) (elf->map_address + offset); in read_long_names() 754 offset += sizeof (struct ar_hdr) + ((len + 1) & ~1l); in read_long_names() 760 if (len > elf->maximum_size - offset - sizeof (struct ar_hdr)) in read_long_names() 777 + sizeof (struct ar_hdr), in read_long_names() 784 + sizeof (struct ar_hdr)) in read_long_names() 829 struct ar_hdr *ar_hdr; in __libelf_next_arhdr_wrlock() local 838 - elf->state.ar.offset) < sizeof (struct ar_hdr))) in __libelf_next_arhdr_wrlock() [all …]
|
D | elf_getarsym.c | 110 struct ar_hdr *index_hdr; in elf_getarsym() 115 if (pread_retry (elf->fildes, &elf->state.ar.ar_hdr, in elf_getarsym() 116 sizeof (struct ar_hdr), elf->start_offset + SARMAG) in elf_getarsym() 117 != sizeof (struct ar_hdr)) in elf_getarsym() 125 index_hdr = &elf->state.ar.ar_hdr; in elf_getarsym() 129 if (SARMAG + sizeof (struct ar_hdr) > elf->maximum_size) in elf_getarsym() 136 index_hdr = (struct ar_hdr *) (elf->map_address in elf_getarsym() 171 size_t off = elf->start_offset + SARMAG + sizeof (struct ar_hdr); in elf_getarsym() 187 || elf->maximum_size - index_size < SARMAG + sizeof (struct ar_hdr) in elf_getarsym()
|
D | elf_getaroff.c | 52 return elf->start_offset - sizeof (struct ar_hdr) - parent->start_offset; in elf_getaroff()
|
D | elf_next.c | 58 parent->state.ar.offset += (sizeof (struct ar_hdr) in elf_next()
|
D | libelfP.h | 399 struct ar_hdr ar_hdr; /* Header read from file. */ member
|
/external/elfutils/libdwfl/ |
D | open.c | 145 elf->state.ar.offset = offset - sizeof (struct ar_hdr); in libdw_open_elf()
|
D | core-file.c | 77 struct ar_hdr h = { .ar_size = "" }; in elf_begin_rand() 88 + offsetof (struct ar_hdr, ar_size)) in elf_begin_rand()
|