Home
last modified time | relevance | path

Searched refs:offsetof (Results 1 – 25 of 989) sorted by relevance

12345678910>>...40

/external/u-boot/arch/arm/lib/
Dasm-offsets.c40 DEFINE(CCM_CCTL, offsetof(struct ccm_regs, cctl)); in main()
41 DEFINE(CCM_CGCR0, offsetof(struct ccm_regs, cgr0)); in main()
42 DEFINE(CCM_CGCR1, offsetof(struct ccm_regs, cgr1)); in main()
43 DEFINE(CCM_CGCR2, offsetof(struct ccm_regs, cgr2)); in main()
44 DEFINE(CCM_PCDR2, offsetof(struct ccm_regs, pcdr[2])); in main()
45 DEFINE(CCM_MCR, offsetof(struct ccm_regs, mcr)); in main()
48 DEFINE(ESDRAMC_ESDCTL0, offsetof(struct esdramc_regs, ctl0)); in main()
49 DEFINE(ESDRAMC_ESDCFG0, offsetof(struct esdramc_regs, cfg0)); in main()
50 DEFINE(ESDRAMC_ESDMISC, offsetof(struct esdramc_regs, misc)); in main()
53 DEFINE(MAX_MPR0, offsetof(struct max_regs, mpr0)); in main()
[all …]
/external/python/cpython3/Objects/
Dtypeslots.inc4 offsetof(PyHeapTypeObject, as_mapping.mp_ass_subscript),
5 offsetof(PyHeapTypeObject, as_mapping.mp_length),
6 offsetof(PyHeapTypeObject, as_mapping.mp_subscript),
7 offsetof(PyHeapTypeObject, as_number.nb_absolute),
8 offsetof(PyHeapTypeObject, as_number.nb_add),
9 offsetof(PyHeapTypeObject, as_number.nb_and),
10 offsetof(PyHeapTypeObject, as_number.nb_bool),
11 offsetof(PyHeapTypeObject, as_number.nb_divmod),
12 offsetof(PyHeapTypeObject, as_number.nb_float),
13 offsetof(PyHeapTypeObject, as_number.nb_floor_divide),
[all …]
/external/strace/
Dbpf_attr_check.c13 …static_assert(offsetof(struct BPF_MAP_CREATE_struct, map_type) == offsetof(union bpf_attr, map_typ…
20 …static_assert(offsetof(struct BPF_MAP_CREATE_struct, key_size) == offsetof(union bpf_attr, key_siz…
27 …static_assert(offsetof(struct BPF_MAP_CREATE_struct, value_size) == offsetof(union bpf_attr, value…
34 …static_assert(offsetof(struct BPF_MAP_CREATE_struct, max_entries) == offsetof(union bpf_attr, max_…
41 …static_assert(offsetof(struct BPF_MAP_CREATE_struct, map_flags) == offsetof(union bpf_attr, map_fl…
48 …static_assert(offsetof(struct BPF_MAP_CREATE_struct, inner_map_fd) == offsetof(union bpf_attr, inn…
55 …static_assert(offsetof(struct BPF_MAP_CREATE_struct, numa_node) == offsetof(union bpf_attr, numa_n…
62 …static_assert(offsetof(struct BPF_MAP_CREATE_struct, map_name) == offsetof(union bpf_attr, map_nam…
69 …static_assert(offsetof(struct BPF_MAP_CREATE_struct, map_ifindex) == offsetof(union bpf_attr, map_…
79 …static_assert(offsetof(struct BPF_MAP_LOOKUP_ELEM_struct, map_fd) == offsetof(union bpf_attr, map_…
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/verifier/
Dctx_skb.c5 offsetof(struct __sk_buff, len)),
8 offsetof(struct __sk_buff, mark)),
11 offsetof(struct __sk_buff, pkt_type)),
14 offsetof(struct __sk_buff, queue_mapping)),
17 offsetof(struct __sk_buff, protocol)),
20 offsetof(struct __sk_buff, vlan_present)),
23 offsetof(struct __sk_buff, vlan_tci)),
26 offsetof(struct __sk_buff, napi_id)),
54 offsetof(struct __sk_buff, pkt_type)),
67 offsetof(struct __sk_buff, pkt_type)),
[all …]
Dcgroup_skb.c5 offsetof(struct __sk_buff, data)),
7 offsetof(struct __sk_buff, data_end)),
9 offsetof(struct __sk_buff, len)),
11 offsetof(struct __sk_buff, pkt_type)),
13 offsetof(struct __sk_buff, mark)),
15 offsetof(struct __sk_buff, mark)),
17 offsetof(struct __sk_buff, queue_mapping)),
19 offsetof(struct __sk_buff, protocol)),
21 offsetof(struct __sk_buff, vlan_present)),
38 offsetof(struct __sk_buff, vlan_tci)),
[all …]
Dxdp_direct_packet_access.c4 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
6 offsetof(struct xdp_md, data_end)),
22 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
24 offsetof(struct xdp_md, data_end)),
40 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
42 offsetof(struct xdp_md, data_end)),
57 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
59 offsetof(struct xdp_md, data_end)),
75 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
77 offsetof(struct xdp_md, data_end)),
[all …]
Dctx_sk_msg.c5 offsetof(struct sk_msg_md, family)),
15 offsetof(struct sk_msg_md, remote_ip4)),
25 offsetof(struct sk_msg_md, local_ip4)),
35 offsetof(struct sk_msg_md, remote_port)),
45 offsetof(struct sk_msg_md, local_port)),
55 offsetof(struct sk_msg_md, remote_ip6[0])),
57 offsetof(struct sk_msg_md, remote_ip6[1])),
59 offsetof(struct sk_msg_md, remote_ip6[2])),
61 offsetof(struct sk_msg_md, remote_ip6[3])),
71 offsetof(struct sk_msg_md, local_ip6[0])),
[all …]
Ddirect_packet_access.c5 offsetof(struct __sk_buff, data_end)),
7 offsetof(struct __sk_buff, data)),
19 offsetof(struct __sk_buff, data)),
21 offsetof(struct __sk_buff, data_end)),
37 offsetof(struct __sk_buff, data_end)),
39 offsetof(struct __sk_buff, data)),
47 offsetof(struct __sk_buff, data)),
50 offsetof(struct __sk_buff, len)),
57 offsetof(struct __sk_buff, data_end)),
70 offsetof(struct __sk_buff, data)),
[all …]
Dsock.c4 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)),
16 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)),
20 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, offsetof(struct bpf_sock, family)),
30 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)),
34 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, offsetof(struct bpf_sock, type)),
45 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)),
57 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)),
62 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_sock, type)),
73 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)),
81 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_sock, type)),
[all …]
Dmeta_access.c5 offsetof(struct xdp_md, data_meta)),
6 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, offsetof(struct xdp_md, data)),
21 offsetof(struct xdp_md, data_meta)),
22 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, offsetof(struct xdp_md, data)),
40 offsetof(struct xdp_md, data_meta)),
42 offsetof(struct xdp_md, data_end)),
58 offsetof(struct xdp_md, data_meta)),
60 offsetof(struct xdp_md, data_end)),
61 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_1, offsetof(struct xdp_md, data)),
77 offsetof(struct xdp_md, data_meta)),
[all …]
Dhelper_packet_access.c4 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
6 offsetof(struct xdp_md, data_end)),
25 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
39 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
41 offsetof(struct xdp_md, data_end)),
64 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
66 offsetof(struct xdp_md, data_end)),
85 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
87 offsetof(struct xdp_md, data_end)),
106 offsetof(struct __sk_buff, data)),
[all …]
/external/swiftshader/third_party/marl/src/
Dosfiber_asm_ppc64.h133 static_assert(offsetof(marl_fiber_context, r1) == MARL_REG_R1,
135 static_assert(offsetof(marl_fiber_context, r2) == MARL_REG_R2,
137 static_assert(offsetof(marl_fiber_context, r13) == MARL_REG_R13,
139 static_assert(offsetof(marl_fiber_context, r15) == MARL_REG_R15,
141 static_assert(offsetof(marl_fiber_context, r16) == MARL_REG_R16,
143 static_assert(offsetof(marl_fiber_context, r17) == MARL_REG_R17,
145 static_assert(offsetof(marl_fiber_context, r18) == MARL_REG_R18,
147 static_assert(offsetof(marl_fiber_context, r19) == MARL_REG_R19,
149 static_assert(offsetof(marl_fiber_context, r20) == MARL_REG_R20,
151 static_assert(offsetof(marl_fiber_context, r21) == MARL_REG_R21,
[all …]
Dosfiber_asm_aarch64.h92 static_assert(offsetof(marl_fiber_context, r0) == MARL_REG_r0,
94 static_assert(offsetof(marl_fiber_context, r1) == MARL_REG_r1,
96 static_assert(offsetof(marl_fiber_context, r16) == MARL_REG_r16,
98 static_assert(offsetof(marl_fiber_context, r17) == MARL_REG_r17,
100 static_assert(offsetof(marl_fiber_context, r18) == MARL_REG_r18,
102 static_assert(offsetof(marl_fiber_context, r19) == MARL_REG_r19,
104 static_assert(offsetof(marl_fiber_context, r20) == MARL_REG_r20,
106 static_assert(offsetof(marl_fiber_context, r21) == MARL_REG_r21,
108 static_assert(offsetof(marl_fiber_context, r22) == MARL_REG_r22,
110 static_assert(offsetof(marl_fiber_context, r23) == MARL_REG_r23,
[all …]
Dosfiber_asm_mips64.h80 static_assert(offsetof(marl_fiber_context, a0) == MARL_REG_a0,
82 static_assert(offsetof(marl_fiber_context, a1) == MARL_REG_a1,
84 static_assert(offsetof(marl_fiber_context, s0) == MARL_REG_s0,
86 static_assert(offsetof(marl_fiber_context, s1) == MARL_REG_s1,
88 static_assert(offsetof(marl_fiber_context, s2) == MARL_REG_s2,
90 static_assert(offsetof(marl_fiber_context, s3) == MARL_REG_s3,
92 static_assert(offsetof(marl_fiber_context, s4) == MARL_REG_s4,
94 static_assert(offsetof(marl_fiber_context, s5) == MARL_REG_s5,
96 static_assert(offsetof(marl_fiber_context, s6) == MARL_REG_s6,
98 static_assert(offsetof(marl_fiber_context, s7) == MARL_REG_s7,
[all …]
Dosfiber_asm_arm.h75 static_assert(offsetof(marl_fiber_context, r0) == MARL_REG_r0,
77 static_assert(offsetof(marl_fiber_context, r1) == MARL_REG_r1,
79 static_assert(offsetof(marl_fiber_context, r12) == MARL_REG_r12,
81 static_assert(offsetof(marl_fiber_context, r4) == MARL_REG_r4,
83 static_assert(offsetof(marl_fiber_context, r5) == MARL_REG_r5,
85 static_assert(offsetof(marl_fiber_context, r6) == MARL_REG_r6,
87 static_assert(offsetof(marl_fiber_context, r7) == MARL_REG_r7,
89 static_assert(offsetof(marl_fiber_context, r8) == MARL_REG_r8,
91 static_assert(offsetof(marl_fiber_context, r9) == MARL_REG_r9,
93 static_assert(offsetof(marl_fiber_context, r10) == MARL_REG_r10,
[all …]
/external/google-breakpad/src/common/android/
Dbreakpad_getcontext_unittest.cc55 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/
Dmk_Gcursor_i.c30 #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/ethtool/
Drxclass.c660 offsetof(struct ethtool_rx_flow_spec, h_u.tcp_ip4_spec.ip4src),
661 offsetof(struct ethtool_rx_flow_spec, m_u.tcp_ip4_spec.ip4src) },
663 offsetof(struct ethtool_rx_flow_spec, h_u.tcp_ip4_spec.ip4dst),
664 offsetof(struct ethtool_rx_flow_spec, m_u.tcp_ip4_spec.ip4dst) },
666 offsetof(struct ethtool_rx_flow_spec, h_u.tcp_ip4_spec.tos),
667 offsetof(struct ethtool_rx_flow_spec, m_u.tcp_ip4_spec.tos) },
669 offsetof(struct ethtool_rx_flow_spec, h_u.tcp_ip4_spec.psrc),
670 offsetof(struct ethtool_rx_flow_spec, m_u.tcp_ip4_spec.psrc) },
672 offsetof(struct ethtool_rx_flow_spec, h_u.tcp_ip4_spec.pdst),
673 offsetof(struct ethtool_rx_flow_spec, m_u.tcp_ip4_spec.pdst) },
[all …]
/external/clang/test/CodeGenCXX/
Daarch64-aapcs-zerolength-bitfield.cpp14 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/
Darm-apcs-zerolength-bitfield.c17 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 …]
Darm-aapcs-zerolength-bitfield.c13 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.c91 [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/strace/tests-mx32/
Dioctl_dm.c54 ALIGNED_SIZE(offsetof(t_, m_), t_)
70 offsetof(struct dm_ioctl, data);
192 tail_alloc(offsetof(struct dm_ioctl, data)); in main()
361 init_s(&s.ioc, sizeof(s), offsetof(struct s, u)); in main()
410 init_s(&dm_arg_open1->ioc, offsetof(struct dm_table_open_test, target1), in main()
411 offsetof(struct dm_table_open_test, target1)); in main()
425 offsetof(struct dm_table_open_test, target1) in main()
428 offsetof(struct dm_table_open_test, target1) in main()
433 init_s(&dm_arg_open2->ioc, offsetof(struct dm_table_open_test, param1), in main()
434 offsetof(struct dm_table_open_test, target1)); in main()
[all …]
/external/strace/tests/
Dioctl_dm.c54 ALIGNED_SIZE(offsetof(t_, m_), t_)
70 offsetof(struct dm_ioctl, data);
192 tail_alloc(offsetof(struct dm_ioctl, data)); in main()
361 init_s(&s.ioc, sizeof(s), offsetof(struct s, u)); in main()
410 init_s(&dm_arg_open1->ioc, offsetof(struct dm_table_open_test, target1), in main()
411 offsetof(struct dm_table_open_test, target1)); in main()
425 offsetof(struct dm_table_open_test, target1) in main()
428 offsetof(struct dm_table_open_test, target1) in main()
433 init_s(&dm_arg_open2->ioc, offsetof(struct dm_table_open_test, param1), in main()
434 offsetof(struct dm_table_open_test, target1)); in main()
[all …]
/external/strace/tests-m32/
Dioctl_dm.c54 ALIGNED_SIZE(offsetof(t_, m_), t_)
70 offsetof(struct dm_ioctl, data);
192 tail_alloc(offsetof(struct dm_ioctl, data)); in main()
361 init_s(&s.ioc, sizeof(s), offsetof(struct s, u)); in main()
410 init_s(&dm_arg_open1->ioc, offsetof(struct dm_table_open_test, target1), in main()
411 offsetof(struct dm_table_open_test, target1)); in main()
425 offsetof(struct dm_table_open_test, target1) in main()
428 offsetof(struct dm_table_open_test, target1) in main()
433 init_s(&dm_arg_open2->ioc, offsetof(struct dm_table_open_test, param1), in main()
434 offsetof(struct dm_table_open_test, target1)); in main()
[all …]

12345678910>>...40