/bionic/libc/malloc_debug/ |
MapData.cpp | 87 if (!get_val<ElfW(Half)>(entry, addr + offsetof(ElfW(Ehdr), e_phnum), &ehdr.e_phnum)) { 90 if (!get_val<ElfW(Off)>(entry, addr + offsetof(ElfW(Ehdr), e_phoff), &ehdr.e_phoff)) { 96 if (!get_val<ElfW(Word)>(entry, addr + offsetof(ElfW(Phdr), p_type), &phdr.p_type)) { 99 if (!get_val<ElfW(Off)>(entry, addr + offsetof(ElfW(Phdr), p_offset), &phdr.p_offset)) { 103 if (!get_val<ElfW(Addr)>(entry, addr + offsetof(ElfW(Phdr), p_vaddr), &phdr.p_vaddr)) {
|
/external/minijail/ |
bpf.h | 62 #define syscall_nr (offsetof(struct seccomp_data, nr)) 63 #define arch_nr (offsetof(struct seccomp_data, arch)) 78 #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) 94 #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) 95 #define HI_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) + sizeof(__u32)
|
/libcore/ojluni/src/main/native/ |
LinuxWatchService.c | 60 arr[0] = (jint)offsetof(struct inotify_event, wd); 61 arr[1] = (jint)offsetof(struct inotify_event, mask); 62 arr[2] = (jint)offsetof(struct inotify_event, cookie); 63 arr[3] = (jint)offsetof(struct inotify_event, len); 64 arr[4] = (jint)offsetof(struct inotify_event, name);
|
/toolchain/binutils/binutils-2.25/libiberty/ |
simple-object-coff.c | 275 flags = fetch_16 (hdrbuf + offsetof (struct external_filehdr, f_flags)); 286 ocr->nscns = fetch_16 (hdrbuf + offsetof (struct external_filehdr, f_nscns)); 288 + offsetof (struct external_filehdr, f_symptr)); 289 ocr->nsyms = fetch_32 (hdrbuf + offsetof (struct external_filehdr, f_nsyms)); 292 + fetch_16 (hdrbuf + offsetof (struct external_filehdr, 379 scnname = scnhdr + offsetof (struct external_scnhdr, s_name); 417 scnptr = fetch_32 (scnhdr + offsetof (struct external_scnhdr, s_scnptr)); 418 size = fetch_32 (scnhdr + offsetof (struct external_scnhdr, s_size)); 527 set_16 (hdr + offsetof (struct external_filehdr, f_magic), attrs->magic); 528 set_16 (hdr + offsetof (struct external_filehdr, f_nscns), nscns) [all...] |
/external/f2fs-tools/include/ |
list.h | 6 #if !defined(offsetof) 7 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro 11 (type *)( (char *)__mptr - offsetof(type,member) );})
|
/external/python/cpython2/Doc/includes/ |
noddy2.c | 77 {"first", T_OBJECT_EX, offsetof(Noddy, first), 0, 79 {"last", T_OBJECT_EX, offsetof(Noddy, last), 0, 81 {"number", T_INT, offsetof(Noddy, number), 0,
|
/external/wpa_supplicant_8/src/utils/ |
list.h | 63 #ifndef offsetof 64 #define offsetof(type, member) ((long) &((type *) 0)->member) macro 68 ((type *) ((char *) item - offsetof(type, member)))
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/kernel/ |
kernel.h | 26 #ifndef offsetof 27 #define offsetof(TYPE,MEMBER) ((size_t) & ((TYPE *) 0)->MEMBER) macro 31 #define container_of(ptr,type,member) ({ const typeof(((type *) 0)->member) * __mptr = (ptr); (type *) ((char *) __mptr - offsetof(type, member)); })
|
/external/valgrind/coregrind/m_syswrap/ |
syswrap-amd64-solaris.c | 221 offsetof(VexGuestAMD64State, guest_CC_DEP1), 225 offsetof(VexGuestAMD64State, guest_CC_DEP2), 278 VG_TRACK(copy_reg_to_mem, part, tid, offsetof(VexGuestAMD64State, 280 VG_TRACK(copy_reg_to_mem, part, tid, offsetof(VexGuestAMD64State, 285 VG_TRACK(copy_reg_to_mem, part, tid, offsetof(VexGuestAMD64State, 287 VG_TRACK(copy_reg_to_mem, part, tid, offsetof(VexGuestAMD64State, 289 VG_TRACK(copy_reg_to_mem, part, tid, offsetof(VexGuestAMD64State, 291 VG_TRACK(copy_reg_to_mem, part, tid, offsetof(VexGuestAMD64State, 293 VG_TRACK(copy_reg_to_mem, part, tid, offsetof(VexGuestAMD64State, 295 VG_TRACK(copy_reg_to_mem, part, tid, offsetof(VexGuestAMD64State [all...] |
/external/valgrind/VEX/priv/ |
main_main.c | 370 offB_CMSTART = offsetof(VexGuestX86State,guest_CMSTART); 371 offB_CMLEN = offsetof(VexGuestX86State,guest_CMLEN); 372 offB_GUEST_IP = offsetof(VexGuestX86State,guest_EIP); 387 offB_CMSTART = offsetof(VexGuestAMD64State,guest_CMSTART); 388 offB_CMLEN = offsetof(VexGuestAMD64State,guest_CMLEN); 389 offB_GUEST_IP = offsetof(VexGuestAMD64State,guest_RIP); 404 offB_CMSTART = offsetof(VexGuestPPC32State,guest_CMSTART); 405 offB_CMLEN = offsetof(VexGuestPPC32State,guest_CMLEN); 406 offB_GUEST_IP = offsetof(VexGuestPPC32State,guest_CIA); 421 offB_CMSTART = offsetof(VexGuestPPC64State,guest_CMSTART) [all...] |
/external/compiler-rt/test/asan/TestCases/Linux/ |
read_binary_name_regtest.c | 21 #define syscall_nr (offsetof(struct seccomp_data, nr))
|
/external/elfutils/libelf/ |
elf_getshdrstrndx.c | 63 assert (offsetof (struct Elf, state.elf.ehdr) 64 == offsetof (struct Elf, state.elf32.ehdr)); 67 assert (offsetof (struct Elf, state.elf.ehdr) 68 == offsetof (struct Elf, state.elf64.ehdr));
|
/external/fio/ |
flist.h | 6 #undef offsetof macro 8 #define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER) macro 10 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro 15 (type *)( (char *)__mptr - offsetof(type,member) );})
|
options.h | 30 const unsigned int off = offsetof(struct thread_options, name); \
|
/external/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
misc.h | 20 (type *)((char *)__mptr - offsetof(type, member)); \
|
/external/nanopb-c/extra/ |
pb_syshdr.h | 35 #define offsetof(st, m) ((size_t)(&((st *)0)->m)) macro
|
/external/skia/src/sfnt/ |
SkOTTable_fvar.h | 53 static_assert(offsetof(SkOTTableFontVariations, instanceSize) == 14, "SkOTTableFontVariations_instanceSize_not_at_14");
|
SkOTTable_gasp.h | 69 static_assert(offsetof(SkOTTableGridAndScanProcedure, numRanges) == 2, "SkOTTableGridAndScanProcedure_numRanges_not_at_2");
|
SkOTTable_hhea.h | 51 static_assert(offsetof(SkOTTableHorizontalHeader, numberOfHMetrics) == 34, "SkOTTableHorizontalHeader_numberOfHMetrics_not_at_34");
|
SkOTTable_post.h | 47 static_assert(offsetof(SkOTTablePostScript, maxMemType1) == 28, "SkOTTablePostScript_maxMemType1_not_at_28");
|
/external/syslinux/gpxe/src/net/ |
dhcppkt.c | 92 .offset = offsetof ( struct dhcphdr, _field ), \ 169 dhcppkt->len = ( offsetof ( struct dhcphdr, options ) + 277 ( len - offsetof ( struct dhcphdr, options ) ) ); 278 dhcppkt->len = ( offsetof ( struct dhcphdr, options ) +
|
/external/valgrind/coregrind/ |
pub_core_machine.h | 158 #define VG_O_STACK_PTR (offsetof(VexGuestArchState, VG_STACK_PTR)) 159 #define VG_O_INSTR_PTR (offsetof(VexGuestArchState, VG_INSTR_PTR)) 160 #define VG_O_FRAME_PTR (offsetof(VexGuestArchState, VG_FRAME_PTR)) 161 #define VG_O_FPC_REG (offsetof(VexGuestArchState, VG_FPC_REG))
|
/frameworks/native/libs/vr/libdvr/ |
dvr_api.cpp | 38 if ((offsetof(DvrApi_v1, name) + sizeof(dvr_api->name)) <= \
|
/prebuilts/misc/darwin-x86/analyzer/lib/clang/3.3/include/ |
stddef.h | 87 #define offsetof(t, d) __builtin_offsetof(t, d) macro
|
/prebuilts/misc/linux-x86/analyzer/lib/clang/3.3/include/ |
stddef.h | 87 #define offsetof(t, d) __builtin_offsetof(t, d) macro
|