/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-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 …]
|
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 …]
|
/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/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/v8/test/cctest/ |
D | test-assembler-mips64.cc | 291 __ ldc1(f4, MemOperand(a0, offsetof(T, a)) ); in TEST() 292 __ ldc1(f6, MemOperand(a0, offsetof(T, b)) ); in TEST() 294 __ sdc1(f8, MemOperand(a0, offsetof(T, c)) ); // c = a + b. in TEST() 299 __ sdc1(f10, MemOperand(a0, offsetof(T, d)) ); // d = c - (-b). in TEST() 301 __ sdc1(f4, MemOperand(a0, offsetof(T, b)) ); // b = a. in TEST() 307 __ sdc1(f10, MemOperand(a0, offsetof(T, e)) ); // e = d * 120 = 1.8066e16. in TEST() 310 __ sdc1(f12, MemOperand(a0, offsetof(T, f)) ); // f = e / a = 120.44. in TEST() 313 __ sdc1(f14, MemOperand(a0, offsetof(T, g)) ); in TEST() 317 __ ldc1(f4, MemOperand(a0, offsetof(T, h)) ); in TEST() 318 __ ldc1(f6, MemOperand(a0, offsetof(T, i)) ); in TEST() [all …]
|
D | test-assembler-mips.cc | 282 __ ldc1(f4, MemOperand(a0, offsetof(T, a)) ); in TEST() 283 __ ldc1(f6, MemOperand(a0, offsetof(T, b)) ); in TEST() 285 __ sdc1(f8, MemOperand(a0, offsetof(T, c)) ); // c = a + b. in TEST() 290 __ sdc1(f10, MemOperand(a0, offsetof(T, d)) ); // d = c - (-b). in TEST() 292 __ sdc1(f4, MemOperand(a0, offsetof(T, b)) ); // b = a. in TEST() 298 __ sdc1(f10, MemOperand(a0, offsetof(T, e)) ); // e = d * 120 = 1.8066e16. in TEST() 301 __ sdc1(f12, MemOperand(a0, offsetof(T, f)) ); // f = e / a = 120.44. in TEST() 304 __ sdc1(f14, MemOperand(a0, offsetof(T, g)) ); in TEST() 308 __ ldc1(f4, MemOperand(a0, offsetof(T, h)) ); in TEST() 309 __ ldc1(f6, MemOperand(a0, offsetof(T, i)) ); in TEST() [all …]
|
D | test-assembler-arm.cc | 181 __ ldr(r0, MemOperand(r4, offsetof(T, i))); 183 __ str(r2, MemOperand(r4, offsetof(T, i))); 184 __ ldrsb(r2, MemOperand(r4, offsetof(T, c))); 187 __ strb(r2, MemOperand(r4, offsetof(T, c))); 188 __ ldrsh(r2, MemOperand(r4, offsetof(T, s))); 191 __ strh(r2, MemOperand(r4, offsetof(T, s))); 254 __ vldr(d6, r4, offsetof(T, a)); 255 __ vldr(d7, r4, offsetof(T, b)); 257 __ vstr(d5, r4, offsetof(T, c)); 264 __ vstr(d4, r4, offsetof(T, b)); [all …]
|
D | test-assembler-ppc.cc | 197 __ lwz(r3, MemOperand(r4, offsetof(T, i))); 199 __ stw(r5, MemOperand(r4, offsetof(T, i))); 202 __ lbz(r5, MemOperand(r4, offsetof(T, c))); 205 __ stb(r5, MemOperand(r4, offsetof(T, c))); 208 __ lhz(r5, MemOperand(r4, offsetof(T, s))); 211 __ sth(r5, MemOperand(r4, offsetof(T, s))); 281 __ vldr(d6, r4, offsetof(T, a)); 282 __ vldr(d7, r4, offsetof(T, b)); 284 __ vstr(d5, r4, offsetof(T, c)); 288 __ vstr(d4, r4, offsetof(T, b)); [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/chromium-trace/catapult/third_party/coverage/coverage/ctracer/ |
D | filedisp.c | 21 { "original_filename", T_OBJECT, offsetof(CFileDisposition, original_filename), 0, 24 { "canonical_filename", T_OBJECT, offsetof(CFileDisposition, canonical_filename), 0, 27 { "source_filename", T_OBJECT, offsetof(CFileDisposition, source_filename), 0, 30 { "trace", T_OBJECT, offsetof(CFileDisposition, trace), 0, 33 { "reason", T_OBJECT, offsetof(CFileDisposition, reason), 0, 36 { "file_tracer", T_OBJECT, offsetof(CFileDisposition, file_tracer), 0, 39 { "has_dynamic_filename", T_OBJECT, offsetof(CFileDisposition, has_dynamic_filename), 0,
|
/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/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/strace/tests/ |
D | xstatx.c | 266 STRUCT_STAT_STR, offsetof(STRUCT_STAT, st_dev), in main() 270 STRUCT_STAT_STR, offsetof(STRUCT_STAT, st_ino), in main() 274 STRUCT_STAT_STR, offsetof(STRUCT_STAT, st_mode), in main() 278 STRUCT_STAT_STR, offsetof(STRUCT_STAT, st_nlink), in main() 282 STRUCT_STAT_STR, offsetof(STRUCT_STAT, st_uid), in main() 286 STRUCT_STAT_STR, offsetof(STRUCT_STAT, st_gid), in main() 290 STRUCT_STAT_STR, offsetof(STRUCT_STAT, st_rdev), in main() 294 STRUCT_STAT_STR, offsetof(STRUCT_STAT, st_size), in main() 298 STRUCT_STAT_STR, offsetof(STRUCT_STAT, st_blksize), in main() 302 STRUCT_STAT_STR, offsetof(STRUCT_STAT, st_blocks), in main()
|
/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/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),
|