/prebuilts/sdk/renderscript/clang-include/ |
stddef.h | 120 #define offsetof(t, d) __builtin_offsetof(t, d) macro
|
/system/core/init/ |
property_service_test.cpp | 39 socklen_t addr_len = strlen(property_service_socket) + offsetof(sockaddr_un, sun_path) + 1;
|
/external/fio/engines/ |
libhdfs.c | 30 void *pad; /* needed because offset can't be 0 for a option defined used offsetof */ 44 .off1 = offsetof(struct hdfsio_options, host), 54 .off1 = offsetof(struct hdfsio_options, host), 64 .off1 = offsetof(struct hdfsio_options, port), 76 .off1 = offsetof(struct hdfsio_options, directory), 87 .off1 = offsetof(struct hdfsio_options, chunck_size), 97 .off1 = offsetof(struct hdfsio_options, single_instance), 107 .off1 = offsetof(struct hdfsio_options, use_direct),
|
/external/strace/ |
dm.c | 227 offsetof(struct dm_target_deps, dev); 264 offsetof(struct dm_name_list, name); 323 offsetof(struct dm_target_versions, name); 390 offsetof(struct dm_target_msg, message); 466 if ((umoven(tcp, arg, offsetof(struct dm_ioctl, data), ioc) < 0) || 467 (ioc->data_size < offsetof(struct dm_ioctl, data_size))) { 513 if (ioc->data_size < offsetof(struct dm_ioctl, data)) {
|
/system/core/libmemunreachable/ |
ThreadCapture.cpp | 230 offsetof(struct pt_regs, rsp) / sizeof(uintptr_t) 232 offsetof(struct pt_regs, esp) / sizeof(uintptr_t) 234 offsetof(struct pt_regs, ARM_sp) / sizeof(uintptr_t) 236 offsetof(struct user_pt_regs, sp) / sizeof(uintptr_t) 238 offsetof(struct pt_regs, regs[29]) / sizeof(uintptr_t)
|
/external/valgrind/VEX/priv/ |
guest_ppc_helpers.c | 948 Int lr_min = offsetof(VexGuestPPC32State, guest_LR); 950 Int r1_min = offsetof(VexGuestPPC32State, guest_GPR1); 952 Int cia_min = offsetof(VexGuestPPC32State, guest_CIA); 986 Int lr_min = offsetof(VexGuestPPC64State, guest_LR); 988 Int r1_min = offsetof(VexGuestPPC64State, guest_GPR1); 990 Int r2_min = offsetof(VexGuestPPC64State, guest_GPR2); 992 Int cia_min = offsetof(VexGuestPPC64State, guest_CIA); 1026 { offsetof(VexGuestPPC32State, field), \ 1036 .offset_SP = offsetof(VexGuestPPC32State,guest_GPR1), [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
exceptions.c | 411 offsetof(PyBaseExceptionObject, dict), /* tp_dictoffset */
435 0, 0, 0, offsetof(PyBaseExceptionObject, dict), \
451 0, 0, 0, offsetof(Py ## EXCSTORE ## Object, dict), \
468 0, 0, 0, offsetof(Py ## EXCSTORE ## Object, dict), \
556 {"code", T_OBJECT, offsetof(PySystemExitObject, code), 0,
756 {"errno", T_OBJECT, offsetof(PyEnvironmentErrorObject, myerrno), 0,
758 {"strerror", T_OBJECT, offsetof(PyEnvironmentErrorObject, strerror), 0,
760 {"filename", T_OBJECT, offsetof(PyEnvironmentErrorObject, filename), 0,
988 {"errno", T_OBJECT, offsetof(PyWindowsErrorObject, myerrno), 0,
990 {"strerror", T_OBJECT, offsetof(PyWindowsErrorObject, strerror), 0, [all...] |
moduleobject.c | 13 {"__dict__", T_OBJECT, offsetof(PyModuleObject, md_dict), READONLY},
257 offsetof(PyModuleObject, md_dict), /* tp_dictoffset */
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
exceptions.c | 411 offsetof(PyBaseExceptionObject, dict), /* tp_dictoffset */
435 0, 0, 0, offsetof(PyBaseExceptionObject, dict), \
451 0, 0, 0, offsetof(Py ## EXCSTORE ## Object, dict), \
468 0, 0, 0, offsetof(Py ## EXCSTORE ## Object, dict), \
556 {"code", T_OBJECT, offsetof(PySystemExitObject, code), 0,
756 {"errno", T_OBJECT, offsetof(PyEnvironmentErrorObject, myerrno), 0,
758 {"strerror", T_OBJECT, offsetof(PyEnvironmentErrorObject, strerror), 0,
760 {"filename", T_OBJECT, offsetof(PyEnvironmentErrorObject, filename), 0,
987 {"errno", T_OBJECT, offsetof(PyWindowsErrorObject, myerrno), 0,
989 {"strerror", T_OBJECT, offsetof(PyWindowsErrorObject, strerror), 0, [all...] |
moduleobject.c | 13 {"__dict__", T_OBJECT, offsetof(PyModuleObject, md_dict), READONLY},
255 offsetof(PyModuleObject, md_dict), /* tp_dictoffset */
|
/external/python/cpython2/Objects/ |
exceptions.c | 407 offsetof(PyBaseExceptionObject, dict), /* tp_dictoffset */ 431 0, 0, 0, offsetof(PyBaseExceptionObject, dict), \ 447 0, 0, 0, offsetof(Py ## EXCSTORE ## Object, dict), \ 464 0, 0, 0, offsetof(Py ## EXCSTORE ## Object, dict), \ 554 {"code", T_OBJECT, offsetof(PySystemExitObject, code), 0, 750 {"errno", T_OBJECT, offsetof(PyEnvironmentErrorObject, myerrno), 0, 752 {"strerror", T_OBJECT, offsetof(PyEnvironmentErrorObject, strerror), 0, 754 {"filename", T_OBJECT, offsetof(PyEnvironmentErrorObject, filename), 0, 981 {"errno", T_OBJECT, offsetof(PyWindowsErrorObject, myerrno), 0, 983 {"strerror", T_OBJECT, offsetof(PyWindowsErrorObject, strerror), 0 [all...] |
/toolchain/binutils/binutils-2.25/bfd/ |
aoutf1.h | 390 intcore->c_regs_pos = offsetof (struct external_sun3_core, c_regs); 404 intcore->fp_stuff_pos = offsetof (struct external_sun3_core, fp_stuff); 407 offsetof (struct external_sun3_core, fp_stuff); 425 intcore->c_regs_pos = offsetof (struct external_sparc_core, c_regs); 439 intcore->fp_stuff_pos = offsetof (struct external_sparc_core, fp_stuff); 442 offsetof (struct external_sparc_core, fp_stuff); 483 intcore->c_regs_pos = offsetof (struct external_solaris_bcp_core, c_regs); 504 offsetof (struct external_solaris_bcp_core, fp_stuff); 507 offsetof (struct external_solaris_bcp_core, fp_stuff);
|
/frameworks/av/media/libnbaio/ |
NBLog.cpp | 163 return (const char*) mEntry + offsetof(entry, data); 167 return mEntry[offsetof(entry, length)]; 230 authorEntry[offsetof(entry, type)] = EVENT_AUTHOR; 231 authorEntry[offsetof(entry, length)] = 234 *(int*) (&authorEntry[offsetof(entry, data)]) = author; 246 size_t length = ptr[offsetof(entry, length)] + NBLog::Entry::kOverhead; 251 memcpy((void*) dst, ptr + offsetof(entry, data), ptr[offsetof(entry, length)]); 272 ptr += ptr[offsetof(entry, length)] + NBLog::Entry::kOverhead; 300 return ptr[offsetof(entry, length)] == ptr[ptr[offsetof(entry, length)] [all...] |
/system/media/camera/src/ |
camera_metadata.c | 133 _Static_assert(offsetof(camera_metadata_buffer_entry_t, tag) == 0, 135 _Static_assert(offsetof(camera_metadata_buffer_entry_t, count) == 4, 137 _Static_assert(offsetof(camera_metadata_buffer_entry_t, data) == 8, 139 _Static_assert(offsetof(camera_metadata_buffer_entry_t, type) == 12, 144 _Static_assert(offsetof(camera_metadata_t, size) == 0, 146 _Static_assert(offsetof(camera_metadata_t, version) == 4, 148 _Static_assert(offsetof(camera_metadata_t, flags) == 8, 150 _Static_assert(offsetof(camera_metadata_t, entry_count) == 12, 152 _Static_assert(offsetof(camera_metadata_t, entry_capacity) == 16, 154 _Static_assert(offsetof(camera_metadata_t, entries_start) == 20 [all...] |
/external/iptables/extensions/ |
libxt_CT.c | 357 .userspacesize = offsetof(struct xt_ct_target_info, ct), 370 .userspacesize = offsetof(struct xt_ct_target_info_v1, ct), 383 .userspacesize = offsetof(struct xt_ct_target_info_v1, ct), 398 .userspacesize = offsetof(struct xt_ct_target_info, ct), 408 .userspacesize = offsetof(struct xt_ct_target_info_v1, ct), 419 .userspacesize = offsetof(struct xt_ct_target_info_v1, ct),
|
libxt_TEE.c | 136 .userspacesize = offsetof(struct xt_tee_tginfo, priv), 150 .userspacesize = offsetof(struct xt_tee_tginfo, priv),
|
/external/valgrind/coregrind/m_sigframe/ |
sigframe-amd64-linux.c | 419 rsp, offsetof(struct rt_sigframe, vg) ); 445 rsp, offsetof(struct rt_sigframe, vg) ); 483 offsetof(VexGuestAMD64State,guest_RIP), sizeof(UWord) ); 485 offsetof(VexGuestAMD64State,guest_RDI), sizeof(UWord) ); 487 offsetof(VexGuestAMD64State,guest_RSI), sizeof(UWord) ); 489 offsetof(VexGuestAMD64State,guest_RDX), sizeof(UWord) );
|
/external/vboot_reference/firmware/lib/ |
rollback_index.c | 18 #ifndef offsetof 19 #define offsetof(A,B) __builtin_offsetof(A,B) macro 114 offsetof(RollbackSpaceFirmware, crc8))) 133 rsf->crc8 = Crc8(rsf, offsetof(RollbackSpaceFirmware, crc8)); 209 if (rsk->crc8 == Crc8(rsk, offsetof(RollbackSpaceKernel, crc8))) 228 rsk->crc8 = Crc8(rsk, offsetof(RollbackSpaceKernel, crc8));
|
/art/runtime/base/ |
length_prefixed_array.h | 20 #include <stddef.h> // for offsetof() 68 return RoundUp(offsetof(LengthPrefixedArray<T>, data_), alignment) + index * element_size; 90 size_t gap_offset = offsetof(LengthPrefixedArray<T>, data_);
|
/bionic/libc/seccomp/ |
seccomp_policy.cpp | 66 #define syscall_nr (offsetof(struct seccomp_data, nr)) 67 #define arch_nr (offsetof(struct seccomp_data, arch))
|
/bionic/tests/ |
sys_ptrace_test.cpp | 136 iov.iov_len = offsetof(user_hwdebug_state, dbg_regs) + sizeof(dreg_state.dbg_regs[0]); 141 ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[0]), address)) << strerror(errno); 143 unsigned data = ptrace(PTRACE_PEEKUSER, child, offsetof(user, u_debugreg[7]), nullptr); 154 ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[7]), data)) << strerror(errno); 330 iov.iov_len = offsetof(user_hwdebug_state, dbg_regs) + sizeof(dreg_state.dbg_regs[0]); 335 ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[0]), address)) 338 unsigned data = ptrace(PTRACE_PEEKUSER, child, offsetof(user, u_debugreg[7]), nullptr); 349 ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[7]), data))
|
/device/google/contexthub/lib/include/nanohub/ |
nanohub.h | 111 #define FLASH_RELOC_OFFSET offsetof(struct AppHdr, sect) // used by appSupport.c at run time 112 #define BINARY_RELOC_OFFSET offsetof(struct BinHdr, sect) // used by postprocess at build time
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
getnameinfo.c | 71 offsetof(struct sockaddr_in6, sin6_addr)},
74 offsetof(struct sockaddr_in, sin_addr)},
|
/external/elfutils/libelf/ |
elf_strptr.c | 74 || (offsetof (struct Elf, state.elf32.scns) 75 == offsetof (struct Elf, state.elf64.scns))
|
/external/iptables/iptables/ |
nft-ipv4.c | 48 add_proto(r, offsetof(struct iphdr, protocol), 1, 54 add_addr(r, offsetof(struct iphdr, saddr), 60 add_addr(r, offsetof(struct iphdr, daddr), 65 add_payload(r, offsetof(struct iphdr, frag_off), 2, 190 case offsetof(struct iphdr, saddr): 203 case offsetof(struct iphdr, daddr): 216 case offsetof(struct iphdr, protocol): 222 case offsetof(struct iphdr, frag_off):
|