/external/google-breakpad/src/common/android/ |
D | breakpad_getcontext_unittest.cc | 55 offsetof(ucontext_t,uc_mcontext.arm_r0)); in TEST() 60 offsetof(ucontext_t,uc_mcontext.regs[0])); in TEST() 62 offsetof(ucontext_t,uc_mcontext.sp)); in TEST() 64 offsetof(ucontext_t,uc_mcontext.pc)); in TEST() 66 offsetof(ucontext_t,uc_mcontext.pstate)); in TEST() 68 offsetof(ucontext_t,uc_mcontext.__reserved)); in TEST() 71 offsetof(ucontext_t,uc_mcontext.gregs)); in TEST() 74 offsetof(ucontext_t,uc_mcontext.gregs[REG_##x])) in TEST() 96 offsetof(ucontext_t,uc_mcontext.fpregs)); in TEST() 99 offsetof(ucontext_t,__fpregs_mem)); in TEST() [all …]
|
/external/libunwind/src/ia64/ |
D | mk_Gcursor_i.c | 30 #ifdef offsetof 31 # undef offsetof 34 #define offsetof(type,field) ((char *) &((type *) 0)->field - (char *) 0) macro 42 OFFSET("IP_OFF", offsetof (struct cursor, ip)); in main() 43 OFFSET("PR_OFF", offsetof (struct cursor, pr)); in main() 44 OFFSET("BSP_OFF", offsetof (struct cursor, bsp)); in main() 45 OFFSET("PSP_OFF", offsetof (struct cursor, psp)); in main() 46 OFFSET("PFS_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_PFS])); in main() 47 OFFSET("RNAT_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_RNAT])); in main() 48 OFFSET("UNAT_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_UNAT])); in main() [all …]
|
/external/clang/test/CodeGenCXX/ |
D | 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/clang/test/CodeGen/ |
D | 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 …]
|
D | 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 …]
|
/external/libunwind/src/coredump/ |
D | _UCD_access_reg_linux.c | 91 [UNW_X86_EAX] = offsetof(struct user_regs_struct, eax) / sizeof(long), in _UCD_access_reg() 92 [UNW_X86_EDX] = offsetof(struct user_regs_struct, edx) / sizeof(long), in _UCD_access_reg() 93 [UNW_X86_ECX] = offsetof(struct user_regs_struct, ecx) / sizeof(long), in _UCD_access_reg() 94 [UNW_X86_EBX] = offsetof(struct user_regs_struct, ebx) / sizeof(long), in _UCD_access_reg() 95 [UNW_X86_ESI] = offsetof(struct user_regs_struct, esi) / sizeof(long), in _UCD_access_reg() 96 [UNW_X86_EDI] = offsetof(struct user_regs_struct, edi) / sizeof(long), in _UCD_access_reg() 97 [UNW_X86_EBP] = offsetof(struct user_regs_struct, ebp) / sizeof(long), in _UCD_access_reg() 98 [UNW_X86_ESP] = offsetof(struct user_regs_struct, esp) / sizeof(long), in _UCD_access_reg() 99 [UNW_X86_EIP] = offsetof(struct user_regs_struct, eip) / sizeof(long), in _UCD_access_reg() 100 [UNW_X86_EFLAGS] = offsetof(struct user_regs_struct, eflags) / sizeof(long), in _UCD_access_reg() [all …]
|
/external/valgrind/coregrind/ |
D | m_vki.c | 117 vg_assert(offsetof(t1,sa_handler) == offsetof(t2.ksa_handler)); in VG_() 118 vg_assert(offsetof(t1.sa_tramp) == offsetof(t2.sa_tramp)); in VG_() 119 vg_assert(offsetof(t1.sa_mask) == offsetof(t2.sa_mask)); in VG_() 120 vg_assert(offsetof(t1.sa_flags) == offsetof(t2.sa_flags)); in VG_() 121 vg_assert(offsetof(f1.sa_handler) == offsetof(f2.ksa_handler)); in VG_() 122 vg_assert(offsetof(f1.sa_mask) == offsetof(f2.sa_mask)); in VG_() 123 vg_assert(offsetof(f1.sa_flags) == offsetof(f2.sa_flags)); in VG_()
|
D | m_translate.c | 1023 Int offB_REDIR_SP = offsetof(VexGuestPPC64State,guest_REDIR_SP); in gen_PUSH() 1024 Int offB_REDIR_STACK = offsetof(VexGuestPPC64State,guest_REDIR_STACK); in gen_PUSH() 1025 Int offB_EMNOTE = offsetof(VexGuestPPC64State,guest_EMNOTE); in gen_PUSH() 1026 Int offB_CIA = offsetof(VexGuestPPC64State,guest_CIA); in gen_PUSH() 1037 Int offB_REDIR_SP = offsetof(VexGuestPPC32State,guest_REDIR_SP); in gen_PUSH() 1038 Int offB_REDIR_STACK = offsetof(VexGuestPPC32State,guest_REDIR_STACK); in gen_PUSH() 1039 Int offB_EMNOTE = offsetof(VexGuestPPC32State,guest_EMNOTE); in gen_PUSH() 1040 Int offB_CIA = offsetof(VexGuestPPC32State,guest_CIA); in gen_PUSH() 1117 Int offB_REDIR_SP = offsetof(VexGuestPPC64State,guest_REDIR_SP); in gen_POP() 1118 Int offB_REDIR_STACK = offsetof(VexGuestPPC64State,guest_REDIR_STACK); in gen_POP() [all …]
|
/external/strace/tests-mx32/ |
D | ioctl_dm.c | 54 ALIGNED_SIZE(offsetof(t_, m_), t_) 66 offsetof(struct dm_ioctl, data); 187 tail_alloc(offsetof(struct dm_ioctl, data)); in main() 356 init_s(&s.ioc, sizeof(s), offsetof(struct s, u)); in main() 405 init_s(&dm_arg_open1->ioc, offsetof(struct dm_table_open_test, target1), in main() 406 offsetof(struct dm_table_open_test, target1)); in main() 420 offsetof(struct dm_table_open_test, target1) in main() 423 offsetof(struct dm_table_open_test, target1) in main() 428 init_s(&dm_arg_open2->ioc, offsetof(struct dm_table_open_test, param1), in main() 429 offsetof(struct dm_table_open_test, target1)); in main() [all …]
|
/external/strace/tests-m32/ |
D | ioctl_dm.c | 54 ALIGNED_SIZE(offsetof(t_, m_), t_) 66 offsetof(struct dm_ioctl, data); 187 tail_alloc(offsetof(struct dm_ioctl, data)); in main() 356 init_s(&s.ioc, sizeof(s), offsetof(struct s, u)); in main() 405 init_s(&dm_arg_open1->ioc, offsetof(struct dm_table_open_test, target1), in main() 406 offsetof(struct dm_table_open_test, target1)); in main() 420 offsetof(struct dm_table_open_test, target1) in main() 423 offsetof(struct dm_table_open_test, target1) in main() 428 init_s(&dm_arg_open2->ioc, offsetof(struct dm_table_open_test, param1), in main() 429 offsetof(struct dm_table_open_test, target1)); in main() [all …]
|
/external/strace/tests/ |
D | ioctl_dm.c | 54 ALIGNED_SIZE(offsetof(t_, m_), t_) 66 offsetof(struct dm_ioctl, data); 187 tail_alloc(offsetof(struct dm_ioctl, data)); in main() 356 init_s(&s.ioc, sizeof(s), offsetof(struct s, u)); in main() 405 init_s(&dm_arg_open1->ioc, offsetof(struct dm_table_open_test, target1), in main() 406 offsetof(struct dm_table_open_test, target1)); in main() 420 offsetof(struct dm_table_open_test, target1) in main() 423 offsetof(struct dm_table_open_test, target1) in main() 428 init_s(&dm_arg_open2->ioc, offsetof(struct dm_table_open_test, param1), in main() 429 offsetof(struct dm_table_open_test, target1)); in main() [all …]
|
/external/libchrome/sandbox/linux/bpf_dsl/ |
D | seccomp_macros.h | 42 #define SECCOMP_NR_IDX (offsetof(struct arch_seccomp_data, nr)) 43 #define SECCOMP_ARCH_IDX (offsetof(struct arch_seccomp_data, arch)) 44 #define SECCOMP_IP_MSB_IDX (offsetof(struct arch_seccomp_data, \ 46 #define SECCOMP_IP_LSB_IDX (offsetof(struct arch_seccomp_data, \ 48 #define SECCOMP_ARG_MSB_IDX(nr) (offsetof(struct arch_seccomp_data, args) + \ 50 #define SECCOMP_ARG_LSB_IDX(nr) (offsetof(struct arch_seccomp_data, args) + \ 104 #define SECCOMP_NR_IDX (offsetof(struct arch_seccomp_data, nr)) 105 #define SECCOMP_ARCH_IDX (offsetof(struct arch_seccomp_data, arch)) 106 #define SECCOMP_IP_MSB_IDX (offsetof(struct arch_seccomp_data, \ 108 #define SECCOMP_IP_LSB_IDX (offsetof(struct arch_seccomp_data, \ [all …]
|
/external/clang/test/Sema/ |
D | 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];
|
D | 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]; in f()
|
/external/iproute2/examples/bpf/ |
D | bpf_prog.c | 254 return !!(load_half(skb, nh_off + offsetof(struct iphdr, frag_off)) & in flow_is_frag() 266 *ip_proto = load_byte(skb, nh_off + offsetof(struct iphdr, in flow_parse_ipv4() 269 flow->src = load_word(skb, nh_off + offsetof(struct iphdr, saddr)); in flow_parse_ipv4() 270 flow->dst = load_word(skb, nh_off + offsetof(struct iphdr, daddr)); in flow_parse_ipv4() 295 *ip_proto = load_byte(skb, nh_off + offsetof(struct ipv6hdr, nexthdr)); in flow_parse_ipv6() 297 flow->src = flow_addr_hash_ipv6(skb, nh_off + offsetof(struct ipv6hdr, saddr)); in flow_parse_ipv6() 298 flow->dst = flow_addr_hash_ipv6(skb, nh_off + offsetof(struct ipv6hdr, daddr)); in flow_parse_ipv6() 313 offsetof(struct vlan_hdr, h_vlan_encapsulated_proto)); in flow_dissector() 318 offsetof(struct vlan_hdr, h_vlan_encapsulated_proto)); in flow_dissector() 337 offsetof(struct gre_hdr, flags)); in flow_dissector() [all …]
|
/external/skia/src/gpu/ |
D | GrStencilSettings.cpp | 66 offsetof(GrStencilSettings, fBack) - offsetof(GrStencilSettings, fFront)); in reset() 86 offsetof(GrStencilSettings, fBack) - offsetof(GrStencilSettings, fFront)); in operator ==() 89 GR_STATIC_ASSERT(0 == offsetof(Face, fRef)); in operator ==() 91 GR_STATIC_ASSERT(2 == offsetof(Face, fTest)); in operator ==() 93 GR_STATIC_ASSERT(4 == offsetof(Face, fTestMask)); in operator ==() 95 GR_STATIC_ASSERT(6 == offsetof(Face, fPassOp)); in operator ==() 97 GR_STATIC_ASSERT(7 == offsetof(Face, fFailOp)); in operator ==() 99 GR_STATIC_ASSERT(8 == offsetof(Face, fWriteMask)); in operator ==() 476 offsetof(GrStencilSettings, fBack) - offsetof(GrStencilSettings, fFront)); in genKey() 479 GR_STATIC_ASSERT(0 == offsetof(Face, fRef)); in genKey() [all …]
|
/external/elfutils/libelf/ |
D | elf_end.c | 118 || (offsetof (struct Elf, state.elf32.rawchunks) in elf_end() 119 == offsetof (struct Elf, state.elf64.rawchunks)) in elf_end() 132 || (offsetof (struct Elf, state.elf32.scns) in elf_end() 133 == offsetof (struct Elf, state.elf64.scns)) in elf_end() 190 || (offsetof (struct Elf, state.elf32.scns) in elf_end() 191 == offsetof (struct Elf, state.elf64.scns)) in elf_end() 202 || (offsetof (struct Elf, state.elf32.shdr) in elf_end() 203 == offsetof (struct Elf, state.elf64.shdr)) in elf_end() 210 || (offsetof (struct Elf, state.elf32.phdr) in elf_end() 211 == offsetof (struct Elf, state.elf64.phdr)) in elf_end()
|
D | elf_newscn.c | 54 assert (offsetof (Elf, state.elf.scns_last) in elf_newscn() 55 == offsetof (Elf, state.elf32.scns_last)); in elf_newscn() 56 assert (offsetof (Elf, state.elf.scns_last) in elf_newscn() 57 == offsetof (Elf, state.elf64.scns_last)); in elf_newscn() 58 assert (offsetof (Elf, state.elf32.scns) in elf_newscn() 59 == offsetof (Elf, state.elf64.scns)); in elf_newscn() 71 || (offsetof (Elf, state.elf32.scns) in elf_newscn() 72 == offsetof (Elf, state.elf64.scns)) in elf_newscn()
|
/external/valgrind/VEX/priv/ |
D | main_main.c | 604 offB_CMSTART = offsetof(VexGuestX86State,guest_CMSTART); in LibVEX_Translate() 605 offB_CMLEN = offsetof(VexGuestX86State,guest_CMLEN); in LibVEX_Translate() 606 offB_GUEST_IP = offsetof(VexGuestX86State,guest_EIP); in LibVEX_Translate() 608 offB_HOST_EvC_COUNTER = offsetof(VexGuestX86State,host_EvC_COUNTER); in LibVEX_Translate() 609 offB_HOST_EvC_FAILADDR = offsetof(VexGuestX86State,host_EvC_FAILADDR); in LibVEX_Translate() 625 offB_CMSTART = offsetof(VexGuestAMD64State,guest_CMSTART); in LibVEX_Translate() 626 offB_CMLEN = offsetof(VexGuestAMD64State,guest_CMLEN); in LibVEX_Translate() 627 offB_GUEST_IP = offsetof(VexGuestAMD64State,guest_RIP); in LibVEX_Translate() 629 offB_HOST_EvC_COUNTER = offsetof(VexGuestAMD64State,host_EvC_COUNTER); in LibVEX_Translate() 630 offB_HOST_EvC_FAILADDR = offsetof(VexGuestAMD64State,host_EvC_FAILADDR); in LibVEX_Translate() [all …]
|
/external/protobuf/objectivec/google/protobuf/ |
D | Type.pbobjc.m | 112 .offset = (uint32_t)offsetof(GPBType__storage_, name), 121 .offset = (uint32_t)offsetof(GPBType__storage_, fieldsArray), 130 .offset = (uint32_t)offsetof(GPBType__storage_, oneofsArray), 139 .offset = (uint32_t)offsetof(GPBType__storage_, optionsArray), 148 .offset = (uint32_t)offsetof(GPBType__storage_, sourceContext), 157 .offset = (uint32_t)offsetof(GPBType__storage_, syntax), 229 .offset = (uint32_t)offsetof(GPBField__storage_, kind), 238 .offset = (uint32_t)offsetof(GPBField__storage_, cardinality), 247 .offset = (uint32_t)offsetof(GPBField__storage_, number), 256 .offset = (uint32_t)offsetof(GPBField__storage_, name), [all …]
|
D | Api.pbobjc.m | 80 .offset = (uint32_t)offsetof(GPBApi__storage_, name), 89 .offset = (uint32_t)offsetof(GPBApi__storage_, methodsArray), 98 .offset = (uint32_t)offsetof(GPBApi__storage_, optionsArray), 107 .offset = (uint32_t)offsetof(GPBApi__storage_, version), 116 .offset = (uint32_t)offsetof(GPBApi__storage_, sourceContext), 125 .offset = (uint32_t)offsetof(GPBApi__storage_, mixinsArray), 134 .offset = (uint32_t)offsetof(GPBApi__storage_, syntax), 199 .offset = (uint32_t)offsetof(GPBMethod__storage_, name), 208 .offset = (uint32_t)offsetof(GPBMethod__storage_, requestTypeURL), 226 .offset = (uint32_t)offsetof(GPBMethod__storage_, responseTypeURL), [all …]
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-amd64-solaris.c | 221 offsetof(VexGuestAMD64State, guest_CC_DEP1), in ML_() 225 offsetof(VexGuestAMD64State, guest_CC_DEP2), in ML_() 278 VG_TRACK(copy_reg_to_mem, part, tid, offsetof(VexGuestAMD64State, in ML_() 280 VG_TRACK(copy_reg_to_mem, part, tid, offsetof(VexGuestAMD64State, in ML_() 285 VG_TRACK(copy_reg_to_mem, part, tid, offsetof(VexGuestAMD64State, in ML_() 287 VG_TRACK(copy_reg_to_mem, part, tid, offsetof(VexGuestAMD64State, in ML_() 289 VG_TRACK(copy_reg_to_mem, part, tid, offsetof(VexGuestAMD64State, in ML_() 291 VG_TRACK(copy_reg_to_mem, part, tid, offsetof(VexGuestAMD64State, in ML_() 293 VG_TRACK(copy_reg_to_mem, part, tid, offsetof(VexGuestAMD64State, in ML_() 295 VG_TRACK(copy_reg_to_mem, part, tid, offsetof(VexGuestAMD64State, in ML_() [all …]
|
/external/fio/ |
D | libfio.c | 308 …compiletime_assert((offsetof(struct thread_stat, percentile_list) % 8) == 0, "stat percentile_list… in initialize_fio() 309 compiletime_assert((offsetof(struct thread_stat, total_run_time) % 8) == 0, "total_run_time"); in initialize_fio() 310 compiletime_assert((offsetof(struct thread_stat, total_err_count) % 8) == 0, "total_err_count"); in initialize_fio() 311 …compiletime_assert((offsetof(struct thread_stat, latency_percentile) % 8) == 0, "stat latency_perc… in initialize_fio() 312 compiletime_assert((offsetof(struct thread_options_pack, zipf_theta) % 8) == 0, "zipf_theta"); in initialize_fio() 313 compiletime_assert((offsetof(struct thread_options_pack, pareto_h) % 8) == 0, "pareto_h"); in initialize_fio() 314 …compiletime_assert((offsetof(struct thread_options_pack, percentile_list) % 8) == 0, "percentile_l… in initialize_fio() 315 …compiletime_assert((offsetof(struct thread_options_pack, latency_percentile) % 8) == 0, "latency_p… in initialize_fio()
|
/external/valgrind/memcheck/tests/linux/ |
D | sigqueue.c | 19 offsetof(siginfo_t, si_signo)); in main() 21 offsetof(siginfo_t, si_errno)); in main() 23 offsetof(siginfo_t, si_code)); in main() 25 offsetof(siginfo_t, _sifields)); in main()
|
/external/fio/profiles/ |
D | tiobench.c | 40 .off1 = offsetof(struct tiobench_options, size), 49 .off1 = offsetof(struct tiobench_options, bs), 59 .off1 = offsetof(struct tiobench_options, loops), 68 .off1 = offsetof(struct tiobench_options, dir), 77 .off1 = offsetof(struct tiobench_options, nthreads),
|