Searched refs:offsetof (Results 1 - 25 of 667) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/
H A Dhppa-linux-offsets.h20 #define PT_PSW offsetof(struct pt_regs, gr[ 0])
21 #define PT_GR1 offsetof(struct pt_regs, gr[ 1])
22 #define PT_GR2 offsetof(struct pt_regs, gr[ 2])
23 #define PT_GR3 offsetof(struct pt_regs, gr[ 3])
24 #define PT_GR4 offsetof(struct pt_regs, gr[ 4])
25 #define PT_GR5 offsetof(struct pt_regs, gr[ 5])
26 #define PT_GR6 offsetof(struct pt_regs, gr[ 6])
27 #define PT_GR7 offsetof(struct pt_regs, gr[ 7])
28 #define PT_GR8 offsetof(struct pt_regs, gr[ 8])
29 #define PT_GR9 offsetof(struc
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/other/
H A Doffsetof1.C6 // PR c++ 7598, offsetof broke
17 static int ary[offsetof(F, j)];
H A Doffsetof2.C7 // DR273 POD can have an operator&, offsetof is still required to work
41 if (offsetof (POD3, m) != sizeof (int))
43 if (offsetof (POD4, m) != sizeof (int))
H A Doffsetof5.C12 int j = offsetof (A, i); // { dg-warning "invalid access|offsetof" }
19 static const int j = offsetof (S, i); // { dg-warning "invalid access|offsetof" }
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/parse/
H A Doffsetof4.C3 // PR c++/14932: Allow subscript operator in offsetof
13 const int off = offsetof(A, foo[12]);
H A Doffsetof5.C12 offsetof(test,a);
H A Doffsetof2.C11 static const int offset = offsetof(choke_me, storage);
H A Doffsetof3.C10 return offsetof(B,a.i) != 0;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.dg/other/
H A Doffsetof1.C6 // PR c++ 7598, offsetof broke
17 static int ary[offsetof(F, j)];
H A Doffsetof2.C7 // DR273 POD can have an operator&, offsetof is still required to work
41 if (offsetof (POD3, m) != sizeof (int))
43 if (offsetof (POD4, m) != sizeof (int))
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.dg/parse/
H A Doffsetof4.C3 // PR c++/14932: Allow subscript operator in offsetof
13 const int off = offsetof(A, foo[12]);
H A Doffsetof5.C12 offsetof(test,a);
H A Doffsetof2.C11 static const int offset = offsetof(choke_me, storage);
H A Doffsetof3.C10 return offsetof(B,a.i) != 0;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.abi/
H A Daggregates.C28 #define offsetof(aggregate, field) \ macro
78 if (offsetof (struct S1, c) != 0)
85 if (offsetof (struct S2, c) != 0)
87 if (offsetof (struct S2, d) != 1)
89 if (offsetof (struct S2, s) != 2)
91 if (offsetof (struct S2, n) != 4)
98 if (offsetof (struct S3, c) != 0)
100 if (offsetof (struct S3, s) != 2)
107 if (offsetof (struct S4, c) != 0)
109 if (offsetof (struc
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.abi/
H A Daggregates.C28 #define offsetof(aggregate, field) \ macro
78 if (offsetof (struct S1, c) != 0)
85 if (offsetof (struct S2, c) != 0)
87 if (offsetof (struct S2, d) != 1)
89 if (offsetof (struct S2, s) != 2)
91 if (offsetof (struct S2, n) != 4)
98 if (offsetof (struct S3, c) != 0)
100 if (offsetof (struct S3, s) != 2)
107 if (offsetof (struct S4, c) != 0)
109 if (offsetof (struc
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/i386/include/
H A Dreg.h53 #define tES (offsetof(struct trapframe, tf_es) / sizeof (int))
54 #define tDS (offsetof(struct trapframe, tf_ds) / sizeof (int))
55 #define tEDI (offsetof(struct trapframe, tf_edi) / sizeof (int))
56 #define tESI (offsetof(struct trapframe, tf_esi) / sizeof (int))
57 #define tEBP (offsetof(struct trapframe, tf_ebp) / sizeof (int))
58 #define tEBX (offsetof(struct trapframe, tf_ebx) / sizeof (int))
59 #define tEDX (offsetof(struct trapframe, tf_edx) / sizeof (int))
60 #define tECX (offsetof(struct trapframe, tf_ecx) / sizeof (int))
61 #define tEAX (offsetof(struct trapframe, tf_eax) / sizeof (int))
63 #define tEIP (offsetof(struc
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.target/arm/
H A Dva_list.c20 if (offsetof (va_list, __ap)
21 != offsetof (my_va_list, ap))
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/17_intro/
H A Dheader_cstddef.cc35 std::size_t i __attribute__((unused)) = offsetof(struct test_type, i);
36 #ifndef offsetof
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libmudflap/testsuite/libmudflap.c/
H A Dpass22-frag.c14 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *) 0)->MEMBER) macro
16 struct foo* f = (struct foo *) malloc (offsetof (struct foo, nothing));
H A Dpass24-frag.c12 #define offsetof(S,F) ((size_t) & (((S *) 0)->F)) macro
14 struct foo *k = (struct foo *) malloc (offsetof (struct foo, bar[4]));
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/18_support/headers/cstddef/
H A Dmacros.cc33 // offsetof
36 std::size_t i __attribute__((unused)) = offsetof(struct test_type, i);
37 #ifndef offsetof
/netbsd-6-1-5-RELEASE/tests/include/sys/
H A Dt_bootblock.c48 ATF_CHECK_EQ(MBR_BPB_OFFSET, offsetof(struct mbr_sector, mbr_bpb));
49 ATF_CHECK_EQ(MBR_BS_OFFSET, offsetof(struct mbr_sector, mbr_bootsel));
51 ATF_CHECK_EQ(440, offsetof(struct mbr_sector, mbr_dsn));
54 ATF_CHECK_EQ(MBR_PART_OFFSET, offsetof(struct mbr_sector, mbr_parts));
57 ATF_CHECK_EQ(MBR_MAGIC_OFFSET, offsetof(struct mbr_sector, mbr_magic));
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/gdbserver/
H A Dlynx-ppc-low.c83 buf + offsetof (usr_econtext_t, uec_iregs[i]));
87 buf + offsetof (usr_econtext_t, uec_srr0));
89 buf + offsetof (usr_econtext_t, uec_srr1));
91 buf + offsetof (usr_econtext_t, uec_cr));
93 buf + offsetof (usr_econtext_t, uec_lr));
95 buf + offsetof (usr_econtext_t, uec_ctr));
97 buf + offsetof (usr_econtext_t, uec_xer));
110 buf + offsetof (usr_econtext_t, uec_iregs[i]));
114 buf + offsetof (usr_econtext_t, uec_srr0));
116 buf + offsetof (usr_econtext_
[all...]
/netbsd-6-1-5-RELEASE/include/
H A Dstddef.h56 #define offsetof(type, member) __builtin_offsetof(type, member) macro
58 #define offsetof(type, member) ((size_t)(unsigned long)(&((type *)0)->member)) macro
63 #define offsetof(type, member) __offsetof__((reinterpret_cast<size_t> \ macro

Completed in 143 milliseconds

1234567891011>>