/external/python/cpython2/Doc/includes/ |
noddy4.c | 111 {"first", T_OBJECT_EX, offsetof(Noddy, first), 0, 113 {"last", T_OBJECT_EX, offsetof(Noddy, last), 0, 115 {"number", T_INT, offsetof(Noddy, number), 0,
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/ |
kernel.h | 14 #ifndef offsetof 15 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro 28 (type *)((char *)__mptr - offsetof(type, member)); })
|
/external/bison/src/ |
state.c | 44 transitions *res = xmalloc (offsetof (transitions, states) + states_size); 82 errs *res = xmalloc (offsetof (errs, symbols) + symbols_size); 104 reductions *res = xmalloc (offsetof (reductions, rules) + rules_size); 138 res = xmalloc (offsetof (state, items) + items_size); 165 res = xmalloc (offsetof (state, items) + items_size); 395 state *probe = xmalloc (offsetof (state, items) + items_size);
|
/external/syslinux/libinstaller/ |
syslxint.h | 306 #define FAT_bsHeadLen offsetof(struct fat_boot_sector, bsBytesPerSec) 308 #define FAT_bsCodeLen (offsetof(struct fat_boot_sector, bsSignature) - \ 309 offsetof(struct fat_boot_sector, FAT_bsCode)) 312 #define NTFS_bsHeadLen offsetof(struct ntfs_boot_sector, bsOemName) 314 #define NTFS_bsCodeLen (offsetof(struct ntfs_boot_sector, bsSignature) - \ 315 offsetof(struct ntfs_boot_sector, NTFS_bsCode))
|
/frameworks/native/libs/binder/tests/ |
binderDriverInterfaceTest.cpp | 256 if (bwr.read_consumed < offsetof(typeof(br), pad)) { 261 EXPECT_EQ(offsetof(typeof(br), pad), bwr.read_consumed); 262 if (bwr.read_consumed > offsetof(typeof(br), cmd0)) 264 if (bwr.read_consumed > offsetof(typeof(br), cmd1)) 266 if (bwr.read_consumed > offsetof(typeof(br), cmd2)) 268 if (bwr.read_consumed >= offsetof(typeof(br), pad)) {
|
/external/c-ares/ |
ares_data.c | 54 ptr = (void *)((char *)dataptr - offsetof(struct ares_data, data)); 180 ptr = (void *)((char *)dataptr - offsetof(struct ares_data, data));
|
/external/elfutils/backends/ |
aarch64_corenote.c | 65 .offset = (offsetof (struct EBLHOOK(prstatus), pr_reg) \ 72 .offset = (offsetof (struct EBLHOOK(prstatus), pr_reg) \
|
arm_corenote.c | 53 .offset = offsetof (struct EBLHOOK(prstatus), pr_reg) + (4 * 17), \
|
sh_corenote.c | 75 .offset = offsetof (struct EBLHOOK(prstatus), pr_reg[22]), \
|
sparc_corenote.c | 116 .offset = offsetof (struct EBLHOOK(prstatus), pr_reg[33]), \
|
/external/strace/ |
dirent.c | 54 printpathn(tcp, addr + offsetof(kernel_dirent, d_name), d.d_reclen); 125 d_name_len -= offsetof(kernel_dirent, d_name) + 1;
|
/external/syslinux/gpxe/src/interface/smbios/ |
smbios_settings.c | 50 ( offsetof ( _structure, _field ) << 8 ) | \ 64 ( offsetof ( _structure, _field ) << 8 ) )
|
/toolchain/binutils/binutils-2.25/bfd/ |
sysdep.h | 177 /* Define offsetof for those systems which lack it */ 179 #ifndef offsetof 180 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
|
/device/google/marlin/camera/QCamera2/stack/common/ |
cam_list.h | 41 (type *)((char *)__mptr - offsetof(type,member));})
|
/device/huawei/angler/camera/QCamera2/stack/common/ |
cam_list.h | 42 (type *)((char *)__mptr - offsetof(type,member));})
|
/device/lge/bullhead/camera/QCamera2/stack/common/ |
cam_list.h | 42 (type *)((char *)__mptr - offsetof(type,member));})
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
genobject.c | 315 {"gi_frame", T_OBJECT, offsetof(PyGenObject, gi_frame), RO},
316 {"gi_running", T_INT, offsetof(PyGenObject, gi_running), RO},
317 {"gi_code", T_OBJECT, offsetof(PyGenObject, gi_code), RO},
354 offsetof(PyGenObject, gi_weakreflist), /* tp_weaklistoffset */
|
/external/clang/lib/Headers/ |
stddef.h | 120 #define offsetof(t, d) __builtin_offsetof(t, d) macro
|
/external/clang/test/SemaTemplate/ |
fun-template-def.cpp | 48 dummy d2 = offsetof(T, foo); // expected-error {{no viable conversion}}
|
/external/iproute2/include/ |
hlist.h | 9 (type *)( (char *)__mptr - offsetof(type,member) );})
|
/external/iptables/extensions/ |
libxt_IDLETIMER.c | 85 .userspacesize = offsetof(struct idletimer_tg_info, timer),
|
libxt_connlimit.c | 193 .userspacesize = offsetof(struct xt_connlimit_info, data), 208 .userspacesize = offsetof(struct xt_connlimit_info, data), 223 .userspacesize = offsetof(struct xt_connlimit_info, data), 238 .userspacesize = offsetof(struct xt_connlimit_info, data),
|
libxt_nfacct.c | 78 .userspacesize = offsetof(struct xt_nfacct_match_info, nfacct),
|
libxt_quota.c | 70 .userspacesize = offsetof(struct xt_quota_info, master),
|
/external/kmod/shared/ |
macro.h | 36 ((char *)(member_ptr) - offsetof(containing_type, member)) \
|