/external/libcxx/test/std/language.support/support.types/ |
offsetof.pass.cpp | 16 #ifndef offsetof 17 #error offsetof not defined 27 static_assert(noexcept(offsetof(A, x)), "");
|
/external/libunwind/src/ia64/ |
mk_Gcursor_i.c | 30 #ifdef offsetof 31 # undef offsetof macro 34 #define offsetof(type,field) ((char *) &((type *) 0)->field - (char *) 0) macro 42 OFFSET("IP_OFF", offsetof (struct cursor, ip)); 43 OFFSET("PR_OFF", offsetof (struct cursor, pr)); 44 OFFSET("BSP_OFF", offsetof (struct cursor, bsp)); 45 OFFSET("PSP_OFF", offsetof (struct cursor, psp)); 46 OFFSET("PFS_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_PFS])); 47 OFFSET("RNAT_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_RNAT])); 48 OFFSET("UNAT_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_UNAT])) [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.types/ |
offsetof.pass.cpp | 12 #ifndef offsetof 13 #error offsetof not defined 24 static_assert(noexcept(offsetof(A, x)), "");
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/language.support/support.types/ |
offsetof.pass.cpp | 12 #ifndef offsetof 13 #error offsetof not defined 24 static_assert(noexcept(offsetof(A, x)), "");
|
/frameworks/wilhelm/src/ |
classes.cpp | 27 {MPH_OBJECT, INTERFACE_IMPLICIT_PREREALIZE, offsetof(C3DGroup, mObject)}, 29 offsetof(C3DGroup, mDynamicInterfaceManagement)}, 30 {MPH_3DLOCATION, INTERFACE_IMPLICIT, offsetof(C3DGroup, m3DLocation)}, 31 {MPH_3DDOPPLER, INTERFACE_DYNAMIC_GAME, offsetof(C3DGroup, m3DDoppler)}, 32 {MPH_3DSOURCE, INTERFACE_EXPLICIT_GAME, offsetof(C3DGroup, m3DSource)}, 33 {MPH_3DMACROSCOPIC, INTERFACE_OPTIONAL, offsetof(C3DGroup, m3DMacroscopic)}, 56 {MPH_OBJECT, INTERFACE_IMPLICIT_PREREALIZE, offsetof(CAudioPlayer, mObject)}, 58 offsetof(CAudioPlayer, mDynamicInterfaceManagement)}, 59 {MPH_PLAY, INTERFACE_IMPLICIT, offsetof(CAudioPlayer, mPlay)}, 60 {MPH_3DDOPPLER, INTERFACE_DYNAMIC_GAME, offsetof(CAudioPlayer, m3DDoppler)} [all...] |
/external/clang/test/CodeGen/ |
arm-aapcs-zerolength-bitfield.c | 13 static int arr1_offset[(offsetof(struct t1, bar) == 1) ? 0 : -1]; 22 static int arr2_offset[(offsetof(struct t2, bar) == 2) ? 0 : -1]; 31 static int arr3_offset[(offsetof(struct t3, bar) == 4) ? 0 : -1]; 40 static int arr4_offset[(offsetof(struct t4, bar) == 4) ? 0 : -1]; 49 static int arr5_offset[(offsetof(struct t5, bar) == 8) ? 0 : -1]; 59 static int arr6_offset[(offsetof(struct t6, bar2) == 2) ? 0 : -1]; 69 static int arr7_offset[(offsetof(struct t7, bar2) == 3) ? 0 : -1]; 79 static int arr8_offset[(offsetof(struct t8, bar2) == 5) ? 0 : -1]; 89 static int arr9_offset[(offsetof(struct t9, bar2) == 5) ? 0 : -1]; 99 static int arr10_offset[(offsetof(struct t10, bar2) == 9) ? 0 : -1] [all...] |
arm-apcs-zerolength-bitfield.c | 17 static int arr1_offset[(offsetof(struct t1, bar) == 4) ? 0 : -1]; 26 static int arr2_offset[(offsetof(struct t2, bar) == 4) ? 0 : -1]; 35 static int arr3_offset[(offsetof(struct t3, bar) == 4) ? 0 : -1]; 44 static int arr4_offset[(offsetof(struct t4, bar) == 4) ? 0 : -1]; 53 static int arr5_offset[(offsetof(struct t5, bar) == 4) ? 0 : -1]; 63 static int arr6_offset[(offsetof(struct t6, bar2) == 5) ? 0 : -1]; 73 static int arr7_offset[(offsetof(struct t7, bar2) == 5) ? 0 : -1]; 83 static int arr8_offset[(offsetof(struct t8, bar2) == 5) ? 0 : -1]; 93 static int arr9_offset[(offsetof(struct t9, bar2) == 5) ? 0 : -1]; 103 static int arr10_offset[(offsetof(struct t10, bar2) == 5) ? 0 : -1] [all...] |
/bionic/tests/ |
netinet_udp_test.cpp | 31 static_assert(offsetof(udphdr, uh_sport) == offsetof(udphdr, source), "udphdr::source"); 32 static_assert(offsetof(udphdr, uh_dport) == offsetof(udphdr, dest), "udphdr::dest"); 33 static_assert(offsetof(udphdr, uh_ulen) == offsetof(udphdr, len), "udphdr::len"); 34 static_assert(offsetof(udphdr, uh_sum) == offsetof(udphdr, check), "udphdr::check");
|
/external/syslinux/com32/include/ |
stddef.h | 21 #undef offsetof macro 22 #define offsetof(t,m) ((size_t)&((t *)0)->m) macro 30 #define container_of(p, c, m) ((c *)((char *)(p) - offsetof(c,m)))
|
/external/libunwind/src/coredump/ |
_UCD_access_reg_linux.c | 91 [UNW_X86_EAX] = offsetof(struct user_regs_struct, eax) / sizeof(long), 92 [UNW_X86_EDX] = offsetof(struct user_regs_struct, edx) / sizeof(long), 93 [UNW_X86_ECX] = offsetof(struct user_regs_struct, ecx) / sizeof(long), 94 [UNW_X86_EBX] = offsetof(struct user_regs_struct, ebx) / sizeof(long), 95 [UNW_X86_ESI] = offsetof(struct user_regs_struct, esi) / sizeof(long), 96 [UNW_X86_EDI] = offsetof(struct user_regs_struct, edi) / sizeof(long), 97 [UNW_X86_EBP] = offsetof(struct user_regs_struct, ebp) / sizeof(long), 98 [UNW_X86_ESP] = offsetof(struct user_regs_struct, esp) / sizeof(long), 99 [UNW_X86_EIP] = offsetof(struct user_regs_struct, eip) / sizeof(long), 100 [UNW_X86_EFLAGS] = offsetof(struct user_regs_struct, eflags) / sizeof(long) [all...] |
/external/google-breakpad/src/common/android/ |
breakpad_getcontext_unittest.cc | 55 offsetof(ucontext_t,uc_mcontext.arm_r0)); 60 offsetof(ucontext_t,uc_mcontext.regs[0])); 62 offsetof(ucontext_t,uc_mcontext.sp)); 64 offsetof(ucontext_t,uc_mcontext.pc)); 66 offsetof(ucontext_t,uc_mcontext.pstate)); 68 offsetof(ucontext_t,uc_mcontext.__reserved)); 71 offsetof(ucontext_t,uc_mcontext.gregs)); 74 offsetof(ucontext_t,uc_mcontext.gregs[REG_##x])) 96 offsetof(ucontext_t,uc_mcontext.fpregs)); 99 offsetof(ucontext_t,__fpregs_mem)) [all...] |
/external/clang/test/Sema/ |
pragma-pack-2.c | 13 extern int a0[offsetof(struct s0, f1) == 4 ? 1 : -1]; 20 extern int a1[offsetof(struct s1, f1) == 2 ? 1 : -1]; 33 extern int a3_0[offsetof(struct s3_0, f1) == 1 ? 1 : -1]; 34 extern int a3_1[offsetof(struct s3_1, f1) == 4 ? 1 : -1]; 47 extern int a4_0[offsetof(struct s4_0, f1) == 1 ? 1 : -1]; 48 extern int a4_1[offsetof(struct s4_1, f1) == 4 ? 1 : -1]; 59 extern int s5_0[offsetof(struct s5_0, f1) == 2 ? 1 : -1];
|
pragma-align-mac68k.c | 18 extern int a1_0[offsetof(struct s1, f0) == 0 ? 1 : -1]; 19 extern int a1_1[offsetof(struct s1, f1) == 2 ? 1 : -1]; 27 extern int a2_0[offsetof(struct s2, f0) == 0 ? 1 : -1]; 28 extern int a2_1[offsetof(struct s2, f1) == 2 ? 1 : -1]; 36 extern int a3_0[offsetof(struct s3, f0) == 0 ? 1 : -1]; 37 extern int a3_1[offsetof(struct s3, f1) == 2 ? 1 : -1]; 45 extern int a4_0[offsetof(struct s4, f0) == 0 ? 1 : -1]; 46 extern int a4_1[offsetof(struct s4, f1) == 1 ? 1 : -1]; 96 extern int a11_0[offsetof(struct s11, f0) == 0 ? 1 : -1]; 97 extern int a11_1[offsetof(struct s11, f1) == 2 ? 1 : -1] [all...] |
pragma-pack-5.c | 38 extern int check[offsetof(struct s3, f4) == 6 ? 1 : -1]; 46 extern int check[offsetof(struct s4, f3) == 2 ? 1 : -1];
|
/external/valgrind/coregrind/ |
m_vki.c | 118 vg_assert(offsetof(t1,sa_handler) == offsetof(t2.ksa_handler)); 119 vg_assert(offsetof(t1.sa_tramp) == offsetof(t2.sa_tramp)); 120 vg_assert(offsetof(t1.sa_mask) == offsetof(t2.sa_mask)); 121 vg_assert(offsetof(t1.sa_flags) == offsetof(t2.sa_flags)); 122 vg_assert(offsetof(f1.sa_handler) == offsetof(f2.ksa_handler)) [all...] |
/external/clang/test/CodeGenCXX/ |
aarch64-aapcs-zerolength-bitfield.cpp | 14 static_assert(offsetof(struct t1, bar) == 1); 23 static_assert(offsetof(struct t2, bar) == 2); 32 static_assert(offsetof(struct t3, bar) == 4); 41 static_assert(offsetof(struct t4, bar) == 8); 50 static_assert(offsetof(struct t5, bar) == 8); 60 static_assert(offsetof(struct t6, bar2) == 2); 70 static_assert(offsetof(struct t7, bar2) == 3); 80 static_assert(offsetof(struct t8, bar2) == 5); 90 static_assert(offsetof(struct t9, bar2) == 9); 100 static_assert(offsetof(struct t10, bar2) == 9) [all...] |
/external/iptables/libiptc/ |
linux_stddef.h | 11 #undef offsetof macro 12 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro 25 (type *)( (char *)__mptr - offsetof(type,member) );})
|
/external/syslinux/gpxe/src/include/ |
stddef.h | 12 #undef offsetof macro 13 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro 18 (type *)( (char *)__mptr - offsetof(type,member) );})
|
/external/strace/linux/alpha/ |
arch_sigreturn.c | 8 addr += offsetof(struct sigcontext, sc_mask);
|
/external/strace/linux/ia64/ |
rt_sigframe.h | 43 offsetof(struct_rt_sigframe, sc.sc_mask)
|
/external/strace/linux/microblaze/ |
arch_sigreturn.c | 11 addr += offsetof(struct sigcontext, oldmask);
|
/external/strace/linux/sparc/ |
rt_sigframe.h | 43 offsetof(struct_rt_sigframe, mask)
|
/external/strace/linux/tile/ |
arch_sigreturn.c | 7 offsetof(ucontext_t, uc_sigmask);
|
/external/valgrind/memcheck/tests/linux/ |
sigqueue.c | 18 fprintf(stdout, "offsetof(siginfo_t, si_signo) = %zd\n", 19 offsetof(siginfo_t, si_signo)); 20 fprintf(stdout, "offsetof(siginfo_t, si_errno) = %zd\n", 21 offsetof(siginfo_t, si_errno)); 22 fprintf(stdout, "offsetof(siginfo_t, si_code) = %zd\n", 23 offsetof(siginfo_t, si_code)); 24 fprintf(stdout, "offsetof(siginfo_t, _sifields) = %zd\n", 25 offsetof(siginfo_t, _sifields));
|
/toolchain/binutils/binutils-2.25/include/ |
objalloc.h | 56 #ifndef offsetof 60 #ifndef offsetof 61 #define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER) macro 63 #define OBJALLOC_ALIGN offsetof (struct objalloc_align, d)
|