Home
last modified time | relevance | path

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

12345678910>>...25

/openbsd-src/lib/libcrypto/cms/
H A Dcms_asn1.c71 .offset = offsetof(CMS_IssuerAndSerialNumber, issuer),
78 .offset = offsetof(CMS_IssuerAndSerialNumber, serialNumber),
98 .offset = offsetof(CMS_OtherCertificateFormat, otherCertFormat),
105 .offset = offsetof(CMS_OtherCertificateFormat, otherCert),
125 .offset = offsetof(CMS_CertificateChoices, d.certificate),
132 .offset = offsetof(CMS_CertificateChoices, d.extendedCertificate),
139 .offset = offsetof(CMS_CertificateChoices, d.v1AttrCert),
146 .offset = offsetof(CMS_CertificateChoices, d.v2AttrCert),
153 .offset = offsetof(CMS_CertificateChoices, d.other),
161 .utype = offsetof(CMS_CertificateChoice
[all...]
/openbsd-src/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) in main()
84 if (offsetof (struct S2, c) != 0) in main()
86 if (offsetof (struct S2, d) != 1) in main()
88 if (offsetof (struct S2, s) != 2) in main()
90 if (offsetof (struct S2, n) != 4) in main()
97 if (offsetof (struct S3, c) != 0) in main()
99 if (offsetof (struct S3, s) != 2) in main()
106 if (offsetof (struct S4, c) != 0) in main()
108 if (offsetof (struct S4, d) != 8) in main()
[all …]
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dsolib-legacy.c48 #ifndef offsetof in legacy_svr4_fetch_link_map_offsets()
49 #define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER) in legacy_svr4_fetch_link_map_offsets() macro
60 lmo.r_map_offset = offsetof (struct r_debug, r_map); in legacy_svr4_fetch_link_map_offsets()
65 lmo.l_addr_offset = offsetof (struct link_map, l_addr); in legacy_svr4_fetch_link_map_offsets()
68 lmo.l_next_offset = offsetof (struct link_map, l_next); in legacy_svr4_fetch_link_map_offsets()
71 lmo.l_prev_offset = offsetof (struct link_map, l_prev); in legacy_svr4_fetch_link_map_offsets()
74 lmo.l_name_offset = offsetof (struct link_map, l_name); in legacy_svr4_fetch_link_map_offsets()
80 lmo.l_addr_offset = offsetof (struct link_map, lm_addr); in legacy_svr4_fetch_link_map_offsets()
83 lmo.l_next_offset = offsetof (struct link_map, lm_next); in legacy_svr4_fetch_link_map_offsets()
86 lmo.l_name_offset = offsetof (struct link_map, lm_name); in legacy_svr4_fetch_link_map_offsets()
[all …]
H A Dppcobsd-nat.c216 ppcobsd_reg_offsets.r0_offset = offsetof (struct reg, gpr); in _initialize_ppcobsd_nat()
217 ppcobsd_reg_offsets.pc_offset = offsetof (struct reg, pc); in _initialize_ppcobsd_nat()
218 ppcobsd_reg_offsets.ps_offset = offsetof (struct reg, ps); in _initialize_ppcobsd_nat()
219 ppcobsd_reg_offsets.cr_offset = offsetof (struct reg, cnd); in _initialize_ppcobsd_nat()
220 ppcobsd_reg_offsets.lr_offset = offsetof (struct reg, lr); in _initialize_ppcobsd_nat()
221 ppcobsd_reg_offsets.ctr_offset = offsetof (struct reg, cnt); in _initialize_ppcobsd_nat()
222 ppcobsd_reg_offsets.xer_offset = offsetof (struct reg, xer); in _initialize_ppcobsd_nat()
223 ppcobsd_reg_offsets.mq_offset = offsetof (struct reg, mq); in _initialize_ppcobsd_nat()
226 ppcobsd_reg_offsets.f0_offset = offsetof (struct reg, fpr); in _initialize_ppcobsd_nat()
229 ppcobsd_fpreg_offsets.f0_offset = offsetof (struct fpreg, fpr); in _initialize_ppcobsd_nat()
[all …]
H A Di386v-nat.c109 #if !defined (offsetof)
110 #define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER) macro
183 ptrace (6, pid, offsetof (struct user, u_debugreg[DR_CONTROL]), in i386_insert_aligned_watchpoint()
185 ptrace (6, pid, offsetof (struct user, u_debugreg[free_debug_register]), in i386_insert_aligned_watchpoint()
246 ptrace (6, pid, offsetof (struct user, u_debugreg[DR_CONTROL]), in i386_remove_watchpoint()
248 ptrace (6, pid, offsetof (struct user, u_debugreg[DR_STATUS]), 0); in i386_remove_watchpoint()
261 status = ptrace (3, pid, offsetof (struct user, u_debugreg[DR_STATUS]), 0); in i386_stopped_by_watchpoint()
262 ptrace (6, pid, offsetof (struct user, u_debugreg[DR_STATUS]), 0); in i386_stopped_by_watchpoint()
H A Dppc64obsd-nat.c218 ppc64obsd_reg_offsets.r0_offset = offsetof (struct reg, r_reg); in _initialize_ppc64obsd_nat()
219 ppc64obsd_reg_offsets.pc_offset = offsetof (struct reg, r_pc); in _initialize_ppc64obsd_nat()
220 ppc64obsd_reg_offsets.ps_offset = offsetof (struct reg, r_msr); in _initialize_ppc64obsd_nat()
221 ppc64obsd_reg_offsets.cr_offset = offsetof (struct reg, r_cr); in _initialize_ppc64obsd_nat()
222 ppc64obsd_reg_offsets.lr_offset = offsetof (struct reg, r_lr); in _initialize_ppc64obsd_nat()
223 ppc64obsd_reg_offsets.ctr_offset = offsetof (struct reg, r_ctr); in _initialize_ppc64obsd_nat()
224 ppc64obsd_reg_offsets.xer_offset = offsetof (struct reg, r_xer); in _initialize_ppc64obsd_nat()
/openbsd-src/lib/libcrypto/pkcs7/
H A Dpk7_asn1.c72 .offset = offsetof(PKCS7, d.other),
83 .offset = offsetof(PKCS7, d.data),
94 .offset = offsetof(PKCS7, d.sign),
105 .offset = offsetof(PKCS7, d.enveloped),
116 .offset = offsetof(PKCS7, d.signed_and_enveloped),
127 .offset = offsetof(PKCS7, d.digest),
138 .offset = offsetof(PKCS7, d.encrypted),
148 .offset = offsetof(PKCS7, type),
195 .offset = offsetof(PKCS7, type),
260 .offset = offsetof(PKCS7_SIGNED, version),
[all …]
/openbsd-src/lib/libcrypto/pkcs12/
H A Dp12_asn.c72 .offset = offsetof(PKCS12, version),
79 .offset = offsetof(PKCS12, authsafes),
86 .offset = offsetof(PKCS12, mac),
137 .offset = offsetof(PKCS12_MAC_DATA, dinfo),
144 .offset = offsetof(PKCS12_MAC_DATA, salt),
151 .offset = offsetof(PKCS12_MAC_DATA, iter),
196 .offset = offsetof(PKCS12_BAGS, value.other),
207 .offset = offsetof(PKCS12_BAGS, value.x509cert),
218 .offset = offsetof(PKCS12_BAGS, value.x509crl),
229 .offset = offsetof(PKCS12_BAGS, value.sdsicert),
[all …]
/openbsd-src/lib/libcrypto/ocsp/
H A Docsp_asn.c68 .offset = offsetof(OCSP_SIGNATURE, signatureAlgorithm),
75 .offset = offsetof(OCSP_SIGNATURE, signature),
82 .offset = offsetof(OCSP_SIGNATURE, certs),
133 .offset = offsetof(OCSP_CERTID, hashAlgorithm),
140 .offset = offsetof(OCSP_CERTID, issuerNameHash),
147 .offset = offsetof(OCSP_CERTID, issuerKeyHash),
154 .offset = offsetof(OCSP_CERTID, serialNumber),
205 .offset = offsetof(OCSP_ONEREQ, reqCert),
212 .offset = offsetof(OCSP_ONEREQ, singleRequestExtensions),
263 .offset = offsetof(OCSP_REQINFO, version),
[all …]
/openbsd-src/sys/arch/i386/i386/
H A Dgenassym.cf171 define IP_SRC offsetof(struct ip, ip_src)
172 define IP_DST offsetof(struct ip, ip_dst)
174 define CPU_INFO_SCRATCH offsetof(struct cpu_info, ci_scratch)
175 define CPU_INFO_SELF offsetof(struct cpu_info, ci_self)
176 define CPU_INFO_APICID offsetof(struct cpu_info, ci_apicid)
177 define CPU_INFO_CURPROC offsetof(struct cpu_info, ci_curproc)
178 define CPU_INFO_CURPCB offsetof(struct cpu_info, ci_curpcb)
179 define CPU_INFO_IDLE_PCB offsetof(struct cpu_info, ci_idle_pcb)
180 define CPU_INFO_LEVEL offsetof(struct cpu_info, ci_level)
181 define CPU_INFO_VENDOR offsetof(struc
[all...]
/openbsd-src/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),
183 .offset = offsetof(RSA, n),
[all …]
/openbsd-src/lib/libcrypto/ts/
H A Dts_asn1.c70 .offset = offsetof(TS_MSG_IMPRINT, hash_algo),
77 .offset = offsetof(TS_MSG_IMPRINT, hashed_msg),
164 .offset = offsetof(TS_REQ, version),
171 .offset = offsetof(TS_REQ, msg_imprint),
178 .offset = offsetof(TS_REQ, policy_id),
185 .offset = offsetof(TS_REQ, nonce),
192 .offset = offsetof(TS_REQ, cert_req),
199 .offset = offsetof(TS_REQ, extensions),
286 .offset = offsetof(TS_ACCURACY, seconds),
293 .offset = offsetof(TS_ACCURACY, millis),
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DAMDHSAKernelDescriptor.h22 #ifndef offsetof
23 #define offsetof(TYPE, MEMBER) ((size_t)&((TYPE*)0)->MEMBER) macro
201 static_assert(offsetof(kernel_descriptor_t, group_segment_fixed_size) ==
204 static_assert(offsetof(kernel_descriptor_t, private_segment_fixed_size) ==
207 static_assert(offsetof(kernel_descriptor_t, kernarg_size) ==
210 static_assert(offsetof(kernel_descriptor_t, reserved0) == RESERVED0_OFFSET,
212 static_assert(offsetof(kernel_descriptor_t, kernel_code_entry_byte_offset) ==
215 static_assert(offsetof(kernel_descriptor_t, reserved1) == RESERVED1_OFFSET,
217 static_assert(offsetof(kernel_descriptor_t, compute_pgm_rsrc3) ==
220 static_assert(offsetof(kernel_descriptor_t, compute_pgm_rsrc1) ==
[all …]
/openbsd-src/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-src/lib/libcrypto/asn1/
H A Dx_x509.c72 .enc_offset = offsetof(X509_CINF, enc),
77 .offset = offsetof(X509_CINF, version),
82 .offset = offsetof(X509_CINF, serialNumber),
87 .offset = offsetof(X509_CINF, signature),
92 .offset = offsetof(X509_CINF, issuer),
97 .offset = offsetof(X509_CINF, validity),
102 .offset = offsetof(X509_CINF, subject),
107 .offset = offsetof(X509_CINF, key),
114 .offset = offsetof(X509_CINF, issuerUID),
121 .offset = offsetof(X509_CINF, subjectUID),
[all …]
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),
173 .ref_offset = offsetof(X509_REQ, references),
178 .offset = offsetof(X509_REQ, req_info),
183 .offset = offsetof(X509_REQ, sig_alg),
188 .offset = offsetof(X509_REQ, signature),
H A Dx_crl.c77 .offset = offsetof(X509_REVOKED, serialNumber),
82 .offset = offsetof(X509_REVOKED, revocationDate),
88 .offset = offsetof(X509_REVOKED, extensions),
130 .enc_offset = offsetof(X509_CRL_INFO, enc),
135 .offset = offsetof(X509_CRL_INFO, version),
140 .offset = offsetof(X509_CRL_INFO, sig_alg),
145 .offset = offsetof(X509_CRL_INFO, issuer),
150 .offset = offsetof(X509_CRL_INFO, lastUpdate),
156 .offset = offsetof(X509_CRL_INFO, nextUpdate),
162 .offset = offsetof(X509_CRL_INFO, revoked),
[all …]
/openbsd-src/sys/arch/hppa/hppa/
H A Dtrap.c103 offsetof(struct trapframe, tf_pad[0]) / 4, /* r0 XXX */
104 offsetof(struct trapframe, tf_r1) / 4,
105 offsetof(struct trapframe, tf_rp) / 4,
106 offsetof(struct trapframe, tf_r3) / 4,
107 offsetof(struct trapframe, tf_r4) / 4,
108 offsetof(struct trapframe, tf_r5) / 4,
109 offsetof(struct trapframe, tf_r6) / 4,
110 offsetof(struct trapframe, tf_r7) / 4,
111 offsetof(struct trapframe, tf_r8) / 4,
112 offsetof(struct trapframe, tf_r9) / 4,
[all …]
/openbsd-src/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-src/lib/libcrypto/dsa/
H A Ddsa_asn1.c99 .offset = offsetof(DSA_SIG, r),
106 .offset = offsetof(DSA_SIG, s),
192 .offset = offsetof(DSA, version),
199 .offset = offsetof(DSA, p),
206 .offset = offsetof(DSA, q),
213 .offset = offsetof(DSA, g),
220 .offset = offsetof(DSA, pub_key),
227 .offset = offsetof(DSA, priv_key),
272 .offset = offsetof(DSA, p),
279 .offset = offsetof(DSA, q),
[all …]
/openbsd-src/usr.sbin/mopd/common/
H A Dfile.c527 offsetof(Elf32_Ehdr, e_machine), in GetElf32FileInfo()
530 offsetof(Elf32_Ehdr, e_entry), in GetElf32FileInfo()
534 offsetof(Elf32_Ehdr, e_phoff), in GetElf32FileInfo()
537 offsetof(Elf32_Ehdr, e_phentsize), in GetElf32FileInfo()
540 offsetof(Elf32_Ehdr, e_phnum), in GetElf32FileInfo()
546 offsetof(Elf32_Ehdr, e_machine), in GetElf32FileInfo()
549 offsetof(Elf32_Ehdr, e_entry), in GetElf32FileInfo()
553 offsetof(Elf32_Ehdr, e_phoff), in GetElf32FileInfo()
556 offsetof(Elf32_Ehdr, e_phentsize), in GetElf32FileInfo()
559 offsetof(Elf32_Ehd in GetElf32FileInfo()
[all...]
/openbsd-src/lib/libcrypto/x509/
H A Dx509_genn.c70 .offset = offsetof(OTHERNAME, type_id),
78 .offset = offsetof(OTHERNAME, value),
130 .offset = offsetof(EDIPARTYNAME, nameAssigner),
137 .offset = offsetof(EDIPARTYNAME, partyName),
188 .offset = offsetof(GENERAL_NAME, d.otherName),
195 .offset = offsetof(GENERAL_NAME, d.rfc822Name),
202 .offset = offsetof(GENERAL_NAME, d.dNSName),
210 .offset = offsetof(GENERAL_NAME, d.x400Address),
218 .offset = offsetof(GENERAL_NAME, d.directoryName),
225 .offset = offsetof(GENERAL_NAME, d.ediPartyName),
[all …]
/openbsd-src/lib/libcrypto/ec/
H A Dec_asn1.c157 .offset = offsetof(X9_62_PENTANOMIAL, k1),
164 .offset = offsetof(X9_62_PENTANOMIAL, k2),
171 .offset = offsetof(X9_62_PENTANOMIAL, k3),
190 .offset = offsetof(X9_62_CHARACTERISTIC_TWO, p.other),
201 .offset = offsetof(X9_62_CHARACTERISTIC_TWO, p.onBasis),
211 .offset = offsetof(X9_62_CHARACTERISTIC_TWO, p.tpBasis),
221 .offset = offsetof(X9_62_CHARACTERISTIC_TWO, p.ppBasis),
231 .offset = offsetof(X9_62_CHARACTERISTIC_TWO, type),
242 .offset = offsetof(X9_62_CHARACTERISTIC_TWO, m),
249 .offset = offsetof(X9_62_CHARACTERISTIC_TW
[all...]
/openbsd-src/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-src/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)

12345678910>>...25