Searched refs:SARMAG (Results 1 – 9 of 9) sorted by relevance
/external/elfutils/src/ |
D | ranlib.c | 177 off_t cur_off = SARMAG; in handle_file() 228 if (unlikely (write_retry (newfd, ARMAG, SARMAG) != SARMAG)) in handle_file() 246 rest_off = SARMAG; in handle_file() 259 if ((index_off > SARMAG in handle_file() 260 && copy_content (arelf, newfd, SARMAG, index_off - SARMAG)) in handle_file()
|
D | ar.c | 465 off_t cur_off = SARMAG; in do_oper_extract() 770 if (unlikely (write_retry (newfd, ARMAG, SARMAG) != SARMAG)) in do_oper_extract() 788 rest_off = SARMAG; in do_oper_extract() 800 if ((index_off != SARMAG in do_oper_extract() 801 && copy_content (elf, newfd, SARMAG, index_off - SARMAG)) in do_oper_extract() 939 off_t cur_off = SARMAG; in do_oper_delete() 1011 if (unlikely (write_retry (newfd, ARMAG, SARMAG) != SARMAG)) in do_oper_delete() 1116 off_t cur_off = SARMAG; in do_oper_insert() 1412 if (unlikely (write_retry (newfd, ARMAG, SARMAG) != SARMAG)) in do_oper_insert()
|
D | nm.c | 462 if (elf_rand (elf, SARMAG) != SARMAG) in handle_ar()
|
/external/elfutils/libelf/ |
D | elf_getarsym.c | 116 sizeof (struct ar_hdr), elf->start_offset + SARMAG) in elf_getarsym() 129 if (SARMAG + sizeof (struct ar_hdr) > elf->maximum_size) in elf_getarsym() 137 + elf->start_offset + SARMAG); 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 | common.h | 46 if (len >= SARMAG && memcmp (buf, ARMAG, SARMAG) == 0) in determine_kind()
|
D | elf_begin.c | 64 elf->state.ar.offset = offset + SARMAG; in file_read_ar() 594 unsigned char header[MAX (sizeof (Elf64_Ehdr), SARMAG)]; in read_unmmaped_file() 599 MIN (MAX (sizeof (Elf64_Ehdr), SARMAG), in read_unmmaped_file() 721 off_t offset = SARMAG; /* This is the first entry. */ in read_long_names()
|
/external/llvm-project/lldb/source/Plugins/ObjectContainer/BSD-Archive/ |
D | ObjectContainerBSDArchive.cpp | 14 #define SARMAG 8 macro 151 str.assign((const char *)data.GetData(&offset, SARMAG), SARMAG); in ParseObjects() 362 if (armag && ::strncmp(armag, ARMAG, SARMAG) == 0) { in MagicBytesMatch() 363 armag += offsetof(struct ar_hdr, ar_fmag) + SARMAG; in MagicBytesMatch()
|
/external/llvm-project/lldb/examples/python/ |
D | bsd.py | 12 SARMAG = 8 variable 115 if self.file.read(SARMAG) != ARMAG:
|
/external/elfutils/libdwfl/ |
D | core-file.c | 66 : parent->kind == ELF_K_AR ? SARMAG in elf_begin_rand()
|