Searched refs:ar_hdr (Results 1 – 13 of 13) sorted by relevance
/external/elfutils/0.153/src/ |
D | arlib.c | 59 struct ar_hdr ar_hdr; in arlib_init() local 60 memcpy (ar_hdr.ar_name, "/ ", sizeof (ar_hdr.ar_name)); in arlib_init() 68 char tmpbuf[sizeof (ar_hdr.ar_date) + 1]; in arlib_init() 69 memcpy (ar_hdr.ar_date, tmpbuf, in arlib_init() 71 (int) sizeof (ar_hdr.ar_date), in arlib_init() 74 assert ((sizeof (struct ar_hdr) % sizeof (uint32_t)) == 0); in arlib_init() 80 memcpy (ar_hdr.ar_uid, "0 ", sizeof (ar_hdr.ar_uid)); in arlib_init() 81 memcpy (ar_hdr.ar_gid, "0 ", sizeof (ar_hdr.ar_gid)); in arlib_init() 82 memcpy (ar_hdr.ar_mode, "0 ", sizeof (ar_hdr.ar_mode)); in arlib_init() 83 memcpy (ar_hdr.ar_fmag, ARFMAG, sizeof (ar_hdr.ar_fmag)); in arlib_init() [all …]
|
D | arlib.h | 49 #define MAX_AR_NAME_LEN (sizeof (((struct ar_hdr *) NULL)->ar_name) - 1) 53 #define AR_HDR_WORDS (sizeof (struct ar_hdr) / sizeof (uint32_t))
|
D | ar.c | 539 + sizeof (struct ar_hdr)); in do_oper_extract() 805 rest_off = (index_off + sizeof (struct ar_hdr) in do_oper_extract() 866 struct ar_hdr arhdr; in write_member() 906 *startp += sizeof (struct ar_hdr); in write_member() 907 assert ((size_t) *lenp >= sizeof (struct ar_hdr)); in write_member() 908 *lenp -= sizeof (struct ar_hdr); in write_member() 987 + sizeof (struct ar_hdr)); in do_oper_delete() 1048 if (symtab.longnameslen > sizeof (struct ar_hdr) in do_oper_delete() 1395 + sizeof (struct ar_hdr)); in do_oper_insert() 1447 if (symtab.longnameslen > sizeof (struct ar_hdr) in do_oper_insert() [all …]
|
D | arlib2.c | 49 return size - sizeof (struct ar_hdr); in arlib_add_long_name()
|
D | ranlib.c | 223 + sizeof (struct ar_hdr)); in handle_file() 271 rest_off = (index_off + sizeof (struct ar_hdr) in handle_file()
|
/external/elfutils/0.153/libelf/ |
D | elf_getarsym.c | 102 struct ar_hdr *index_hdr; 107 if (pread_retry (elf->fildes, &elf->state.ar.ar_hdr, 108 sizeof (struct ar_hdr), elf->start_offset + SARMAG) 109 != sizeof (struct ar_hdr)) 117 index_hdr = &elf->state.ar.ar_hdr; 121 if (SARMAG + sizeof (struct ar_hdr) > elf->maximum_size) 128 index_hdr = (struct ar_hdr *) (elf->map_address 159 elf->start_offset + SARMAG + sizeof (struct ar_hdr)) 169 + SARMAG + sizeof (struct ar_hdr)); 181 if (SARMAG + sizeof (struct ar_hdr) + index_size > elf->maximum_size [all …]
|
D | elf_begin.c | 664 struct ar_hdr hdrm; in read_long_names() 665 struct ar_hdr *hdr; in read_long_names() 673 if (offset + sizeof (struct ar_hdr) > elf->maximum_size) in read_long_names() 677 hdr = (struct ar_hdr *) (elf->map_address + offset); in read_long_names() 695 offset += sizeof (struct ar_hdr) + ((len + 1) & ~1l); in read_long_names() 710 + sizeof (struct ar_hdr), in read_long_names() 716 + sizeof (struct ar_hdr)) in read_long_names() 761 struct ar_hdr *ar_hdr; local 767 if (unlikely (elf->state.ar.offset + sizeof (struct ar_hdr) 774 ar_hdr = (struct ar_hdr *) (elf->map_address + elf->state.ar.offset); [all …]
|
D | elf_getaroff.c | 74 return elf->start_offset - sizeof (struct ar_hdr) - parent->start_offset;
|
D | elf_next.c | 80 parent->state.ar.offset += (sizeof (struct ar_hdr)
|
D | libelfP.h | 405 struct ar_hdr ar_hdr; /* Header read from file. */ member
|
/external/elfutils/0.153/libdwfl/ |
D | core-file.c | 96 struct ar_hdr h = { .ar_size = "" }; in elf_begin_rand() 107 + offsetof (struct ar_hdr, ar_size)) in elf_begin_rand()
|
D | open.c | 167 elf->state.ar.offset = offset - sizeof (struct ar_hdr); in __libdw_open_file()
|
/external/lldb/source/Plugins/ObjectContainer/BSD-Archive/ |
D | ObjectContainerBSDArchive.cpp | 381 const char* armag = (const char* )data.PeekData (offset, sizeof(ar_hdr)); in MagicBytesMatch() 384 armag += offsetof(struct ar_hdr, ar_fmag) + SARMAG; in MagicBytesMatch()
|