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

1234567891011>>

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.abi/
H A Daggregates.C27 #define offsetof(aggregate, field) \ macro
77 if (offsetof (struct S1, c) != 0)
84 if (offsetof (struct S2, c) != 0)
86 if (offsetof (struct S2, d) != 1)
88 if (offsetof (struct S2, s) != 2)
90 if (offsetof (struct S2, n) != 4)
97 if (offsetof (struct S3, c) != 0)
99 if (offsetof (struct S3, s) != 2)
106 if (offsetof (struct S4, c) != 0)
108 if (offsetof (struc
[all...]
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/17_intro/
H A Dheader_cstddef.cc35 std::size_t i = offsetof(struct test_type, i);
36 #ifndef offsetof
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A Dc99-flex-array-4.c24 char x[(sizeof(struct foo) == offsetof(struct foo, pad)) ? 1 : -1]; /* { dg-bogus "negative" "sizeof != offsetof" { xfail *-*-* } } */
25 char y[(offsetof(struct foo, pad) == offsetof(struct bar, pad)) ? 1 : -1];
/openbsd-current/gnu/gcc/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]));
H A Dpass23-frag.c16 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *) 0)->MEMBER) macro
18 struct foo* q = (struct foo *) malloc (offsetof (struct foo, some_more_nothing));
/openbsd-current/gnu/usr.bin/binutils/gdb/
H A Dsolib-legacy.c48 #ifndef offsetof
49 #define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER) macro
60 lmo.r_map_offset = offsetof (struct r_debug, r_map);
65 lmo.l_addr_offset = offsetof (struct link_map, l_addr);
68 lmo.l_next_offset = offsetof (struct link_map, l_next);
71 lmo.l_prev_offset = offsetof (struct link_map, l_prev);
74 lmo.l_name_offset = offsetof (struct link_map, l_name);
80 lmo.l_addr_offset = offsetof (struct link_map, lm_addr);
83 lmo.l_next_offset = offsetof (struct link_map, lm_next);
86 lmo.l_name_offset = offsetof (struc
[all...]
/openbsd-current/gnu/lib/libiberty/include/
H A Dobjalloc.h56 #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)
/openbsd-current/gnu/gcc/include/
H A Dobjalloc.h56 #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)
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dbit-fields2.C36 if (offsetof (struct foo, c) > sizeof (unsigned int))
/openbsd-current/gnu/usr.bin/binutils-2.17/include/
H A Dobjalloc.h56 #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)
/openbsd-current/share/man/man3/
H A DMakefile5 intro.3 makedev.3 offsetof.3 queue.3 va_start.3 sysexits.3 timeradd.3 \
/openbsd-current/sys/dev/pci/drm/include/linux/
H A Dstddef.h9 #define offsetofend(s, e) (offsetof(s, e) + sizeof((((s *)0)->e)))
H A Dcontainer_of.h8 (type *)( (char *)__mptr - offsetof(type,member) );})
/openbsd-current/lib/libcrypto/cms/
H A Dcms_asn1.c66 .offset = offsetof(CMS_IssuerAndSerialNumber, issuer),
73 .offset = offsetof(CMS_IssuerAndSerialNumber, serialNumber),
93 .offset = offsetof(CMS_OtherCertificateFormat, otherCertFormat),
100 .offset = offsetof(CMS_OtherCertificateFormat, otherCert),
120 .offset = offsetof(CMS_CertificateChoices, d.certificate),
127 .offset = offsetof(CMS_CertificateChoices, d.extendedCertificate),
134 .offset = offsetof(CMS_CertificateChoices, d.v1AttrCert),
141 .offset = offsetof(CMS_CertificateChoices, d.v2AttrCert),
148 .offset = offsetof(CMS_CertificateChoices, d.other),
156 .utype = offsetof(CMS_CertificateChoice
[all...]
/openbsd-current/gnu/llvm/compiler-rt/lib/gwp_asan/
H A Dcommon.h168 static_assert(offsetof(AllocatorState, VersionMagic) == 0, "");
172 static_assert(offsetof(AllocatorState, FailureAddress) == 48, "");
174 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 560, "");
177 static_assert(offsetof(AllocatorState, FailureAddress) == 48, "");
179 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 560, "");
182 static_assert(offsetof(AllocatorState, FailureAddress) == 28, "");
184 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 544, "");
187 static_assert(offsetof(AllocatorState, FailureAddress) == 28, "");
189 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 552, "");
/openbsd-current/include/
H A Dstddef.h69 #define offsetof(type, member) __builtin_offsetof(type, member) macro
71 #define offsetof(type, member) ((size_t)(&((type *)0)->member)) macro
/openbsd-current/lib/libcrypto/rsa/
H A Drsa_asn1.c97 .offset = offsetof(RSA, version),
104 .offset = offsetof(RSA, n),
111 .offset = offsetof(RSA, e),
118 .offset = offsetof(RSA, d),
125 .offset = offsetof(RSA, p),
132 .offset = offsetof(RSA, q),
139 .offset = offsetof(RSA, dmp1),
146 .offset = offsetof(RSA, dmq1),
153 .offset = offsetof(RSA, iqmp),
182 .offset = offsetof(RS
[all...]
/openbsd-current/gnu/llvm/libcxxabi/src/
H A Dcxa_exception.h111 offsetof(__cxa_exception, unwindHeader) ==
115 offsetof(__cxa_dependent_exception, unwindHeader) ==
120 static_assert(offsetof(__cxa_exception, propagationCount) +
124 static_assert(offsetof(__cxa_dependent_exception, propagationCount) +
129 static_assert(offsetof(__cxa_exception, adjustedPtr) +
133 static_assert(offsetof(__cxa_dependent_exception, adjustedPtr) +
138 static_assert(offsetof(__cxa_exception, referenceCount) +
142 static_assert(offsetof(__cxa_dependent_exception, primaryException) +
/openbsd-current/lib/libcrypto/pkcs12/
H A Dp12_asn.c72 .offset = offsetof(PKCS12, version),
79 .offset = offsetof(PKCS12, authsafes),
86 .offset = offsetof(PKCS12, mac),
136 .offset = offsetof(PKCS12_MAC_DATA, dinfo),
143 .offset = offsetof(PKCS12_MAC_DATA, salt),
150 .offset = offsetof(PKCS12_MAC_DATA, iter),
195 .offset = offsetof(PKCS12_BAGS, value.other),
206 .offset = offsetof(PKCS12_BAGS, value.x509cert),
217 .offset = offsetof(PKCS12_BAGS, value.x509crl),
228 .offset = offsetof(PKCS12_BAG
[all...]
/openbsd-current/gnu/usr.bin/binutils/include/
H A Dobjalloc.h56 #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)
/openbsd-current/sys/dev/pci/drm/include/drm/
H A Ddrm_simple_kms_helper.h15 offsetof(type, member), encoder_type))
/openbsd-current/sys/arch/sparc64/dev/
H A Dpsychovar.h136 offsetof(struct psychoreg, reg))
140 offsetof(struct psychoreg, reg), (v))
144 offsetof(struct psychoreg, reg))
148 offsetof(struct pci_ctl, reg))
152 offsetof(struct pci_ctl, reg), (v))
/openbsd-current/lib/libcrypto/asn1/
H A Dx_spki.c70 .offset = offsetof(NETSCAPE_SPKAC, pubkey),
75 .offset = offsetof(NETSCAPE_SPKAC, challenge),
124 .offset = offsetof(NETSCAPE_SPKI, spkac),
131 .offset = offsetof(NETSCAPE_SPKI, sig_algor),
138 .offset = offsetof(NETSCAPE_SPKI, signature),
H A Dx_req.c100 .enc_offset = offsetof(X509_REQ_INFO, enc),
104 .offset = offsetof(X509_REQ_INFO, version),
109 .offset = offsetof(X509_REQ_INFO, subject),
114 .offset = offsetof(X509_REQ_INFO, pubkey),
123 .offset = offsetof(X509_REQ_INFO, attributes),
172 .ref_offset = offsetof(X509_REQ, references),
177 .offset = offsetof(X509_REQ, req_info),
182 .offset = offsetof(X509_REQ, sig_alg),
187 .offset = offsetof(X509_REQ, signature),

Completed in 190 milliseconds

1234567891011>>