/third_party/elfutils/src/ |
D | arlib.c | 52 struct ar_hdr ar_hdr; in arlib_init() local 53 memcpy (ar_hdr.ar_name, "/ ", sizeof (ar_hdr.ar_name)); in arlib_init() 61 char tmpbuf[sizeof (ar_hdr.ar_date) + 1]; in arlib_init() 63 (int) sizeof (ar_hdr.ar_date), in arlib_init() 66 memcpy (ar_hdr.ar_date, tmpbuf, s); in arlib_init() 67 assert ((sizeof (struct ar_hdr) % sizeof (uint32_t)) == 0); in arlib_init() 73 memcpy (ar_hdr.ar_uid, "0 ", sizeof (ar_hdr.ar_uid)); in arlib_init() 74 memcpy (ar_hdr.ar_gid, "0 ", sizeof (ar_hdr.ar_gid)); in arlib_init() 75 memcpy (ar_hdr.ar_mode, "0 ", sizeof (ar_hdr.ar_mode)); in arlib_init() 76 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 | 511 + sizeof (struct ar_hdr)); in do_oper_extract() 783 rest_off = (index_off + sizeof (struct ar_hdr) in do_oper_extract() 848 struct ar_hdr arhdr; in write_member() 891 *startp += sizeof (struct ar_hdr); in write_member() 892 assert ((size_t) *lenp >= sizeof (struct ar_hdr)); in write_member() 893 *lenp -= sizeof (struct ar_hdr); in write_member() 971 + sizeof (struct ar_hdr)); in do_oper_delete() 1032 if (symtab.longnameslen > sizeof (struct ar_hdr) in do_oper_delete() 1383 + sizeof (struct ar_hdr)); in do_oper_insert() 1435 if (symtab.longnameslen > sizeof (struct ar_hdr) in do_oper_insert() [all …]
|
D | ranlib.c | 194 + sizeof (struct ar_hdr)); in handle_file() 242 rest_off = (index_off + sizeof (struct ar_hdr) in handle_file()
|
D | arlib2.c | 39 return size - sizeof (struct ar_hdr); in arlib_add_long_name()
|
/third_party/elfutils/libelf/ |
D | elf_begin.c | 728 struct ar_hdr hdrm; in read_long_names() 729 struct ar_hdr *hdr; in read_long_names() 738 || elf->maximum_size - offset < sizeof (struct ar_hdr)) in read_long_names() 742 hdr = (struct ar_hdr *) (elf->map_address + offset); in read_long_names() 775 offset += sizeof (struct ar_hdr) + ((len + 1) & ~1l); in read_long_names() 781 if (len > elf->maximum_size - offset - sizeof (struct ar_hdr)) in read_long_names() 798 + sizeof (struct ar_hdr), in read_long_names() 805 + sizeof (struct ar_hdr)) in read_long_names() 850 struct ar_hdr *ar_hdr; in __libelf_next_arhdr_wrlock() local 859 - elf->state.ar.offset) < sizeof (struct ar_hdr))) in __libelf_next_arhdr_wrlock() [all …]
|
D | elf_getarsym.c | 106 struct ar_hdr *index_hdr; in elf_getarsym() 111 if (pread_retry (elf->fildes, &elf->state.ar.ar_hdr, in elf_getarsym() 112 sizeof (struct ar_hdr), elf->start_offset + SARMAG) in elf_getarsym() 113 != sizeof (struct ar_hdr)) in elf_getarsym() 121 index_hdr = &elf->state.ar.ar_hdr; in elf_getarsym() 125 if (SARMAG + sizeof (struct ar_hdr) > elf->maximum_size) in elf_getarsym() 132 index_hdr = (struct ar_hdr *) (elf->map_address in elf_getarsym() 167 size_t off = elf->start_offset + SARMAG + sizeof (struct ar_hdr); in elf_getarsym() 183 || 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 | 398 struct ar_hdr ar_hdr; /* Header read from file. */ member
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | ar.h | 12 struct ar_hdr { struct
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | ar.h | 12 struct ar_hdr { struct
|
/third_party/musl/include/ |
D | ar.h | 12 struct ar_hdr { struct
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | ar.h | 12 struct ar_hdr { struct
|
/third_party/musl/ndk_musl_include/ |
D | ar.h | 12 struct ar_hdr { struct
|
/third_party/elfutils/libdwfl/ |
D | core-file.c | 80 if (unlikely (parent->maximum_size - offset < sizeof (struct ar_hdr))) in elf_begin_rand() 89 + offsetof (struct ar_hdr, ar_size)) in elf_begin_rand() 93 offset += sizeof (struct ar_hdr); in elf_begin_rand()
|
D | open.c | 154 elf->state.ar.offset = offset - sizeof (struct ar_hdr); in libdw_open_elf()
|
D | ChangeLog | 61 * core-file.c (elf_begin_rand): Replace struct ar_hdr h with
|