1#[repr(C)]
4#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
5pub struct __BindgenBitfieldUnit<Storage, Align> {
6 storage: Storage,
7 align: [Align; 0],
8}
9impl<Storage, Align> __BindgenBitfieldUnit<Storage, Align> {
10 #[inline]
11 pub const fn new(storage: Storage) -> Self {
12 Self { storage, align: [] }
13 }
14}
15impl<Storage, Align> __BindgenBitfieldUnit<Storage, Align>
16where
17 Storage: AsRef<[u8]> + AsMut<[u8]>,
18{
19 #[inline]
20 pub fn get_bit(&self, index: usize) -> bool {
21 debug_assert!(index / 8 < self.storage.as_ref().len());
22 let byte_index = index / 8;
23 let byte = self.storage.as_ref()[byte_index];
24 let bit_index = if cfg!(target_endian = "big") {
25 7 - (index % 8)
26 } else {
27 index % 8
28 };
29 let mask = 1 << bit_index;
30 byte & mask == mask
31 }
32 #[inline]
33 pub fn set_bit(&mut self, index: usize, val: bool) {
34 debug_assert!(index / 8 < self.storage.as_ref().len());
35 let byte_index = index / 8;
36 let byte = &mut self.storage.as_mut()[byte_index];
37 let bit_index = if cfg!(target_endian = "big") {
38 7 - (index % 8)
39 } else {
40 index % 8
41 };
42 let mask = 1 << bit_index;
43 if val {
44 *byte |= mask;
45 } else {
46 *byte &= !mask;
47 }
48 }
49 #[inline]
50 pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
51 debug_assert!(bit_width <= 64);
52 debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
53 debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
54 let mut val = 0;
55 for i in 0..(bit_width as usize) {
56 if self.get_bit(i + bit_offset) {
57 let index = if cfg!(target_endian = "big") {
58 bit_width as usize - 1 - i
59 } else {
60 i
61 };
62 val |= 1 << index;
63 }
64 }
65 val
66 }
67 #[inline]
68 pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
69 debug_assert!(bit_width <= 64);
70 debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
71 debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
72 for i in 0..(bit_width as usize) {
73 let mask = 1 << i;
74 let val_bit_is_set = val & mask == mask;
75 let index = if cfg!(target_endian = "big") {
76 bit_width as usize - 1 - i
77 } else {
78 i
79 };
80 self.set_bit(index + bit_offset, val_bit_is_set);
81 }
82 }
83}
84pub const CL_TARGET_OPENCL_VERSION: u32 = 120;
85pub const CL_VERSION_1_2: u32 = 1;
86pub const CL_VERSION_1_1: u32 = 1;
87pub const CL_VERSION_1_0: u32 = 1;
88pub const __WORDSIZE: u32 = 64;
89pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 0;
90pub const __DARWIN_ONLY_VERS_1050: u32 = 0;
91pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1;
92pub const __DARWIN_UNIX03: u32 = 1;
93pub const __DARWIN_64_BIT_INO_T: u32 = 1;
94pub const __DARWIN_VERS_1050: u32 = 1;
95pub const __DARWIN_NON_CANCELABLE: u32 = 0;
96pub const __DARWIN_SUF_64_BIT_INO_T: &'static [u8; 9usize] = b"$INODE64\0";
97pub const __DARWIN_SUF_1050: &'static [u8; 6usize] = b"$1050\0";
98pub const __DARWIN_SUF_EXTSN: &'static [u8; 14usize] = b"$DARWIN_EXTSN\0";
99pub const __DARWIN_C_ANSI: u32 = 4096;
100pub const __DARWIN_C_FULL: u32 = 900000;
101pub const __DARWIN_C_LEVEL: u32 = 900000;
102pub const __STDC_WANT_LIB_EXT1__: u32 = 1;
103pub const __DARWIN_NO_LONG_LONG: u32 = 0;
104pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1;
105pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1;
106pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3;
107pub const __PTHREAD_SIZE__: u32 = 8176;
108pub const __PTHREAD_ATTR_SIZE__: u32 = 56;
109pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8;
110pub const __PTHREAD_MUTEX_SIZE__: u32 = 56;
111pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8;
112pub const __PTHREAD_COND_SIZE__: u32 = 40;
113pub const __PTHREAD_ONCE_SIZE__: u32 = 8;
114pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192;
115pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16;
116pub const INT8_MAX: u32 = 127;
117pub const INT16_MAX: u32 = 32767;
118pub const INT32_MAX: u32 = 2147483647;
119pub const INT64_MAX: u64 = 9223372036854775807;
120pub const INT8_MIN: i32 = -128;
121pub const INT16_MIN: i32 = -32768;
122pub const INT32_MIN: i32 = -2147483648;
123pub const INT64_MIN: i64 = -9223372036854775808;
124pub const UINT8_MAX: u32 = 255;
125pub const UINT16_MAX: u32 = 65535;
126pub const UINT32_MAX: u32 = 4294967295;
127pub const UINT64_MAX: i32 = -1;
128pub const INT_LEAST8_MIN: i32 = -128;
129pub const INT_LEAST16_MIN: i32 = -32768;
130pub const INT_LEAST32_MIN: i32 = -2147483648;
131pub const INT_LEAST64_MIN: i64 = -9223372036854775808;
132pub const INT_LEAST8_MAX: u32 = 127;
133pub const INT_LEAST16_MAX: u32 = 32767;
134pub const INT_LEAST32_MAX: u32 = 2147483647;
135pub const INT_LEAST64_MAX: u64 = 9223372036854775807;
136pub const UINT_LEAST8_MAX: u32 = 255;
137pub const UINT_LEAST16_MAX: u32 = 65535;
138pub const UINT_LEAST32_MAX: u32 = 4294967295;
139pub const UINT_LEAST64_MAX: i32 = -1;
140pub const INT_FAST8_MIN: i32 = -128;
141pub const INT_FAST16_MIN: i32 = -32768;
142pub const INT_FAST32_MIN: i32 = -2147483648;
143pub const INT_FAST64_MIN: i64 = -9223372036854775808;
144pub const INT_FAST8_MAX: u32 = 127;
145pub const INT_FAST16_MAX: u32 = 32767;
146pub const INT_FAST32_MAX: u32 = 2147483647;
147pub const INT_FAST64_MAX: u64 = 9223372036854775807;
148pub const UINT_FAST8_MAX: u32 = 255;
149pub const UINT_FAST16_MAX: u32 = 65535;
150pub const UINT_FAST32_MAX: u32 = 4294967295;
151pub const UINT_FAST64_MAX: i32 = -1;
152pub const INTPTR_MAX: u64 = 9223372036854775807;
153pub const INTPTR_MIN: i64 = -9223372036854775808;
154pub const UINTPTR_MAX: i32 = -1;
155pub const INTMAX_MIN: i64 = -9223372036854775808;
156pub const INTMAX_MAX: u64 = 9223372036854775807;
157pub const UINTMAX_MAX: i32 = -1;
158pub const PTRDIFF_MIN: i64 = -9223372036854775808;
159pub const PTRDIFF_MAX: u64 = 9223372036854775807;
160pub const SIZE_MAX: i32 = -1;
161pub const RSIZE_MAX: i32 = -1;
162pub const WINT_MIN: i32 = -2147483648;
163pub const WINT_MAX: u32 = 2147483647;
164pub const SIG_ATOMIC_MIN: i32 = -2147483648;
165pub const SIG_ATOMIC_MAX: u32 = 2147483647;
166pub const CL_CHAR_BIT: u32 = 8;
167pub const CL_SCHAR_MAX: u32 = 127;
168pub const CL_SCHAR_MIN: i32 = -128;
169pub const CL_CHAR_MAX: u32 = 127;
170pub const CL_CHAR_MIN: i32 = -128;
171pub const CL_UCHAR_MAX: u32 = 255;
172pub const CL_SHRT_MAX: u32 = 32767;
173pub const CL_SHRT_MIN: i32 = -32768;
174pub const CL_USHRT_MAX: u32 = 65535;
175pub const CL_INT_MAX: u32 = 2147483647;
176pub const CL_INT_MIN: i32 = -2147483648;
177pub const CL_UINT_MAX: u32 = 4294967295;
178pub const CL_FLT_DIG: u32 = 6;
179pub const CL_FLT_MANT_DIG: u32 = 24;
180pub const CL_FLT_MAX_10_EXP: u32 = 38;
181pub const CL_FLT_MAX_EXP: u32 = 128;
182pub const CL_FLT_MIN_10_EXP: i32 = -37;
183pub const CL_FLT_MIN_EXP: i32 = -125;
184pub const CL_FLT_RADIX: u32 = 2;
185pub const CL_FLT_MAX: f64 = 340282346638528860000000000000000000000.0;
186pub const CL_HALF_DIG: u32 = 3;
187pub const CL_HALF_MANT_DIG: u32 = 11;
188pub const CL_HALF_MAX_10_EXP: u32 = 4;
189pub const CL_HALF_MAX_EXP: u32 = 16;
190pub const CL_HALF_MIN_10_EXP: i32 = -4;
191pub const CL_HALF_MIN_EXP: i32 = -13;
192pub const CL_HALF_RADIX: u32 = 2;
193pub const CL_HALF_MAX: f64 = 65504.0;
194pub const CL_DBL_DIG: u32 = 15;
195pub const CL_DBL_MANT_DIG: u32 = 53;
196pub const CL_DBL_MAX_10_EXP: u32 = 308;
197pub const CL_DBL_MAX_EXP: u32 = 1024;
198pub const CL_DBL_MIN_10_EXP: i32 = -307;
199pub const CL_DBL_MIN_EXP: i32 = -1021;
200pub const CL_DBL_RADIX: u32 = 2;
201pub const CL_DBL_MAX : f64 = 179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.0 ;
202pub const CL_M_E: f64 = 2.718281828459045;
203pub const CL_M_LOG2E: f64 = 1.4426950408889634;
204pub const CL_M_LOG10E: f64 = 0.4342944819032518;
205pub const CL_M_LN2: f64 = 0.6931471805599453;
206pub const CL_M_LN10: f64 = 2.302585092994046;
207pub const CL_M_PI: f64 = 3.141592653589793;
208pub const CL_M_PI_2: f64 = 1.5707963267948966;
209pub const CL_M_PI_4: f64 = 0.7853981633974483;
210pub const CL_M_1_PI: f64 = 0.3183098861837907;
211pub const CL_M_2_PI: f64 = 0.6366197723675814;
212pub const CL_M_2_SQRTPI: f64 = 1.1283791670955126;
213pub const CL_M_SQRT2: f64 = 1.4142135623730951;
214pub const CL_M_SQRT1_2: f64 = 0.7071067811865476;
215pub const CL_M_E_F: f64 = 2.718281828;
216pub const CL_M_LOG2E_F: f64 = 1.442695041;
217pub const CL_M_LOG10E_F: f64 = 0.434294482;
218pub const CL_M_LN2_F: f64 = 0.693147181;
219pub const CL_M_LN10_F: f64 = 2.302585093;
220pub const CL_M_PI_F: f64 = 3.141592654;
221pub const CL_M_PI_2_F: f64 = 1.570796327;
222pub const CL_M_PI_4_F: f64 = 0.785398163;
223pub const CL_M_1_PI_F: f64 = 0.318309886;
224pub const CL_M_2_PI_F: f64 = 0.636619772;
225pub const CL_M_2_SQRTPI_F: f64 = 1.128379167;
226pub const CL_M_SQRT2_F: f64 = 1.414213562;
227pub const CL_M_SQRT1_2_F: f64 = 0.707106781;
228pub const CL_MAXFLOAT: f64 = 340282346638528860000000000000000000000.0;
229pub const __API_TO_BE_DEPRECATED: u32 = 100000;
230pub const __MAC_10_0: u32 = 1000;
231pub const __MAC_10_1: u32 = 1010;
232pub const __MAC_10_2: u32 = 1020;
233pub const __MAC_10_3: u32 = 1030;
234pub const __MAC_10_4: u32 = 1040;
235pub const __MAC_10_5: u32 = 1050;
236pub const __MAC_10_6: u32 = 1060;
237pub const __MAC_10_7: u32 = 1070;
238pub const __MAC_10_8: u32 = 1080;
239pub const __MAC_10_9: u32 = 1090;
240pub const __MAC_10_10: u32 = 101000;
241pub const __MAC_10_10_2: u32 = 101002;
242pub const __MAC_10_10_3: u32 = 101003;
243pub const __MAC_10_11: u32 = 101100;
244pub const __MAC_10_11_2: u32 = 101102;
245pub const __MAC_10_11_3: u32 = 101103;
246pub const __MAC_10_11_4: u32 = 101104;
247pub const __MAC_10_12: u32 = 101200;
248pub const __MAC_10_12_1: u32 = 101201;
249pub const __MAC_10_12_2: u32 = 101202;
250pub const __MAC_10_12_4: u32 = 101204;
251pub const __MAC_10_13: u32 = 101300;
252pub const __MAC_10_13_1: u32 = 101301;
253pub const __MAC_10_13_2: u32 = 101302;
254pub const __MAC_10_13_4: u32 = 101304;
255pub const __MAC_10_14: u32 = 101400;
256pub const __MAC_10_14_1: u32 = 101401;
257pub const __MAC_10_14_4: u32 = 101404;
258pub const __MAC_10_14_6: u32 = 101406;
259pub const __IPHONE_2_0: u32 = 20000;
260pub const __IPHONE_2_1: u32 = 20100;
261pub const __IPHONE_2_2: u32 = 20200;
262pub const __IPHONE_3_0: u32 = 30000;
263pub const __IPHONE_3_1: u32 = 30100;
264pub const __IPHONE_3_2: u32 = 30200;
265pub const __IPHONE_4_0: u32 = 40000;
266pub const __IPHONE_4_1: u32 = 40100;
267pub const __IPHONE_4_2: u32 = 40200;
268pub const __IPHONE_4_3: u32 = 40300;
269pub const __IPHONE_5_0: u32 = 50000;
270pub const __IPHONE_5_1: u32 = 50100;
271pub const __IPHONE_6_0: u32 = 60000;
272pub const __IPHONE_6_1: u32 = 60100;
273pub const __IPHONE_7_0: u32 = 70000;
274pub const __IPHONE_7_1: u32 = 70100;
275pub const __IPHONE_8_0: u32 = 80000;
276pub const __IPHONE_8_1: u32 = 80100;
277pub const __IPHONE_8_2: u32 = 80200;
278pub const __IPHONE_8_3: u32 = 80300;
279pub const __IPHONE_8_4: u32 = 80400;
280pub const __IPHONE_9_0: u32 = 90000;
281pub const __IPHONE_9_1: u32 = 90100;
282pub const __IPHONE_9_2: u32 = 90200;
283pub const __IPHONE_9_3: u32 = 90300;
284pub const __IPHONE_10_0: u32 = 100000;
285pub const __IPHONE_10_1: u32 = 100100;
286pub const __IPHONE_10_2: u32 = 100200;
287pub const __IPHONE_10_3: u32 = 100300;
288pub const __IPHONE_11_0: u32 = 110000;
289pub const __IPHONE_11_1: u32 = 110100;
290pub const __IPHONE_11_2: u32 = 110200;
291pub const __IPHONE_11_3: u32 = 110300;
292pub const __IPHONE_11_4: u32 = 110400;
293pub const __IPHONE_12_0: u32 = 120000;
294pub const __IPHONE_12_1: u32 = 120100;
295pub const __IPHONE_12_2: u32 = 120200;
296pub const __IPHONE_12_3: u32 = 120300;
297pub const __IPHONE_12_4: u32 = 120400;
298pub const __TVOS_9_0: u32 = 90000;
299pub const __TVOS_9_1: u32 = 90100;
300pub const __TVOS_9_2: u32 = 90200;
301pub const __TVOS_10_0: u32 = 100000;
302pub const __TVOS_10_0_1: u32 = 100001;
303pub const __TVOS_10_1: u32 = 100100;
304pub const __TVOS_10_2: u32 = 100200;
305pub const __TVOS_11_0: u32 = 110000;
306pub const __TVOS_11_1: u32 = 110100;
307pub const __TVOS_11_2: u32 = 110200;
308pub const __TVOS_11_3: u32 = 110300;
309pub const __TVOS_11_4: u32 = 110400;
310pub const __TVOS_12_0: u32 = 120000;
311pub const __TVOS_12_1: u32 = 120100;
312pub const __TVOS_12_2: u32 = 120200;
313pub const __TVOS_12_3: u32 = 120300;
314pub const __TVOS_12_4: u32 = 120400;
315pub const __WATCHOS_1_0: u32 = 10000;
316pub const __WATCHOS_2_0: u32 = 20000;
317pub const __WATCHOS_2_1: u32 = 20100;
318pub const __WATCHOS_2_2: u32 = 20200;
319pub const __WATCHOS_3_0: u32 = 30000;
320pub const __WATCHOS_3_1: u32 = 30100;
321pub const __WATCHOS_3_1_1: u32 = 30101;
322pub const __WATCHOS_3_2: u32 = 30200;
323pub const __WATCHOS_4_0: u32 = 40000;
324pub const __WATCHOS_4_1: u32 = 40100;
325pub const __WATCHOS_4_2: u32 = 40200;
326pub const __WATCHOS_4_3: u32 = 40300;
327pub const __WATCHOS_5_0: u32 = 50000;
328pub const __WATCHOS_5_1: u32 = 50100;
329pub const __WATCHOS_5_2: u32 = 50200;
330pub const __WATCHOS_5_3: u32 = 50300;
331pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 101406;
332pub const __DARWIN_WCHAR_MIN: i32 = -2147483648;
333pub const _FORTIFY_SOURCE: u32 = 2;
334pub const __DARWIN_NSIG: u32 = 32;
335pub const NSIG: u32 = 32;
336pub const _I386_SIGNAL_H_: u32 = 1;
337pub const SIGHUP: u32 = 1;
338pub const SIGINT: u32 = 2;
339pub const SIGQUIT: u32 = 3;
340pub const SIGILL: u32 = 4;
341pub const SIGTRAP: u32 = 5;
342pub const SIGABRT: u32 = 6;
343pub const SIGIOT: u32 = 6;
344pub const SIGEMT: u32 = 7;
345pub const SIGFPE: u32 = 8;
346pub const SIGKILL: u32 = 9;
347pub const SIGBUS: u32 = 10;
348pub const SIGSEGV: u32 = 11;
349pub const SIGSYS: u32 = 12;
350pub const SIGPIPE: u32 = 13;
351pub const SIGALRM: u32 = 14;
352pub const SIGTERM: u32 = 15;
353pub const SIGURG: u32 = 16;
354pub const SIGSTOP: u32 = 17;
355pub const SIGTSTP: u32 = 18;
356pub const SIGCONT: u32 = 19;
357pub const SIGCHLD: u32 = 20;
358pub const SIGTTIN: u32 = 21;
359pub const SIGTTOU: u32 = 22;
360pub const SIGIO: u32 = 23;
361pub const SIGXCPU: u32 = 24;
362pub const SIGXFSZ: u32 = 25;
363pub const SIGVTALRM: u32 = 26;
364pub const SIGPROF: u32 = 27;
365pub const SIGWINCH: u32 = 28;
366pub const SIGINFO: u32 = 29;
367pub const SIGUSR1: u32 = 30;
368pub const SIGUSR2: u32 = 31;
369pub const FP_PREC_24B: u32 = 0;
370pub const FP_PREC_53B: u32 = 2;
371pub const FP_PREC_64B: u32 = 3;
372pub const FP_RND_NEAR: u32 = 0;
373pub const FP_RND_DOWN: u32 = 1;
374pub const FP_RND_UP: u32 = 2;
375pub const FP_CHOP: u32 = 3;
376pub const FP_STATE_BYTES: u32 = 512;
377pub const SIGEV_NONE: u32 = 0;
378pub const SIGEV_SIGNAL: u32 = 1;
379pub const SIGEV_THREAD: u32 = 3;
380pub const ILL_NOOP: u32 = 0;
381pub const ILL_ILLOPC: u32 = 1;
382pub const ILL_ILLTRP: u32 = 2;
383pub const ILL_PRVOPC: u32 = 3;
384pub const ILL_ILLOPN: u32 = 4;
385pub const ILL_ILLADR: u32 = 5;
386pub const ILL_PRVREG: u32 = 6;
387pub const ILL_COPROC: u32 = 7;
388pub const ILL_BADSTK: u32 = 8;
389pub const FPE_NOOP: u32 = 0;
390pub const FPE_FLTDIV: u32 = 1;
391pub const FPE_FLTOVF: u32 = 2;
392pub const FPE_FLTUND: u32 = 3;
393pub const FPE_FLTRES: u32 = 4;
394pub const FPE_FLTINV: u32 = 5;
395pub const FPE_FLTSUB: u32 = 6;
396pub const FPE_INTDIV: u32 = 7;
397pub const FPE_INTOVF: u32 = 8;
398pub const SEGV_NOOP: u32 = 0;
399pub const SEGV_MAPERR: u32 = 1;
400pub const SEGV_ACCERR: u32 = 2;
401pub const BUS_NOOP: u32 = 0;
402pub const BUS_ADRALN: u32 = 1;
403pub const BUS_ADRERR: u32 = 2;
404pub const BUS_OBJERR: u32 = 3;
405pub const TRAP_BRKPT: u32 = 1;
406pub const TRAP_TRACE: u32 = 2;
407pub const CLD_NOOP: u32 = 0;
408pub const CLD_EXITED: u32 = 1;
409pub const CLD_KILLED: u32 = 2;
410pub const CLD_DUMPED: u32 = 3;
411pub const CLD_TRAPPED: u32 = 4;
412pub const CLD_STOPPED: u32 = 5;
413pub const CLD_CONTINUED: u32 = 6;
414pub const POLL_IN: u32 = 1;
415pub const POLL_OUT: u32 = 2;
416pub const POLL_MSG: u32 = 3;
417pub const POLL_ERR: u32 = 4;
418pub const POLL_PRI: u32 = 5;
419pub const POLL_HUP: u32 = 6;
420pub const SA_ONSTACK: u32 = 1;
421pub const SA_RESTART: u32 = 2;
422pub const SA_RESETHAND: u32 = 4;
423pub const SA_NOCLDSTOP: u32 = 8;
424pub const SA_NODEFER: u32 = 16;
425pub const SA_NOCLDWAIT: u32 = 32;
426pub const SA_SIGINFO: u32 = 64;
427pub const SA_USERTRAMP: u32 = 256;
428pub const SA_64REGSET: u32 = 512;
429pub const SA_USERSPACE_MASK: u32 = 127;
430pub const SIG_BLOCK: u32 = 1;
431pub const SIG_UNBLOCK: u32 = 2;
432pub const SIG_SETMASK: u32 = 3;
433pub const SI_USER: u32 = 65537;
434pub const SI_QUEUE: u32 = 65538;
435pub const SI_TIMER: u32 = 65539;
436pub const SI_ASYNCIO: u32 = 65540;
437pub const SI_MESGQ: u32 = 65541;
438pub const SS_ONSTACK: u32 = 1;
439pub const SS_DISABLE: u32 = 4;
440pub const MINSIGSTKSZ: u32 = 32768;
441pub const SIGSTKSZ: u32 = 131072;
442pub const SV_ONSTACK: u32 = 1;
443pub const SV_INTERRUPT: u32 = 2;
444pub const SV_RESETHAND: u32 = 4;
445pub const SV_NODEFER: u32 = 16;
446pub const SV_NOCLDSTOP: u32 = 8;
447pub const SV_SIGINFO: u32 = 64;
448pub const PRIO_PROCESS: u32 = 0;
449pub const PRIO_PGRP: u32 = 1;
450pub const PRIO_USER: u32 = 2;
451pub const PRIO_DARWIN_THREAD: u32 = 3;
452pub const PRIO_DARWIN_PROCESS: u32 = 4;
453pub const PRIO_MIN: i32 = -20;
454pub const PRIO_MAX: u32 = 20;
455pub const PRIO_DARWIN_BG: u32 = 4096;
456pub const PRIO_DARWIN_NONUI: u32 = 4097;
457pub const RUSAGE_SELF: u32 = 0;
458pub const RUSAGE_CHILDREN: i32 = -1;
459pub const RUSAGE_INFO_V0: u32 = 0;
460pub const RUSAGE_INFO_V1: u32 = 1;
461pub const RUSAGE_INFO_V2: u32 = 2;
462pub const RUSAGE_INFO_V3: u32 = 3;
463pub const RUSAGE_INFO_V4: u32 = 4;
464pub const RUSAGE_INFO_CURRENT: u32 = 4;
465pub const RLIMIT_CPU: u32 = 0;
466pub const RLIMIT_FSIZE: u32 = 1;
467pub const RLIMIT_DATA: u32 = 2;
468pub const RLIMIT_STACK: u32 = 3;
469pub const RLIMIT_CORE: u32 = 4;
470pub const RLIMIT_AS: u32 = 5;
471pub const RLIMIT_RSS: u32 = 5;
472pub const RLIMIT_MEMLOCK: u32 = 6;
473pub const RLIMIT_NPROC: u32 = 7;
474pub const RLIMIT_NOFILE: u32 = 8;
475pub const RLIM_NLIMITS: u32 = 9;
476pub const _RLIMIT_POSIX_FLAG: u32 = 4096;
477pub const RLIMIT_WAKEUPS_MONITOR: u32 = 1;
478pub const RLIMIT_CPU_USAGE_MONITOR: u32 = 2;
479pub const RLIMIT_THREAD_CPULIMITS: u32 = 3;
480pub const RLIMIT_FOOTPRINT_INTERVAL: u32 = 4;
481pub const WAKEMON_ENABLE: u32 = 1;
482pub const WAKEMON_DISABLE: u32 = 2;
483pub const WAKEMON_GET_PARAMS: u32 = 4;
484pub const WAKEMON_SET_DEFAULTS: u32 = 8;
485pub const WAKEMON_MAKE_FATAL: u32 = 16;
486pub const CPUMON_MAKE_FATAL: u32 = 4096;
487pub const FOOTPRINT_INTERVAL_RESET: u32 = 1;
488pub const IOPOL_TYPE_DISK: u32 = 0;
489pub const IOPOL_TYPE_VFS_ATIME_UPDATES: u32 = 2;
490pub const IOPOL_SCOPE_PROCESS: u32 = 0;
491pub const IOPOL_SCOPE_THREAD: u32 = 1;
492pub const IOPOL_SCOPE_DARWIN_BG: u32 = 2;
493pub const IOPOL_DEFAULT: u32 = 0;
494pub const IOPOL_IMPORTANT: u32 = 1;
495pub const IOPOL_PASSIVE: u32 = 2;
496pub const IOPOL_THROTTLE: u32 = 3;
497pub const IOPOL_UTILITY: u32 = 4;
498pub const IOPOL_STANDARD: u32 = 5;
499pub const IOPOL_APPLICATION: u32 = 5;
500pub const IOPOL_NORMAL: u32 = 1;
501pub const IOPOL_ATIME_UPDATES_DEFAULT: u32 = 0;
502pub const IOPOL_ATIME_UPDATES_OFF: u32 = 1;
503pub const WNOHANG: u32 = 1;
504pub const WUNTRACED: u32 = 2;
505pub const WCOREFLAG: u32 = 128;
506pub const _WSTOPPED: u32 = 127;
507pub const WEXITED: u32 = 4;
508pub const WSTOPPED: u32 = 8;
509pub const WCONTINUED: u32 = 16;
510pub const WNOWAIT: u32 = 32;
511pub const WAIT_ANY: i32 = -1;
512pub const WAIT_MYPGRP: u32 = 0;
513pub const _QUAD_HIGHWORD: u32 = 1;
514pub const _QUAD_LOWWORD: u32 = 0;
515pub const __DARWIN_LITTLE_ENDIAN: u32 = 1234;
516pub const __DARWIN_BIG_ENDIAN: u32 = 4321;
517pub const __DARWIN_PDP_ENDIAN: u32 = 3412;
518pub const __DARWIN_BYTE_ORDER: u32 = 1234;
519pub const LITTLE_ENDIAN: u32 = 1234;
520pub const BIG_ENDIAN: u32 = 4321;
521pub const PDP_ENDIAN: u32 = 3412;
522pub const BYTE_ORDER: u32 = 1234;
523pub const EXIT_FAILURE: u32 = 1;
524pub const EXIT_SUCCESS: u32 = 0;
525pub const RAND_MAX: u32 = 2147483647;
526pub const _MM_HINT_ET0: u32 = 7;
527pub const _MM_HINT_ET1: u32 = 6;
528pub const _MM_HINT_T0: u32 = 3;
529pub const _MM_HINT_T1: u32 = 2;
530pub const _MM_HINT_T2: u32 = 1;
531pub const _MM_HINT_NTA: u32 = 0;
532pub const _MM_EXCEPT_INVALID: u32 = 1;
533pub const _MM_EXCEPT_DENORM: u32 = 2;
534pub const _MM_EXCEPT_DIV_ZERO: u32 = 4;
535pub const _MM_EXCEPT_OVERFLOW: u32 = 8;
536pub const _MM_EXCEPT_UNDERFLOW: u32 = 16;
537pub const _MM_EXCEPT_INEXACT: u32 = 32;
538pub const _MM_EXCEPT_MASK: u32 = 63;
539pub const _MM_MASK_INVALID: u32 = 128;
540pub const _MM_MASK_DENORM: u32 = 256;
541pub const _MM_MASK_DIV_ZERO: u32 = 512;
542pub const _MM_MASK_OVERFLOW: u32 = 1024;
543pub const _MM_MASK_UNDERFLOW: u32 = 2048;
544pub const _MM_MASK_INEXACT: u32 = 4096;
545pub const _MM_MASK_MASK: u32 = 8064;
546pub const _MM_ROUND_NEAREST: u32 = 0;
547pub const _MM_ROUND_DOWN: u32 = 8192;
548pub const _MM_ROUND_UP: u32 = 16384;
549pub const _MM_ROUND_TOWARD_ZERO: u32 = 24576;
550pub const _MM_ROUND_MASK: u32 = 24576;
551pub const _MM_FLUSH_ZERO_MASK: u32 = 32768;
552pub const _MM_FLUSH_ZERO_ON: u32 = 32768;
553pub const _MM_FLUSH_ZERO_OFF: u32 = 0;
554pub const _MM_DENORMALS_ZERO_ON: u32 = 64;
555pub const _MM_DENORMALS_ZERO_OFF: u32 = 0;
556pub const _MM_DENORMALS_ZERO_MASK: u32 = 64;
557pub const __CL_FLOAT4__: u32 = 1;
558pub const __CL_UCHAR16__: u32 = 1;
559pub const __CL_CHAR16__: u32 = 1;
560pub const __CL_USHORT8__: u32 = 1;
561pub const __CL_SHORT8__: u32 = 1;
562pub const __CL_INT4__: u32 = 1;
563pub const __CL_UINT4__: u32 = 1;
564pub const __CL_ULONG2__: u32 = 1;
565pub const __CL_LONG2__: u32 = 1;
566pub const __CL_DOUBLE2__: u32 = 1;
567pub const __CL_UCHAR8__: u32 = 1;
568pub const __CL_CHAR8__: u32 = 1;
569pub const __CL_USHORT4__: u32 = 1;
570pub const __CL_SHORT4__: u32 = 1;
571pub const __CL_INT2__: u32 = 1;
572pub const __CL_UINT2__: u32 = 1;
573pub const __CL_ULONG1__: u32 = 1;
574pub const __CL_LONG1__: u32 = 1;
575pub const __CL_FLOAT2__: u32 = 1;
576pub const __CL_HAS_ANON_STRUCT__: u32 = 1;
577pub const CL_HAS_NAMED_VECTOR_FIELDS: u32 = 1;
578pub const CL_HAS_HI_LO_VECTOR_FIELDS: u32 = 1;
579pub const CL_SUCCESS: u32 = 0;
580pub const CL_DEVICE_NOT_FOUND: i32 = -1;
581pub const CL_DEVICE_NOT_AVAILABLE: i32 = -2;
582pub const CL_COMPILER_NOT_AVAILABLE: i32 = -3;
583pub const CL_MEM_OBJECT_ALLOCATION_FAILURE: i32 = -4;
584pub const CL_OUT_OF_RESOURCES: i32 = -5;
585pub const CL_OUT_OF_HOST_MEMORY: i32 = -6;
586pub const CL_PROFILING_INFO_NOT_AVAILABLE: i32 = -7;
587pub const CL_MEM_COPY_OVERLAP: i32 = -8;
588pub const CL_IMAGE_FORMAT_MISMATCH: i32 = -9;
589pub const CL_IMAGE_FORMAT_NOT_SUPPORTED: i32 = -10;
590pub const CL_BUILD_PROGRAM_FAILURE: i32 = -11;
591pub const CL_MAP_FAILURE: i32 = -12;
592pub const CL_MISALIGNED_SUB_BUFFER_OFFSET: i32 = -13;
593pub const CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST: i32 = -14;
594pub const CL_COMPILE_PROGRAM_FAILURE: i32 = -15;
595pub const CL_LINKER_NOT_AVAILABLE: i32 = -16;
596pub const CL_LINK_PROGRAM_FAILURE: i32 = -17;
597pub const CL_DEVICE_PARTITION_FAILED: i32 = -18;
598pub const CL_KERNEL_ARG_INFO_NOT_AVAILABLE: i32 = -19;
599pub const CL_INVALID_VALUE: i32 = -30;
600pub const CL_INVALID_DEVICE_TYPE: i32 = -31;
601pub const CL_INVALID_PLATFORM: i32 = -32;
602pub const CL_INVALID_DEVICE: i32 = -33;
603pub const CL_INVALID_CONTEXT: i32 = -34;
604pub const CL_INVALID_QUEUE_PROPERTIES: i32 = -35;
605pub const CL_INVALID_COMMAND_QUEUE: i32 = -36;
606pub const CL_INVALID_HOST_PTR: i32 = -37;
607pub const CL_INVALID_MEM_OBJECT: i32 = -38;
608pub const CL_INVALID_IMAGE_FORMAT_DESCRIPTOR: i32 = -39;
609pub const CL_INVALID_IMAGE_SIZE: i32 = -40;
610pub const CL_INVALID_SAMPLER: i32 = -41;
611pub const CL_INVALID_BINARY: i32 = -42;
612pub const CL_INVALID_BUILD_OPTIONS: i32 = -43;
613pub const CL_INVALID_PROGRAM: i32 = -44;
614pub const CL_INVALID_PROGRAM_EXECUTABLE: i32 = -45;
615pub const CL_INVALID_KERNEL_NAME: i32 = -46;
616pub const CL_INVALID_KERNEL_DEFINITION: i32 = -47;
617pub const CL_INVALID_KERNEL: i32 = -48;
618pub const CL_INVALID_ARG_INDEX: i32 = -49;
619pub const CL_INVALID_ARG_VALUE: i32 = -50;
620pub const CL_INVALID_ARG_SIZE: i32 = -51;
621pub const CL_INVALID_KERNEL_ARGS: i32 = -52;
622pub const CL_INVALID_WORK_DIMENSION: i32 = -53;
623pub const CL_INVALID_WORK_GROUP_SIZE: i32 = -54;
624pub const CL_INVALID_WORK_ITEM_SIZE: i32 = -55;
625pub const CL_INVALID_GLOBAL_OFFSET: i32 = -56;
626pub const CL_INVALID_EVENT_WAIT_LIST: i32 = -57;
627pub const CL_INVALID_EVENT: i32 = -58;
628pub const CL_INVALID_OPERATION: i32 = -59;
629pub const CL_INVALID_GL_OBJECT: i32 = -60;
630pub const CL_INVALID_BUFFER_SIZE: i32 = -61;
631pub const CL_INVALID_MIP_LEVEL: i32 = -62;
632pub const CL_INVALID_GLOBAL_WORK_SIZE: i32 = -63;
633pub const CL_INVALID_PROPERTY: i32 = -64;
634pub const CL_INVALID_IMAGE_DESCRIPTOR: i32 = -65;
635pub const CL_INVALID_COMPILER_OPTIONS: i32 = -66;
636pub const CL_INVALID_LINKER_OPTIONS: i32 = -67;
637pub const CL_INVALID_DEVICE_PARTITION_COUNT: i32 = -68;
638pub const CL_FALSE: u32 = 0;
639pub const CL_TRUE: u32 = 1;
640pub const CL_BLOCKING: u32 = 1;
641pub const CL_NON_BLOCKING: u32 = 0;
642pub const CL_PLATFORM_PROFILE: u32 = 2304;
643pub const CL_PLATFORM_VERSION: u32 = 2305;
644pub const CL_PLATFORM_NAME: u32 = 2306;
645pub const CL_PLATFORM_VENDOR: u32 = 2307;
646pub const CL_PLATFORM_EXTENSIONS: u32 = 2308;
647pub const CL_DEVICE_TYPE_DEFAULT: u32 = 1;
648pub const CL_DEVICE_TYPE_CPU: u32 = 2;
649pub const CL_DEVICE_TYPE_GPU: u32 = 4;
650pub const CL_DEVICE_TYPE_ACCELERATOR: u32 = 8;
651pub const CL_DEVICE_TYPE_CUSTOM: u32 = 16;
652pub const CL_DEVICE_TYPE_ALL: u32 = 4294967295;
653pub const CL_DEVICE_TYPE: u32 = 4096;
654pub const CL_DEVICE_VENDOR_ID: u32 = 4097;
655pub const CL_DEVICE_MAX_COMPUTE_UNITS: u32 = 4098;
656pub const CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS: u32 = 4099;
657pub const CL_DEVICE_MAX_WORK_GROUP_SIZE: u32 = 4100;
658pub const CL_DEVICE_MAX_WORK_ITEM_SIZES: u32 = 4101;
659pub const CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR: u32 = 4102;
660pub const CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT: u32 = 4103;
661pub const CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT: u32 = 4104;
662pub const CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG: u32 = 4105;
663pub const CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT: u32 = 4106;
664pub const CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE: u32 = 4107;
665pub const CL_DEVICE_MAX_CLOCK_FREQUENCY: u32 = 4108;
666pub const CL_DEVICE_ADDRESS_BITS: u32 = 4109;
667pub const CL_DEVICE_MAX_READ_IMAGE_ARGS: u32 = 4110;
668pub const CL_DEVICE_MAX_WRITE_IMAGE_ARGS: u32 = 4111;
669pub const CL_DEVICE_MAX_MEM_ALLOC_SIZE: u32 = 4112;
670pub const CL_DEVICE_IMAGE2D_MAX_WIDTH: u32 = 4113;
671pub const CL_DEVICE_IMAGE2D_MAX_HEIGHT: u32 = 4114;
672pub const CL_DEVICE_IMAGE3D_MAX_WIDTH: u32 = 4115;
673pub const CL_DEVICE_IMAGE3D_MAX_HEIGHT: u32 = 4116;
674pub const CL_DEVICE_IMAGE3D_MAX_DEPTH: u32 = 4117;
675pub const CL_DEVICE_IMAGE_SUPPORT: u32 = 4118;
676pub const CL_DEVICE_MAX_PARAMETER_SIZE: u32 = 4119;
677pub const CL_DEVICE_MAX_SAMPLERS: u32 = 4120;
678pub const CL_DEVICE_MEM_BASE_ADDR_ALIGN: u32 = 4121;
679pub const CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE: u32 = 4122;
680pub const CL_DEVICE_SINGLE_FP_CONFIG: u32 = 4123;
681pub const CL_DEVICE_GLOBAL_MEM_CACHE_TYPE: u32 = 4124;
682pub const CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE: u32 = 4125;
683pub const CL_DEVICE_GLOBAL_MEM_CACHE_SIZE: u32 = 4126;
684pub const CL_DEVICE_GLOBAL_MEM_SIZE: u32 = 4127;
685pub const CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE: u32 = 4128;
686pub const CL_DEVICE_MAX_CONSTANT_ARGS: u32 = 4129;
687pub const CL_DEVICE_LOCAL_MEM_TYPE: u32 = 4130;
688pub const CL_DEVICE_LOCAL_MEM_SIZE: u32 = 4131;
689pub const CL_DEVICE_ERROR_CORRECTION_SUPPORT: u32 = 4132;
690pub const CL_DEVICE_PROFILING_TIMER_RESOLUTION: u32 = 4133;
691pub const CL_DEVICE_ENDIAN_LITTLE: u32 = 4134;
692pub const CL_DEVICE_AVAILABLE: u32 = 4135;
693pub const CL_DEVICE_COMPILER_AVAILABLE: u32 = 4136;
694pub const CL_DEVICE_EXECUTION_CAPABILITIES: u32 = 4137;
695pub const CL_DEVICE_QUEUE_PROPERTIES: u32 = 4138;
696pub const CL_DEVICE_NAME: u32 = 4139;
697pub const CL_DEVICE_VENDOR: u32 = 4140;
698pub const CL_DRIVER_VERSION: u32 = 4141;
699pub const CL_DEVICE_PROFILE: u32 = 4142;
700pub const CL_DEVICE_VERSION: u32 = 4143;
701pub const CL_DEVICE_EXTENSIONS: u32 = 4144;
702pub const CL_DEVICE_PLATFORM: u32 = 4145;
703pub const CL_DEVICE_DOUBLE_FP_CONFIG: u32 = 4146;
704pub const CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF: u32 = 4148;
705pub const CL_DEVICE_HOST_UNIFIED_MEMORY: u32 = 4149;
706pub const CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR: u32 = 4150;
707pub const CL_DEVICE_NATIVE_VECTOR_WIDTH_SHORT: u32 = 4151;
708pub const CL_DEVICE_NATIVE_VECTOR_WIDTH_INT: u32 = 4152;
709pub const CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG: u32 = 4153;
710pub const CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT: u32 = 4154;
711pub const CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE: u32 = 4155;
712pub const CL_DEVICE_NATIVE_VECTOR_WIDTH_HALF: u32 = 4156;
713pub const CL_DEVICE_OPENCL_C_VERSION: u32 = 4157;
714pub const CL_DEVICE_LINKER_AVAILABLE: u32 = 4158;
715pub const CL_DEVICE_BUILT_IN_KERNELS: u32 = 4159;
716pub const CL_DEVICE_IMAGE_MAX_BUFFER_SIZE: u32 = 4160;
717pub const CL_DEVICE_IMAGE_MAX_ARRAY_SIZE: u32 = 4161;
718pub const CL_DEVICE_PARENT_DEVICE: u32 = 4162;
719pub const CL_DEVICE_PARTITION_MAX_SUB_DEVICES: u32 = 4163;
720pub const CL_DEVICE_PARTITION_PROPERTIES: u32 = 4164;
721pub const CL_DEVICE_PARTITION_AFFINITY_DOMAIN: u32 = 4165;
722pub const CL_DEVICE_PARTITION_TYPE: u32 = 4166;
723pub const CL_DEVICE_REFERENCE_COUNT: u32 = 4167;
724pub const CL_DEVICE_PREFERRED_INTEROP_USER_SYNC: u32 = 4168;
725pub const CL_DEVICE_PRINTF_BUFFER_SIZE: u32 = 4169;
726pub const CL_FP_DENORM: u32 = 1;
727pub const CL_FP_INF_NAN: u32 = 2;
728pub const CL_FP_ROUND_TO_NEAREST: u32 = 4;
729pub const CL_FP_ROUND_TO_ZERO: u32 = 8;
730pub const CL_FP_ROUND_TO_INF: u32 = 16;
731pub const CL_FP_FMA: u32 = 32;
732pub const CL_FP_SOFT_FLOAT: u32 = 64;
733pub const CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT: u32 = 128;
734pub const CL_NONE: u32 = 0;
735pub const CL_READ_ONLY_CACHE: u32 = 1;
736pub const CL_READ_WRITE_CACHE: u32 = 2;
737pub const CL_LOCAL: u32 = 1;
738pub const CL_GLOBAL: u32 = 2;
739pub const CL_EXEC_KERNEL: u32 = 1;
740pub const CL_EXEC_NATIVE_KERNEL: u32 = 2;
741pub const CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE: u32 = 1;
742pub const CL_QUEUE_PROFILING_ENABLE: u32 = 2;
743pub const CL_CONTEXT_REFERENCE_COUNT: u32 = 4224;
744pub const CL_CONTEXT_DEVICES: u32 = 4225;
745pub const CL_CONTEXT_PROPERTIES: u32 = 4226;
746pub const CL_CONTEXT_NUM_DEVICES: u32 = 4227;
747pub const CL_CONTEXT_PLATFORM: u32 = 4228;
748pub const CL_CONTEXT_INTEROP_USER_SYNC: u32 = 4229;
749pub const CL_DEVICE_PARTITION_EQUALLY: u32 = 4230;
750pub const CL_DEVICE_PARTITION_BY_COUNTS: u32 = 4231;
751pub const CL_DEVICE_PARTITION_BY_COUNTS_LIST_END: u32 = 0;
752pub const CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN: u32 = 4232;
753pub const CL_DEVICE_AFFINITY_DOMAIN_NUMA: u32 = 1;
754pub const CL_DEVICE_AFFINITY_DOMAIN_L4_CACHE: u32 = 2;
755pub const CL_DEVICE_AFFINITY_DOMAIN_L3_CACHE: u32 = 4;
756pub const CL_DEVICE_AFFINITY_DOMAIN_L2_CACHE: u32 = 8;
757pub const CL_DEVICE_AFFINITY_DOMAIN_L1_CACHE: u32 = 16;
758pub const CL_DEVICE_AFFINITY_DOMAIN_NEXT_PARTITIONABLE: u32 = 32;
759pub const CL_QUEUE_CONTEXT: u32 = 4240;
760pub const CL_QUEUE_DEVICE: u32 = 4241;
761pub const CL_QUEUE_REFERENCE_COUNT: u32 = 4242;
762pub const CL_QUEUE_PROPERTIES: u32 = 4243;
763pub const CL_MEM_READ_WRITE: u32 = 1;
764pub const CL_MEM_WRITE_ONLY: u32 = 2;
765pub const CL_MEM_READ_ONLY: u32 = 4;
766pub const CL_MEM_USE_HOST_PTR: u32 = 8;
767pub const CL_MEM_ALLOC_HOST_PTR: u32 = 16;
768pub const CL_MEM_COPY_HOST_PTR: u32 = 32;
769pub const CL_MEM_HOST_WRITE_ONLY: u32 = 128;
770pub const CL_MEM_HOST_READ_ONLY: u32 = 256;
771pub const CL_MEM_HOST_NO_ACCESS: u32 = 512;
772pub const CL_MIGRATE_MEM_OBJECT_HOST: u32 = 1;
773pub const CL_MIGRATE_MEM_OBJECT_CONTENT_UNDEFINED: u32 = 2;
774pub const CL_R: u32 = 4272;
775pub const CL_A: u32 = 4273;
776pub const CL_RG: u32 = 4274;
777pub const CL_RA: u32 = 4275;
778pub const CL_RGB: u32 = 4276;
779pub const CL_RGBA: u32 = 4277;
780pub const CL_BGRA: u32 = 4278;
781pub const CL_ARGB: u32 = 4279;
782pub const CL_INTENSITY: u32 = 4280;
783pub const CL_LUMINANCE: u32 = 4281;
784pub const CL_Rx: u32 = 4282;
785pub const CL_RGx: u32 = 4283;
786pub const CL_RGBx: u32 = 4284;
787pub const CL_DEPTH: u32 = 4285;
788pub const CL_DEPTH_STENCIL: u32 = 4286;
789pub const CL_SNORM_INT8: u32 = 4304;
790pub const CL_SNORM_INT16: u32 = 4305;
791pub const CL_UNORM_INT8: u32 = 4306;
792pub const CL_UNORM_INT16: u32 = 4307;
793pub const CL_UNORM_SHORT_565: u32 = 4308;
794pub const CL_UNORM_SHORT_555: u32 = 4309;
795pub const CL_UNORM_INT_101010: u32 = 4310;
796pub const CL_SIGNED_INT8: u32 = 4311;
797pub const CL_SIGNED_INT16: u32 = 4312;
798pub const CL_SIGNED_INT32: u32 = 4313;
799pub const CL_UNSIGNED_INT8: u32 = 4314;
800pub const CL_UNSIGNED_INT16: u32 = 4315;
801pub const CL_UNSIGNED_INT32: u32 = 4316;
802pub const CL_HALF_FLOAT: u32 = 4317;
803pub const CL_FLOAT: u32 = 4318;
804pub const CL_UNORM_INT24: u32 = 4319;
805pub const CL_MEM_OBJECT_BUFFER: u32 = 4336;
806pub const CL_MEM_OBJECT_IMAGE2D: u32 = 4337;
807pub const CL_MEM_OBJECT_IMAGE3D: u32 = 4338;
808pub const CL_MEM_OBJECT_IMAGE2D_ARRAY: u32 = 4339;
809pub const CL_MEM_OBJECT_IMAGE1D: u32 = 4340;
810pub const CL_MEM_OBJECT_IMAGE1D_ARRAY: u32 = 4341;
811pub const CL_MEM_OBJECT_IMAGE1D_BUFFER: u32 = 4342;
812pub const CL_MEM_TYPE: u32 = 4352;
813pub const CL_MEM_FLAGS: u32 = 4353;
814pub const CL_MEM_SIZE: u32 = 4354;
815pub const CL_MEM_HOST_PTR: u32 = 4355;
816pub const CL_MEM_MAP_COUNT: u32 = 4356;
817pub const CL_MEM_REFERENCE_COUNT: u32 = 4357;
818pub const CL_MEM_CONTEXT: u32 = 4358;
819pub const CL_MEM_ASSOCIATED_MEMOBJECT: u32 = 4359;
820pub const CL_MEM_OFFSET: u32 = 4360;
821pub const CL_IMAGE_FORMAT: u32 = 4368;
822pub const CL_IMAGE_ELEMENT_SIZE: u32 = 4369;
823pub const CL_IMAGE_ROW_PITCH: u32 = 4370;
824pub const CL_IMAGE_SLICE_PITCH: u32 = 4371;
825pub const CL_IMAGE_WIDTH: u32 = 4372;
826pub const CL_IMAGE_HEIGHT: u32 = 4373;
827pub const CL_IMAGE_DEPTH: u32 = 4374;
828pub const CL_IMAGE_ARRAY_SIZE: u32 = 4375;
829pub const CL_IMAGE_BUFFER: u32 = 4376;
830pub const CL_IMAGE_NUM_MIP_LEVELS: u32 = 4377;
831pub const CL_IMAGE_NUM_SAMPLES: u32 = 4378;
832pub const CL_ADDRESS_NONE: u32 = 4400;
833pub const CL_ADDRESS_CLAMP_TO_EDGE: u32 = 4401;
834pub const CL_ADDRESS_CLAMP: u32 = 4402;
835pub const CL_ADDRESS_REPEAT: u32 = 4403;
836pub const CL_ADDRESS_MIRRORED_REPEAT: u32 = 4404;
837pub const CL_FILTER_NEAREST: u32 = 4416;
838pub const CL_FILTER_LINEAR: u32 = 4417;
839pub const CL_SAMPLER_REFERENCE_COUNT: u32 = 4432;
840pub const CL_SAMPLER_CONTEXT: u32 = 4433;
841pub const CL_SAMPLER_NORMALIZED_COORDS: u32 = 4434;
842pub const CL_SAMPLER_ADDRESSING_MODE: u32 = 4435;
843pub const CL_SAMPLER_FILTER_MODE: u32 = 4436;
844pub const CL_MAP_READ: u32 = 1;
845pub const CL_MAP_WRITE: u32 = 2;
846pub const CL_MAP_WRITE_INVALIDATE_REGION: u32 = 4;
847pub const CL_PROGRAM_REFERENCE_COUNT: u32 = 4448;
848pub const CL_PROGRAM_CONTEXT: u32 = 4449;
849pub const CL_PROGRAM_NUM_DEVICES: u32 = 4450;
850pub const CL_PROGRAM_DEVICES: u32 = 4451;
851pub const CL_PROGRAM_SOURCE: u32 = 4452;
852pub const CL_PROGRAM_BINARY_SIZES: u32 = 4453;
853pub const CL_PROGRAM_BINARIES: u32 = 4454;
854pub const CL_PROGRAM_NUM_KERNELS: u32 = 4455;
855pub const CL_PROGRAM_KERNEL_NAMES: u32 = 4456;
856pub const CL_PROGRAM_BUILD_STATUS: u32 = 4481;
857pub const CL_PROGRAM_BUILD_OPTIONS: u32 = 4482;
858pub const CL_PROGRAM_BUILD_LOG: u32 = 4483;
859pub const CL_PROGRAM_BINARY_TYPE: u32 = 4484;
860pub const CL_PROGRAM_BINARY_TYPE_NONE: u32 = 0;
861pub const CL_PROGRAM_BINARY_TYPE_COMPILED_OBJECT: u32 = 1;
862pub const CL_PROGRAM_BINARY_TYPE_LIBRARY: u32 = 2;
863pub const CL_PROGRAM_BINARY_TYPE_EXECUTABLE: u32 = 4;
864pub const CL_BUILD_SUCCESS: u32 = 0;
865pub const CL_BUILD_NONE: i32 = -1;
866pub const CL_BUILD_ERROR: i32 = -2;
867pub const CL_BUILD_IN_PROGRESS: i32 = -3;
868pub const CL_KERNEL_FUNCTION_NAME: u32 = 4496;
869pub const CL_KERNEL_NUM_ARGS: u32 = 4497;
870pub const CL_KERNEL_REFERENCE_COUNT: u32 = 4498;
871pub const CL_KERNEL_CONTEXT: u32 = 4499;
872pub const CL_KERNEL_PROGRAM: u32 = 4500;
873pub const CL_KERNEL_ATTRIBUTES: u32 = 4501;
874pub const CL_KERNEL_ARG_ADDRESS_QUALIFIER: u32 = 4502;
875pub const CL_KERNEL_ARG_ACCESS_QUALIFIER: u32 = 4503;
876pub const CL_KERNEL_ARG_TYPE_NAME: u32 = 4504;
877pub const CL_KERNEL_ARG_TYPE_QUALIFIER: u32 = 4505;
878pub const CL_KERNEL_ARG_NAME: u32 = 4506;
879pub const CL_KERNEL_ARG_ADDRESS_GLOBAL: u32 = 4507;
880pub const CL_KERNEL_ARG_ADDRESS_LOCAL: u32 = 4508;
881pub const CL_KERNEL_ARG_ADDRESS_CONSTANT: u32 = 4509;
882pub const CL_KERNEL_ARG_ADDRESS_PRIVATE: u32 = 4510;
883pub const CL_KERNEL_ARG_ACCESS_READ_ONLY: u32 = 4512;
884pub const CL_KERNEL_ARG_ACCESS_WRITE_ONLY: u32 = 4513;
885pub const CL_KERNEL_ARG_ACCESS_READ_WRITE: u32 = 4514;
886pub const CL_KERNEL_ARG_ACCESS_NONE: u32 = 4515;
887pub const CL_KERNEL_ARG_TYPE_NONE: u32 = 0;
888pub const CL_KERNEL_ARG_TYPE_CONST: u32 = 1;
889pub const CL_KERNEL_ARG_TYPE_RESTRICT: u32 = 2;
890pub const CL_KERNEL_ARG_TYPE_VOLATILE: u32 = 4;
891pub const CL_KERNEL_WORK_GROUP_SIZE: u32 = 4528;
892pub const CL_KERNEL_COMPILE_WORK_GROUP_SIZE: u32 = 4529;
893pub const CL_KERNEL_LOCAL_MEM_SIZE: u32 = 4530;
894pub const CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE: u32 = 4531;
895pub const CL_KERNEL_PRIVATE_MEM_SIZE: u32 = 4532;
896pub const CL_KERNEL_GLOBAL_WORK_SIZE: u32 = 4533;
897pub const CL_EVENT_COMMAND_QUEUE: u32 = 4560;
898pub const CL_EVENT_COMMAND_TYPE: u32 = 4561;
899pub const CL_EVENT_REFERENCE_COUNT: u32 = 4562;
900pub const CL_EVENT_COMMAND_EXECUTION_STATUS: u32 = 4563;
901pub const CL_EVENT_CONTEXT: u32 = 4564;
902pub const CL_COMMAND_NDRANGE_KERNEL: u32 = 4592;
903pub const CL_COMMAND_TASK: u32 = 4593;
904pub const CL_COMMAND_NATIVE_KERNEL: u32 = 4594;
905pub const CL_COMMAND_READ_BUFFER: u32 = 4595;
906pub const CL_COMMAND_WRITE_BUFFER: u32 = 4596;
907pub const CL_COMMAND_COPY_BUFFER: u32 = 4597;
908pub const CL_COMMAND_READ_IMAGE: u32 = 4598;
909pub const CL_COMMAND_WRITE_IMAGE: u32 = 4599;
910pub const CL_COMMAND_COPY_IMAGE: u32 = 4600;
911pub const CL_COMMAND_COPY_IMAGE_TO_BUFFER: u32 = 4601;
912pub const CL_COMMAND_COPY_BUFFER_TO_IMAGE: u32 = 4602;
913pub const CL_COMMAND_MAP_BUFFER: u32 = 4603;
914pub const CL_COMMAND_MAP_IMAGE: u32 = 4604;
915pub const CL_COMMAND_UNMAP_MEM_OBJECT: u32 = 4605;
916pub const CL_COMMAND_MARKER: u32 = 4606;
917pub const CL_COMMAND_ACQUIRE_GL_OBJECTS: u32 = 4607;
918pub const CL_COMMAND_RELEASE_GL_OBJECTS: u32 = 4608;
919pub const CL_COMMAND_READ_BUFFER_RECT: u32 = 4609;
920pub const CL_COMMAND_WRITE_BUFFER_RECT: u32 = 4610;
921pub const CL_COMMAND_COPY_BUFFER_RECT: u32 = 4611;
922pub const CL_COMMAND_USER: u32 = 4612;
923pub const CL_COMMAND_BARRIER: u32 = 4613;
924pub const CL_COMMAND_MIGRATE_MEM_OBJECTS: u32 = 4614;
925pub const CL_COMMAND_FILL_BUFFER: u32 = 4615;
926pub const CL_COMMAND_FILL_IMAGE: u32 = 4616;
927pub const CL_COMPLETE: u32 = 0;
928pub const CL_RUNNING: u32 = 1;
929pub const CL_SUBMITTED: u32 = 2;
930pub const CL_QUEUED: u32 = 3;
931pub const CL_BUFFER_CREATE_TYPE_REGION: u32 = 4640;
932pub const CL_PROFILING_COMMAND_QUEUED: u32 = 4736;
933pub const CL_PROFILING_COMMAND_SUBMIT: u32 = 4737;
934pub const CL_PROFILING_COMMAND_START: u32 = 4738;
935pub const CL_PROFILING_COMMAND_END: u32 = 4739;
936pub type int_least8_t = i8;
937pub type int_least16_t = i16;
938pub type int_least32_t = i32;
939pub type int_least64_t = i64;
940pub type uint_least8_t = u8;
941pub type uint_least16_t = u16;
942pub type uint_least32_t = u32;
943pub type uint_least64_t = u64;
944pub type int_fast8_t = i8;
945pub type int_fast16_t = i16;
946pub type int_fast32_t = i32;
947pub type int_fast64_t = i64;
948pub type uint_fast8_t = u8;
949pub type uint_fast16_t = u16;
950pub type uint_fast32_t = u32;
951pub type uint_fast64_t = u64;
952pub type __int8_t = ::std::os::raw::c_schar;
953pub type __uint8_t = ::std::os::raw::c_uchar;
954pub type __int16_t = ::std::os::raw::c_short;
955pub type __uint16_t = ::std::os::raw::c_ushort;
956pub type __int32_t = ::std::os::raw::c_int;
957pub type __uint32_t = ::std::os::raw::c_uint;
958pub type __int64_t = ::std::os::raw::c_longlong;
959pub type __uint64_t = ::std::os::raw::c_ulonglong;
960pub type __darwin_intptr_t = ::std::os::raw::c_long;
961pub type __darwin_natural_t = ::std::os::raw::c_uint;
962pub type __darwin_ct_rune_t = ::std::os::raw::c_int;
963#[repr(C)]
964#[derive(Copy, Clone)]
965pub union __mbstate_t {
966 pub __mbstate8: [::std::os::raw::c_char; 128usize],
967 pub _mbstateL: ::std::os::raw::c_longlong,
968 _bindgen_union_align: [u64; 16usize],
969}
970#[test]
971fn bindgen_test_layout___mbstate_t() {
972 assert_eq!(
973 ::std::mem::size_of::<__mbstate_t>(),
974 128usize,
975 concat!("Size of: ", stringify!(__mbstate_t))
976 );
977 assert_eq!(
978 ::std::mem::align_of::<__mbstate_t>(),
979 8usize,
980 concat!("Alignment of ", stringify!(__mbstate_t))
981 );
982 assert_eq!(
983 unsafe { &(*(::std::ptr::null::<__mbstate_t>())).__mbstate8 as *const _ as usize },
984 0usize,
985 concat!(
986 "Offset of field: ",
987 stringify!(__mbstate_t),
988 "::",
989 stringify!(__mbstate8)
990 )
991 );
992 assert_eq!(
993 unsafe { &(*(::std::ptr::null::<__mbstate_t>()))._mbstateL as *const _ as usize },
994 0usize,
995 concat!(
996 "Offset of field: ",
997 stringify!(__mbstate_t),
998 "::",
999 stringify!(_mbstateL)
1000 )
1001 );
1002}
1003pub type __darwin_mbstate_t = __mbstate_t;
1004pub type __darwin_ptrdiff_t = ::std::os::raw::c_long;
1005pub type __darwin_size_t = ::std::os::raw::c_ulong;
1006pub type __darwin_va_list = __builtin_va_list;
1007pub type __darwin_wchar_t = ::std::os::raw::c_int;
1008pub type __darwin_rune_t = __darwin_wchar_t;
1009pub type __darwin_wint_t = ::std::os::raw::c_int;
1010pub type __darwin_clock_t = ::std::os::raw::c_ulong;
1011pub type __darwin_socklen_t = __uint32_t;
1012pub type __darwin_ssize_t = ::std::os::raw::c_long;
1013pub type __darwin_time_t = ::std::os::raw::c_long;
1014pub type __darwin_blkcnt_t = __int64_t;
1015pub type __darwin_blksize_t = __int32_t;
1016pub type __darwin_dev_t = __int32_t;
1017pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint;
1018pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint;
1019pub type __darwin_gid_t = __uint32_t;
1020pub type __darwin_id_t = __uint32_t;
1021pub type __darwin_ino64_t = __uint64_t;
1022pub type __darwin_ino_t = __darwin_ino64_t;
1023pub type __darwin_mach_port_name_t = __darwin_natural_t;
1024pub type __darwin_mach_port_t = __darwin_mach_port_name_t;
1025pub type __darwin_mode_t = __uint16_t;
1026pub type __darwin_off_t = __int64_t;
1027pub type __darwin_pid_t = __int32_t;
1028pub type __darwin_sigset_t = __uint32_t;
1029pub type __darwin_suseconds_t = __int32_t;
1030pub type __darwin_uid_t = __uint32_t;
1031pub type __darwin_useconds_t = __uint32_t;
1032pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize];
1033pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize];
1034#[repr(C)]
1035#[derive(Debug, Copy, Clone)]
1036pub struct __darwin_pthread_handler_rec {
1037 pub __routine: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1038 pub __arg: *mut ::std::os::raw::c_void,
1039 pub __next: *mut __darwin_pthread_handler_rec,
1040}
1041#[test]
1042fn bindgen_test_layout___darwin_pthread_handler_rec() {
1043 assert_eq!(
1044 ::std::mem::size_of::<__darwin_pthread_handler_rec>(),
1045 24usize,
1046 concat!("Size of: ", stringify!(__darwin_pthread_handler_rec))
1047 );
1048 assert_eq!(
1049 ::std::mem::align_of::<__darwin_pthread_handler_rec>(),
1050 8usize,
1051 concat!("Alignment of ", stringify!(__darwin_pthread_handler_rec))
1052 );
1053 assert_eq!(
1054 unsafe {
1055 &(*(::std::ptr::null::<__darwin_pthread_handler_rec>())).__routine as *const _ as usize
1056 },
1057 0usize,
1058 concat!(
1059 "Offset of field: ",
1060 stringify!(__darwin_pthread_handler_rec),
1061 "::",
1062 stringify!(__routine)
1063 )
1064 );
1065 assert_eq!(
1066 unsafe {
1067 &(*(::std::ptr::null::<__darwin_pthread_handler_rec>())).__arg as *const _ as usize
1068 },
1069 8usize,
1070 concat!(
1071 "Offset of field: ",
1072 stringify!(__darwin_pthread_handler_rec),
1073 "::",
1074 stringify!(__arg)
1075 )
1076 );
1077 assert_eq!(
1078 unsafe {
1079 &(*(::std::ptr::null::<__darwin_pthread_handler_rec>())).__next as *const _ as usize
1080 },
1081 16usize,
1082 concat!(
1083 "Offset of field: ",
1084 stringify!(__darwin_pthread_handler_rec),
1085 "::",
1086 stringify!(__next)
1087 )
1088 );
1089}
1090#[repr(C)]
1091#[derive(Copy, Clone)]
1092pub struct _opaque_pthread_attr_t {
1093 pub __sig: ::std::os::raw::c_long,
1094 pub __opaque: [::std::os::raw::c_char; 56usize],
1095}
1096#[test]
1097fn bindgen_test_layout__opaque_pthread_attr_t() {
1098 assert_eq!(
1099 ::std::mem::size_of::<_opaque_pthread_attr_t>(),
1100 64usize,
1101 concat!("Size of: ", stringify!(_opaque_pthread_attr_t))
1102 );
1103 assert_eq!(
1104 ::std::mem::align_of::<_opaque_pthread_attr_t>(),
1105 8usize,
1106 concat!("Alignment of ", stringify!(_opaque_pthread_attr_t))
1107 );
1108 assert_eq!(
1109 unsafe { &(*(::std::ptr::null::<_opaque_pthread_attr_t>())).__sig as *const _ as usize },
1110 0usize,
1111 concat!(
1112 "Offset of field: ",
1113 stringify!(_opaque_pthread_attr_t),
1114 "::",
1115 stringify!(__sig)
1116 )
1117 );
1118 assert_eq!(
1119 unsafe { &(*(::std::ptr::null::<_opaque_pthread_attr_t>())).__opaque as *const _ as usize },
1120 8usize,
1121 concat!(
1122 "Offset of field: ",
1123 stringify!(_opaque_pthread_attr_t),
1124 "::",
1125 stringify!(__opaque)
1126 )
1127 );
1128}
1129#[repr(C)]
1130#[derive(Copy, Clone)]
1131pub struct _opaque_pthread_cond_t {
1132 pub __sig: ::std::os::raw::c_long,
1133 pub __opaque: [::std::os::raw::c_char; 40usize],
1134}
1135#[test]
1136fn bindgen_test_layout__opaque_pthread_cond_t() {
1137 assert_eq!(
1138 ::std::mem::size_of::<_opaque_pthread_cond_t>(),
1139 48usize,
1140 concat!("Size of: ", stringify!(_opaque_pthread_cond_t))
1141 );
1142 assert_eq!(
1143 ::std::mem::align_of::<_opaque_pthread_cond_t>(),
1144 8usize,
1145 concat!("Alignment of ", stringify!(_opaque_pthread_cond_t))
1146 );
1147 assert_eq!(
1148 unsafe { &(*(::std::ptr::null::<_opaque_pthread_cond_t>())).__sig as *const _ as usize },
1149 0usize,
1150 concat!(
1151 "Offset of field: ",
1152 stringify!(_opaque_pthread_cond_t),
1153 "::",
1154 stringify!(__sig)
1155 )
1156 );
1157 assert_eq!(
1158 unsafe { &(*(::std::ptr::null::<_opaque_pthread_cond_t>())).__opaque as *const _ as usize },
1159 8usize,
1160 concat!(
1161 "Offset of field: ",
1162 stringify!(_opaque_pthread_cond_t),
1163 "::",
1164 stringify!(__opaque)
1165 )
1166 );
1167}
1168#[repr(C)]
1169#[derive(Debug, Copy, Clone)]
1170pub struct _opaque_pthread_condattr_t {
1171 pub __sig: ::std::os::raw::c_long,
1172 pub __opaque: [::std::os::raw::c_char; 8usize],
1173}
1174#[test]
1175fn bindgen_test_layout__opaque_pthread_condattr_t() {
1176 assert_eq!(
1177 ::std::mem::size_of::<_opaque_pthread_condattr_t>(),
1178 16usize,
1179 concat!("Size of: ", stringify!(_opaque_pthread_condattr_t))
1180 );
1181 assert_eq!(
1182 ::std::mem::align_of::<_opaque_pthread_condattr_t>(),
1183 8usize,
1184 concat!("Alignment of ", stringify!(_opaque_pthread_condattr_t))
1185 );
1186 assert_eq!(
1187 unsafe {
1188 &(*(::std::ptr::null::<_opaque_pthread_condattr_t>())).__sig as *const _ as usize
1189 },
1190 0usize,
1191 concat!(
1192 "Offset of field: ",
1193 stringify!(_opaque_pthread_condattr_t),
1194 "::",
1195 stringify!(__sig)
1196 )
1197 );
1198 assert_eq!(
1199 unsafe {
1200 &(*(::std::ptr::null::<_opaque_pthread_condattr_t>())).__opaque as *const _ as usize
1201 },
1202 8usize,
1203 concat!(
1204 "Offset of field: ",
1205 stringify!(_opaque_pthread_condattr_t),
1206 "::",
1207 stringify!(__opaque)
1208 )
1209 );
1210}
1211#[repr(C)]
1212#[derive(Copy, Clone)]
1213pub struct _opaque_pthread_mutex_t {
1214 pub __sig: ::std::os::raw::c_long,
1215 pub __opaque: [::std::os::raw::c_char; 56usize],
1216}
1217#[test]
1218fn bindgen_test_layout__opaque_pthread_mutex_t() {
1219 assert_eq!(
1220 ::std::mem::size_of::<_opaque_pthread_mutex_t>(),
1221 64usize,
1222 concat!("Size of: ", stringify!(_opaque_pthread_mutex_t))
1223 );
1224 assert_eq!(
1225 ::std::mem::align_of::<_opaque_pthread_mutex_t>(),
1226 8usize,
1227 concat!("Alignment of ", stringify!(_opaque_pthread_mutex_t))
1228 );
1229 assert_eq!(
1230 unsafe { &(*(::std::ptr::null::<_opaque_pthread_mutex_t>())).__sig as *const _ as usize },
1231 0usize,
1232 concat!(
1233 "Offset of field: ",
1234 stringify!(_opaque_pthread_mutex_t),
1235 "::",
1236 stringify!(__sig)
1237 )
1238 );
1239 assert_eq!(
1240 unsafe {
1241 &(*(::std::ptr::null::<_opaque_pthread_mutex_t>())).__opaque as *const _ as usize
1242 },
1243 8usize,
1244 concat!(
1245 "Offset of field: ",
1246 stringify!(_opaque_pthread_mutex_t),
1247 "::",
1248 stringify!(__opaque)
1249 )
1250 );
1251}
1252#[repr(C)]
1253#[derive(Debug, Copy, Clone)]
1254pub struct _opaque_pthread_mutexattr_t {
1255 pub __sig: ::std::os::raw::c_long,
1256 pub __opaque: [::std::os::raw::c_char; 8usize],
1257}
1258#[test]
1259fn bindgen_test_layout__opaque_pthread_mutexattr_t() {
1260 assert_eq!(
1261 ::std::mem::size_of::<_opaque_pthread_mutexattr_t>(),
1262 16usize,
1263 concat!("Size of: ", stringify!(_opaque_pthread_mutexattr_t))
1264 );
1265 assert_eq!(
1266 ::std::mem::align_of::<_opaque_pthread_mutexattr_t>(),
1267 8usize,
1268 concat!("Alignment of ", stringify!(_opaque_pthread_mutexattr_t))
1269 );
1270 assert_eq!(
1271 unsafe {
1272 &(*(::std::ptr::null::<_opaque_pthread_mutexattr_t>())).__sig as *const _ as usize
1273 },
1274 0usize,
1275 concat!(
1276 "Offset of field: ",
1277 stringify!(_opaque_pthread_mutexattr_t),
1278 "::",
1279 stringify!(__sig)
1280 )
1281 );
1282 assert_eq!(
1283 unsafe {
1284 &(*(::std::ptr::null::<_opaque_pthread_mutexattr_t>())).__opaque as *const _ as usize
1285 },
1286 8usize,
1287 concat!(
1288 "Offset of field: ",
1289 stringify!(_opaque_pthread_mutexattr_t),
1290 "::",
1291 stringify!(__opaque)
1292 )
1293 );
1294}
1295#[repr(C)]
1296#[derive(Debug, Copy, Clone)]
1297pub struct _opaque_pthread_once_t {
1298 pub __sig: ::std::os::raw::c_long,
1299 pub __opaque: [::std::os::raw::c_char; 8usize],
1300}
1301#[test]
1302fn bindgen_test_layout__opaque_pthread_once_t() {
1303 assert_eq!(
1304 ::std::mem::size_of::<_opaque_pthread_once_t>(),
1305 16usize,
1306 concat!("Size of: ", stringify!(_opaque_pthread_once_t))
1307 );
1308 assert_eq!(
1309 ::std::mem::align_of::<_opaque_pthread_once_t>(),
1310 8usize,
1311 concat!("Alignment of ", stringify!(_opaque_pthread_once_t))
1312 );
1313 assert_eq!(
1314 unsafe { &(*(::std::ptr::null::<_opaque_pthread_once_t>())).__sig as *const _ as usize },
1315 0usize,
1316 concat!(
1317 "Offset of field: ",
1318 stringify!(_opaque_pthread_once_t),
1319 "::",
1320 stringify!(__sig)
1321 )
1322 );
1323 assert_eq!(
1324 unsafe { &(*(::std::ptr::null::<_opaque_pthread_once_t>())).__opaque as *const _ as usize },
1325 8usize,
1326 concat!(
1327 "Offset of field: ",
1328 stringify!(_opaque_pthread_once_t),
1329 "::",
1330 stringify!(__opaque)
1331 )
1332 );
1333}
1334#[repr(C)]
1335#[derive(Copy, Clone)]
1336pub struct _opaque_pthread_rwlock_t {
1337 pub __sig: ::std::os::raw::c_long,
1338 pub __opaque: [::std::os::raw::c_char; 192usize],
1339}
1340#[test]
1341fn bindgen_test_layout__opaque_pthread_rwlock_t() {
1342 assert_eq!(
1343 ::std::mem::size_of::<_opaque_pthread_rwlock_t>(),
1344 200usize,
1345 concat!("Size of: ", stringify!(_opaque_pthread_rwlock_t))
1346 );
1347 assert_eq!(
1348 ::std::mem::align_of::<_opaque_pthread_rwlock_t>(),
1349 8usize,
1350 concat!("Alignment of ", stringify!(_opaque_pthread_rwlock_t))
1351 );
1352 assert_eq!(
1353 unsafe { &(*(::std::ptr::null::<_opaque_pthread_rwlock_t>())).__sig as *const _ as usize },
1354 0usize,
1355 concat!(
1356 "Offset of field: ",
1357 stringify!(_opaque_pthread_rwlock_t),
1358 "::",
1359 stringify!(__sig)
1360 )
1361 );
1362 assert_eq!(
1363 unsafe {
1364 &(*(::std::ptr::null::<_opaque_pthread_rwlock_t>())).__opaque as *const _ as usize
1365 },
1366 8usize,
1367 concat!(
1368 "Offset of field: ",
1369 stringify!(_opaque_pthread_rwlock_t),
1370 "::",
1371 stringify!(__opaque)
1372 )
1373 );
1374}
1375#[repr(C)]
1376#[derive(Debug, Copy, Clone)]
1377pub struct _opaque_pthread_rwlockattr_t {
1378 pub __sig: ::std::os::raw::c_long,
1379 pub __opaque: [::std::os::raw::c_char; 16usize],
1380}
1381#[test]
1382fn bindgen_test_layout__opaque_pthread_rwlockattr_t() {
1383 assert_eq!(
1384 ::std::mem::size_of::<_opaque_pthread_rwlockattr_t>(),
1385 24usize,
1386 concat!("Size of: ", stringify!(_opaque_pthread_rwlockattr_t))
1387 );
1388 assert_eq!(
1389 ::std::mem::align_of::<_opaque_pthread_rwlockattr_t>(),
1390 8usize,
1391 concat!("Alignment of ", stringify!(_opaque_pthread_rwlockattr_t))
1392 );
1393 assert_eq!(
1394 unsafe {
1395 &(*(::std::ptr::null::<_opaque_pthread_rwlockattr_t>())).__sig as *const _ as usize
1396 },
1397 0usize,
1398 concat!(
1399 "Offset of field: ",
1400 stringify!(_opaque_pthread_rwlockattr_t),
1401 "::",
1402 stringify!(__sig)
1403 )
1404 );
1405 assert_eq!(
1406 unsafe {
1407 &(*(::std::ptr::null::<_opaque_pthread_rwlockattr_t>())).__opaque as *const _ as usize
1408 },
1409 8usize,
1410 concat!(
1411 "Offset of field: ",
1412 stringify!(_opaque_pthread_rwlockattr_t),
1413 "::",
1414 stringify!(__opaque)
1415 )
1416 );
1417}
1418#[repr(C)]
1419#[derive(Copy, Clone)]
1420pub struct _opaque_pthread_t {
1421 pub __sig: ::std::os::raw::c_long,
1422 pub __cleanup_stack: *mut __darwin_pthread_handler_rec,
1423 pub __opaque: [::std::os::raw::c_char; 8176usize],
1424}
1425#[test]
1426fn bindgen_test_layout__opaque_pthread_t() {
1427 assert_eq!(
1428 ::std::mem::size_of::<_opaque_pthread_t>(),
1429 8192usize,
1430 concat!("Size of: ", stringify!(_opaque_pthread_t))
1431 );
1432 assert_eq!(
1433 ::std::mem::align_of::<_opaque_pthread_t>(),
1434 8usize,
1435 concat!("Alignment of ", stringify!(_opaque_pthread_t))
1436 );
1437 assert_eq!(
1438 unsafe { &(*(::std::ptr::null::<_opaque_pthread_t>())).__sig as *const _ as usize },
1439 0usize,
1440 concat!(
1441 "Offset of field: ",
1442 stringify!(_opaque_pthread_t),
1443 "::",
1444 stringify!(__sig)
1445 )
1446 );
1447 assert_eq!(
1448 unsafe {
1449 &(*(::std::ptr::null::<_opaque_pthread_t>())).__cleanup_stack as *const _ as usize
1450 },
1451 8usize,
1452 concat!(
1453 "Offset of field: ",
1454 stringify!(_opaque_pthread_t),
1455 "::",
1456 stringify!(__cleanup_stack)
1457 )
1458 );
1459 assert_eq!(
1460 unsafe { &(*(::std::ptr::null::<_opaque_pthread_t>())).__opaque as *const _ as usize },
1461 16usize,
1462 concat!(
1463 "Offset of field: ",
1464 stringify!(_opaque_pthread_t),
1465 "::",
1466 stringify!(__opaque)
1467 )
1468 );
1469}
1470pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t;
1471pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t;
1472pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t;
1473pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong;
1474pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t;
1475pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t;
1476pub type __darwin_pthread_once_t = _opaque_pthread_once_t;
1477pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t;
1478pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t;
1479pub type __darwin_pthread_t = *mut _opaque_pthread_t;
1480pub type u_int8_t = ::std::os::raw::c_uchar;
1481pub type u_int16_t = ::std::os::raw::c_ushort;
1482pub type u_int32_t = ::std::os::raw::c_uint;
1483pub type u_int64_t = ::std::os::raw::c_ulonglong;
1484pub type register_t = i64;
1485pub type user_addr_t = u_int64_t;
1486pub type user_size_t = u_int64_t;
1487pub type user_ssize_t = i64;
1488pub type user_long_t = i64;
1489pub type user_ulong_t = u_int64_t;
1490pub type user_time_t = i64;
1491pub type user_off_t = i64;
1492pub type syscall_arg_t = u_int64_t;
1493pub type intmax_t = ::std::os::raw::c_long;
1494pub type uintmax_t = ::std::os::raw::c_ulong;
1495pub type cl_char = i8;
1496pub type cl_uchar = u8;
1497pub type cl_short = i16;
1498pub type cl_ushort = u16;
1499pub type cl_int = i32;
1500pub type cl_uint = u32;
1501pub type cl_long = i64;
1502pub type cl_ulong = u64;
1503pub type cl_half = u16;
1504pub type cl_float = f32;
1505pub type cl_double = f64;
1506pub type rsize_t = ::std::os::raw::c_ulong;
1507pub type wchar_t = ::std::os::raw::c_int;
1508pub type max_align_t = u128;
1509pub type cl_GLuint = ::std::os::raw::c_uint;
1510pub type cl_GLint = ::std::os::raw::c_int;
1511pub type cl_GLenum = ::std::os::raw::c_uint;
1512pub type __m64 = [::std::os::raw::c_longlong; 1usize];
1513pub type __v1di = [::std::os::raw::c_longlong; 1usize];
1514pub type __v2si = [::std::os::raw::c_int; 2usize];
1515pub type __v4hi = [::std::os::raw::c_short; 4usize];
1516pub type __v8qi = [::std::os::raw::c_char; 8usize];
1517pub type __v4si = [::std::os::raw::c_int; 4usize];
1518pub type __v4sf = [f32; 4usize];
1519pub type __m128 = [f32; 4usize];
1520pub type __m128_u = [f32; 4usize];
1521pub type __v4su = [::std::os::raw::c_uint; 4usize];
1522pub type __darwin_nl_item = ::std::os::raw::c_int;
1523pub type __darwin_wctrans_t = ::std::os::raw::c_int;
1524pub type __darwin_wctype_t = __uint32_t;
1525pub const idtype_t_P_ALL: idtype_t = 0;
1526pub const idtype_t_P_PID: idtype_t = 1;
1527pub const idtype_t_P_PGID: idtype_t = 2;
1528pub type idtype_t = u32;
1529pub type pid_t = __darwin_pid_t;
1530pub type id_t = __darwin_id_t;
1531pub type sig_atomic_t = ::std::os::raw::c_int;
1532#[repr(C)]
1533#[derive(Debug, Copy, Clone)]
1534pub struct __darwin_i386_thread_state {
1535 pub __eax: ::std::os::raw::c_uint,
1536 pub __ebx: ::std::os::raw::c_uint,
1537 pub __ecx: ::std::os::raw::c_uint,
1538 pub __edx: ::std::os::raw::c_uint,
1539 pub __edi: ::std::os::raw::c_uint,
1540 pub __esi: ::std::os::raw::c_uint,
1541 pub __ebp: ::std::os::raw::c_uint,
1542 pub __esp: ::std::os::raw::c_uint,
1543 pub __ss: ::std::os::raw::c_uint,
1544 pub __eflags: ::std::os::raw::c_uint,
1545 pub __eip: ::std::os::raw::c_uint,
1546 pub __cs: ::std::os::raw::c_uint,
1547 pub __ds: ::std::os::raw::c_uint,
1548 pub __es: ::std::os::raw::c_uint,
1549 pub __fs: ::std::os::raw::c_uint,
1550 pub __gs: ::std::os::raw::c_uint,
1551}
1552#[test]
1553fn bindgen_test_layout___darwin_i386_thread_state() {
1554 assert_eq!(
1555 ::std::mem::size_of::<__darwin_i386_thread_state>(),
1556 64usize,
1557 concat!("Size of: ", stringify!(__darwin_i386_thread_state))
1558 );
1559 assert_eq!(
1560 ::std::mem::align_of::<__darwin_i386_thread_state>(),
1561 4usize,
1562 concat!("Alignment of ", stringify!(__darwin_i386_thread_state))
1563 );
1564 assert_eq!(
1565 unsafe {
1566 &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__eax as *const _ as usize
1567 },
1568 0usize,
1569 concat!(
1570 "Offset of field: ",
1571 stringify!(__darwin_i386_thread_state),
1572 "::",
1573 stringify!(__eax)
1574 )
1575 );
1576 assert_eq!(
1577 unsafe {
1578 &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__ebx as *const _ as usize
1579 },
1580 4usize,
1581 concat!(
1582 "Offset of field: ",
1583 stringify!(__darwin_i386_thread_state),
1584 "::",
1585 stringify!(__ebx)
1586 )
1587 );
1588 assert_eq!(
1589 unsafe {
1590 &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__ecx as *const _ as usize
1591 },
1592 8usize,
1593 concat!(
1594 "Offset of field: ",
1595 stringify!(__darwin_i386_thread_state),
1596 "::",
1597 stringify!(__ecx)
1598 )
1599 );
1600 assert_eq!(
1601 unsafe {
1602 &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__edx as *const _ as usize
1603 },
1604 12usize,
1605 concat!(
1606 "Offset of field: ",
1607 stringify!(__darwin_i386_thread_state),
1608 "::",
1609 stringify!(__edx)
1610 )
1611 );
1612 assert_eq!(
1613 unsafe {
1614 &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__edi as *const _ as usize
1615 },
1616 16usize,
1617 concat!(
1618 "Offset of field: ",
1619 stringify!(__darwin_i386_thread_state),
1620 "::",
1621 stringify!(__edi)
1622 )
1623 );
1624 assert_eq!(
1625 unsafe {
1626 &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__esi as *const _ as usize
1627 },
1628 20usize,
1629 concat!(
1630 "Offset of field: ",
1631 stringify!(__darwin_i386_thread_state),
1632 "::",
1633 stringify!(__esi)
1634 )
1635 );
1636 assert_eq!(
1637 unsafe {
1638 &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__ebp as *const _ as usize
1639 },
1640 24usize,
1641 concat!(
1642 "Offset of field: ",
1643 stringify!(__darwin_i386_thread_state),
1644 "::",
1645 stringify!(__ebp)
1646 )
1647 );
1648 assert_eq!(
1649 unsafe {
1650 &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__esp as *const _ as usize
1651 },
1652 28usize,
1653 concat!(
1654 "Offset of field: ",
1655 stringify!(__darwin_i386_thread_state),
1656 "::",
1657 stringify!(__esp)
1658 )
1659 );
1660 assert_eq!(
1661 unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__ss as *const _ as usize },
1662 32usize,
1663 concat!(
1664 "Offset of field: ",
1665 stringify!(__darwin_i386_thread_state),
1666 "::",
1667 stringify!(__ss)
1668 )
1669 );
1670 assert_eq!(
1671 unsafe {
1672 &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__eflags as *const _ as usize
1673 },
1674 36usize,
1675 concat!(
1676 "Offset of field: ",
1677 stringify!(__darwin_i386_thread_state),
1678 "::",
1679 stringify!(__eflags)
1680 )
1681 );
1682 assert_eq!(
1683 unsafe {
1684 &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__eip as *const _ as usize
1685 },
1686 40usize,
1687 concat!(
1688 "Offset of field: ",
1689 stringify!(__darwin_i386_thread_state),
1690 "::",
1691 stringify!(__eip)
1692 )
1693 );
1694 assert_eq!(
1695 unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__cs as *const _ as usize },
1696 44usize,
1697 concat!(
1698 "Offset of field: ",
1699 stringify!(__darwin_i386_thread_state),
1700 "::",
1701 stringify!(__cs)
1702 )
1703 );
1704 assert_eq!(
1705 unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__ds as *const _ as usize },
1706 48usize,
1707 concat!(
1708 "Offset of field: ",
1709 stringify!(__darwin_i386_thread_state),
1710 "::",
1711 stringify!(__ds)
1712 )
1713 );
1714 assert_eq!(
1715 unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__es as *const _ as usize },
1716 52usize,
1717 concat!(
1718 "Offset of field: ",
1719 stringify!(__darwin_i386_thread_state),
1720 "::",
1721 stringify!(__es)
1722 )
1723 );
1724 assert_eq!(
1725 unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__fs as *const _ as usize },
1726 56usize,
1727 concat!(
1728 "Offset of field: ",
1729 stringify!(__darwin_i386_thread_state),
1730 "::",
1731 stringify!(__fs)
1732 )
1733 );
1734 assert_eq!(
1735 unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__gs as *const _ as usize },
1736 60usize,
1737 concat!(
1738 "Offset of field: ",
1739 stringify!(__darwin_i386_thread_state),
1740 "::",
1741 stringify!(__gs)
1742 )
1743 );
1744}
1745#[repr(C)]
1746#[repr(align(2))]
1747#[derive(Debug, Copy, Clone)]
1748pub struct __darwin_fp_control {
1749 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize], u8>,
1750}
1751#[test]
1752fn bindgen_test_layout___darwin_fp_control() {
1753 assert_eq!(
1754 ::std::mem::size_of::<__darwin_fp_control>(),
1755 2usize,
1756 concat!("Size of: ", stringify!(__darwin_fp_control))
1757 );
1758 assert_eq!(
1759 ::std::mem::align_of::<__darwin_fp_control>(),
1760 2usize,
1761 concat!("Alignment of ", stringify!(__darwin_fp_control))
1762 );
1763}
1764impl __darwin_fp_control {
1765 #[inline]
1766 pub fn __invalid(&self) -> ::std::os::raw::c_ushort {
1767 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u16) }
1768 }
1769 #[inline]
1770 pub fn set___invalid(&mut self, val: ::std::os::raw::c_ushort) {
1771 unsafe {
1772 let val: u16 = ::std::mem::transmute(val);
1773 self._bitfield_1.set(0usize, 1u8, val as u64)
1774 }
1775 }
1776 #[inline]
1777 pub fn __denorm(&self) -> ::std::os::raw::c_ushort {
1778 unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u16) }
1779 }
1780 #[inline]
1781 pub fn set___denorm(&mut self, val: ::std::os::raw::c_ushort) {
1782 unsafe {
1783 let val: u16 = ::std::mem::transmute(val);
1784 self._bitfield_1.set(1usize, 1u8, val as u64)
1785 }
1786 }
1787 #[inline]
1788 pub fn __zdiv(&self) -> ::std::os::raw::c_ushort {
1789 unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u16) }
1790 }
1791 #[inline]
1792 pub fn set___zdiv(&mut self, val: ::std::os::raw::c_ushort) {
1793 unsafe {
1794 let val: u16 = ::std::mem::transmute(val);
1795 self._bitfield_1.set(2usize, 1u8, val as u64)
1796 }
1797 }
1798 #[inline]
1799 pub fn __ovrfl(&self) -> ::std::os::raw::c_ushort {
1800 unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u16) }
1801 }
1802 #[inline]
1803 pub fn set___ovrfl(&mut self, val: ::std::os::raw::c_ushort) {
1804 unsafe {
1805 let val: u16 = ::std::mem::transmute(val);
1806 self._bitfield_1.set(3usize, 1u8, val as u64)
1807 }
1808 }
1809 #[inline]
1810 pub fn __undfl(&self) -> ::std::os::raw::c_ushort {
1811 unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u16) }
1812 }
1813 #[inline]
1814 pub fn set___undfl(&mut self, val: ::std::os::raw::c_ushort) {
1815 unsafe {
1816 let val: u16 = ::std::mem::transmute(val);
1817 self._bitfield_1.set(4usize, 1u8, val as u64)
1818 }
1819 }
1820 #[inline]
1821 pub fn __precis(&self) -> ::std::os::raw::c_ushort {
1822 unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u16) }
1823 }
1824 #[inline]
1825 pub fn set___precis(&mut self, val: ::std::os::raw::c_ushort) {
1826 unsafe {
1827 let val: u16 = ::std::mem::transmute(val);
1828 self._bitfield_1.set(5usize, 1u8, val as u64)
1829 }
1830 }
1831 #[inline]
1832 pub fn __pc(&self) -> ::std::os::raw::c_ushort {
1833 unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 2u8) as u16) }
1834 }
1835 #[inline]
1836 pub fn set___pc(&mut self, val: ::std::os::raw::c_ushort) {
1837 unsafe {
1838 let val: u16 = ::std::mem::transmute(val);
1839 self._bitfield_1.set(8usize, 2u8, val as u64)
1840 }
1841 }
1842 #[inline]
1843 pub fn __rc(&self) -> ::std::os::raw::c_ushort {
1844 unsafe { ::std::mem::transmute(self._bitfield_1.get(10usize, 2u8) as u16) }
1845 }
1846 #[inline]
1847 pub fn set___rc(&mut self, val: ::std::os::raw::c_ushort) {
1848 unsafe {
1849 let val: u16 = ::std::mem::transmute(val);
1850 self._bitfield_1.set(10usize, 2u8, val as u64)
1851 }
1852 }
1853 #[inline]
1854 pub fn new_bitfield_1(
1855 __invalid: ::std::os::raw::c_ushort,
1856 __denorm: ::std::os::raw::c_ushort,
1857 __zdiv: ::std::os::raw::c_ushort,
1858 __ovrfl: ::std::os::raw::c_ushort,
1859 __undfl: ::std::os::raw::c_ushort,
1860 __precis: ::std::os::raw::c_ushort,
1861 __pc: ::std::os::raw::c_ushort,
1862 __rc: ::std::os::raw::c_ushort,
1863 ) -> __BindgenBitfieldUnit<[u8; 2usize], u8> {
1864 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize], u8> =
1865 Default::default();
1866 __bindgen_bitfield_unit.set(0usize, 1u8, {
1867 let __invalid: u16 = unsafe { ::std::mem::transmute(__invalid) };
1868 __invalid as u64
1869 });
1870 __bindgen_bitfield_unit.set(1usize, 1u8, {
1871 let __denorm: u16 = unsafe { ::std::mem::transmute(__denorm) };
1872 __denorm as u64
1873 });
1874 __bindgen_bitfield_unit.set(2usize, 1u8, {
1875 let __zdiv: u16 = unsafe { ::std::mem::transmute(__zdiv) };
1876 __zdiv as u64
1877 });
1878 __bindgen_bitfield_unit.set(3usize, 1u8, {
1879 let __ovrfl: u16 = unsafe { ::std::mem::transmute(__ovrfl) };
1880 __ovrfl as u64
1881 });
1882 __bindgen_bitfield_unit.set(4usize, 1u8, {
1883 let __undfl: u16 = unsafe { ::std::mem::transmute(__undfl) };
1884 __undfl as u64
1885 });
1886 __bindgen_bitfield_unit.set(5usize, 1u8, {
1887 let __precis: u16 = unsafe { ::std::mem::transmute(__precis) };
1888 __precis as u64
1889 });
1890 __bindgen_bitfield_unit.set(8usize, 2u8, {
1891 let __pc: u16 = unsafe { ::std::mem::transmute(__pc) };
1892 __pc as u64
1893 });
1894 __bindgen_bitfield_unit.set(10usize, 2u8, {
1895 let __rc: u16 = unsafe { ::std::mem::transmute(__rc) };
1896 __rc as u64
1897 });
1898 __bindgen_bitfield_unit
1899 }
1900}
1901pub type __darwin_fp_control_t = __darwin_fp_control;
1902#[repr(C)]
1903#[repr(align(2))]
1904#[derive(Debug, Copy, Clone)]
1905pub struct __darwin_fp_status {
1906 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize], u8>,
1907}
1908#[test]
1909fn bindgen_test_layout___darwin_fp_status() {
1910 assert_eq!(
1911 ::std::mem::size_of::<__darwin_fp_status>(),
1912 2usize,
1913 concat!("Size of: ", stringify!(__darwin_fp_status))
1914 );
1915 assert_eq!(
1916 ::std::mem::align_of::<__darwin_fp_status>(),
1917 2usize,
1918 concat!("Alignment of ", stringify!(__darwin_fp_status))
1919 );
1920}
1921impl __darwin_fp_status {
1922 #[inline]
1923 pub fn __invalid(&self) -> ::std::os::raw::c_ushort {
1924 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u16) }
1925 }
1926 #[inline]
1927 pub fn set___invalid(&mut self, val: ::std::os::raw::c_ushort) {
1928 unsafe {
1929 let val: u16 = ::std::mem::transmute(val);
1930 self._bitfield_1.set(0usize, 1u8, val as u64)
1931 }
1932 }
1933 #[inline]
1934 pub fn __denorm(&self) -> ::std::os::raw::c_ushort {
1935 unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u16) }
1936 }
1937 #[inline]
1938 pub fn set___denorm(&mut self, val: ::std::os::raw::c_ushort) {
1939 unsafe {
1940 let val: u16 = ::std::mem::transmute(val);
1941 self._bitfield_1.set(1usize, 1u8, val as u64)
1942 }
1943 }
1944 #[inline]
1945 pub fn __zdiv(&self) -> ::std::os::raw::c_ushort {
1946 unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u16) }
1947 }
1948 #[inline]
1949 pub fn set___zdiv(&mut self, val: ::std::os::raw::c_ushort) {
1950 unsafe {
1951 let val: u16 = ::std::mem::transmute(val);
1952 self._bitfield_1.set(2usize, 1u8, val as u64)
1953 }
1954 }
1955 #[inline]
1956 pub fn __ovrfl(&self) -> ::std::os::raw::c_ushort {
1957 unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u16) }
1958 }
1959 #[inline]
1960 pub fn set___ovrfl(&mut self, val: ::std::os::raw::c_ushort) {
1961 unsafe {
1962 let val: u16 = ::std::mem::transmute(val);
1963 self._bitfield_1.set(3usize, 1u8, val as u64)
1964 }
1965 }
1966 #[inline]
1967 pub fn __undfl(&self) -> ::std::os::raw::c_ushort {
1968 unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u16) }
1969 }
1970 #[inline]
1971 pub fn set___undfl(&mut self, val: ::std::os::raw::c_ushort) {
1972 unsafe {
1973 let val: u16 = ::std::mem::transmute(val);
1974 self._bitfield_1.set(4usize, 1u8, val as u64)
1975 }
1976 }
1977 #[inline]
1978 pub fn __precis(&self) -> ::std::os::raw::c_ushort {
1979 unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u16) }
1980 }
1981 #[inline]
1982 pub fn set___precis(&mut self, val: ::std::os::raw::c_ushort) {
1983 unsafe {
1984 let val: u16 = ::std::mem::transmute(val);
1985 self._bitfield_1.set(5usize, 1u8, val as u64)
1986 }
1987 }
1988 #[inline]
1989 pub fn __stkflt(&self) -> ::std::os::raw::c_ushort {
1990 unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u16) }
1991 }
1992 #[inline]
1993 pub fn set___stkflt(&mut self, val: ::std::os::raw::c_ushort) {
1994 unsafe {
1995 let val: u16 = ::std::mem::transmute(val);
1996 self._bitfield_1.set(6usize, 1u8, val as u64)
1997 }
1998 }
1999 #[inline]
2000 pub fn __errsumm(&self) -> ::std::os::raw::c_ushort {
2001 unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u16) }
2002 }
2003 #[inline]
2004 pub fn set___errsumm(&mut self, val: ::std::os::raw::c_ushort) {
2005 unsafe {
2006 let val: u16 = ::std::mem::transmute(val);
2007 self._bitfield_1.set(7usize, 1u8, val as u64)
2008 }
2009 }
2010 #[inline]
2011 pub fn __c0(&self) -> ::std::os::raw::c_ushort {
2012 unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u16) }
2013 }
2014 #[inline]
2015 pub fn set___c0(&mut self, val: ::std::os::raw::c_ushort) {
2016 unsafe {
2017 let val: u16 = ::std::mem::transmute(val);
2018 self._bitfield_1.set(8usize, 1u8, val as u64)
2019 }
2020 }
2021 #[inline]
2022 pub fn __c1(&self) -> ::std::os::raw::c_ushort {
2023 unsafe { ::std::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u16) }
2024 }
2025 #[inline]
2026 pub fn set___c1(&mut self, val: ::std::os::raw::c_ushort) {
2027 unsafe {
2028 let val: u16 = ::std::mem::transmute(val);
2029 self._bitfield_1.set(9usize, 1u8, val as u64)
2030 }
2031 }
2032 #[inline]
2033 pub fn __c2(&self) -> ::std::os::raw::c_ushort {
2034 unsafe { ::std::mem::transmute(self._bitfield_1.get(10usize, 1u8) as u16) }
2035 }
2036 #[inline]
2037 pub fn set___c2(&mut self, val: ::std::os::raw::c_ushort) {
2038 unsafe {
2039 let val: u16 = ::std::mem::transmute(val);
2040 self._bitfield_1.set(10usize, 1u8, val as u64)
2041 }
2042 }
2043 #[inline]
2044 pub fn __tos(&self) -> ::std::os::raw::c_ushort {
2045 unsafe { ::std::mem::transmute(self._bitfield_1.get(11usize, 3u8) as u16) }
2046 }
2047 #[inline]
2048 pub fn set___tos(&mut self, val: ::std::os::raw::c_ushort) {
2049 unsafe {
2050 let val: u16 = ::std::mem::transmute(val);
2051 self._bitfield_1.set(11usize, 3u8, val as u64)
2052 }
2053 }
2054 #[inline]
2055 pub fn __c3(&self) -> ::std::os::raw::c_ushort {
2056 unsafe { ::std::mem::transmute(self._bitfield_1.get(14usize, 1u8) as u16) }
2057 }
2058 #[inline]
2059 pub fn set___c3(&mut self, val: ::std::os::raw::c_ushort) {
2060 unsafe {
2061 let val: u16 = ::std::mem::transmute(val);
2062 self._bitfield_1.set(14usize, 1u8, val as u64)
2063 }
2064 }
2065 #[inline]
2066 pub fn __busy(&self) -> ::std::os::raw::c_ushort {
2067 unsafe { ::std::mem::transmute(self._bitfield_1.get(15usize, 1u8) as u16) }
2068 }
2069 #[inline]
2070 pub fn set___busy(&mut self, val: ::std::os::raw::c_ushort) {
2071 unsafe {
2072 let val: u16 = ::std::mem::transmute(val);
2073 self._bitfield_1.set(15usize, 1u8, val as u64)
2074 }
2075 }
2076 #[inline]
2077 pub fn new_bitfield_1(
2078 __invalid: ::std::os::raw::c_ushort,
2079 __denorm: ::std::os::raw::c_ushort,
2080 __zdiv: ::std::os::raw::c_ushort,
2081 __ovrfl: ::std::os::raw::c_ushort,
2082 __undfl: ::std::os::raw::c_ushort,
2083 __precis: ::std::os::raw::c_ushort,
2084 __stkflt: ::std::os::raw::c_ushort,
2085 __errsumm: ::std::os::raw::c_ushort,
2086 __c0: ::std::os::raw::c_ushort,
2087 __c1: ::std::os::raw::c_ushort,
2088 __c2: ::std::os::raw::c_ushort,
2089 __tos: ::std::os::raw::c_ushort,
2090 __c3: ::std::os::raw::c_ushort,
2091 __busy: ::std::os::raw::c_ushort,
2092 ) -> __BindgenBitfieldUnit<[u8; 2usize], u8> {
2093 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize], u8> =
2094 Default::default();
2095 __bindgen_bitfield_unit.set(0usize, 1u8, {
2096 let __invalid: u16 = unsafe { ::std::mem::transmute(__invalid) };
2097 __invalid as u64
2098 });
2099 __bindgen_bitfield_unit.set(1usize, 1u8, {
2100 let __denorm: u16 = unsafe { ::std::mem::transmute(__denorm) };
2101 __denorm as u64
2102 });
2103 __bindgen_bitfield_unit.set(2usize, 1u8, {
2104 let __zdiv: u16 = unsafe { ::std::mem::transmute(__zdiv) };
2105 __zdiv as u64
2106 });
2107 __bindgen_bitfield_unit.set(3usize, 1u8, {
2108 let __ovrfl: u16 = unsafe { ::std::mem::transmute(__ovrfl) };
2109 __ovrfl as u64
2110 });
2111 __bindgen_bitfield_unit.set(4usize, 1u8, {
2112 let __undfl: u16 = unsafe { ::std::mem::transmute(__undfl) };
2113 __undfl as u64
2114 });
2115 __bindgen_bitfield_unit.set(5usize, 1u8, {
2116 let __precis: u16 = unsafe { ::std::mem::transmute(__precis) };
2117 __precis as u64
2118 });
2119 __bindgen_bitfield_unit.set(6usize, 1u8, {
2120 let __stkflt: u16 = unsafe { ::std::mem::transmute(__stkflt) };
2121 __stkflt as u64
2122 });
2123 __bindgen_bitfield_unit.set(7usize, 1u8, {
2124 let __errsumm: u16 = unsafe { ::std::mem::transmute(__errsumm) };
2125 __errsumm as u64
2126 });
2127 __bindgen_bitfield_unit.set(8usize, 1u8, {
2128 let __c0: u16 = unsafe { ::std::mem::transmute(__c0) };
2129 __c0 as u64
2130 });
2131 __bindgen_bitfield_unit.set(9usize, 1u8, {
2132 let __c1: u16 = unsafe { ::std::mem::transmute(__c1) };
2133 __c1 as u64
2134 });
2135 __bindgen_bitfield_unit.set(10usize, 1u8, {
2136 let __c2: u16 = unsafe { ::std::mem::transmute(__c2) };
2137 __c2 as u64
2138 });
2139 __bindgen_bitfield_unit.set(11usize, 3u8, {
2140 let __tos: u16 = unsafe { ::std::mem::transmute(__tos) };
2141 __tos as u64
2142 });
2143 __bindgen_bitfield_unit.set(14usize, 1u8, {
2144 let __c3: u16 = unsafe { ::std::mem::transmute(__c3) };
2145 __c3 as u64
2146 });
2147 __bindgen_bitfield_unit.set(15usize, 1u8, {
2148 let __busy: u16 = unsafe { ::std::mem::transmute(__busy) };
2149 __busy as u64
2150 });
2151 __bindgen_bitfield_unit
2152 }
2153}
2154pub type __darwin_fp_status_t = __darwin_fp_status;
2155#[repr(C)]
2156#[derive(Debug, Copy, Clone)]
2157pub struct __darwin_mmst_reg {
2158 pub __mmst_reg: [::std::os::raw::c_char; 10usize],
2159 pub __mmst_rsrv: [::std::os::raw::c_char; 6usize],
2160}
2161#[test]
2162fn bindgen_test_layout___darwin_mmst_reg() {
2163 assert_eq!(
2164 ::std::mem::size_of::<__darwin_mmst_reg>(),
2165 16usize,
2166 concat!("Size of: ", stringify!(__darwin_mmst_reg))
2167 );
2168 assert_eq!(
2169 ::std::mem::align_of::<__darwin_mmst_reg>(),
2170 1usize,
2171 concat!("Alignment of ", stringify!(__darwin_mmst_reg))
2172 );
2173 assert_eq!(
2174 unsafe { &(*(::std::ptr::null::<__darwin_mmst_reg>())).__mmst_reg as *const _ as usize },
2175 0usize,
2176 concat!(
2177 "Offset of field: ",
2178 stringify!(__darwin_mmst_reg),
2179 "::",
2180 stringify!(__mmst_reg)
2181 )
2182 );
2183 assert_eq!(
2184 unsafe { &(*(::std::ptr::null::<__darwin_mmst_reg>())).__mmst_rsrv as *const _ as usize },
2185 10usize,
2186 concat!(
2187 "Offset of field: ",
2188 stringify!(__darwin_mmst_reg),
2189 "::",
2190 stringify!(__mmst_rsrv)
2191 )
2192 );
2193}
2194#[repr(C)]
2195#[derive(Debug, Copy, Clone)]
2196pub struct __darwin_xmm_reg {
2197 pub __xmm_reg: [::std::os::raw::c_char; 16usize],
2198}
2199#[test]
2200fn bindgen_test_layout___darwin_xmm_reg() {
2201 assert_eq!(
2202 ::std::mem::size_of::<__darwin_xmm_reg>(),
2203 16usize,
2204 concat!("Size of: ", stringify!(__darwin_xmm_reg))
2205 );
2206 assert_eq!(
2207 ::std::mem::align_of::<__darwin_xmm_reg>(),
2208 1usize,
2209 concat!("Alignment of ", stringify!(__darwin_xmm_reg))
2210 );
2211 assert_eq!(
2212 unsafe { &(*(::std::ptr::null::<__darwin_xmm_reg>())).__xmm_reg as *const _ as usize },
2213 0usize,
2214 concat!(
2215 "Offset of field: ",
2216 stringify!(__darwin_xmm_reg),
2217 "::",
2218 stringify!(__xmm_reg)
2219 )
2220 );
2221}
2222#[repr(C)]
2223#[derive(Debug, Copy, Clone)]
2224pub struct __darwin_ymm_reg {
2225 pub __ymm_reg: [::std::os::raw::c_char; 32usize],
2226}
2227#[test]
2228fn bindgen_test_layout___darwin_ymm_reg() {
2229 assert_eq!(
2230 ::std::mem::size_of::<__darwin_ymm_reg>(),
2231 32usize,
2232 concat!("Size of: ", stringify!(__darwin_ymm_reg))
2233 );
2234 assert_eq!(
2235 ::std::mem::align_of::<__darwin_ymm_reg>(),
2236 1usize,
2237 concat!("Alignment of ", stringify!(__darwin_ymm_reg))
2238 );
2239 assert_eq!(
2240 unsafe { &(*(::std::ptr::null::<__darwin_ymm_reg>())).__ymm_reg as *const _ as usize },
2241 0usize,
2242 concat!(
2243 "Offset of field: ",
2244 stringify!(__darwin_ymm_reg),
2245 "::",
2246 stringify!(__ymm_reg)
2247 )
2248 );
2249}
2250#[repr(C)]
2251#[derive(Copy, Clone)]
2252pub struct __darwin_zmm_reg {
2253 pub __zmm_reg: [::std::os::raw::c_char; 64usize],
2254}
2255#[test]
2256fn bindgen_test_layout___darwin_zmm_reg() {
2257 assert_eq!(
2258 ::std::mem::size_of::<__darwin_zmm_reg>(),
2259 64usize,
2260 concat!("Size of: ", stringify!(__darwin_zmm_reg))
2261 );
2262 assert_eq!(
2263 ::std::mem::align_of::<__darwin_zmm_reg>(),
2264 1usize,
2265 concat!("Alignment of ", stringify!(__darwin_zmm_reg))
2266 );
2267 assert_eq!(
2268 unsafe { &(*(::std::ptr::null::<__darwin_zmm_reg>())).__zmm_reg as *const _ as usize },
2269 0usize,
2270 concat!(
2271 "Offset of field: ",
2272 stringify!(__darwin_zmm_reg),
2273 "::",
2274 stringify!(__zmm_reg)
2275 )
2276 );
2277}
2278#[repr(C)]
2279#[derive(Debug, Copy, Clone)]
2280pub struct __darwin_opmask_reg {
2281 pub __opmask_reg: [::std::os::raw::c_char; 8usize],
2282}
2283#[test]
2284fn bindgen_test_layout___darwin_opmask_reg() {
2285 assert_eq!(
2286 ::std::mem::size_of::<__darwin_opmask_reg>(),
2287 8usize,
2288 concat!("Size of: ", stringify!(__darwin_opmask_reg))
2289 );
2290 assert_eq!(
2291 ::std::mem::align_of::<__darwin_opmask_reg>(),
2292 1usize,
2293 concat!("Alignment of ", stringify!(__darwin_opmask_reg))
2294 );
2295 assert_eq!(
2296 unsafe {
2297 &(*(::std::ptr::null::<__darwin_opmask_reg>())).__opmask_reg as *const _ as usize
2298 },
2299 0usize,
2300 concat!(
2301 "Offset of field: ",
2302 stringify!(__darwin_opmask_reg),
2303 "::",
2304 stringify!(__opmask_reg)
2305 )
2306 );
2307}
2308#[repr(C)]
2309#[derive(Copy, Clone)]
2310pub struct __darwin_i386_float_state {
2311 pub __fpu_reserved: [::std::os::raw::c_int; 2usize],
2312 pub __fpu_fcw: __darwin_fp_control,
2313 pub __fpu_fsw: __darwin_fp_status,
2314 pub __fpu_ftw: __uint8_t,
2315 pub __fpu_rsrv1: __uint8_t,
2316 pub __fpu_fop: __uint16_t,
2317 pub __fpu_ip: __uint32_t,
2318 pub __fpu_cs: __uint16_t,
2319 pub __fpu_rsrv2: __uint16_t,
2320 pub __fpu_dp: __uint32_t,
2321 pub __fpu_ds: __uint16_t,
2322 pub __fpu_rsrv3: __uint16_t,
2323 pub __fpu_mxcsr: __uint32_t,
2324 pub __fpu_mxcsrmask: __uint32_t,
2325 pub __fpu_stmm0: __darwin_mmst_reg,
2326 pub __fpu_stmm1: __darwin_mmst_reg,
2327 pub __fpu_stmm2: __darwin_mmst_reg,
2328 pub __fpu_stmm3: __darwin_mmst_reg,
2329 pub __fpu_stmm4: __darwin_mmst_reg,
2330 pub __fpu_stmm5: __darwin_mmst_reg,
2331 pub __fpu_stmm6: __darwin_mmst_reg,
2332 pub __fpu_stmm7: __darwin_mmst_reg,
2333 pub __fpu_xmm0: __darwin_xmm_reg,
2334 pub __fpu_xmm1: __darwin_xmm_reg,
2335 pub __fpu_xmm2: __darwin_xmm_reg,
2336 pub __fpu_xmm3: __darwin_xmm_reg,
2337 pub __fpu_xmm4: __darwin_xmm_reg,
2338 pub __fpu_xmm5: __darwin_xmm_reg,
2339 pub __fpu_xmm6: __darwin_xmm_reg,
2340 pub __fpu_xmm7: __darwin_xmm_reg,
2341 pub __fpu_rsrv4: [::std::os::raw::c_char; 224usize],
2342 pub __fpu_reserved1: ::std::os::raw::c_int,
2343}
2344#[test]
2345fn bindgen_test_layout___darwin_i386_float_state() {
2346 assert_eq!(
2347 ::std::mem::size_of::<__darwin_i386_float_state>(),
2348 524usize,
2349 concat!("Size of: ", stringify!(__darwin_i386_float_state))
2350 );
2351 assert_eq!(
2352 ::std::mem::align_of::<__darwin_i386_float_state>(),
2353 4usize,
2354 concat!("Alignment of ", stringify!(__darwin_i386_float_state))
2355 );
2356 assert_eq!(
2357 unsafe {
2358 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_reserved as *const _
2359 as usize
2360 },
2361 0usize,
2362 concat!(
2363 "Offset of field: ",
2364 stringify!(__darwin_i386_float_state),
2365 "::",
2366 stringify!(__fpu_reserved)
2367 )
2368 );
2369 assert_eq!(
2370 unsafe {
2371 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_fcw as *const _ as usize
2372 },
2373 8usize,
2374 concat!(
2375 "Offset of field: ",
2376 stringify!(__darwin_i386_float_state),
2377 "::",
2378 stringify!(__fpu_fcw)
2379 )
2380 );
2381 assert_eq!(
2382 unsafe {
2383 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_fsw as *const _ as usize
2384 },
2385 10usize,
2386 concat!(
2387 "Offset of field: ",
2388 stringify!(__darwin_i386_float_state),
2389 "::",
2390 stringify!(__fpu_fsw)
2391 )
2392 );
2393 assert_eq!(
2394 unsafe {
2395 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_ftw as *const _ as usize
2396 },
2397 12usize,
2398 concat!(
2399 "Offset of field: ",
2400 stringify!(__darwin_i386_float_state),
2401 "::",
2402 stringify!(__fpu_ftw)
2403 )
2404 );
2405 assert_eq!(
2406 unsafe {
2407 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_rsrv1 as *const _ as usize
2408 },
2409 13usize,
2410 concat!(
2411 "Offset of field: ",
2412 stringify!(__darwin_i386_float_state),
2413 "::",
2414 stringify!(__fpu_rsrv1)
2415 )
2416 );
2417 assert_eq!(
2418 unsafe {
2419 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_fop as *const _ as usize
2420 },
2421 14usize,
2422 concat!(
2423 "Offset of field: ",
2424 stringify!(__darwin_i386_float_state),
2425 "::",
2426 stringify!(__fpu_fop)
2427 )
2428 );
2429 assert_eq!(
2430 unsafe {
2431 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_ip as *const _ as usize
2432 },
2433 16usize,
2434 concat!(
2435 "Offset of field: ",
2436 stringify!(__darwin_i386_float_state),
2437 "::",
2438 stringify!(__fpu_ip)
2439 )
2440 );
2441 assert_eq!(
2442 unsafe {
2443 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_cs as *const _ as usize
2444 },
2445 20usize,
2446 concat!(
2447 "Offset of field: ",
2448 stringify!(__darwin_i386_float_state),
2449 "::",
2450 stringify!(__fpu_cs)
2451 )
2452 );
2453 assert_eq!(
2454 unsafe {
2455 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_rsrv2 as *const _ as usize
2456 },
2457 22usize,
2458 concat!(
2459 "Offset of field: ",
2460 stringify!(__darwin_i386_float_state),
2461 "::",
2462 stringify!(__fpu_rsrv2)
2463 )
2464 );
2465 assert_eq!(
2466 unsafe {
2467 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_dp as *const _ as usize
2468 },
2469 24usize,
2470 concat!(
2471 "Offset of field: ",
2472 stringify!(__darwin_i386_float_state),
2473 "::",
2474 stringify!(__fpu_dp)
2475 )
2476 );
2477 assert_eq!(
2478 unsafe {
2479 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_ds as *const _ as usize
2480 },
2481 28usize,
2482 concat!(
2483 "Offset of field: ",
2484 stringify!(__darwin_i386_float_state),
2485 "::",
2486 stringify!(__fpu_ds)
2487 )
2488 );
2489 assert_eq!(
2490 unsafe {
2491 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_rsrv3 as *const _ as usize
2492 },
2493 30usize,
2494 concat!(
2495 "Offset of field: ",
2496 stringify!(__darwin_i386_float_state),
2497 "::",
2498 stringify!(__fpu_rsrv3)
2499 )
2500 );
2501 assert_eq!(
2502 unsafe {
2503 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_mxcsr as *const _ as usize
2504 },
2505 32usize,
2506 concat!(
2507 "Offset of field: ",
2508 stringify!(__darwin_i386_float_state),
2509 "::",
2510 stringify!(__fpu_mxcsr)
2511 )
2512 );
2513 assert_eq!(
2514 unsafe {
2515 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_mxcsrmask as *const _
2516 as usize
2517 },
2518 36usize,
2519 concat!(
2520 "Offset of field: ",
2521 stringify!(__darwin_i386_float_state),
2522 "::",
2523 stringify!(__fpu_mxcsrmask)
2524 )
2525 );
2526 assert_eq!(
2527 unsafe {
2528 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_stmm0 as *const _ as usize
2529 },
2530 40usize,
2531 concat!(
2532 "Offset of field: ",
2533 stringify!(__darwin_i386_float_state),
2534 "::",
2535 stringify!(__fpu_stmm0)
2536 )
2537 );
2538 assert_eq!(
2539 unsafe {
2540 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_stmm1 as *const _ as usize
2541 },
2542 56usize,
2543 concat!(
2544 "Offset of field: ",
2545 stringify!(__darwin_i386_float_state),
2546 "::",
2547 stringify!(__fpu_stmm1)
2548 )
2549 );
2550 assert_eq!(
2551 unsafe {
2552 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_stmm2 as *const _ as usize
2553 },
2554 72usize,
2555 concat!(
2556 "Offset of field: ",
2557 stringify!(__darwin_i386_float_state),
2558 "::",
2559 stringify!(__fpu_stmm2)
2560 )
2561 );
2562 assert_eq!(
2563 unsafe {
2564 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_stmm3 as *const _ as usize
2565 },
2566 88usize,
2567 concat!(
2568 "Offset of field: ",
2569 stringify!(__darwin_i386_float_state),
2570 "::",
2571 stringify!(__fpu_stmm3)
2572 )
2573 );
2574 assert_eq!(
2575 unsafe {
2576 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_stmm4 as *const _ as usize
2577 },
2578 104usize,
2579 concat!(
2580 "Offset of field: ",
2581 stringify!(__darwin_i386_float_state),
2582 "::",
2583 stringify!(__fpu_stmm4)
2584 )
2585 );
2586 assert_eq!(
2587 unsafe {
2588 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_stmm5 as *const _ as usize
2589 },
2590 120usize,
2591 concat!(
2592 "Offset of field: ",
2593 stringify!(__darwin_i386_float_state),
2594 "::",
2595 stringify!(__fpu_stmm5)
2596 )
2597 );
2598 assert_eq!(
2599 unsafe {
2600 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_stmm6 as *const _ as usize
2601 },
2602 136usize,
2603 concat!(
2604 "Offset of field: ",
2605 stringify!(__darwin_i386_float_state),
2606 "::",
2607 stringify!(__fpu_stmm6)
2608 )
2609 );
2610 assert_eq!(
2611 unsafe {
2612 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_stmm7 as *const _ as usize
2613 },
2614 152usize,
2615 concat!(
2616 "Offset of field: ",
2617 stringify!(__darwin_i386_float_state),
2618 "::",
2619 stringify!(__fpu_stmm7)
2620 )
2621 );
2622 assert_eq!(
2623 unsafe {
2624 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_xmm0 as *const _ as usize
2625 },
2626 168usize,
2627 concat!(
2628 "Offset of field: ",
2629 stringify!(__darwin_i386_float_state),
2630 "::",
2631 stringify!(__fpu_xmm0)
2632 )
2633 );
2634 assert_eq!(
2635 unsafe {
2636 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_xmm1 as *const _ as usize
2637 },
2638 184usize,
2639 concat!(
2640 "Offset of field: ",
2641 stringify!(__darwin_i386_float_state),
2642 "::",
2643 stringify!(__fpu_xmm1)
2644 )
2645 );
2646 assert_eq!(
2647 unsafe {
2648 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_xmm2 as *const _ as usize
2649 },
2650 200usize,
2651 concat!(
2652 "Offset of field: ",
2653 stringify!(__darwin_i386_float_state),
2654 "::",
2655 stringify!(__fpu_xmm2)
2656 )
2657 );
2658 assert_eq!(
2659 unsafe {
2660 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_xmm3 as *const _ as usize
2661 },
2662 216usize,
2663 concat!(
2664 "Offset of field: ",
2665 stringify!(__darwin_i386_float_state),
2666 "::",
2667 stringify!(__fpu_xmm3)
2668 )
2669 );
2670 assert_eq!(
2671 unsafe {
2672 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_xmm4 as *const _ as usize
2673 },
2674 232usize,
2675 concat!(
2676 "Offset of field: ",
2677 stringify!(__darwin_i386_float_state),
2678 "::",
2679 stringify!(__fpu_xmm4)
2680 )
2681 );
2682 assert_eq!(
2683 unsafe {
2684 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_xmm5 as *const _ as usize
2685 },
2686 248usize,
2687 concat!(
2688 "Offset of field: ",
2689 stringify!(__darwin_i386_float_state),
2690 "::",
2691 stringify!(__fpu_xmm5)
2692 )
2693 );
2694 assert_eq!(
2695 unsafe {
2696 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_xmm6 as *const _ as usize
2697 },
2698 264usize,
2699 concat!(
2700 "Offset of field: ",
2701 stringify!(__darwin_i386_float_state),
2702 "::",
2703 stringify!(__fpu_xmm6)
2704 )
2705 );
2706 assert_eq!(
2707 unsafe {
2708 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_xmm7 as *const _ as usize
2709 },
2710 280usize,
2711 concat!(
2712 "Offset of field: ",
2713 stringify!(__darwin_i386_float_state),
2714 "::",
2715 stringify!(__fpu_xmm7)
2716 )
2717 );
2718 assert_eq!(
2719 unsafe {
2720 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_rsrv4 as *const _ as usize
2721 },
2722 296usize,
2723 concat!(
2724 "Offset of field: ",
2725 stringify!(__darwin_i386_float_state),
2726 "::",
2727 stringify!(__fpu_rsrv4)
2728 )
2729 );
2730 assert_eq!(
2731 unsafe {
2732 &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_reserved1 as *const _
2733 as usize
2734 },
2735 520usize,
2736 concat!(
2737 "Offset of field: ",
2738 stringify!(__darwin_i386_float_state),
2739 "::",
2740 stringify!(__fpu_reserved1)
2741 )
2742 );
2743}
2744#[repr(C)]
2745#[derive(Copy, Clone)]
2746pub struct __darwin_i386_avx_state {
2747 pub __fpu_reserved: [::std::os::raw::c_int; 2usize],
2748 pub __fpu_fcw: __darwin_fp_control,
2749 pub __fpu_fsw: __darwin_fp_status,
2750 pub __fpu_ftw: __uint8_t,
2751 pub __fpu_rsrv1: __uint8_t,
2752 pub __fpu_fop: __uint16_t,
2753 pub __fpu_ip: __uint32_t,
2754 pub __fpu_cs: __uint16_t,
2755 pub __fpu_rsrv2: __uint16_t,
2756 pub __fpu_dp: __uint32_t,
2757 pub __fpu_ds: __uint16_t,
2758 pub __fpu_rsrv3: __uint16_t,
2759 pub __fpu_mxcsr: __uint32_t,
2760 pub __fpu_mxcsrmask: __uint32_t,
2761 pub __fpu_stmm0: __darwin_mmst_reg,
2762 pub __fpu_stmm1: __darwin_mmst_reg,
2763 pub __fpu_stmm2: __darwin_mmst_reg,
2764 pub __fpu_stmm3: __darwin_mmst_reg,
2765 pub __fpu_stmm4: __darwin_mmst_reg,
2766 pub __fpu_stmm5: __darwin_mmst_reg,
2767 pub __fpu_stmm6: __darwin_mmst_reg,
2768 pub __fpu_stmm7: __darwin_mmst_reg,
2769 pub __fpu_xmm0: __darwin_xmm_reg,
2770 pub __fpu_xmm1: __darwin_xmm_reg,
2771 pub __fpu_xmm2: __darwin_xmm_reg,
2772 pub __fpu_xmm3: __darwin_xmm_reg,
2773 pub __fpu_xmm4: __darwin_xmm_reg,
2774 pub __fpu_xmm5: __darwin_xmm_reg,
2775 pub __fpu_xmm6: __darwin_xmm_reg,
2776 pub __fpu_xmm7: __darwin_xmm_reg,
2777 pub __fpu_rsrv4: [::std::os::raw::c_char; 224usize],
2778 pub __fpu_reserved1: ::std::os::raw::c_int,
2779 pub __avx_reserved1: [::std::os::raw::c_char; 64usize],
2780 pub __fpu_ymmh0: __darwin_xmm_reg,
2781 pub __fpu_ymmh1: __darwin_xmm_reg,
2782 pub __fpu_ymmh2: __darwin_xmm_reg,
2783 pub __fpu_ymmh3: __darwin_xmm_reg,
2784 pub __fpu_ymmh4: __darwin_xmm_reg,
2785 pub __fpu_ymmh5: __darwin_xmm_reg,
2786 pub __fpu_ymmh6: __darwin_xmm_reg,
2787 pub __fpu_ymmh7: __darwin_xmm_reg,
2788}
2789#[test]
2790fn bindgen_test_layout___darwin_i386_avx_state() {
2791 assert_eq!(
2792 ::std::mem::size_of::<__darwin_i386_avx_state>(),
2793 716usize,
2794 concat!("Size of: ", stringify!(__darwin_i386_avx_state))
2795 );
2796 assert_eq!(
2797 ::std::mem::align_of::<__darwin_i386_avx_state>(),
2798 4usize,
2799 concat!("Alignment of ", stringify!(__darwin_i386_avx_state))
2800 );
2801 assert_eq!(
2802 unsafe {
2803 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_reserved as *const _ as usize
2804 },
2805 0usize,
2806 concat!(
2807 "Offset of field: ",
2808 stringify!(__darwin_i386_avx_state),
2809 "::",
2810 stringify!(__fpu_reserved)
2811 )
2812 );
2813 assert_eq!(
2814 unsafe {
2815 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_fcw as *const _ as usize
2816 },
2817 8usize,
2818 concat!(
2819 "Offset of field: ",
2820 stringify!(__darwin_i386_avx_state),
2821 "::",
2822 stringify!(__fpu_fcw)
2823 )
2824 );
2825 assert_eq!(
2826 unsafe {
2827 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_fsw as *const _ as usize
2828 },
2829 10usize,
2830 concat!(
2831 "Offset of field: ",
2832 stringify!(__darwin_i386_avx_state),
2833 "::",
2834 stringify!(__fpu_fsw)
2835 )
2836 );
2837 assert_eq!(
2838 unsafe {
2839 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ftw as *const _ as usize
2840 },
2841 12usize,
2842 concat!(
2843 "Offset of field: ",
2844 stringify!(__darwin_i386_avx_state),
2845 "::",
2846 stringify!(__fpu_ftw)
2847 )
2848 );
2849 assert_eq!(
2850 unsafe {
2851 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_rsrv1 as *const _ as usize
2852 },
2853 13usize,
2854 concat!(
2855 "Offset of field: ",
2856 stringify!(__darwin_i386_avx_state),
2857 "::",
2858 stringify!(__fpu_rsrv1)
2859 )
2860 );
2861 assert_eq!(
2862 unsafe {
2863 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_fop as *const _ as usize
2864 },
2865 14usize,
2866 concat!(
2867 "Offset of field: ",
2868 stringify!(__darwin_i386_avx_state),
2869 "::",
2870 stringify!(__fpu_fop)
2871 )
2872 );
2873 assert_eq!(
2874 unsafe {
2875 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ip as *const _ as usize
2876 },
2877 16usize,
2878 concat!(
2879 "Offset of field: ",
2880 stringify!(__darwin_i386_avx_state),
2881 "::",
2882 stringify!(__fpu_ip)
2883 )
2884 );
2885 assert_eq!(
2886 unsafe {
2887 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_cs as *const _ as usize
2888 },
2889 20usize,
2890 concat!(
2891 "Offset of field: ",
2892 stringify!(__darwin_i386_avx_state),
2893 "::",
2894 stringify!(__fpu_cs)
2895 )
2896 );
2897 assert_eq!(
2898 unsafe {
2899 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_rsrv2 as *const _ as usize
2900 },
2901 22usize,
2902 concat!(
2903 "Offset of field: ",
2904 stringify!(__darwin_i386_avx_state),
2905 "::",
2906 stringify!(__fpu_rsrv2)
2907 )
2908 );
2909 assert_eq!(
2910 unsafe {
2911 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_dp as *const _ as usize
2912 },
2913 24usize,
2914 concat!(
2915 "Offset of field: ",
2916 stringify!(__darwin_i386_avx_state),
2917 "::",
2918 stringify!(__fpu_dp)
2919 )
2920 );
2921 assert_eq!(
2922 unsafe {
2923 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ds as *const _ as usize
2924 },
2925 28usize,
2926 concat!(
2927 "Offset of field: ",
2928 stringify!(__darwin_i386_avx_state),
2929 "::",
2930 stringify!(__fpu_ds)
2931 )
2932 );
2933 assert_eq!(
2934 unsafe {
2935 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_rsrv3 as *const _ as usize
2936 },
2937 30usize,
2938 concat!(
2939 "Offset of field: ",
2940 stringify!(__darwin_i386_avx_state),
2941 "::",
2942 stringify!(__fpu_rsrv3)
2943 )
2944 );
2945 assert_eq!(
2946 unsafe {
2947 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_mxcsr as *const _ as usize
2948 },
2949 32usize,
2950 concat!(
2951 "Offset of field: ",
2952 stringify!(__darwin_i386_avx_state),
2953 "::",
2954 stringify!(__fpu_mxcsr)
2955 )
2956 );
2957 assert_eq!(
2958 unsafe {
2959 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_mxcsrmask as *const _ as usize
2960 },
2961 36usize,
2962 concat!(
2963 "Offset of field: ",
2964 stringify!(__darwin_i386_avx_state),
2965 "::",
2966 stringify!(__fpu_mxcsrmask)
2967 )
2968 );
2969 assert_eq!(
2970 unsafe {
2971 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_stmm0 as *const _ as usize
2972 },
2973 40usize,
2974 concat!(
2975 "Offset of field: ",
2976 stringify!(__darwin_i386_avx_state),
2977 "::",
2978 stringify!(__fpu_stmm0)
2979 )
2980 );
2981 assert_eq!(
2982 unsafe {
2983 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_stmm1 as *const _ as usize
2984 },
2985 56usize,
2986 concat!(
2987 "Offset of field: ",
2988 stringify!(__darwin_i386_avx_state),
2989 "::",
2990 stringify!(__fpu_stmm1)
2991 )
2992 );
2993 assert_eq!(
2994 unsafe {
2995 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_stmm2 as *const _ as usize
2996 },
2997 72usize,
2998 concat!(
2999 "Offset of field: ",
3000 stringify!(__darwin_i386_avx_state),
3001 "::",
3002 stringify!(__fpu_stmm2)
3003 )
3004 );
3005 assert_eq!(
3006 unsafe {
3007 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_stmm3 as *const _ as usize
3008 },
3009 88usize,
3010 concat!(
3011 "Offset of field: ",
3012 stringify!(__darwin_i386_avx_state),
3013 "::",
3014 stringify!(__fpu_stmm3)
3015 )
3016 );
3017 assert_eq!(
3018 unsafe {
3019 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_stmm4 as *const _ as usize
3020 },
3021 104usize,
3022 concat!(
3023 "Offset of field: ",
3024 stringify!(__darwin_i386_avx_state),
3025 "::",
3026 stringify!(__fpu_stmm4)
3027 )
3028 );
3029 assert_eq!(
3030 unsafe {
3031 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_stmm5 as *const _ as usize
3032 },
3033 120usize,
3034 concat!(
3035 "Offset of field: ",
3036 stringify!(__darwin_i386_avx_state),
3037 "::",
3038 stringify!(__fpu_stmm5)
3039 )
3040 );
3041 assert_eq!(
3042 unsafe {
3043 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_stmm6 as *const _ as usize
3044 },
3045 136usize,
3046 concat!(
3047 "Offset of field: ",
3048 stringify!(__darwin_i386_avx_state),
3049 "::",
3050 stringify!(__fpu_stmm6)
3051 )
3052 );
3053 assert_eq!(
3054 unsafe {
3055 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_stmm7 as *const _ as usize
3056 },
3057 152usize,
3058 concat!(
3059 "Offset of field: ",
3060 stringify!(__darwin_i386_avx_state),
3061 "::",
3062 stringify!(__fpu_stmm7)
3063 )
3064 );
3065 assert_eq!(
3066 unsafe {
3067 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_xmm0 as *const _ as usize
3068 },
3069 168usize,
3070 concat!(
3071 "Offset of field: ",
3072 stringify!(__darwin_i386_avx_state),
3073 "::",
3074 stringify!(__fpu_xmm0)
3075 )
3076 );
3077 assert_eq!(
3078 unsafe {
3079 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_xmm1 as *const _ as usize
3080 },
3081 184usize,
3082 concat!(
3083 "Offset of field: ",
3084 stringify!(__darwin_i386_avx_state),
3085 "::",
3086 stringify!(__fpu_xmm1)
3087 )
3088 );
3089 assert_eq!(
3090 unsafe {
3091 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_xmm2 as *const _ as usize
3092 },
3093 200usize,
3094 concat!(
3095 "Offset of field: ",
3096 stringify!(__darwin_i386_avx_state),
3097 "::",
3098 stringify!(__fpu_xmm2)
3099 )
3100 );
3101 assert_eq!(
3102 unsafe {
3103 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_xmm3 as *const _ as usize
3104 },
3105 216usize,
3106 concat!(
3107 "Offset of field: ",
3108 stringify!(__darwin_i386_avx_state),
3109 "::",
3110 stringify!(__fpu_xmm3)
3111 )
3112 );
3113 assert_eq!(
3114 unsafe {
3115 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_xmm4 as *const _ as usize
3116 },
3117 232usize,
3118 concat!(
3119 "Offset of field: ",
3120 stringify!(__darwin_i386_avx_state),
3121 "::",
3122 stringify!(__fpu_xmm4)
3123 )
3124 );
3125 assert_eq!(
3126 unsafe {
3127 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_xmm5 as *const _ as usize
3128 },
3129 248usize,
3130 concat!(
3131 "Offset of field: ",
3132 stringify!(__darwin_i386_avx_state),
3133 "::",
3134 stringify!(__fpu_xmm5)
3135 )
3136 );
3137 assert_eq!(
3138 unsafe {
3139 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_xmm6 as *const _ as usize
3140 },
3141 264usize,
3142 concat!(
3143 "Offset of field: ",
3144 stringify!(__darwin_i386_avx_state),
3145 "::",
3146 stringify!(__fpu_xmm6)
3147 )
3148 );
3149 assert_eq!(
3150 unsafe {
3151 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_xmm7 as *const _ as usize
3152 },
3153 280usize,
3154 concat!(
3155 "Offset of field: ",
3156 stringify!(__darwin_i386_avx_state),
3157 "::",
3158 stringify!(__fpu_xmm7)
3159 )
3160 );
3161 assert_eq!(
3162 unsafe {
3163 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_rsrv4 as *const _ as usize
3164 },
3165 296usize,
3166 concat!(
3167 "Offset of field: ",
3168 stringify!(__darwin_i386_avx_state),
3169 "::",
3170 stringify!(__fpu_rsrv4)
3171 )
3172 );
3173 assert_eq!(
3174 unsafe {
3175 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_reserved1 as *const _ as usize
3176 },
3177 520usize,
3178 concat!(
3179 "Offset of field: ",
3180 stringify!(__darwin_i386_avx_state),
3181 "::",
3182 stringify!(__fpu_reserved1)
3183 )
3184 );
3185 assert_eq!(
3186 unsafe {
3187 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__avx_reserved1 as *const _ as usize
3188 },
3189 524usize,
3190 concat!(
3191 "Offset of field: ",
3192 stringify!(__darwin_i386_avx_state),
3193 "::",
3194 stringify!(__avx_reserved1)
3195 )
3196 );
3197 assert_eq!(
3198 unsafe {
3199 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ymmh0 as *const _ as usize
3200 },
3201 588usize,
3202 concat!(
3203 "Offset of field: ",
3204 stringify!(__darwin_i386_avx_state),
3205 "::",
3206 stringify!(__fpu_ymmh0)
3207 )
3208 );
3209 assert_eq!(
3210 unsafe {
3211 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ymmh1 as *const _ as usize
3212 },
3213 604usize,
3214 concat!(
3215 "Offset of field: ",
3216 stringify!(__darwin_i386_avx_state),
3217 "::",
3218 stringify!(__fpu_ymmh1)
3219 )
3220 );
3221 assert_eq!(
3222 unsafe {
3223 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ymmh2 as *const _ as usize
3224 },
3225 620usize,
3226 concat!(
3227 "Offset of field: ",
3228 stringify!(__darwin_i386_avx_state),
3229 "::",
3230 stringify!(__fpu_ymmh2)
3231 )
3232 );
3233 assert_eq!(
3234 unsafe {
3235 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ymmh3 as *const _ as usize
3236 },
3237 636usize,
3238 concat!(
3239 "Offset of field: ",
3240 stringify!(__darwin_i386_avx_state),
3241 "::",
3242 stringify!(__fpu_ymmh3)
3243 )
3244 );
3245 assert_eq!(
3246 unsafe {
3247 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ymmh4 as *const _ as usize
3248 },
3249 652usize,
3250 concat!(
3251 "Offset of field: ",
3252 stringify!(__darwin_i386_avx_state),
3253 "::",
3254 stringify!(__fpu_ymmh4)
3255 )
3256 );
3257 assert_eq!(
3258 unsafe {
3259 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ymmh5 as *const _ as usize
3260 },
3261 668usize,
3262 concat!(
3263 "Offset of field: ",
3264 stringify!(__darwin_i386_avx_state),
3265 "::",
3266 stringify!(__fpu_ymmh5)
3267 )
3268 );
3269 assert_eq!(
3270 unsafe {
3271 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ymmh6 as *const _ as usize
3272 },
3273 684usize,
3274 concat!(
3275 "Offset of field: ",
3276 stringify!(__darwin_i386_avx_state),
3277 "::",
3278 stringify!(__fpu_ymmh6)
3279 )
3280 );
3281 assert_eq!(
3282 unsafe {
3283 &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ymmh7 as *const _ as usize
3284 },
3285 700usize,
3286 concat!(
3287 "Offset of field: ",
3288 stringify!(__darwin_i386_avx_state),
3289 "::",
3290 stringify!(__fpu_ymmh7)
3291 )
3292 );
3293}
3294#[repr(C)]
3295#[derive(Copy, Clone)]
3296pub struct __darwin_i386_avx512_state {
3297 pub __fpu_reserved: [::std::os::raw::c_int; 2usize],
3298 pub __fpu_fcw: __darwin_fp_control,
3299 pub __fpu_fsw: __darwin_fp_status,
3300 pub __fpu_ftw: __uint8_t,
3301 pub __fpu_rsrv1: __uint8_t,
3302 pub __fpu_fop: __uint16_t,
3303 pub __fpu_ip: __uint32_t,
3304 pub __fpu_cs: __uint16_t,
3305 pub __fpu_rsrv2: __uint16_t,
3306 pub __fpu_dp: __uint32_t,
3307 pub __fpu_ds: __uint16_t,
3308 pub __fpu_rsrv3: __uint16_t,
3309 pub __fpu_mxcsr: __uint32_t,
3310 pub __fpu_mxcsrmask: __uint32_t,
3311 pub __fpu_stmm0: __darwin_mmst_reg,
3312 pub __fpu_stmm1: __darwin_mmst_reg,
3313 pub __fpu_stmm2: __darwin_mmst_reg,
3314 pub __fpu_stmm3: __darwin_mmst_reg,
3315 pub __fpu_stmm4: __darwin_mmst_reg,
3316 pub __fpu_stmm5: __darwin_mmst_reg,
3317 pub __fpu_stmm6: __darwin_mmst_reg,
3318 pub __fpu_stmm7: __darwin_mmst_reg,
3319 pub __fpu_xmm0: __darwin_xmm_reg,
3320 pub __fpu_xmm1: __darwin_xmm_reg,
3321 pub __fpu_xmm2: __darwin_xmm_reg,
3322 pub __fpu_xmm3: __darwin_xmm_reg,
3323 pub __fpu_xmm4: __darwin_xmm_reg,
3324 pub __fpu_xmm5: __darwin_xmm_reg,
3325 pub __fpu_xmm6: __darwin_xmm_reg,
3326 pub __fpu_xmm7: __darwin_xmm_reg,
3327 pub __fpu_rsrv4: [::std::os::raw::c_char; 224usize],
3328 pub __fpu_reserved1: ::std::os::raw::c_int,
3329 pub __avx_reserved1: [::std::os::raw::c_char; 64usize],
3330 pub __fpu_ymmh0: __darwin_xmm_reg,
3331 pub __fpu_ymmh1: __darwin_xmm_reg,
3332 pub __fpu_ymmh2: __darwin_xmm_reg,
3333 pub __fpu_ymmh3: __darwin_xmm_reg,
3334 pub __fpu_ymmh4: __darwin_xmm_reg,
3335 pub __fpu_ymmh5: __darwin_xmm_reg,
3336 pub __fpu_ymmh6: __darwin_xmm_reg,
3337 pub __fpu_ymmh7: __darwin_xmm_reg,
3338 pub __fpu_k0: __darwin_opmask_reg,
3339 pub __fpu_k1: __darwin_opmask_reg,
3340 pub __fpu_k2: __darwin_opmask_reg,
3341 pub __fpu_k3: __darwin_opmask_reg,
3342 pub __fpu_k4: __darwin_opmask_reg,
3343 pub __fpu_k5: __darwin_opmask_reg,
3344 pub __fpu_k6: __darwin_opmask_reg,
3345 pub __fpu_k7: __darwin_opmask_reg,
3346 pub __fpu_zmmh0: __darwin_ymm_reg,
3347 pub __fpu_zmmh1: __darwin_ymm_reg,
3348 pub __fpu_zmmh2: __darwin_ymm_reg,
3349 pub __fpu_zmmh3: __darwin_ymm_reg,
3350 pub __fpu_zmmh4: __darwin_ymm_reg,
3351 pub __fpu_zmmh5: __darwin_ymm_reg,
3352 pub __fpu_zmmh6: __darwin_ymm_reg,
3353 pub __fpu_zmmh7: __darwin_ymm_reg,
3354}
3355#[test]
3356fn bindgen_test_layout___darwin_i386_avx512_state() {
3357 assert_eq!(
3358 ::std::mem::size_of::<__darwin_i386_avx512_state>(),
3359 1036usize,
3360 concat!("Size of: ", stringify!(__darwin_i386_avx512_state))
3361 );
3362 assert_eq!(
3363 ::std::mem::align_of::<__darwin_i386_avx512_state>(),
3364 4usize,
3365 concat!("Alignment of ", stringify!(__darwin_i386_avx512_state))
3366 );
3367 assert_eq!(
3368 unsafe {
3369 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_reserved as *const _
3370 as usize
3371 },
3372 0usize,
3373 concat!(
3374 "Offset of field: ",
3375 stringify!(__darwin_i386_avx512_state),
3376 "::",
3377 stringify!(__fpu_reserved)
3378 )
3379 );
3380 assert_eq!(
3381 unsafe {
3382 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_fcw as *const _ as usize
3383 },
3384 8usize,
3385 concat!(
3386 "Offset of field: ",
3387 stringify!(__darwin_i386_avx512_state),
3388 "::",
3389 stringify!(__fpu_fcw)
3390 )
3391 );
3392 assert_eq!(
3393 unsafe {
3394 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_fsw as *const _ as usize
3395 },
3396 10usize,
3397 concat!(
3398 "Offset of field: ",
3399 stringify!(__darwin_i386_avx512_state),
3400 "::",
3401 stringify!(__fpu_fsw)
3402 )
3403 );
3404 assert_eq!(
3405 unsafe {
3406 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ftw as *const _ as usize
3407 },
3408 12usize,
3409 concat!(
3410 "Offset of field: ",
3411 stringify!(__darwin_i386_avx512_state),
3412 "::",
3413 stringify!(__fpu_ftw)
3414 )
3415 );
3416 assert_eq!(
3417 unsafe {
3418 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_rsrv1 as *const _ as usize
3419 },
3420 13usize,
3421 concat!(
3422 "Offset of field: ",
3423 stringify!(__darwin_i386_avx512_state),
3424 "::",
3425 stringify!(__fpu_rsrv1)
3426 )
3427 );
3428 assert_eq!(
3429 unsafe {
3430 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_fop as *const _ as usize
3431 },
3432 14usize,
3433 concat!(
3434 "Offset of field: ",
3435 stringify!(__darwin_i386_avx512_state),
3436 "::",
3437 stringify!(__fpu_fop)
3438 )
3439 );
3440 assert_eq!(
3441 unsafe {
3442 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ip as *const _ as usize
3443 },
3444 16usize,
3445 concat!(
3446 "Offset of field: ",
3447 stringify!(__darwin_i386_avx512_state),
3448 "::",
3449 stringify!(__fpu_ip)
3450 )
3451 );
3452 assert_eq!(
3453 unsafe {
3454 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_cs as *const _ as usize
3455 },
3456 20usize,
3457 concat!(
3458 "Offset of field: ",
3459 stringify!(__darwin_i386_avx512_state),
3460 "::",
3461 stringify!(__fpu_cs)
3462 )
3463 );
3464 assert_eq!(
3465 unsafe {
3466 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_rsrv2 as *const _ as usize
3467 },
3468 22usize,
3469 concat!(
3470 "Offset of field: ",
3471 stringify!(__darwin_i386_avx512_state),
3472 "::",
3473 stringify!(__fpu_rsrv2)
3474 )
3475 );
3476 assert_eq!(
3477 unsafe {
3478 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_dp as *const _ as usize
3479 },
3480 24usize,
3481 concat!(
3482 "Offset of field: ",
3483 stringify!(__darwin_i386_avx512_state),
3484 "::",
3485 stringify!(__fpu_dp)
3486 )
3487 );
3488 assert_eq!(
3489 unsafe {
3490 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ds as *const _ as usize
3491 },
3492 28usize,
3493 concat!(
3494 "Offset of field: ",
3495 stringify!(__darwin_i386_avx512_state),
3496 "::",
3497 stringify!(__fpu_ds)
3498 )
3499 );
3500 assert_eq!(
3501 unsafe {
3502 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_rsrv3 as *const _ as usize
3503 },
3504 30usize,
3505 concat!(
3506 "Offset of field: ",
3507 stringify!(__darwin_i386_avx512_state),
3508 "::",
3509 stringify!(__fpu_rsrv3)
3510 )
3511 );
3512 assert_eq!(
3513 unsafe {
3514 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_mxcsr as *const _ as usize
3515 },
3516 32usize,
3517 concat!(
3518 "Offset of field: ",
3519 stringify!(__darwin_i386_avx512_state),
3520 "::",
3521 stringify!(__fpu_mxcsr)
3522 )
3523 );
3524 assert_eq!(
3525 unsafe {
3526 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_mxcsrmask as *const _
3527 as usize
3528 },
3529 36usize,
3530 concat!(
3531 "Offset of field: ",
3532 stringify!(__darwin_i386_avx512_state),
3533 "::",
3534 stringify!(__fpu_mxcsrmask)
3535 )
3536 );
3537 assert_eq!(
3538 unsafe {
3539 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_stmm0 as *const _ as usize
3540 },
3541 40usize,
3542 concat!(
3543 "Offset of field: ",
3544 stringify!(__darwin_i386_avx512_state),
3545 "::",
3546 stringify!(__fpu_stmm0)
3547 )
3548 );
3549 assert_eq!(
3550 unsafe {
3551 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_stmm1 as *const _ as usize
3552 },
3553 56usize,
3554 concat!(
3555 "Offset of field: ",
3556 stringify!(__darwin_i386_avx512_state),
3557 "::",
3558 stringify!(__fpu_stmm1)
3559 )
3560 );
3561 assert_eq!(
3562 unsafe {
3563 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_stmm2 as *const _ as usize
3564 },
3565 72usize,
3566 concat!(
3567 "Offset of field: ",
3568 stringify!(__darwin_i386_avx512_state),
3569 "::",
3570 stringify!(__fpu_stmm2)
3571 )
3572 );
3573 assert_eq!(
3574 unsafe {
3575 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_stmm3 as *const _ as usize
3576 },
3577 88usize,
3578 concat!(
3579 "Offset of field: ",
3580 stringify!(__darwin_i386_avx512_state),
3581 "::",
3582 stringify!(__fpu_stmm3)
3583 )
3584 );
3585 assert_eq!(
3586 unsafe {
3587 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_stmm4 as *const _ as usize
3588 },
3589 104usize,
3590 concat!(
3591 "Offset of field: ",
3592 stringify!(__darwin_i386_avx512_state),
3593 "::",
3594 stringify!(__fpu_stmm4)
3595 )
3596 );
3597 assert_eq!(
3598 unsafe {
3599 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_stmm5 as *const _ as usize
3600 },
3601 120usize,
3602 concat!(
3603 "Offset of field: ",
3604 stringify!(__darwin_i386_avx512_state),
3605 "::",
3606 stringify!(__fpu_stmm5)
3607 )
3608 );
3609 assert_eq!(
3610 unsafe {
3611 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_stmm6 as *const _ as usize
3612 },
3613 136usize,
3614 concat!(
3615 "Offset of field: ",
3616 stringify!(__darwin_i386_avx512_state),
3617 "::",
3618 stringify!(__fpu_stmm6)
3619 )
3620 );
3621 assert_eq!(
3622 unsafe {
3623 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_stmm7 as *const _ as usize
3624 },
3625 152usize,
3626 concat!(
3627 "Offset of field: ",
3628 stringify!(__darwin_i386_avx512_state),
3629 "::",
3630 stringify!(__fpu_stmm7)
3631 )
3632 );
3633 assert_eq!(
3634 unsafe {
3635 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_xmm0 as *const _ as usize
3636 },
3637 168usize,
3638 concat!(
3639 "Offset of field: ",
3640 stringify!(__darwin_i386_avx512_state),
3641 "::",
3642 stringify!(__fpu_xmm0)
3643 )
3644 );
3645 assert_eq!(
3646 unsafe {
3647 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_xmm1 as *const _ as usize
3648 },
3649 184usize,
3650 concat!(
3651 "Offset of field: ",
3652 stringify!(__darwin_i386_avx512_state),
3653 "::",
3654 stringify!(__fpu_xmm1)
3655 )
3656 );
3657 assert_eq!(
3658 unsafe {
3659 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_xmm2 as *const _ as usize
3660 },
3661 200usize,
3662 concat!(
3663 "Offset of field: ",
3664 stringify!(__darwin_i386_avx512_state),
3665 "::",
3666 stringify!(__fpu_xmm2)
3667 )
3668 );
3669 assert_eq!(
3670 unsafe {
3671 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_xmm3 as *const _ as usize
3672 },
3673 216usize,
3674 concat!(
3675 "Offset of field: ",
3676 stringify!(__darwin_i386_avx512_state),
3677 "::",
3678 stringify!(__fpu_xmm3)
3679 )
3680 );
3681 assert_eq!(
3682 unsafe {
3683 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_xmm4 as *const _ as usize
3684 },
3685 232usize,
3686 concat!(
3687 "Offset of field: ",
3688 stringify!(__darwin_i386_avx512_state),
3689 "::",
3690 stringify!(__fpu_xmm4)
3691 )
3692 );
3693 assert_eq!(
3694 unsafe {
3695 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_xmm5 as *const _ as usize
3696 },
3697 248usize,
3698 concat!(
3699 "Offset of field: ",
3700 stringify!(__darwin_i386_avx512_state),
3701 "::",
3702 stringify!(__fpu_xmm5)
3703 )
3704 );
3705 assert_eq!(
3706 unsafe {
3707 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_xmm6 as *const _ as usize
3708 },
3709 264usize,
3710 concat!(
3711 "Offset of field: ",
3712 stringify!(__darwin_i386_avx512_state),
3713 "::",
3714 stringify!(__fpu_xmm6)
3715 )
3716 );
3717 assert_eq!(
3718 unsafe {
3719 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_xmm7 as *const _ as usize
3720 },
3721 280usize,
3722 concat!(
3723 "Offset of field: ",
3724 stringify!(__darwin_i386_avx512_state),
3725 "::",
3726 stringify!(__fpu_xmm7)
3727 )
3728 );
3729 assert_eq!(
3730 unsafe {
3731 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_rsrv4 as *const _ as usize
3732 },
3733 296usize,
3734 concat!(
3735 "Offset of field: ",
3736 stringify!(__darwin_i386_avx512_state),
3737 "::",
3738 stringify!(__fpu_rsrv4)
3739 )
3740 );
3741 assert_eq!(
3742 unsafe {
3743 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_reserved1 as *const _
3744 as usize
3745 },
3746 520usize,
3747 concat!(
3748 "Offset of field: ",
3749 stringify!(__darwin_i386_avx512_state),
3750 "::",
3751 stringify!(__fpu_reserved1)
3752 )
3753 );
3754 assert_eq!(
3755 unsafe {
3756 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__avx_reserved1 as *const _
3757 as usize
3758 },
3759 524usize,
3760 concat!(
3761 "Offset of field: ",
3762 stringify!(__darwin_i386_avx512_state),
3763 "::",
3764 stringify!(__avx_reserved1)
3765 )
3766 );
3767 assert_eq!(
3768 unsafe {
3769 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ymmh0 as *const _ as usize
3770 },
3771 588usize,
3772 concat!(
3773 "Offset of field: ",
3774 stringify!(__darwin_i386_avx512_state),
3775 "::",
3776 stringify!(__fpu_ymmh0)
3777 )
3778 );
3779 assert_eq!(
3780 unsafe {
3781 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ymmh1 as *const _ as usize
3782 },
3783 604usize,
3784 concat!(
3785 "Offset of field: ",
3786 stringify!(__darwin_i386_avx512_state),
3787 "::",
3788 stringify!(__fpu_ymmh1)
3789 )
3790 );
3791 assert_eq!(
3792 unsafe {
3793 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ymmh2 as *const _ as usize
3794 },
3795 620usize,
3796 concat!(
3797 "Offset of field: ",
3798 stringify!(__darwin_i386_avx512_state),
3799 "::",
3800 stringify!(__fpu_ymmh2)
3801 )
3802 );
3803 assert_eq!(
3804 unsafe {
3805 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ymmh3 as *const _ as usize
3806 },
3807 636usize,
3808 concat!(
3809 "Offset of field: ",
3810 stringify!(__darwin_i386_avx512_state),
3811 "::",
3812 stringify!(__fpu_ymmh3)
3813 )
3814 );
3815 assert_eq!(
3816 unsafe {
3817 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ymmh4 as *const _ as usize
3818 },
3819 652usize,
3820 concat!(
3821 "Offset of field: ",
3822 stringify!(__darwin_i386_avx512_state),
3823 "::",
3824 stringify!(__fpu_ymmh4)
3825 )
3826 );
3827 assert_eq!(
3828 unsafe {
3829 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ymmh5 as *const _ as usize
3830 },
3831 668usize,
3832 concat!(
3833 "Offset of field: ",
3834 stringify!(__darwin_i386_avx512_state),
3835 "::",
3836 stringify!(__fpu_ymmh5)
3837 )
3838 );
3839 assert_eq!(
3840 unsafe {
3841 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ymmh6 as *const _ as usize
3842 },
3843 684usize,
3844 concat!(
3845 "Offset of field: ",
3846 stringify!(__darwin_i386_avx512_state),
3847 "::",
3848 stringify!(__fpu_ymmh6)
3849 )
3850 );
3851 assert_eq!(
3852 unsafe {
3853 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ymmh7 as *const _ as usize
3854 },
3855 700usize,
3856 concat!(
3857 "Offset of field: ",
3858 stringify!(__darwin_i386_avx512_state),
3859 "::",
3860 stringify!(__fpu_ymmh7)
3861 )
3862 );
3863 assert_eq!(
3864 unsafe {
3865 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_k0 as *const _ as usize
3866 },
3867 716usize,
3868 concat!(
3869 "Offset of field: ",
3870 stringify!(__darwin_i386_avx512_state),
3871 "::",
3872 stringify!(__fpu_k0)
3873 )
3874 );
3875 assert_eq!(
3876 unsafe {
3877 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_k1 as *const _ as usize
3878 },
3879 724usize,
3880 concat!(
3881 "Offset of field: ",
3882 stringify!(__darwin_i386_avx512_state),
3883 "::",
3884 stringify!(__fpu_k1)
3885 )
3886 );
3887 assert_eq!(
3888 unsafe {
3889 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_k2 as *const _ as usize
3890 },
3891 732usize,
3892 concat!(
3893 "Offset of field: ",
3894 stringify!(__darwin_i386_avx512_state),
3895 "::",
3896 stringify!(__fpu_k2)
3897 )
3898 );
3899 assert_eq!(
3900 unsafe {
3901 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_k3 as *const _ as usize
3902 },
3903 740usize,
3904 concat!(
3905 "Offset of field: ",
3906 stringify!(__darwin_i386_avx512_state),
3907 "::",
3908 stringify!(__fpu_k3)
3909 )
3910 );
3911 assert_eq!(
3912 unsafe {
3913 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_k4 as *const _ as usize
3914 },
3915 748usize,
3916 concat!(
3917 "Offset of field: ",
3918 stringify!(__darwin_i386_avx512_state),
3919 "::",
3920 stringify!(__fpu_k4)
3921 )
3922 );
3923 assert_eq!(
3924 unsafe {
3925 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_k5 as *const _ as usize
3926 },
3927 756usize,
3928 concat!(
3929 "Offset of field: ",
3930 stringify!(__darwin_i386_avx512_state),
3931 "::",
3932 stringify!(__fpu_k5)
3933 )
3934 );
3935 assert_eq!(
3936 unsafe {
3937 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_k6 as *const _ as usize
3938 },
3939 764usize,
3940 concat!(
3941 "Offset of field: ",
3942 stringify!(__darwin_i386_avx512_state),
3943 "::",
3944 stringify!(__fpu_k6)
3945 )
3946 );
3947 assert_eq!(
3948 unsafe {
3949 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_k7 as *const _ as usize
3950 },
3951 772usize,
3952 concat!(
3953 "Offset of field: ",
3954 stringify!(__darwin_i386_avx512_state),
3955 "::",
3956 stringify!(__fpu_k7)
3957 )
3958 );
3959 assert_eq!(
3960 unsafe {
3961 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_zmmh0 as *const _ as usize
3962 },
3963 780usize,
3964 concat!(
3965 "Offset of field: ",
3966 stringify!(__darwin_i386_avx512_state),
3967 "::",
3968 stringify!(__fpu_zmmh0)
3969 )
3970 );
3971 assert_eq!(
3972 unsafe {
3973 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_zmmh1 as *const _ as usize
3974 },
3975 812usize,
3976 concat!(
3977 "Offset of field: ",
3978 stringify!(__darwin_i386_avx512_state),
3979 "::",
3980 stringify!(__fpu_zmmh1)
3981 )
3982 );
3983 assert_eq!(
3984 unsafe {
3985 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_zmmh2 as *const _ as usize
3986 },
3987 844usize,
3988 concat!(
3989 "Offset of field: ",
3990 stringify!(__darwin_i386_avx512_state),
3991 "::",
3992 stringify!(__fpu_zmmh2)
3993 )
3994 );
3995 assert_eq!(
3996 unsafe {
3997 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_zmmh3 as *const _ as usize
3998 },
3999 876usize,
4000 concat!(
4001 "Offset of field: ",
4002 stringify!(__darwin_i386_avx512_state),
4003 "::",
4004 stringify!(__fpu_zmmh3)
4005 )
4006 );
4007 assert_eq!(
4008 unsafe {
4009 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_zmmh4 as *const _ as usize
4010 },
4011 908usize,
4012 concat!(
4013 "Offset of field: ",
4014 stringify!(__darwin_i386_avx512_state),
4015 "::",
4016 stringify!(__fpu_zmmh4)
4017 )
4018 );
4019 assert_eq!(
4020 unsafe {
4021 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_zmmh5 as *const _ as usize
4022 },
4023 940usize,
4024 concat!(
4025 "Offset of field: ",
4026 stringify!(__darwin_i386_avx512_state),
4027 "::",
4028 stringify!(__fpu_zmmh5)
4029 )
4030 );
4031 assert_eq!(
4032 unsafe {
4033 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_zmmh6 as *const _ as usize
4034 },
4035 972usize,
4036 concat!(
4037 "Offset of field: ",
4038 stringify!(__darwin_i386_avx512_state),
4039 "::",
4040 stringify!(__fpu_zmmh6)
4041 )
4042 );
4043 assert_eq!(
4044 unsafe {
4045 &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_zmmh7 as *const _ as usize
4046 },
4047 1004usize,
4048 concat!(
4049 "Offset of field: ",
4050 stringify!(__darwin_i386_avx512_state),
4051 "::",
4052 stringify!(__fpu_zmmh7)
4053 )
4054 );
4055}
4056#[repr(C)]
4057#[derive(Debug, Copy, Clone)]
4058pub struct __darwin_i386_exception_state {
4059 pub __trapno: __uint16_t,
4060 pub __cpu: __uint16_t,
4061 pub __err: __uint32_t,
4062 pub __faultvaddr: __uint32_t,
4063}
4064#[test]
4065fn bindgen_test_layout___darwin_i386_exception_state() {
4066 assert_eq!(
4067 ::std::mem::size_of::<__darwin_i386_exception_state>(),
4068 12usize,
4069 concat!("Size of: ", stringify!(__darwin_i386_exception_state))
4070 );
4071 assert_eq!(
4072 ::std::mem::align_of::<__darwin_i386_exception_state>(),
4073 4usize,
4074 concat!("Alignment of ", stringify!(__darwin_i386_exception_state))
4075 );
4076 assert_eq!(
4077 unsafe {
4078 &(*(::std::ptr::null::<__darwin_i386_exception_state>())).__trapno as *const _ as usize
4079 },
4080 0usize,
4081 concat!(
4082 "Offset of field: ",
4083 stringify!(__darwin_i386_exception_state),
4084 "::",
4085 stringify!(__trapno)
4086 )
4087 );
4088 assert_eq!(
4089 unsafe {
4090 &(*(::std::ptr::null::<__darwin_i386_exception_state>())).__cpu as *const _ as usize
4091 },
4092 2usize,
4093 concat!(
4094 "Offset of field: ",
4095 stringify!(__darwin_i386_exception_state),
4096 "::",
4097 stringify!(__cpu)
4098 )
4099 );
4100 assert_eq!(
4101 unsafe {
4102 &(*(::std::ptr::null::<__darwin_i386_exception_state>())).__err as *const _ as usize
4103 },
4104 4usize,
4105 concat!(
4106 "Offset of field: ",
4107 stringify!(__darwin_i386_exception_state),
4108 "::",
4109 stringify!(__err)
4110 )
4111 );
4112 assert_eq!(
4113 unsafe {
4114 &(*(::std::ptr::null::<__darwin_i386_exception_state>())).__faultvaddr as *const _
4115 as usize
4116 },
4117 8usize,
4118 concat!(
4119 "Offset of field: ",
4120 stringify!(__darwin_i386_exception_state),
4121 "::",
4122 stringify!(__faultvaddr)
4123 )
4124 );
4125}
4126#[repr(C)]
4127#[derive(Debug, Copy, Clone)]
4128pub struct __darwin_x86_debug_state32 {
4129 pub __dr0: ::std::os::raw::c_uint,
4130 pub __dr1: ::std::os::raw::c_uint,
4131 pub __dr2: ::std::os::raw::c_uint,
4132 pub __dr3: ::std::os::raw::c_uint,
4133 pub __dr4: ::std::os::raw::c_uint,
4134 pub __dr5: ::std::os::raw::c_uint,
4135 pub __dr6: ::std::os::raw::c_uint,
4136 pub __dr7: ::std::os::raw::c_uint,
4137}
4138#[test]
4139fn bindgen_test_layout___darwin_x86_debug_state32() {
4140 assert_eq!(
4141 ::std::mem::size_of::<__darwin_x86_debug_state32>(),
4142 32usize,
4143 concat!("Size of: ", stringify!(__darwin_x86_debug_state32))
4144 );
4145 assert_eq!(
4146 ::std::mem::align_of::<__darwin_x86_debug_state32>(),
4147 4usize,
4148 concat!("Alignment of ", stringify!(__darwin_x86_debug_state32))
4149 );
4150 assert_eq!(
4151 unsafe {
4152 &(*(::std::ptr::null::<__darwin_x86_debug_state32>())).__dr0 as *const _ as usize
4153 },
4154 0usize,
4155 concat!(
4156 "Offset of field: ",
4157 stringify!(__darwin_x86_debug_state32),
4158 "::",
4159 stringify!(__dr0)
4160 )
4161 );
4162 assert_eq!(
4163 unsafe {
4164 &(*(::std::ptr::null::<__darwin_x86_debug_state32>())).__dr1 as *const _ as usize
4165 },
4166 4usize,
4167 concat!(
4168 "Offset of field: ",
4169 stringify!(__darwin_x86_debug_state32),
4170 "::",
4171 stringify!(__dr1)
4172 )
4173 );
4174 assert_eq!(
4175 unsafe {
4176 &(*(::std::ptr::null::<__darwin_x86_debug_state32>())).__dr2 as *const _ as usize
4177 },
4178 8usize,
4179 concat!(
4180 "Offset of field: ",
4181 stringify!(__darwin_x86_debug_state32),
4182 "::",
4183 stringify!(__dr2)
4184 )
4185 );
4186 assert_eq!(
4187 unsafe {
4188 &(*(::std::ptr::null::<__darwin_x86_debug_state32>())).__dr3 as *const _ as usize
4189 },
4190 12usize,
4191 concat!(
4192 "Offset of field: ",
4193 stringify!(__darwin_x86_debug_state32),
4194 "::",
4195 stringify!(__dr3)
4196 )
4197 );
4198 assert_eq!(
4199 unsafe {
4200 &(*(::std::ptr::null::<__darwin_x86_debug_state32>())).__dr4 as *const _ as usize
4201 },
4202 16usize,
4203 concat!(
4204 "Offset of field: ",
4205 stringify!(__darwin_x86_debug_state32),
4206 "::",
4207 stringify!(__dr4)
4208 )
4209 );
4210 assert_eq!(
4211 unsafe {
4212 &(*(::std::ptr::null::<__darwin_x86_debug_state32>())).__dr5 as *const _ as usize
4213 },
4214 20usize,
4215 concat!(
4216 "Offset of field: ",
4217 stringify!(__darwin_x86_debug_state32),
4218 "::",
4219 stringify!(__dr5)
4220 )
4221 );
4222 assert_eq!(
4223 unsafe {
4224 &(*(::std::ptr::null::<__darwin_x86_debug_state32>())).__dr6 as *const _ as usize
4225 },
4226 24usize,
4227 concat!(
4228 "Offset of field: ",
4229 stringify!(__darwin_x86_debug_state32),
4230 "::",
4231 stringify!(__dr6)
4232 )
4233 );
4234 assert_eq!(
4235 unsafe {
4236 &(*(::std::ptr::null::<__darwin_x86_debug_state32>())).__dr7 as *const _ as usize
4237 },
4238 28usize,
4239 concat!(
4240 "Offset of field: ",
4241 stringify!(__darwin_x86_debug_state32),
4242 "::",
4243 stringify!(__dr7)
4244 )
4245 );
4246}
4247#[repr(C)]
4248#[derive(Debug, Copy, Clone)]
4249pub struct __darwin_x86_thread_state64 {
4250 pub __rax: __uint64_t,
4251 pub __rbx: __uint64_t,
4252 pub __rcx: __uint64_t,
4253 pub __rdx: __uint64_t,
4254 pub __rdi: __uint64_t,
4255 pub __rsi: __uint64_t,
4256 pub __rbp: __uint64_t,
4257 pub __rsp: __uint64_t,
4258 pub __r8: __uint64_t,
4259 pub __r9: __uint64_t,
4260 pub __r10: __uint64_t,
4261 pub __r11: __uint64_t,
4262 pub __r12: __uint64_t,
4263 pub __r13: __uint64_t,
4264 pub __r14: __uint64_t,
4265 pub __r15: __uint64_t,
4266 pub __rip: __uint64_t,
4267 pub __rflags: __uint64_t,
4268 pub __cs: __uint64_t,
4269 pub __fs: __uint64_t,
4270 pub __gs: __uint64_t,
4271}
4272#[test]
4273fn bindgen_test_layout___darwin_x86_thread_state64() {
4274 assert_eq!(
4275 ::std::mem::size_of::<__darwin_x86_thread_state64>(),
4276 168usize,
4277 concat!("Size of: ", stringify!(__darwin_x86_thread_state64))
4278 );
4279 assert_eq!(
4280 ::std::mem::align_of::<__darwin_x86_thread_state64>(),
4281 8usize,
4282 concat!("Alignment of ", stringify!(__darwin_x86_thread_state64))
4283 );
4284 assert_eq!(
4285 unsafe {
4286 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rax as *const _ as usize
4287 },
4288 0usize,
4289 concat!(
4290 "Offset of field: ",
4291 stringify!(__darwin_x86_thread_state64),
4292 "::",
4293 stringify!(__rax)
4294 )
4295 );
4296 assert_eq!(
4297 unsafe {
4298 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rbx as *const _ as usize
4299 },
4300 8usize,
4301 concat!(
4302 "Offset of field: ",
4303 stringify!(__darwin_x86_thread_state64),
4304 "::",
4305 stringify!(__rbx)
4306 )
4307 );
4308 assert_eq!(
4309 unsafe {
4310 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rcx as *const _ as usize
4311 },
4312 16usize,
4313 concat!(
4314 "Offset of field: ",
4315 stringify!(__darwin_x86_thread_state64),
4316 "::",
4317 stringify!(__rcx)
4318 )
4319 );
4320 assert_eq!(
4321 unsafe {
4322 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rdx as *const _ as usize
4323 },
4324 24usize,
4325 concat!(
4326 "Offset of field: ",
4327 stringify!(__darwin_x86_thread_state64),
4328 "::",
4329 stringify!(__rdx)
4330 )
4331 );
4332 assert_eq!(
4333 unsafe {
4334 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rdi as *const _ as usize
4335 },
4336 32usize,
4337 concat!(
4338 "Offset of field: ",
4339 stringify!(__darwin_x86_thread_state64),
4340 "::",
4341 stringify!(__rdi)
4342 )
4343 );
4344 assert_eq!(
4345 unsafe {
4346 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rsi as *const _ as usize
4347 },
4348 40usize,
4349 concat!(
4350 "Offset of field: ",
4351 stringify!(__darwin_x86_thread_state64),
4352 "::",
4353 stringify!(__rsi)
4354 )
4355 );
4356 assert_eq!(
4357 unsafe {
4358 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rbp as *const _ as usize
4359 },
4360 48usize,
4361 concat!(
4362 "Offset of field: ",
4363 stringify!(__darwin_x86_thread_state64),
4364 "::",
4365 stringify!(__rbp)
4366 )
4367 );
4368 assert_eq!(
4369 unsafe {
4370 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rsp as *const _ as usize
4371 },
4372 56usize,
4373 concat!(
4374 "Offset of field: ",
4375 stringify!(__darwin_x86_thread_state64),
4376 "::",
4377 stringify!(__rsp)
4378 )
4379 );
4380 assert_eq!(
4381 unsafe {
4382 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__r8 as *const _ as usize
4383 },
4384 64usize,
4385 concat!(
4386 "Offset of field: ",
4387 stringify!(__darwin_x86_thread_state64),
4388 "::",
4389 stringify!(__r8)
4390 )
4391 );
4392 assert_eq!(
4393 unsafe {
4394 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__r9 as *const _ as usize
4395 },
4396 72usize,
4397 concat!(
4398 "Offset of field: ",
4399 stringify!(__darwin_x86_thread_state64),
4400 "::",
4401 stringify!(__r9)
4402 )
4403 );
4404 assert_eq!(
4405 unsafe {
4406 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__r10 as *const _ as usize
4407 },
4408 80usize,
4409 concat!(
4410 "Offset of field: ",
4411 stringify!(__darwin_x86_thread_state64),
4412 "::",
4413 stringify!(__r10)
4414 )
4415 );
4416 assert_eq!(
4417 unsafe {
4418 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__r11 as *const _ as usize
4419 },
4420 88usize,
4421 concat!(
4422 "Offset of field: ",
4423 stringify!(__darwin_x86_thread_state64),
4424 "::",
4425 stringify!(__r11)
4426 )
4427 );
4428 assert_eq!(
4429 unsafe {
4430 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__r12 as *const _ as usize
4431 },
4432 96usize,
4433 concat!(
4434 "Offset of field: ",
4435 stringify!(__darwin_x86_thread_state64),
4436 "::",
4437 stringify!(__r12)
4438 )
4439 );
4440 assert_eq!(
4441 unsafe {
4442 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__r13 as *const _ as usize
4443 },
4444 104usize,
4445 concat!(
4446 "Offset of field: ",
4447 stringify!(__darwin_x86_thread_state64),
4448 "::",
4449 stringify!(__r13)
4450 )
4451 );
4452 assert_eq!(
4453 unsafe {
4454 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__r14 as *const _ as usize
4455 },
4456 112usize,
4457 concat!(
4458 "Offset of field: ",
4459 stringify!(__darwin_x86_thread_state64),
4460 "::",
4461 stringify!(__r14)
4462 )
4463 );
4464 assert_eq!(
4465 unsafe {
4466 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__r15 as *const _ as usize
4467 },
4468 120usize,
4469 concat!(
4470 "Offset of field: ",
4471 stringify!(__darwin_x86_thread_state64),
4472 "::",
4473 stringify!(__r15)
4474 )
4475 );
4476 assert_eq!(
4477 unsafe {
4478 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rip as *const _ as usize
4479 },
4480 128usize,
4481 concat!(
4482 "Offset of field: ",
4483 stringify!(__darwin_x86_thread_state64),
4484 "::",
4485 stringify!(__rip)
4486 )
4487 );
4488 assert_eq!(
4489 unsafe {
4490 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rflags as *const _ as usize
4491 },
4492 136usize,
4493 concat!(
4494 "Offset of field: ",
4495 stringify!(__darwin_x86_thread_state64),
4496 "::",
4497 stringify!(__rflags)
4498 )
4499 );
4500 assert_eq!(
4501 unsafe {
4502 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__cs as *const _ as usize
4503 },
4504 144usize,
4505 concat!(
4506 "Offset of field: ",
4507 stringify!(__darwin_x86_thread_state64),
4508 "::",
4509 stringify!(__cs)
4510 )
4511 );
4512 assert_eq!(
4513 unsafe {
4514 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__fs as *const _ as usize
4515 },
4516 152usize,
4517 concat!(
4518 "Offset of field: ",
4519 stringify!(__darwin_x86_thread_state64),
4520 "::",
4521 stringify!(__fs)
4522 )
4523 );
4524 assert_eq!(
4525 unsafe {
4526 &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__gs as *const _ as usize
4527 },
4528 160usize,
4529 concat!(
4530 "Offset of field: ",
4531 stringify!(__darwin_x86_thread_state64),
4532 "::",
4533 stringify!(__gs)
4534 )
4535 );
4536}
4537#[repr(C)]
4538#[derive(Debug, Copy, Clone)]
4539pub struct __darwin_x86_thread_full_state64 {
4540 pub ss64: __darwin_x86_thread_state64,
4541 pub __ds: __uint64_t,
4542 pub __es: __uint64_t,
4543 pub __ss: __uint64_t,
4544 pub __gsbase: __uint64_t,
4545}
4546#[test]
4547fn bindgen_test_layout___darwin_x86_thread_full_state64() {
4548 assert_eq!(
4549 ::std::mem::size_of::<__darwin_x86_thread_full_state64>(),
4550 200usize,
4551 concat!("Size of: ", stringify!(__darwin_x86_thread_full_state64))
4552 );
4553 assert_eq!(
4554 ::std::mem::align_of::<__darwin_x86_thread_full_state64>(),
4555 8usize,
4556 concat!(
4557 "Alignment of ",
4558 stringify!(__darwin_x86_thread_full_state64)
4559 )
4560 );
4561 assert_eq!(
4562 unsafe {
4563 &(*(::std::ptr::null::<__darwin_x86_thread_full_state64>())).ss64 as *const _ as usize
4564 },
4565 0usize,
4566 concat!(
4567 "Offset of field: ",
4568 stringify!(__darwin_x86_thread_full_state64),
4569 "::",
4570 stringify!(ss64)
4571 )
4572 );
4573 assert_eq!(
4574 unsafe {
4575 &(*(::std::ptr::null::<__darwin_x86_thread_full_state64>())).__ds as *const _ as usize
4576 },
4577 168usize,
4578 concat!(
4579 "Offset of field: ",
4580 stringify!(__darwin_x86_thread_full_state64),
4581 "::",
4582 stringify!(__ds)
4583 )
4584 );
4585 assert_eq!(
4586 unsafe {
4587 &(*(::std::ptr::null::<__darwin_x86_thread_full_state64>())).__es as *const _ as usize
4588 },
4589 176usize,
4590 concat!(
4591 "Offset of field: ",
4592 stringify!(__darwin_x86_thread_full_state64),
4593 "::",
4594 stringify!(__es)
4595 )
4596 );
4597 assert_eq!(
4598 unsafe {
4599 &(*(::std::ptr::null::<__darwin_x86_thread_full_state64>())).__ss as *const _ as usize
4600 },
4601 184usize,
4602 concat!(
4603 "Offset of field: ",
4604 stringify!(__darwin_x86_thread_full_state64),
4605 "::",
4606 stringify!(__ss)
4607 )
4608 );
4609 assert_eq!(
4610 unsafe {
4611 &(*(::std::ptr::null::<__darwin_x86_thread_full_state64>())).__gsbase as *const _
4612 as usize
4613 },
4614 192usize,
4615 concat!(
4616 "Offset of field: ",
4617 stringify!(__darwin_x86_thread_full_state64),
4618 "::",
4619 stringify!(__gsbase)
4620 )
4621 );
4622}
4623#[repr(C)]
4624#[derive(Copy, Clone)]
4625pub struct __darwin_x86_float_state64 {
4626 pub __fpu_reserved: [::std::os::raw::c_int; 2usize],
4627 pub __fpu_fcw: __darwin_fp_control,
4628 pub __fpu_fsw: __darwin_fp_status,
4629 pub __fpu_ftw: __uint8_t,
4630 pub __fpu_rsrv1: __uint8_t,
4631 pub __fpu_fop: __uint16_t,
4632 pub __fpu_ip: __uint32_t,
4633 pub __fpu_cs: __uint16_t,
4634 pub __fpu_rsrv2: __uint16_t,
4635 pub __fpu_dp: __uint32_t,
4636 pub __fpu_ds: __uint16_t,
4637 pub __fpu_rsrv3: __uint16_t,
4638 pub __fpu_mxcsr: __uint32_t,
4639 pub __fpu_mxcsrmask: __uint32_t,
4640 pub __fpu_stmm0: __darwin_mmst_reg,
4641 pub __fpu_stmm1: __darwin_mmst_reg,
4642 pub __fpu_stmm2: __darwin_mmst_reg,
4643 pub __fpu_stmm3: __darwin_mmst_reg,
4644 pub __fpu_stmm4: __darwin_mmst_reg,
4645 pub __fpu_stmm5: __darwin_mmst_reg,
4646 pub __fpu_stmm6: __darwin_mmst_reg,
4647 pub __fpu_stmm7: __darwin_mmst_reg,
4648 pub __fpu_xmm0: __darwin_xmm_reg,
4649 pub __fpu_xmm1: __darwin_xmm_reg,
4650 pub __fpu_xmm2: __darwin_xmm_reg,
4651 pub __fpu_xmm3: __darwin_xmm_reg,
4652 pub __fpu_xmm4: __darwin_xmm_reg,
4653 pub __fpu_xmm5: __darwin_xmm_reg,
4654 pub __fpu_xmm6: __darwin_xmm_reg,
4655 pub __fpu_xmm7: __darwin_xmm_reg,
4656 pub __fpu_xmm8: __darwin_xmm_reg,
4657 pub __fpu_xmm9: __darwin_xmm_reg,
4658 pub __fpu_xmm10: __darwin_xmm_reg,
4659 pub __fpu_xmm11: __darwin_xmm_reg,
4660 pub __fpu_xmm12: __darwin_xmm_reg,
4661 pub __fpu_xmm13: __darwin_xmm_reg,
4662 pub __fpu_xmm14: __darwin_xmm_reg,
4663 pub __fpu_xmm15: __darwin_xmm_reg,
4664 pub __fpu_rsrv4: [::std::os::raw::c_char; 96usize],
4665 pub __fpu_reserved1: ::std::os::raw::c_int,
4666}
4667#[test]
4668fn bindgen_test_layout___darwin_x86_float_state64() {
4669 assert_eq!(
4670 ::std::mem::size_of::<__darwin_x86_float_state64>(),
4671 524usize,
4672 concat!("Size of: ", stringify!(__darwin_x86_float_state64))
4673 );
4674 assert_eq!(
4675 ::std::mem::align_of::<__darwin_x86_float_state64>(),
4676 4usize,
4677 concat!("Alignment of ", stringify!(__darwin_x86_float_state64))
4678 );
4679 assert_eq!(
4680 unsafe {
4681 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_reserved as *const _
4682 as usize
4683 },
4684 0usize,
4685 concat!(
4686 "Offset of field: ",
4687 stringify!(__darwin_x86_float_state64),
4688 "::",
4689 stringify!(__fpu_reserved)
4690 )
4691 );
4692 assert_eq!(
4693 unsafe {
4694 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_fcw as *const _ as usize
4695 },
4696 8usize,
4697 concat!(
4698 "Offset of field: ",
4699 stringify!(__darwin_x86_float_state64),
4700 "::",
4701 stringify!(__fpu_fcw)
4702 )
4703 );
4704 assert_eq!(
4705 unsafe {
4706 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_fsw as *const _ as usize
4707 },
4708 10usize,
4709 concat!(
4710 "Offset of field: ",
4711 stringify!(__darwin_x86_float_state64),
4712 "::",
4713 stringify!(__fpu_fsw)
4714 )
4715 );
4716 assert_eq!(
4717 unsafe {
4718 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_ftw as *const _ as usize
4719 },
4720 12usize,
4721 concat!(
4722 "Offset of field: ",
4723 stringify!(__darwin_x86_float_state64),
4724 "::",
4725 stringify!(__fpu_ftw)
4726 )
4727 );
4728 assert_eq!(
4729 unsafe {
4730 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_rsrv1 as *const _ as usize
4731 },
4732 13usize,
4733 concat!(
4734 "Offset of field: ",
4735 stringify!(__darwin_x86_float_state64),
4736 "::",
4737 stringify!(__fpu_rsrv1)
4738 )
4739 );
4740 assert_eq!(
4741 unsafe {
4742 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_fop as *const _ as usize
4743 },
4744 14usize,
4745 concat!(
4746 "Offset of field: ",
4747 stringify!(__darwin_x86_float_state64),
4748 "::",
4749 stringify!(__fpu_fop)
4750 )
4751 );
4752 assert_eq!(
4753 unsafe {
4754 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_ip as *const _ as usize
4755 },
4756 16usize,
4757 concat!(
4758 "Offset of field: ",
4759 stringify!(__darwin_x86_float_state64),
4760 "::",
4761 stringify!(__fpu_ip)
4762 )
4763 );
4764 assert_eq!(
4765 unsafe {
4766 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_cs as *const _ as usize
4767 },
4768 20usize,
4769 concat!(
4770 "Offset of field: ",
4771 stringify!(__darwin_x86_float_state64),
4772 "::",
4773 stringify!(__fpu_cs)
4774 )
4775 );
4776 assert_eq!(
4777 unsafe {
4778 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_rsrv2 as *const _ as usize
4779 },
4780 22usize,
4781 concat!(
4782 "Offset of field: ",
4783 stringify!(__darwin_x86_float_state64),
4784 "::",
4785 stringify!(__fpu_rsrv2)
4786 )
4787 );
4788 assert_eq!(
4789 unsafe {
4790 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_dp as *const _ as usize
4791 },
4792 24usize,
4793 concat!(
4794 "Offset of field: ",
4795 stringify!(__darwin_x86_float_state64),
4796 "::",
4797 stringify!(__fpu_dp)
4798 )
4799 );
4800 assert_eq!(
4801 unsafe {
4802 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_ds as *const _ as usize
4803 },
4804 28usize,
4805 concat!(
4806 "Offset of field: ",
4807 stringify!(__darwin_x86_float_state64),
4808 "::",
4809 stringify!(__fpu_ds)
4810 )
4811 );
4812 assert_eq!(
4813 unsafe {
4814 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_rsrv3 as *const _ as usize
4815 },
4816 30usize,
4817 concat!(
4818 "Offset of field: ",
4819 stringify!(__darwin_x86_float_state64),
4820 "::",
4821 stringify!(__fpu_rsrv3)
4822 )
4823 );
4824 assert_eq!(
4825 unsafe {
4826 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_mxcsr as *const _ as usize
4827 },
4828 32usize,
4829 concat!(
4830 "Offset of field: ",
4831 stringify!(__darwin_x86_float_state64),
4832 "::",
4833 stringify!(__fpu_mxcsr)
4834 )
4835 );
4836 assert_eq!(
4837 unsafe {
4838 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_mxcsrmask as *const _
4839 as usize
4840 },
4841 36usize,
4842 concat!(
4843 "Offset of field: ",
4844 stringify!(__darwin_x86_float_state64),
4845 "::",
4846 stringify!(__fpu_mxcsrmask)
4847 )
4848 );
4849 assert_eq!(
4850 unsafe {
4851 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_stmm0 as *const _ as usize
4852 },
4853 40usize,
4854 concat!(
4855 "Offset of field: ",
4856 stringify!(__darwin_x86_float_state64),
4857 "::",
4858 stringify!(__fpu_stmm0)
4859 )
4860 );
4861 assert_eq!(
4862 unsafe {
4863 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_stmm1 as *const _ as usize
4864 },
4865 56usize,
4866 concat!(
4867 "Offset of field: ",
4868 stringify!(__darwin_x86_float_state64),
4869 "::",
4870 stringify!(__fpu_stmm1)
4871 )
4872 );
4873 assert_eq!(
4874 unsafe {
4875 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_stmm2 as *const _ as usize
4876 },
4877 72usize,
4878 concat!(
4879 "Offset of field: ",
4880 stringify!(__darwin_x86_float_state64),
4881 "::",
4882 stringify!(__fpu_stmm2)
4883 )
4884 );
4885 assert_eq!(
4886 unsafe {
4887 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_stmm3 as *const _ as usize
4888 },
4889 88usize,
4890 concat!(
4891 "Offset of field: ",
4892 stringify!(__darwin_x86_float_state64),
4893 "::",
4894 stringify!(__fpu_stmm3)
4895 )
4896 );
4897 assert_eq!(
4898 unsafe {
4899 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_stmm4 as *const _ as usize
4900 },
4901 104usize,
4902 concat!(
4903 "Offset of field: ",
4904 stringify!(__darwin_x86_float_state64),
4905 "::",
4906 stringify!(__fpu_stmm4)
4907 )
4908 );
4909 assert_eq!(
4910 unsafe {
4911 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_stmm5 as *const _ as usize
4912 },
4913 120usize,
4914 concat!(
4915 "Offset of field: ",
4916 stringify!(__darwin_x86_float_state64),
4917 "::",
4918 stringify!(__fpu_stmm5)
4919 )
4920 );
4921 assert_eq!(
4922 unsafe {
4923 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_stmm6 as *const _ as usize
4924 },
4925 136usize,
4926 concat!(
4927 "Offset of field: ",
4928 stringify!(__darwin_x86_float_state64),
4929 "::",
4930 stringify!(__fpu_stmm6)
4931 )
4932 );
4933 assert_eq!(
4934 unsafe {
4935 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_stmm7 as *const _ as usize
4936 },
4937 152usize,
4938 concat!(
4939 "Offset of field: ",
4940 stringify!(__darwin_x86_float_state64),
4941 "::",
4942 stringify!(__fpu_stmm7)
4943 )
4944 );
4945 assert_eq!(
4946 unsafe {
4947 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm0 as *const _ as usize
4948 },
4949 168usize,
4950 concat!(
4951 "Offset of field: ",
4952 stringify!(__darwin_x86_float_state64),
4953 "::",
4954 stringify!(__fpu_xmm0)
4955 )
4956 );
4957 assert_eq!(
4958 unsafe {
4959 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm1 as *const _ as usize
4960 },
4961 184usize,
4962 concat!(
4963 "Offset of field: ",
4964 stringify!(__darwin_x86_float_state64),
4965 "::",
4966 stringify!(__fpu_xmm1)
4967 )
4968 );
4969 assert_eq!(
4970 unsafe {
4971 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm2 as *const _ as usize
4972 },
4973 200usize,
4974 concat!(
4975 "Offset of field: ",
4976 stringify!(__darwin_x86_float_state64),
4977 "::",
4978 stringify!(__fpu_xmm2)
4979 )
4980 );
4981 assert_eq!(
4982 unsafe {
4983 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm3 as *const _ as usize
4984 },
4985 216usize,
4986 concat!(
4987 "Offset of field: ",
4988 stringify!(__darwin_x86_float_state64),
4989 "::",
4990 stringify!(__fpu_xmm3)
4991 )
4992 );
4993 assert_eq!(
4994 unsafe {
4995 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm4 as *const _ as usize
4996 },
4997 232usize,
4998 concat!(
4999 "Offset of field: ",
5000 stringify!(__darwin_x86_float_state64),
5001 "::",
5002 stringify!(__fpu_xmm4)
5003 )
5004 );
5005 assert_eq!(
5006 unsafe {
5007 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm5 as *const _ as usize
5008 },
5009 248usize,
5010 concat!(
5011 "Offset of field: ",
5012 stringify!(__darwin_x86_float_state64),
5013 "::",
5014 stringify!(__fpu_xmm5)
5015 )
5016 );
5017 assert_eq!(
5018 unsafe {
5019 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm6 as *const _ as usize
5020 },
5021 264usize,
5022 concat!(
5023 "Offset of field: ",
5024 stringify!(__darwin_x86_float_state64),
5025 "::",
5026 stringify!(__fpu_xmm6)
5027 )
5028 );
5029 assert_eq!(
5030 unsafe {
5031 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm7 as *const _ as usize
5032 },
5033 280usize,
5034 concat!(
5035 "Offset of field: ",
5036 stringify!(__darwin_x86_float_state64),
5037 "::",
5038 stringify!(__fpu_xmm7)
5039 )
5040 );
5041 assert_eq!(
5042 unsafe {
5043 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm8 as *const _ as usize
5044 },
5045 296usize,
5046 concat!(
5047 "Offset of field: ",
5048 stringify!(__darwin_x86_float_state64),
5049 "::",
5050 stringify!(__fpu_xmm8)
5051 )
5052 );
5053 assert_eq!(
5054 unsafe {
5055 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm9 as *const _ as usize
5056 },
5057 312usize,
5058 concat!(
5059 "Offset of field: ",
5060 stringify!(__darwin_x86_float_state64),
5061 "::",
5062 stringify!(__fpu_xmm9)
5063 )
5064 );
5065 assert_eq!(
5066 unsafe {
5067 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm10 as *const _ as usize
5068 },
5069 328usize,
5070 concat!(
5071 "Offset of field: ",
5072 stringify!(__darwin_x86_float_state64),
5073 "::",
5074 stringify!(__fpu_xmm10)
5075 )
5076 );
5077 assert_eq!(
5078 unsafe {
5079 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm11 as *const _ as usize
5080 },
5081 344usize,
5082 concat!(
5083 "Offset of field: ",
5084 stringify!(__darwin_x86_float_state64),
5085 "::",
5086 stringify!(__fpu_xmm11)
5087 )
5088 );
5089 assert_eq!(
5090 unsafe {
5091 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm12 as *const _ as usize
5092 },
5093 360usize,
5094 concat!(
5095 "Offset of field: ",
5096 stringify!(__darwin_x86_float_state64),
5097 "::",
5098 stringify!(__fpu_xmm12)
5099 )
5100 );
5101 assert_eq!(
5102 unsafe {
5103 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm13 as *const _ as usize
5104 },
5105 376usize,
5106 concat!(
5107 "Offset of field: ",
5108 stringify!(__darwin_x86_float_state64),
5109 "::",
5110 stringify!(__fpu_xmm13)
5111 )
5112 );
5113 assert_eq!(
5114 unsafe {
5115 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm14 as *const _ as usize
5116 },
5117 392usize,
5118 concat!(
5119 "Offset of field: ",
5120 stringify!(__darwin_x86_float_state64),
5121 "::",
5122 stringify!(__fpu_xmm14)
5123 )
5124 );
5125 assert_eq!(
5126 unsafe {
5127 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm15 as *const _ as usize
5128 },
5129 408usize,
5130 concat!(
5131 "Offset of field: ",
5132 stringify!(__darwin_x86_float_state64),
5133 "::",
5134 stringify!(__fpu_xmm15)
5135 )
5136 );
5137 assert_eq!(
5138 unsafe {
5139 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_rsrv4 as *const _ as usize
5140 },
5141 424usize,
5142 concat!(
5143 "Offset of field: ",
5144 stringify!(__darwin_x86_float_state64),
5145 "::",
5146 stringify!(__fpu_rsrv4)
5147 )
5148 );
5149 assert_eq!(
5150 unsafe {
5151 &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_reserved1 as *const _
5152 as usize
5153 },
5154 520usize,
5155 concat!(
5156 "Offset of field: ",
5157 stringify!(__darwin_x86_float_state64),
5158 "::",
5159 stringify!(__fpu_reserved1)
5160 )
5161 );
5162}
5163#[repr(C)]
5164#[derive(Copy, Clone)]
5165pub struct __darwin_x86_avx_state64 {
5166 pub __fpu_reserved: [::std::os::raw::c_int; 2usize],
5167 pub __fpu_fcw: __darwin_fp_control,
5168 pub __fpu_fsw: __darwin_fp_status,
5169 pub __fpu_ftw: __uint8_t,
5170 pub __fpu_rsrv1: __uint8_t,
5171 pub __fpu_fop: __uint16_t,
5172 pub __fpu_ip: __uint32_t,
5173 pub __fpu_cs: __uint16_t,
5174 pub __fpu_rsrv2: __uint16_t,
5175 pub __fpu_dp: __uint32_t,
5176 pub __fpu_ds: __uint16_t,
5177 pub __fpu_rsrv3: __uint16_t,
5178 pub __fpu_mxcsr: __uint32_t,
5179 pub __fpu_mxcsrmask: __uint32_t,
5180 pub __fpu_stmm0: __darwin_mmst_reg,
5181 pub __fpu_stmm1: __darwin_mmst_reg,
5182 pub __fpu_stmm2: __darwin_mmst_reg,
5183 pub __fpu_stmm3: __darwin_mmst_reg,
5184 pub __fpu_stmm4: __darwin_mmst_reg,
5185 pub __fpu_stmm5: __darwin_mmst_reg,
5186 pub __fpu_stmm6: __darwin_mmst_reg,
5187 pub __fpu_stmm7: __darwin_mmst_reg,
5188 pub __fpu_xmm0: __darwin_xmm_reg,
5189 pub __fpu_xmm1: __darwin_xmm_reg,
5190 pub __fpu_xmm2: __darwin_xmm_reg,
5191 pub __fpu_xmm3: __darwin_xmm_reg,
5192 pub __fpu_xmm4: __darwin_xmm_reg,
5193 pub __fpu_xmm5: __darwin_xmm_reg,
5194 pub __fpu_xmm6: __darwin_xmm_reg,
5195 pub __fpu_xmm7: __darwin_xmm_reg,
5196 pub __fpu_xmm8: __darwin_xmm_reg,
5197 pub __fpu_xmm9: __darwin_xmm_reg,
5198 pub __fpu_xmm10: __darwin_xmm_reg,
5199 pub __fpu_xmm11: __darwin_xmm_reg,
5200 pub __fpu_xmm12: __darwin_xmm_reg,
5201 pub __fpu_xmm13: __darwin_xmm_reg,
5202 pub __fpu_xmm14: __darwin_xmm_reg,
5203 pub __fpu_xmm15: __darwin_xmm_reg,
5204 pub __fpu_rsrv4: [::std::os::raw::c_char; 96usize],
5205 pub __fpu_reserved1: ::std::os::raw::c_int,
5206 pub __avx_reserved1: [::std::os::raw::c_char; 64usize],
5207 pub __fpu_ymmh0: __darwin_xmm_reg,
5208 pub __fpu_ymmh1: __darwin_xmm_reg,
5209 pub __fpu_ymmh2: __darwin_xmm_reg,
5210 pub __fpu_ymmh3: __darwin_xmm_reg,
5211 pub __fpu_ymmh4: __darwin_xmm_reg,
5212 pub __fpu_ymmh5: __darwin_xmm_reg,
5213 pub __fpu_ymmh6: __darwin_xmm_reg,
5214 pub __fpu_ymmh7: __darwin_xmm_reg,
5215 pub __fpu_ymmh8: __darwin_xmm_reg,
5216 pub __fpu_ymmh9: __darwin_xmm_reg,
5217 pub __fpu_ymmh10: __darwin_xmm_reg,
5218 pub __fpu_ymmh11: __darwin_xmm_reg,
5219 pub __fpu_ymmh12: __darwin_xmm_reg,
5220 pub __fpu_ymmh13: __darwin_xmm_reg,
5221 pub __fpu_ymmh14: __darwin_xmm_reg,
5222 pub __fpu_ymmh15: __darwin_xmm_reg,
5223}
5224#[test]
5225fn bindgen_test_layout___darwin_x86_avx_state64() {
5226 assert_eq!(
5227 ::std::mem::size_of::<__darwin_x86_avx_state64>(),
5228 844usize,
5229 concat!("Size of: ", stringify!(__darwin_x86_avx_state64))
5230 );
5231 assert_eq!(
5232 ::std::mem::align_of::<__darwin_x86_avx_state64>(),
5233 4usize,
5234 concat!("Alignment of ", stringify!(__darwin_x86_avx_state64))
5235 );
5236 assert_eq!(
5237 unsafe {
5238 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_reserved as *const _ as usize
5239 },
5240 0usize,
5241 concat!(
5242 "Offset of field: ",
5243 stringify!(__darwin_x86_avx_state64),
5244 "::",
5245 stringify!(__fpu_reserved)
5246 )
5247 );
5248 assert_eq!(
5249 unsafe {
5250 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_fcw as *const _ as usize
5251 },
5252 8usize,
5253 concat!(
5254 "Offset of field: ",
5255 stringify!(__darwin_x86_avx_state64),
5256 "::",
5257 stringify!(__fpu_fcw)
5258 )
5259 );
5260 assert_eq!(
5261 unsafe {
5262 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_fsw as *const _ as usize
5263 },
5264 10usize,
5265 concat!(
5266 "Offset of field: ",
5267 stringify!(__darwin_x86_avx_state64),
5268 "::",
5269 stringify!(__fpu_fsw)
5270 )
5271 );
5272 assert_eq!(
5273 unsafe {
5274 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ftw as *const _ as usize
5275 },
5276 12usize,
5277 concat!(
5278 "Offset of field: ",
5279 stringify!(__darwin_x86_avx_state64),
5280 "::",
5281 stringify!(__fpu_ftw)
5282 )
5283 );
5284 assert_eq!(
5285 unsafe {
5286 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_rsrv1 as *const _ as usize
5287 },
5288 13usize,
5289 concat!(
5290 "Offset of field: ",
5291 stringify!(__darwin_x86_avx_state64),
5292 "::",
5293 stringify!(__fpu_rsrv1)
5294 )
5295 );
5296 assert_eq!(
5297 unsafe {
5298 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_fop as *const _ as usize
5299 },
5300 14usize,
5301 concat!(
5302 "Offset of field: ",
5303 stringify!(__darwin_x86_avx_state64),
5304 "::",
5305 stringify!(__fpu_fop)
5306 )
5307 );
5308 assert_eq!(
5309 unsafe {
5310 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ip as *const _ as usize
5311 },
5312 16usize,
5313 concat!(
5314 "Offset of field: ",
5315 stringify!(__darwin_x86_avx_state64),
5316 "::",
5317 stringify!(__fpu_ip)
5318 )
5319 );
5320 assert_eq!(
5321 unsafe {
5322 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_cs as *const _ as usize
5323 },
5324 20usize,
5325 concat!(
5326 "Offset of field: ",
5327 stringify!(__darwin_x86_avx_state64),
5328 "::",
5329 stringify!(__fpu_cs)
5330 )
5331 );
5332 assert_eq!(
5333 unsafe {
5334 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_rsrv2 as *const _ as usize
5335 },
5336 22usize,
5337 concat!(
5338 "Offset of field: ",
5339 stringify!(__darwin_x86_avx_state64),
5340 "::",
5341 stringify!(__fpu_rsrv2)
5342 )
5343 );
5344 assert_eq!(
5345 unsafe {
5346 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_dp as *const _ as usize
5347 },
5348 24usize,
5349 concat!(
5350 "Offset of field: ",
5351 stringify!(__darwin_x86_avx_state64),
5352 "::",
5353 stringify!(__fpu_dp)
5354 )
5355 );
5356 assert_eq!(
5357 unsafe {
5358 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ds as *const _ as usize
5359 },
5360 28usize,
5361 concat!(
5362 "Offset of field: ",
5363 stringify!(__darwin_x86_avx_state64),
5364 "::",
5365 stringify!(__fpu_ds)
5366 )
5367 );
5368 assert_eq!(
5369 unsafe {
5370 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_rsrv3 as *const _ as usize
5371 },
5372 30usize,
5373 concat!(
5374 "Offset of field: ",
5375 stringify!(__darwin_x86_avx_state64),
5376 "::",
5377 stringify!(__fpu_rsrv3)
5378 )
5379 );
5380 assert_eq!(
5381 unsafe {
5382 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_mxcsr as *const _ as usize
5383 },
5384 32usize,
5385 concat!(
5386 "Offset of field: ",
5387 stringify!(__darwin_x86_avx_state64),
5388 "::",
5389 stringify!(__fpu_mxcsr)
5390 )
5391 );
5392 assert_eq!(
5393 unsafe {
5394 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_mxcsrmask as *const _
5395 as usize
5396 },
5397 36usize,
5398 concat!(
5399 "Offset of field: ",
5400 stringify!(__darwin_x86_avx_state64),
5401 "::",
5402 stringify!(__fpu_mxcsrmask)
5403 )
5404 );
5405 assert_eq!(
5406 unsafe {
5407 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_stmm0 as *const _ as usize
5408 },
5409 40usize,
5410 concat!(
5411 "Offset of field: ",
5412 stringify!(__darwin_x86_avx_state64),
5413 "::",
5414 stringify!(__fpu_stmm0)
5415 )
5416 );
5417 assert_eq!(
5418 unsafe {
5419 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_stmm1 as *const _ as usize
5420 },
5421 56usize,
5422 concat!(
5423 "Offset of field: ",
5424 stringify!(__darwin_x86_avx_state64),
5425 "::",
5426 stringify!(__fpu_stmm1)
5427 )
5428 );
5429 assert_eq!(
5430 unsafe {
5431 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_stmm2 as *const _ as usize
5432 },
5433 72usize,
5434 concat!(
5435 "Offset of field: ",
5436 stringify!(__darwin_x86_avx_state64),
5437 "::",
5438 stringify!(__fpu_stmm2)
5439 )
5440 );
5441 assert_eq!(
5442 unsafe {
5443 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_stmm3 as *const _ as usize
5444 },
5445 88usize,
5446 concat!(
5447 "Offset of field: ",
5448 stringify!(__darwin_x86_avx_state64),
5449 "::",
5450 stringify!(__fpu_stmm3)
5451 )
5452 );
5453 assert_eq!(
5454 unsafe {
5455 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_stmm4 as *const _ as usize
5456 },
5457 104usize,
5458 concat!(
5459 "Offset of field: ",
5460 stringify!(__darwin_x86_avx_state64),
5461 "::",
5462 stringify!(__fpu_stmm4)
5463 )
5464 );
5465 assert_eq!(
5466 unsafe {
5467 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_stmm5 as *const _ as usize
5468 },
5469 120usize,
5470 concat!(
5471 "Offset of field: ",
5472 stringify!(__darwin_x86_avx_state64),
5473 "::",
5474 stringify!(__fpu_stmm5)
5475 )
5476 );
5477 assert_eq!(
5478 unsafe {
5479 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_stmm6 as *const _ as usize
5480 },
5481 136usize,
5482 concat!(
5483 "Offset of field: ",
5484 stringify!(__darwin_x86_avx_state64),
5485 "::",
5486 stringify!(__fpu_stmm6)
5487 )
5488 );
5489 assert_eq!(
5490 unsafe {
5491 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_stmm7 as *const _ as usize
5492 },
5493 152usize,
5494 concat!(
5495 "Offset of field: ",
5496 stringify!(__darwin_x86_avx_state64),
5497 "::",
5498 stringify!(__fpu_stmm7)
5499 )
5500 );
5501 assert_eq!(
5502 unsafe {
5503 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm0 as *const _ as usize
5504 },
5505 168usize,
5506 concat!(
5507 "Offset of field: ",
5508 stringify!(__darwin_x86_avx_state64),
5509 "::",
5510 stringify!(__fpu_xmm0)
5511 )
5512 );
5513 assert_eq!(
5514 unsafe {
5515 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm1 as *const _ as usize
5516 },
5517 184usize,
5518 concat!(
5519 "Offset of field: ",
5520 stringify!(__darwin_x86_avx_state64),
5521 "::",
5522 stringify!(__fpu_xmm1)
5523 )
5524 );
5525 assert_eq!(
5526 unsafe {
5527 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm2 as *const _ as usize
5528 },
5529 200usize,
5530 concat!(
5531 "Offset of field: ",
5532 stringify!(__darwin_x86_avx_state64),
5533 "::",
5534 stringify!(__fpu_xmm2)
5535 )
5536 );
5537 assert_eq!(
5538 unsafe {
5539 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm3 as *const _ as usize
5540 },
5541 216usize,
5542 concat!(
5543 "Offset of field: ",
5544 stringify!(__darwin_x86_avx_state64),
5545 "::",
5546 stringify!(__fpu_xmm3)
5547 )
5548 );
5549 assert_eq!(
5550 unsafe {
5551 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm4 as *const _ as usize
5552 },
5553 232usize,
5554 concat!(
5555 "Offset of field: ",
5556 stringify!(__darwin_x86_avx_state64),
5557 "::",
5558 stringify!(__fpu_xmm4)
5559 )
5560 );
5561 assert_eq!(
5562 unsafe {
5563 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm5 as *const _ as usize
5564 },
5565 248usize,
5566 concat!(
5567 "Offset of field: ",
5568 stringify!(__darwin_x86_avx_state64),
5569 "::",
5570 stringify!(__fpu_xmm5)
5571 )
5572 );
5573 assert_eq!(
5574 unsafe {
5575 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm6 as *const _ as usize
5576 },
5577 264usize,
5578 concat!(
5579 "Offset of field: ",
5580 stringify!(__darwin_x86_avx_state64),
5581 "::",
5582 stringify!(__fpu_xmm6)
5583 )
5584 );
5585 assert_eq!(
5586 unsafe {
5587 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm7 as *const _ as usize
5588 },
5589 280usize,
5590 concat!(
5591 "Offset of field: ",
5592 stringify!(__darwin_x86_avx_state64),
5593 "::",
5594 stringify!(__fpu_xmm7)
5595 )
5596 );
5597 assert_eq!(
5598 unsafe {
5599 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm8 as *const _ as usize
5600 },
5601 296usize,
5602 concat!(
5603 "Offset of field: ",
5604 stringify!(__darwin_x86_avx_state64),
5605 "::",
5606 stringify!(__fpu_xmm8)
5607 )
5608 );
5609 assert_eq!(
5610 unsafe {
5611 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm9 as *const _ as usize
5612 },
5613 312usize,
5614 concat!(
5615 "Offset of field: ",
5616 stringify!(__darwin_x86_avx_state64),
5617 "::",
5618 stringify!(__fpu_xmm9)
5619 )
5620 );
5621 assert_eq!(
5622 unsafe {
5623 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm10 as *const _ as usize
5624 },
5625 328usize,
5626 concat!(
5627 "Offset of field: ",
5628 stringify!(__darwin_x86_avx_state64),
5629 "::",
5630 stringify!(__fpu_xmm10)
5631 )
5632 );
5633 assert_eq!(
5634 unsafe {
5635 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm11 as *const _ as usize
5636 },
5637 344usize,
5638 concat!(
5639 "Offset of field: ",
5640 stringify!(__darwin_x86_avx_state64),
5641 "::",
5642 stringify!(__fpu_xmm11)
5643 )
5644 );
5645 assert_eq!(
5646 unsafe {
5647 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm12 as *const _ as usize
5648 },
5649 360usize,
5650 concat!(
5651 "Offset of field: ",
5652 stringify!(__darwin_x86_avx_state64),
5653 "::",
5654 stringify!(__fpu_xmm12)
5655 )
5656 );
5657 assert_eq!(
5658 unsafe {
5659 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm13 as *const _ as usize
5660 },
5661 376usize,
5662 concat!(
5663 "Offset of field: ",
5664 stringify!(__darwin_x86_avx_state64),
5665 "::",
5666 stringify!(__fpu_xmm13)
5667 )
5668 );
5669 assert_eq!(
5670 unsafe {
5671 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm14 as *const _ as usize
5672 },
5673 392usize,
5674 concat!(
5675 "Offset of field: ",
5676 stringify!(__darwin_x86_avx_state64),
5677 "::",
5678 stringify!(__fpu_xmm14)
5679 )
5680 );
5681 assert_eq!(
5682 unsafe {
5683 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm15 as *const _ as usize
5684 },
5685 408usize,
5686 concat!(
5687 "Offset of field: ",
5688 stringify!(__darwin_x86_avx_state64),
5689 "::",
5690 stringify!(__fpu_xmm15)
5691 )
5692 );
5693 assert_eq!(
5694 unsafe {
5695 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_rsrv4 as *const _ as usize
5696 },
5697 424usize,
5698 concat!(
5699 "Offset of field: ",
5700 stringify!(__darwin_x86_avx_state64),
5701 "::",
5702 stringify!(__fpu_rsrv4)
5703 )
5704 );
5705 assert_eq!(
5706 unsafe {
5707 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_reserved1 as *const _
5708 as usize
5709 },
5710 520usize,
5711 concat!(
5712 "Offset of field: ",
5713 stringify!(__darwin_x86_avx_state64),
5714 "::",
5715 stringify!(__fpu_reserved1)
5716 )
5717 );
5718 assert_eq!(
5719 unsafe {
5720 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__avx_reserved1 as *const _
5721 as usize
5722 },
5723 524usize,
5724 concat!(
5725 "Offset of field: ",
5726 stringify!(__darwin_x86_avx_state64),
5727 "::",
5728 stringify!(__avx_reserved1)
5729 )
5730 );
5731 assert_eq!(
5732 unsafe {
5733 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh0 as *const _ as usize
5734 },
5735 588usize,
5736 concat!(
5737 "Offset of field: ",
5738 stringify!(__darwin_x86_avx_state64),
5739 "::",
5740 stringify!(__fpu_ymmh0)
5741 )
5742 );
5743 assert_eq!(
5744 unsafe {
5745 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh1 as *const _ as usize
5746 },
5747 604usize,
5748 concat!(
5749 "Offset of field: ",
5750 stringify!(__darwin_x86_avx_state64),
5751 "::",
5752 stringify!(__fpu_ymmh1)
5753 )
5754 );
5755 assert_eq!(
5756 unsafe {
5757 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh2 as *const _ as usize
5758 },
5759 620usize,
5760 concat!(
5761 "Offset of field: ",
5762 stringify!(__darwin_x86_avx_state64),
5763 "::",
5764 stringify!(__fpu_ymmh2)
5765 )
5766 );
5767 assert_eq!(
5768 unsafe {
5769 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh3 as *const _ as usize
5770 },
5771 636usize,
5772 concat!(
5773 "Offset of field: ",
5774 stringify!(__darwin_x86_avx_state64),
5775 "::",
5776 stringify!(__fpu_ymmh3)
5777 )
5778 );
5779 assert_eq!(
5780 unsafe {
5781 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh4 as *const _ as usize
5782 },
5783 652usize,
5784 concat!(
5785 "Offset of field: ",
5786 stringify!(__darwin_x86_avx_state64),
5787 "::",
5788 stringify!(__fpu_ymmh4)
5789 )
5790 );
5791 assert_eq!(
5792 unsafe {
5793 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh5 as *const _ as usize
5794 },
5795 668usize,
5796 concat!(
5797 "Offset of field: ",
5798 stringify!(__darwin_x86_avx_state64),
5799 "::",
5800 stringify!(__fpu_ymmh5)
5801 )
5802 );
5803 assert_eq!(
5804 unsafe {
5805 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh6 as *const _ as usize
5806 },
5807 684usize,
5808 concat!(
5809 "Offset of field: ",
5810 stringify!(__darwin_x86_avx_state64),
5811 "::",
5812 stringify!(__fpu_ymmh6)
5813 )
5814 );
5815 assert_eq!(
5816 unsafe {
5817 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh7 as *const _ as usize
5818 },
5819 700usize,
5820 concat!(
5821 "Offset of field: ",
5822 stringify!(__darwin_x86_avx_state64),
5823 "::",
5824 stringify!(__fpu_ymmh7)
5825 )
5826 );
5827 assert_eq!(
5828 unsafe {
5829 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh8 as *const _ as usize
5830 },
5831 716usize,
5832 concat!(
5833 "Offset of field: ",
5834 stringify!(__darwin_x86_avx_state64),
5835 "::",
5836 stringify!(__fpu_ymmh8)
5837 )
5838 );
5839 assert_eq!(
5840 unsafe {
5841 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh9 as *const _ as usize
5842 },
5843 732usize,
5844 concat!(
5845 "Offset of field: ",
5846 stringify!(__darwin_x86_avx_state64),
5847 "::",
5848 stringify!(__fpu_ymmh9)
5849 )
5850 );
5851 assert_eq!(
5852 unsafe {
5853 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh10 as *const _ as usize
5854 },
5855 748usize,
5856 concat!(
5857 "Offset of field: ",
5858 stringify!(__darwin_x86_avx_state64),
5859 "::",
5860 stringify!(__fpu_ymmh10)
5861 )
5862 );
5863 assert_eq!(
5864 unsafe {
5865 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh11 as *const _ as usize
5866 },
5867 764usize,
5868 concat!(
5869 "Offset of field: ",
5870 stringify!(__darwin_x86_avx_state64),
5871 "::",
5872 stringify!(__fpu_ymmh11)
5873 )
5874 );
5875 assert_eq!(
5876 unsafe {
5877 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh12 as *const _ as usize
5878 },
5879 780usize,
5880 concat!(
5881 "Offset of field: ",
5882 stringify!(__darwin_x86_avx_state64),
5883 "::",
5884 stringify!(__fpu_ymmh12)
5885 )
5886 );
5887 assert_eq!(
5888 unsafe {
5889 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh13 as *const _ as usize
5890 },
5891 796usize,
5892 concat!(
5893 "Offset of field: ",
5894 stringify!(__darwin_x86_avx_state64),
5895 "::",
5896 stringify!(__fpu_ymmh13)
5897 )
5898 );
5899 assert_eq!(
5900 unsafe {
5901 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh14 as *const _ as usize
5902 },
5903 812usize,
5904 concat!(
5905 "Offset of field: ",
5906 stringify!(__darwin_x86_avx_state64),
5907 "::",
5908 stringify!(__fpu_ymmh14)
5909 )
5910 );
5911 assert_eq!(
5912 unsafe {
5913 &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh15 as *const _ as usize
5914 },
5915 828usize,
5916 concat!(
5917 "Offset of field: ",
5918 stringify!(__darwin_x86_avx_state64),
5919 "::",
5920 stringify!(__fpu_ymmh15)
5921 )
5922 );
5923}
5924#[repr(C)]
5925#[derive(Copy, Clone)]
5926pub struct __darwin_x86_avx512_state64 {
5927 pub __fpu_reserved: [::std::os::raw::c_int; 2usize],
5928 pub __fpu_fcw: __darwin_fp_control,
5929 pub __fpu_fsw: __darwin_fp_status,
5930 pub __fpu_ftw: __uint8_t,
5931 pub __fpu_rsrv1: __uint8_t,
5932 pub __fpu_fop: __uint16_t,
5933 pub __fpu_ip: __uint32_t,
5934 pub __fpu_cs: __uint16_t,
5935 pub __fpu_rsrv2: __uint16_t,
5936 pub __fpu_dp: __uint32_t,
5937 pub __fpu_ds: __uint16_t,
5938 pub __fpu_rsrv3: __uint16_t,
5939 pub __fpu_mxcsr: __uint32_t,
5940 pub __fpu_mxcsrmask: __uint32_t,
5941 pub __fpu_stmm0: __darwin_mmst_reg,
5942 pub __fpu_stmm1: __darwin_mmst_reg,
5943 pub __fpu_stmm2: __darwin_mmst_reg,
5944 pub __fpu_stmm3: __darwin_mmst_reg,
5945 pub __fpu_stmm4: __darwin_mmst_reg,
5946 pub __fpu_stmm5: __darwin_mmst_reg,
5947 pub __fpu_stmm6: __darwin_mmst_reg,
5948 pub __fpu_stmm7: __darwin_mmst_reg,
5949 pub __fpu_xmm0: __darwin_xmm_reg,
5950 pub __fpu_xmm1: __darwin_xmm_reg,
5951 pub __fpu_xmm2: __darwin_xmm_reg,
5952 pub __fpu_xmm3: __darwin_xmm_reg,
5953 pub __fpu_xmm4: __darwin_xmm_reg,
5954 pub __fpu_xmm5: __darwin_xmm_reg,
5955 pub __fpu_xmm6: __darwin_xmm_reg,
5956 pub __fpu_xmm7: __darwin_xmm_reg,
5957 pub __fpu_xmm8: __darwin_xmm_reg,
5958 pub __fpu_xmm9: __darwin_xmm_reg,
5959 pub __fpu_xmm10: __darwin_xmm_reg,
5960 pub __fpu_xmm11: __darwin_xmm_reg,
5961 pub __fpu_xmm12: __darwin_xmm_reg,
5962 pub __fpu_xmm13: __darwin_xmm_reg,
5963 pub __fpu_xmm14: __darwin_xmm_reg,
5964 pub __fpu_xmm15: __darwin_xmm_reg,
5965 pub __fpu_rsrv4: [::std::os::raw::c_char; 96usize],
5966 pub __fpu_reserved1: ::std::os::raw::c_int,
5967 pub __avx_reserved1: [::std::os::raw::c_char; 64usize],
5968 pub __fpu_ymmh0: __darwin_xmm_reg,
5969 pub __fpu_ymmh1: __darwin_xmm_reg,
5970 pub __fpu_ymmh2: __darwin_xmm_reg,
5971 pub __fpu_ymmh3: __darwin_xmm_reg,
5972 pub __fpu_ymmh4: __darwin_xmm_reg,
5973 pub __fpu_ymmh5: __darwin_xmm_reg,
5974 pub __fpu_ymmh6: __darwin_xmm_reg,
5975 pub __fpu_ymmh7: __darwin_xmm_reg,
5976 pub __fpu_ymmh8: __darwin_xmm_reg,
5977 pub __fpu_ymmh9: __darwin_xmm_reg,
5978 pub __fpu_ymmh10: __darwin_xmm_reg,
5979 pub __fpu_ymmh11: __darwin_xmm_reg,
5980 pub __fpu_ymmh12: __darwin_xmm_reg,
5981 pub __fpu_ymmh13: __darwin_xmm_reg,
5982 pub __fpu_ymmh14: __darwin_xmm_reg,
5983 pub __fpu_ymmh15: __darwin_xmm_reg,
5984 pub __fpu_k0: __darwin_opmask_reg,
5985 pub __fpu_k1: __darwin_opmask_reg,
5986 pub __fpu_k2: __darwin_opmask_reg,
5987 pub __fpu_k3: __darwin_opmask_reg,
5988 pub __fpu_k4: __darwin_opmask_reg,
5989 pub __fpu_k5: __darwin_opmask_reg,
5990 pub __fpu_k6: __darwin_opmask_reg,
5991 pub __fpu_k7: __darwin_opmask_reg,
5992 pub __fpu_zmmh0: __darwin_ymm_reg,
5993 pub __fpu_zmmh1: __darwin_ymm_reg,
5994 pub __fpu_zmmh2: __darwin_ymm_reg,
5995 pub __fpu_zmmh3: __darwin_ymm_reg,
5996 pub __fpu_zmmh4: __darwin_ymm_reg,
5997 pub __fpu_zmmh5: __darwin_ymm_reg,
5998 pub __fpu_zmmh6: __darwin_ymm_reg,
5999 pub __fpu_zmmh7: __darwin_ymm_reg,
6000 pub __fpu_zmmh8: __darwin_ymm_reg,
6001 pub __fpu_zmmh9: __darwin_ymm_reg,
6002 pub __fpu_zmmh10: __darwin_ymm_reg,
6003 pub __fpu_zmmh11: __darwin_ymm_reg,
6004 pub __fpu_zmmh12: __darwin_ymm_reg,
6005 pub __fpu_zmmh13: __darwin_ymm_reg,
6006 pub __fpu_zmmh14: __darwin_ymm_reg,
6007 pub __fpu_zmmh15: __darwin_ymm_reg,
6008 pub __fpu_zmm16: __darwin_zmm_reg,
6009 pub __fpu_zmm17: __darwin_zmm_reg,
6010 pub __fpu_zmm18: __darwin_zmm_reg,
6011 pub __fpu_zmm19: __darwin_zmm_reg,
6012 pub __fpu_zmm20: __darwin_zmm_reg,
6013 pub __fpu_zmm21: __darwin_zmm_reg,
6014 pub __fpu_zmm22: __darwin_zmm_reg,
6015 pub __fpu_zmm23: __darwin_zmm_reg,
6016 pub __fpu_zmm24: __darwin_zmm_reg,
6017 pub __fpu_zmm25: __darwin_zmm_reg,
6018 pub __fpu_zmm26: __darwin_zmm_reg,
6019 pub __fpu_zmm27: __darwin_zmm_reg,
6020 pub __fpu_zmm28: __darwin_zmm_reg,
6021 pub __fpu_zmm29: __darwin_zmm_reg,
6022 pub __fpu_zmm30: __darwin_zmm_reg,
6023 pub __fpu_zmm31: __darwin_zmm_reg,
6024}
6025#[test]
6026fn bindgen_test_layout___darwin_x86_avx512_state64() {
6027 assert_eq!(
6028 ::std::mem::size_of::<__darwin_x86_avx512_state64>(),
6029 2444usize,
6030 concat!("Size of: ", stringify!(__darwin_x86_avx512_state64))
6031 );
6032 assert_eq!(
6033 ::std::mem::align_of::<__darwin_x86_avx512_state64>(),
6034 4usize,
6035 concat!("Alignment of ", stringify!(__darwin_x86_avx512_state64))
6036 );
6037 assert_eq!(
6038 unsafe {
6039 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_reserved as *const _
6040 as usize
6041 },
6042 0usize,
6043 concat!(
6044 "Offset of field: ",
6045 stringify!(__darwin_x86_avx512_state64),
6046 "::",
6047 stringify!(__fpu_reserved)
6048 )
6049 );
6050 assert_eq!(
6051 unsafe {
6052 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_fcw as *const _ as usize
6053 },
6054 8usize,
6055 concat!(
6056 "Offset of field: ",
6057 stringify!(__darwin_x86_avx512_state64),
6058 "::",
6059 stringify!(__fpu_fcw)
6060 )
6061 );
6062 assert_eq!(
6063 unsafe {
6064 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_fsw as *const _ as usize
6065 },
6066 10usize,
6067 concat!(
6068 "Offset of field: ",
6069 stringify!(__darwin_x86_avx512_state64),
6070 "::",
6071 stringify!(__fpu_fsw)
6072 )
6073 );
6074 assert_eq!(
6075 unsafe {
6076 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ftw as *const _ as usize
6077 },
6078 12usize,
6079 concat!(
6080 "Offset of field: ",
6081 stringify!(__darwin_x86_avx512_state64),
6082 "::",
6083 stringify!(__fpu_ftw)
6084 )
6085 );
6086 assert_eq!(
6087 unsafe {
6088 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_rsrv1 as *const _ as usize
6089 },
6090 13usize,
6091 concat!(
6092 "Offset of field: ",
6093 stringify!(__darwin_x86_avx512_state64),
6094 "::",
6095 stringify!(__fpu_rsrv1)
6096 )
6097 );
6098 assert_eq!(
6099 unsafe {
6100 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_fop as *const _ as usize
6101 },
6102 14usize,
6103 concat!(
6104 "Offset of field: ",
6105 stringify!(__darwin_x86_avx512_state64),
6106 "::",
6107 stringify!(__fpu_fop)
6108 )
6109 );
6110 assert_eq!(
6111 unsafe {
6112 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ip as *const _ as usize
6113 },
6114 16usize,
6115 concat!(
6116 "Offset of field: ",
6117 stringify!(__darwin_x86_avx512_state64),
6118 "::",
6119 stringify!(__fpu_ip)
6120 )
6121 );
6122 assert_eq!(
6123 unsafe {
6124 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_cs as *const _ as usize
6125 },
6126 20usize,
6127 concat!(
6128 "Offset of field: ",
6129 stringify!(__darwin_x86_avx512_state64),
6130 "::",
6131 stringify!(__fpu_cs)
6132 )
6133 );
6134 assert_eq!(
6135 unsafe {
6136 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_rsrv2 as *const _ as usize
6137 },
6138 22usize,
6139 concat!(
6140 "Offset of field: ",
6141 stringify!(__darwin_x86_avx512_state64),
6142 "::",
6143 stringify!(__fpu_rsrv2)
6144 )
6145 );
6146 assert_eq!(
6147 unsafe {
6148 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_dp as *const _ as usize
6149 },
6150 24usize,
6151 concat!(
6152 "Offset of field: ",
6153 stringify!(__darwin_x86_avx512_state64),
6154 "::",
6155 stringify!(__fpu_dp)
6156 )
6157 );
6158 assert_eq!(
6159 unsafe {
6160 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ds as *const _ as usize
6161 },
6162 28usize,
6163 concat!(
6164 "Offset of field: ",
6165 stringify!(__darwin_x86_avx512_state64),
6166 "::",
6167 stringify!(__fpu_ds)
6168 )
6169 );
6170 assert_eq!(
6171 unsafe {
6172 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_rsrv3 as *const _ as usize
6173 },
6174 30usize,
6175 concat!(
6176 "Offset of field: ",
6177 stringify!(__darwin_x86_avx512_state64),
6178 "::",
6179 stringify!(__fpu_rsrv3)
6180 )
6181 );
6182 assert_eq!(
6183 unsafe {
6184 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_mxcsr as *const _ as usize
6185 },
6186 32usize,
6187 concat!(
6188 "Offset of field: ",
6189 stringify!(__darwin_x86_avx512_state64),
6190 "::",
6191 stringify!(__fpu_mxcsr)
6192 )
6193 );
6194 assert_eq!(
6195 unsafe {
6196 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_mxcsrmask as *const _
6197 as usize
6198 },
6199 36usize,
6200 concat!(
6201 "Offset of field: ",
6202 stringify!(__darwin_x86_avx512_state64),
6203 "::",
6204 stringify!(__fpu_mxcsrmask)
6205 )
6206 );
6207 assert_eq!(
6208 unsafe {
6209 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_stmm0 as *const _ as usize
6210 },
6211 40usize,
6212 concat!(
6213 "Offset of field: ",
6214 stringify!(__darwin_x86_avx512_state64),
6215 "::",
6216 stringify!(__fpu_stmm0)
6217 )
6218 );
6219 assert_eq!(
6220 unsafe {
6221 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_stmm1 as *const _ as usize
6222 },
6223 56usize,
6224 concat!(
6225 "Offset of field: ",
6226 stringify!(__darwin_x86_avx512_state64),
6227 "::",
6228 stringify!(__fpu_stmm1)
6229 )
6230 );
6231 assert_eq!(
6232 unsafe {
6233 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_stmm2 as *const _ as usize
6234 },
6235 72usize,
6236 concat!(
6237 "Offset of field: ",
6238 stringify!(__darwin_x86_avx512_state64),
6239 "::",
6240 stringify!(__fpu_stmm2)
6241 )
6242 );
6243 assert_eq!(
6244 unsafe {
6245 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_stmm3 as *const _ as usize
6246 },
6247 88usize,
6248 concat!(
6249 "Offset of field: ",
6250 stringify!(__darwin_x86_avx512_state64),
6251 "::",
6252 stringify!(__fpu_stmm3)
6253 )
6254 );
6255 assert_eq!(
6256 unsafe {
6257 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_stmm4 as *const _ as usize
6258 },
6259 104usize,
6260 concat!(
6261 "Offset of field: ",
6262 stringify!(__darwin_x86_avx512_state64),
6263 "::",
6264 stringify!(__fpu_stmm4)
6265 )
6266 );
6267 assert_eq!(
6268 unsafe {
6269 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_stmm5 as *const _ as usize
6270 },
6271 120usize,
6272 concat!(
6273 "Offset of field: ",
6274 stringify!(__darwin_x86_avx512_state64),
6275 "::",
6276 stringify!(__fpu_stmm5)
6277 )
6278 );
6279 assert_eq!(
6280 unsafe {
6281 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_stmm6 as *const _ as usize
6282 },
6283 136usize,
6284 concat!(
6285 "Offset of field: ",
6286 stringify!(__darwin_x86_avx512_state64),
6287 "::",
6288 stringify!(__fpu_stmm6)
6289 )
6290 );
6291 assert_eq!(
6292 unsafe {
6293 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_stmm7 as *const _ as usize
6294 },
6295 152usize,
6296 concat!(
6297 "Offset of field: ",
6298 stringify!(__darwin_x86_avx512_state64),
6299 "::",
6300 stringify!(__fpu_stmm7)
6301 )
6302 );
6303 assert_eq!(
6304 unsafe {
6305 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm0 as *const _ as usize
6306 },
6307 168usize,
6308 concat!(
6309 "Offset of field: ",
6310 stringify!(__darwin_x86_avx512_state64),
6311 "::",
6312 stringify!(__fpu_xmm0)
6313 )
6314 );
6315 assert_eq!(
6316 unsafe {
6317 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm1 as *const _ as usize
6318 },
6319 184usize,
6320 concat!(
6321 "Offset of field: ",
6322 stringify!(__darwin_x86_avx512_state64),
6323 "::",
6324 stringify!(__fpu_xmm1)
6325 )
6326 );
6327 assert_eq!(
6328 unsafe {
6329 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm2 as *const _ as usize
6330 },
6331 200usize,
6332 concat!(
6333 "Offset of field: ",
6334 stringify!(__darwin_x86_avx512_state64),
6335 "::",
6336 stringify!(__fpu_xmm2)
6337 )
6338 );
6339 assert_eq!(
6340 unsafe {
6341 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm3 as *const _ as usize
6342 },
6343 216usize,
6344 concat!(
6345 "Offset of field: ",
6346 stringify!(__darwin_x86_avx512_state64),
6347 "::",
6348 stringify!(__fpu_xmm3)
6349 )
6350 );
6351 assert_eq!(
6352 unsafe {
6353 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm4 as *const _ as usize
6354 },
6355 232usize,
6356 concat!(
6357 "Offset of field: ",
6358 stringify!(__darwin_x86_avx512_state64),
6359 "::",
6360 stringify!(__fpu_xmm4)
6361 )
6362 );
6363 assert_eq!(
6364 unsafe {
6365 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm5 as *const _ as usize
6366 },
6367 248usize,
6368 concat!(
6369 "Offset of field: ",
6370 stringify!(__darwin_x86_avx512_state64),
6371 "::",
6372 stringify!(__fpu_xmm5)
6373 )
6374 );
6375 assert_eq!(
6376 unsafe {
6377 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm6 as *const _ as usize
6378 },
6379 264usize,
6380 concat!(
6381 "Offset of field: ",
6382 stringify!(__darwin_x86_avx512_state64),
6383 "::",
6384 stringify!(__fpu_xmm6)
6385 )
6386 );
6387 assert_eq!(
6388 unsafe {
6389 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm7 as *const _ as usize
6390 },
6391 280usize,
6392 concat!(
6393 "Offset of field: ",
6394 stringify!(__darwin_x86_avx512_state64),
6395 "::",
6396 stringify!(__fpu_xmm7)
6397 )
6398 );
6399 assert_eq!(
6400 unsafe {
6401 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm8 as *const _ as usize
6402 },
6403 296usize,
6404 concat!(
6405 "Offset of field: ",
6406 stringify!(__darwin_x86_avx512_state64),
6407 "::",
6408 stringify!(__fpu_xmm8)
6409 )
6410 );
6411 assert_eq!(
6412 unsafe {
6413 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm9 as *const _ as usize
6414 },
6415 312usize,
6416 concat!(
6417 "Offset of field: ",
6418 stringify!(__darwin_x86_avx512_state64),
6419 "::",
6420 stringify!(__fpu_xmm9)
6421 )
6422 );
6423 assert_eq!(
6424 unsafe {
6425 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm10 as *const _ as usize
6426 },
6427 328usize,
6428 concat!(
6429 "Offset of field: ",
6430 stringify!(__darwin_x86_avx512_state64),
6431 "::",
6432 stringify!(__fpu_xmm10)
6433 )
6434 );
6435 assert_eq!(
6436 unsafe {
6437 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm11 as *const _ as usize
6438 },
6439 344usize,
6440 concat!(
6441 "Offset of field: ",
6442 stringify!(__darwin_x86_avx512_state64),
6443 "::",
6444 stringify!(__fpu_xmm11)
6445 )
6446 );
6447 assert_eq!(
6448 unsafe {
6449 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm12 as *const _ as usize
6450 },
6451 360usize,
6452 concat!(
6453 "Offset of field: ",
6454 stringify!(__darwin_x86_avx512_state64),
6455 "::",
6456 stringify!(__fpu_xmm12)
6457 )
6458 );
6459 assert_eq!(
6460 unsafe {
6461 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm13 as *const _ as usize
6462 },
6463 376usize,
6464 concat!(
6465 "Offset of field: ",
6466 stringify!(__darwin_x86_avx512_state64),
6467 "::",
6468 stringify!(__fpu_xmm13)
6469 )
6470 );
6471 assert_eq!(
6472 unsafe {
6473 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm14 as *const _ as usize
6474 },
6475 392usize,
6476 concat!(
6477 "Offset of field: ",
6478 stringify!(__darwin_x86_avx512_state64),
6479 "::",
6480 stringify!(__fpu_xmm14)
6481 )
6482 );
6483 assert_eq!(
6484 unsafe {
6485 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm15 as *const _ as usize
6486 },
6487 408usize,
6488 concat!(
6489 "Offset of field: ",
6490 stringify!(__darwin_x86_avx512_state64),
6491 "::",
6492 stringify!(__fpu_xmm15)
6493 )
6494 );
6495 assert_eq!(
6496 unsafe {
6497 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_rsrv4 as *const _ as usize
6498 },
6499 424usize,
6500 concat!(
6501 "Offset of field: ",
6502 stringify!(__darwin_x86_avx512_state64),
6503 "::",
6504 stringify!(__fpu_rsrv4)
6505 )
6506 );
6507 assert_eq!(
6508 unsafe {
6509 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_reserved1 as *const _
6510 as usize
6511 },
6512 520usize,
6513 concat!(
6514 "Offset of field: ",
6515 stringify!(__darwin_x86_avx512_state64),
6516 "::",
6517 stringify!(__fpu_reserved1)
6518 )
6519 );
6520 assert_eq!(
6521 unsafe {
6522 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__avx_reserved1 as *const _
6523 as usize
6524 },
6525 524usize,
6526 concat!(
6527 "Offset of field: ",
6528 stringify!(__darwin_x86_avx512_state64),
6529 "::",
6530 stringify!(__avx_reserved1)
6531 )
6532 );
6533 assert_eq!(
6534 unsafe {
6535 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh0 as *const _ as usize
6536 },
6537 588usize,
6538 concat!(
6539 "Offset of field: ",
6540 stringify!(__darwin_x86_avx512_state64),
6541 "::",
6542 stringify!(__fpu_ymmh0)
6543 )
6544 );
6545 assert_eq!(
6546 unsafe {
6547 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh1 as *const _ as usize
6548 },
6549 604usize,
6550 concat!(
6551 "Offset of field: ",
6552 stringify!(__darwin_x86_avx512_state64),
6553 "::",
6554 stringify!(__fpu_ymmh1)
6555 )
6556 );
6557 assert_eq!(
6558 unsafe {
6559 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh2 as *const _ as usize
6560 },
6561 620usize,
6562 concat!(
6563 "Offset of field: ",
6564 stringify!(__darwin_x86_avx512_state64),
6565 "::",
6566 stringify!(__fpu_ymmh2)
6567 )
6568 );
6569 assert_eq!(
6570 unsafe {
6571 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh3 as *const _ as usize
6572 },
6573 636usize,
6574 concat!(
6575 "Offset of field: ",
6576 stringify!(__darwin_x86_avx512_state64),
6577 "::",
6578 stringify!(__fpu_ymmh3)
6579 )
6580 );
6581 assert_eq!(
6582 unsafe {
6583 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh4 as *const _ as usize
6584 },
6585 652usize,
6586 concat!(
6587 "Offset of field: ",
6588 stringify!(__darwin_x86_avx512_state64),
6589 "::",
6590 stringify!(__fpu_ymmh4)
6591 )
6592 );
6593 assert_eq!(
6594 unsafe {
6595 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh5 as *const _ as usize
6596 },
6597 668usize,
6598 concat!(
6599 "Offset of field: ",
6600 stringify!(__darwin_x86_avx512_state64),
6601 "::",
6602 stringify!(__fpu_ymmh5)
6603 )
6604 );
6605 assert_eq!(
6606 unsafe {
6607 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh6 as *const _ as usize
6608 },
6609 684usize,
6610 concat!(
6611 "Offset of field: ",
6612 stringify!(__darwin_x86_avx512_state64),
6613 "::",
6614 stringify!(__fpu_ymmh6)
6615 )
6616 );
6617 assert_eq!(
6618 unsafe {
6619 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh7 as *const _ as usize
6620 },
6621 700usize,
6622 concat!(
6623 "Offset of field: ",
6624 stringify!(__darwin_x86_avx512_state64),
6625 "::",
6626 stringify!(__fpu_ymmh7)
6627 )
6628 );
6629 assert_eq!(
6630 unsafe {
6631 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh8 as *const _ as usize
6632 },
6633 716usize,
6634 concat!(
6635 "Offset of field: ",
6636 stringify!(__darwin_x86_avx512_state64),
6637 "::",
6638 stringify!(__fpu_ymmh8)
6639 )
6640 );
6641 assert_eq!(
6642 unsafe {
6643 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh9 as *const _ as usize
6644 },
6645 732usize,
6646 concat!(
6647 "Offset of field: ",
6648 stringify!(__darwin_x86_avx512_state64),
6649 "::",
6650 stringify!(__fpu_ymmh9)
6651 )
6652 );
6653 assert_eq!(
6654 unsafe {
6655 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh10 as *const _
6656 as usize
6657 },
6658 748usize,
6659 concat!(
6660 "Offset of field: ",
6661 stringify!(__darwin_x86_avx512_state64),
6662 "::",
6663 stringify!(__fpu_ymmh10)
6664 )
6665 );
6666 assert_eq!(
6667 unsafe {
6668 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh11 as *const _
6669 as usize
6670 },
6671 764usize,
6672 concat!(
6673 "Offset of field: ",
6674 stringify!(__darwin_x86_avx512_state64),
6675 "::",
6676 stringify!(__fpu_ymmh11)
6677 )
6678 );
6679 assert_eq!(
6680 unsafe {
6681 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh12 as *const _
6682 as usize
6683 },
6684 780usize,
6685 concat!(
6686 "Offset of field: ",
6687 stringify!(__darwin_x86_avx512_state64),
6688 "::",
6689 stringify!(__fpu_ymmh12)
6690 )
6691 );
6692 assert_eq!(
6693 unsafe {
6694 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh13 as *const _
6695 as usize
6696 },
6697 796usize,
6698 concat!(
6699 "Offset of field: ",
6700 stringify!(__darwin_x86_avx512_state64),
6701 "::",
6702 stringify!(__fpu_ymmh13)
6703 )
6704 );
6705 assert_eq!(
6706 unsafe {
6707 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh14 as *const _
6708 as usize
6709 },
6710 812usize,
6711 concat!(
6712 "Offset of field: ",
6713 stringify!(__darwin_x86_avx512_state64),
6714 "::",
6715 stringify!(__fpu_ymmh14)
6716 )
6717 );
6718 assert_eq!(
6719 unsafe {
6720 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh15 as *const _
6721 as usize
6722 },
6723 828usize,
6724 concat!(
6725 "Offset of field: ",
6726 stringify!(__darwin_x86_avx512_state64),
6727 "::",
6728 stringify!(__fpu_ymmh15)
6729 )
6730 );
6731 assert_eq!(
6732 unsafe {
6733 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_k0 as *const _ as usize
6734 },
6735 844usize,
6736 concat!(
6737 "Offset of field: ",
6738 stringify!(__darwin_x86_avx512_state64),
6739 "::",
6740 stringify!(__fpu_k0)
6741 )
6742 );
6743 assert_eq!(
6744 unsafe {
6745 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_k1 as *const _ as usize
6746 },
6747 852usize,
6748 concat!(
6749 "Offset of field: ",
6750 stringify!(__darwin_x86_avx512_state64),
6751 "::",
6752 stringify!(__fpu_k1)
6753 )
6754 );
6755 assert_eq!(
6756 unsafe {
6757 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_k2 as *const _ as usize
6758 },
6759 860usize,
6760 concat!(
6761 "Offset of field: ",
6762 stringify!(__darwin_x86_avx512_state64),
6763 "::",
6764 stringify!(__fpu_k2)
6765 )
6766 );
6767 assert_eq!(
6768 unsafe {
6769 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_k3 as *const _ as usize
6770 },
6771 868usize,
6772 concat!(
6773 "Offset of field: ",
6774 stringify!(__darwin_x86_avx512_state64),
6775 "::",
6776 stringify!(__fpu_k3)
6777 )
6778 );
6779 assert_eq!(
6780 unsafe {
6781 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_k4 as *const _ as usize
6782 },
6783 876usize,
6784 concat!(
6785 "Offset of field: ",
6786 stringify!(__darwin_x86_avx512_state64),
6787 "::",
6788 stringify!(__fpu_k4)
6789 )
6790 );
6791 assert_eq!(
6792 unsafe {
6793 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_k5 as *const _ as usize
6794 },
6795 884usize,
6796 concat!(
6797 "Offset of field: ",
6798 stringify!(__darwin_x86_avx512_state64),
6799 "::",
6800 stringify!(__fpu_k5)
6801 )
6802 );
6803 assert_eq!(
6804 unsafe {
6805 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_k6 as *const _ as usize
6806 },
6807 892usize,
6808 concat!(
6809 "Offset of field: ",
6810 stringify!(__darwin_x86_avx512_state64),
6811 "::",
6812 stringify!(__fpu_k6)
6813 )
6814 );
6815 assert_eq!(
6816 unsafe {
6817 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_k7 as *const _ as usize
6818 },
6819 900usize,
6820 concat!(
6821 "Offset of field: ",
6822 stringify!(__darwin_x86_avx512_state64),
6823 "::",
6824 stringify!(__fpu_k7)
6825 )
6826 );
6827 assert_eq!(
6828 unsafe {
6829 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh0 as *const _ as usize
6830 },
6831 908usize,
6832 concat!(
6833 "Offset of field: ",
6834 stringify!(__darwin_x86_avx512_state64),
6835 "::",
6836 stringify!(__fpu_zmmh0)
6837 )
6838 );
6839 assert_eq!(
6840 unsafe {
6841 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh1 as *const _ as usize
6842 },
6843 940usize,
6844 concat!(
6845 "Offset of field: ",
6846 stringify!(__darwin_x86_avx512_state64),
6847 "::",
6848 stringify!(__fpu_zmmh1)
6849 )
6850 );
6851 assert_eq!(
6852 unsafe {
6853 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh2 as *const _ as usize
6854 },
6855 972usize,
6856 concat!(
6857 "Offset of field: ",
6858 stringify!(__darwin_x86_avx512_state64),
6859 "::",
6860 stringify!(__fpu_zmmh2)
6861 )
6862 );
6863 assert_eq!(
6864 unsafe {
6865 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh3 as *const _ as usize
6866 },
6867 1004usize,
6868 concat!(
6869 "Offset of field: ",
6870 stringify!(__darwin_x86_avx512_state64),
6871 "::",
6872 stringify!(__fpu_zmmh3)
6873 )
6874 );
6875 assert_eq!(
6876 unsafe {
6877 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh4 as *const _ as usize
6878 },
6879 1036usize,
6880 concat!(
6881 "Offset of field: ",
6882 stringify!(__darwin_x86_avx512_state64),
6883 "::",
6884 stringify!(__fpu_zmmh4)
6885 )
6886 );
6887 assert_eq!(
6888 unsafe {
6889 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh5 as *const _ as usize
6890 },
6891 1068usize,
6892 concat!(
6893 "Offset of field: ",
6894 stringify!(__darwin_x86_avx512_state64),
6895 "::",
6896 stringify!(__fpu_zmmh5)
6897 )
6898 );
6899 assert_eq!(
6900 unsafe {
6901 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh6 as *const _ as usize
6902 },
6903 1100usize,
6904 concat!(
6905 "Offset of field: ",
6906 stringify!(__darwin_x86_avx512_state64),
6907 "::",
6908 stringify!(__fpu_zmmh6)
6909 )
6910 );
6911 assert_eq!(
6912 unsafe {
6913 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh7 as *const _ as usize
6914 },
6915 1132usize,
6916 concat!(
6917 "Offset of field: ",
6918 stringify!(__darwin_x86_avx512_state64),
6919 "::",
6920 stringify!(__fpu_zmmh7)
6921 )
6922 );
6923 assert_eq!(
6924 unsafe {
6925 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh8 as *const _ as usize
6926 },
6927 1164usize,
6928 concat!(
6929 "Offset of field: ",
6930 stringify!(__darwin_x86_avx512_state64),
6931 "::",
6932 stringify!(__fpu_zmmh8)
6933 )
6934 );
6935 assert_eq!(
6936 unsafe {
6937 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh9 as *const _ as usize
6938 },
6939 1196usize,
6940 concat!(
6941 "Offset of field: ",
6942 stringify!(__darwin_x86_avx512_state64),
6943 "::",
6944 stringify!(__fpu_zmmh9)
6945 )
6946 );
6947 assert_eq!(
6948 unsafe {
6949 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh10 as *const _
6950 as usize
6951 },
6952 1228usize,
6953 concat!(
6954 "Offset of field: ",
6955 stringify!(__darwin_x86_avx512_state64),
6956 "::",
6957 stringify!(__fpu_zmmh10)
6958 )
6959 );
6960 assert_eq!(
6961 unsafe {
6962 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh11 as *const _
6963 as usize
6964 },
6965 1260usize,
6966 concat!(
6967 "Offset of field: ",
6968 stringify!(__darwin_x86_avx512_state64),
6969 "::",
6970 stringify!(__fpu_zmmh11)
6971 )
6972 );
6973 assert_eq!(
6974 unsafe {
6975 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh12 as *const _
6976 as usize
6977 },
6978 1292usize,
6979 concat!(
6980 "Offset of field: ",
6981 stringify!(__darwin_x86_avx512_state64),
6982 "::",
6983 stringify!(__fpu_zmmh12)
6984 )
6985 );
6986 assert_eq!(
6987 unsafe {
6988 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh13 as *const _
6989 as usize
6990 },
6991 1324usize,
6992 concat!(
6993 "Offset of field: ",
6994 stringify!(__darwin_x86_avx512_state64),
6995 "::",
6996 stringify!(__fpu_zmmh13)
6997 )
6998 );
6999 assert_eq!(
7000 unsafe {
7001 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh14 as *const _
7002 as usize
7003 },
7004 1356usize,
7005 concat!(
7006 "Offset of field: ",
7007 stringify!(__darwin_x86_avx512_state64),
7008 "::",
7009 stringify!(__fpu_zmmh14)
7010 )
7011 );
7012 assert_eq!(
7013 unsafe {
7014 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh15 as *const _
7015 as usize
7016 },
7017 1388usize,
7018 concat!(
7019 "Offset of field: ",
7020 stringify!(__darwin_x86_avx512_state64),
7021 "::",
7022 stringify!(__fpu_zmmh15)
7023 )
7024 );
7025 assert_eq!(
7026 unsafe {
7027 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm16 as *const _ as usize
7028 },
7029 1420usize,
7030 concat!(
7031 "Offset of field: ",
7032 stringify!(__darwin_x86_avx512_state64),
7033 "::",
7034 stringify!(__fpu_zmm16)
7035 )
7036 );
7037 assert_eq!(
7038 unsafe {
7039 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm17 as *const _ as usize
7040 },
7041 1484usize,
7042 concat!(
7043 "Offset of field: ",
7044 stringify!(__darwin_x86_avx512_state64),
7045 "::",
7046 stringify!(__fpu_zmm17)
7047 )
7048 );
7049 assert_eq!(
7050 unsafe {
7051 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm18 as *const _ as usize
7052 },
7053 1548usize,
7054 concat!(
7055 "Offset of field: ",
7056 stringify!(__darwin_x86_avx512_state64),
7057 "::",
7058 stringify!(__fpu_zmm18)
7059 )
7060 );
7061 assert_eq!(
7062 unsafe {
7063 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm19 as *const _ as usize
7064 },
7065 1612usize,
7066 concat!(
7067 "Offset of field: ",
7068 stringify!(__darwin_x86_avx512_state64),
7069 "::",
7070 stringify!(__fpu_zmm19)
7071 )
7072 );
7073 assert_eq!(
7074 unsafe {
7075 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm20 as *const _ as usize
7076 },
7077 1676usize,
7078 concat!(
7079 "Offset of field: ",
7080 stringify!(__darwin_x86_avx512_state64),
7081 "::",
7082 stringify!(__fpu_zmm20)
7083 )
7084 );
7085 assert_eq!(
7086 unsafe {
7087 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm21 as *const _ as usize
7088 },
7089 1740usize,
7090 concat!(
7091 "Offset of field: ",
7092 stringify!(__darwin_x86_avx512_state64),
7093 "::",
7094 stringify!(__fpu_zmm21)
7095 )
7096 );
7097 assert_eq!(
7098 unsafe {
7099 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm22 as *const _ as usize
7100 },
7101 1804usize,
7102 concat!(
7103 "Offset of field: ",
7104 stringify!(__darwin_x86_avx512_state64),
7105 "::",
7106 stringify!(__fpu_zmm22)
7107 )
7108 );
7109 assert_eq!(
7110 unsafe {
7111 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm23 as *const _ as usize
7112 },
7113 1868usize,
7114 concat!(
7115 "Offset of field: ",
7116 stringify!(__darwin_x86_avx512_state64),
7117 "::",
7118 stringify!(__fpu_zmm23)
7119 )
7120 );
7121 assert_eq!(
7122 unsafe {
7123 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm24 as *const _ as usize
7124 },
7125 1932usize,
7126 concat!(
7127 "Offset of field: ",
7128 stringify!(__darwin_x86_avx512_state64),
7129 "::",
7130 stringify!(__fpu_zmm24)
7131 )
7132 );
7133 assert_eq!(
7134 unsafe {
7135 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm25 as *const _ as usize
7136 },
7137 1996usize,
7138 concat!(
7139 "Offset of field: ",
7140 stringify!(__darwin_x86_avx512_state64),
7141 "::",
7142 stringify!(__fpu_zmm25)
7143 )
7144 );
7145 assert_eq!(
7146 unsafe {
7147 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm26 as *const _ as usize
7148 },
7149 2060usize,
7150 concat!(
7151 "Offset of field: ",
7152 stringify!(__darwin_x86_avx512_state64),
7153 "::",
7154 stringify!(__fpu_zmm26)
7155 )
7156 );
7157 assert_eq!(
7158 unsafe {
7159 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm27 as *const _ as usize
7160 },
7161 2124usize,
7162 concat!(
7163 "Offset of field: ",
7164 stringify!(__darwin_x86_avx512_state64),
7165 "::",
7166 stringify!(__fpu_zmm27)
7167 )
7168 );
7169 assert_eq!(
7170 unsafe {
7171 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm28 as *const _ as usize
7172 },
7173 2188usize,
7174 concat!(
7175 "Offset of field: ",
7176 stringify!(__darwin_x86_avx512_state64),
7177 "::",
7178 stringify!(__fpu_zmm28)
7179 )
7180 );
7181 assert_eq!(
7182 unsafe {
7183 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm29 as *const _ as usize
7184 },
7185 2252usize,
7186 concat!(
7187 "Offset of field: ",
7188 stringify!(__darwin_x86_avx512_state64),
7189 "::",
7190 stringify!(__fpu_zmm29)
7191 )
7192 );
7193 assert_eq!(
7194 unsafe {
7195 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm30 as *const _ as usize
7196 },
7197 2316usize,
7198 concat!(
7199 "Offset of field: ",
7200 stringify!(__darwin_x86_avx512_state64),
7201 "::",
7202 stringify!(__fpu_zmm30)
7203 )
7204 );
7205 assert_eq!(
7206 unsafe {
7207 &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm31 as *const _ as usize
7208 },
7209 2380usize,
7210 concat!(
7211 "Offset of field: ",
7212 stringify!(__darwin_x86_avx512_state64),
7213 "::",
7214 stringify!(__fpu_zmm31)
7215 )
7216 );
7217}
7218#[repr(C)]
7219#[derive(Debug, Copy, Clone)]
7220pub struct __darwin_x86_exception_state64 {
7221 pub __trapno: __uint16_t,
7222 pub __cpu: __uint16_t,
7223 pub __err: __uint32_t,
7224 pub __faultvaddr: __uint64_t,
7225}
7226#[test]
7227fn bindgen_test_layout___darwin_x86_exception_state64() {
7228 assert_eq!(
7229 ::std::mem::size_of::<__darwin_x86_exception_state64>(),
7230 16usize,
7231 concat!("Size of: ", stringify!(__darwin_x86_exception_state64))
7232 );
7233 assert_eq!(
7234 ::std::mem::align_of::<__darwin_x86_exception_state64>(),
7235 8usize,
7236 concat!("Alignment of ", stringify!(__darwin_x86_exception_state64))
7237 );
7238 assert_eq!(
7239 unsafe {
7240 &(*(::std::ptr::null::<__darwin_x86_exception_state64>())).__trapno as *const _ as usize
7241 },
7242 0usize,
7243 concat!(
7244 "Offset of field: ",
7245 stringify!(__darwin_x86_exception_state64),
7246 "::",
7247 stringify!(__trapno)
7248 )
7249 );
7250 assert_eq!(
7251 unsafe {
7252 &(*(::std::ptr::null::<__darwin_x86_exception_state64>())).__cpu as *const _ as usize
7253 },
7254 2usize,
7255 concat!(
7256 "Offset of field: ",
7257 stringify!(__darwin_x86_exception_state64),
7258 "::",
7259 stringify!(__cpu)
7260 )
7261 );
7262 assert_eq!(
7263 unsafe {
7264 &(*(::std::ptr::null::<__darwin_x86_exception_state64>())).__err as *const _ as usize
7265 },
7266 4usize,
7267 concat!(
7268 "Offset of field: ",
7269 stringify!(__darwin_x86_exception_state64),
7270 "::",
7271 stringify!(__err)
7272 )
7273 );
7274 assert_eq!(
7275 unsafe {
7276 &(*(::std::ptr::null::<__darwin_x86_exception_state64>())).__faultvaddr as *const _
7277 as usize
7278 },
7279 8usize,
7280 concat!(
7281 "Offset of field: ",
7282 stringify!(__darwin_x86_exception_state64),
7283 "::",
7284 stringify!(__faultvaddr)
7285 )
7286 );
7287}
7288#[repr(C)]
7289#[derive(Debug, Copy, Clone)]
7290pub struct __darwin_x86_debug_state64 {
7291 pub __dr0: __uint64_t,
7292 pub __dr1: __uint64_t,
7293 pub __dr2: __uint64_t,
7294 pub __dr3: __uint64_t,
7295 pub __dr4: __uint64_t,
7296 pub __dr5: __uint64_t,
7297 pub __dr6: __uint64_t,
7298 pub __dr7: __uint64_t,
7299}
7300#[test]
7301fn bindgen_test_layout___darwin_x86_debug_state64() {
7302 assert_eq!(
7303 ::std::mem::size_of::<__darwin_x86_debug_state64>(),
7304 64usize,
7305 concat!("Size of: ", stringify!(__darwin_x86_debug_state64))
7306 );
7307 assert_eq!(
7308 ::std::mem::align_of::<__darwin_x86_debug_state64>(),
7309 8usize,
7310 concat!("Alignment of ", stringify!(__darwin_x86_debug_state64))
7311 );
7312 assert_eq!(
7313 unsafe {
7314 &(*(::std::ptr::null::<__darwin_x86_debug_state64>())).__dr0 as *const _ as usize
7315 },
7316 0usize,
7317 concat!(
7318 "Offset of field: ",
7319 stringify!(__darwin_x86_debug_state64),
7320 "::",
7321 stringify!(__dr0)
7322 )
7323 );
7324 assert_eq!(
7325 unsafe {
7326 &(*(::std::ptr::null::<__darwin_x86_debug_state64>())).__dr1 as *const _ as usize
7327 },
7328 8usize,
7329 concat!(
7330 "Offset of field: ",
7331 stringify!(__darwin_x86_debug_state64),
7332 "::",
7333 stringify!(__dr1)
7334 )
7335 );
7336 assert_eq!(
7337 unsafe {
7338 &(*(::std::ptr::null::<__darwin_x86_debug_state64>())).__dr2 as *const _ as usize
7339 },
7340 16usize,
7341 concat!(
7342 "Offset of field: ",
7343 stringify!(__darwin_x86_debug_state64),
7344 "::",
7345 stringify!(__dr2)
7346 )
7347 );
7348 assert_eq!(
7349 unsafe {
7350 &(*(::std::ptr::null::<__darwin_x86_debug_state64>())).__dr3 as *const _ as usize
7351 },
7352 24usize,
7353 concat!(
7354 "Offset of field: ",
7355 stringify!(__darwin_x86_debug_state64),
7356 "::",
7357 stringify!(__dr3)
7358 )
7359 );
7360 assert_eq!(
7361 unsafe {
7362 &(*(::std::ptr::null::<__darwin_x86_debug_state64>())).__dr4 as *const _ as usize
7363 },
7364 32usize,
7365 concat!(
7366 "Offset of field: ",
7367 stringify!(__darwin_x86_debug_state64),
7368 "::",
7369 stringify!(__dr4)
7370 )
7371 );
7372 assert_eq!(
7373 unsafe {
7374 &(*(::std::ptr::null::<__darwin_x86_debug_state64>())).__dr5 as *const _ as usize
7375 },
7376 40usize,
7377 concat!(
7378 "Offset of field: ",
7379 stringify!(__darwin_x86_debug_state64),
7380 "::",
7381 stringify!(__dr5)
7382 )
7383 );
7384 assert_eq!(
7385 unsafe {
7386 &(*(::std::ptr::null::<__darwin_x86_debug_state64>())).__dr6 as *const _ as usize
7387 },
7388 48usize,
7389 concat!(
7390 "Offset of field: ",
7391 stringify!(__darwin_x86_debug_state64),
7392 "::",
7393 stringify!(__dr6)
7394 )
7395 );
7396 assert_eq!(
7397 unsafe {
7398 &(*(::std::ptr::null::<__darwin_x86_debug_state64>())).__dr7 as *const _ as usize
7399 },
7400 56usize,
7401 concat!(
7402 "Offset of field: ",
7403 stringify!(__darwin_x86_debug_state64),
7404 "::",
7405 stringify!(__dr7)
7406 )
7407 );
7408}
7409#[repr(C)]
7410#[derive(Debug, Copy, Clone)]
7411pub struct __darwin_x86_cpmu_state64 {
7412 pub __ctrs: [__uint64_t; 16usize],
7413}
7414#[test]
7415fn bindgen_test_layout___darwin_x86_cpmu_state64() {
7416 assert_eq!(
7417 ::std::mem::size_of::<__darwin_x86_cpmu_state64>(),
7418 128usize,
7419 concat!("Size of: ", stringify!(__darwin_x86_cpmu_state64))
7420 );
7421 assert_eq!(
7422 ::std::mem::align_of::<__darwin_x86_cpmu_state64>(),
7423 8usize,
7424 concat!("Alignment of ", stringify!(__darwin_x86_cpmu_state64))
7425 );
7426 assert_eq!(
7427 unsafe {
7428 &(*(::std::ptr::null::<__darwin_x86_cpmu_state64>())).__ctrs as *const _ as usize
7429 },
7430 0usize,
7431 concat!(
7432 "Offset of field: ",
7433 stringify!(__darwin_x86_cpmu_state64),
7434 "::",
7435 stringify!(__ctrs)
7436 )
7437 );
7438}
7439#[repr(C)]
7440#[derive(Copy, Clone)]
7441pub struct __darwin_mcontext32 {
7442 pub __es: __darwin_i386_exception_state,
7443 pub __ss: __darwin_i386_thread_state,
7444 pub __fs: __darwin_i386_float_state,
7445}
7446#[test]
7447fn bindgen_test_layout___darwin_mcontext32() {
7448 assert_eq!(
7449 ::std::mem::size_of::<__darwin_mcontext32>(),
7450 600usize,
7451 concat!("Size of: ", stringify!(__darwin_mcontext32))
7452 );
7453 assert_eq!(
7454 ::std::mem::align_of::<__darwin_mcontext32>(),
7455 4usize,
7456 concat!("Alignment of ", stringify!(__darwin_mcontext32))
7457 );
7458 assert_eq!(
7459 unsafe { &(*(::std::ptr::null::<__darwin_mcontext32>())).__es as *const _ as usize },
7460 0usize,
7461 concat!(
7462 "Offset of field: ",
7463 stringify!(__darwin_mcontext32),
7464 "::",
7465 stringify!(__es)
7466 )
7467 );
7468 assert_eq!(
7469 unsafe { &(*(::std::ptr::null::<__darwin_mcontext32>())).__ss as *const _ as usize },
7470 12usize,
7471 concat!(
7472 "Offset of field: ",
7473 stringify!(__darwin_mcontext32),
7474 "::",
7475 stringify!(__ss)
7476 )
7477 );
7478 assert_eq!(
7479 unsafe { &(*(::std::ptr::null::<__darwin_mcontext32>())).__fs as *const _ as usize },
7480 76usize,
7481 concat!(
7482 "Offset of field: ",
7483 stringify!(__darwin_mcontext32),
7484 "::",
7485 stringify!(__fs)
7486 )
7487 );
7488}
7489#[repr(C)]
7490#[derive(Copy, Clone)]
7491pub struct __darwin_mcontext_avx32 {
7492 pub __es: __darwin_i386_exception_state,
7493 pub __ss: __darwin_i386_thread_state,
7494 pub __fs: __darwin_i386_avx_state,
7495}
7496#[test]
7497fn bindgen_test_layout___darwin_mcontext_avx32() {
7498 assert_eq!(
7499 ::std::mem::size_of::<__darwin_mcontext_avx32>(),
7500 792usize,
7501 concat!("Size of: ", stringify!(__darwin_mcontext_avx32))
7502 );
7503 assert_eq!(
7504 ::std::mem::align_of::<__darwin_mcontext_avx32>(),
7505 4usize,
7506 concat!("Alignment of ", stringify!(__darwin_mcontext_avx32))
7507 );
7508 assert_eq!(
7509 unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx32>())).__es as *const _ as usize },
7510 0usize,
7511 concat!(
7512 "Offset of field: ",
7513 stringify!(__darwin_mcontext_avx32),
7514 "::",
7515 stringify!(__es)
7516 )
7517 );
7518 assert_eq!(
7519 unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx32>())).__ss as *const _ as usize },
7520 12usize,
7521 concat!(
7522 "Offset of field: ",
7523 stringify!(__darwin_mcontext_avx32),
7524 "::",
7525 stringify!(__ss)
7526 )
7527 );
7528 assert_eq!(
7529 unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx32>())).__fs as *const _ as usize },
7530 76usize,
7531 concat!(
7532 "Offset of field: ",
7533 stringify!(__darwin_mcontext_avx32),
7534 "::",
7535 stringify!(__fs)
7536 )
7537 );
7538}
7539#[repr(C)]
7540#[derive(Copy, Clone)]
7541pub struct __darwin_mcontext_avx512_32 {
7542 pub __es: __darwin_i386_exception_state,
7543 pub __ss: __darwin_i386_thread_state,
7544 pub __fs: __darwin_i386_avx512_state,
7545}
7546#[test]
7547fn bindgen_test_layout___darwin_mcontext_avx512_32() {
7548 assert_eq!(
7549 ::std::mem::size_of::<__darwin_mcontext_avx512_32>(),
7550 1112usize,
7551 concat!("Size of: ", stringify!(__darwin_mcontext_avx512_32))
7552 );
7553 assert_eq!(
7554 ::std::mem::align_of::<__darwin_mcontext_avx512_32>(),
7555 4usize,
7556 concat!("Alignment of ", stringify!(__darwin_mcontext_avx512_32))
7557 );
7558 assert_eq!(
7559 unsafe {
7560 &(*(::std::ptr::null::<__darwin_mcontext_avx512_32>())).__es as *const _ as usize
7561 },
7562 0usize,
7563 concat!(
7564 "Offset of field: ",
7565 stringify!(__darwin_mcontext_avx512_32),
7566 "::",
7567 stringify!(__es)
7568 )
7569 );
7570 assert_eq!(
7571 unsafe {
7572 &(*(::std::ptr::null::<__darwin_mcontext_avx512_32>())).__ss as *const _ as usize
7573 },
7574 12usize,
7575 concat!(
7576 "Offset of field: ",
7577 stringify!(__darwin_mcontext_avx512_32),
7578 "::",
7579 stringify!(__ss)
7580 )
7581 );
7582 assert_eq!(
7583 unsafe {
7584 &(*(::std::ptr::null::<__darwin_mcontext_avx512_32>())).__fs as *const _ as usize
7585 },
7586 76usize,
7587 concat!(
7588 "Offset of field: ",
7589 stringify!(__darwin_mcontext_avx512_32),
7590 "::",
7591 stringify!(__fs)
7592 )
7593 );
7594}
7595#[repr(C)]
7596#[derive(Copy, Clone)]
7597pub struct __darwin_mcontext64 {
7598 pub __es: __darwin_x86_exception_state64,
7599 pub __ss: __darwin_x86_thread_state64,
7600 pub __fs: __darwin_x86_float_state64,
7601}
7602#[test]
7603fn bindgen_test_layout___darwin_mcontext64() {
7604 assert_eq!(
7605 ::std::mem::size_of::<__darwin_mcontext64>(),
7606 712usize,
7607 concat!("Size of: ", stringify!(__darwin_mcontext64))
7608 );
7609 assert_eq!(
7610 ::std::mem::align_of::<__darwin_mcontext64>(),
7611 8usize,
7612 concat!("Alignment of ", stringify!(__darwin_mcontext64))
7613 );
7614 assert_eq!(
7615 unsafe { &(*(::std::ptr::null::<__darwin_mcontext64>())).__es as *const _ as usize },
7616 0usize,
7617 concat!(
7618 "Offset of field: ",
7619 stringify!(__darwin_mcontext64),
7620 "::",
7621 stringify!(__es)
7622 )
7623 );
7624 assert_eq!(
7625 unsafe { &(*(::std::ptr::null::<__darwin_mcontext64>())).__ss as *const _ as usize },
7626 16usize,
7627 concat!(
7628 "Offset of field: ",
7629 stringify!(__darwin_mcontext64),
7630 "::",
7631 stringify!(__ss)
7632 )
7633 );
7634 assert_eq!(
7635 unsafe { &(*(::std::ptr::null::<__darwin_mcontext64>())).__fs as *const _ as usize },
7636 184usize,
7637 concat!(
7638 "Offset of field: ",
7639 stringify!(__darwin_mcontext64),
7640 "::",
7641 stringify!(__fs)
7642 )
7643 );
7644}
7645#[repr(C)]
7646#[derive(Copy, Clone)]
7647pub struct __darwin_mcontext64_full {
7648 pub __es: __darwin_x86_exception_state64,
7649 pub __ss: __darwin_x86_thread_full_state64,
7650 pub __fs: __darwin_x86_float_state64,
7651}
7652#[test]
7653fn bindgen_test_layout___darwin_mcontext64_full() {
7654 assert_eq!(
7655 ::std::mem::size_of::<__darwin_mcontext64_full>(),
7656 744usize,
7657 concat!("Size of: ", stringify!(__darwin_mcontext64_full))
7658 );
7659 assert_eq!(
7660 ::std::mem::align_of::<__darwin_mcontext64_full>(),
7661 8usize,
7662 concat!("Alignment of ", stringify!(__darwin_mcontext64_full))
7663 );
7664 assert_eq!(
7665 unsafe { &(*(::std::ptr::null::<__darwin_mcontext64_full>())).__es as *const _ as usize },
7666 0usize,
7667 concat!(
7668 "Offset of field: ",
7669 stringify!(__darwin_mcontext64_full),
7670 "::",
7671 stringify!(__es)
7672 )
7673 );
7674 assert_eq!(
7675 unsafe { &(*(::std::ptr::null::<__darwin_mcontext64_full>())).__ss as *const _ as usize },
7676 16usize,
7677 concat!(
7678 "Offset of field: ",
7679 stringify!(__darwin_mcontext64_full),
7680 "::",
7681 stringify!(__ss)
7682 )
7683 );
7684 assert_eq!(
7685 unsafe { &(*(::std::ptr::null::<__darwin_mcontext64_full>())).__fs as *const _ as usize },
7686 216usize,
7687 concat!(
7688 "Offset of field: ",
7689 stringify!(__darwin_mcontext64_full),
7690 "::",
7691 stringify!(__fs)
7692 )
7693 );
7694}
7695#[repr(C)]
7696#[derive(Copy, Clone)]
7697pub struct __darwin_mcontext_avx64 {
7698 pub __es: __darwin_x86_exception_state64,
7699 pub __ss: __darwin_x86_thread_state64,
7700 pub __fs: __darwin_x86_avx_state64,
7701}
7702#[test]
7703fn bindgen_test_layout___darwin_mcontext_avx64() {
7704 assert_eq!(
7705 ::std::mem::size_of::<__darwin_mcontext_avx64>(),
7706 1032usize,
7707 concat!("Size of: ", stringify!(__darwin_mcontext_avx64))
7708 );
7709 assert_eq!(
7710 ::std::mem::align_of::<__darwin_mcontext_avx64>(),
7711 8usize,
7712 concat!("Alignment of ", stringify!(__darwin_mcontext_avx64))
7713 );
7714 assert_eq!(
7715 unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx64>())).__es as *const _ as usize },
7716 0usize,
7717 concat!(
7718 "Offset of field: ",
7719 stringify!(__darwin_mcontext_avx64),
7720 "::",
7721 stringify!(__es)
7722 )
7723 );
7724 assert_eq!(
7725 unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx64>())).__ss as *const _ as usize },
7726 16usize,
7727 concat!(
7728 "Offset of field: ",
7729 stringify!(__darwin_mcontext_avx64),
7730 "::",
7731 stringify!(__ss)
7732 )
7733 );
7734 assert_eq!(
7735 unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx64>())).__fs as *const _ as usize },
7736 184usize,
7737 concat!(
7738 "Offset of field: ",
7739 stringify!(__darwin_mcontext_avx64),
7740 "::",
7741 stringify!(__fs)
7742 )
7743 );
7744}
7745#[repr(C)]
7746#[derive(Copy, Clone)]
7747pub struct __darwin_mcontext_avx64_full {
7748 pub __es: __darwin_x86_exception_state64,
7749 pub __ss: __darwin_x86_thread_full_state64,
7750 pub __fs: __darwin_x86_avx_state64,
7751}
7752#[test]
7753fn bindgen_test_layout___darwin_mcontext_avx64_full() {
7754 assert_eq!(
7755 ::std::mem::size_of::<__darwin_mcontext_avx64_full>(),
7756 1064usize,
7757 concat!("Size of: ", stringify!(__darwin_mcontext_avx64_full))
7758 );
7759 assert_eq!(
7760 ::std::mem::align_of::<__darwin_mcontext_avx64_full>(),
7761 8usize,
7762 concat!("Alignment of ", stringify!(__darwin_mcontext_avx64_full))
7763 );
7764 assert_eq!(
7765 unsafe {
7766 &(*(::std::ptr::null::<__darwin_mcontext_avx64_full>())).__es as *const _ as usize
7767 },
7768 0usize,
7769 concat!(
7770 "Offset of field: ",
7771 stringify!(__darwin_mcontext_avx64_full),
7772 "::",
7773 stringify!(__es)
7774 )
7775 );
7776 assert_eq!(
7777 unsafe {
7778 &(*(::std::ptr::null::<__darwin_mcontext_avx64_full>())).__ss as *const _ as usize
7779 },
7780 16usize,
7781 concat!(
7782 "Offset of field: ",
7783 stringify!(__darwin_mcontext_avx64_full),
7784 "::",
7785 stringify!(__ss)
7786 )
7787 );
7788 assert_eq!(
7789 unsafe {
7790 &(*(::std::ptr::null::<__darwin_mcontext_avx64_full>())).__fs as *const _ as usize
7791 },
7792 216usize,
7793 concat!(
7794 "Offset of field: ",
7795 stringify!(__darwin_mcontext_avx64_full),
7796 "::",
7797 stringify!(__fs)
7798 )
7799 );
7800}
7801#[repr(C)]
7802#[derive(Copy, Clone)]
7803pub struct __darwin_mcontext_avx512_64 {
7804 pub __es: __darwin_x86_exception_state64,
7805 pub __ss: __darwin_x86_thread_state64,
7806 pub __fs: __darwin_x86_avx512_state64,
7807}
7808#[test]
7809fn bindgen_test_layout___darwin_mcontext_avx512_64() {
7810 assert_eq!(
7811 ::std::mem::size_of::<__darwin_mcontext_avx512_64>(),
7812 2632usize,
7813 concat!("Size of: ", stringify!(__darwin_mcontext_avx512_64))
7814 );
7815 assert_eq!(
7816 ::std::mem::align_of::<__darwin_mcontext_avx512_64>(),
7817 8usize,
7818 concat!("Alignment of ", stringify!(__darwin_mcontext_avx512_64))
7819 );
7820 assert_eq!(
7821 unsafe {
7822 &(*(::std::ptr::null::<__darwin_mcontext_avx512_64>())).__es as *const _ as usize
7823 },
7824 0usize,
7825 concat!(
7826 "Offset of field: ",
7827 stringify!(__darwin_mcontext_avx512_64),
7828 "::",
7829 stringify!(__es)
7830 )
7831 );
7832 assert_eq!(
7833 unsafe {
7834 &(*(::std::ptr::null::<__darwin_mcontext_avx512_64>())).__ss as *const _ as usize
7835 },
7836 16usize,
7837 concat!(
7838 "Offset of field: ",
7839 stringify!(__darwin_mcontext_avx512_64),
7840 "::",
7841 stringify!(__ss)
7842 )
7843 );
7844 assert_eq!(
7845 unsafe {
7846 &(*(::std::ptr::null::<__darwin_mcontext_avx512_64>())).__fs as *const _ as usize
7847 },
7848 184usize,
7849 concat!(
7850 "Offset of field: ",
7851 stringify!(__darwin_mcontext_avx512_64),
7852 "::",
7853 stringify!(__fs)
7854 )
7855 );
7856}
7857#[repr(C)]
7858#[derive(Copy, Clone)]
7859pub struct __darwin_mcontext_avx512_64_full {
7860 pub __es: __darwin_x86_exception_state64,
7861 pub __ss: __darwin_x86_thread_full_state64,
7862 pub __fs: __darwin_x86_avx512_state64,
7863}
7864#[test]
7865fn bindgen_test_layout___darwin_mcontext_avx512_64_full() {
7866 assert_eq!(
7867 ::std::mem::size_of::<__darwin_mcontext_avx512_64_full>(),
7868 2664usize,
7869 concat!("Size of: ", stringify!(__darwin_mcontext_avx512_64_full))
7870 );
7871 assert_eq!(
7872 ::std::mem::align_of::<__darwin_mcontext_avx512_64_full>(),
7873 8usize,
7874 concat!(
7875 "Alignment of ",
7876 stringify!(__darwin_mcontext_avx512_64_full)
7877 )
7878 );
7879 assert_eq!(
7880 unsafe {
7881 &(*(::std::ptr::null::<__darwin_mcontext_avx512_64_full>())).__es as *const _ as usize
7882 },
7883 0usize,
7884 concat!(
7885 "Offset of field: ",
7886 stringify!(__darwin_mcontext_avx512_64_full),
7887 "::",
7888 stringify!(__es)
7889 )
7890 );
7891 assert_eq!(
7892 unsafe {
7893 &(*(::std::ptr::null::<__darwin_mcontext_avx512_64_full>())).__ss as *const _ as usize
7894 },
7895 16usize,
7896 concat!(
7897 "Offset of field: ",
7898 stringify!(__darwin_mcontext_avx512_64_full),
7899 "::",
7900 stringify!(__ss)
7901 )
7902 );
7903 assert_eq!(
7904 unsafe {
7905 &(*(::std::ptr::null::<__darwin_mcontext_avx512_64_full>())).__fs as *const _ as usize
7906 },
7907 216usize,
7908 concat!(
7909 "Offset of field: ",
7910 stringify!(__darwin_mcontext_avx512_64_full),
7911 "::",
7912 stringify!(__fs)
7913 )
7914 );
7915}
7916pub type mcontext_t = *mut __darwin_mcontext64;
7917pub type pthread_attr_t = __darwin_pthread_attr_t;
7918#[repr(C)]
7919#[derive(Debug, Copy, Clone)]
7920pub struct __darwin_sigaltstack {
7921 pub ss_sp: *mut ::std::os::raw::c_void,
7922 pub ss_size: __darwin_size_t,
7923 pub ss_flags: ::std::os::raw::c_int,
7924}
7925#[test]
7926fn bindgen_test_layout___darwin_sigaltstack() {
7927 assert_eq!(
7928 ::std::mem::size_of::<__darwin_sigaltstack>(),
7929 24usize,
7930 concat!("Size of: ", stringify!(__darwin_sigaltstack))
7931 );
7932 assert_eq!(
7933 ::std::mem::align_of::<__darwin_sigaltstack>(),
7934 8usize,
7935 concat!("Alignment of ", stringify!(__darwin_sigaltstack))
7936 );
7937 assert_eq!(
7938 unsafe { &(*(::std::ptr::null::<__darwin_sigaltstack>())).ss_sp as *const _ as usize },
7939 0usize,
7940 concat!(
7941 "Offset of field: ",
7942 stringify!(__darwin_sigaltstack),
7943 "::",
7944 stringify!(ss_sp)
7945 )
7946 );
7947 assert_eq!(
7948 unsafe { &(*(::std::ptr::null::<__darwin_sigaltstack>())).ss_size as *const _ as usize },
7949 8usize,
7950 concat!(
7951 "Offset of field: ",
7952 stringify!(__darwin_sigaltstack),
7953 "::",
7954 stringify!(ss_size)
7955 )
7956 );
7957 assert_eq!(
7958 unsafe { &(*(::std::ptr::null::<__darwin_sigaltstack>())).ss_flags as *const _ as usize },
7959 16usize,
7960 concat!(
7961 "Offset of field: ",
7962 stringify!(__darwin_sigaltstack),
7963 "::",
7964 stringify!(ss_flags)
7965 )
7966 );
7967}
7968pub type stack_t = __darwin_sigaltstack;
7969#[repr(C)]
7970#[derive(Debug, Copy, Clone)]
7971pub struct __darwin_ucontext {
7972 pub uc_onstack: ::std::os::raw::c_int,
7973 pub uc_sigmask: __darwin_sigset_t,
7974 pub uc_stack: __darwin_sigaltstack,
7975 pub uc_link: *mut __darwin_ucontext,
7976 pub uc_mcsize: __darwin_size_t,
7977 pub uc_mcontext: *mut __darwin_mcontext64,
7978}
7979#[test]
7980fn bindgen_test_layout___darwin_ucontext() {
7981 assert_eq!(
7982 ::std::mem::size_of::<__darwin_ucontext>(),
7983 56usize,
7984 concat!("Size of: ", stringify!(__darwin_ucontext))
7985 );
7986 assert_eq!(
7987 ::std::mem::align_of::<__darwin_ucontext>(),
7988 8usize,
7989 concat!("Alignment of ", stringify!(__darwin_ucontext))
7990 );
7991 assert_eq!(
7992 unsafe { &(*(::std::ptr::null::<__darwin_ucontext>())).uc_onstack as *const _ as usize },
7993 0usize,
7994 concat!(
7995 "Offset of field: ",
7996 stringify!(__darwin_ucontext),
7997 "::",
7998 stringify!(uc_onstack)
7999 )
8000 );
8001 assert_eq!(
8002 unsafe { &(*(::std::ptr::null::<__darwin_ucontext>())).uc_sigmask as *const _ as usize },
8003 4usize,
8004 concat!(
8005 "Offset of field: ",
8006 stringify!(__darwin_ucontext),
8007 "::",
8008 stringify!(uc_sigmask)
8009 )
8010 );
8011 assert_eq!(
8012 unsafe { &(*(::std::ptr::null::<__darwin_ucontext>())).uc_stack as *const _ as usize },
8013 8usize,
8014 concat!(
8015 "Offset of field: ",
8016 stringify!(__darwin_ucontext),
8017 "::",
8018 stringify!(uc_stack)
8019 )
8020 );
8021 assert_eq!(
8022 unsafe { &(*(::std::ptr::null::<__darwin_ucontext>())).uc_link as *const _ as usize },
8023 32usize,
8024 concat!(
8025 "Offset of field: ",
8026 stringify!(__darwin_ucontext),
8027 "::",
8028 stringify!(uc_link)
8029 )
8030 );
8031 assert_eq!(
8032 unsafe { &(*(::std::ptr::null::<__darwin_ucontext>())).uc_mcsize as *const _ as usize },
8033 40usize,
8034 concat!(
8035 "Offset of field: ",
8036 stringify!(__darwin_ucontext),
8037 "::",
8038 stringify!(uc_mcsize)
8039 )
8040 );
8041 assert_eq!(
8042 unsafe { &(*(::std::ptr::null::<__darwin_ucontext>())).uc_mcontext as *const _ as usize },
8043 48usize,
8044 concat!(
8045 "Offset of field: ",
8046 stringify!(__darwin_ucontext),
8047 "::",
8048 stringify!(uc_mcontext)
8049 )
8050 );
8051}
8052pub type ucontext_t = __darwin_ucontext;
8053pub type sigset_t = __darwin_sigset_t;
8054pub type uid_t = __darwin_uid_t;
8055#[repr(C)]
8056#[derive(Copy, Clone)]
8057pub union sigval {
8058 pub sival_int: ::std::os::raw::c_int,
8059 pub sival_ptr: *mut ::std::os::raw::c_void,
8060 _bindgen_union_align: u64,
8061}
8062#[test]
8063fn bindgen_test_layout_sigval() {
8064 assert_eq!(
8065 ::std::mem::size_of::<sigval>(),
8066 8usize,
8067 concat!("Size of: ", stringify!(sigval))
8068 );
8069 assert_eq!(
8070 ::std::mem::align_of::<sigval>(),
8071 8usize,
8072 concat!("Alignment of ", stringify!(sigval))
8073 );
8074 assert_eq!(
8075 unsafe { &(*(::std::ptr::null::<sigval>())).sival_int as *const _ as usize },
8076 0usize,
8077 concat!(
8078 "Offset of field: ",
8079 stringify!(sigval),
8080 "::",
8081 stringify!(sival_int)
8082 )
8083 );
8084 assert_eq!(
8085 unsafe { &(*(::std::ptr::null::<sigval>())).sival_ptr as *const _ as usize },
8086 0usize,
8087 concat!(
8088 "Offset of field: ",
8089 stringify!(sigval),
8090 "::",
8091 stringify!(sival_ptr)
8092 )
8093 );
8094}
8095#[repr(C)]
8096#[derive(Copy, Clone)]
8097pub struct sigevent {
8098 pub sigev_notify: ::std::os::raw::c_int,
8099 pub sigev_signo: ::std::os::raw::c_int,
8100 pub sigev_value: sigval,
8101 pub sigev_notify_function: ::std::option::Option<unsafe extern "C" fn(arg1: sigval)>,
8102 pub sigev_notify_attributes: *mut pthread_attr_t,
8103}
8104#[test]
8105fn bindgen_test_layout_sigevent() {
8106 assert_eq!(
8107 ::std::mem::size_of::<sigevent>(),
8108 32usize,
8109 concat!("Size of: ", stringify!(sigevent))
8110 );
8111 assert_eq!(
8112 ::std::mem::align_of::<sigevent>(),
8113 8usize,
8114 concat!("Alignment of ", stringify!(sigevent))
8115 );
8116 assert_eq!(
8117 unsafe { &(*(::std::ptr::null::<sigevent>())).sigev_notify as *const _ as usize },
8118 0usize,
8119 concat!(
8120 "Offset of field: ",
8121 stringify!(sigevent),
8122 "::",
8123 stringify!(sigev_notify)
8124 )
8125 );
8126 assert_eq!(
8127 unsafe { &(*(::std::ptr::null::<sigevent>())).sigev_signo as *const _ as usize },
8128 4usize,
8129 concat!(
8130 "Offset of field: ",
8131 stringify!(sigevent),
8132 "::",
8133 stringify!(sigev_signo)
8134 )
8135 );
8136 assert_eq!(
8137 unsafe { &(*(::std::ptr::null::<sigevent>())).sigev_value as *const _ as usize },
8138 8usize,
8139 concat!(
8140 "Offset of field: ",
8141 stringify!(sigevent),
8142 "::",
8143 stringify!(sigev_value)
8144 )
8145 );
8146 assert_eq!(
8147 unsafe { &(*(::std::ptr::null::<sigevent>())).sigev_notify_function as *const _ as usize },
8148 16usize,
8149 concat!(
8150 "Offset of field: ",
8151 stringify!(sigevent),
8152 "::",
8153 stringify!(sigev_notify_function)
8154 )
8155 );
8156 assert_eq!(
8157 unsafe {
8158 &(*(::std::ptr::null::<sigevent>())).sigev_notify_attributes as *const _ as usize
8159 },
8160 24usize,
8161 concat!(
8162 "Offset of field: ",
8163 stringify!(sigevent),
8164 "::",
8165 stringify!(sigev_notify_attributes)
8166 )
8167 );
8168}
8169#[repr(C)]
8170#[derive(Copy, Clone)]
8171pub struct __siginfo {
8172 pub si_signo: ::std::os::raw::c_int,
8173 pub si_errno: ::std::os::raw::c_int,
8174 pub si_code: ::std::os::raw::c_int,
8175 pub si_pid: pid_t,
8176 pub si_uid: uid_t,
8177 pub si_status: ::std::os::raw::c_int,
8178 pub si_addr: *mut ::std::os::raw::c_void,
8179 pub si_value: sigval,
8180 pub si_band: ::std::os::raw::c_long,
8181 pub __pad: [::std::os::raw::c_ulong; 7usize],
8182}
8183#[test]
8184fn bindgen_test_layout___siginfo() {
8185 assert_eq!(
8186 ::std::mem::size_of::<__siginfo>(),
8187 104usize,
8188 concat!("Size of: ", stringify!(__siginfo))
8189 );
8190 assert_eq!(
8191 ::std::mem::align_of::<__siginfo>(),
8192 8usize,
8193 concat!("Alignment of ", stringify!(__siginfo))
8194 );
8195 assert_eq!(
8196 unsafe { &(*(::std::ptr::null::<__siginfo>())).si_signo as *const _ as usize },
8197 0usize,
8198 concat!(
8199 "Offset of field: ",
8200 stringify!(__siginfo),
8201 "::",
8202 stringify!(si_signo)
8203 )
8204 );
8205 assert_eq!(
8206 unsafe { &(*(::std::ptr::null::<__siginfo>())).si_errno as *const _ as usize },
8207 4usize,
8208 concat!(
8209 "Offset of field: ",
8210 stringify!(__siginfo),
8211 "::",
8212 stringify!(si_errno)
8213 )
8214 );
8215 assert_eq!(
8216 unsafe { &(*(::std::ptr::null::<__siginfo>())).si_code as *const _ as usize },
8217 8usize,
8218 concat!(
8219 "Offset of field: ",
8220 stringify!(__siginfo),
8221 "::",
8222 stringify!(si_code)
8223 )
8224 );
8225 assert_eq!(
8226 unsafe { &(*(::std::ptr::null::<__siginfo>())).si_pid as *const _ as usize },
8227 12usize,
8228 concat!(
8229 "Offset of field: ",
8230 stringify!(__siginfo),
8231 "::",
8232 stringify!(si_pid)
8233 )
8234 );
8235 assert_eq!(
8236 unsafe { &(*(::std::ptr::null::<__siginfo>())).si_uid as *const _ as usize },
8237 16usize,
8238 concat!(
8239 "Offset of field: ",
8240 stringify!(__siginfo),
8241 "::",
8242 stringify!(si_uid)
8243 )
8244 );
8245 assert_eq!(
8246 unsafe { &(*(::std::ptr::null::<__siginfo>())).si_status as *const _ as usize },
8247 20usize,
8248 concat!(
8249 "Offset of field: ",
8250 stringify!(__siginfo),
8251 "::",
8252 stringify!(si_status)
8253 )
8254 );
8255 assert_eq!(
8256 unsafe { &(*(::std::ptr::null::<__siginfo>())).si_addr as *const _ as usize },
8257 24usize,
8258 concat!(
8259 "Offset of field: ",
8260 stringify!(__siginfo),
8261 "::",
8262 stringify!(si_addr)
8263 )
8264 );
8265 assert_eq!(
8266 unsafe { &(*(::std::ptr::null::<__siginfo>())).si_value as *const _ as usize },
8267 32usize,
8268 concat!(
8269 "Offset of field: ",
8270 stringify!(__siginfo),
8271 "::",
8272 stringify!(si_value)
8273 )
8274 );
8275 assert_eq!(
8276 unsafe { &(*(::std::ptr::null::<__siginfo>())).si_band as *const _ as usize },
8277 40usize,
8278 concat!(
8279 "Offset of field: ",
8280 stringify!(__siginfo),
8281 "::",
8282 stringify!(si_band)
8283 )
8284 );
8285 assert_eq!(
8286 unsafe { &(*(::std::ptr::null::<__siginfo>())).__pad as *const _ as usize },
8287 48usize,
8288 concat!(
8289 "Offset of field: ",
8290 stringify!(__siginfo),
8291 "::",
8292 stringify!(__pad)
8293 )
8294 );
8295}
8296pub type siginfo_t = __siginfo;
8297#[repr(C)]
8298#[derive(Copy, Clone)]
8299pub union __sigaction_u {
8300 pub __sa_handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
8301 pub __sa_sigaction: ::std::option::Option<
8302 unsafe extern "C" fn(
8303 arg1: ::std::os::raw::c_int,
8304 arg2: *mut __siginfo,
8305 arg3: *mut ::std::os::raw::c_void,
8306 ),
8307 >,
8308 _bindgen_union_align: u64,
8309}
8310#[test]
8311fn bindgen_test_layout___sigaction_u() {
8312 assert_eq!(
8313 ::std::mem::size_of::<__sigaction_u>(),
8314 8usize,
8315 concat!("Size of: ", stringify!(__sigaction_u))
8316 );
8317 assert_eq!(
8318 ::std::mem::align_of::<__sigaction_u>(),
8319 8usize,
8320 concat!("Alignment of ", stringify!(__sigaction_u))
8321 );
8322 assert_eq!(
8323 unsafe { &(*(::std::ptr::null::<__sigaction_u>())).__sa_handler as *const _ as usize },
8324 0usize,
8325 concat!(
8326 "Offset of field: ",
8327 stringify!(__sigaction_u),
8328 "::",
8329 stringify!(__sa_handler)
8330 )
8331 );
8332 assert_eq!(
8333 unsafe { &(*(::std::ptr::null::<__sigaction_u>())).__sa_sigaction as *const _ as usize },
8334 0usize,
8335 concat!(
8336 "Offset of field: ",
8337 stringify!(__sigaction_u),
8338 "::",
8339 stringify!(__sa_sigaction)
8340 )
8341 );
8342}
8343#[repr(C)]
8344#[derive(Copy, Clone)]
8345pub struct __sigaction {
8346 pub __sigaction_u: __sigaction_u,
8347 pub sa_tramp: ::std::option::Option<
8348 unsafe extern "C" fn(
8349 arg1: *mut ::std::os::raw::c_void,
8350 arg2: ::std::os::raw::c_int,
8351 arg3: ::std::os::raw::c_int,
8352 arg4: *mut siginfo_t,
8353 arg5: *mut ::std::os::raw::c_void,
8354 ),
8355 >,
8356 pub sa_mask: sigset_t,
8357 pub sa_flags: ::std::os::raw::c_int,
8358}
8359#[test]
8360fn bindgen_test_layout___sigaction() {
8361 assert_eq!(
8362 ::std::mem::size_of::<__sigaction>(),
8363 24usize,
8364 concat!("Size of: ", stringify!(__sigaction))
8365 );
8366 assert_eq!(
8367 ::std::mem::align_of::<__sigaction>(),
8368 8usize,
8369 concat!("Alignment of ", stringify!(__sigaction))
8370 );
8371 assert_eq!(
8372 unsafe { &(*(::std::ptr::null::<__sigaction>())).__sigaction_u as *const _ as usize },
8373 0usize,
8374 concat!(
8375 "Offset of field: ",
8376 stringify!(__sigaction),
8377 "::",
8378 stringify!(__sigaction_u)
8379 )
8380 );
8381 assert_eq!(
8382 unsafe { &(*(::std::ptr::null::<__sigaction>())).sa_tramp as *const _ as usize },
8383 8usize,
8384 concat!(
8385 "Offset of field: ",
8386 stringify!(__sigaction),
8387 "::",
8388 stringify!(sa_tramp)
8389 )
8390 );
8391 assert_eq!(
8392 unsafe { &(*(::std::ptr::null::<__sigaction>())).sa_mask as *const _ as usize },
8393 16usize,
8394 concat!(
8395 "Offset of field: ",
8396 stringify!(__sigaction),
8397 "::",
8398 stringify!(sa_mask)
8399 )
8400 );
8401 assert_eq!(
8402 unsafe { &(*(::std::ptr::null::<__sigaction>())).sa_flags as *const _ as usize },
8403 20usize,
8404 concat!(
8405 "Offset of field: ",
8406 stringify!(__sigaction),
8407 "::",
8408 stringify!(sa_flags)
8409 )
8410 );
8411}
8412#[repr(C)]
8413#[derive(Copy, Clone)]
8414pub struct sigaction {
8415 pub __sigaction_u: __sigaction_u,
8416 pub sa_mask: sigset_t,
8417 pub sa_flags: ::std::os::raw::c_int,
8418}
8419#[test]
8420fn bindgen_test_layout_sigaction() {
8421 assert_eq!(
8422 ::std::mem::size_of::<sigaction>(),
8423 16usize,
8424 concat!("Size of: ", stringify!(sigaction))
8425 );
8426 assert_eq!(
8427 ::std::mem::align_of::<sigaction>(),
8428 8usize,
8429 concat!("Alignment of ", stringify!(sigaction))
8430 );
8431 assert_eq!(
8432 unsafe { &(*(::std::ptr::null::<sigaction>())).__sigaction_u as *const _ as usize },
8433 0usize,
8434 concat!(
8435 "Offset of field: ",
8436 stringify!(sigaction),
8437 "::",
8438 stringify!(__sigaction_u)
8439 )
8440 );
8441 assert_eq!(
8442 unsafe { &(*(::std::ptr::null::<sigaction>())).sa_mask as *const _ as usize },
8443 8usize,
8444 concat!(
8445 "Offset of field: ",
8446 stringify!(sigaction),
8447 "::",
8448 stringify!(sa_mask)
8449 )
8450 );
8451 assert_eq!(
8452 unsafe { &(*(::std::ptr::null::<sigaction>())).sa_flags as *const _ as usize },
8453 12usize,
8454 concat!(
8455 "Offset of field: ",
8456 stringify!(sigaction),
8457 "::",
8458 stringify!(sa_flags)
8459 )
8460 );
8461}
8462pub type sig_t = ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
8463#[repr(C)]
8464#[derive(Debug, Copy, Clone)]
8465pub struct sigvec {
8466 pub sv_handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
8467 pub sv_mask: ::std::os::raw::c_int,
8468 pub sv_flags: ::std::os::raw::c_int,
8469}
8470#[test]
8471fn bindgen_test_layout_sigvec() {
8472 assert_eq!(
8473 ::std::mem::size_of::<sigvec>(),
8474 16usize,
8475 concat!("Size of: ", stringify!(sigvec))
8476 );
8477 assert_eq!(
8478 ::std::mem::align_of::<sigvec>(),
8479 8usize,
8480 concat!("Alignment of ", stringify!(sigvec))
8481 );
8482 assert_eq!(
8483 unsafe { &(*(::std::ptr::null::<sigvec>())).sv_handler as *const _ as usize },
8484 0usize,
8485 concat!(
8486 "Offset of field: ",
8487 stringify!(sigvec),
8488 "::",
8489 stringify!(sv_handler)
8490 )
8491 );
8492 assert_eq!(
8493 unsafe { &(*(::std::ptr::null::<sigvec>())).sv_mask as *const _ as usize },
8494 8usize,
8495 concat!(
8496 "Offset of field: ",
8497 stringify!(sigvec),
8498 "::",
8499 stringify!(sv_mask)
8500 )
8501 );
8502 assert_eq!(
8503 unsafe { &(*(::std::ptr::null::<sigvec>())).sv_flags as *const _ as usize },
8504 12usize,
8505 concat!(
8506 "Offset of field: ",
8507 stringify!(sigvec),
8508 "::",
8509 stringify!(sv_flags)
8510 )
8511 );
8512}
8513#[repr(C)]
8514#[derive(Debug, Copy, Clone)]
8515pub struct sigstack {
8516 pub ss_sp: *mut ::std::os::raw::c_char,
8517 pub ss_onstack: ::std::os::raw::c_int,
8518}
8519#[test]
8520fn bindgen_test_layout_sigstack() {
8521 assert_eq!(
8522 ::std::mem::size_of::<sigstack>(),
8523 16usize,
8524 concat!("Size of: ", stringify!(sigstack))
8525 );
8526 assert_eq!(
8527 ::std::mem::align_of::<sigstack>(),
8528 8usize,
8529 concat!("Alignment of ", stringify!(sigstack))
8530 );
8531 assert_eq!(
8532 unsafe { &(*(::std::ptr::null::<sigstack>())).ss_sp as *const _ as usize },
8533 0usize,
8534 concat!(
8535 "Offset of field: ",
8536 stringify!(sigstack),
8537 "::",
8538 stringify!(ss_sp)
8539 )
8540 );
8541 assert_eq!(
8542 unsafe { &(*(::std::ptr::null::<sigstack>())).ss_onstack as *const _ as usize },
8543 8usize,
8544 concat!(
8545 "Offset of field: ",
8546 stringify!(sigstack),
8547 "::",
8548 stringify!(ss_onstack)
8549 )
8550 );
8551}
8552extern "C" {
8553 pub fn signal(
8554 arg1: ::std::os::raw::c_int,
8555 arg2: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
8556 ) -> ::std::option::Option<
8557 unsafe extern "C" fn(
8558 arg1: ::std::os::raw::c_int,
8559 arg2: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
8560 ),
8561 >;
8562}
8563#[repr(C)]
8564#[derive(Debug, Copy, Clone)]
8565pub struct timeval {
8566 pub tv_sec: __darwin_time_t,
8567 pub tv_usec: __darwin_suseconds_t,
8568}
8569#[test]
8570fn bindgen_test_layout_timeval() {
8571 assert_eq!(
8572 ::std::mem::size_of::<timeval>(),
8573 16usize,
8574 concat!("Size of: ", stringify!(timeval))
8575 );
8576 assert_eq!(
8577 ::std::mem::align_of::<timeval>(),
8578 8usize,
8579 concat!("Alignment of ", stringify!(timeval))
8580 );
8581 assert_eq!(
8582 unsafe { &(*(::std::ptr::null::<timeval>())).tv_sec as *const _ as usize },
8583 0usize,
8584 concat!(
8585 "Offset of field: ",
8586 stringify!(timeval),
8587 "::",
8588 stringify!(tv_sec)
8589 )
8590 );
8591 assert_eq!(
8592 unsafe { &(*(::std::ptr::null::<timeval>())).tv_usec as *const _ as usize },
8593 8usize,
8594 concat!(
8595 "Offset of field: ",
8596 stringify!(timeval),
8597 "::",
8598 stringify!(tv_usec)
8599 )
8600 );
8601}
8602pub type rlim_t = __uint64_t;
8603#[repr(C)]
8604#[derive(Debug, Copy, Clone)]
8605pub struct rusage {
8606 pub ru_utime: timeval,
8607 pub ru_stime: timeval,
8608 pub ru_maxrss: ::std::os::raw::c_long,
8609 pub ru_ixrss: ::std::os::raw::c_long,
8610 pub ru_idrss: ::std::os::raw::c_long,
8611 pub ru_isrss: ::std::os::raw::c_long,
8612 pub ru_minflt: ::std::os::raw::c_long,
8613 pub ru_majflt: ::std::os::raw::c_long,
8614 pub ru_nswap: ::std::os::raw::c_long,
8615 pub ru_inblock: ::std::os::raw::c_long,
8616 pub ru_oublock: ::std::os::raw::c_long,
8617 pub ru_msgsnd: ::std::os::raw::c_long,
8618 pub ru_msgrcv: ::std::os::raw::c_long,
8619 pub ru_nsignals: ::std::os::raw::c_long,
8620 pub ru_nvcsw: ::std::os::raw::c_long,
8621 pub ru_nivcsw: ::std::os::raw::c_long,
8622}
8623#[test]
8624fn bindgen_test_layout_rusage() {
8625 assert_eq!(
8626 ::std::mem::size_of::<rusage>(),
8627 144usize,
8628 concat!("Size of: ", stringify!(rusage))
8629 );
8630 assert_eq!(
8631 ::std::mem::align_of::<rusage>(),
8632 8usize,
8633 concat!("Alignment of ", stringify!(rusage))
8634 );
8635 assert_eq!(
8636 unsafe { &(*(::std::ptr::null::<rusage>())).ru_utime as *const _ as usize },
8637 0usize,
8638 concat!(
8639 "Offset of field: ",
8640 stringify!(rusage),
8641 "::",
8642 stringify!(ru_utime)
8643 )
8644 );
8645 assert_eq!(
8646 unsafe { &(*(::std::ptr::null::<rusage>())).ru_stime as *const _ as usize },
8647 16usize,
8648 concat!(
8649 "Offset of field: ",
8650 stringify!(rusage),
8651 "::",
8652 stringify!(ru_stime)
8653 )
8654 );
8655 assert_eq!(
8656 unsafe { &(*(::std::ptr::null::<rusage>())).ru_maxrss as *const _ as usize },
8657 32usize,
8658 concat!(
8659 "Offset of field: ",
8660 stringify!(rusage),
8661 "::",
8662 stringify!(ru_maxrss)
8663 )
8664 );
8665 assert_eq!(
8666 unsafe { &(*(::std::ptr::null::<rusage>())).ru_ixrss as *const _ as usize },
8667 40usize,
8668 concat!(
8669 "Offset of field: ",
8670 stringify!(rusage),
8671 "::",
8672 stringify!(ru_ixrss)
8673 )
8674 );
8675 assert_eq!(
8676 unsafe { &(*(::std::ptr::null::<rusage>())).ru_idrss as *const _ as usize },
8677 48usize,
8678 concat!(
8679 "Offset of field: ",
8680 stringify!(rusage),
8681 "::",
8682 stringify!(ru_idrss)
8683 )
8684 );
8685 assert_eq!(
8686 unsafe { &(*(::std::ptr::null::<rusage>())).ru_isrss as *const _ as usize },
8687 56usize,
8688 concat!(
8689 "Offset of field: ",
8690 stringify!(rusage),
8691 "::",
8692 stringify!(ru_isrss)
8693 )
8694 );
8695 assert_eq!(
8696 unsafe { &(*(::std::ptr::null::<rusage>())).ru_minflt as *const _ as usize },
8697 64usize,
8698 concat!(
8699 "Offset of field: ",
8700 stringify!(rusage),
8701 "::",
8702 stringify!(ru_minflt)
8703 )
8704 );
8705 assert_eq!(
8706 unsafe { &(*(::std::ptr::null::<rusage>())).ru_majflt as *const _ as usize },
8707 72usize,
8708 concat!(
8709 "Offset of field: ",
8710 stringify!(rusage),
8711 "::",
8712 stringify!(ru_majflt)
8713 )
8714 );
8715 assert_eq!(
8716 unsafe { &(*(::std::ptr::null::<rusage>())).ru_nswap as *const _ as usize },
8717 80usize,
8718 concat!(
8719 "Offset of field: ",
8720 stringify!(rusage),
8721 "::",
8722 stringify!(ru_nswap)
8723 )
8724 );
8725 assert_eq!(
8726 unsafe { &(*(::std::ptr::null::<rusage>())).ru_inblock as *const _ as usize },
8727 88usize,
8728 concat!(
8729 "Offset of field: ",
8730 stringify!(rusage),
8731 "::",
8732 stringify!(ru_inblock)
8733 )
8734 );
8735 assert_eq!(
8736 unsafe { &(*(::std::ptr::null::<rusage>())).ru_oublock as *const _ as usize },
8737 96usize,
8738 concat!(
8739 "Offset of field: ",
8740 stringify!(rusage),
8741 "::",
8742 stringify!(ru_oublock)
8743 )
8744 );
8745 assert_eq!(
8746 unsafe { &(*(::std::ptr::null::<rusage>())).ru_msgsnd as *const _ as usize },
8747 104usize,
8748 concat!(
8749 "Offset of field: ",
8750 stringify!(rusage),
8751 "::",
8752 stringify!(ru_msgsnd)
8753 )
8754 );
8755 assert_eq!(
8756 unsafe { &(*(::std::ptr::null::<rusage>())).ru_msgrcv as *const _ as usize },
8757 112usize,
8758 concat!(
8759 "Offset of field: ",
8760 stringify!(rusage),
8761 "::",
8762 stringify!(ru_msgrcv)
8763 )
8764 );
8765 assert_eq!(
8766 unsafe { &(*(::std::ptr::null::<rusage>())).ru_nsignals as *const _ as usize },
8767 120usize,
8768 concat!(
8769 "Offset of field: ",
8770 stringify!(rusage),
8771 "::",
8772 stringify!(ru_nsignals)
8773 )
8774 );
8775 assert_eq!(
8776 unsafe { &(*(::std::ptr::null::<rusage>())).ru_nvcsw as *const _ as usize },
8777 128usize,
8778 concat!(
8779 "Offset of field: ",
8780 stringify!(rusage),
8781 "::",
8782 stringify!(ru_nvcsw)
8783 )
8784 );
8785 assert_eq!(
8786 unsafe { &(*(::std::ptr::null::<rusage>())).ru_nivcsw as *const _ as usize },
8787 136usize,
8788 concat!(
8789 "Offset of field: ",
8790 stringify!(rusage),
8791 "::",
8792 stringify!(ru_nivcsw)
8793 )
8794 );
8795}
8796pub type rusage_info_t = *mut ::std::os::raw::c_void;
8797#[repr(C)]
8798#[derive(Debug, Copy, Clone)]
8799pub struct rusage_info_v0 {
8800 pub ri_uuid: [u8; 16usize],
8801 pub ri_user_time: u64,
8802 pub ri_system_time: u64,
8803 pub ri_pkg_idle_wkups: u64,
8804 pub ri_interrupt_wkups: u64,
8805 pub ri_pageins: u64,
8806 pub ri_wired_size: u64,
8807 pub ri_resident_size: u64,
8808 pub ri_phys_footprint: u64,
8809 pub ri_proc_start_abstime: u64,
8810 pub ri_proc_exit_abstime: u64,
8811}
8812#[test]
8813fn bindgen_test_layout_rusage_info_v0() {
8814 assert_eq!(
8815 ::std::mem::size_of::<rusage_info_v0>(),
8816 96usize,
8817 concat!("Size of: ", stringify!(rusage_info_v0))
8818 );
8819 assert_eq!(
8820 ::std::mem::align_of::<rusage_info_v0>(),
8821 8usize,
8822 concat!("Alignment of ", stringify!(rusage_info_v0))
8823 );
8824 assert_eq!(
8825 unsafe { &(*(::std::ptr::null::<rusage_info_v0>())).ri_uuid as *const _ as usize },
8826 0usize,
8827 concat!(
8828 "Offset of field: ",
8829 stringify!(rusage_info_v0),
8830 "::",
8831 stringify!(ri_uuid)
8832 )
8833 );
8834 assert_eq!(
8835 unsafe { &(*(::std::ptr::null::<rusage_info_v0>())).ri_user_time as *const _ as usize },
8836 16usize,
8837 concat!(
8838 "Offset of field: ",
8839 stringify!(rusage_info_v0),
8840 "::",
8841 stringify!(ri_user_time)
8842 )
8843 );
8844 assert_eq!(
8845 unsafe { &(*(::std::ptr::null::<rusage_info_v0>())).ri_system_time as *const _ as usize },
8846 24usize,
8847 concat!(
8848 "Offset of field: ",
8849 stringify!(rusage_info_v0),
8850 "::",
8851 stringify!(ri_system_time)
8852 )
8853 );
8854 assert_eq!(
8855 unsafe {
8856 &(*(::std::ptr::null::<rusage_info_v0>())).ri_pkg_idle_wkups as *const _ as usize
8857 },
8858 32usize,
8859 concat!(
8860 "Offset of field: ",
8861 stringify!(rusage_info_v0),
8862 "::",
8863 stringify!(ri_pkg_idle_wkups)
8864 )
8865 );
8866 assert_eq!(
8867 unsafe {
8868 &(*(::std::ptr::null::<rusage_info_v0>())).ri_interrupt_wkups as *const _ as usize
8869 },
8870 40usize,
8871 concat!(
8872 "Offset of field: ",
8873 stringify!(rusage_info_v0),
8874 "::",
8875 stringify!(ri_interrupt_wkups)
8876 )
8877 );
8878 assert_eq!(
8879 unsafe { &(*(::std::ptr::null::<rusage_info_v0>())).ri_pageins as *const _ as usize },
8880 48usize,
8881 concat!(
8882 "Offset of field: ",
8883 stringify!(rusage_info_v0),
8884 "::",
8885 stringify!(ri_pageins)
8886 )
8887 );
8888 assert_eq!(
8889 unsafe { &(*(::std::ptr::null::<rusage_info_v0>())).ri_wired_size as *const _ as usize },
8890 56usize,
8891 concat!(
8892 "Offset of field: ",
8893 stringify!(rusage_info_v0),
8894 "::",
8895 stringify!(ri_wired_size)
8896 )
8897 );
8898 assert_eq!(
8899 unsafe { &(*(::std::ptr::null::<rusage_info_v0>())).ri_resident_size as *const _ as usize },
8900 64usize,
8901 concat!(
8902 "Offset of field: ",
8903 stringify!(rusage_info_v0),
8904 "::",
8905 stringify!(ri_resident_size)
8906 )
8907 );
8908 assert_eq!(
8909 unsafe {
8910 &(*(::std::ptr::null::<rusage_info_v0>())).ri_phys_footprint as *const _ as usize
8911 },
8912 72usize,
8913 concat!(
8914 "Offset of field: ",
8915 stringify!(rusage_info_v0),
8916 "::",
8917 stringify!(ri_phys_footprint)
8918 )
8919 );
8920 assert_eq!(
8921 unsafe {
8922 &(*(::std::ptr::null::<rusage_info_v0>())).ri_proc_start_abstime as *const _ as usize
8923 },
8924 80usize,
8925 concat!(
8926 "Offset of field: ",
8927 stringify!(rusage_info_v0),
8928 "::",
8929 stringify!(ri_proc_start_abstime)
8930 )
8931 );
8932 assert_eq!(
8933 unsafe {
8934 &(*(::std::ptr::null::<rusage_info_v0>())).ri_proc_exit_abstime as *const _ as usize
8935 },
8936 88usize,
8937 concat!(
8938 "Offset of field: ",
8939 stringify!(rusage_info_v0),
8940 "::",
8941 stringify!(ri_proc_exit_abstime)
8942 )
8943 );
8944}
8945#[repr(C)]
8946#[derive(Debug, Copy, Clone)]
8947pub struct rusage_info_v1 {
8948 pub ri_uuid: [u8; 16usize],
8949 pub ri_user_time: u64,
8950 pub ri_system_time: u64,
8951 pub ri_pkg_idle_wkups: u64,
8952 pub ri_interrupt_wkups: u64,
8953 pub ri_pageins: u64,
8954 pub ri_wired_size: u64,
8955 pub ri_resident_size: u64,
8956 pub ri_phys_footprint: u64,
8957 pub ri_proc_start_abstime: u64,
8958 pub ri_proc_exit_abstime: u64,
8959 pub ri_child_user_time: u64,
8960 pub ri_child_system_time: u64,
8961 pub ri_child_pkg_idle_wkups: u64,
8962 pub ri_child_interrupt_wkups: u64,
8963 pub ri_child_pageins: u64,
8964 pub ri_child_elapsed_abstime: u64,
8965}
8966#[test]
8967fn bindgen_test_layout_rusage_info_v1() {
8968 assert_eq!(
8969 ::std::mem::size_of::<rusage_info_v1>(),
8970 144usize,
8971 concat!("Size of: ", stringify!(rusage_info_v1))
8972 );
8973 assert_eq!(
8974 ::std::mem::align_of::<rusage_info_v1>(),
8975 8usize,
8976 concat!("Alignment of ", stringify!(rusage_info_v1))
8977 );
8978 assert_eq!(
8979 unsafe { &(*(::std::ptr::null::<rusage_info_v1>())).ri_uuid as *const _ as usize },
8980 0usize,
8981 concat!(
8982 "Offset of field: ",
8983 stringify!(rusage_info_v1),
8984 "::",
8985 stringify!(ri_uuid)
8986 )
8987 );
8988 assert_eq!(
8989 unsafe { &(*(::std::ptr::null::<rusage_info_v1>())).ri_user_time as *const _ as usize },
8990 16usize,
8991 concat!(
8992 "Offset of field: ",
8993 stringify!(rusage_info_v1),
8994 "::",
8995 stringify!(ri_user_time)
8996 )
8997 );
8998 assert_eq!(
8999 unsafe { &(*(::std::ptr::null::<rusage_info_v1>())).ri_system_time as *const _ as usize },
9000 24usize,
9001 concat!(
9002 "Offset of field: ",
9003 stringify!(rusage_info_v1),
9004 "::",
9005 stringify!(ri_system_time)
9006 )
9007 );
9008 assert_eq!(
9009 unsafe {
9010 &(*(::std::ptr::null::<rusage_info_v1>())).ri_pkg_idle_wkups as *const _ as usize
9011 },
9012 32usize,
9013 concat!(
9014 "Offset of field: ",
9015 stringify!(rusage_info_v1),
9016 "::",
9017 stringify!(ri_pkg_idle_wkups)
9018 )
9019 );
9020 assert_eq!(
9021 unsafe {
9022 &(*(::std::ptr::null::<rusage_info_v1>())).ri_interrupt_wkups as *const _ as usize
9023 },
9024 40usize,
9025 concat!(
9026 "Offset of field: ",
9027 stringify!(rusage_info_v1),
9028 "::",
9029 stringify!(ri_interrupt_wkups)
9030 )
9031 );
9032 assert_eq!(
9033 unsafe { &(*(::std::ptr::null::<rusage_info_v1>())).ri_pageins as *const _ as usize },
9034 48usize,
9035 concat!(
9036 "Offset of field: ",
9037 stringify!(rusage_info_v1),
9038 "::",
9039 stringify!(ri_pageins)
9040 )
9041 );
9042 assert_eq!(
9043 unsafe { &(*(::std::ptr::null::<rusage_info_v1>())).ri_wired_size as *const _ as usize },
9044 56usize,
9045 concat!(
9046 "Offset of field: ",
9047 stringify!(rusage_info_v1),
9048 "::",
9049 stringify!(ri_wired_size)
9050 )
9051 );
9052 assert_eq!(
9053 unsafe { &(*(::std::ptr::null::<rusage_info_v1>())).ri_resident_size as *const _ as usize },
9054 64usize,
9055 concat!(
9056 "Offset of field: ",
9057 stringify!(rusage_info_v1),
9058 "::",
9059 stringify!(ri_resident_size)
9060 )
9061 );
9062 assert_eq!(
9063 unsafe {
9064 &(*(::std::ptr::null::<rusage_info_v1>())).ri_phys_footprint as *const _ as usize
9065 },
9066 72usize,
9067 concat!(
9068 "Offset of field: ",
9069 stringify!(rusage_info_v1),
9070 "::",
9071 stringify!(ri_phys_footprint)
9072 )
9073 );
9074 assert_eq!(
9075 unsafe {
9076 &(*(::std::ptr::null::<rusage_info_v1>())).ri_proc_start_abstime as *const _ as usize
9077 },
9078 80usize,
9079 concat!(
9080 "Offset of field: ",
9081 stringify!(rusage_info_v1),
9082 "::",
9083 stringify!(ri_proc_start_abstime)
9084 )
9085 );
9086 assert_eq!(
9087 unsafe {
9088 &(*(::std::ptr::null::<rusage_info_v1>())).ri_proc_exit_abstime as *const _ as usize
9089 },
9090 88usize,
9091 concat!(
9092 "Offset of field: ",
9093 stringify!(rusage_info_v1),
9094 "::",
9095 stringify!(ri_proc_exit_abstime)
9096 )
9097 );
9098 assert_eq!(
9099 unsafe {
9100 &(*(::std::ptr::null::<rusage_info_v1>())).ri_child_user_time as *const _ as usize
9101 },
9102 96usize,
9103 concat!(
9104 "Offset of field: ",
9105 stringify!(rusage_info_v1),
9106 "::",
9107 stringify!(ri_child_user_time)
9108 )
9109 );
9110 assert_eq!(
9111 unsafe {
9112 &(*(::std::ptr::null::<rusage_info_v1>())).ri_child_system_time as *const _ as usize
9113 },
9114 104usize,
9115 concat!(
9116 "Offset of field: ",
9117 stringify!(rusage_info_v1),
9118 "::",
9119 stringify!(ri_child_system_time)
9120 )
9121 );
9122 assert_eq!(
9123 unsafe {
9124 &(*(::std::ptr::null::<rusage_info_v1>())).ri_child_pkg_idle_wkups as *const _ as usize
9125 },
9126 112usize,
9127 concat!(
9128 "Offset of field: ",
9129 stringify!(rusage_info_v1),
9130 "::",
9131 stringify!(ri_child_pkg_idle_wkups)
9132 )
9133 );
9134 assert_eq!(
9135 unsafe {
9136 &(*(::std::ptr::null::<rusage_info_v1>())).ri_child_interrupt_wkups as *const _ as usize
9137 },
9138 120usize,
9139 concat!(
9140 "Offset of field: ",
9141 stringify!(rusage_info_v1),
9142 "::",
9143 stringify!(ri_child_interrupt_wkups)
9144 )
9145 );
9146 assert_eq!(
9147 unsafe { &(*(::std::ptr::null::<rusage_info_v1>())).ri_child_pageins as *const _ as usize },
9148 128usize,
9149 concat!(
9150 "Offset of field: ",
9151 stringify!(rusage_info_v1),
9152 "::",
9153 stringify!(ri_child_pageins)
9154 )
9155 );
9156 assert_eq!(
9157 unsafe {
9158 &(*(::std::ptr::null::<rusage_info_v1>())).ri_child_elapsed_abstime as *const _ as usize
9159 },
9160 136usize,
9161 concat!(
9162 "Offset of field: ",
9163 stringify!(rusage_info_v1),
9164 "::",
9165 stringify!(ri_child_elapsed_abstime)
9166 )
9167 );
9168}
9169#[repr(C)]
9170#[derive(Debug, Copy, Clone)]
9171pub struct rusage_info_v2 {
9172 pub ri_uuid: [u8; 16usize],
9173 pub ri_user_time: u64,
9174 pub ri_system_time: u64,
9175 pub ri_pkg_idle_wkups: u64,
9176 pub ri_interrupt_wkups: u64,
9177 pub ri_pageins: u64,
9178 pub ri_wired_size: u64,
9179 pub ri_resident_size: u64,
9180 pub ri_phys_footprint: u64,
9181 pub ri_proc_start_abstime: u64,
9182 pub ri_proc_exit_abstime: u64,
9183 pub ri_child_user_time: u64,
9184 pub ri_child_system_time: u64,
9185 pub ri_child_pkg_idle_wkups: u64,
9186 pub ri_child_interrupt_wkups: u64,
9187 pub ri_child_pageins: u64,
9188 pub ri_child_elapsed_abstime: u64,
9189 pub ri_diskio_bytesread: u64,
9190 pub ri_diskio_byteswritten: u64,
9191}
9192#[test]
9193fn bindgen_test_layout_rusage_info_v2() {
9194 assert_eq!(
9195 ::std::mem::size_of::<rusage_info_v2>(),
9196 160usize,
9197 concat!("Size of: ", stringify!(rusage_info_v2))
9198 );
9199 assert_eq!(
9200 ::std::mem::align_of::<rusage_info_v2>(),
9201 8usize,
9202 concat!("Alignment of ", stringify!(rusage_info_v2))
9203 );
9204 assert_eq!(
9205 unsafe { &(*(::std::ptr::null::<rusage_info_v2>())).ri_uuid as *const _ as usize },
9206 0usize,
9207 concat!(
9208 "Offset of field: ",
9209 stringify!(rusage_info_v2),
9210 "::",
9211 stringify!(ri_uuid)
9212 )
9213 );
9214 assert_eq!(
9215 unsafe { &(*(::std::ptr::null::<rusage_info_v2>())).ri_user_time as *const _ as usize },
9216 16usize,
9217 concat!(
9218 "Offset of field: ",
9219 stringify!(rusage_info_v2),
9220 "::",
9221 stringify!(ri_user_time)
9222 )
9223 );
9224 assert_eq!(
9225 unsafe { &(*(::std::ptr::null::<rusage_info_v2>())).ri_system_time as *const _ as usize },
9226 24usize,
9227 concat!(
9228 "Offset of field: ",
9229 stringify!(rusage_info_v2),
9230 "::",
9231 stringify!(ri_system_time)
9232 )
9233 );
9234 assert_eq!(
9235 unsafe {
9236 &(*(::std::ptr::null::<rusage_info_v2>())).ri_pkg_idle_wkups as *const _ as usize
9237 },
9238 32usize,
9239 concat!(
9240 "Offset of field: ",
9241 stringify!(rusage_info_v2),
9242 "::",
9243 stringify!(ri_pkg_idle_wkups)
9244 )
9245 );
9246 assert_eq!(
9247 unsafe {
9248 &(*(::std::ptr::null::<rusage_info_v2>())).ri_interrupt_wkups as *const _ as usize
9249 },
9250 40usize,
9251 concat!(
9252 "Offset of field: ",
9253 stringify!(rusage_info_v2),
9254 "::",
9255 stringify!(ri_interrupt_wkups)
9256 )
9257 );
9258 assert_eq!(
9259 unsafe { &(*(::std::ptr::null::<rusage_info_v2>())).ri_pageins as *const _ as usize },
9260 48usize,
9261 concat!(
9262 "Offset of field: ",
9263 stringify!(rusage_info_v2),
9264 "::",
9265 stringify!(ri_pageins)
9266 )
9267 );
9268 assert_eq!(
9269 unsafe { &(*(::std::ptr::null::<rusage_info_v2>())).ri_wired_size as *const _ as usize },
9270 56usize,
9271 concat!(
9272 "Offset of field: ",
9273 stringify!(rusage_info_v2),
9274 "::",
9275 stringify!(ri_wired_size)
9276 )
9277 );
9278 assert_eq!(
9279 unsafe { &(*(::std::ptr::null::<rusage_info_v2>())).ri_resident_size as *const _ as usize },
9280 64usize,
9281 concat!(
9282 "Offset of field: ",
9283 stringify!(rusage_info_v2),
9284 "::",
9285 stringify!(ri_resident_size)
9286 )
9287 );
9288 assert_eq!(
9289 unsafe {
9290 &(*(::std::ptr::null::<rusage_info_v2>())).ri_phys_footprint as *const _ as usize
9291 },
9292 72usize,
9293 concat!(
9294 "Offset of field: ",
9295 stringify!(rusage_info_v2),
9296 "::",
9297 stringify!(ri_phys_footprint)
9298 )
9299 );
9300 assert_eq!(
9301 unsafe {
9302 &(*(::std::ptr::null::<rusage_info_v2>())).ri_proc_start_abstime as *const _ as usize
9303 },
9304 80usize,
9305 concat!(
9306 "Offset of field: ",
9307 stringify!(rusage_info_v2),
9308 "::",
9309 stringify!(ri_proc_start_abstime)
9310 )
9311 );
9312 assert_eq!(
9313 unsafe {
9314 &(*(::std::ptr::null::<rusage_info_v2>())).ri_proc_exit_abstime as *const _ as usize
9315 },
9316 88usize,
9317 concat!(
9318 "Offset of field: ",
9319 stringify!(rusage_info_v2),
9320 "::",
9321 stringify!(ri_proc_exit_abstime)
9322 )
9323 );
9324 assert_eq!(
9325 unsafe {
9326 &(*(::std::ptr::null::<rusage_info_v2>())).ri_child_user_time as *const _ as usize
9327 },
9328 96usize,
9329 concat!(
9330 "Offset of field: ",
9331 stringify!(rusage_info_v2),
9332 "::",
9333 stringify!(ri_child_user_time)
9334 )
9335 );
9336 assert_eq!(
9337 unsafe {
9338 &(*(::std::ptr::null::<rusage_info_v2>())).ri_child_system_time as *const _ as usize
9339 },
9340 104usize,
9341 concat!(
9342 "Offset of field: ",
9343 stringify!(rusage_info_v2),
9344 "::",
9345 stringify!(ri_child_system_time)
9346 )
9347 );
9348 assert_eq!(
9349 unsafe {
9350 &(*(::std::ptr::null::<rusage_info_v2>())).ri_child_pkg_idle_wkups as *const _ as usize
9351 },
9352 112usize,
9353 concat!(
9354 "Offset of field: ",
9355 stringify!(rusage_info_v2),
9356 "::",
9357 stringify!(ri_child_pkg_idle_wkups)
9358 )
9359 );
9360 assert_eq!(
9361 unsafe {
9362 &(*(::std::ptr::null::<rusage_info_v2>())).ri_child_interrupt_wkups as *const _ as usize
9363 },
9364 120usize,
9365 concat!(
9366 "Offset of field: ",
9367 stringify!(rusage_info_v2),
9368 "::",
9369 stringify!(ri_child_interrupt_wkups)
9370 )
9371 );
9372 assert_eq!(
9373 unsafe { &(*(::std::ptr::null::<rusage_info_v2>())).ri_child_pageins as *const _ as usize },
9374 128usize,
9375 concat!(
9376 "Offset of field: ",
9377 stringify!(rusage_info_v2),
9378 "::",
9379 stringify!(ri_child_pageins)
9380 )
9381 );
9382 assert_eq!(
9383 unsafe {
9384 &(*(::std::ptr::null::<rusage_info_v2>())).ri_child_elapsed_abstime as *const _ as usize
9385 },
9386 136usize,
9387 concat!(
9388 "Offset of field: ",
9389 stringify!(rusage_info_v2),
9390 "::",
9391 stringify!(ri_child_elapsed_abstime)
9392 )
9393 );
9394 assert_eq!(
9395 unsafe {
9396 &(*(::std::ptr::null::<rusage_info_v2>())).ri_diskio_bytesread as *const _ as usize
9397 },
9398 144usize,
9399 concat!(
9400 "Offset of field: ",
9401 stringify!(rusage_info_v2),
9402 "::",
9403 stringify!(ri_diskio_bytesread)
9404 )
9405 );
9406 assert_eq!(
9407 unsafe {
9408 &(*(::std::ptr::null::<rusage_info_v2>())).ri_diskio_byteswritten as *const _ as usize
9409 },
9410 152usize,
9411 concat!(
9412 "Offset of field: ",
9413 stringify!(rusage_info_v2),
9414 "::",
9415 stringify!(ri_diskio_byteswritten)
9416 )
9417 );
9418}
9419#[repr(C)]
9420#[derive(Debug, Copy, Clone)]
9421pub struct rusage_info_v3 {
9422 pub ri_uuid: [u8; 16usize],
9423 pub ri_user_time: u64,
9424 pub ri_system_time: u64,
9425 pub ri_pkg_idle_wkups: u64,
9426 pub ri_interrupt_wkups: u64,
9427 pub ri_pageins: u64,
9428 pub ri_wired_size: u64,
9429 pub ri_resident_size: u64,
9430 pub ri_phys_footprint: u64,
9431 pub ri_proc_start_abstime: u64,
9432 pub ri_proc_exit_abstime: u64,
9433 pub ri_child_user_time: u64,
9434 pub ri_child_system_time: u64,
9435 pub ri_child_pkg_idle_wkups: u64,
9436 pub ri_child_interrupt_wkups: u64,
9437 pub ri_child_pageins: u64,
9438 pub ri_child_elapsed_abstime: u64,
9439 pub ri_diskio_bytesread: u64,
9440 pub ri_diskio_byteswritten: u64,
9441 pub ri_cpu_time_qos_default: u64,
9442 pub ri_cpu_time_qos_maintenance: u64,
9443 pub ri_cpu_time_qos_background: u64,
9444 pub ri_cpu_time_qos_utility: u64,
9445 pub ri_cpu_time_qos_legacy: u64,
9446 pub ri_cpu_time_qos_user_initiated: u64,
9447 pub ri_cpu_time_qos_user_interactive: u64,
9448 pub ri_billed_system_time: u64,
9449 pub ri_serviced_system_time: u64,
9450}
9451#[test]
9452fn bindgen_test_layout_rusage_info_v3() {
9453 assert_eq!(
9454 ::std::mem::size_of::<rusage_info_v3>(),
9455 232usize,
9456 concat!("Size of: ", stringify!(rusage_info_v3))
9457 );
9458 assert_eq!(
9459 ::std::mem::align_of::<rusage_info_v3>(),
9460 8usize,
9461 concat!("Alignment of ", stringify!(rusage_info_v3))
9462 );
9463 assert_eq!(
9464 unsafe { &(*(::std::ptr::null::<rusage_info_v3>())).ri_uuid as *const _ as usize },
9465 0usize,
9466 concat!(
9467 "Offset of field: ",
9468 stringify!(rusage_info_v3),
9469 "::",
9470 stringify!(ri_uuid)
9471 )
9472 );
9473 assert_eq!(
9474 unsafe { &(*(::std::ptr::null::<rusage_info_v3>())).ri_user_time as *const _ as usize },
9475 16usize,
9476 concat!(
9477 "Offset of field: ",
9478 stringify!(rusage_info_v3),
9479 "::",
9480 stringify!(ri_user_time)
9481 )
9482 );
9483 assert_eq!(
9484 unsafe { &(*(::std::ptr::null::<rusage_info_v3>())).ri_system_time as *const _ as usize },
9485 24usize,
9486 concat!(
9487 "Offset of field: ",
9488 stringify!(rusage_info_v3),
9489 "::",
9490 stringify!(ri_system_time)
9491 )
9492 );
9493 assert_eq!(
9494 unsafe {
9495 &(*(::std::ptr::null::<rusage_info_v3>())).ri_pkg_idle_wkups as *const _ as usize
9496 },
9497 32usize,
9498 concat!(
9499 "Offset of field: ",
9500 stringify!(rusage_info_v3),
9501 "::",
9502 stringify!(ri_pkg_idle_wkups)
9503 )
9504 );
9505 assert_eq!(
9506 unsafe {
9507 &(*(::std::ptr::null::<rusage_info_v3>())).ri_interrupt_wkups as *const _ as usize
9508 },
9509 40usize,
9510 concat!(
9511 "Offset of field: ",
9512 stringify!(rusage_info_v3),
9513 "::",
9514 stringify!(ri_interrupt_wkups)
9515 )
9516 );
9517 assert_eq!(
9518 unsafe { &(*(::std::ptr::null::<rusage_info_v3>())).ri_pageins as *const _ as usize },
9519 48usize,
9520 concat!(
9521 "Offset of field: ",
9522 stringify!(rusage_info_v3),
9523 "::",
9524 stringify!(ri_pageins)
9525 )
9526 );
9527 assert_eq!(
9528 unsafe { &(*(::std::ptr::null::<rusage_info_v3>())).ri_wired_size as *const _ as usize },
9529 56usize,
9530 concat!(
9531 "Offset of field: ",
9532 stringify!(rusage_info_v3),
9533 "::",
9534 stringify!(ri_wired_size)
9535 )
9536 );
9537 assert_eq!(
9538 unsafe { &(*(::std::ptr::null::<rusage_info_v3>())).ri_resident_size as *const _ as usize },
9539 64usize,
9540 concat!(
9541 "Offset of field: ",
9542 stringify!(rusage_info_v3),
9543 "::",
9544 stringify!(ri_resident_size)
9545 )
9546 );
9547 assert_eq!(
9548 unsafe {
9549 &(*(::std::ptr::null::<rusage_info_v3>())).ri_phys_footprint as *const _ as usize
9550 },
9551 72usize,
9552 concat!(
9553 "Offset of field: ",
9554 stringify!(rusage_info_v3),
9555 "::",
9556 stringify!(ri_phys_footprint)
9557 )
9558 );
9559 assert_eq!(
9560 unsafe {
9561 &(*(::std::ptr::null::<rusage_info_v3>())).ri_proc_start_abstime as *const _ as usize
9562 },
9563 80usize,
9564 concat!(
9565 "Offset of field: ",
9566 stringify!(rusage_info_v3),
9567 "::",
9568 stringify!(ri_proc_start_abstime)
9569 )
9570 );
9571 assert_eq!(
9572 unsafe {
9573 &(*(::std::ptr::null::<rusage_info_v3>())).ri_proc_exit_abstime as *const _ as usize
9574 },
9575 88usize,
9576 concat!(
9577 "Offset of field: ",
9578 stringify!(rusage_info_v3),
9579 "::",
9580 stringify!(ri_proc_exit_abstime)
9581 )
9582 );
9583 assert_eq!(
9584 unsafe {
9585 &(*(::std::ptr::null::<rusage_info_v3>())).ri_child_user_time as *const _ as usize
9586 },
9587 96usize,
9588 concat!(
9589 "Offset of field: ",
9590 stringify!(rusage_info_v3),
9591 "::",
9592 stringify!(ri_child_user_time)
9593 )
9594 );
9595 assert_eq!(
9596 unsafe {
9597 &(*(::std::ptr::null::<rusage_info_v3>())).ri_child_system_time as *const _ as usize
9598 },
9599 104usize,
9600 concat!(
9601 "Offset of field: ",
9602 stringify!(rusage_info_v3),
9603 "::",
9604 stringify!(ri_child_system_time)
9605 )
9606 );
9607 assert_eq!(
9608 unsafe {
9609 &(*(::std::ptr::null::<rusage_info_v3>())).ri_child_pkg_idle_wkups as *const _ as usize
9610 },
9611 112usize,
9612 concat!(
9613 "Offset of field: ",
9614 stringify!(rusage_info_v3),
9615 "::",
9616 stringify!(ri_child_pkg_idle_wkups)
9617 )
9618 );
9619 assert_eq!(
9620 unsafe {
9621 &(*(::std::ptr::null::<rusage_info_v3>())).ri_child_interrupt_wkups as *const _ as usize
9622 },
9623 120usize,
9624 concat!(
9625 "Offset of field: ",
9626 stringify!(rusage_info_v3),
9627 "::",
9628 stringify!(ri_child_interrupt_wkups)
9629 )
9630 );
9631 assert_eq!(
9632 unsafe { &(*(::std::ptr::null::<rusage_info_v3>())).ri_child_pageins as *const _ as usize },
9633 128usize,
9634 concat!(
9635 "Offset of field: ",
9636 stringify!(rusage_info_v3),
9637 "::",
9638 stringify!(ri_child_pageins)
9639 )
9640 );
9641 assert_eq!(
9642 unsafe {
9643 &(*(::std::ptr::null::<rusage_info_v3>())).ri_child_elapsed_abstime as *const _ as usize
9644 },
9645 136usize,
9646 concat!(
9647 "Offset of field: ",
9648 stringify!(rusage_info_v3),
9649 "::",
9650 stringify!(ri_child_elapsed_abstime)
9651 )
9652 );
9653 assert_eq!(
9654 unsafe {
9655 &(*(::std::ptr::null::<rusage_info_v3>())).ri_diskio_bytesread as *const _ as usize
9656 },
9657 144usize,
9658 concat!(
9659 "Offset of field: ",
9660 stringify!(rusage_info_v3),
9661 "::",
9662 stringify!(ri_diskio_bytesread)
9663 )
9664 );
9665 assert_eq!(
9666 unsafe {
9667 &(*(::std::ptr::null::<rusage_info_v3>())).ri_diskio_byteswritten as *const _ as usize
9668 },
9669 152usize,
9670 concat!(
9671 "Offset of field: ",
9672 stringify!(rusage_info_v3),
9673 "::",
9674 stringify!(ri_diskio_byteswritten)
9675 )
9676 );
9677 assert_eq!(
9678 unsafe {
9679 &(*(::std::ptr::null::<rusage_info_v3>())).ri_cpu_time_qos_default as *const _ as usize
9680 },
9681 160usize,
9682 concat!(
9683 "Offset of field: ",
9684 stringify!(rusage_info_v3),
9685 "::",
9686 stringify!(ri_cpu_time_qos_default)
9687 )
9688 );
9689 assert_eq!(
9690 unsafe {
9691 &(*(::std::ptr::null::<rusage_info_v3>())).ri_cpu_time_qos_maintenance as *const _
9692 as usize
9693 },
9694 168usize,
9695 concat!(
9696 "Offset of field: ",
9697 stringify!(rusage_info_v3),
9698 "::",
9699 stringify!(ri_cpu_time_qos_maintenance)
9700 )
9701 );
9702 assert_eq!(
9703 unsafe {
9704 &(*(::std::ptr::null::<rusage_info_v3>())).ri_cpu_time_qos_background as *const _
9705 as usize
9706 },
9707 176usize,
9708 concat!(
9709 "Offset of field: ",
9710 stringify!(rusage_info_v3),
9711 "::",
9712 stringify!(ri_cpu_time_qos_background)
9713 )
9714 );
9715 assert_eq!(
9716 unsafe {
9717 &(*(::std::ptr::null::<rusage_info_v3>())).ri_cpu_time_qos_utility as *const _ as usize
9718 },
9719 184usize,
9720 concat!(
9721 "Offset of field: ",
9722 stringify!(rusage_info_v3),
9723 "::",
9724 stringify!(ri_cpu_time_qos_utility)
9725 )
9726 );
9727 assert_eq!(
9728 unsafe {
9729 &(*(::std::ptr::null::<rusage_info_v3>())).ri_cpu_time_qos_legacy as *const _ as usize
9730 },
9731 192usize,
9732 concat!(
9733 "Offset of field: ",
9734 stringify!(rusage_info_v3),
9735 "::",
9736 stringify!(ri_cpu_time_qos_legacy)
9737 )
9738 );
9739 assert_eq!(
9740 unsafe {
9741 &(*(::std::ptr::null::<rusage_info_v3>())).ri_cpu_time_qos_user_initiated as *const _
9742 as usize
9743 },
9744 200usize,
9745 concat!(
9746 "Offset of field: ",
9747 stringify!(rusage_info_v3),
9748 "::",
9749 stringify!(ri_cpu_time_qos_user_initiated)
9750 )
9751 );
9752 assert_eq!(
9753 unsafe {
9754 &(*(::std::ptr::null::<rusage_info_v3>())).ri_cpu_time_qos_user_interactive as *const _
9755 as usize
9756 },
9757 208usize,
9758 concat!(
9759 "Offset of field: ",
9760 stringify!(rusage_info_v3),
9761 "::",
9762 stringify!(ri_cpu_time_qos_user_interactive)
9763 )
9764 );
9765 assert_eq!(
9766 unsafe {
9767 &(*(::std::ptr::null::<rusage_info_v3>())).ri_billed_system_time as *const _ as usize
9768 },
9769 216usize,
9770 concat!(
9771 "Offset of field: ",
9772 stringify!(rusage_info_v3),
9773 "::",
9774 stringify!(ri_billed_system_time)
9775 )
9776 );
9777 assert_eq!(
9778 unsafe {
9779 &(*(::std::ptr::null::<rusage_info_v3>())).ri_serviced_system_time as *const _ as usize
9780 },
9781 224usize,
9782 concat!(
9783 "Offset of field: ",
9784 stringify!(rusage_info_v3),
9785 "::",
9786 stringify!(ri_serviced_system_time)
9787 )
9788 );
9789}
9790#[repr(C)]
9791#[derive(Debug, Copy, Clone)]
9792pub struct rusage_info_v4 {
9793 pub ri_uuid: [u8; 16usize],
9794 pub ri_user_time: u64,
9795 pub ri_system_time: u64,
9796 pub ri_pkg_idle_wkups: u64,
9797 pub ri_interrupt_wkups: u64,
9798 pub ri_pageins: u64,
9799 pub ri_wired_size: u64,
9800 pub ri_resident_size: u64,
9801 pub ri_phys_footprint: u64,
9802 pub ri_proc_start_abstime: u64,
9803 pub ri_proc_exit_abstime: u64,
9804 pub ri_child_user_time: u64,
9805 pub ri_child_system_time: u64,
9806 pub ri_child_pkg_idle_wkups: u64,
9807 pub ri_child_interrupt_wkups: u64,
9808 pub ri_child_pageins: u64,
9809 pub ri_child_elapsed_abstime: u64,
9810 pub ri_diskio_bytesread: u64,
9811 pub ri_diskio_byteswritten: u64,
9812 pub ri_cpu_time_qos_default: u64,
9813 pub ri_cpu_time_qos_maintenance: u64,
9814 pub ri_cpu_time_qos_background: u64,
9815 pub ri_cpu_time_qos_utility: u64,
9816 pub ri_cpu_time_qos_legacy: u64,
9817 pub ri_cpu_time_qos_user_initiated: u64,
9818 pub ri_cpu_time_qos_user_interactive: u64,
9819 pub ri_billed_system_time: u64,
9820 pub ri_serviced_system_time: u64,
9821 pub ri_logical_writes: u64,
9822 pub ri_lifetime_max_phys_footprint: u64,
9823 pub ri_instructions: u64,
9824 pub ri_cycles: u64,
9825 pub ri_billed_energy: u64,
9826 pub ri_serviced_energy: u64,
9827 pub ri_interval_max_phys_footprint: u64,
9828 pub ri_unused: [u64; 1usize],
9829}
9830#[test]
9831fn bindgen_test_layout_rusage_info_v4() {
9832 assert_eq!(
9833 ::std::mem::size_of::<rusage_info_v4>(),
9834 296usize,
9835 concat!("Size of: ", stringify!(rusage_info_v4))
9836 );
9837 assert_eq!(
9838 ::std::mem::align_of::<rusage_info_v4>(),
9839 8usize,
9840 concat!("Alignment of ", stringify!(rusage_info_v4))
9841 );
9842 assert_eq!(
9843 unsafe { &(*(::std::ptr::null::<rusage_info_v4>())).ri_uuid as *const _ as usize },
9844 0usize,
9845 concat!(
9846 "Offset of field: ",
9847 stringify!(rusage_info_v4),
9848 "::",
9849 stringify!(ri_uuid)
9850 )
9851 );
9852 assert_eq!(
9853 unsafe { &(*(::std::ptr::null::<rusage_info_v4>())).ri_user_time as *const _ as usize },
9854 16usize,
9855 concat!(
9856 "Offset of field: ",
9857 stringify!(rusage_info_v4),
9858 "::",
9859 stringify!(ri_user_time)
9860 )
9861 );
9862 assert_eq!(
9863 unsafe { &(*(::std::ptr::null::<rusage_info_v4>())).ri_system_time as *const _ as usize },
9864 24usize,
9865 concat!(
9866 "Offset of field: ",
9867 stringify!(rusage_info_v4),
9868 "::",
9869 stringify!(ri_system_time)
9870 )
9871 );
9872 assert_eq!(
9873 unsafe {
9874 &(*(::std::ptr::null::<rusage_info_v4>())).ri_pkg_idle_wkups as *const _ as usize
9875 },
9876 32usize,
9877 concat!(
9878 "Offset of field: ",
9879 stringify!(rusage_info_v4),
9880 "::",
9881 stringify!(ri_pkg_idle_wkups)
9882 )
9883 );
9884 assert_eq!(
9885 unsafe {
9886 &(*(::std::ptr::null::<rusage_info_v4>())).ri_interrupt_wkups as *const _ as usize
9887 },
9888 40usize,
9889 concat!(
9890 "Offset of field: ",
9891 stringify!(rusage_info_v4),
9892 "::",
9893 stringify!(ri_interrupt_wkups)
9894 )
9895 );
9896 assert_eq!(
9897 unsafe { &(*(::std::ptr::null::<rusage_info_v4>())).ri_pageins as *const _ as usize },
9898 48usize,
9899 concat!(
9900 "Offset of field: ",
9901 stringify!(rusage_info_v4),
9902 "::",
9903 stringify!(ri_pageins)
9904 )
9905 );
9906 assert_eq!(
9907 unsafe { &(*(::std::ptr::null::<rusage_info_v4>())).ri_wired_size as *const _ as usize },
9908 56usize,
9909 concat!(
9910 "Offset of field: ",
9911 stringify!(rusage_info_v4),
9912 "::",
9913 stringify!(ri_wired_size)
9914 )
9915 );
9916 assert_eq!(
9917 unsafe { &(*(::std::ptr::null::<rusage_info_v4>())).ri_resident_size as *const _ as usize },
9918 64usize,
9919 concat!(
9920 "Offset of field: ",
9921 stringify!(rusage_info_v4),
9922 "::",
9923 stringify!(ri_resident_size)
9924 )
9925 );
9926 assert_eq!(
9927 unsafe {
9928 &(*(::std::ptr::null::<rusage_info_v4>())).ri_phys_footprint as *const _ as usize
9929 },
9930 72usize,
9931 concat!(
9932 "Offset of field: ",
9933 stringify!(rusage_info_v4),
9934 "::",
9935 stringify!(ri_phys_footprint)
9936 )
9937 );
9938 assert_eq!(
9939 unsafe {
9940 &(*(::std::ptr::null::<rusage_info_v4>())).ri_proc_start_abstime as *const _ as usize
9941 },
9942 80usize,
9943 concat!(
9944 "Offset of field: ",
9945 stringify!(rusage_info_v4),
9946 "::",
9947 stringify!(ri_proc_start_abstime)
9948 )
9949 );
9950 assert_eq!(
9951 unsafe {
9952 &(*(::std::ptr::null::<rusage_info_v4>())).ri_proc_exit_abstime as *const _ as usize
9953 },
9954 88usize,
9955 concat!(
9956 "Offset of field: ",
9957 stringify!(rusage_info_v4),
9958 "::",
9959 stringify!(ri_proc_exit_abstime)
9960 )
9961 );
9962 assert_eq!(
9963 unsafe {
9964 &(*(::std::ptr::null::<rusage_info_v4>())).ri_child_user_time as *const _ as usize
9965 },
9966 96usize,
9967 concat!(
9968 "Offset of field: ",
9969 stringify!(rusage_info_v4),
9970 "::",
9971 stringify!(ri_child_user_time)
9972 )
9973 );
9974 assert_eq!(
9975 unsafe {
9976 &(*(::std::ptr::null::<rusage_info_v4>())).ri_child_system_time as *const _ as usize
9977 },
9978 104usize,
9979 concat!(
9980 "Offset of field: ",
9981 stringify!(rusage_info_v4),
9982 "::",
9983 stringify!(ri_child_system_time)
9984 )
9985 );
9986 assert_eq!(
9987 unsafe {
9988 &(*(::std::ptr::null::<rusage_info_v4>())).ri_child_pkg_idle_wkups as *const _ as usize
9989 },
9990 112usize,
9991 concat!(
9992 "Offset of field: ",
9993 stringify!(rusage_info_v4),
9994 "::",
9995 stringify!(ri_child_pkg_idle_wkups)
9996 )
9997 );
9998 assert_eq!(
9999 unsafe {
10000 &(*(::std::ptr::null::<rusage_info_v4>())).ri_child_interrupt_wkups as *const _ as usize
10001 },
10002 120usize,
10003 concat!(
10004 "Offset of field: ",
10005 stringify!(rusage_info_v4),
10006 "::",
10007 stringify!(ri_child_interrupt_wkups)
10008 )
10009 );
10010 assert_eq!(
10011 unsafe { &(*(::std::ptr::null::<rusage_info_v4>())).ri_child_pageins as *const _ as usize },
10012 128usize,
10013 concat!(
10014 "Offset of field: ",
10015 stringify!(rusage_info_v4),
10016 "::",
10017 stringify!(ri_child_pageins)
10018 )
10019 );
10020 assert_eq!(
10021 unsafe {
10022 &(*(::std::ptr::null::<rusage_info_v4>())).ri_child_elapsed_abstime as *const _ as usize
10023 },
10024 136usize,
10025 concat!(
10026 "Offset of field: ",
10027 stringify!(rusage_info_v4),
10028 "::",
10029 stringify!(ri_child_elapsed_abstime)
10030 )
10031 );
10032 assert_eq!(
10033 unsafe {
10034 &(*(::std::ptr::null::<rusage_info_v4>())).ri_diskio_bytesread as *const _ as usize
10035 },
10036 144usize,
10037 concat!(
10038 "Offset of field: ",
10039 stringify!(rusage_info_v4),
10040 "::",
10041 stringify!(ri_diskio_bytesread)
10042 )
10043 );
10044 assert_eq!(
10045 unsafe {
10046 &(*(::std::ptr::null::<rusage_info_v4>())).ri_diskio_byteswritten as *const _ as usize
10047 },
10048 152usize,
10049 concat!(
10050 "Offset of field: ",
10051 stringify!(rusage_info_v4),
10052 "::",
10053 stringify!(ri_diskio_byteswritten)
10054 )
10055 );
10056 assert_eq!(
10057 unsafe {
10058 &(*(::std::ptr::null::<rusage_info_v4>())).ri_cpu_time_qos_default as *const _ as usize
10059 },
10060 160usize,
10061 concat!(
10062 "Offset of field: ",
10063 stringify!(rusage_info_v4),
10064 "::",
10065 stringify!(ri_cpu_time_qos_default)
10066 )
10067 );
10068 assert_eq!(
10069 unsafe {
10070 &(*(::std::ptr::null::<rusage_info_v4>())).ri_cpu_time_qos_maintenance as *const _
10071 as usize
10072 },
10073 168usize,
10074 concat!(
10075 "Offset of field: ",
10076 stringify!(rusage_info_v4),
10077 "::",
10078 stringify!(ri_cpu_time_qos_maintenance)
10079 )
10080 );
10081 assert_eq!(
10082 unsafe {
10083 &(*(::std::ptr::null::<rusage_info_v4>())).ri_cpu_time_qos_background as *const _
10084 as usize
10085 },
10086 176usize,
10087 concat!(
10088 "Offset of field: ",
10089 stringify!(rusage_info_v4),
10090 "::",
10091 stringify!(ri_cpu_time_qos_background)
10092 )
10093 );
10094 assert_eq!(
10095 unsafe {
10096 &(*(::std::ptr::null::<rusage_info_v4>())).ri_cpu_time_qos_utility as *const _ as usize
10097 },
10098 184usize,
10099 concat!(
10100 "Offset of field: ",
10101 stringify!(rusage_info_v4),
10102 "::",
10103 stringify!(ri_cpu_time_qos_utility)
10104 )
10105 );
10106 assert_eq!(
10107 unsafe {
10108 &(*(::std::ptr::null::<rusage_info_v4>())).ri_cpu_time_qos_legacy as *const _ as usize
10109 },
10110 192usize,
10111 concat!(
10112 "Offset of field: ",
10113 stringify!(rusage_info_v4),
10114 "::",
10115 stringify!(ri_cpu_time_qos_legacy)
10116 )
10117 );
10118 assert_eq!(
10119 unsafe {
10120 &(*(::std::ptr::null::<rusage_info_v4>())).ri_cpu_time_qos_user_initiated as *const _
10121 as usize
10122 },
10123 200usize,
10124 concat!(
10125 "Offset of field: ",
10126 stringify!(rusage_info_v4),
10127 "::",
10128 stringify!(ri_cpu_time_qos_user_initiated)
10129 )
10130 );
10131 assert_eq!(
10132 unsafe {
10133 &(*(::std::ptr::null::<rusage_info_v4>())).ri_cpu_time_qos_user_interactive as *const _
10134 as usize
10135 },
10136 208usize,
10137 concat!(
10138 "Offset of field: ",
10139 stringify!(rusage_info_v4),
10140 "::",
10141 stringify!(ri_cpu_time_qos_user_interactive)
10142 )
10143 );
10144 assert_eq!(
10145 unsafe {
10146 &(*(::std::ptr::null::<rusage_info_v4>())).ri_billed_system_time as *const _ as usize
10147 },
10148 216usize,
10149 concat!(
10150 "Offset of field: ",
10151 stringify!(rusage_info_v4),
10152 "::",
10153 stringify!(ri_billed_system_time)
10154 )
10155 );
10156 assert_eq!(
10157 unsafe {
10158 &(*(::std::ptr::null::<rusage_info_v4>())).ri_serviced_system_time as *const _ as usize
10159 },
10160 224usize,
10161 concat!(
10162 "Offset of field: ",
10163 stringify!(rusage_info_v4),
10164 "::",
10165 stringify!(ri_serviced_system_time)
10166 )
10167 );
10168 assert_eq!(
10169 unsafe {
10170 &(*(::std::ptr::null::<rusage_info_v4>())).ri_logical_writes as *const _ as usize
10171 },
10172 232usize,
10173 concat!(
10174 "Offset of field: ",
10175 stringify!(rusage_info_v4),
10176 "::",
10177 stringify!(ri_logical_writes)
10178 )
10179 );
10180 assert_eq!(
10181 unsafe {
10182 &(*(::std::ptr::null::<rusage_info_v4>())).ri_lifetime_max_phys_footprint as *const _
10183 as usize
10184 },
10185 240usize,
10186 concat!(
10187 "Offset of field: ",
10188 stringify!(rusage_info_v4),
10189 "::",
10190 stringify!(ri_lifetime_max_phys_footprint)
10191 )
10192 );
10193 assert_eq!(
10194 unsafe { &(*(::std::ptr::null::<rusage_info_v4>())).ri_instructions as *const _ as usize },
10195 248usize,
10196 concat!(
10197 "Offset of field: ",
10198 stringify!(rusage_info_v4),
10199 "::",
10200 stringify!(ri_instructions)
10201 )
10202 );
10203 assert_eq!(
10204 unsafe { &(*(::std::ptr::null::<rusage_info_v4>())).ri_cycles as *const _ as usize },
10205 256usize,
10206 concat!(
10207 "Offset of field: ",
10208 stringify!(rusage_info_v4),
10209 "::",
10210 stringify!(ri_cycles)
10211 )
10212 );
10213 assert_eq!(
10214 unsafe { &(*(::std::ptr::null::<rusage_info_v4>())).ri_billed_energy as *const _ as usize },
10215 264usize,
10216 concat!(
10217 "Offset of field: ",
10218 stringify!(rusage_info_v4),
10219 "::",
10220 stringify!(ri_billed_energy)
10221 )
10222 );
10223 assert_eq!(
10224 unsafe {
10225 &(*(::std::ptr::null::<rusage_info_v4>())).ri_serviced_energy as *const _ as usize
10226 },
10227 272usize,
10228 concat!(
10229 "Offset of field: ",
10230 stringify!(rusage_info_v4),
10231 "::",
10232 stringify!(ri_serviced_energy)
10233 )
10234 );
10235 assert_eq!(
10236 unsafe {
10237 &(*(::std::ptr::null::<rusage_info_v4>())).ri_interval_max_phys_footprint as *const _
10238 as usize
10239 },
10240 280usize,
10241 concat!(
10242 "Offset of field: ",
10243 stringify!(rusage_info_v4),
10244 "::",
10245 stringify!(ri_interval_max_phys_footprint)
10246 )
10247 );
10248 assert_eq!(
10249 unsafe { &(*(::std::ptr::null::<rusage_info_v4>())).ri_unused as *const _ as usize },
10250 288usize,
10251 concat!(
10252 "Offset of field: ",
10253 stringify!(rusage_info_v4),
10254 "::",
10255 stringify!(ri_unused)
10256 )
10257 );
10258}
10259pub type rusage_info_current = rusage_info_v4;
10260#[repr(C)]
10261#[derive(Debug, Copy, Clone)]
10262pub struct rlimit {
10263 pub rlim_cur: rlim_t,
10264 pub rlim_max: rlim_t,
10265}
10266#[test]
10267fn bindgen_test_layout_rlimit() {
10268 assert_eq!(
10269 ::std::mem::size_of::<rlimit>(),
10270 16usize,
10271 concat!("Size of: ", stringify!(rlimit))
10272 );
10273 assert_eq!(
10274 ::std::mem::align_of::<rlimit>(),
10275 8usize,
10276 concat!("Alignment of ", stringify!(rlimit))
10277 );
10278 assert_eq!(
10279 unsafe { &(*(::std::ptr::null::<rlimit>())).rlim_cur as *const _ as usize },
10280 0usize,
10281 concat!(
10282 "Offset of field: ",
10283 stringify!(rlimit),
10284 "::",
10285 stringify!(rlim_cur)
10286 )
10287 );
10288 assert_eq!(
10289 unsafe { &(*(::std::ptr::null::<rlimit>())).rlim_max as *const _ as usize },
10290 8usize,
10291 concat!(
10292 "Offset of field: ",
10293 stringify!(rlimit),
10294 "::",
10295 stringify!(rlim_max)
10296 )
10297 );
10298}
10299#[repr(C)]
10300#[derive(Debug, Copy, Clone)]
10301pub struct proc_rlimit_control_wakeupmon {
10302 pub wm_flags: u32,
10303 pub wm_rate: i32,
10304}
10305#[test]
10306fn bindgen_test_layout_proc_rlimit_control_wakeupmon() {
10307 assert_eq!(
10308 ::std::mem::size_of::<proc_rlimit_control_wakeupmon>(),
10309 8usize,
10310 concat!("Size of: ", stringify!(proc_rlimit_control_wakeupmon))
10311 );
10312 assert_eq!(
10313 ::std::mem::align_of::<proc_rlimit_control_wakeupmon>(),
10314 4usize,
10315 concat!("Alignment of ", stringify!(proc_rlimit_control_wakeupmon))
10316 );
10317 assert_eq!(
10318 unsafe {
10319 &(*(::std::ptr::null::<proc_rlimit_control_wakeupmon>())).wm_flags as *const _ as usize
10320 },
10321 0usize,
10322 concat!(
10323 "Offset of field: ",
10324 stringify!(proc_rlimit_control_wakeupmon),
10325 "::",
10326 stringify!(wm_flags)
10327 )
10328 );
10329 assert_eq!(
10330 unsafe {
10331 &(*(::std::ptr::null::<proc_rlimit_control_wakeupmon>())).wm_rate as *const _ as usize
10332 },
10333 4usize,
10334 concat!(
10335 "Offset of field: ",
10336 stringify!(proc_rlimit_control_wakeupmon),
10337 "::",
10338 stringify!(wm_rate)
10339 )
10340 );
10341}
10342extern "C" {
10343 pub fn getpriority(arg1: ::std::os::raw::c_int, arg2: id_t) -> ::std::os::raw::c_int;
10344}
10345extern "C" {
10346 pub fn getiopolicy_np(
10347 arg1: ::std::os::raw::c_int,
10348 arg2: ::std::os::raw::c_int,
10349 ) -> ::std::os::raw::c_int;
10350}
10351extern "C" {
10352 pub fn getrlimit(arg1: ::std::os::raw::c_int, arg2: *mut rlimit) -> ::std::os::raw::c_int;
10353}
10354extern "C" {
10355 pub fn getrusage(arg1: ::std::os::raw::c_int, arg2: *mut rusage) -> ::std::os::raw::c_int;
10356}
10357extern "C" {
10358 pub fn setpriority(
10359 arg1: ::std::os::raw::c_int,
10360 arg2: id_t,
10361 arg3: ::std::os::raw::c_int,
10362 ) -> ::std::os::raw::c_int;
10363}
10364extern "C" {
10365 pub fn setiopolicy_np(
10366 arg1: ::std::os::raw::c_int,
10367 arg2: ::std::os::raw::c_int,
10368 arg3: ::std::os::raw::c_int,
10369 ) -> ::std::os::raw::c_int;
10370}
10371extern "C" {
10372 pub fn setrlimit(arg1: ::std::os::raw::c_int, arg2: *const rlimit) -> ::std::os::raw::c_int;
10373}
10374#[repr(C)]
10375#[derive(Copy, Clone)]
10376pub union wait {
10377 pub w_status: ::std::os::raw::c_int,
10378 pub w_T: wait__bindgen_ty_1,
10379 pub w_S: wait__bindgen_ty_2,
10380 _bindgen_union_align: u32,
10381}
10382#[repr(C)]
10383#[repr(align(4))]
10384#[derive(Debug, Copy, Clone)]
10385pub struct wait__bindgen_ty_1 {
10386 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize], u16>,
10387}
10388#[test]
10389fn bindgen_test_layout_wait__bindgen_ty_1() {
10390 assert_eq!(
10391 ::std::mem::size_of::<wait__bindgen_ty_1>(),
10392 4usize,
10393 concat!("Size of: ", stringify!(wait__bindgen_ty_1))
10394 );
10395 assert_eq!(
10396 ::std::mem::align_of::<wait__bindgen_ty_1>(),
10397 4usize,
10398 concat!("Alignment of ", stringify!(wait__bindgen_ty_1))
10399 );
10400}
10401impl wait__bindgen_ty_1 {
10402 #[inline]
10403 pub fn w_Termsig(&self) -> ::std::os::raw::c_uint {
10404 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 7u8) as u32) }
10405 }
10406 #[inline]
10407 pub fn set_w_Termsig(&mut self, val: ::std::os::raw::c_uint) {
10408 unsafe {
10409 let val: u32 = ::std::mem::transmute(val);
10410 self._bitfield_1.set(0usize, 7u8, val as u64)
10411 }
10412 }
10413 #[inline]
10414 pub fn w_Coredump(&self) -> ::std::os::raw::c_uint {
10415 unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) }
10416 }
10417 #[inline]
10418 pub fn set_w_Coredump(&mut self, val: ::std::os::raw::c_uint) {
10419 unsafe {
10420 let val: u32 = ::std::mem::transmute(val);
10421 self._bitfield_1.set(7usize, 1u8, val as u64)
10422 }
10423 }
10424 #[inline]
10425 pub fn w_Retcode(&self) -> ::std::os::raw::c_uint {
10426 unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) }
10427 }
10428 #[inline]
10429 pub fn set_w_Retcode(&mut self, val: ::std::os::raw::c_uint) {
10430 unsafe {
10431 let val: u32 = ::std::mem::transmute(val);
10432 self._bitfield_1.set(8usize, 8u8, val as u64)
10433 }
10434 }
10435 #[inline]
10436 pub fn w_Filler(&self) -> ::std::os::raw::c_uint {
10437 unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) }
10438 }
10439 #[inline]
10440 pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) {
10441 unsafe {
10442 let val: u32 = ::std::mem::transmute(val);
10443 self._bitfield_1.set(16usize, 16u8, val as u64)
10444 }
10445 }
10446 #[inline]
10447 pub fn new_bitfield_1(
10448 w_Termsig: ::std::os::raw::c_uint,
10449 w_Coredump: ::std::os::raw::c_uint,
10450 w_Retcode: ::std::os::raw::c_uint,
10451 w_Filler: ::std::os::raw::c_uint,
10452 ) -> __BindgenBitfieldUnit<[u8; 4usize], u16> {
10453 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize], u16> =
10454 Default::default();
10455 __bindgen_bitfield_unit.set(0usize, 7u8, {
10456 let w_Termsig: u32 = unsafe { ::std::mem::transmute(w_Termsig) };
10457 w_Termsig as u64
10458 });
10459 __bindgen_bitfield_unit.set(7usize, 1u8, {
10460 let w_Coredump: u32 = unsafe { ::std::mem::transmute(w_Coredump) };
10461 w_Coredump as u64
10462 });
10463 __bindgen_bitfield_unit.set(8usize, 8u8, {
10464 let w_Retcode: u32 = unsafe { ::std::mem::transmute(w_Retcode) };
10465 w_Retcode as u64
10466 });
10467 __bindgen_bitfield_unit.set(16usize, 16u8, {
10468 let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) };
10469 w_Filler as u64
10470 });
10471 __bindgen_bitfield_unit
10472 }
10473}
10474#[repr(C)]
10475#[repr(align(4))]
10476#[derive(Debug, Copy, Clone)]
10477pub struct wait__bindgen_ty_2 {
10478 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize], u16>,
10479}
10480#[test]
10481fn bindgen_test_layout_wait__bindgen_ty_2() {
10482 assert_eq!(
10483 ::std::mem::size_of::<wait__bindgen_ty_2>(),
10484 4usize,
10485 concat!("Size of: ", stringify!(wait__bindgen_ty_2))
10486 );
10487 assert_eq!(
10488 ::std::mem::align_of::<wait__bindgen_ty_2>(),
10489 4usize,
10490 concat!("Alignment of ", stringify!(wait__bindgen_ty_2))
10491 );
10492}
10493impl wait__bindgen_ty_2 {
10494 #[inline]
10495 pub fn w_Stopval(&self) -> ::std::os::raw::c_uint {
10496 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) }
10497 }
10498 #[inline]
10499 pub fn set_w_Stopval(&mut self, val: ::std::os::raw::c_uint) {
10500 unsafe {
10501 let val: u32 = ::std::mem::transmute(val);
10502 self._bitfield_1.set(0usize, 8u8, val as u64)
10503 }
10504 }
10505 #[inline]
10506 pub fn w_Stopsig(&self) -> ::std::os::raw::c_uint {
10507 unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) }
10508 }
10509 #[inline]
10510 pub fn set_w_Stopsig(&mut self, val: ::std::os::raw::c_uint) {
10511 unsafe {
10512 let val: u32 = ::std::mem::transmute(val);
10513 self._bitfield_1.set(8usize, 8u8, val as u64)
10514 }
10515 }
10516 #[inline]
10517 pub fn w_Filler(&self) -> ::std::os::raw::c_uint {
10518 unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) }
10519 }
10520 #[inline]
10521 pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) {
10522 unsafe {
10523 let val: u32 = ::std::mem::transmute(val);
10524 self._bitfield_1.set(16usize, 16u8, val as u64)
10525 }
10526 }
10527 #[inline]
10528 pub fn new_bitfield_1(
10529 w_Stopval: ::std::os::raw::c_uint,
10530 w_Stopsig: ::std::os::raw::c_uint,
10531 w_Filler: ::std::os::raw::c_uint,
10532 ) -> __BindgenBitfieldUnit<[u8; 4usize], u16> {
10533 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize], u16> =
10534 Default::default();
10535 __bindgen_bitfield_unit.set(0usize, 8u8, {
10536 let w_Stopval: u32 = unsafe { ::std::mem::transmute(w_Stopval) };
10537 w_Stopval as u64
10538 });
10539 __bindgen_bitfield_unit.set(8usize, 8u8, {
10540 let w_Stopsig: u32 = unsafe { ::std::mem::transmute(w_Stopsig) };
10541 w_Stopsig as u64
10542 });
10543 __bindgen_bitfield_unit.set(16usize, 16u8, {
10544 let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) };
10545 w_Filler as u64
10546 });
10547 __bindgen_bitfield_unit
10548 }
10549}
10550#[test]
10551fn bindgen_test_layout_wait() {
10552 assert_eq!(
10553 ::std::mem::size_of::<wait>(),
10554 4usize,
10555 concat!("Size of: ", stringify!(wait))
10556 );
10557 assert_eq!(
10558 ::std::mem::align_of::<wait>(),
10559 4usize,
10560 concat!("Alignment of ", stringify!(wait))
10561 );
10562 assert_eq!(
10563 unsafe { &(*(::std::ptr::null::<wait>())).w_status as *const _ as usize },
10564 0usize,
10565 concat!(
10566 "Offset of field: ",
10567 stringify!(wait),
10568 "::",
10569 stringify!(w_status)
10570 )
10571 );
10572 assert_eq!(
10573 unsafe { &(*(::std::ptr::null::<wait>())).w_T as *const _ as usize },
10574 0usize,
10575 concat!("Offset of field: ", stringify!(wait), "::", stringify!(w_T))
10576 );
10577 assert_eq!(
10578 unsafe { &(*(::std::ptr::null::<wait>())).w_S as *const _ as usize },
10579 0usize,
10580 concat!("Offset of field: ", stringify!(wait), "::", stringify!(w_S))
10581 );
10582}
10583extern "C" {
10584 pub fn wait(arg1: *mut ::std::os::raw::c_int) -> pid_t;
10585}
10586extern "C" {
10587 pub fn waitpid(
10588 arg1: pid_t,
10589 arg2: *mut ::std::os::raw::c_int,
10590 arg3: ::std::os::raw::c_int,
10591 ) -> pid_t;
10592}
10593extern "C" {
10594 pub fn waitid(
10595 arg1: idtype_t,
10596 arg2: id_t,
10597 arg3: *mut siginfo_t,
10598 arg4: ::std::os::raw::c_int,
10599 ) -> ::std::os::raw::c_int;
10600}
10601extern "C" {
10602 pub fn wait3(
10603 arg1: *mut ::std::os::raw::c_int,
10604 arg2: ::std::os::raw::c_int,
10605 arg3: *mut rusage,
10606 ) -> pid_t;
10607}
10608extern "C" {
10609 pub fn wait4(
10610 arg1: pid_t,
10611 arg2: *mut ::std::os::raw::c_int,
10612 arg3: ::std::os::raw::c_int,
10613 arg4: *mut rusage,
10614 ) -> pid_t;
10615}
10616extern "C" {
10617 pub fn alloca(arg1: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void;
10618}
10619pub type ct_rune_t = __darwin_ct_rune_t;
10620pub type rune_t = __darwin_rune_t;
10621#[repr(C)]
10622#[derive(Debug, Copy, Clone)]
10623pub struct div_t {
10624 pub quot: ::std::os::raw::c_int,
10625 pub rem: ::std::os::raw::c_int,
10626}
10627#[test]
10628fn bindgen_test_layout_div_t() {
10629 assert_eq!(
10630 ::std::mem::size_of::<div_t>(),
10631 8usize,
10632 concat!("Size of: ", stringify!(div_t))
10633 );
10634 assert_eq!(
10635 ::std::mem::align_of::<div_t>(),
10636 4usize,
10637 concat!("Alignment of ", stringify!(div_t))
10638 );
10639 assert_eq!(
10640 unsafe { &(*(::std::ptr::null::<div_t>())).quot as *const _ as usize },
10641 0usize,
10642 concat!(
10643 "Offset of field: ",
10644 stringify!(div_t),
10645 "::",
10646 stringify!(quot)
10647 )
10648 );
10649 assert_eq!(
10650 unsafe { &(*(::std::ptr::null::<div_t>())).rem as *const _ as usize },
10651 4usize,
10652 concat!(
10653 "Offset of field: ",
10654 stringify!(div_t),
10655 "::",
10656 stringify!(rem)
10657 )
10658 );
10659}
10660#[repr(C)]
10661#[derive(Debug, Copy, Clone)]
10662pub struct ldiv_t {
10663 pub quot: ::std::os::raw::c_long,
10664 pub rem: ::std::os::raw::c_long,
10665}
10666#[test]
10667fn bindgen_test_layout_ldiv_t() {
10668 assert_eq!(
10669 ::std::mem::size_of::<ldiv_t>(),
10670 16usize,
10671 concat!("Size of: ", stringify!(ldiv_t))
10672 );
10673 assert_eq!(
10674 ::std::mem::align_of::<ldiv_t>(),
10675 8usize,
10676 concat!("Alignment of ", stringify!(ldiv_t))
10677 );
10678 assert_eq!(
10679 unsafe { &(*(::std::ptr::null::<ldiv_t>())).quot as *const _ as usize },
10680 0usize,
10681 concat!(
10682 "Offset of field: ",
10683 stringify!(ldiv_t),
10684 "::",
10685 stringify!(quot)
10686 )
10687 );
10688 assert_eq!(
10689 unsafe { &(*(::std::ptr::null::<ldiv_t>())).rem as *const _ as usize },
10690 8usize,
10691 concat!(
10692 "Offset of field: ",
10693 stringify!(ldiv_t),
10694 "::",
10695 stringify!(rem)
10696 )
10697 );
10698}
10699#[repr(C)]
10700#[derive(Debug, Copy, Clone)]
10701pub struct lldiv_t {
10702 pub quot: ::std::os::raw::c_longlong,
10703 pub rem: ::std::os::raw::c_longlong,
10704}
10705#[test]
10706fn bindgen_test_layout_lldiv_t() {
10707 assert_eq!(
10708 ::std::mem::size_of::<lldiv_t>(),
10709 16usize,
10710 concat!("Size of: ", stringify!(lldiv_t))
10711 );
10712 assert_eq!(
10713 ::std::mem::align_of::<lldiv_t>(),
10714 8usize,
10715 concat!("Alignment of ", stringify!(lldiv_t))
10716 );
10717 assert_eq!(
10718 unsafe { &(*(::std::ptr::null::<lldiv_t>())).quot as *const _ as usize },
10719 0usize,
10720 concat!(
10721 "Offset of field: ",
10722 stringify!(lldiv_t),
10723 "::",
10724 stringify!(quot)
10725 )
10726 );
10727 assert_eq!(
10728 unsafe { &(*(::std::ptr::null::<lldiv_t>())).rem as *const _ as usize },
10729 8usize,
10730 concat!(
10731 "Offset of field: ",
10732 stringify!(lldiv_t),
10733 "::",
10734 stringify!(rem)
10735 )
10736 );
10737}
10738extern "C" {
10739 pub static mut __mb_cur_max: ::std::os::raw::c_int;
10740}
10741extern "C" {
10742 pub fn malloc(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void;
10743}
10744extern "C" {
10745 pub fn calloc(
10746 __count: ::std::os::raw::c_ulong,
10747 __size: ::std::os::raw::c_ulong,
10748 ) -> *mut ::std::os::raw::c_void;
10749}
10750extern "C" {
10751 pub fn free(arg1: *mut ::std::os::raw::c_void);
10752}
10753extern "C" {
10754 pub fn realloc(
10755 __ptr: *mut ::std::os::raw::c_void,
10756 __size: ::std::os::raw::c_ulong,
10757 ) -> *mut ::std::os::raw::c_void;
10758}
10759extern "C" {
10760 pub fn valloc(arg1: usize) -> *mut ::std::os::raw::c_void;
10761}
10762extern "C" {
10763 pub fn posix_memalign(
10764 __memptr: *mut *mut ::std::os::raw::c_void,
10765 __alignment: usize,
10766 __size: usize,
10767 ) -> ::std::os::raw::c_int;
10768}
10769extern "C" {
10770 pub fn abort();
10771}
10772extern "C" {
10773 pub fn abs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
10774}
10775extern "C" {
10776 pub fn atexit(arg1: ::std::option::Option<unsafe extern "C" fn()>) -> ::std::os::raw::c_int;
10777}
10778extern "C" {
10779 pub fn atof(arg1: *const ::std::os::raw::c_char) -> f64;
10780}
10781extern "C" {
10782 pub fn atoi(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
10783}
10784extern "C" {
10785 pub fn atol(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long;
10786}
10787extern "C" {
10788 pub fn atoll(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong;
10789}
10790extern "C" {
10791 pub fn bsearch(
10792 __key: *const ::std::os::raw::c_void,
10793 __base: *const ::std::os::raw::c_void,
10794 __nel: usize,
10795 __width: usize,
10796 __compar: ::std::option::Option<
10797 unsafe extern "C" fn(
10798 arg1: *const ::std::os::raw::c_void,
10799 arg2: *const ::std::os::raw::c_void,
10800 ) -> ::std::os::raw::c_int,
10801 >,
10802 ) -> *mut ::std::os::raw::c_void;
10803}
10804extern "C" {
10805 pub fn div(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> div_t;
10806}
10807extern "C" {
10808 pub fn exit(arg1: ::std::os::raw::c_int);
10809}
10810extern "C" {
10811 pub fn getenv(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
10812}
10813extern "C" {
10814 pub fn labs(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_long;
10815}
10816extern "C" {
10817 pub fn ldiv(arg1: ::std::os::raw::c_long, arg2: ::std::os::raw::c_long) -> ldiv_t;
10818}
10819extern "C" {
10820 pub fn llabs(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong;
10821}
10822extern "C" {
10823 pub fn lldiv(arg1: ::std::os::raw::c_longlong, arg2: ::std::os::raw::c_longlong) -> lldiv_t;
10824}
10825extern "C" {
10826 pub fn mblen(__s: *const ::std::os::raw::c_char, __n: usize) -> ::std::os::raw::c_int;
10827}
10828extern "C" {
10829 pub fn mbstowcs(arg1: *mut wchar_t, arg2: *const ::std::os::raw::c_char, arg3: usize) -> usize;
10830}
10831extern "C" {
10832 pub fn mbtowc(
10833 arg1: *mut wchar_t,
10834 arg2: *const ::std::os::raw::c_char,
10835 arg3: usize,
10836 ) -> ::std::os::raw::c_int;
10837}
10838extern "C" {
10839 pub fn qsort(
10840 __base: *mut ::std::os::raw::c_void,
10841 __nel: usize,
10842 __width: usize,
10843 __compar: ::std::option::Option<
10844 unsafe extern "C" fn(
10845 arg1: *const ::std::os::raw::c_void,
10846 arg2: *const ::std::os::raw::c_void,
10847 ) -> ::std::os::raw::c_int,
10848 >,
10849 );
10850}
10851extern "C" {
10852 pub fn rand() -> ::std::os::raw::c_int;
10853}
10854extern "C" {
10855 pub fn srand(arg1: ::std::os::raw::c_uint);
10856}
10857extern "C" {
10858 pub fn strtod(
10859 arg1: *const ::std::os::raw::c_char,
10860 arg2: *mut *mut ::std::os::raw::c_char,
10861 ) -> f64;
10862}
10863extern "C" {
10864 pub fn strtof(
10865 arg1: *const ::std::os::raw::c_char,
10866 arg2: *mut *mut ::std::os::raw::c_char,
10867 ) -> f32;
10868}
10869extern "C" {
10870 pub fn strtol(
10871 __str: *const ::std::os::raw::c_char,
10872 __endptr: *mut *mut ::std::os::raw::c_char,
10873 __base: ::std::os::raw::c_int,
10874 ) -> ::std::os::raw::c_long;
10875}
10876extern "C" {
10877 pub fn strtold(
10878 arg1: *const ::std::os::raw::c_char,
10879 arg2: *mut *mut ::std::os::raw::c_char,
10880 ) -> u128;
10881}
10882extern "C" {
10883 pub fn strtoll(
10884 __str: *const ::std::os::raw::c_char,
10885 __endptr: *mut *mut ::std::os::raw::c_char,
10886 __base: ::std::os::raw::c_int,
10887 ) -> ::std::os::raw::c_longlong;
10888}
10889extern "C" {
10890 pub fn strtoul(
10891 __str: *const ::std::os::raw::c_char,
10892 __endptr: *mut *mut ::std::os::raw::c_char,
10893 __base: ::std::os::raw::c_int,
10894 ) -> ::std::os::raw::c_ulong;
10895}
10896extern "C" {
10897 pub fn strtoull(
10898 __str: *const ::std::os::raw::c_char,
10899 __endptr: *mut *mut ::std::os::raw::c_char,
10900 __base: ::std::os::raw::c_int,
10901 ) -> ::std::os::raw::c_ulonglong;
10902}
10903extern "C" {
10904 pub fn system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
10905}
10906extern "C" {
10907 pub fn wcstombs(arg1: *mut ::std::os::raw::c_char, arg2: *const wchar_t, arg3: usize) -> usize;
10908}
10909extern "C" {
10910 pub fn wctomb(arg1: *mut ::std::os::raw::c_char, arg2: wchar_t) -> ::std::os::raw::c_int;
10911}
10912extern "C" {
10913 pub fn _Exit(arg1: ::std::os::raw::c_int);
10914}
10915extern "C" {
10916 pub fn a64l(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long;
10917}
10918extern "C" {
10919 pub fn drand48() -> f64;
10920}
10921extern "C" {
10922 pub fn ecvt(
10923 arg1: f64,
10924 arg2: ::std::os::raw::c_int,
10925 arg3: *mut ::std::os::raw::c_int,
10926 arg4: *mut ::std::os::raw::c_int,
10927 ) -> *mut ::std::os::raw::c_char;
10928}
10929extern "C" {
10930 pub fn erand48(arg1: *mut ::std::os::raw::c_ushort) -> f64;
10931}
10932extern "C" {
10933 pub fn fcvt(
10934 arg1: f64,
10935 arg2: ::std::os::raw::c_int,
10936 arg3: *mut ::std::os::raw::c_int,
10937 arg4: *mut ::std::os::raw::c_int,
10938 ) -> *mut ::std::os::raw::c_char;
10939}
10940extern "C" {
10941 pub fn gcvt(
10942 arg1: f64,
10943 arg2: ::std::os::raw::c_int,
10944 arg3: *mut ::std::os::raw::c_char,
10945 ) -> *mut ::std::os::raw::c_char;
10946}
10947extern "C" {
10948 pub fn getsubopt(
10949 arg1: *mut *mut ::std::os::raw::c_char,
10950 arg2: *const *mut ::std::os::raw::c_char,
10951 arg3: *mut *mut ::std::os::raw::c_char,
10952 ) -> ::std::os::raw::c_int;
10953}
10954extern "C" {
10955 pub fn grantpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
10956}
10957extern "C" {
10958 pub fn initstate(
10959 arg1: ::std::os::raw::c_uint,
10960 arg2: *mut ::std::os::raw::c_char,
10961 arg3: usize,
10962 ) -> *mut ::std::os::raw::c_char;
10963}
10964extern "C" {
10965 pub fn jrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long;
10966}
10967extern "C" {
10968 pub fn l64a(arg1: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char;
10969}
10970extern "C" {
10971 pub fn lcong48(arg1: *mut ::std::os::raw::c_ushort);
10972}
10973extern "C" {
10974 pub fn lrand48() -> ::std::os::raw::c_long;
10975}
10976extern "C" {
10977 pub fn mktemp(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
10978}
10979extern "C" {
10980 pub fn mkstemp(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
10981}
10982extern "C" {
10983 pub fn mrand48() -> ::std::os::raw::c_long;
10984}
10985extern "C" {
10986 pub fn nrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long;
10987}
10988extern "C" {
10989 pub fn posix_openpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
10990}
10991extern "C" {
10992 pub fn ptsname(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
10993}
10994extern "C" {
10995 pub fn ptsname_r(
10996 fildes: ::std::os::raw::c_int,
10997 buffer: *mut ::std::os::raw::c_char,
10998 buflen: usize,
10999 ) -> ::std::os::raw::c_int;
11000}
11001extern "C" {
11002 pub fn putenv(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
11003}
11004extern "C" {
11005 pub fn random() -> ::std::os::raw::c_long;
11006}
11007extern "C" {
11008 pub fn rand_r(arg1: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
11009}
11010extern "C" {
11011 #[link_name = "\u{1}_realpath$DARWIN_EXTSN"]
11012 pub fn realpath(
11013 arg1: *const ::std::os::raw::c_char,
11014 arg2: *mut ::std::os::raw::c_char,
11015 ) -> *mut ::std::os::raw::c_char;
11016}
11017extern "C" {
11018 pub fn seed48(arg1: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort;
11019}
11020extern "C" {
11021 pub fn setenv(
11022 __name: *const ::std::os::raw::c_char,
11023 __value: *const ::std::os::raw::c_char,
11024 __overwrite: ::std::os::raw::c_int,
11025 ) -> ::std::os::raw::c_int;
11026}
11027extern "C" {
11028 pub fn setkey(arg1: *const ::std::os::raw::c_char);
11029}
11030extern "C" {
11031 pub fn setstate(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
11032}
11033extern "C" {
11034 pub fn srand48(arg1: ::std::os::raw::c_long);
11035}
11036extern "C" {
11037 pub fn srandom(arg1: ::std::os::raw::c_uint);
11038}
11039extern "C" {
11040 pub fn unlockpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
11041}
11042extern "C" {
11043 pub fn unsetenv(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
11044}
11045pub type dev_t = __darwin_dev_t;
11046pub type mode_t = __darwin_mode_t;
11047extern "C" {
11048 pub fn arc4random() -> u32;
11049}
11050extern "C" {
11051 pub fn arc4random_addrandom(arg1: *mut ::std::os::raw::c_uchar, arg2: ::std::os::raw::c_int);
11052}
11053extern "C" {
11054 pub fn arc4random_buf(__buf: *mut ::std::os::raw::c_void, __nbytes: usize);
11055}
11056extern "C" {
11057 pub fn arc4random_stir();
11058}
11059extern "C" {
11060 pub fn arc4random_uniform(__upper_bound: u32) -> u32;
11061}
11062extern "C" {
11063 pub fn atexit_b(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
11064}
11065extern "C" {
11066 pub fn bsearch_b(
11067 __key: *const ::std::os::raw::c_void,
11068 __base: *const ::std::os::raw::c_void,
11069 __nel: usize,
11070 __width: usize,
11071 __compar: *mut ::std::os::raw::c_void,
11072 ) -> *mut ::std::os::raw::c_void;
11073}
11074extern "C" {
11075 pub fn cgetcap(
11076 arg1: *mut ::std::os::raw::c_char,
11077 arg2: *const ::std::os::raw::c_char,
11078 arg3: ::std::os::raw::c_int,
11079 ) -> *mut ::std::os::raw::c_char;
11080}
11081extern "C" {
11082 pub fn cgetclose() -> ::std::os::raw::c_int;
11083}
11084extern "C" {
11085 pub fn cgetent(
11086 arg1: *mut *mut ::std::os::raw::c_char,
11087 arg2: *mut *mut ::std::os::raw::c_char,
11088 arg3: *const ::std::os::raw::c_char,
11089 ) -> ::std::os::raw::c_int;
11090}
11091extern "C" {
11092 pub fn cgetfirst(
11093 arg1: *mut *mut ::std::os::raw::c_char,
11094 arg2: *mut *mut ::std::os::raw::c_char,
11095 ) -> ::std::os::raw::c_int;
11096}
11097extern "C" {
11098 pub fn cgetmatch(
11099 arg1: *const ::std::os::raw::c_char,
11100 arg2: *const ::std::os::raw::c_char,
11101 ) -> ::std::os::raw::c_int;
11102}
11103extern "C" {
11104 pub fn cgetnext(
11105 arg1: *mut *mut ::std::os::raw::c_char,
11106 arg2: *mut *mut ::std::os::raw::c_char,
11107 ) -> ::std::os::raw::c_int;
11108}
11109extern "C" {
11110 pub fn cgetnum(
11111 arg1: *mut ::std::os::raw::c_char,
11112 arg2: *const ::std::os::raw::c_char,
11113 arg3: *mut ::std::os::raw::c_long,
11114 ) -> ::std::os::raw::c_int;
11115}
11116extern "C" {
11117 pub fn cgetset(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
11118}
11119extern "C" {
11120 pub fn cgetstr(
11121 arg1: *mut ::std::os::raw::c_char,
11122 arg2: *const ::std::os::raw::c_char,
11123 arg3: *mut *mut ::std::os::raw::c_char,
11124 ) -> ::std::os::raw::c_int;
11125}
11126extern "C" {
11127 pub fn cgetustr(
11128 arg1: *mut ::std::os::raw::c_char,
11129 arg2: *const ::std::os::raw::c_char,
11130 arg3: *mut *mut ::std::os::raw::c_char,
11131 ) -> ::std::os::raw::c_int;
11132}
11133extern "C" {
11134 #[link_name = "\u{1}_daemon$1050"]
11135 pub fn daemon(
11136 arg1: ::std::os::raw::c_int,
11137 arg2: ::std::os::raw::c_int,
11138 ) -> ::std::os::raw::c_int;
11139}
11140extern "C" {
11141 pub fn devname(arg1: dev_t, arg2: mode_t) -> *mut ::std::os::raw::c_char;
11142}
11143extern "C" {
11144 pub fn devname_r(
11145 arg1: dev_t,
11146 arg2: mode_t,
11147 buf: *mut ::std::os::raw::c_char,
11148 len: ::std::os::raw::c_int,
11149 ) -> *mut ::std::os::raw::c_char;
11150}
11151extern "C" {
11152 pub fn getbsize(
11153 arg1: *mut ::std::os::raw::c_int,
11154 arg2: *mut ::std::os::raw::c_long,
11155 ) -> *mut ::std::os::raw::c_char;
11156}
11157extern "C" {
11158 pub fn getloadavg(arg1: *mut f64, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
11159}
11160extern "C" {
11161 pub fn getprogname() -> *const ::std::os::raw::c_char;
11162}
11163extern "C" {
11164 pub fn heapsort(
11165 __base: *mut ::std::os::raw::c_void,
11166 __nel: usize,
11167 __width: usize,
11168 __compar: ::std::option::Option<
11169 unsafe extern "C" fn(
11170 arg1: *const ::std::os::raw::c_void,
11171 arg2: *const ::std::os::raw::c_void,
11172 ) -> ::std::os::raw::c_int,
11173 >,
11174 ) -> ::std::os::raw::c_int;
11175}
11176extern "C" {
11177 pub fn heapsort_b(
11178 __base: *mut ::std::os::raw::c_void,
11179 __nel: usize,
11180 __width: usize,
11181 __compar: *mut ::std::os::raw::c_void,
11182 ) -> ::std::os::raw::c_int;
11183}
11184extern "C" {
11185 pub fn mergesort(
11186 __base: *mut ::std::os::raw::c_void,
11187 __nel: usize,
11188 __width: usize,
11189 __compar: ::std::option::Option<
11190 unsafe extern "C" fn(
11191 arg1: *const ::std::os::raw::c_void,
11192 arg2: *const ::std::os::raw::c_void,
11193 ) -> ::std::os::raw::c_int,
11194 >,
11195 ) -> ::std::os::raw::c_int;
11196}
11197extern "C" {
11198 pub fn mergesort_b(
11199 __base: *mut ::std::os::raw::c_void,
11200 __nel: usize,
11201 __width: usize,
11202 __compar: *mut ::std::os::raw::c_void,
11203 ) -> ::std::os::raw::c_int;
11204}
11205extern "C" {
11206 pub fn psort(
11207 __base: *mut ::std::os::raw::c_void,
11208 __nel: usize,
11209 __width: usize,
11210 __compar: ::std::option::Option<
11211 unsafe extern "C" fn(
11212 arg1: *const ::std::os::raw::c_void,
11213 arg2: *const ::std::os::raw::c_void,
11214 ) -> ::std::os::raw::c_int,
11215 >,
11216 );
11217}
11218extern "C" {
11219 pub fn psort_b(
11220 __base: *mut ::std::os::raw::c_void,
11221 __nel: usize,
11222 __width: usize,
11223 __compar: *mut ::std::os::raw::c_void,
11224 );
11225}
11226extern "C" {
11227 pub fn psort_r(
11228 __base: *mut ::std::os::raw::c_void,
11229 __nel: usize,
11230 __width: usize,
11231 arg1: *mut ::std::os::raw::c_void,
11232 __compar: ::std::option::Option<
11233 unsafe extern "C" fn(
11234 arg1: *mut ::std::os::raw::c_void,
11235 arg2: *const ::std::os::raw::c_void,
11236 arg3: *const ::std::os::raw::c_void,
11237 ) -> ::std::os::raw::c_int,
11238 >,
11239 );
11240}
11241extern "C" {
11242 pub fn qsort_b(
11243 __base: *mut ::std::os::raw::c_void,
11244 __nel: usize,
11245 __width: usize,
11246 __compar: *mut ::std::os::raw::c_void,
11247 );
11248}
11249extern "C" {
11250 pub fn qsort_r(
11251 __base: *mut ::std::os::raw::c_void,
11252 __nel: usize,
11253 __width: usize,
11254 arg1: *mut ::std::os::raw::c_void,
11255 __compar: ::std::option::Option<
11256 unsafe extern "C" fn(
11257 arg1: *mut ::std::os::raw::c_void,
11258 arg2: *const ::std::os::raw::c_void,
11259 arg3: *const ::std::os::raw::c_void,
11260 ) -> ::std::os::raw::c_int,
11261 >,
11262 );
11263}
11264extern "C" {
11265 pub fn radixsort(
11266 __base: *mut *const ::std::os::raw::c_uchar,
11267 __nel: ::std::os::raw::c_int,
11268 __table: *const ::std::os::raw::c_uchar,
11269 __endbyte: ::std::os::raw::c_uint,
11270 ) -> ::std::os::raw::c_int;
11271}
11272extern "C" {
11273 pub fn setprogname(arg1: *const ::std::os::raw::c_char);
11274}
11275extern "C" {
11276 pub fn sradixsort(
11277 __base: *mut *const ::std::os::raw::c_uchar,
11278 __nel: ::std::os::raw::c_int,
11279 __table: *const ::std::os::raw::c_uchar,
11280 __endbyte: ::std::os::raw::c_uint,
11281 ) -> ::std::os::raw::c_int;
11282}
11283extern "C" {
11284 pub fn sranddev();
11285}
11286extern "C" {
11287 pub fn srandomdev();
11288}
11289extern "C" {
11290 pub fn reallocf(
11291 __ptr: *mut ::std::os::raw::c_void,
11292 __size: usize,
11293 ) -> *mut ::std::os::raw::c_void;
11294}
11295extern "C" {
11296 pub fn strtoq(
11297 __str: *const ::std::os::raw::c_char,
11298 __endptr: *mut *mut ::std::os::raw::c_char,
11299 __base: ::std::os::raw::c_int,
11300 ) -> ::std::os::raw::c_longlong;
11301}
11302extern "C" {
11303 pub fn strtouq(
11304 __str: *const ::std::os::raw::c_char,
11305 __endptr: *mut *mut ::std::os::raw::c_char,
11306 __base: ::std::os::raw::c_int,
11307 ) -> ::std::os::raw::c_ulonglong;
11308}
11309extern "C" {
11310 pub static mut suboptarg: *mut ::std::os::raw::c_char;
11311}
11312extern "C" {
11313 pub fn _mm_sfence();
11314}
11315extern "C" {
11316 pub fn _mm_getcsr() -> ::std::os::raw::c_uint;
11317}
11318extern "C" {
11319 pub fn _mm_setcsr(__i: ::std::os::raw::c_uint);
11320}
11321pub type __m128d = [f64; 2usize];
11322pub type __m128i = [::std::os::raw::c_longlong; 2usize];
11323pub type __m128d_u = [f64; 2usize];
11324pub type __m128i_u = [::std::os::raw::c_longlong; 2usize];
11325pub type __v2df = [f64; 2usize];
11326pub type __v2di = [::std::os::raw::c_longlong; 2usize];
11327pub type __v8hi = [::std::os::raw::c_short; 8usize];
11328pub type __v16qi = [::std::os::raw::c_char; 16usize];
11329pub type __v2du = [::std::os::raw::c_ulonglong; 2usize];
11330pub type __v8hu = [::std::os::raw::c_ushort; 8usize];
11331pub type __v16qu = [::std::os::raw::c_uchar; 16usize];
11332pub type __v16qs = [::std::os::raw::c_schar; 16usize];
11333extern "C" {
11334 pub fn _mm_clflush(__p: *const ::std::os::raw::c_void);
11335}
11336extern "C" {
11337 pub fn _mm_lfence();
11338}
11339extern "C" {
11340 pub fn _mm_mfence();
11341}
11342extern "C" {
11343 pub fn _mm_pause();
11344}
11345pub type __cl_float4 = [f32; 4usize];
11346pub type __cl_uchar16 = [cl_uchar; 16usize];
11347pub type __cl_char16 = [cl_char; 16usize];
11348pub type __cl_ushort8 = [cl_ushort; 8usize];
11349pub type __cl_short8 = [cl_short; 8usize];
11350pub type __cl_uint4 = [cl_uint; 4usize];
11351pub type __cl_int4 = [cl_int; 4usize];
11352pub type __cl_ulong2 = [cl_ulong; 2usize];
11353pub type __cl_long2 = [cl_long; 2usize];
11354pub type __cl_double2 = [cl_double; 2usize];
11355pub type __cl_uchar8 = [cl_uchar; 8usize];
11356pub type __cl_char8 = [cl_char; 8usize];
11357pub type __cl_ushort4 = [cl_ushort; 4usize];
11358pub type __cl_short4 = [cl_short; 4usize];
11359pub type __cl_uint2 = [cl_uint; 2usize];
11360pub type __cl_int2 = [cl_int; 2usize];
11361pub type __cl_ulong1 = [cl_ulong; 1usize];
11362pub type __cl_long1 = [cl_long; 1usize];
11363pub type __cl_float2 = [cl_float; 2usize];
11364#[repr(C)]
11365#[derive(Copy, Clone)]
11366pub union cl_char2 {
11367 pub s: [cl_char; 2usize],
11368 pub __bindgen_anon_1: cl_char2__bindgen_ty_1,
11369 pub __bindgen_anon_2: cl_char2__bindgen_ty_2,
11370 pub __bindgen_anon_3: cl_char2__bindgen_ty_3,
11371 _bindgen_union_align: u16,
11372}
11373#[repr(C)]
11374#[derive(Debug, Copy, Clone)]
11375pub struct cl_char2__bindgen_ty_1 {
11376 pub x: cl_char,
11377 pub y: cl_char,
11378}
11379#[test]
11380fn bindgen_test_layout_cl_char2__bindgen_ty_1() {
11381 assert_eq!(
11382 ::std::mem::size_of::<cl_char2__bindgen_ty_1>(),
11383 2usize,
11384 concat!("Size of: ", stringify!(cl_char2__bindgen_ty_1))
11385 );
11386 assert_eq!(
11387 ::std::mem::align_of::<cl_char2__bindgen_ty_1>(),
11388 1usize,
11389 concat!("Alignment of ", stringify!(cl_char2__bindgen_ty_1))
11390 );
11391 assert_eq!(
11392 unsafe { &(*(::std::ptr::null::<cl_char2__bindgen_ty_1>())).x as *const _ as usize },
11393 0usize,
11394 concat!(
11395 "Offset of field: ",
11396 stringify!(cl_char2__bindgen_ty_1),
11397 "::",
11398 stringify!(x)
11399 )
11400 );
11401 assert_eq!(
11402 unsafe { &(*(::std::ptr::null::<cl_char2__bindgen_ty_1>())).y as *const _ as usize },
11403 1usize,
11404 concat!(
11405 "Offset of field: ",
11406 stringify!(cl_char2__bindgen_ty_1),
11407 "::",
11408 stringify!(y)
11409 )
11410 );
11411}
11412#[repr(C)]
11413#[derive(Debug, Copy, Clone)]
11414pub struct cl_char2__bindgen_ty_2 {
11415 pub s0: cl_char,
11416 pub s1: cl_char,
11417}
11418#[test]
11419fn bindgen_test_layout_cl_char2__bindgen_ty_2() {
11420 assert_eq!(
11421 ::std::mem::size_of::<cl_char2__bindgen_ty_2>(),
11422 2usize,
11423 concat!("Size of: ", stringify!(cl_char2__bindgen_ty_2))
11424 );
11425 assert_eq!(
11426 ::std::mem::align_of::<cl_char2__bindgen_ty_2>(),
11427 1usize,
11428 concat!("Alignment of ", stringify!(cl_char2__bindgen_ty_2))
11429 );
11430 assert_eq!(
11431 unsafe { &(*(::std::ptr::null::<cl_char2__bindgen_ty_2>())).s0 as *const _ as usize },
11432 0usize,
11433 concat!(
11434 "Offset of field: ",
11435 stringify!(cl_char2__bindgen_ty_2),
11436 "::",
11437 stringify!(s0)
11438 )
11439 );
11440 assert_eq!(
11441 unsafe { &(*(::std::ptr::null::<cl_char2__bindgen_ty_2>())).s1 as *const _ as usize },
11442 1usize,
11443 concat!(
11444 "Offset of field: ",
11445 stringify!(cl_char2__bindgen_ty_2),
11446 "::",
11447 stringify!(s1)
11448 )
11449 );
11450}
11451#[repr(C)]
11452#[derive(Debug, Copy, Clone)]
11453pub struct cl_char2__bindgen_ty_3 {
11454 pub lo: cl_char,
11455 pub hi: cl_char,
11456}
11457#[test]
11458fn bindgen_test_layout_cl_char2__bindgen_ty_3() {
11459 assert_eq!(
11460 ::std::mem::size_of::<cl_char2__bindgen_ty_3>(),
11461 2usize,
11462 concat!("Size of: ", stringify!(cl_char2__bindgen_ty_3))
11463 );
11464 assert_eq!(
11465 ::std::mem::align_of::<cl_char2__bindgen_ty_3>(),
11466 1usize,
11467 concat!("Alignment of ", stringify!(cl_char2__bindgen_ty_3))
11468 );
11469 assert_eq!(
11470 unsafe { &(*(::std::ptr::null::<cl_char2__bindgen_ty_3>())).lo as *const _ as usize },
11471 0usize,
11472 concat!(
11473 "Offset of field: ",
11474 stringify!(cl_char2__bindgen_ty_3),
11475 "::",
11476 stringify!(lo)
11477 )
11478 );
11479 assert_eq!(
11480 unsafe { &(*(::std::ptr::null::<cl_char2__bindgen_ty_3>())).hi as *const _ as usize },
11481 1usize,
11482 concat!(
11483 "Offset of field: ",
11484 stringify!(cl_char2__bindgen_ty_3),
11485 "::",
11486 stringify!(hi)
11487 )
11488 );
11489}
11490#[test]
11491fn bindgen_test_layout_cl_char2() {
11492 assert_eq!(
11493 ::std::mem::size_of::<cl_char2>(),
11494 2usize,
11495 concat!("Size of: ", stringify!(cl_char2))
11496 );
11497 assert_eq!(
11498 ::std::mem::align_of::<cl_char2>(),
11499 2usize,
11500 concat!("Alignment of ", stringify!(cl_char2))
11501 );
11502 assert_eq!(
11503 unsafe { &(*(::std::ptr::null::<cl_char2>())).s as *const _ as usize },
11504 0usize,
11505 concat!(
11506 "Offset of field: ",
11507 stringify!(cl_char2),
11508 "::",
11509 stringify!(s)
11510 )
11511 );
11512}
11513#[repr(C)]
11514#[derive(Copy, Clone)]
11515pub union cl_char4 {
11516 pub s: [cl_char; 4usize],
11517 pub __bindgen_anon_1: cl_char4__bindgen_ty_1,
11518 pub __bindgen_anon_2: cl_char4__bindgen_ty_2,
11519 pub __bindgen_anon_3: cl_char4__bindgen_ty_3,
11520 _bindgen_union_align: u32,
11521}
11522#[repr(C)]
11523#[derive(Debug, Copy, Clone)]
11524pub struct cl_char4__bindgen_ty_1 {
11525 pub x: cl_char,
11526 pub y: cl_char,
11527 pub z: cl_char,
11528 pub w: cl_char,
11529}
11530#[test]
11531fn bindgen_test_layout_cl_char4__bindgen_ty_1() {
11532 assert_eq!(
11533 ::std::mem::size_of::<cl_char4__bindgen_ty_1>(),
11534 4usize,
11535 concat!("Size of: ", stringify!(cl_char4__bindgen_ty_1))
11536 );
11537 assert_eq!(
11538 ::std::mem::align_of::<cl_char4__bindgen_ty_1>(),
11539 1usize,
11540 concat!("Alignment of ", stringify!(cl_char4__bindgen_ty_1))
11541 );
11542 assert_eq!(
11543 unsafe { &(*(::std::ptr::null::<cl_char4__bindgen_ty_1>())).x as *const _ as usize },
11544 0usize,
11545 concat!(
11546 "Offset of field: ",
11547 stringify!(cl_char4__bindgen_ty_1),
11548 "::",
11549 stringify!(x)
11550 )
11551 );
11552 assert_eq!(
11553 unsafe { &(*(::std::ptr::null::<cl_char4__bindgen_ty_1>())).y as *const _ as usize },
11554 1usize,
11555 concat!(
11556 "Offset of field: ",
11557 stringify!(cl_char4__bindgen_ty_1),
11558 "::",
11559 stringify!(y)
11560 )
11561 );
11562 assert_eq!(
11563 unsafe { &(*(::std::ptr::null::<cl_char4__bindgen_ty_1>())).z as *const _ as usize },
11564 2usize,
11565 concat!(
11566 "Offset of field: ",
11567 stringify!(cl_char4__bindgen_ty_1),
11568 "::",
11569 stringify!(z)
11570 )
11571 );
11572 assert_eq!(
11573 unsafe { &(*(::std::ptr::null::<cl_char4__bindgen_ty_1>())).w as *const _ as usize },
11574 3usize,
11575 concat!(
11576 "Offset of field: ",
11577 stringify!(cl_char4__bindgen_ty_1),
11578 "::",
11579 stringify!(w)
11580 )
11581 );
11582}
11583#[repr(C)]
11584#[derive(Debug, Copy, Clone)]
11585pub struct cl_char4__bindgen_ty_2 {
11586 pub s0: cl_char,
11587 pub s1: cl_char,
11588 pub s2: cl_char,
11589 pub s3: cl_char,
11590}
11591#[test]
11592fn bindgen_test_layout_cl_char4__bindgen_ty_2() {
11593 assert_eq!(
11594 ::std::mem::size_of::<cl_char4__bindgen_ty_2>(),
11595 4usize,
11596 concat!("Size of: ", stringify!(cl_char4__bindgen_ty_2))
11597 );
11598 assert_eq!(
11599 ::std::mem::align_of::<cl_char4__bindgen_ty_2>(),
11600 1usize,
11601 concat!("Alignment of ", stringify!(cl_char4__bindgen_ty_2))
11602 );
11603 assert_eq!(
11604 unsafe { &(*(::std::ptr::null::<cl_char4__bindgen_ty_2>())).s0 as *const _ as usize },
11605 0usize,
11606 concat!(
11607 "Offset of field: ",
11608 stringify!(cl_char4__bindgen_ty_2),
11609 "::",
11610 stringify!(s0)
11611 )
11612 );
11613 assert_eq!(
11614 unsafe { &(*(::std::ptr::null::<cl_char4__bindgen_ty_2>())).s1 as *const _ as usize },
11615 1usize,
11616 concat!(
11617 "Offset of field: ",
11618 stringify!(cl_char4__bindgen_ty_2),
11619 "::",
11620 stringify!(s1)
11621 )
11622 );
11623 assert_eq!(
11624 unsafe { &(*(::std::ptr::null::<cl_char4__bindgen_ty_2>())).s2 as *const _ as usize },
11625 2usize,
11626 concat!(
11627 "Offset of field: ",
11628 stringify!(cl_char4__bindgen_ty_2),
11629 "::",
11630 stringify!(s2)
11631 )
11632 );
11633 assert_eq!(
11634 unsafe { &(*(::std::ptr::null::<cl_char4__bindgen_ty_2>())).s3 as *const _ as usize },
11635 3usize,
11636 concat!(
11637 "Offset of field: ",
11638 stringify!(cl_char4__bindgen_ty_2),
11639 "::",
11640 stringify!(s3)
11641 )
11642 );
11643}
11644#[repr(C)]
11645#[derive(Copy, Clone)]
11646pub struct cl_char4__bindgen_ty_3 {
11647 pub lo: cl_char2,
11648 pub hi: cl_char2,
11649}
11650#[test]
11651fn bindgen_test_layout_cl_char4__bindgen_ty_3() {
11652 assert_eq!(
11653 ::std::mem::size_of::<cl_char4__bindgen_ty_3>(),
11654 4usize,
11655 concat!("Size of: ", stringify!(cl_char4__bindgen_ty_3))
11656 );
11657 assert_eq!(
11658 ::std::mem::align_of::<cl_char4__bindgen_ty_3>(),
11659 2usize,
11660 concat!("Alignment of ", stringify!(cl_char4__bindgen_ty_3))
11661 );
11662 assert_eq!(
11663 unsafe { &(*(::std::ptr::null::<cl_char4__bindgen_ty_3>())).lo as *const _ as usize },
11664 0usize,
11665 concat!(
11666 "Offset of field: ",
11667 stringify!(cl_char4__bindgen_ty_3),
11668 "::",
11669 stringify!(lo)
11670 )
11671 );
11672 assert_eq!(
11673 unsafe { &(*(::std::ptr::null::<cl_char4__bindgen_ty_3>())).hi as *const _ as usize },
11674 2usize,
11675 concat!(
11676 "Offset of field: ",
11677 stringify!(cl_char4__bindgen_ty_3),
11678 "::",
11679 stringify!(hi)
11680 )
11681 );
11682}
11683#[test]
11684fn bindgen_test_layout_cl_char4() {
11685 assert_eq!(
11686 ::std::mem::size_of::<cl_char4>(),
11687 4usize,
11688 concat!("Size of: ", stringify!(cl_char4))
11689 );
11690 assert_eq!(
11691 ::std::mem::align_of::<cl_char4>(),
11692 4usize,
11693 concat!("Alignment of ", stringify!(cl_char4))
11694 );
11695 assert_eq!(
11696 unsafe { &(*(::std::ptr::null::<cl_char4>())).s as *const _ as usize },
11697 0usize,
11698 concat!(
11699 "Offset of field: ",
11700 stringify!(cl_char4),
11701 "::",
11702 stringify!(s)
11703 )
11704 );
11705}
11706pub type cl_char3 = cl_char4;
11707#[repr(C)]
11708#[derive(Copy, Clone)]
11709pub union cl_char8 {
11710 pub s: [cl_char; 8usize],
11711 pub __bindgen_anon_1: cl_char8__bindgen_ty_1,
11712 pub __bindgen_anon_2: cl_char8__bindgen_ty_2,
11713 pub __bindgen_anon_3: cl_char8__bindgen_ty_3,
11714 pub v8: __cl_char8,
11715 _bindgen_union_align: u64,
11716}
11717#[repr(C)]
11718#[derive(Debug, Copy, Clone)]
11719pub struct cl_char8__bindgen_ty_1 {
11720 pub x: cl_char,
11721 pub y: cl_char,
11722 pub z: cl_char,
11723 pub w: cl_char,
11724}
11725#[test]
11726fn bindgen_test_layout_cl_char8__bindgen_ty_1() {
11727 assert_eq!(
11728 ::std::mem::size_of::<cl_char8__bindgen_ty_1>(),
11729 4usize,
11730 concat!("Size of: ", stringify!(cl_char8__bindgen_ty_1))
11731 );
11732 assert_eq!(
11733 ::std::mem::align_of::<cl_char8__bindgen_ty_1>(),
11734 1usize,
11735 concat!("Alignment of ", stringify!(cl_char8__bindgen_ty_1))
11736 );
11737 assert_eq!(
11738 unsafe { &(*(::std::ptr::null::<cl_char8__bindgen_ty_1>())).x as *const _ as usize },
11739 0usize,
11740 concat!(
11741 "Offset of field: ",
11742 stringify!(cl_char8__bindgen_ty_1),
11743 "::",
11744 stringify!(x)
11745 )
11746 );
11747 assert_eq!(
11748 unsafe { &(*(::std::ptr::null::<cl_char8__bindgen_ty_1>())).y as *const _ as usize },
11749 1usize,
11750 concat!(
11751 "Offset of field: ",
11752 stringify!(cl_char8__bindgen_ty_1),
11753 "::",
11754 stringify!(y)
11755 )
11756 );
11757 assert_eq!(
11758 unsafe { &(*(::std::ptr::null::<cl_char8__bindgen_ty_1>())).z as *const _ as usize },
11759 2usize,
11760 concat!(
11761 "Offset of field: ",
11762 stringify!(cl_char8__bindgen_ty_1),
11763 "::",
11764 stringify!(z)
11765 )
11766 );
11767 assert_eq!(
11768 unsafe { &(*(::std::ptr::null::<cl_char8__bindgen_ty_1>())).w as *const _ as usize },
11769 3usize,
11770 concat!(
11771 "Offset of field: ",
11772 stringify!(cl_char8__bindgen_ty_1),
11773 "::",
11774 stringify!(w)
11775 )
11776 );
11777}
11778#[repr(C)]
11779#[derive(Debug, Copy, Clone)]
11780pub struct cl_char8__bindgen_ty_2 {
11781 pub s0: cl_char,
11782 pub s1: cl_char,
11783 pub s2: cl_char,
11784 pub s3: cl_char,
11785 pub s4: cl_char,
11786 pub s5: cl_char,
11787 pub s6: cl_char,
11788 pub s7: cl_char,
11789}
11790#[test]
11791fn bindgen_test_layout_cl_char8__bindgen_ty_2() {
11792 assert_eq!(
11793 ::std::mem::size_of::<cl_char8__bindgen_ty_2>(),
11794 8usize,
11795 concat!("Size of: ", stringify!(cl_char8__bindgen_ty_2))
11796 );
11797 assert_eq!(
11798 ::std::mem::align_of::<cl_char8__bindgen_ty_2>(),
11799 1usize,
11800 concat!("Alignment of ", stringify!(cl_char8__bindgen_ty_2))
11801 );
11802 assert_eq!(
11803 unsafe { &(*(::std::ptr::null::<cl_char8__bindgen_ty_2>())).s0 as *const _ as usize },
11804 0usize,
11805 concat!(
11806 "Offset of field: ",
11807 stringify!(cl_char8__bindgen_ty_2),
11808 "::",
11809 stringify!(s0)
11810 )
11811 );
11812 assert_eq!(
11813 unsafe { &(*(::std::ptr::null::<cl_char8__bindgen_ty_2>())).s1 as *const _ as usize },
11814 1usize,
11815 concat!(
11816 "Offset of field: ",
11817 stringify!(cl_char8__bindgen_ty_2),
11818 "::",
11819 stringify!(s1)
11820 )
11821 );
11822 assert_eq!(
11823 unsafe { &(*(::std::ptr::null::<cl_char8__bindgen_ty_2>())).s2 as *const _ as usize },
11824 2usize,
11825 concat!(
11826 "Offset of field: ",
11827 stringify!(cl_char8__bindgen_ty_2),
11828 "::",
11829 stringify!(s2)
11830 )
11831 );
11832 assert_eq!(
11833 unsafe { &(*(::std::ptr::null::<cl_char8__bindgen_ty_2>())).s3 as *const _ as usize },
11834 3usize,
11835 concat!(
11836 "Offset of field: ",
11837 stringify!(cl_char8__bindgen_ty_2),
11838 "::",
11839 stringify!(s3)
11840 )
11841 );
11842 assert_eq!(
11843 unsafe { &(*(::std::ptr::null::<cl_char8__bindgen_ty_2>())).s4 as *const _ as usize },
11844 4usize,
11845 concat!(
11846 "Offset of field: ",
11847 stringify!(cl_char8__bindgen_ty_2),
11848 "::",
11849 stringify!(s4)
11850 )
11851 );
11852 assert_eq!(
11853 unsafe { &(*(::std::ptr::null::<cl_char8__bindgen_ty_2>())).s5 as *const _ as usize },
11854 5usize,
11855 concat!(
11856 "Offset of field: ",
11857 stringify!(cl_char8__bindgen_ty_2),
11858 "::",
11859 stringify!(s5)
11860 )
11861 );
11862 assert_eq!(
11863 unsafe { &(*(::std::ptr::null::<cl_char8__bindgen_ty_2>())).s6 as *const _ as usize },
11864 6usize,
11865 concat!(
11866 "Offset of field: ",
11867 stringify!(cl_char8__bindgen_ty_2),
11868 "::",
11869 stringify!(s6)
11870 )
11871 );
11872 assert_eq!(
11873 unsafe { &(*(::std::ptr::null::<cl_char8__bindgen_ty_2>())).s7 as *const _ as usize },
11874 7usize,
11875 concat!(
11876 "Offset of field: ",
11877 stringify!(cl_char8__bindgen_ty_2),
11878 "::",
11879 stringify!(s7)
11880 )
11881 );
11882}
11883#[repr(C)]
11884#[derive(Copy, Clone)]
11885pub struct cl_char8__bindgen_ty_3 {
11886 pub lo: cl_char4,
11887 pub hi: cl_char4,
11888}
11889#[test]
11890fn bindgen_test_layout_cl_char8__bindgen_ty_3() {
11891 assert_eq!(
11892 ::std::mem::size_of::<cl_char8__bindgen_ty_3>(),
11893 8usize,
11894 concat!("Size of: ", stringify!(cl_char8__bindgen_ty_3))
11895 );
11896 assert_eq!(
11897 ::std::mem::align_of::<cl_char8__bindgen_ty_3>(),
11898 4usize,
11899 concat!("Alignment of ", stringify!(cl_char8__bindgen_ty_3))
11900 );
11901 assert_eq!(
11902 unsafe { &(*(::std::ptr::null::<cl_char8__bindgen_ty_3>())).lo as *const _ as usize },
11903 0usize,
11904 concat!(
11905 "Offset of field: ",
11906 stringify!(cl_char8__bindgen_ty_3),
11907 "::",
11908 stringify!(lo)
11909 )
11910 );
11911 assert_eq!(
11912 unsafe { &(*(::std::ptr::null::<cl_char8__bindgen_ty_3>())).hi as *const _ as usize },
11913 4usize,
11914 concat!(
11915 "Offset of field: ",
11916 stringify!(cl_char8__bindgen_ty_3),
11917 "::",
11918 stringify!(hi)
11919 )
11920 );
11921}
11922#[test]
11923fn bindgen_test_layout_cl_char8() {
11924 assert_eq!(
11925 ::std::mem::size_of::<cl_char8>(),
11926 8usize,
11927 concat!("Size of: ", stringify!(cl_char8))
11928 );
11929 assert_eq!(
11930 ::std::mem::align_of::<cl_char8>(),
11931 8usize,
11932 concat!("Alignment of ", stringify!(cl_char8))
11933 );
11934 assert_eq!(
11935 unsafe { &(*(::std::ptr::null::<cl_char8>())).s as *const _ as usize },
11936 0usize,
11937 concat!(
11938 "Offset of field: ",
11939 stringify!(cl_char8),
11940 "::",
11941 stringify!(s)
11942 )
11943 );
11944 assert_eq!(
11945 unsafe { &(*(::std::ptr::null::<cl_char8>())).v8 as *const _ as usize },
11946 0usize,
11947 concat!(
11948 "Offset of field: ",
11949 stringify!(cl_char8),
11950 "::",
11951 stringify!(v8)
11952 )
11953 );
11954}
11955#[repr(C)]
11956#[repr(align(16))]
11957#[derive(Copy, Clone)]
11958pub union cl_char16 {
11959 pub s: [cl_char; 16usize],
11960 pub __bindgen_anon_1: cl_char16__bindgen_ty_1,
11961 pub __bindgen_anon_2: cl_char16__bindgen_ty_2,
11962 pub __bindgen_anon_3: cl_char16__bindgen_ty_3,
11963 pub v8: [__cl_char8; 2usize],
11964 pub v16: __cl_char16,
11965 _bindgen_union_align: u128,
11966}
11967#[repr(C)]
11968#[derive(Debug, Copy, Clone)]
11969pub struct cl_char16__bindgen_ty_1 {
11970 pub x: cl_char,
11971 pub y: cl_char,
11972 pub z: cl_char,
11973 pub w: cl_char,
11974 pub __spacer4: cl_char,
11975 pub __spacer5: cl_char,
11976 pub __spacer6: cl_char,
11977 pub __spacer7: cl_char,
11978 pub __spacer8: cl_char,
11979 pub __spacer9: cl_char,
11980 pub sa: cl_char,
11981 pub sb: cl_char,
11982 pub sc: cl_char,
11983 pub sd: cl_char,
11984 pub se: cl_char,
11985 pub sf: cl_char,
11986}
11987#[test]
11988fn bindgen_test_layout_cl_char16__bindgen_ty_1() {
11989 assert_eq!(
11990 ::std::mem::size_of::<cl_char16__bindgen_ty_1>(),
11991 16usize,
11992 concat!("Size of: ", stringify!(cl_char16__bindgen_ty_1))
11993 );
11994 assert_eq!(
11995 ::std::mem::align_of::<cl_char16__bindgen_ty_1>(),
11996 1usize,
11997 concat!("Alignment of ", stringify!(cl_char16__bindgen_ty_1))
11998 );
11999 assert_eq!(
12000 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_1>())).x as *const _ as usize },
12001 0usize,
12002 concat!(
12003 "Offset of field: ",
12004 stringify!(cl_char16__bindgen_ty_1),
12005 "::",
12006 stringify!(x)
12007 )
12008 );
12009 assert_eq!(
12010 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_1>())).y as *const _ as usize },
12011 1usize,
12012 concat!(
12013 "Offset of field: ",
12014 stringify!(cl_char16__bindgen_ty_1),
12015 "::",
12016 stringify!(y)
12017 )
12018 );
12019 assert_eq!(
12020 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_1>())).z as *const _ as usize },
12021 2usize,
12022 concat!(
12023 "Offset of field: ",
12024 stringify!(cl_char16__bindgen_ty_1),
12025 "::",
12026 stringify!(z)
12027 )
12028 );
12029 assert_eq!(
12030 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_1>())).w as *const _ as usize },
12031 3usize,
12032 concat!(
12033 "Offset of field: ",
12034 stringify!(cl_char16__bindgen_ty_1),
12035 "::",
12036 stringify!(w)
12037 )
12038 );
12039 assert_eq!(
12040 unsafe {
12041 &(*(::std::ptr::null::<cl_char16__bindgen_ty_1>())).__spacer4 as *const _ as usize
12042 },
12043 4usize,
12044 concat!(
12045 "Offset of field: ",
12046 stringify!(cl_char16__bindgen_ty_1),
12047 "::",
12048 stringify!(__spacer4)
12049 )
12050 );
12051 assert_eq!(
12052 unsafe {
12053 &(*(::std::ptr::null::<cl_char16__bindgen_ty_1>())).__spacer5 as *const _ as usize
12054 },
12055 5usize,
12056 concat!(
12057 "Offset of field: ",
12058 stringify!(cl_char16__bindgen_ty_1),
12059 "::",
12060 stringify!(__spacer5)
12061 )
12062 );
12063 assert_eq!(
12064 unsafe {
12065 &(*(::std::ptr::null::<cl_char16__bindgen_ty_1>())).__spacer6 as *const _ as usize
12066 },
12067 6usize,
12068 concat!(
12069 "Offset of field: ",
12070 stringify!(cl_char16__bindgen_ty_1),
12071 "::",
12072 stringify!(__spacer6)
12073 )
12074 );
12075 assert_eq!(
12076 unsafe {
12077 &(*(::std::ptr::null::<cl_char16__bindgen_ty_1>())).__spacer7 as *const _ as usize
12078 },
12079 7usize,
12080 concat!(
12081 "Offset of field: ",
12082 stringify!(cl_char16__bindgen_ty_1),
12083 "::",
12084 stringify!(__spacer7)
12085 )
12086 );
12087 assert_eq!(
12088 unsafe {
12089 &(*(::std::ptr::null::<cl_char16__bindgen_ty_1>())).__spacer8 as *const _ as usize
12090 },
12091 8usize,
12092 concat!(
12093 "Offset of field: ",
12094 stringify!(cl_char16__bindgen_ty_1),
12095 "::",
12096 stringify!(__spacer8)
12097 )
12098 );
12099 assert_eq!(
12100 unsafe {
12101 &(*(::std::ptr::null::<cl_char16__bindgen_ty_1>())).__spacer9 as *const _ as usize
12102 },
12103 9usize,
12104 concat!(
12105 "Offset of field: ",
12106 stringify!(cl_char16__bindgen_ty_1),
12107 "::",
12108 stringify!(__spacer9)
12109 )
12110 );
12111 assert_eq!(
12112 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_1>())).sa as *const _ as usize },
12113 10usize,
12114 concat!(
12115 "Offset of field: ",
12116 stringify!(cl_char16__bindgen_ty_1),
12117 "::",
12118 stringify!(sa)
12119 )
12120 );
12121 assert_eq!(
12122 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_1>())).sb as *const _ as usize },
12123 11usize,
12124 concat!(
12125 "Offset of field: ",
12126 stringify!(cl_char16__bindgen_ty_1),
12127 "::",
12128 stringify!(sb)
12129 )
12130 );
12131 assert_eq!(
12132 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_1>())).sc as *const _ as usize },
12133 12usize,
12134 concat!(
12135 "Offset of field: ",
12136 stringify!(cl_char16__bindgen_ty_1),
12137 "::",
12138 stringify!(sc)
12139 )
12140 );
12141 assert_eq!(
12142 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_1>())).sd as *const _ as usize },
12143 13usize,
12144 concat!(
12145 "Offset of field: ",
12146 stringify!(cl_char16__bindgen_ty_1),
12147 "::",
12148 stringify!(sd)
12149 )
12150 );
12151 assert_eq!(
12152 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_1>())).se as *const _ as usize },
12153 14usize,
12154 concat!(
12155 "Offset of field: ",
12156 stringify!(cl_char16__bindgen_ty_1),
12157 "::",
12158 stringify!(se)
12159 )
12160 );
12161 assert_eq!(
12162 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_1>())).sf as *const _ as usize },
12163 15usize,
12164 concat!(
12165 "Offset of field: ",
12166 stringify!(cl_char16__bindgen_ty_1),
12167 "::",
12168 stringify!(sf)
12169 )
12170 );
12171}
12172#[repr(C)]
12173#[derive(Debug, Copy, Clone)]
12174pub struct cl_char16__bindgen_ty_2 {
12175 pub s0: cl_char,
12176 pub s1: cl_char,
12177 pub s2: cl_char,
12178 pub s3: cl_char,
12179 pub s4: cl_char,
12180 pub s5: cl_char,
12181 pub s6: cl_char,
12182 pub s7: cl_char,
12183 pub s8: cl_char,
12184 pub s9: cl_char,
12185 pub sA: cl_char,
12186 pub sB: cl_char,
12187 pub sC: cl_char,
12188 pub sD: cl_char,
12189 pub sE: cl_char,
12190 pub sF: cl_char,
12191}
12192#[test]
12193fn bindgen_test_layout_cl_char16__bindgen_ty_2() {
12194 assert_eq!(
12195 ::std::mem::size_of::<cl_char16__bindgen_ty_2>(),
12196 16usize,
12197 concat!("Size of: ", stringify!(cl_char16__bindgen_ty_2))
12198 );
12199 assert_eq!(
12200 ::std::mem::align_of::<cl_char16__bindgen_ty_2>(),
12201 1usize,
12202 concat!("Alignment of ", stringify!(cl_char16__bindgen_ty_2))
12203 );
12204 assert_eq!(
12205 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_2>())).s0 as *const _ as usize },
12206 0usize,
12207 concat!(
12208 "Offset of field: ",
12209 stringify!(cl_char16__bindgen_ty_2),
12210 "::",
12211 stringify!(s0)
12212 )
12213 );
12214 assert_eq!(
12215 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_2>())).s1 as *const _ as usize },
12216 1usize,
12217 concat!(
12218 "Offset of field: ",
12219 stringify!(cl_char16__bindgen_ty_2),
12220 "::",
12221 stringify!(s1)
12222 )
12223 );
12224 assert_eq!(
12225 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_2>())).s2 as *const _ as usize },
12226 2usize,
12227 concat!(
12228 "Offset of field: ",
12229 stringify!(cl_char16__bindgen_ty_2),
12230 "::",
12231 stringify!(s2)
12232 )
12233 );
12234 assert_eq!(
12235 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_2>())).s3 as *const _ as usize },
12236 3usize,
12237 concat!(
12238 "Offset of field: ",
12239 stringify!(cl_char16__bindgen_ty_2),
12240 "::",
12241 stringify!(s3)
12242 )
12243 );
12244 assert_eq!(
12245 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_2>())).s4 as *const _ as usize },
12246 4usize,
12247 concat!(
12248 "Offset of field: ",
12249 stringify!(cl_char16__bindgen_ty_2),
12250 "::",
12251 stringify!(s4)
12252 )
12253 );
12254 assert_eq!(
12255 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_2>())).s5 as *const _ as usize },
12256 5usize,
12257 concat!(
12258 "Offset of field: ",
12259 stringify!(cl_char16__bindgen_ty_2),
12260 "::",
12261 stringify!(s5)
12262 )
12263 );
12264 assert_eq!(
12265 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_2>())).s6 as *const _ as usize },
12266 6usize,
12267 concat!(
12268 "Offset of field: ",
12269 stringify!(cl_char16__bindgen_ty_2),
12270 "::",
12271 stringify!(s6)
12272 )
12273 );
12274 assert_eq!(
12275 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_2>())).s7 as *const _ as usize },
12276 7usize,
12277 concat!(
12278 "Offset of field: ",
12279 stringify!(cl_char16__bindgen_ty_2),
12280 "::",
12281 stringify!(s7)
12282 )
12283 );
12284 assert_eq!(
12285 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_2>())).s8 as *const _ as usize },
12286 8usize,
12287 concat!(
12288 "Offset of field: ",
12289 stringify!(cl_char16__bindgen_ty_2),
12290 "::",
12291 stringify!(s8)
12292 )
12293 );
12294 assert_eq!(
12295 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_2>())).s9 as *const _ as usize },
12296 9usize,
12297 concat!(
12298 "Offset of field: ",
12299 stringify!(cl_char16__bindgen_ty_2),
12300 "::",
12301 stringify!(s9)
12302 )
12303 );
12304 assert_eq!(
12305 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_2>())).sA as *const _ as usize },
12306 10usize,
12307 concat!(
12308 "Offset of field: ",
12309 stringify!(cl_char16__bindgen_ty_2),
12310 "::",
12311 stringify!(sA)
12312 )
12313 );
12314 assert_eq!(
12315 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_2>())).sB as *const _ as usize },
12316 11usize,
12317 concat!(
12318 "Offset of field: ",
12319 stringify!(cl_char16__bindgen_ty_2),
12320 "::",
12321 stringify!(sB)
12322 )
12323 );
12324 assert_eq!(
12325 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_2>())).sC as *const _ as usize },
12326 12usize,
12327 concat!(
12328 "Offset of field: ",
12329 stringify!(cl_char16__bindgen_ty_2),
12330 "::",
12331 stringify!(sC)
12332 )
12333 );
12334 assert_eq!(
12335 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_2>())).sD as *const _ as usize },
12336 13usize,
12337 concat!(
12338 "Offset of field: ",
12339 stringify!(cl_char16__bindgen_ty_2),
12340 "::",
12341 stringify!(sD)
12342 )
12343 );
12344 assert_eq!(
12345 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_2>())).sE as *const _ as usize },
12346 14usize,
12347 concat!(
12348 "Offset of field: ",
12349 stringify!(cl_char16__bindgen_ty_2),
12350 "::",
12351 stringify!(sE)
12352 )
12353 );
12354 assert_eq!(
12355 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_2>())).sF as *const _ as usize },
12356 15usize,
12357 concat!(
12358 "Offset of field: ",
12359 stringify!(cl_char16__bindgen_ty_2),
12360 "::",
12361 stringify!(sF)
12362 )
12363 );
12364}
12365#[repr(C)]
12366#[derive(Copy, Clone)]
12367pub struct cl_char16__bindgen_ty_3 {
12368 pub lo: cl_char8,
12369 pub hi: cl_char8,
12370}
12371#[test]
12372fn bindgen_test_layout_cl_char16__bindgen_ty_3() {
12373 assert_eq!(
12374 ::std::mem::size_of::<cl_char16__bindgen_ty_3>(),
12375 16usize,
12376 concat!("Size of: ", stringify!(cl_char16__bindgen_ty_3))
12377 );
12378 assert_eq!(
12379 ::std::mem::align_of::<cl_char16__bindgen_ty_3>(),
12380 8usize,
12381 concat!("Alignment of ", stringify!(cl_char16__bindgen_ty_3))
12382 );
12383 assert_eq!(
12384 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_3>())).lo as *const _ as usize },
12385 0usize,
12386 concat!(
12387 "Offset of field: ",
12388 stringify!(cl_char16__bindgen_ty_3),
12389 "::",
12390 stringify!(lo)
12391 )
12392 );
12393 assert_eq!(
12394 unsafe { &(*(::std::ptr::null::<cl_char16__bindgen_ty_3>())).hi as *const _ as usize },
12395 8usize,
12396 concat!(
12397 "Offset of field: ",
12398 stringify!(cl_char16__bindgen_ty_3),
12399 "::",
12400 stringify!(hi)
12401 )
12402 );
12403}
12404#[test]
12405fn bindgen_test_layout_cl_char16() {
12406 assert_eq!(
12407 ::std::mem::size_of::<cl_char16>(),
12408 16usize,
12409 concat!("Size of: ", stringify!(cl_char16))
12410 );
12411 assert_eq!(
12412 ::std::mem::align_of::<cl_char16>(),
12413 16usize,
12414 concat!("Alignment of ", stringify!(cl_char16))
12415 );
12416 assert_eq!(
12417 unsafe { &(*(::std::ptr::null::<cl_char16>())).s as *const _ as usize },
12418 0usize,
12419 concat!(
12420 "Offset of field: ",
12421 stringify!(cl_char16),
12422 "::",
12423 stringify!(s)
12424 )
12425 );
12426 assert_eq!(
12427 unsafe { &(*(::std::ptr::null::<cl_char16>())).v8 as *const _ as usize },
12428 0usize,
12429 concat!(
12430 "Offset of field: ",
12431 stringify!(cl_char16),
12432 "::",
12433 stringify!(v8)
12434 )
12435 );
12436 assert_eq!(
12437 unsafe { &(*(::std::ptr::null::<cl_char16>())).v16 as *const _ as usize },
12438 0usize,
12439 concat!(
12440 "Offset of field: ",
12441 stringify!(cl_char16),
12442 "::",
12443 stringify!(v16)
12444 )
12445 );
12446}
12447#[repr(C)]
12448#[derive(Copy, Clone)]
12449pub union cl_uchar2 {
12450 pub s: [cl_uchar; 2usize],
12451 pub __bindgen_anon_1: cl_uchar2__bindgen_ty_1,
12452 pub __bindgen_anon_2: cl_uchar2__bindgen_ty_2,
12453 pub __bindgen_anon_3: cl_uchar2__bindgen_ty_3,
12454 _bindgen_union_align: u16,
12455}
12456#[repr(C)]
12457#[derive(Debug, Copy, Clone)]
12458pub struct cl_uchar2__bindgen_ty_1 {
12459 pub x: cl_uchar,
12460 pub y: cl_uchar,
12461}
12462#[test]
12463fn bindgen_test_layout_cl_uchar2__bindgen_ty_1() {
12464 assert_eq!(
12465 ::std::mem::size_of::<cl_uchar2__bindgen_ty_1>(),
12466 2usize,
12467 concat!("Size of: ", stringify!(cl_uchar2__bindgen_ty_1))
12468 );
12469 assert_eq!(
12470 ::std::mem::align_of::<cl_uchar2__bindgen_ty_1>(),
12471 1usize,
12472 concat!("Alignment of ", stringify!(cl_uchar2__bindgen_ty_1))
12473 );
12474 assert_eq!(
12475 unsafe { &(*(::std::ptr::null::<cl_uchar2__bindgen_ty_1>())).x as *const _ as usize },
12476 0usize,
12477 concat!(
12478 "Offset of field: ",
12479 stringify!(cl_uchar2__bindgen_ty_1),
12480 "::",
12481 stringify!(x)
12482 )
12483 );
12484 assert_eq!(
12485 unsafe { &(*(::std::ptr::null::<cl_uchar2__bindgen_ty_1>())).y as *const _ as usize },
12486 1usize,
12487 concat!(
12488 "Offset of field: ",
12489 stringify!(cl_uchar2__bindgen_ty_1),
12490 "::",
12491 stringify!(y)
12492 )
12493 );
12494}
12495#[repr(C)]
12496#[derive(Debug, Copy, Clone)]
12497pub struct cl_uchar2__bindgen_ty_2 {
12498 pub s0: cl_uchar,
12499 pub s1: cl_uchar,
12500}
12501#[test]
12502fn bindgen_test_layout_cl_uchar2__bindgen_ty_2() {
12503 assert_eq!(
12504 ::std::mem::size_of::<cl_uchar2__bindgen_ty_2>(),
12505 2usize,
12506 concat!("Size of: ", stringify!(cl_uchar2__bindgen_ty_2))
12507 );
12508 assert_eq!(
12509 ::std::mem::align_of::<cl_uchar2__bindgen_ty_2>(),
12510 1usize,
12511 concat!("Alignment of ", stringify!(cl_uchar2__bindgen_ty_2))
12512 );
12513 assert_eq!(
12514 unsafe { &(*(::std::ptr::null::<cl_uchar2__bindgen_ty_2>())).s0 as *const _ as usize },
12515 0usize,
12516 concat!(
12517 "Offset of field: ",
12518 stringify!(cl_uchar2__bindgen_ty_2),
12519 "::",
12520 stringify!(s0)
12521 )
12522 );
12523 assert_eq!(
12524 unsafe { &(*(::std::ptr::null::<cl_uchar2__bindgen_ty_2>())).s1 as *const _ as usize },
12525 1usize,
12526 concat!(
12527 "Offset of field: ",
12528 stringify!(cl_uchar2__bindgen_ty_2),
12529 "::",
12530 stringify!(s1)
12531 )
12532 );
12533}
12534#[repr(C)]
12535#[derive(Debug, Copy, Clone)]
12536pub struct cl_uchar2__bindgen_ty_3 {
12537 pub lo: cl_uchar,
12538 pub hi: cl_uchar,
12539}
12540#[test]
12541fn bindgen_test_layout_cl_uchar2__bindgen_ty_3() {
12542 assert_eq!(
12543 ::std::mem::size_of::<cl_uchar2__bindgen_ty_3>(),
12544 2usize,
12545 concat!("Size of: ", stringify!(cl_uchar2__bindgen_ty_3))
12546 );
12547 assert_eq!(
12548 ::std::mem::align_of::<cl_uchar2__bindgen_ty_3>(),
12549 1usize,
12550 concat!("Alignment of ", stringify!(cl_uchar2__bindgen_ty_3))
12551 );
12552 assert_eq!(
12553 unsafe { &(*(::std::ptr::null::<cl_uchar2__bindgen_ty_3>())).lo as *const _ as usize },
12554 0usize,
12555 concat!(
12556 "Offset of field: ",
12557 stringify!(cl_uchar2__bindgen_ty_3),
12558 "::",
12559 stringify!(lo)
12560 )
12561 );
12562 assert_eq!(
12563 unsafe { &(*(::std::ptr::null::<cl_uchar2__bindgen_ty_3>())).hi as *const _ as usize },
12564 1usize,
12565 concat!(
12566 "Offset of field: ",
12567 stringify!(cl_uchar2__bindgen_ty_3),
12568 "::",
12569 stringify!(hi)
12570 )
12571 );
12572}
12573#[test]
12574fn bindgen_test_layout_cl_uchar2() {
12575 assert_eq!(
12576 ::std::mem::size_of::<cl_uchar2>(),
12577 2usize,
12578 concat!("Size of: ", stringify!(cl_uchar2))
12579 );
12580 assert_eq!(
12581 ::std::mem::align_of::<cl_uchar2>(),
12582 2usize,
12583 concat!("Alignment of ", stringify!(cl_uchar2))
12584 );
12585 assert_eq!(
12586 unsafe { &(*(::std::ptr::null::<cl_uchar2>())).s as *const _ as usize },
12587 0usize,
12588 concat!(
12589 "Offset of field: ",
12590 stringify!(cl_uchar2),
12591 "::",
12592 stringify!(s)
12593 )
12594 );
12595}
12596#[repr(C)]
12597#[derive(Copy, Clone)]
12598pub union cl_uchar4 {
12599 pub s: [cl_uchar; 4usize],
12600 pub __bindgen_anon_1: cl_uchar4__bindgen_ty_1,
12601 pub __bindgen_anon_2: cl_uchar4__bindgen_ty_2,
12602 pub __bindgen_anon_3: cl_uchar4__bindgen_ty_3,
12603 _bindgen_union_align: u32,
12604}
12605#[repr(C)]
12606#[derive(Debug, Copy, Clone)]
12607pub struct cl_uchar4__bindgen_ty_1 {
12608 pub x: cl_uchar,
12609 pub y: cl_uchar,
12610 pub z: cl_uchar,
12611 pub w: cl_uchar,
12612}
12613#[test]
12614fn bindgen_test_layout_cl_uchar4__bindgen_ty_1() {
12615 assert_eq!(
12616 ::std::mem::size_of::<cl_uchar4__bindgen_ty_1>(),
12617 4usize,
12618 concat!("Size of: ", stringify!(cl_uchar4__bindgen_ty_1))
12619 );
12620 assert_eq!(
12621 ::std::mem::align_of::<cl_uchar4__bindgen_ty_1>(),
12622 1usize,
12623 concat!("Alignment of ", stringify!(cl_uchar4__bindgen_ty_1))
12624 );
12625 assert_eq!(
12626 unsafe { &(*(::std::ptr::null::<cl_uchar4__bindgen_ty_1>())).x as *const _ as usize },
12627 0usize,
12628 concat!(
12629 "Offset of field: ",
12630 stringify!(cl_uchar4__bindgen_ty_1),
12631 "::",
12632 stringify!(x)
12633 )
12634 );
12635 assert_eq!(
12636 unsafe { &(*(::std::ptr::null::<cl_uchar4__bindgen_ty_1>())).y as *const _ as usize },
12637 1usize,
12638 concat!(
12639 "Offset of field: ",
12640 stringify!(cl_uchar4__bindgen_ty_1),
12641 "::",
12642 stringify!(y)
12643 )
12644 );
12645 assert_eq!(
12646 unsafe { &(*(::std::ptr::null::<cl_uchar4__bindgen_ty_1>())).z as *const _ as usize },
12647 2usize,
12648 concat!(
12649 "Offset of field: ",
12650 stringify!(cl_uchar4__bindgen_ty_1),
12651 "::",
12652 stringify!(z)
12653 )
12654 );
12655 assert_eq!(
12656 unsafe { &(*(::std::ptr::null::<cl_uchar4__bindgen_ty_1>())).w as *const _ as usize },
12657 3usize,
12658 concat!(
12659 "Offset of field: ",
12660 stringify!(cl_uchar4__bindgen_ty_1),
12661 "::",
12662 stringify!(w)
12663 )
12664 );
12665}
12666#[repr(C)]
12667#[derive(Debug, Copy, Clone)]
12668pub struct cl_uchar4__bindgen_ty_2 {
12669 pub s0: cl_uchar,
12670 pub s1: cl_uchar,
12671 pub s2: cl_uchar,
12672 pub s3: cl_uchar,
12673}
12674#[test]
12675fn bindgen_test_layout_cl_uchar4__bindgen_ty_2() {
12676 assert_eq!(
12677 ::std::mem::size_of::<cl_uchar4__bindgen_ty_2>(),
12678 4usize,
12679 concat!("Size of: ", stringify!(cl_uchar4__bindgen_ty_2))
12680 );
12681 assert_eq!(
12682 ::std::mem::align_of::<cl_uchar4__bindgen_ty_2>(),
12683 1usize,
12684 concat!("Alignment of ", stringify!(cl_uchar4__bindgen_ty_2))
12685 );
12686 assert_eq!(
12687 unsafe { &(*(::std::ptr::null::<cl_uchar4__bindgen_ty_2>())).s0 as *const _ as usize },
12688 0usize,
12689 concat!(
12690 "Offset of field: ",
12691 stringify!(cl_uchar4__bindgen_ty_2),
12692 "::",
12693 stringify!(s0)
12694 )
12695 );
12696 assert_eq!(
12697 unsafe { &(*(::std::ptr::null::<cl_uchar4__bindgen_ty_2>())).s1 as *const _ as usize },
12698 1usize,
12699 concat!(
12700 "Offset of field: ",
12701 stringify!(cl_uchar4__bindgen_ty_2),
12702 "::",
12703 stringify!(s1)
12704 )
12705 );
12706 assert_eq!(
12707 unsafe { &(*(::std::ptr::null::<cl_uchar4__bindgen_ty_2>())).s2 as *const _ as usize },
12708 2usize,
12709 concat!(
12710 "Offset of field: ",
12711 stringify!(cl_uchar4__bindgen_ty_2),
12712 "::",
12713 stringify!(s2)
12714 )
12715 );
12716 assert_eq!(
12717 unsafe { &(*(::std::ptr::null::<cl_uchar4__bindgen_ty_2>())).s3 as *const _ as usize },
12718 3usize,
12719 concat!(
12720 "Offset of field: ",
12721 stringify!(cl_uchar4__bindgen_ty_2),
12722 "::",
12723 stringify!(s3)
12724 )
12725 );
12726}
12727#[repr(C)]
12728#[derive(Copy, Clone)]
12729pub struct cl_uchar4__bindgen_ty_3 {
12730 pub lo: cl_uchar2,
12731 pub hi: cl_uchar2,
12732}
12733#[test]
12734fn bindgen_test_layout_cl_uchar4__bindgen_ty_3() {
12735 assert_eq!(
12736 ::std::mem::size_of::<cl_uchar4__bindgen_ty_3>(),
12737 4usize,
12738 concat!("Size of: ", stringify!(cl_uchar4__bindgen_ty_3))
12739 );
12740 assert_eq!(
12741 ::std::mem::align_of::<cl_uchar4__bindgen_ty_3>(),
12742 2usize,
12743 concat!("Alignment of ", stringify!(cl_uchar4__bindgen_ty_3))
12744 );
12745 assert_eq!(
12746 unsafe { &(*(::std::ptr::null::<cl_uchar4__bindgen_ty_3>())).lo as *const _ as usize },
12747 0usize,
12748 concat!(
12749 "Offset of field: ",
12750 stringify!(cl_uchar4__bindgen_ty_3),
12751 "::",
12752 stringify!(lo)
12753 )
12754 );
12755 assert_eq!(
12756 unsafe { &(*(::std::ptr::null::<cl_uchar4__bindgen_ty_3>())).hi as *const _ as usize },
12757 2usize,
12758 concat!(
12759 "Offset of field: ",
12760 stringify!(cl_uchar4__bindgen_ty_3),
12761 "::",
12762 stringify!(hi)
12763 )
12764 );
12765}
12766#[test]
12767fn bindgen_test_layout_cl_uchar4() {
12768 assert_eq!(
12769 ::std::mem::size_of::<cl_uchar4>(),
12770 4usize,
12771 concat!("Size of: ", stringify!(cl_uchar4))
12772 );
12773 assert_eq!(
12774 ::std::mem::align_of::<cl_uchar4>(),
12775 4usize,
12776 concat!("Alignment of ", stringify!(cl_uchar4))
12777 );
12778 assert_eq!(
12779 unsafe { &(*(::std::ptr::null::<cl_uchar4>())).s as *const _ as usize },
12780 0usize,
12781 concat!(
12782 "Offset of field: ",
12783 stringify!(cl_uchar4),
12784 "::",
12785 stringify!(s)
12786 )
12787 );
12788}
12789pub type cl_uchar3 = cl_uchar4;
12790#[repr(C)]
12791#[derive(Copy, Clone)]
12792pub union cl_uchar8 {
12793 pub s: [cl_uchar; 8usize],
12794 pub __bindgen_anon_1: cl_uchar8__bindgen_ty_1,
12795 pub __bindgen_anon_2: cl_uchar8__bindgen_ty_2,
12796 pub __bindgen_anon_3: cl_uchar8__bindgen_ty_3,
12797 pub v8: __cl_uchar8,
12798 _bindgen_union_align: u64,
12799}
12800#[repr(C)]
12801#[derive(Debug, Copy, Clone)]
12802pub struct cl_uchar8__bindgen_ty_1 {
12803 pub x: cl_uchar,
12804 pub y: cl_uchar,
12805 pub z: cl_uchar,
12806 pub w: cl_uchar,
12807}
12808#[test]
12809fn bindgen_test_layout_cl_uchar8__bindgen_ty_1() {
12810 assert_eq!(
12811 ::std::mem::size_of::<cl_uchar8__bindgen_ty_1>(),
12812 4usize,
12813 concat!("Size of: ", stringify!(cl_uchar8__bindgen_ty_1))
12814 );
12815 assert_eq!(
12816 ::std::mem::align_of::<cl_uchar8__bindgen_ty_1>(),
12817 1usize,
12818 concat!("Alignment of ", stringify!(cl_uchar8__bindgen_ty_1))
12819 );
12820 assert_eq!(
12821 unsafe { &(*(::std::ptr::null::<cl_uchar8__bindgen_ty_1>())).x as *const _ as usize },
12822 0usize,
12823 concat!(
12824 "Offset of field: ",
12825 stringify!(cl_uchar8__bindgen_ty_1),
12826 "::",
12827 stringify!(x)
12828 )
12829 );
12830 assert_eq!(
12831 unsafe { &(*(::std::ptr::null::<cl_uchar8__bindgen_ty_1>())).y as *const _ as usize },
12832 1usize,
12833 concat!(
12834 "Offset of field: ",
12835 stringify!(cl_uchar8__bindgen_ty_1),
12836 "::",
12837 stringify!(y)
12838 )
12839 );
12840 assert_eq!(
12841 unsafe { &(*(::std::ptr::null::<cl_uchar8__bindgen_ty_1>())).z as *const _ as usize },
12842 2usize,
12843 concat!(
12844 "Offset of field: ",
12845 stringify!(cl_uchar8__bindgen_ty_1),
12846 "::",
12847 stringify!(z)
12848 )
12849 );
12850 assert_eq!(
12851 unsafe { &(*(::std::ptr::null::<cl_uchar8__bindgen_ty_1>())).w as *const _ as usize },
12852 3usize,
12853 concat!(
12854 "Offset of field: ",
12855 stringify!(cl_uchar8__bindgen_ty_1),
12856 "::",
12857 stringify!(w)
12858 )
12859 );
12860}
12861#[repr(C)]
12862#[derive(Debug, Copy, Clone)]
12863pub struct cl_uchar8__bindgen_ty_2 {
12864 pub s0: cl_uchar,
12865 pub s1: cl_uchar,
12866 pub s2: cl_uchar,
12867 pub s3: cl_uchar,
12868 pub s4: cl_uchar,
12869 pub s5: cl_uchar,
12870 pub s6: cl_uchar,
12871 pub s7: cl_uchar,
12872}
12873#[test]
12874fn bindgen_test_layout_cl_uchar8__bindgen_ty_2() {
12875 assert_eq!(
12876 ::std::mem::size_of::<cl_uchar8__bindgen_ty_2>(),
12877 8usize,
12878 concat!("Size of: ", stringify!(cl_uchar8__bindgen_ty_2))
12879 );
12880 assert_eq!(
12881 ::std::mem::align_of::<cl_uchar8__bindgen_ty_2>(),
12882 1usize,
12883 concat!("Alignment of ", stringify!(cl_uchar8__bindgen_ty_2))
12884 );
12885 assert_eq!(
12886 unsafe { &(*(::std::ptr::null::<cl_uchar8__bindgen_ty_2>())).s0 as *const _ as usize },
12887 0usize,
12888 concat!(
12889 "Offset of field: ",
12890 stringify!(cl_uchar8__bindgen_ty_2),
12891 "::",
12892 stringify!(s0)
12893 )
12894 );
12895 assert_eq!(
12896 unsafe { &(*(::std::ptr::null::<cl_uchar8__bindgen_ty_2>())).s1 as *const _ as usize },
12897 1usize,
12898 concat!(
12899 "Offset of field: ",
12900 stringify!(cl_uchar8__bindgen_ty_2),
12901 "::",
12902 stringify!(s1)
12903 )
12904 );
12905 assert_eq!(
12906 unsafe { &(*(::std::ptr::null::<cl_uchar8__bindgen_ty_2>())).s2 as *const _ as usize },
12907 2usize,
12908 concat!(
12909 "Offset of field: ",
12910 stringify!(cl_uchar8__bindgen_ty_2),
12911 "::",
12912 stringify!(s2)
12913 )
12914 );
12915 assert_eq!(
12916 unsafe { &(*(::std::ptr::null::<cl_uchar8__bindgen_ty_2>())).s3 as *const _ as usize },
12917 3usize,
12918 concat!(
12919 "Offset of field: ",
12920 stringify!(cl_uchar8__bindgen_ty_2),
12921 "::",
12922 stringify!(s3)
12923 )
12924 );
12925 assert_eq!(
12926 unsafe { &(*(::std::ptr::null::<cl_uchar8__bindgen_ty_2>())).s4 as *const _ as usize },
12927 4usize,
12928 concat!(
12929 "Offset of field: ",
12930 stringify!(cl_uchar8__bindgen_ty_2),
12931 "::",
12932 stringify!(s4)
12933 )
12934 );
12935 assert_eq!(
12936 unsafe { &(*(::std::ptr::null::<cl_uchar8__bindgen_ty_2>())).s5 as *const _ as usize },
12937 5usize,
12938 concat!(
12939 "Offset of field: ",
12940 stringify!(cl_uchar8__bindgen_ty_2),
12941 "::",
12942 stringify!(s5)
12943 )
12944 );
12945 assert_eq!(
12946 unsafe { &(*(::std::ptr::null::<cl_uchar8__bindgen_ty_2>())).s6 as *const _ as usize },
12947 6usize,
12948 concat!(
12949 "Offset of field: ",
12950 stringify!(cl_uchar8__bindgen_ty_2),
12951 "::",
12952 stringify!(s6)
12953 )
12954 );
12955 assert_eq!(
12956 unsafe { &(*(::std::ptr::null::<cl_uchar8__bindgen_ty_2>())).s7 as *const _ as usize },
12957 7usize,
12958 concat!(
12959 "Offset of field: ",
12960 stringify!(cl_uchar8__bindgen_ty_2),
12961 "::",
12962 stringify!(s7)
12963 )
12964 );
12965}
12966#[repr(C)]
12967#[derive(Copy, Clone)]
12968pub struct cl_uchar8__bindgen_ty_3 {
12969 pub lo: cl_uchar4,
12970 pub hi: cl_uchar4,
12971}
12972#[test]
12973fn bindgen_test_layout_cl_uchar8__bindgen_ty_3() {
12974 assert_eq!(
12975 ::std::mem::size_of::<cl_uchar8__bindgen_ty_3>(),
12976 8usize,
12977 concat!("Size of: ", stringify!(cl_uchar8__bindgen_ty_3))
12978 );
12979 assert_eq!(
12980 ::std::mem::align_of::<cl_uchar8__bindgen_ty_3>(),
12981 4usize,
12982 concat!("Alignment of ", stringify!(cl_uchar8__bindgen_ty_3))
12983 );
12984 assert_eq!(
12985 unsafe { &(*(::std::ptr::null::<cl_uchar8__bindgen_ty_3>())).lo as *const _ as usize },
12986 0usize,
12987 concat!(
12988 "Offset of field: ",
12989 stringify!(cl_uchar8__bindgen_ty_3),
12990 "::",
12991 stringify!(lo)
12992 )
12993 );
12994 assert_eq!(
12995 unsafe { &(*(::std::ptr::null::<cl_uchar8__bindgen_ty_3>())).hi as *const _ as usize },
12996 4usize,
12997 concat!(
12998 "Offset of field: ",
12999 stringify!(cl_uchar8__bindgen_ty_3),
13000 "::",
13001 stringify!(hi)
13002 )
13003 );
13004}
13005#[test]
13006fn bindgen_test_layout_cl_uchar8() {
13007 assert_eq!(
13008 ::std::mem::size_of::<cl_uchar8>(),
13009 8usize,
13010 concat!("Size of: ", stringify!(cl_uchar8))
13011 );
13012 assert_eq!(
13013 ::std::mem::align_of::<cl_uchar8>(),
13014 8usize,
13015 concat!("Alignment of ", stringify!(cl_uchar8))
13016 );
13017 assert_eq!(
13018 unsafe { &(*(::std::ptr::null::<cl_uchar8>())).s as *const _ as usize },
13019 0usize,
13020 concat!(
13021 "Offset of field: ",
13022 stringify!(cl_uchar8),
13023 "::",
13024 stringify!(s)
13025 )
13026 );
13027 assert_eq!(
13028 unsafe { &(*(::std::ptr::null::<cl_uchar8>())).v8 as *const _ as usize },
13029 0usize,
13030 concat!(
13031 "Offset of field: ",
13032 stringify!(cl_uchar8),
13033 "::",
13034 stringify!(v8)
13035 )
13036 );
13037}
13038#[repr(C)]
13039#[repr(align(16))]
13040#[derive(Copy, Clone)]
13041pub union cl_uchar16 {
13042 pub s: [cl_uchar; 16usize],
13043 pub __bindgen_anon_1: cl_uchar16__bindgen_ty_1,
13044 pub __bindgen_anon_2: cl_uchar16__bindgen_ty_2,
13045 pub __bindgen_anon_3: cl_uchar16__bindgen_ty_3,
13046 pub v8: [__cl_uchar8; 2usize],
13047 pub v16: __cl_uchar16,
13048 _bindgen_union_align: u128,
13049}
13050#[repr(C)]
13051#[derive(Debug, Copy, Clone)]
13052pub struct cl_uchar16__bindgen_ty_1 {
13053 pub x: cl_uchar,
13054 pub y: cl_uchar,
13055 pub z: cl_uchar,
13056 pub w: cl_uchar,
13057 pub __spacer4: cl_uchar,
13058 pub __spacer5: cl_uchar,
13059 pub __spacer6: cl_uchar,
13060 pub __spacer7: cl_uchar,
13061 pub __spacer8: cl_uchar,
13062 pub __spacer9: cl_uchar,
13063 pub sa: cl_uchar,
13064 pub sb: cl_uchar,
13065 pub sc: cl_uchar,
13066 pub sd: cl_uchar,
13067 pub se: cl_uchar,
13068 pub sf: cl_uchar,
13069}
13070#[test]
13071fn bindgen_test_layout_cl_uchar16__bindgen_ty_1() {
13072 assert_eq!(
13073 ::std::mem::size_of::<cl_uchar16__bindgen_ty_1>(),
13074 16usize,
13075 concat!("Size of: ", stringify!(cl_uchar16__bindgen_ty_1))
13076 );
13077 assert_eq!(
13078 ::std::mem::align_of::<cl_uchar16__bindgen_ty_1>(),
13079 1usize,
13080 concat!("Alignment of ", stringify!(cl_uchar16__bindgen_ty_1))
13081 );
13082 assert_eq!(
13083 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_1>())).x as *const _ as usize },
13084 0usize,
13085 concat!(
13086 "Offset of field: ",
13087 stringify!(cl_uchar16__bindgen_ty_1),
13088 "::",
13089 stringify!(x)
13090 )
13091 );
13092 assert_eq!(
13093 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_1>())).y as *const _ as usize },
13094 1usize,
13095 concat!(
13096 "Offset of field: ",
13097 stringify!(cl_uchar16__bindgen_ty_1),
13098 "::",
13099 stringify!(y)
13100 )
13101 );
13102 assert_eq!(
13103 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_1>())).z as *const _ as usize },
13104 2usize,
13105 concat!(
13106 "Offset of field: ",
13107 stringify!(cl_uchar16__bindgen_ty_1),
13108 "::",
13109 stringify!(z)
13110 )
13111 );
13112 assert_eq!(
13113 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_1>())).w as *const _ as usize },
13114 3usize,
13115 concat!(
13116 "Offset of field: ",
13117 stringify!(cl_uchar16__bindgen_ty_1),
13118 "::",
13119 stringify!(w)
13120 )
13121 );
13122 assert_eq!(
13123 unsafe {
13124 &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_1>())).__spacer4 as *const _ as usize
13125 },
13126 4usize,
13127 concat!(
13128 "Offset of field: ",
13129 stringify!(cl_uchar16__bindgen_ty_1),
13130 "::",
13131 stringify!(__spacer4)
13132 )
13133 );
13134 assert_eq!(
13135 unsafe {
13136 &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_1>())).__spacer5 as *const _ as usize
13137 },
13138 5usize,
13139 concat!(
13140 "Offset of field: ",
13141 stringify!(cl_uchar16__bindgen_ty_1),
13142 "::",
13143 stringify!(__spacer5)
13144 )
13145 );
13146 assert_eq!(
13147 unsafe {
13148 &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_1>())).__spacer6 as *const _ as usize
13149 },
13150 6usize,
13151 concat!(
13152 "Offset of field: ",
13153 stringify!(cl_uchar16__bindgen_ty_1),
13154 "::",
13155 stringify!(__spacer6)
13156 )
13157 );
13158 assert_eq!(
13159 unsafe {
13160 &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_1>())).__spacer7 as *const _ as usize
13161 },
13162 7usize,
13163 concat!(
13164 "Offset of field: ",
13165 stringify!(cl_uchar16__bindgen_ty_1),
13166 "::",
13167 stringify!(__spacer7)
13168 )
13169 );
13170 assert_eq!(
13171 unsafe {
13172 &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_1>())).__spacer8 as *const _ as usize
13173 },
13174 8usize,
13175 concat!(
13176 "Offset of field: ",
13177 stringify!(cl_uchar16__bindgen_ty_1),
13178 "::",
13179 stringify!(__spacer8)
13180 )
13181 );
13182 assert_eq!(
13183 unsafe {
13184 &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_1>())).__spacer9 as *const _ as usize
13185 },
13186 9usize,
13187 concat!(
13188 "Offset of field: ",
13189 stringify!(cl_uchar16__bindgen_ty_1),
13190 "::",
13191 stringify!(__spacer9)
13192 )
13193 );
13194 assert_eq!(
13195 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_1>())).sa as *const _ as usize },
13196 10usize,
13197 concat!(
13198 "Offset of field: ",
13199 stringify!(cl_uchar16__bindgen_ty_1),
13200 "::",
13201 stringify!(sa)
13202 )
13203 );
13204 assert_eq!(
13205 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_1>())).sb as *const _ as usize },
13206 11usize,
13207 concat!(
13208 "Offset of field: ",
13209 stringify!(cl_uchar16__bindgen_ty_1),
13210 "::",
13211 stringify!(sb)
13212 )
13213 );
13214 assert_eq!(
13215 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_1>())).sc as *const _ as usize },
13216 12usize,
13217 concat!(
13218 "Offset of field: ",
13219 stringify!(cl_uchar16__bindgen_ty_1),
13220 "::",
13221 stringify!(sc)
13222 )
13223 );
13224 assert_eq!(
13225 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_1>())).sd as *const _ as usize },
13226 13usize,
13227 concat!(
13228 "Offset of field: ",
13229 stringify!(cl_uchar16__bindgen_ty_1),
13230 "::",
13231 stringify!(sd)
13232 )
13233 );
13234 assert_eq!(
13235 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_1>())).se as *const _ as usize },
13236 14usize,
13237 concat!(
13238 "Offset of field: ",
13239 stringify!(cl_uchar16__bindgen_ty_1),
13240 "::",
13241 stringify!(se)
13242 )
13243 );
13244 assert_eq!(
13245 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_1>())).sf as *const _ as usize },
13246 15usize,
13247 concat!(
13248 "Offset of field: ",
13249 stringify!(cl_uchar16__bindgen_ty_1),
13250 "::",
13251 stringify!(sf)
13252 )
13253 );
13254}
13255#[repr(C)]
13256#[derive(Debug, Copy, Clone)]
13257pub struct cl_uchar16__bindgen_ty_2 {
13258 pub s0: cl_uchar,
13259 pub s1: cl_uchar,
13260 pub s2: cl_uchar,
13261 pub s3: cl_uchar,
13262 pub s4: cl_uchar,
13263 pub s5: cl_uchar,
13264 pub s6: cl_uchar,
13265 pub s7: cl_uchar,
13266 pub s8: cl_uchar,
13267 pub s9: cl_uchar,
13268 pub sA: cl_uchar,
13269 pub sB: cl_uchar,
13270 pub sC: cl_uchar,
13271 pub sD: cl_uchar,
13272 pub sE: cl_uchar,
13273 pub sF: cl_uchar,
13274}
13275#[test]
13276fn bindgen_test_layout_cl_uchar16__bindgen_ty_2() {
13277 assert_eq!(
13278 ::std::mem::size_of::<cl_uchar16__bindgen_ty_2>(),
13279 16usize,
13280 concat!("Size of: ", stringify!(cl_uchar16__bindgen_ty_2))
13281 );
13282 assert_eq!(
13283 ::std::mem::align_of::<cl_uchar16__bindgen_ty_2>(),
13284 1usize,
13285 concat!("Alignment of ", stringify!(cl_uchar16__bindgen_ty_2))
13286 );
13287 assert_eq!(
13288 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_2>())).s0 as *const _ as usize },
13289 0usize,
13290 concat!(
13291 "Offset of field: ",
13292 stringify!(cl_uchar16__bindgen_ty_2),
13293 "::",
13294 stringify!(s0)
13295 )
13296 );
13297 assert_eq!(
13298 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_2>())).s1 as *const _ as usize },
13299 1usize,
13300 concat!(
13301 "Offset of field: ",
13302 stringify!(cl_uchar16__bindgen_ty_2),
13303 "::",
13304 stringify!(s1)
13305 )
13306 );
13307 assert_eq!(
13308 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_2>())).s2 as *const _ as usize },
13309 2usize,
13310 concat!(
13311 "Offset of field: ",
13312 stringify!(cl_uchar16__bindgen_ty_2),
13313 "::",
13314 stringify!(s2)
13315 )
13316 );
13317 assert_eq!(
13318 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_2>())).s3 as *const _ as usize },
13319 3usize,
13320 concat!(
13321 "Offset of field: ",
13322 stringify!(cl_uchar16__bindgen_ty_2),
13323 "::",
13324 stringify!(s3)
13325 )
13326 );
13327 assert_eq!(
13328 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_2>())).s4 as *const _ as usize },
13329 4usize,
13330 concat!(
13331 "Offset of field: ",
13332 stringify!(cl_uchar16__bindgen_ty_2),
13333 "::",
13334 stringify!(s4)
13335 )
13336 );
13337 assert_eq!(
13338 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_2>())).s5 as *const _ as usize },
13339 5usize,
13340 concat!(
13341 "Offset of field: ",
13342 stringify!(cl_uchar16__bindgen_ty_2),
13343 "::",
13344 stringify!(s5)
13345 )
13346 );
13347 assert_eq!(
13348 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_2>())).s6 as *const _ as usize },
13349 6usize,
13350 concat!(
13351 "Offset of field: ",
13352 stringify!(cl_uchar16__bindgen_ty_2),
13353 "::",
13354 stringify!(s6)
13355 )
13356 );
13357 assert_eq!(
13358 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_2>())).s7 as *const _ as usize },
13359 7usize,
13360 concat!(
13361 "Offset of field: ",
13362 stringify!(cl_uchar16__bindgen_ty_2),
13363 "::",
13364 stringify!(s7)
13365 )
13366 );
13367 assert_eq!(
13368 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_2>())).s8 as *const _ as usize },
13369 8usize,
13370 concat!(
13371 "Offset of field: ",
13372 stringify!(cl_uchar16__bindgen_ty_2),
13373 "::",
13374 stringify!(s8)
13375 )
13376 );
13377 assert_eq!(
13378 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_2>())).s9 as *const _ as usize },
13379 9usize,
13380 concat!(
13381 "Offset of field: ",
13382 stringify!(cl_uchar16__bindgen_ty_2),
13383 "::",
13384 stringify!(s9)
13385 )
13386 );
13387 assert_eq!(
13388 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_2>())).sA as *const _ as usize },
13389 10usize,
13390 concat!(
13391 "Offset of field: ",
13392 stringify!(cl_uchar16__bindgen_ty_2),
13393 "::",
13394 stringify!(sA)
13395 )
13396 );
13397 assert_eq!(
13398 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_2>())).sB as *const _ as usize },
13399 11usize,
13400 concat!(
13401 "Offset of field: ",
13402 stringify!(cl_uchar16__bindgen_ty_2),
13403 "::",
13404 stringify!(sB)
13405 )
13406 );
13407 assert_eq!(
13408 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_2>())).sC as *const _ as usize },
13409 12usize,
13410 concat!(
13411 "Offset of field: ",
13412 stringify!(cl_uchar16__bindgen_ty_2),
13413 "::",
13414 stringify!(sC)
13415 )
13416 );
13417 assert_eq!(
13418 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_2>())).sD as *const _ as usize },
13419 13usize,
13420 concat!(
13421 "Offset of field: ",
13422 stringify!(cl_uchar16__bindgen_ty_2),
13423 "::",
13424 stringify!(sD)
13425 )
13426 );
13427 assert_eq!(
13428 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_2>())).sE as *const _ as usize },
13429 14usize,
13430 concat!(
13431 "Offset of field: ",
13432 stringify!(cl_uchar16__bindgen_ty_2),
13433 "::",
13434 stringify!(sE)
13435 )
13436 );
13437 assert_eq!(
13438 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_2>())).sF as *const _ as usize },
13439 15usize,
13440 concat!(
13441 "Offset of field: ",
13442 stringify!(cl_uchar16__bindgen_ty_2),
13443 "::",
13444 stringify!(sF)
13445 )
13446 );
13447}
13448#[repr(C)]
13449#[derive(Copy, Clone)]
13450pub struct cl_uchar16__bindgen_ty_3 {
13451 pub lo: cl_uchar8,
13452 pub hi: cl_uchar8,
13453}
13454#[test]
13455fn bindgen_test_layout_cl_uchar16__bindgen_ty_3() {
13456 assert_eq!(
13457 ::std::mem::size_of::<cl_uchar16__bindgen_ty_3>(),
13458 16usize,
13459 concat!("Size of: ", stringify!(cl_uchar16__bindgen_ty_3))
13460 );
13461 assert_eq!(
13462 ::std::mem::align_of::<cl_uchar16__bindgen_ty_3>(),
13463 8usize,
13464 concat!("Alignment of ", stringify!(cl_uchar16__bindgen_ty_3))
13465 );
13466 assert_eq!(
13467 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_3>())).lo as *const _ as usize },
13468 0usize,
13469 concat!(
13470 "Offset of field: ",
13471 stringify!(cl_uchar16__bindgen_ty_3),
13472 "::",
13473 stringify!(lo)
13474 )
13475 );
13476 assert_eq!(
13477 unsafe { &(*(::std::ptr::null::<cl_uchar16__bindgen_ty_3>())).hi as *const _ as usize },
13478 8usize,
13479 concat!(
13480 "Offset of field: ",
13481 stringify!(cl_uchar16__bindgen_ty_3),
13482 "::",
13483 stringify!(hi)
13484 )
13485 );
13486}
13487#[test]
13488fn bindgen_test_layout_cl_uchar16() {
13489 assert_eq!(
13490 ::std::mem::size_of::<cl_uchar16>(),
13491 16usize,
13492 concat!("Size of: ", stringify!(cl_uchar16))
13493 );
13494 assert_eq!(
13495 ::std::mem::align_of::<cl_uchar16>(),
13496 16usize,
13497 concat!("Alignment of ", stringify!(cl_uchar16))
13498 );
13499 assert_eq!(
13500 unsafe { &(*(::std::ptr::null::<cl_uchar16>())).s as *const _ as usize },
13501 0usize,
13502 concat!(
13503 "Offset of field: ",
13504 stringify!(cl_uchar16),
13505 "::",
13506 stringify!(s)
13507 )
13508 );
13509 assert_eq!(
13510 unsafe { &(*(::std::ptr::null::<cl_uchar16>())).v8 as *const _ as usize },
13511 0usize,
13512 concat!(
13513 "Offset of field: ",
13514 stringify!(cl_uchar16),
13515 "::",
13516 stringify!(v8)
13517 )
13518 );
13519 assert_eq!(
13520 unsafe { &(*(::std::ptr::null::<cl_uchar16>())).v16 as *const _ as usize },
13521 0usize,
13522 concat!(
13523 "Offset of field: ",
13524 stringify!(cl_uchar16),
13525 "::",
13526 stringify!(v16)
13527 )
13528 );
13529}
13530#[repr(C)]
13531#[derive(Copy, Clone)]
13532pub union cl_short2 {
13533 pub s: [cl_short; 2usize],
13534 pub __bindgen_anon_1: cl_short2__bindgen_ty_1,
13535 pub __bindgen_anon_2: cl_short2__bindgen_ty_2,
13536 pub __bindgen_anon_3: cl_short2__bindgen_ty_3,
13537 _bindgen_union_align: u32,
13538}
13539#[repr(C)]
13540#[derive(Debug, Copy, Clone)]
13541pub struct cl_short2__bindgen_ty_1 {
13542 pub x: cl_short,
13543 pub y: cl_short,
13544}
13545#[test]
13546fn bindgen_test_layout_cl_short2__bindgen_ty_1() {
13547 assert_eq!(
13548 ::std::mem::size_of::<cl_short2__bindgen_ty_1>(),
13549 4usize,
13550 concat!("Size of: ", stringify!(cl_short2__bindgen_ty_1))
13551 );
13552 assert_eq!(
13553 ::std::mem::align_of::<cl_short2__bindgen_ty_1>(),
13554 2usize,
13555 concat!("Alignment of ", stringify!(cl_short2__bindgen_ty_1))
13556 );
13557 assert_eq!(
13558 unsafe { &(*(::std::ptr::null::<cl_short2__bindgen_ty_1>())).x as *const _ as usize },
13559 0usize,
13560 concat!(
13561 "Offset of field: ",
13562 stringify!(cl_short2__bindgen_ty_1),
13563 "::",
13564 stringify!(x)
13565 )
13566 );
13567 assert_eq!(
13568 unsafe { &(*(::std::ptr::null::<cl_short2__bindgen_ty_1>())).y as *const _ as usize },
13569 2usize,
13570 concat!(
13571 "Offset of field: ",
13572 stringify!(cl_short2__bindgen_ty_1),
13573 "::",
13574 stringify!(y)
13575 )
13576 );
13577}
13578#[repr(C)]
13579#[derive(Debug, Copy, Clone)]
13580pub struct cl_short2__bindgen_ty_2 {
13581 pub s0: cl_short,
13582 pub s1: cl_short,
13583}
13584#[test]
13585fn bindgen_test_layout_cl_short2__bindgen_ty_2() {
13586 assert_eq!(
13587 ::std::mem::size_of::<cl_short2__bindgen_ty_2>(),
13588 4usize,
13589 concat!("Size of: ", stringify!(cl_short2__bindgen_ty_2))
13590 );
13591 assert_eq!(
13592 ::std::mem::align_of::<cl_short2__bindgen_ty_2>(),
13593 2usize,
13594 concat!("Alignment of ", stringify!(cl_short2__bindgen_ty_2))
13595 );
13596 assert_eq!(
13597 unsafe { &(*(::std::ptr::null::<cl_short2__bindgen_ty_2>())).s0 as *const _ as usize },
13598 0usize,
13599 concat!(
13600 "Offset of field: ",
13601 stringify!(cl_short2__bindgen_ty_2),
13602 "::",
13603 stringify!(s0)
13604 )
13605 );
13606 assert_eq!(
13607 unsafe { &(*(::std::ptr::null::<cl_short2__bindgen_ty_2>())).s1 as *const _ as usize },
13608 2usize,
13609 concat!(
13610 "Offset of field: ",
13611 stringify!(cl_short2__bindgen_ty_2),
13612 "::",
13613 stringify!(s1)
13614 )
13615 );
13616}
13617#[repr(C)]
13618#[derive(Debug, Copy, Clone)]
13619pub struct cl_short2__bindgen_ty_3 {
13620 pub lo: cl_short,
13621 pub hi: cl_short,
13622}
13623#[test]
13624fn bindgen_test_layout_cl_short2__bindgen_ty_3() {
13625 assert_eq!(
13626 ::std::mem::size_of::<cl_short2__bindgen_ty_3>(),
13627 4usize,
13628 concat!("Size of: ", stringify!(cl_short2__bindgen_ty_3))
13629 );
13630 assert_eq!(
13631 ::std::mem::align_of::<cl_short2__bindgen_ty_3>(),
13632 2usize,
13633 concat!("Alignment of ", stringify!(cl_short2__bindgen_ty_3))
13634 );
13635 assert_eq!(
13636 unsafe { &(*(::std::ptr::null::<cl_short2__bindgen_ty_3>())).lo as *const _ as usize },
13637 0usize,
13638 concat!(
13639 "Offset of field: ",
13640 stringify!(cl_short2__bindgen_ty_3),
13641 "::",
13642 stringify!(lo)
13643 )
13644 );
13645 assert_eq!(
13646 unsafe { &(*(::std::ptr::null::<cl_short2__bindgen_ty_3>())).hi as *const _ as usize },
13647 2usize,
13648 concat!(
13649 "Offset of field: ",
13650 stringify!(cl_short2__bindgen_ty_3),
13651 "::",
13652 stringify!(hi)
13653 )
13654 );
13655}
13656#[test]
13657fn bindgen_test_layout_cl_short2() {
13658 assert_eq!(
13659 ::std::mem::size_of::<cl_short2>(),
13660 4usize,
13661 concat!("Size of: ", stringify!(cl_short2))
13662 );
13663 assert_eq!(
13664 ::std::mem::align_of::<cl_short2>(),
13665 4usize,
13666 concat!("Alignment of ", stringify!(cl_short2))
13667 );
13668 assert_eq!(
13669 unsafe { &(*(::std::ptr::null::<cl_short2>())).s as *const _ as usize },
13670 0usize,
13671 concat!(
13672 "Offset of field: ",
13673 stringify!(cl_short2),
13674 "::",
13675 stringify!(s)
13676 )
13677 );
13678}
13679#[repr(C)]
13680#[derive(Copy, Clone)]
13681pub union cl_short4 {
13682 pub s: [cl_short; 4usize],
13683 pub __bindgen_anon_1: cl_short4__bindgen_ty_1,
13684 pub __bindgen_anon_2: cl_short4__bindgen_ty_2,
13685 pub __bindgen_anon_3: cl_short4__bindgen_ty_3,
13686 pub v4: __cl_short4,
13687 _bindgen_union_align: u64,
13688}
13689#[repr(C)]
13690#[derive(Debug, Copy, Clone)]
13691pub struct cl_short4__bindgen_ty_1 {
13692 pub x: cl_short,
13693 pub y: cl_short,
13694 pub z: cl_short,
13695 pub w: cl_short,
13696}
13697#[test]
13698fn bindgen_test_layout_cl_short4__bindgen_ty_1() {
13699 assert_eq!(
13700 ::std::mem::size_of::<cl_short4__bindgen_ty_1>(),
13701 8usize,
13702 concat!("Size of: ", stringify!(cl_short4__bindgen_ty_1))
13703 );
13704 assert_eq!(
13705 ::std::mem::align_of::<cl_short4__bindgen_ty_1>(),
13706 2usize,
13707 concat!("Alignment of ", stringify!(cl_short4__bindgen_ty_1))
13708 );
13709 assert_eq!(
13710 unsafe { &(*(::std::ptr::null::<cl_short4__bindgen_ty_1>())).x as *const _ as usize },
13711 0usize,
13712 concat!(
13713 "Offset of field: ",
13714 stringify!(cl_short4__bindgen_ty_1),
13715 "::",
13716 stringify!(x)
13717 )
13718 );
13719 assert_eq!(
13720 unsafe { &(*(::std::ptr::null::<cl_short4__bindgen_ty_1>())).y as *const _ as usize },
13721 2usize,
13722 concat!(
13723 "Offset of field: ",
13724 stringify!(cl_short4__bindgen_ty_1),
13725 "::",
13726 stringify!(y)
13727 )
13728 );
13729 assert_eq!(
13730 unsafe { &(*(::std::ptr::null::<cl_short4__bindgen_ty_1>())).z as *const _ as usize },
13731 4usize,
13732 concat!(
13733 "Offset of field: ",
13734 stringify!(cl_short4__bindgen_ty_1),
13735 "::",
13736 stringify!(z)
13737 )
13738 );
13739 assert_eq!(
13740 unsafe { &(*(::std::ptr::null::<cl_short4__bindgen_ty_1>())).w as *const _ as usize },
13741 6usize,
13742 concat!(
13743 "Offset of field: ",
13744 stringify!(cl_short4__bindgen_ty_1),
13745 "::",
13746 stringify!(w)
13747 )
13748 );
13749}
13750#[repr(C)]
13751#[derive(Debug, Copy, Clone)]
13752pub struct cl_short4__bindgen_ty_2 {
13753 pub s0: cl_short,
13754 pub s1: cl_short,
13755 pub s2: cl_short,
13756 pub s3: cl_short,
13757}
13758#[test]
13759fn bindgen_test_layout_cl_short4__bindgen_ty_2() {
13760 assert_eq!(
13761 ::std::mem::size_of::<cl_short4__bindgen_ty_2>(),
13762 8usize,
13763 concat!("Size of: ", stringify!(cl_short4__bindgen_ty_2))
13764 );
13765 assert_eq!(
13766 ::std::mem::align_of::<cl_short4__bindgen_ty_2>(),
13767 2usize,
13768 concat!("Alignment of ", stringify!(cl_short4__bindgen_ty_2))
13769 );
13770 assert_eq!(
13771 unsafe { &(*(::std::ptr::null::<cl_short4__bindgen_ty_2>())).s0 as *const _ as usize },
13772 0usize,
13773 concat!(
13774 "Offset of field: ",
13775 stringify!(cl_short4__bindgen_ty_2),
13776 "::",
13777 stringify!(s0)
13778 )
13779 );
13780 assert_eq!(
13781 unsafe { &(*(::std::ptr::null::<cl_short4__bindgen_ty_2>())).s1 as *const _ as usize },
13782 2usize,
13783 concat!(
13784 "Offset of field: ",
13785 stringify!(cl_short4__bindgen_ty_2),
13786 "::",
13787 stringify!(s1)
13788 )
13789 );
13790 assert_eq!(
13791 unsafe { &(*(::std::ptr::null::<cl_short4__bindgen_ty_2>())).s2 as *const _ as usize },
13792 4usize,
13793 concat!(
13794 "Offset of field: ",
13795 stringify!(cl_short4__bindgen_ty_2),
13796 "::",
13797 stringify!(s2)
13798 )
13799 );
13800 assert_eq!(
13801 unsafe { &(*(::std::ptr::null::<cl_short4__bindgen_ty_2>())).s3 as *const _ as usize },
13802 6usize,
13803 concat!(
13804 "Offset of field: ",
13805 stringify!(cl_short4__bindgen_ty_2),
13806 "::",
13807 stringify!(s3)
13808 )
13809 );
13810}
13811#[repr(C)]
13812#[derive(Copy, Clone)]
13813pub struct cl_short4__bindgen_ty_3 {
13814 pub lo: cl_short2,
13815 pub hi: cl_short2,
13816}
13817#[test]
13818fn bindgen_test_layout_cl_short4__bindgen_ty_3() {
13819 assert_eq!(
13820 ::std::mem::size_of::<cl_short4__bindgen_ty_3>(),
13821 8usize,
13822 concat!("Size of: ", stringify!(cl_short4__bindgen_ty_3))
13823 );
13824 assert_eq!(
13825 ::std::mem::align_of::<cl_short4__bindgen_ty_3>(),
13826 4usize,
13827 concat!("Alignment of ", stringify!(cl_short4__bindgen_ty_3))
13828 );
13829 assert_eq!(
13830 unsafe { &(*(::std::ptr::null::<cl_short4__bindgen_ty_3>())).lo as *const _ as usize },
13831 0usize,
13832 concat!(
13833 "Offset of field: ",
13834 stringify!(cl_short4__bindgen_ty_3),
13835 "::",
13836 stringify!(lo)
13837 )
13838 );
13839 assert_eq!(
13840 unsafe { &(*(::std::ptr::null::<cl_short4__bindgen_ty_3>())).hi as *const _ as usize },
13841 4usize,
13842 concat!(
13843 "Offset of field: ",
13844 stringify!(cl_short4__bindgen_ty_3),
13845 "::",
13846 stringify!(hi)
13847 )
13848 );
13849}
13850#[test]
13851fn bindgen_test_layout_cl_short4() {
13852 assert_eq!(
13853 ::std::mem::size_of::<cl_short4>(),
13854 8usize,
13855 concat!("Size of: ", stringify!(cl_short4))
13856 );
13857 assert_eq!(
13858 ::std::mem::align_of::<cl_short4>(),
13859 8usize,
13860 concat!("Alignment of ", stringify!(cl_short4))
13861 );
13862 assert_eq!(
13863 unsafe { &(*(::std::ptr::null::<cl_short4>())).s as *const _ as usize },
13864 0usize,
13865 concat!(
13866 "Offset of field: ",
13867 stringify!(cl_short4),
13868 "::",
13869 stringify!(s)
13870 )
13871 );
13872 assert_eq!(
13873 unsafe { &(*(::std::ptr::null::<cl_short4>())).v4 as *const _ as usize },
13874 0usize,
13875 concat!(
13876 "Offset of field: ",
13877 stringify!(cl_short4),
13878 "::",
13879 stringify!(v4)
13880 )
13881 );
13882}
13883pub type cl_short3 = cl_short4;
13884#[repr(C)]
13885#[repr(align(16))]
13886#[derive(Copy, Clone)]
13887pub union cl_short8 {
13888 pub s: [cl_short; 8usize],
13889 pub __bindgen_anon_1: cl_short8__bindgen_ty_1,
13890 pub __bindgen_anon_2: cl_short8__bindgen_ty_2,
13891 pub __bindgen_anon_3: cl_short8__bindgen_ty_3,
13892 pub v4: [__cl_short4; 2usize],
13893 pub v8: __cl_short8,
13894 _bindgen_union_align: u128,
13895}
13896#[repr(C)]
13897#[derive(Debug, Copy, Clone)]
13898pub struct cl_short8__bindgen_ty_1 {
13899 pub x: cl_short,
13900 pub y: cl_short,
13901 pub z: cl_short,
13902 pub w: cl_short,
13903}
13904#[test]
13905fn bindgen_test_layout_cl_short8__bindgen_ty_1() {
13906 assert_eq!(
13907 ::std::mem::size_of::<cl_short8__bindgen_ty_1>(),
13908 8usize,
13909 concat!("Size of: ", stringify!(cl_short8__bindgen_ty_1))
13910 );
13911 assert_eq!(
13912 ::std::mem::align_of::<cl_short8__bindgen_ty_1>(),
13913 2usize,
13914 concat!("Alignment of ", stringify!(cl_short8__bindgen_ty_1))
13915 );
13916 assert_eq!(
13917 unsafe { &(*(::std::ptr::null::<cl_short8__bindgen_ty_1>())).x as *const _ as usize },
13918 0usize,
13919 concat!(
13920 "Offset of field: ",
13921 stringify!(cl_short8__bindgen_ty_1),
13922 "::",
13923 stringify!(x)
13924 )
13925 );
13926 assert_eq!(
13927 unsafe { &(*(::std::ptr::null::<cl_short8__bindgen_ty_1>())).y as *const _ as usize },
13928 2usize,
13929 concat!(
13930 "Offset of field: ",
13931 stringify!(cl_short8__bindgen_ty_1),
13932 "::",
13933 stringify!(y)
13934 )
13935 );
13936 assert_eq!(
13937 unsafe { &(*(::std::ptr::null::<cl_short8__bindgen_ty_1>())).z as *const _ as usize },
13938 4usize,
13939 concat!(
13940 "Offset of field: ",
13941 stringify!(cl_short8__bindgen_ty_1),
13942 "::",
13943 stringify!(z)
13944 )
13945 );
13946 assert_eq!(
13947 unsafe { &(*(::std::ptr::null::<cl_short8__bindgen_ty_1>())).w as *const _ as usize },
13948 6usize,
13949 concat!(
13950 "Offset of field: ",
13951 stringify!(cl_short8__bindgen_ty_1),
13952 "::",
13953 stringify!(w)
13954 )
13955 );
13956}
13957#[repr(C)]
13958#[derive(Debug, Copy, Clone)]
13959pub struct cl_short8__bindgen_ty_2 {
13960 pub s0: cl_short,
13961 pub s1: cl_short,
13962 pub s2: cl_short,
13963 pub s3: cl_short,
13964 pub s4: cl_short,
13965 pub s5: cl_short,
13966 pub s6: cl_short,
13967 pub s7: cl_short,
13968}
13969#[test]
13970fn bindgen_test_layout_cl_short8__bindgen_ty_2() {
13971 assert_eq!(
13972 ::std::mem::size_of::<cl_short8__bindgen_ty_2>(),
13973 16usize,
13974 concat!("Size of: ", stringify!(cl_short8__bindgen_ty_2))
13975 );
13976 assert_eq!(
13977 ::std::mem::align_of::<cl_short8__bindgen_ty_2>(),
13978 2usize,
13979 concat!("Alignment of ", stringify!(cl_short8__bindgen_ty_2))
13980 );
13981 assert_eq!(
13982 unsafe { &(*(::std::ptr::null::<cl_short8__bindgen_ty_2>())).s0 as *const _ as usize },
13983 0usize,
13984 concat!(
13985 "Offset of field: ",
13986 stringify!(cl_short8__bindgen_ty_2),
13987 "::",
13988 stringify!(s0)
13989 )
13990 );
13991 assert_eq!(
13992 unsafe { &(*(::std::ptr::null::<cl_short8__bindgen_ty_2>())).s1 as *const _ as usize },
13993 2usize,
13994 concat!(
13995 "Offset of field: ",
13996 stringify!(cl_short8__bindgen_ty_2),
13997 "::",
13998 stringify!(s1)
13999 )
14000 );
14001 assert_eq!(
14002 unsafe { &(*(::std::ptr::null::<cl_short8__bindgen_ty_2>())).s2 as *const _ as usize },
14003 4usize,
14004 concat!(
14005 "Offset of field: ",
14006 stringify!(cl_short8__bindgen_ty_2),
14007 "::",
14008 stringify!(s2)
14009 )
14010 );
14011 assert_eq!(
14012 unsafe { &(*(::std::ptr::null::<cl_short8__bindgen_ty_2>())).s3 as *const _ as usize },
14013 6usize,
14014 concat!(
14015 "Offset of field: ",
14016 stringify!(cl_short8__bindgen_ty_2),
14017 "::",
14018 stringify!(s3)
14019 )
14020 );
14021 assert_eq!(
14022 unsafe { &(*(::std::ptr::null::<cl_short8__bindgen_ty_2>())).s4 as *const _ as usize },
14023 8usize,
14024 concat!(
14025 "Offset of field: ",
14026 stringify!(cl_short8__bindgen_ty_2),
14027 "::",
14028 stringify!(s4)
14029 )
14030 );
14031 assert_eq!(
14032 unsafe { &(*(::std::ptr::null::<cl_short8__bindgen_ty_2>())).s5 as *const _ as usize },
14033 10usize,
14034 concat!(
14035 "Offset of field: ",
14036 stringify!(cl_short8__bindgen_ty_2),
14037 "::",
14038 stringify!(s5)
14039 )
14040 );
14041 assert_eq!(
14042 unsafe { &(*(::std::ptr::null::<cl_short8__bindgen_ty_2>())).s6 as *const _ as usize },
14043 12usize,
14044 concat!(
14045 "Offset of field: ",
14046 stringify!(cl_short8__bindgen_ty_2),
14047 "::",
14048 stringify!(s6)
14049 )
14050 );
14051 assert_eq!(
14052 unsafe { &(*(::std::ptr::null::<cl_short8__bindgen_ty_2>())).s7 as *const _ as usize },
14053 14usize,
14054 concat!(
14055 "Offset of field: ",
14056 stringify!(cl_short8__bindgen_ty_2),
14057 "::",
14058 stringify!(s7)
14059 )
14060 );
14061}
14062#[repr(C)]
14063#[derive(Copy, Clone)]
14064pub struct cl_short8__bindgen_ty_3 {
14065 pub lo: cl_short4,
14066 pub hi: cl_short4,
14067}
14068#[test]
14069fn bindgen_test_layout_cl_short8__bindgen_ty_3() {
14070 assert_eq!(
14071 ::std::mem::size_of::<cl_short8__bindgen_ty_3>(),
14072 16usize,
14073 concat!("Size of: ", stringify!(cl_short8__bindgen_ty_3))
14074 );
14075 assert_eq!(
14076 ::std::mem::align_of::<cl_short8__bindgen_ty_3>(),
14077 8usize,
14078 concat!("Alignment of ", stringify!(cl_short8__bindgen_ty_3))
14079 );
14080 assert_eq!(
14081 unsafe { &(*(::std::ptr::null::<cl_short8__bindgen_ty_3>())).lo as *const _ as usize },
14082 0usize,
14083 concat!(
14084 "Offset of field: ",
14085 stringify!(cl_short8__bindgen_ty_3),
14086 "::",
14087 stringify!(lo)
14088 )
14089 );
14090 assert_eq!(
14091 unsafe { &(*(::std::ptr::null::<cl_short8__bindgen_ty_3>())).hi as *const _ as usize },
14092 8usize,
14093 concat!(
14094 "Offset of field: ",
14095 stringify!(cl_short8__bindgen_ty_3),
14096 "::",
14097 stringify!(hi)
14098 )
14099 );
14100}
14101#[test]
14102fn bindgen_test_layout_cl_short8() {
14103 assert_eq!(
14104 ::std::mem::size_of::<cl_short8>(),
14105 16usize,
14106 concat!("Size of: ", stringify!(cl_short8))
14107 );
14108 assert_eq!(
14109 ::std::mem::align_of::<cl_short8>(),
14110 16usize,
14111 concat!("Alignment of ", stringify!(cl_short8))
14112 );
14113 assert_eq!(
14114 unsafe { &(*(::std::ptr::null::<cl_short8>())).s as *const _ as usize },
14115 0usize,
14116 concat!(
14117 "Offset of field: ",
14118 stringify!(cl_short8),
14119 "::",
14120 stringify!(s)
14121 )
14122 );
14123 assert_eq!(
14124 unsafe { &(*(::std::ptr::null::<cl_short8>())).v4 as *const _ as usize },
14125 0usize,
14126 concat!(
14127 "Offset of field: ",
14128 stringify!(cl_short8),
14129 "::",
14130 stringify!(v4)
14131 )
14132 );
14133 assert_eq!(
14134 unsafe { &(*(::std::ptr::null::<cl_short8>())).v8 as *const _ as usize },
14135 0usize,
14136 concat!(
14137 "Offset of field: ",
14138 stringify!(cl_short8),
14139 "::",
14140 stringify!(v8)
14141 )
14142 );
14143}
14144#[repr(C)]
14145#[repr(align(32))]
14146#[derive(Copy, Clone)]
14147pub union cl_short16 {
14148 pub s: [cl_short; 16usize],
14149 pub __bindgen_anon_1: cl_short16__bindgen_ty_1,
14150 pub __bindgen_anon_2: cl_short16__bindgen_ty_2,
14151 pub __bindgen_anon_3: cl_short16__bindgen_ty_3,
14152 pub v4: [__cl_short4; 4usize],
14153 pub v8: [__cl_short8; 2usize],
14154 _bindgen_union_align: [u8; 32usize],
14155}
14156#[repr(C)]
14157#[derive(Debug, Copy, Clone)]
14158pub struct cl_short16__bindgen_ty_1 {
14159 pub x: cl_short,
14160 pub y: cl_short,
14161 pub z: cl_short,
14162 pub w: cl_short,
14163 pub __spacer4: cl_short,
14164 pub __spacer5: cl_short,
14165 pub __spacer6: cl_short,
14166 pub __spacer7: cl_short,
14167 pub __spacer8: cl_short,
14168 pub __spacer9: cl_short,
14169 pub sa: cl_short,
14170 pub sb: cl_short,
14171 pub sc: cl_short,
14172 pub sd: cl_short,
14173 pub se: cl_short,
14174 pub sf: cl_short,
14175}
14176#[test]
14177fn bindgen_test_layout_cl_short16__bindgen_ty_1() {
14178 assert_eq!(
14179 ::std::mem::size_of::<cl_short16__bindgen_ty_1>(),
14180 32usize,
14181 concat!("Size of: ", stringify!(cl_short16__bindgen_ty_1))
14182 );
14183 assert_eq!(
14184 ::std::mem::align_of::<cl_short16__bindgen_ty_1>(),
14185 2usize,
14186 concat!("Alignment of ", stringify!(cl_short16__bindgen_ty_1))
14187 );
14188 assert_eq!(
14189 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_1>())).x as *const _ as usize },
14190 0usize,
14191 concat!(
14192 "Offset of field: ",
14193 stringify!(cl_short16__bindgen_ty_1),
14194 "::",
14195 stringify!(x)
14196 )
14197 );
14198 assert_eq!(
14199 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_1>())).y as *const _ as usize },
14200 2usize,
14201 concat!(
14202 "Offset of field: ",
14203 stringify!(cl_short16__bindgen_ty_1),
14204 "::",
14205 stringify!(y)
14206 )
14207 );
14208 assert_eq!(
14209 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_1>())).z as *const _ as usize },
14210 4usize,
14211 concat!(
14212 "Offset of field: ",
14213 stringify!(cl_short16__bindgen_ty_1),
14214 "::",
14215 stringify!(z)
14216 )
14217 );
14218 assert_eq!(
14219 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_1>())).w as *const _ as usize },
14220 6usize,
14221 concat!(
14222 "Offset of field: ",
14223 stringify!(cl_short16__bindgen_ty_1),
14224 "::",
14225 stringify!(w)
14226 )
14227 );
14228 assert_eq!(
14229 unsafe {
14230 &(*(::std::ptr::null::<cl_short16__bindgen_ty_1>())).__spacer4 as *const _ as usize
14231 },
14232 8usize,
14233 concat!(
14234 "Offset of field: ",
14235 stringify!(cl_short16__bindgen_ty_1),
14236 "::",
14237 stringify!(__spacer4)
14238 )
14239 );
14240 assert_eq!(
14241 unsafe {
14242 &(*(::std::ptr::null::<cl_short16__bindgen_ty_1>())).__spacer5 as *const _ as usize
14243 },
14244 10usize,
14245 concat!(
14246 "Offset of field: ",
14247 stringify!(cl_short16__bindgen_ty_1),
14248 "::",
14249 stringify!(__spacer5)
14250 )
14251 );
14252 assert_eq!(
14253 unsafe {
14254 &(*(::std::ptr::null::<cl_short16__bindgen_ty_1>())).__spacer6 as *const _ as usize
14255 },
14256 12usize,
14257 concat!(
14258 "Offset of field: ",
14259 stringify!(cl_short16__bindgen_ty_1),
14260 "::",
14261 stringify!(__spacer6)
14262 )
14263 );
14264 assert_eq!(
14265 unsafe {
14266 &(*(::std::ptr::null::<cl_short16__bindgen_ty_1>())).__spacer7 as *const _ as usize
14267 },
14268 14usize,
14269 concat!(
14270 "Offset of field: ",
14271 stringify!(cl_short16__bindgen_ty_1),
14272 "::",
14273 stringify!(__spacer7)
14274 )
14275 );
14276 assert_eq!(
14277 unsafe {
14278 &(*(::std::ptr::null::<cl_short16__bindgen_ty_1>())).__spacer8 as *const _ as usize
14279 },
14280 16usize,
14281 concat!(
14282 "Offset of field: ",
14283 stringify!(cl_short16__bindgen_ty_1),
14284 "::",
14285 stringify!(__spacer8)
14286 )
14287 );
14288 assert_eq!(
14289 unsafe {
14290 &(*(::std::ptr::null::<cl_short16__bindgen_ty_1>())).__spacer9 as *const _ as usize
14291 },
14292 18usize,
14293 concat!(
14294 "Offset of field: ",
14295 stringify!(cl_short16__bindgen_ty_1),
14296 "::",
14297 stringify!(__spacer9)
14298 )
14299 );
14300 assert_eq!(
14301 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_1>())).sa as *const _ as usize },
14302 20usize,
14303 concat!(
14304 "Offset of field: ",
14305 stringify!(cl_short16__bindgen_ty_1),
14306 "::",
14307 stringify!(sa)
14308 )
14309 );
14310 assert_eq!(
14311 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_1>())).sb as *const _ as usize },
14312 22usize,
14313 concat!(
14314 "Offset of field: ",
14315 stringify!(cl_short16__bindgen_ty_1),
14316 "::",
14317 stringify!(sb)
14318 )
14319 );
14320 assert_eq!(
14321 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_1>())).sc as *const _ as usize },
14322 24usize,
14323 concat!(
14324 "Offset of field: ",
14325 stringify!(cl_short16__bindgen_ty_1),
14326 "::",
14327 stringify!(sc)
14328 )
14329 );
14330 assert_eq!(
14331 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_1>())).sd as *const _ as usize },
14332 26usize,
14333 concat!(
14334 "Offset of field: ",
14335 stringify!(cl_short16__bindgen_ty_1),
14336 "::",
14337 stringify!(sd)
14338 )
14339 );
14340 assert_eq!(
14341 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_1>())).se as *const _ as usize },
14342 28usize,
14343 concat!(
14344 "Offset of field: ",
14345 stringify!(cl_short16__bindgen_ty_1),
14346 "::",
14347 stringify!(se)
14348 )
14349 );
14350 assert_eq!(
14351 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_1>())).sf as *const _ as usize },
14352 30usize,
14353 concat!(
14354 "Offset of field: ",
14355 stringify!(cl_short16__bindgen_ty_1),
14356 "::",
14357 stringify!(sf)
14358 )
14359 );
14360}
14361#[repr(C)]
14362#[derive(Debug, Copy, Clone)]
14363pub struct cl_short16__bindgen_ty_2 {
14364 pub s0: cl_short,
14365 pub s1: cl_short,
14366 pub s2: cl_short,
14367 pub s3: cl_short,
14368 pub s4: cl_short,
14369 pub s5: cl_short,
14370 pub s6: cl_short,
14371 pub s7: cl_short,
14372 pub s8: cl_short,
14373 pub s9: cl_short,
14374 pub sA: cl_short,
14375 pub sB: cl_short,
14376 pub sC: cl_short,
14377 pub sD: cl_short,
14378 pub sE: cl_short,
14379 pub sF: cl_short,
14380}
14381#[test]
14382fn bindgen_test_layout_cl_short16__bindgen_ty_2() {
14383 assert_eq!(
14384 ::std::mem::size_of::<cl_short16__bindgen_ty_2>(),
14385 32usize,
14386 concat!("Size of: ", stringify!(cl_short16__bindgen_ty_2))
14387 );
14388 assert_eq!(
14389 ::std::mem::align_of::<cl_short16__bindgen_ty_2>(),
14390 2usize,
14391 concat!("Alignment of ", stringify!(cl_short16__bindgen_ty_2))
14392 );
14393 assert_eq!(
14394 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_2>())).s0 as *const _ as usize },
14395 0usize,
14396 concat!(
14397 "Offset of field: ",
14398 stringify!(cl_short16__bindgen_ty_2),
14399 "::",
14400 stringify!(s0)
14401 )
14402 );
14403 assert_eq!(
14404 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_2>())).s1 as *const _ as usize },
14405 2usize,
14406 concat!(
14407 "Offset of field: ",
14408 stringify!(cl_short16__bindgen_ty_2),
14409 "::",
14410 stringify!(s1)
14411 )
14412 );
14413 assert_eq!(
14414 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_2>())).s2 as *const _ as usize },
14415 4usize,
14416 concat!(
14417 "Offset of field: ",
14418 stringify!(cl_short16__bindgen_ty_2),
14419 "::",
14420 stringify!(s2)
14421 )
14422 );
14423 assert_eq!(
14424 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_2>())).s3 as *const _ as usize },
14425 6usize,
14426 concat!(
14427 "Offset of field: ",
14428 stringify!(cl_short16__bindgen_ty_2),
14429 "::",
14430 stringify!(s3)
14431 )
14432 );
14433 assert_eq!(
14434 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_2>())).s4 as *const _ as usize },
14435 8usize,
14436 concat!(
14437 "Offset of field: ",
14438 stringify!(cl_short16__bindgen_ty_2),
14439 "::",
14440 stringify!(s4)
14441 )
14442 );
14443 assert_eq!(
14444 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_2>())).s5 as *const _ as usize },
14445 10usize,
14446 concat!(
14447 "Offset of field: ",
14448 stringify!(cl_short16__bindgen_ty_2),
14449 "::",
14450 stringify!(s5)
14451 )
14452 );
14453 assert_eq!(
14454 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_2>())).s6 as *const _ as usize },
14455 12usize,
14456 concat!(
14457 "Offset of field: ",
14458 stringify!(cl_short16__bindgen_ty_2),
14459 "::",
14460 stringify!(s6)
14461 )
14462 );
14463 assert_eq!(
14464 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_2>())).s7 as *const _ as usize },
14465 14usize,
14466 concat!(
14467 "Offset of field: ",
14468 stringify!(cl_short16__bindgen_ty_2),
14469 "::",
14470 stringify!(s7)
14471 )
14472 );
14473 assert_eq!(
14474 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_2>())).s8 as *const _ as usize },
14475 16usize,
14476 concat!(
14477 "Offset of field: ",
14478 stringify!(cl_short16__bindgen_ty_2),
14479 "::",
14480 stringify!(s8)
14481 )
14482 );
14483 assert_eq!(
14484 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_2>())).s9 as *const _ as usize },
14485 18usize,
14486 concat!(
14487 "Offset of field: ",
14488 stringify!(cl_short16__bindgen_ty_2),
14489 "::",
14490 stringify!(s9)
14491 )
14492 );
14493 assert_eq!(
14494 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_2>())).sA as *const _ as usize },
14495 20usize,
14496 concat!(
14497 "Offset of field: ",
14498 stringify!(cl_short16__bindgen_ty_2),
14499 "::",
14500 stringify!(sA)
14501 )
14502 );
14503 assert_eq!(
14504 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_2>())).sB as *const _ as usize },
14505 22usize,
14506 concat!(
14507 "Offset of field: ",
14508 stringify!(cl_short16__bindgen_ty_2),
14509 "::",
14510 stringify!(sB)
14511 )
14512 );
14513 assert_eq!(
14514 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_2>())).sC as *const _ as usize },
14515 24usize,
14516 concat!(
14517 "Offset of field: ",
14518 stringify!(cl_short16__bindgen_ty_2),
14519 "::",
14520 stringify!(sC)
14521 )
14522 );
14523 assert_eq!(
14524 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_2>())).sD as *const _ as usize },
14525 26usize,
14526 concat!(
14527 "Offset of field: ",
14528 stringify!(cl_short16__bindgen_ty_2),
14529 "::",
14530 stringify!(sD)
14531 )
14532 );
14533 assert_eq!(
14534 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_2>())).sE as *const _ as usize },
14535 28usize,
14536 concat!(
14537 "Offset of field: ",
14538 stringify!(cl_short16__bindgen_ty_2),
14539 "::",
14540 stringify!(sE)
14541 )
14542 );
14543 assert_eq!(
14544 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_2>())).sF as *const _ as usize },
14545 30usize,
14546 concat!(
14547 "Offset of field: ",
14548 stringify!(cl_short16__bindgen_ty_2),
14549 "::",
14550 stringify!(sF)
14551 )
14552 );
14553}
14554#[repr(C)]
14555#[repr(align(16))]
14556#[derive(Copy, Clone)]
14557pub struct cl_short16__bindgen_ty_3 {
14558 pub lo: cl_short8,
14559 pub hi: cl_short8,
14560}
14561#[test]
14562fn bindgen_test_layout_cl_short16__bindgen_ty_3() {
14563 assert_eq!(
14564 ::std::mem::size_of::<cl_short16__bindgen_ty_3>(),
14565 32usize,
14566 concat!("Size of: ", stringify!(cl_short16__bindgen_ty_3))
14567 );
14568 assert_eq!(
14569 ::std::mem::align_of::<cl_short16__bindgen_ty_3>(),
14570 16usize,
14571 concat!("Alignment of ", stringify!(cl_short16__bindgen_ty_3))
14572 );
14573 assert_eq!(
14574 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_3>())).lo as *const _ as usize },
14575 0usize,
14576 concat!(
14577 "Offset of field: ",
14578 stringify!(cl_short16__bindgen_ty_3),
14579 "::",
14580 stringify!(lo)
14581 )
14582 );
14583 assert_eq!(
14584 unsafe { &(*(::std::ptr::null::<cl_short16__bindgen_ty_3>())).hi as *const _ as usize },
14585 16usize,
14586 concat!(
14587 "Offset of field: ",
14588 stringify!(cl_short16__bindgen_ty_3),
14589 "::",
14590 stringify!(hi)
14591 )
14592 );
14593}
14594#[test]
14595fn bindgen_test_layout_cl_short16() {
14596 assert_eq!(
14597 ::std::mem::size_of::<cl_short16>(),
14598 32usize,
14599 concat!("Size of: ", stringify!(cl_short16))
14600 );
14601 assert_eq!(
14602 ::std::mem::align_of::<cl_short16>(),
14603 32usize,
14604 concat!("Alignment of ", stringify!(cl_short16))
14605 );
14606 assert_eq!(
14607 unsafe { &(*(::std::ptr::null::<cl_short16>())).s as *const _ as usize },
14608 0usize,
14609 concat!(
14610 "Offset of field: ",
14611 stringify!(cl_short16),
14612 "::",
14613 stringify!(s)
14614 )
14615 );
14616 assert_eq!(
14617 unsafe { &(*(::std::ptr::null::<cl_short16>())).v4 as *const _ as usize },
14618 0usize,
14619 concat!(
14620 "Offset of field: ",
14621 stringify!(cl_short16),
14622 "::",
14623 stringify!(v4)
14624 )
14625 );
14626 assert_eq!(
14627 unsafe { &(*(::std::ptr::null::<cl_short16>())).v8 as *const _ as usize },
14628 0usize,
14629 concat!(
14630 "Offset of field: ",
14631 stringify!(cl_short16),
14632 "::",
14633 stringify!(v8)
14634 )
14635 );
14636}
14637#[repr(C)]
14638#[derive(Copy, Clone)]
14639pub union cl_ushort2 {
14640 pub s: [cl_ushort; 2usize],
14641 pub __bindgen_anon_1: cl_ushort2__bindgen_ty_1,
14642 pub __bindgen_anon_2: cl_ushort2__bindgen_ty_2,
14643 pub __bindgen_anon_3: cl_ushort2__bindgen_ty_3,
14644 _bindgen_union_align: u32,
14645}
14646#[repr(C)]
14647#[derive(Debug, Copy, Clone)]
14648pub struct cl_ushort2__bindgen_ty_1 {
14649 pub x: cl_ushort,
14650 pub y: cl_ushort,
14651}
14652#[test]
14653fn bindgen_test_layout_cl_ushort2__bindgen_ty_1() {
14654 assert_eq!(
14655 ::std::mem::size_of::<cl_ushort2__bindgen_ty_1>(),
14656 4usize,
14657 concat!("Size of: ", stringify!(cl_ushort2__bindgen_ty_1))
14658 );
14659 assert_eq!(
14660 ::std::mem::align_of::<cl_ushort2__bindgen_ty_1>(),
14661 2usize,
14662 concat!("Alignment of ", stringify!(cl_ushort2__bindgen_ty_1))
14663 );
14664 assert_eq!(
14665 unsafe { &(*(::std::ptr::null::<cl_ushort2__bindgen_ty_1>())).x as *const _ as usize },
14666 0usize,
14667 concat!(
14668 "Offset of field: ",
14669 stringify!(cl_ushort2__bindgen_ty_1),
14670 "::",
14671 stringify!(x)
14672 )
14673 );
14674 assert_eq!(
14675 unsafe { &(*(::std::ptr::null::<cl_ushort2__bindgen_ty_1>())).y as *const _ as usize },
14676 2usize,
14677 concat!(
14678 "Offset of field: ",
14679 stringify!(cl_ushort2__bindgen_ty_1),
14680 "::",
14681 stringify!(y)
14682 )
14683 );
14684}
14685#[repr(C)]
14686#[derive(Debug, Copy, Clone)]
14687pub struct cl_ushort2__bindgen_ty_2 {
14688 pub s0: cl_ushort,
14689 pub s1: cl_ushort,
14690}
14691#[test]
14692fn bindgen_test_layout_cl_ushort2__bindgen_ty_2() {
14693 assert_eq!(
14694 ::std::mem::size_of::<cl_ushort2__bindgen_ty_2>(),
14695 4usize,
14696 concat!("Size of: ", stringify!(cl_ushort2__bindgen_ty_2))
14697 );
14698 assert_eq!(
14699 ::std::mem::align_of::<cl_ushort2__bindgen_ty_2>(),
14700 2usize,
14701 concat!("Alignment of ", stringify!(cl_ushort2__bindgen_ty_2))
14702 );
14703 assert_eq!(
14704 unsafe { &(*(::std::ptr::null::<cl_ushort2__bindgen_ty_2>())).s0 as *const _ as usize },
14705 0usize,
14706 concat!(
14707 "Offset of field: ",
14708 stringify!(cl_ushort2__bindgen_ty_2),
14709 "::",
14710 stringify!(s0)
14711 )
14712 );
14713 assert_eq!(
14714 unsafe { &(*(::std::ptr::null::<cl_ushort2__bindgen_ty_2>())).s1 as *const _ as usize },
14715 2usize,
14716 concat!(
14717 "Offset of field: ",
14718 stringify!(cl_ushort2__bindgen_ty_2),
14719 "::",
14720 stringify!(s1)
14721 )
14722 );
14723}
14724#[repr(C)]
14725#[derive(Debug, Copy, Clone)]
14726pub struct cl_ushort2__bindgen_ty_3 {
14727 pub lo: cl_ushort,
14728 pub hi: cl_ushort,
14729}
14730#[test]
14731fn bindgen_test_layout_cl_ushort2__bindgen_ty_3() {
14732 assert_eq!(
14733 ::std::mem::size_of::<cl_ushort2__bindgen_ty_3>(),
14734 4usize,
14735 concat!("Size of: ", stringify!(cl_ushort2__bindgen_ty_3))
14736 );
14737 assert_eq!(
14738 ::std::mem::align_of::<cl_ushort2__bindgen_ty_3>(),
14739 2usize,
14740 concat!("Alignment of ", stringify!(cl_ushort2__bindgen_ty_3))
14741 );
14742 assert_eq!(
14743 unsafe { &(*(::std::ptr::null::<cl_ushort2__bindgen_ty_3>())).lo as *const _ as usize },
14744 0usize,
14745 concat!(
14746 "Offset of field: ",
14747 stringify!(cl_ushort2__bindgen_ty_3),
14748 "::",
14749 stringify!(lo)
14750 )
14751 );
14752 assert_eq!(
14753 unsafe { &(*(::std::ptr::null::<cl_ushort2__bindgen_ty_3>())).hi as *const _ as usize },
14754 2usize,
14755 concat!(
14756 "Offset of field: ",
14757 stringify!(cl_ushort2__bindgen_ty_3),
14758 "::",
14759 stringify!(hi)
14760 )
14761 );
14762}
14763#[test]
14764fn bindgen_test_layout_cl_ushort2() {
14765 assert_eq!(
14766 ::std::mem::size_of::<cl_ushort2>(),
14767 4usize,
14768 concat!("Size of: ", stringify!(cl_ushort2))
14769 );
14770 assert_eq!(
14771 ::std::mem::align_of::<cl_ushort2>(),
14772 4usize,
14773 concat!("Alignment of ", stringify!(cl_ushort2))
14774 );
14775 assert_eq!(
14776 unsafe { &(*(::std::ptr::null::<cl_ushort2>())).s as *const _ as usize },
14777 0usize,
14778 concat!(
14779 "Offset of field: ",
14780 stringify!(cl_ushort2),
14781 "::",
14782 stringify!(s)
14783 )
14784 );
14785}
14786#[repr(C)]
14787#[derive(Copy, Clone)]
14788pub union cl_ushort4 {
14789 pub s: [cl_ushort; 4usize],
14790 pub __bindgen_anon_1: cl_ushort4__bindgen_ty_1,
14791 pub __bindgen_anon_2: cl_ushort4__bindgen_ty_2,
14792 pub __bindgen_anon_3: cl_ushort4__bindgen_ty_3,
14793 pub v4: __cl_ushort4,
14794 _bindgen_union_align: u64,
14795}
14796#[repr(C)]
14797#[derive(Debug, Copy, Clone)]
14798pub struct cl_ushort4__bindgen_ty_1 {
14799 pub x: cl_ushort,
14800 pub y: cl_ushort,
14801 pub z: cl_ushort,
14802 pub w: cl_ushort,
14803}
14804#[test]
14805fn bindgen_test_layout_cl_ushort4__bindgen_ty_1() {
14806 assert_eq!(
14807 ::std::mem::size_of::<cl_ushort4__bindgen_ty_1>(),
14808 8usize,
14809 concat!("Size of: ", stringify!(cl_ushort4__bindgen_ty_1))
14810 );
14811 assert_eq!(
14812 ::std::mem::align_of::<cl_ushort4__bindgen_ty_1>(),
14813 2usize,
14814 concat!("Alignment of ", stringify!(cl_ushort4__bindgen_ty_1))
14815 );
14816 assert_eq!(
14817 unsafe { &(*(::std::ptr::null::<cl_ushort4__bindgen_ty_1>())).x as *const _ as usize },
14818 0usize,
14819 concat!(
14820 "Offset of field: ",
14821 stringify!(cl_ushort4__bindgen_ty_1),
14822 "::",
14823 stringify!(x)
14824 )
14825 );
14826 assert_eq!(
14827 unsafe { &(*(::std::ptr::null::<cl_ushort4__bindgen_ty_1>())).y as *const _ as usize },
14828 2usize,
14829 concat!(
14830 "Offset of field: ",
14831 stringify!(cl_ushort4__bindgen_ty_1),
14832 "::",
14833 stringify!(y)
14834 )
14835 );
14836 assert_eq!(
14837 unsafe { &(*(::std::ptr::null::<cl_ushort4__bindgen_ty_1>())).z as *const _ as usize },
14838 4usize,
14839 concat!(
14840 "Offset of field: ",
14841 stringify!(cl_ushort4__bindgen_ty_1),
14842 "::",
14843 stringify!(z)
14844 )
14845 );
14846 assert_eq!(
14847 unsafe { &(*(::std::ptr::null::<cl_ushort4__bindgen_ty_1>())).w as *const _ as usize },
14848 6usize,
14849 concat!(
14850 "Offset of field: ",
14851 stringify!(cl_ushort4__bindgen_ty_1),
14852 "::",
14853 stringify!(w)
14854 )
14855 );
14856}
14857#[repr(C)]
14858#[derive(Debug, Copy, Clone)]
14859pub struct cl_ushort4__bindgen_ty_2 {
14860 pub s0: cl_ushort,
14861 pub s1: cl_ushort,
14862 pub s2: cl_ushort,
14863 pub s3: cl_ushort,
14864}
14865#[test]
14866fn bindgen_test_layout_cl_ushort4__bindgen_ty_2() {
14867 assert_eq!(
14868 ::std::mem::size_of::<cl_ushort4__bindgen_ty_2>(),
14869 8usize,
14870 concat!("Size of: ", stringify!(cl_ushort4__bindgen_ty_2))
14871 );
14872 assert_eq!(
14873 ::std::mem::align_of::<cl_ushort4__bindgen_ty_2>(),
14874 2usize,
14875 concat!("Alignment of ", stringify!(cl_ushort4__bindgen_ty_2))
14876 );
14877 assert_eq!(
14878 unsafe { &(*(::std::ptr::null::<cl_ushort4__bindgen_ty_2>())).s0 as *const _ as usize },
14879 0usize,
14880 concat!(
14881 "Offset of field: ",
14882 stringify!(cl_ushort4__bindgen_ty_2),
14883 "::",
14884 stringify!(s0)
14885 )
14886 );
14887 assert_eq!(
14888 unsafe { &(*(::std::ptr::null::<cl_ushort4__bindgen_ty_2>())).s1 as *const _ as usize },
14889 2usize,
14890 concat!(
14891 "Offset of field: ",
14892 stringify!(cl_ushort4__bindgen_ty_2),
14893 "::",
14894 stringify!(s1)
14895 )
14896 );
14897 assert_eq!(
14898 unsafe { &(*(::std::ptr::null::<cl_ushort4__bindgen_ty_2>())).s2 as *const _ as usize },
14899 4usize,
14900 concat!(
14901 "Offset of field: ",
14902 stringify!(cl_ushort4__bindgen_ty_2),
14903 "::",
14904 stringify!(s2)
14905 )
14906 );
14907 assert_eq!(
14908 unsafe { &(*(::std::ptr::null::<cl_ushort4__bindgen_ty_2>())).s3 as *const _ as usize },
14909 6usize,
14910 concat!(
14911 "Offset of field: ",
14912 stringify!(cl_ushort4__bindgen_ty_2),
14913 "::",
14914 stringify!(s3)
14915 )
14916 );
14917}
14918#[repr(C)]
14919#[derive(Copy, Clone)]
14920pub struct cl_ushort4__bindgen_ty_3 {
14921 pub lo: cl_ushort2,
14922 pub hi: cl_ushort2,
14923}
14924#[test]
14925fn bindgen_test_layout_cl_ushort4__bindgen_ty_3() {
14926 assert_eq!(
14927 ::std::mem::size_of::<cl_ushort4__bindgen_ty_3>(),
14928 8usize,
14929 concat!("Size of: ", stringify!(cl_ushort4__bindgen_ty_3))
14930 );
14931 assert_eq!(
14932 ::std::mem::align_of::<cl_ushort4__bindgen_ty_3>(),
14933 4usize,
14934 concat!("Alignment of ", stringify!(cl_ushort4__bindgen_ty_3))
14935 );
14936 assert_eq!(
14937 unsafe { &(*(::std::ptr::null::<cl_ushort4__bindgen_ty_3>())).lo as *const _ as usize },
14938 0usize,
14939 concat!(
14940 "Offset of field: ",
14941 stringify!(cl_ushort4__bindgen_ty_3),
14942 "::",
14943 stringify!(lo)
14944 )
14945 );
14946 assert_eq!(
14947 unsafe { &(*(::std::ptr::null::<cl_ushort4__bindgen_ty_3>())).hi as *const _ as usize },
14948 4usize,
14949 concat!(
14950 "Offset of field: ",
14951 stringify!(cl_ushort4__bindgen_ty_3),
14952 "::",
14953 stringify!(hi)
14954 )
14955 );
14956}
14957#[test]
14958fn bindgen_test_layout_cl_ushort4() {
14959 assert_eq!(
14960 ::std::mem::size_of::<cl_ushort4>(),
14961 8usize,
14962 concat!("Size of: ", stringify!(cl_ushort4))
14963 );
14964 assert_eq!(
14965 ::std::mem::align_of::<cl_ushort4>(),
14966 8usize,
14967 concat!("Alignment of ", stringify!(cl_ushort4))
14968 );
14969 assert_eq!(
14970 unsafe { &(*(::std::ptr::null::<cl_ushort4>())).s as *const _ as usize },
14971 0usize,
14972 concat!(
14973 "Offset of field: ",
14974 stringify!(cl_ushort4),
14975 "::",
14976 stringify!(s)
14977 )
14978 );
14979 assert_eq!(
14980 unsafe { &(*(::std::ptr::null::<cl_ushort4>())).v4 as *const _ as usize },
14981 0usize,
14982 concat!(
14983 "Offset of field: ",
14984 stringify!(cl_ushort4),
14985 "::",
14986 stringify!(v4)
14987 )
14988 );
14989}
14990pub type cl_ushort3 = cl_ushort4;
14991#[repr(C)]
14992#[repr(align(16))]
14993#[derive(Copy, Clone)]
14994pub union cl_ushort8 {
14995 pub s: [cl_ushort; 8usize],
14996 pub __bindgen_anon_1: cl_ushort8__bindgen_ty_1,
14997 pub __bindgen_anon_2: cl_ushort8__bindgen_ty_2,
14998 pub __bindgen_anon_3: cl_ushort8__bindgen_ty_3,
14999 pub v4: [__cl_ushort4; 2usize],
15000 pub v8: __cl_ushort8,
15001 _bindgen_union_align: u128,
15002}
15003#[repr(C)]
15004#[derive(Debug, Copy, Clone)]
15005pub struct cl_ushort8__bindgen_ty_1 {
15006 pub x: cl_ushort,
15007 pub y: cl_ushort,
15008 pub z: cl_ushort,
15009 pub w: cl_ushort,
15010}
15011#[test]
15012fn bindgen_test_layout_cl_ushort8__bindgen_ty_1() {
15013 assert_eq!(
15014 ::std::mem::size_of::<cl_ushort8__bindgen_ty_1>(),
15015 8usize,
15016 concat!("Size of: ", stringify!(cl_ushort8__bindgen_ty_1))
15017 );
15018 assert_eq!(
15019 ::std::mem::align_of::<cl_ushort8__bindgen_ty_1>(),
15020 2usize,
15021 concat!("Alignment of ", stringify!(cl_ushort8__bindgen_ty_1))
15022 );
15023 assert_eq!(
15024 unsafe { &(*(::std::ptr::null::<cl_ushort8__bindgen_ty_1>())).x as *const _ as usize },
15025 0usize,
15026 concat!(
15027 "Offset of field: ",
15028 stringify!(cl_ushort8__bindgen_ty_1),
15029 "::",
15030 stringify!(x)
15031 )
15032 );
15033 assert_eq!(
15034 unsafe { &(*(::std::ptr::null::<cl_ushort8__bindgen_ty_1>())).y as *const _ as usize },
15035 2usize,
15036 concat!(
15037 "Offset of field: ",
15038 stringify!(cl_ushort8__bindgen_ty_1),
15039 "::",
15040 stringify!(y)
15041 )
15042 );
15043 assert_eq!(
15044 unsafe { &(*(::std::ptr::null::<cl_ushort8__bindgen_ty_1>())).z as *const _ as usize },
15045 4usize,
15046 concat!(
15047 "Offset of field: ",
15048 stringify!(cl_ushort8__bindgen_ty_1),
15049 "::",
15050 stringify!(z)
15051 )
15052 );
15053 assert_eq!(
15054 unsafe { &(*(::std::ptr::null::<cl_ushort8__bindgen_ty_1>())).w as *const _ as usize },
15055 6usize,
15056 concat!(
15057 "Offset of field: ",
15058 stringify!(cl_ushort8__bindgen_ty_1),
15059 "::",
15060 stringify!(w)
15061 )
15062 );
15063}
15064#[repr(C)]
15065#[derive(Debug, Copy, Clone)]
15066pub struct cl_ushort8__bindgen_ty_2 {
15067 pub s0: cl_ushort,
15068 pub s1: cl_ushort,
15069 pub s2: cl_ushort,
15070 pub s3: cl_ushort,
15071 pub s4: cl_ushort,
15072 pub s5: cl_ushort,
15073 pub s6: cl_ushort,
15074 pub s7: cl_ushort,
15075}
15076#[test]
15077fn bindgen_test_layout_cl_ushort8__bindgen_ty_2() {
15078 assert_eq!(
15079 ::std::mem::size_of::<cl_ushort8__bindgen_ty_2>(),
15080 16usize,
15081 concat!("Size of: ", stringify!(cl_ushort8__bindgen_ty_2))
15082 );
15083 assert_eq!(
15084 ::std::mem::align_of::<cl_ushort8__bindgen_ty_2>(),
15085 2usize,
15086 concat!("Alignment of ", stringify!(cl_ushort8__bindgen_ty_2))
15087 );
15088 assert_eq!(
15089 unsafe { &(*(::std::ptr::null::<cl_ushort8__bindgen_ty_2>())).s0 as *const _ as usize },
15090 0usize,
15091 concat!(
15092 "Offset of field: ",
15093 stringify!(cl_ushort8__bindgen_ty_2),
15094 "::",
15095 stringify!(s0)
15096 )
15097 );
15098 assert_eq!(
15099 unsafe { &(*(::std::ptr::null::<cl_ushort8__bindgen_ty_2>())).s1 as *const _ as usize },
15100 2usize,
15101 concat!(
15102 "Offset of field: ",
15103 stringify!(cl_ushort8__bindgen_ty_2),
15104 "::",
15105 stringify!(s1)
15106 )
15107 );
15108 assert_eq!(
15109 unsafe { &(*(::std::ptr::null::<cl_ushort8__bindgen_ty_2>())).s2 as *const _ as usize },
15110 4usize,
15111 concat!(
15112 "Offset of field: ",
15113 stringify!(cl_ushort8__bindgen_ty_2),
15114 "::",
15115 stringify!(s2)
15116 )
15117 );
15118 assert_eq!(
15119 unsafe { &(*(::std::ptr::null::<cl_ushort8__bindgen_ty_2>())).s3 as *const _ as usize },
15120 6usize,
15121 concat!(
15122 "Offset of field: ",
15123 stringify!(cl_ushort8__bindgen_ty_2),
15124 "::",
15125 stringify!(s3)
15126 )
15127 );
15128 assert_eq!(
15129 unsafe { &(*(::std::ptr::null::<cl_ushort8__bindgen_ty_2>())).s4 as *const _ as usize },
15130 8usize,
15131 concat!(
15132 "Offset of field: ",
15133 stringify!(cl_ushort8__bindgen_ty_2),
15134 "::",
15135 stringify!(s4)
15136 )
15137 );
15138 assert_eq!(
15139 unsafe { &(*(::std::ptr::null::<cl_ushort8__bindgen_ty_2>())).s5 as *const _ as usize },
15140 10usize,
15141 concat!(
15142 "Offset of field: ",
15143 stringify!(cl_ushort8__bindgen_ty_2),
15144 "::",
15145 stringify!(s5)
15146 )
15147 );
15148 assert_eq!(
15149 unsafe { &(*(::std::ptr::null::<cl_ushort8__bindgen_ty_2>())).s6 as *const _ as usize },
15150 12usize,
15151 concat!(
15152 "Offset of field: ",
15153 stringify!(cl_ushort8__bindgen_ty_2),
15154 "::",
15155 stringify!(s6)
15156 )
15157 );
15158 assert_eq!(
15159 unsafe { &(*(::std::ptr::null::<cl_ushort8__bindgen_ty_2>())).s7 as *const _ as usize },
15160 14usize,
15161 concat!(
15162 "Offset of field: ",
15163 stringify!(cl_ushort8__bindgen_ty_2),
15164 "::",
15165 stringify!(s7)
15166 )
15167 );
15168}
15169#[repr(C)]
15170#[derive(Copy, Clone)]
15171pub struct cl_ushort8__bindgen_ty_3 {
15172 pub lo: cl_ushort4,
15173 pub hi: cl_ushort4,
15174}
15175#[test]
15176fn bindgen_test_layout_cl_ushort8__bindgen_ty_3() {
15177 assert_eq!(
15178 ::std::mem::size_of::<cl_ushort8__bindgen_ty_3>(),
15179 16usize,
15180 concat!("Size of: ", stringify!(cl_ushort8__bindgen_ty_3))
15181 );
15182 assert_eq!(
15183 ::std::mem::align_of::<cl_ushort8__bindgen_ty_3>(),
15184 8usize,
15185 concat!("Alignment of ", stringify!(cl_ushort8__bindgen_ty_3))
15186 );
15187 assert_eq!(
15188 unsafe { &(*(::std::ptr::null::<cl_ushort8__bindgen_ty_3>())).lo as *const _ as usize },
15189 0usize,
15190 concat!(
15191 "Offset of field: ",
15192 stringify!(cl_ushort8__bindgen_ty_3),
15193 "::",
15194 stringify!(lo)
15195 )
15196 );
15197 assert_eq!(
15198 unsafe { &(*(::std::ptr::null::<cl_ushort8__bindgen_ty_3>())).hi as *const _ as usize },
15199 8usize,
15200 concat!(
15201 "Offset of field: ",
15202 stringify!(cl_ushort8__bindgen_ty_3),
15203 "::",
15204 stringify!(hi)
15205 )
15206 );
15207}
15208#[test]
15209fn bindgen_test_layout_cl_ushort8() {
15210 assert_eq!(
15211 ::std::mem::size_of::<cl_ushort8>(),
15212 16usize,
15213 concat!("Size of: ", stringify!(cl_ushort8))
15214 );
15215 assert_eq!(
15216 ::std::mem::align_of::<cl_ushort8>(),
15217 16usize,
15218 concat!("Alignment of ", stringify!(cl_ushort8))
15219 );
15220 assert_eq!(
15221 unsafe { &(*(::std::ptr::null::<cl_ushort8>())).s as *const _ as usize },
15222 0usize,
15223 concat!(
15224 "Offset of field: ",
15225 stringify!(cl_ushort8),
15226 "::",
15227 stringify!(s)
15228 )
15229 );
15230 assert_eq!(
15231 unsafe { &(*(::std::ptr::null::<cl_ushort8>())).v4 as *const _ as usize },
15232 0usize,
15233 concat!(
15234 "Offset of field: ",
15235 stringify!(cl_ushort8),
15236 "::",
15237 stringify!(v4)
15238 )
15239 );
15240 assert_eq!(
15241 unsafe { &(*(::std::ptr::null::<cl_ushort8>())).v8 as *const _ as usize },
15242 0usize,
15243 concat!(
15244 "Offset of field: ",
15245 stringify!(cl_ushort8),
15246 "::",
15247 stringify!(v8)
15248 )
15249 );
15250}
15251#[repr(C)]
15252#[repr(align(32))]
15253#[derive(Copy, Clone)]
15254pub union cl_ushort16 {
15255 pub s: [cl_ushort; 16usize],
15256 pub __bindgen_anon_1: cl_ushort16__bindgen_ty_1,
15257 pub __bindgen_anon_2: cl_ushort16__bindgen_ty_2,
15258 pub __bindgen_anon_3: cl_ushort16__bindgen_ty_3,
15259 pub v4: [__cl_ushort4; 4usize],
15260 pub v8: [__cl_ushort8; 2usize],
15261 _bindgen_union_align: [u8; 32usize],
15262}
15263#[repr(C)]
15264#[derive(Debug, Copy, Clone)]
15265pub struct cl_ushort16__bindgen_ty_1 {
15266 pub x: cl_ushort,
15267 pub y: cl_ushort,
15268 pub z: cl_ushort,
15269 pub w: cl_ushort,
15270 pub __spacer4: cl_ushort,
15271 pub __spacer5: cl_ushort,
15272 pub __spacer6: cl_ushort,
15273 pub __spacer7: cl_ushort,
15274 pub __spacer8: cl_ushort,
15275 pub __spacer9: cl_ushort,
15276 pub sa: cl_ushort,
15277 pub sb: cl_ushort,
15278 pub sc: cl_ushort,
15279 pub sd: cl_ushort,
15280 pub se: cl_ushort,
15281 pub sf: cl_ushort,
15282}
15283#[test]
15284fn bindgen_test_layout_cl_ushort16__bindgen_ty_1() {
15285 assert_eq!(
15286 ::std::mem::size_of::<cl_ushort16__bindgen_ty_1>(),
15287 32usize,
15288 concat!("Size of: ", stringify!(cl_ushort16__bindgen_ty_1))
15289 );
15290 assert_eq!(
15291 ::std::mem::align_of::<cl_ushort16__bindgen_ty_1>(),
15292 2usize,
15293 concat!("Alignment of ", stringify!(cl_ushort16__bindgen_ty_1))
15294 );
15295 assert_eq!(
15296 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_1>())).x as *const _ as usize },
15297 0usize,
15298 concat!(
15299 "Offset of field: ",
15300 stringify!(cl_ushort16__bindgen_ty_1),
15301 "::",
15302 stringify!(x)
15303 )
15304 );
15305 assert_eq!(
15306 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_1>())).y as *const _ as usize },
15307 2usize,
15308 concat!(
15309 "Offset of field: ",
15310 stringify!(cl_ushort16__bindgen_ty_1),
15311 "::",
15312 stringify!(y)
15313 )
15314 );
15315 assert_eq!(
15316 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_1>())).z as *const _ as usize },
15317 4usize,
15318 concat!(
15319 "Offset of field: ",
15320 stringify!(cl_ushort16__bindgen_ty_1),
15321 "::",
15322 stringify!(z)
15323 )
15324 );
15325 assert_eq!(
15326 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_1>())).w as *const _ as usize },
15327 6usize,
15328 concat!(
15329 "Offset of field: ",
15330 stringify!(cl_ushort16__bindgen_ty_1),
15331 "::",
15332 stringify!(w)
15333 )
15334 );
15335 assert_eq!(
15336 unsafe {
15337 &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_1>())).__spacer4 as *const _ as usize
15338 },
15339 8usize,
15340 concat!(
15341 "Offset of field: ",
15342 stringify!(cl_ushort16__bindgen_ty_1),
15343 "::",
15344 stringify!(__spacer4)
15345 )
15346 );
15347 assert_eq!(
15348 unsafe {
15349 &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_1>())).__spacer5 as *const _ as usize
15350 },
15351 10usize,
15352 concat!(
15353 "Offset of field: ",
15354 stringify!(cl_ushort16__bindgen_ty_1),
15355 "::",
15356 stringify!(__spacer5)
15357 )
15358 );
15359 assert_eq!(
15360 unsafe {
15361 &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_1>())).__spacer6 as *const _ as usize
15362 },
15363 12usize,
15364 concat!(
15365 "Offset of field: ",
15366 stringify!(cl_ushort16__bindgen_ty_1),
15367 "::",
15368 stringify!(__spacer6)
15369 )
15370 );
15371 assert_eq!(
15372 unsafe {
15373 &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_1>())).__spacer7 as *const _ as usize
15374 },
15375 14usize,
15376 concat!(
15377 "Offset of field: ",
15378 stringify!(cl_ushort16__bindgen_ty_1),
15379 "::",
15380 stringify!(__spacer7)
15381 )
15382 );
15383 assert_eq!(
15384 unsafe {
15385 &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_1>())).__spacer8 as *const _ as usize
15386 },
15387 16usize,
15388 concat!(
15389 "Offset of field: ",
15390 stringify!(cl_ushort16__bindgen_ty_1),
15391 "::",
15392 stringify!(__spacer8)
15393 )
15394 );
15395 assert_eq!(
15396 unsafe {
15397 &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_1>())).__spacer9 as *const _ as usize
15398 },
15399 18usize,
15400 concat!(
15401 "Offset of field: ",
15402 stringify!(cl_ushort16__bindgen_ty_1),
15403 "::",
15404 stringify!(__spacer9)
15405 )
15406 );
15407 assert_eq!(
15408 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_1>())).sa as *const _ as usize },
15409 20usize,
15410 concat!(
15411 "Offset of field: ",
15412 stringify!(cl_ushort16__bindgen_ty_1),
15413 "::",
15414 stringify!(sa)
15415 )
15416 );
15417 assert_eq!(
15418 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_1>())).sb as *const _ as usize },
15419 22usize,
15420 concat!(
15421 "Offset of field: ",
15422 stringify!(cl_ushort16__bindgen_ty_1),
15423 "::",
15424 stringify!(sb)
15425 )
15426 );
15427 assert_eq!(
15428 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_1>())).sc as *const _ as usize },
15429 24usize,
15430 concat!(
15431 "Offset of field: ",
15432 stringify!(cl_ushort16__bindgen_ty_1),
15433 "::",
15434 stringify!(sc)
15435 )
15436 );
15437 assert_eq!(
15438 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_1>())).sd as *const _ as usize },
15439 26usize,
15440 concat!(
15441 "Offset of field: ",
15442 stringify!(cl_ushort16__bindgen_ty_1),
15443 "::",
15444 stringify!(sd)
15445 )
15446 );
15447 assert_eq!(
15448 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_1>())).se as *const _ as usize },
15449 28usize,
15450 concat!(
15451 "Offset of field: ",
15452 stringify!(cl_ushort16__bindgen_ty_1),
15453 "::",
15454 stringify!(se)
15455 )
15456 );
15457 assert_eq!(
15458 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_1>())).sf as *const _ as usize },
15459 30usize,
15460 concat!(
15461 "Offset of field: ",
15462 stringify!(cl_ushort16__bindgen_ty_1),
15463 "::",
15464 stringify!(sf)
15465 )
15466 );
15467}
15468#[repr(C)]
15469#[derive(Debug, Copy, Clone)]
15470pub struct cl_ushort16__bindgen_ty_2 {
15471 pub s0: cl_ushort,
15472 pub s1: cl_ushort,
15473 pub s2: cl_ushort,
15474 pub s3: cl_ushort,
15475 pub s4: cl_ushort,
15476 pub s5: cl_ushort,
15477 pub s6: cl_ushort,
15478 pub s7: cl_ushort,
15479 pub s8: cl_ushort,
15480 pub s9: cl_ushort,
15481 pub sA: cl_ushort,
15482 pub sB: cl_ushort,
15483 pub sC: cl_ushort,
15484 pub sD: cl_ushort,
15485 pub sE: cl_ushort,
15486 pub sF: cl_ushort,
15487}
15488#[test]
15489fn bindgen_test_layout_cl_ushort16__bindgen_ty_2() {
15490 assert_eq!(
15491 ::std::mem::size_of::<cl_ushort16__bindgen_ty_2>(),
15492 32usize,
15493 concat!("Size of: ", stringify!(cl_ushort16__bindgen_ty_2))
15494 );
15495 assert_eq!(
15496 ::std::mem::align_of::<cl_ushort16__bindgen_ty_2>(),
15497 2usize,
15498 concat!("Alignment of ", stringify!(cl_ushort16__bindgen_ty_2))
15499 );
15500 assert_eq!(
15501 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_2>())).s0 as *const _ as usize },
15502 0usize,
15503 concat!(
15504 "Offset of field: ",
15505 stringify!(cl_ushort16__bindgen_ty_2),
15506 "::",
15507 stringify!(s0)
15508 )
15509 );
15510 assert_eq!(
15511 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_2>())).s1 as *const _ as usize },
15512 2usize,
15513 concat!(
15514 "Offset of field: ",
15515 stringify!(cl_ushort16__bindgen_ty_2),
15516 "::",
15517 stringify!(s1)
15518 )
15519 );
15520 assert_eq!(
15521 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_2>())).s2 as *const _ as usize },
15522 4usize,
15523 concat!(
15524 "Offset of field: ",
15525 stringify!(cl_ushort16__bindgen_ty_2),
15526 "::",
15527 stringify!(s2)
15528 )
15529 );
15530 assert_eq!(
15531 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_2>())).s3 as *const _ as usize },
15532 6usize,
15533 concat!(
15534 "Offset of field: ",
15535 stringify!(cl_ushort16__bindgen_ty_2),
15536 "::",
15537 stringify!(s3)
15538 )
15539 );
15540 assert_eq!(
15541 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_2>())).s4 as *const _ as usize },
15542 8usize,
15543 concat!(
15544 "Offset of field: ",
15545 stringify!(cl_ushort16__bindgen_ty_2),
15546 "::",
15547 stringify!(s4)
15548 )
15549 );
15550 assert_eq!(
15551 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_2>())).s5 as *const _ as usize },
15552 10usize,
15553 concat!(
15554 "Offset of field: ",
15555 stringify!(cl_ushort16__bindgen_ty_2),
15556 "::",
15557 stringify!(s5)
15558 )
15559 );
15560 assert_eq!(
15561 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_2>())).s6 as *const _ as usize },
15562 12usize,
15563 concat!(
15564 "Offset of field: ",
15565 stringify!(cl_ushort16__bindgen_ty_2),
15566 "::",
15567 stringify!(s6)
15568 )
15569 );
15570 assert_eq!(
15571 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_2>())).s7 as *const _ as usize },
15572 14usize,
15573 concat!(
15574 "Offset of field: ",
15575 stringify!(cl_ushort16__bindgen_ty_2),
15576 "::",
15577 stringify!(s7)
15578 )
15579 );
15580 assert_eq!(
15581 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_2>())).s8 as *const _ as usize },
15582 16usize,
15583 concat!(
15584 "Offset of field: ",
15585 stringify!(cl_ushort16__bindgen_ty_2),
15586 "::",
15587 stringify!(s8)
15588 )
15589 );
15590 assert_eq!(
15591 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_2>())).s9 as *const _ as usize },
15592 18usize,
15593 concat!(
15594 "Offset of field: ",
15595 stringify!(cl_ushort16__bindgen_ty_2),
15596 "::",
15597 stringify!(s9)
15598 )
15599 );
15600 assert_eq!(
15601 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_2>())).sA as *const _ as usize },
15602 20usize,
15603 concat!(
15604 "Offset of field: ",
15605 stringify!(cl_ushort16__bindgen_ty_2),
15606 "::",
15607 stringify!(sA)
15608 )
15609 );
15610 assert_eq!(
15611 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_2>())).sB as *const _ as usize },
15612 22usize,
15613 concat!(
15614 "Offset of field: ",
15615 stringify!(cl_ushort16__bindgen_ty_2),
15616 "::",
15617 stringify!(sB)
15618 )
15619 );
15620 assert_eq!(
15621 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_2>())).sC as *const _ as usize },
15622 24usize,
15623 concat!(
15624 "Offset of field: ",
15625 stringify!(cl_ushort16__bindgen_ty_2),
15626 "::",
15627 stringify!(sC)
15628 )
15629 );
15630 assert_eq!(
15631 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_2>())).sD as *const _ as usize },
15632 26usize,
15633 concat!(
15634 "Offset of field: ",
15635 stringify!(cl_ushort16__bindgen_ty_2),
15636 "::",
15637 stringify!(sD)
15638 )
15639 );
15640 assert_eq!(
15641 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_2>())).sE as *const _ as usize },
15642 28usize,
15643 concat!(
15644 "Offset of field: ",
15645 stringify!(cl_ushort16__bindgen_ty_2),
15646 "::",
15647 stringify!(sE)
15648 )
15649 );
15650 assert_eq!(
15651 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_2>())).sF as *const _ as usize },
15652 30usize,
15653 concat!(
15654 "Offset of field: ",
15655 stringify!(cl_ushort16__bindgen_ty_2),
15656 "::",
15657 stringify!(sF)
15658 )
15659 );
15660}
15661#[repr(C)]
15662#[repr(align(16))]
15663#[derive(Copy, Clone)]
15664pub struct cl_ushort16__bindgen_ty_3 {
15665 pub lo: cl_ushort8,
15666 pub hi: cl_ushort8,
15667}
15668#[test]
15669fn bindgen_test_layout_cl_ushort16__bindgen_ty_3() {
15670 assert_eq!(
15671 ::std::mem::size_of::<cl_ushort16__bindgen_ty_3>(),
15672 32usize,
15673 concat!("Size of: ", stringify!(cl_ushort16__bindgen_ty_3))
15674 );
15675 assert_eq!(
15676 ::std::mem::align_of::<cl_ushort16__bindgen_ty_3>(),
15677 16usize,
15678 concat!("Alignment of ", stringify!(cl_ushort16__bindgen_ty_3))
15679 );
15680 assert_eq!(
15681 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_3>())).lo as *const _ as usize },
15682 0usize,
15683 concat!(
15684 "Offset of field: ",
15685 stringify!(cl_ushort16__bindgen_ty_3),
15686 "::",
15687 stringify!(lo)
15688 )
15689 );
15690 assert_eq!(
15691 unsafe { &(*(::std::ptr::null::<cl_ushort16__bindgen_ty_3>())).hi as *const _ as usize },
15692 16usize,
15693 concat!(
15694 "Offset of field: ",
15695 stringify!(cl_ushort16__bindgen_ty_3),
15696 "::",
15697 stringify!(hi)
15698 )
15699 );
15700}
15701#[test]
15702fn bindgen_test_layout_cl_ushort16() {
15703 assert_eq!(
15704 ::std::mem::size_of::<cl_ushort16>(),
15705 32usize,
15706 concat!("Size of: ", stringify!(cl_ushort16))
15707 );
15708 assert_eq!(
15709 ::std::mem::align_of::<cl_ushort16>(),
15710 32usize,
15711 concat!("Alignment of ", stringify!(cl_ushort16))
15712 );
15713 assert_eq!(
15714 unsafe { &(*(::std::ptr::null::<cl_ushort16>())).s as *const _ as usize },
15715 0usize,
15716 concat!(
15717 "Offset of field: ",
15718 stringify!(cl_ushort16),
15719 "::",
15720 stringify!(s)
15721 )
15722 );
15723 assert_eq!(
15724 unsafe { &(*(::std::ptr::null::<cl_ushort16>())).v4 as *const _ as usize },
15725 0usize,
15726 concat!(
15727 "Offset of field: ",
15728 stringify!(cl_ushort16),
15729 "::",
15730 stringify!(v4)
15731 )
15732 );
15733 assert_eq!(
15734 unsafe { &(*(::std::ptr::null::<cl_ushort16>())).v8 as *const _ as usize },
15735 0usize,
15736 concat!(
15737 "Offset of field: ",
15738 stringify!(cl_ushort16),
15739 "::",
15740 stringify!(v8)
15741 )
15742 );
15743}
15744#[repr(C)]
15745#[derive(Copy, Clone)]
15746pub union cl_half2 {
15747 pub s: [cl_half; 2usize],
15748 pub __bindgen_anon_1: cl_half2__bindgen_ty_1,
15749 pub __bindgen_anon_2: cl_half2__bindgen_ty_2,
15750 pub __bindgen_anon_3: cl_half2__bindgen_ty_3,
15751 _bindgen_union_align: u32,
15752}
15753#[repr(C)]
15754#[derive(Debug, Copy, Clone)]
15755pub struct cl_half2__bindgen_ty_1 {
15756 pub x: cl_half,
15757 pub y: cl_half,
15758}
15759#[test]
15760fn bindgen_test_layout_cl_half2__bindgen_ty_1() {
15761 assert_eq!(
15762 ::std::mem::size_of::<cl_half2__bindgen_ty_1>(),
15763 4usize,
15764 concat!("Size of: ", stringify!(cl_half2__bindgen_ty_1))
15765 );
15766 assert_eq!(
15767 ::std::mem::align_of::<cl_half2__bindgen_ty_1>(),
15768 2usize,
15769 concat!("Alignment of ", stringify!(cl_half2__bindgen_ty_1))
15770 );
15771 assert_eq!(
15772 unsafe { &(*(::std::ptr::null::<cl_half2__bindgen_ty_1>())).x as *const _ as usize },
15773 0usize,
15774 concat!(
15775 "Offset of field: ",
15776 stringify!(cl_half2__bindgen_ty_1),
15777 "::",
15778 stringify!(x)
15779 )
15780 );
15781 assert_eq!(
15782 unsafe { &(*(::std::ptr::null::<cl_half2__bindgen_ty_1>())).y as *const _ as usize },
15783 2usize,
15784 concat!(
15785 "Offset of field: ",
15786 stringify!(cl_half2__bindgen_ty_1),
15787 "::",
15788 stringify!(y)
15789 )
15790 );
15791}
15792#[repr(C)]
15793#[derive(Debug, Copy, Clone)]
15794pub struct cl_half2__bindgen_ty_2 {
15795 pub s0: cl_half,
15796 pub s1: cl_half,
15797}
15798#[test]
15799fn bindgen_test_layout_cl_half2__bindgen_ty_2() {
15800 assert_eq!(
15801 ::std::mem::size_of::<cl_half2__bindgen_ty_2>(),
15802 4usize,
15803 concat!("Size of: ", stringify!(cl_half2__bindgen_ty_2))
15804 );
15805 assert_eq!(
15806 ::std::mem::align_of::<cl_half2__bindgen_ty_2>(),
15807 2usize,
15808 concat!("Alignment of ", stringify!(cl_half2__bindgen_ty_2))
15809 );
15810 assert_eq!(
15811 unsafe { &(*(::std::ptr::null::<cl_half2__bindgen_ty_2>())).s0 as *const _ as usize },
15812 0usize,
15813 concat!(
15814 "Offset of field: ",
15815 stringify!(cl_half2__bindgen_ty_2),
15816 "::",
15817 stringify!(s0)
15818 )
15819 );
15820 assert_eq!(
15821 unsafe { &(*(::std::ptr::null::<cl_half2__bindgen_ty_2>())).s1 as *const _ as usize },
15822 2usize,
15823 concat!(
15824 "Offset of field: ",
15825 stringify!(cl_half2__bindgen_ty_2),
15826 "::",
15827 stringify!(s1)
15828 )
15829 );
15830}
15831#[repr(C)]
15832#[derive(Debug, Copy, Clone)]
15833pub struct cl_half2__bindgen_ty_3 {
15834 pub lo: cl_half,
15835 pub hi: cl_half,
15836}
15837#[test]
15838fn bindgen_test_layout_cl_half2__bindgen_ty_3() {
15839 assert_eq!(
15840 ::std::mem::size_of::<cl_half2__bindgen_ty_3>(),
15841 4usize,
15842 concat!("Size of: ", stringify!(cl_half2__bindgen_ty_3))
15843 );
15844 assert_eq!(
15845 ::std::mem::align_of::<cl_half2__bindgen_ty_3>(),
15846 2usize,
15847 concat!("Alignment of ", stringify!(cl_half2__bindgen_ty_3))
15848 );
15849 assert_eq!(
15850 unsafe { &(*(::std::ptr::null::<cl_half2__bindgen_ty_3>())).lo as *const _ as usize },
15851 0usize,
15852 concat!(
15853 "Offset of field: ",
15854 stringify!(cl_half2__bindgen_ty_3),
15855 "::",
15856 stringify!(lo)
15857 )
15858 );
15859 assert_eq!(
15860 unsafe { &(*(::std::ptr::null::<cl_half2__bindgen_ty_3>())).hi as *const _ as usize },
15861 2usize,
15862 concat!(
15863 "Offset of field: ",
15864 stringify!(cl_half2__bindgen_ty_3),
15865 "::",
15866 stringify!(hi)
15867 )
15868 );
15869}
15870#[test]
15871fn bindgen_test_layout_cl_half2() {
15872 assert_eq!(
15873 ::std::mem::size_of::<cl_half2>(),
15874 4usize,
15875 concat!("Size of: ", stringify!(cl_half2))
15876 );
15877 assert_eq!(
15878 ::std::mem::align_of::<cl_half2>(),
15879 4usize,
15880 concat!("Alignment of ", stringify!(cl_half2))
15881 );
15882 assert_eq!(
15883 unsafe { &(*(::std::ptr::null::<cl_half2>())).s as *const _ as usize },
15884 0usize,
15885 concat!(
15886 "Offset of field: ",
15887 stringify!(cl_half2),
15888 "::",
15889 stringify!(s)
15890 )
15891 );
15892}
15893#[repr(C)]
15894#[derive(Copy, Clone)]
15895pub union cl_half4 {
15896 pub s: [cl_half; 4usize],
15897 pub __bindgen_anon_1: cl_half4__bindgen_ty_1,
15898 pub __bindgen_anon_2: cl_half4__bindgen_ty_2,
15899 pub __bindgen_anon_3: cl_half4__bindgen_ty_3,
15900 _bindgen_union_align: u64,
15901}
15902#[repr(C)]
15903#[derive(Debug, Copy, Clone)]
15904pub struct cl_half4__bindgen_ty_1 {
15905 pub x: cl_half,
15906 pub y: cl_half,
15907 pub z: cl_half,
15908 pub w: cl_half,
15909}
15910#[test]
15911fn bindgen_test_layout_cl_half4__bindgen_ty_1() {
15912 assert_eq!(
15913 ::std::mem::size_of::<cl_half4__bindgen_ty_1>(),
15914 8usize,
15915 concat!("Size of: ", stringify!(cl_half4__bindgen_ty_1))
15916 );
15917 assert_eq!(
15918 ::std::mem::align_of::<cl_half4__bindgen_ty_1>(),
15919 2usize,
15920 concat!("Alignment of ", stringify!(cl_half4__bindgen_ty_1))
15921 );
15922 assert_eq!(
15923 unsafe { &(*(::std::ptr::null::<cl_half4__bindgen_ty_1>())).x as *const _ as usize },
15924 0usize,
15925 concat!(
15926 "Offset of field: ",
15927 stringify!(cl_half4__bindgen_ty_1),
15928 "::",
15929 stringify!(x)
15930 )
15931 );
15932 assert_eq!(
15933 unsafe { &(*(::std::ptr::null::<cl_half4__bindgen_ty_1>())).y as *const _ as usize },
15934 2usize,
15935 concat!(
15936 "Offset of field: ",
15937 stringify!(cl_half4__bindgen_ty_1),
15938 "::",
15939 stringify!(y)
15940 )
15941 );
15942 assert_eq!(
15943 unsafe { &(*(::std::ptr::null::<cl_half4__bindgen_ty_1>())).z as *const _ as usize },
15944 4usize,
15945 concat!(
15946 "Offset of field: ",
15947 stringify!(cl_half4__bindgen_ty_1),
15948 "::",
15949 stringify!(z)
15950 )
15951 );
15952 assert_eq!(
15953 unsafe { &(*(::std::ptr::null::<cl_half4__bindgen_ty_1>())).w as *const _ as usize },
15954 6usize,
15955 concat!(
15956 "Offset of field: ",
15957 stringify!(cl_half4__bindgen_ty_1),
15958 "::",
15959 stringify!(w)
15960 )
15961 );
15962}
15963#[repr(C)]
15964#[derive(Debug, Copy, Clone)]
15965pub struct cl_half4__bindgen_ty_2 {
15966 pub s0: cl_half,
15967 pub s1: cl_half,
15968 pub s2: cl_half,
15969 pub s3: cl_half,
15970}
15971#[test]
15972fn bindgen_test_layout_cl_half4__bindgen_ty_2() {
15973 assert_eq!(
15974 ::std::mem::size_of::<cl_half4__bindgen_ty_2>(),
15975 8usize,
15976 concat!("Size of: ", stringify!(cl_half4__bindgen_ty_2))
15977 );
15978 assert_eq!(
15979 ::std::mem::align_of::<cl_half4__bindgen_ty_2>(),
15980 2usize,
15981 concat!("Alignment of ", stringify!(cl_half4__bindgen_ty_2))
15982 );
15983 assert_eq!(
15984 unsafe { &(*(::std::ptr::null::<cl_half4__bindgen_ty_2>())).s0 as *const _ as usize },
15985 0usize,
15986 concat!(
15987 "Offset of field: ",
15988 stringify!(cl_half4__bindgen_ty_2),
15989 "::",
15990 stringify!(s0)
15991 )
15992 );
15993 assert_eq!(
15994 unsafe { &(*(::std::ptr::null::<cl_half4__bindgen_ty_2>())).s1 as *const _ as usize },
15995 2usize,
15996 concat!(
15997 "Offset of field: ",
15998 stringify!(cl_half4__bindgen_ty_2),
15999 "::",
16000 stringify!(s1)
16001 )
16002 );
16003 assert_eq!(
16004 unsafe { &(*(::std::ptr::null::<cl_half4__bindgen_ty_2>())).s2 as *const _ as usize },
16005 4usize,
16006 concat!(
16007 "Offset of field: ",
16008 stringify!(cl_half4__bindgen_ty_2),
16009 "::",
16010 stringify!(s2)
16011 )
16012 );
16013 assert_eq!(
16014 unsafe { &(*(::std::ptr::null::<cl_half4__bindgen_ty_2>())).s3 as *const _ as usize },
16015 6usize,
16016 concat!(
16017 "Offset of field: ",
16018 stringify!(cl_half4__bindgen_ty_2),
16019 "::",
16020 stringify!(s3)
16021 )
16022 );
16023}
16024#[repr(C)]
16025#[derive(Copy, Clone)]
16026pub struct cl_half4__bindgen_ty_3 {
16027 pub lo: cl_half2,
16028 pub hi: cl_half2,
16029}
16030#[test]
16031fn bindgen_test_layout_cl_half4__bindgen_ty_3() {
16032 assert_eq!(
16033 ::std::mem::size_of::<cl_half4__bindgen_ty_3>(),
16034 8usize,
16035 concat!("Size of: ", stringify!(cl_half4__bindgen_ty_3))
16036 );
16037 assert_eq!(
16038 ::std::mem::align_of::<cl_half4__bindgen_ty_3>(),
16039 4usize,
16040 concat!("Alignment of ", stringify!(cl_half4__bindgen_ty_3))
16041 );
16042 assert_eq!(
16043 unsafe { &(*(::std::ptr::null::<cl_half4__bindgen_ty_3>())).lo as *const _ as usize },
16044 0usize,
16045 concat!(
16046 "Offset of field: ",
16047 stringify!(cl_half4__bindgen_ty_3),
16048 "::",
16049 stringify!(lo)
16050 )
16051 );
16052 assert_eq!(
16053 unsafe { &(*(::std::ptr::null::<cl_half4__bindgen_ty_3>())).hi as *const _ as usize },
16054 4usize,
16055 concat!(
16056 "Offset of field: ",
16057 stringify!(cl_half4__bindgen_ty_3),
16058 "::",
16059 stringify!(hi)
16060 )
16061 );
16062}
16063#[test]
16064fn bindgen_test_layout_cl_half4() {
16065 assert_eq!(
16066 ::std::mem::size_of::<cl_half4>(),
16067 8usize,
16068 concat!("Size of: ", stringify!(cl_half4))
16069 );
16070 assert_eq!(
16071 ::std::mem::align_of::<cl_half4>(),
16072 8usize,
16073 concat!("Alignment of ", stringify!(cl_half4))
16074 );
16075 assert_eq!(
16076 unsafe { &(*(::std::ptr::null::<cl_half4>())).s as *const _ as usize },
16077 0usize,
16078 concat!(
16079 "Offset of field: ",
16080 stringify!(cl_half4),
16081 "::",
16082 stringify!(s)
16083 )
16084 );
16085}
16086pub type cl_half3 = cl_half4;
16087#[repr(C)]
16088#[repr(align(16))]
16089#[derive(Copy, Clone)]
16090pub union cl_half8 {
16091 pub s: [cl_half; 8usize],
16092 pub __bindgen_anon_1: cl_half8__bindgen_ty_1,
16093 pub __bindgen_anon_2: cl_half8__bindgen_ty_2,
16094 pub __bindgen_anon_3: cl_half8__bindgen_ty_3,
16095 _bindgen_union_align: u128,
16096}
16097#[repr(C)]
16098#[derive(Debug, Copy, Clone)]
16099pub struct cl_half8__bindgen_ty_1 {
16100 pub x: cl_half,
16101 pub y: cl_half,
16102 pub z: cl_half,
16103 pub w: cl_half,
16104}
16105#[test]
16106fn bindgen_test_layout_cl_half8__bindgen_ty_1() {
16107 assert_eq!(
16108 ::std::mem::size_of::<cl_half8__bindgen_ty_1>(),
16109 8usize,
16110 concat!("Size of: ", stringify!(cl_half8__bindgen_ty_1))
16111 );
16112 assert_eq!(
16113 ::std::mem::align_of::<cl_half8__bindgen_ty_1>(),
16114 2usize,
16115 concat!("Alignment of ", stringify!(cl_half8__bindgen_ty_1))
16116 );
16117 assert_eq!(
16118 unsafe { &(*(::std::ptr::null::<cl_half8__bindgen_ty_1>())).x as *const _ as usize },
16119 0usize,
16120 concat!(
16121 "Offset of field: ",
16122 stringify!(cl_half8__bindgen_ty_1),
16123 "::",
16124 stringify!(x)
16125 )
16126 );
16127 assert_eq!(
16128 unsafe { &(*(::std::ptr::null::<cl_half8__bindgen_ty_1>())).y as *const _ as usize },
16129 2usize,
16130 concat!(
16131 "Offset of field: ",
16132 stringify!(cl_half8__bindgen_ty_1),
16133 "::",
16134 stringify!(y)
16135 )
16136 );
16137 assert_eq!(
16138 unsafe { &(*(::std::ptr::null::<cl_half8__bindgen_ty_1>())).z as *const _ as usize },
16139 4usize,
16140 concat!(
16141 "Offset of field: ",
16142 stringify!(cl_half8__bindgen_ty_1),
16143 "::",
16144 stringify!(z)
16145 )
16146 );
16147 assert_eq!(
16148 unsafe { &(*(::std::ptr::null::<cl_half8__bindgen_ty_1>())).w as *const _ as usize },
16149 6usize,
16150 concat!(
16151 "Offset of field: ",
16152 stringify!(cl_half8__bindgen_ty_1),
16153 "::",
16154 stringify!(w)
16155 )
16156 );
16157}
16158#[repr(C)]
16159#[derive(Debug, Copy, Clone)]
16160pub struct cl_half8__bindgen_ty_2 {
16161 pub s0: cl_half,
16162 pub s1: cl_half,
16163 pub s2: cl_half,
16164 pub s3: cl_half,
16165 pub s4: cl_half,
16166 pub s5: cl_half,
16167 pub s6: cl_half,
16168 pub s7: cl_half,
16169}
16170#[test]
16171fn bindgen_test_layout_cl_half8__bindgen_ty_2() {
16172 assert_eq!(
16173 ::std::mem::size_of::<cl_half8__bindgen_ty_2>(),
16174 16usize,
16175 concat!("Size of: ", stringify!(cl_half8__bindgen_ty_2))
16176 );
16177 assert_eq!(
16178 ::std::mem::align_of::<cl_half8__bindgen_ty_2>(),
16179 2usize,
16180 concat!("Alignment of ", stringify!(cl_half8__bindgen_ty_2))
16181 );
16182 assert_eq!(
16183 unsafe { &(*(::std::ptr::null::<cl_half8__bindgen_ty_2>())).s0 as *const _ as usize },
16184 0usize,
16185 concat!(
16186 "Offset of field: ",
16187 stringify!(cl_half8__bindgen_ty_2),
16188 "::",
16189 stringify!(s0)
16190 )
16191 );
16192 assert_eq!(
16193 unsafe { &(*(::std::ptr::null::<cl_half8__bindgen_ty_2>())).s1 as *const _ as usize },
16194 2usize,
16195 concat!(
16196 "Offset of field: ",
16197 stringify!(cl_half8__bindgen_ty_2),
16198 "::",
16199 stringify!(s1)
16200 )
16201 );
16202 assert_eq!(
16203 unsafe { &(*(::std::ptr::null::<cl_half8__bindgen_ty_2>())).s2 as *const _ as usize },
16204 4usize,
16205 concat!(
16206 "Offset of field: ",
16207 stringify!(cl_half8__bindgen_ty_2),
16208 "::",
16209 stringify!(s2)
16210 )
16211 );
16212 assert_eq!(
16213 unsafe { &(*(::std::ptr::null::<cl_half8__bindgen_ty_2>())).s3 as *const _ as usize },
16214 6usize,
16215 concat!(
16216 "Offset of field: ",
16217 stringify!(cl_half8__bindgen_ty_2),
16218 "::",
16219 stringify!(s3)
16220 )
16221 );
16222 assert_eq!(
16223 unsafe { &(*(::std::ptr::null::<cl_half8__bindgen_ty_2>())).s4 as *const _ as usize },
16224 8usize,
16225 concat!(
16226 "Offset of field: ",
16227 stringify!(cl_half8__bindgen_ty_2),
16228 "::",
16229 stringify!(s4)
16230 )
16231 );
16232 assert_eq!(
16233 unsafe { &(*(::std::ptr::null::<cl_half8__bindgen_ty_2>())).s5 as *const _ as usize },
16234 10usize,
16235 concat!(
16236 "Offset of field: ",
16237 stringify!(cl_half8__bindgen_ty_2),
16238 "::",
16239 stringify!(s5)
16240 )
16241 );
16242 assert_eq!(
16243 unsafe { &(*(::std::ptr::null::<cl_half8__bindgen_ty_2>())).s6 as *const _ as usize },
16244 12usize,
16245 concat!(
16246 "Offset of field: ",
16247 stringify!(cl_half8__bindgen_ty_2),
16248 "::",
16249 stringify!(s6)
16250 )
16251 );
16252 assert_eq!(
16253 unsafe { &(*(::std::ptr::null::<cl_half8__bindgen_ty_2>())).s7 as *const _ as usize },
16254 14usize,
16255 concat!(
16256 "Offset of field: ",
16257 stringify!(cl_half8__bindgen_ty_2),
16258 "::",
16259 stringify!(s7)
16260 )
16261 );
16262}
16263#[repr(C)]
16264#[derive(Copy, Clone)]
16265pub struct cl_half8__bindgen_ty_3 {
16266 pub lo: cl_half4,
16267 pub hi: cl_half4,
16268}
16269#[test]
16270fn bindgen_test_layout_cl_half8__bindgen_ty_3() {
16271 assert_eq!(
16272 ::std::mem::size_of::<cl_half8__bindgen_ty_3>(),
16273 16usize,
16274 concat!("Size of: ", stringify!(cl_half8__bindgen_ty_3))
16275 );
16276 assert_eq!(
16277 ::std::mem::align_of::<cl_half8__bindgen_ty_3>(),
16278 8usize,
16279 concat!("Alignment of ", stringify!(cl_half8__bindgen_ty_3))
16280 );
16281 assert_eq!(
16282 unsafe { &(*(::std::ptr::null::<cl_half8__bindgen_ty_3>())).lo as *const _ as usize },
16283 0usize,
16284 concat!(
16285 "Offset of field: ",
16286 stringify!(cl_half8__bindgen_ty_3),
16287 "::",
16288 stringify!(lo)
16289 )
16290 );
16291 assert_eq!(
16292 unsafe { &(*(::std::ptr::null::<cl_half8__bindgen_ty_3>())).hi as *const _ as usize },
16293 8usize,
16294 concat!(
16295 "Offset of field: ",
16296 stringify!(cl_half8__bindgen_ty_3),
16297 "::",
16298 stringify!(hi)
16299 )
16300 );
16301}
16302#[test]
16303fn bindgen_test_layout_cl_half8() {
16304 assert_eq!(
16305 ::std::mem::size_of::<cl_half8>(),
16306 16usize,
16307 concat!("Size of: ", stringify!(cl_half8))
16308 );
16309 assert_eq!(
16310 ::std::mem::align_of::<cl_half8>(),
16311 16usize,
16312 concat!("Alignment of ", stringify!(cl_half8))
16313 );
16314 assert_eq!(
16315 unsafe { &(*(::std::ptr::null::<cl_half8>())).s as *const _ as usize },
16316 0usize,
16317 concat!(
16318 "Offset of field: ",
16319 stringify!(cl_half8),
16320 "::",
16321 stringify!(s)
16322 )
16323 );
16324}
16325#[repr(C)]
16326#[repr(align(32))]
16327#[derive(Copy, Clone)]
16328pub union cl_half16 {
16329 pub s: [cl_half; 16usize],
16330 pub __bindgen_anon_1: cl_half16__bindgen_ty_1,
16331 pub __bindgen_anon_2: cl_half16__bindgen_ty_2,
16332 pub __bindgen_anon_3: cl_half16__bindgen_ty_3,
16333 _bindgen_union_align: [u8; 32usize],
16334}
16335#[repr(C)]
16336#[derive(Debug, Copy, Clone)]
16337pub struct cl_half16__bindgen_ty_1 {
16338 pub x: cl_half,
16339 pub y: cl_half,
16340 pub z: cl_half,
16341 pub w: cl_half,
16342 pub __spacer4: cl_half,
16343 pub __spacer5: cl_half,
16344 pub __spacer6: cl_half,
16345 pub __spacer7: cl_half,
16346 pub __spacer8: cl_half,
16347 pub __spacer9: cl_half,
16348 pub sa: cl_half,
16349 pub sb: cl_half,
16350 pub sc: cl_half,
16351 pub sd: cl_half,
16352 pub se: cl_half,
16353 pub sf: cl_half,
16354}
16355#[test]
16356fn bindgen_test_layout_cl_half16__bindgen_ty_1() {
16357 assert_eq!(
16358 ::std::mem::size_of::<cl_half16__bindgen_ty_1>(),
16359 32usize,
16360 concat!("Size of: ", stringify!(cl_half16__bindgen_ty_1))
16361 );
16362 assert_eq!(
16363 ::std::mem::align_of::<cl_half16__bindgen_ty_1>(),
16364 2usize,
16365 concat!("Alignment of ", stringify!(cl_half16__bindgen_ty_1))
16366 );
16367 assert_eq!(
16368 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_1>())).x as *const _ as usize },
16369 0usize,
16370 concat!(
16371 "Offset of field: ",
16372 stringify!(cl_half16__bindgen_ty_1),
16373 "::",
16374 stringify!(x)
16375 )
16376 );
16377 assert_eq!(
16378 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_1>())).y as *const _ as usize },
16379 2usize,
16380 concat!(
16381 "Offset of field: ",
16382 stringify!(cl_half16__bindgen_ty_1),
16383 "::",
16384 stringify!(y)
16385 )
16386 );
16387 assert_eq!(
16388 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_1>())).z as *const _ as usize },
16389 4usize,
16390 concat!(
16391 "Offset of field: ",
16392 stringify!(cl_half16__bindgen_ty_1),
16393 "::",
16394 stringify!(z)
16395 )
16396 );
16397 assert_eq!(
16398 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_1>())).w as *const _ as usize },
16399 6usize,
16400 concat!(
16401 "Offset of field: ",
16402 stringify!(cl_half16__bindgen_ty_1),
16403 "::",
16404 stringify!(w)
16405 )
16406 );
16407 assert_eq!(
16408 unsafe {
16409 &(*(::std::ptr::null::<cl_half16__bindgen_ty_1>())).__spacer4 as *const _ as usize
16410 },
16411 8usize,
16412 concat!(
16413 "Offset of field: ",
16414 stringify!(cl_half16__bindgen_ty_1),
16415 "::",
16416 stringify!(__spacer4)
16417 )
16418 );
16419 assert_eq!(
16420 unsafe {
16421 &(*(::std::ptr::null::<cl_half16__bindgen_ty_1>())).__spacer5 as *const _ as usize
16422 },
16423 10usize,
16424 concat!(
16425 "Offset of field: ",
16426 stringify!(cl_half16__bindgen_ty_1),
16427 "::",
16428 stringify!(__spacer5)
16429 )
16430 );
16431 assert_eq!(
16432 unsafe {
16433 &(*(::std::ptr::null::<cl_half16__bindgen_ty_1>())).__spacer6 as *const _ as usize
16434 },
16435 12usize,
16436 concat!(
16437 "Offset of field: ",
16438 stringify!(cl_half16__bindgen_ty_1),
16439 "::",
16440 stringify!(__spacer6)
16441 )
16442 );
16443 assert_eq!(
16444 unsafe {
16445 &(*(::std::ptr::null::<cl_half16__bindgen_ty_1>())).__spacer7 as *const _ as usize
16446 },
16447 14usize,
16448 concat!(
16449 "Offset of field: ",
16450 stringify!(cl_half16__bindgen_ty_1),
16451 "::",
16452 stringify!(__spacer7)
16453 )
16454 );
16455 assert_eq!(
16456 unsafe {
16457 &(*(::std::ptr::null::<cl_half16__bindgen_ty_1>())).__spacer8 as *const _ as usize
16458 },
16459 16usize,
16460 concat!(
16461 "Offset of field: ",
16462 stringify!(cl_half16__bindgen_ty_1),
16463 "::",
16464 stringify!(__spacer8)
16465 )
16466 );
16467 assert_eq!(
16468 unsafe {
16469 &(*(::std::ptr::null::<cl_half16__bindgen_ty_1>())).__spacer9 as *const _ as usize
16470 },
16471 18usize,
16472 concat!(
16473 "Offset of field: ",
16474 stringify!(cl_half16__bindgen_ty_1),
16475 "::",
16476 stringify!(__spacer9)
16477 )
16478 );
16479 assert_eq!(
16480 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_1>())).sa as *const _ as usize },
16481 20usize,
16482 concat!(
16483 "Offset of field: ",
16484 stringify!(cl_half16__bindgen_ty_1),
16485 "::",
16486 stringify!(sa)
16487 )
16488 );
16489 assert_eq!(
16490 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_1>())).sb as *const _ as usize },
16491 22usize,
16492 concat!(
16493 "Offset of field: ",
16494 stringify!(cl_half16__bindgen_ty_1),
16495 "::",
16496 stringify!(sb)
16497 )
16498 );
16499 assert_eq!(
16500 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_1>())).sc as *const _ as usize },
16501 24usize,
16502 concat!(
16503 "Offset of field: ",
16504 stringify!(cl_half16__bindgen_ty_1),
16505 "::",
16506 stringify!(sc)
16507 )
16508 );
16509 assert_eq!(
16510 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_1>())).sd as *const _ as usize },
16511 26usize,
16512 concat!(
16513 "Offset of field: ",
16514 stringify!(cl_half16__bindgen_ty_1),
16515 "::",
16516 stringify!(sd)
16517 )
16518 );
16519 assert_eq!(
16520 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_1>())).se as *const _ as usize },
16521 28usize,
16522 concat!(
16523 "Offset of field: ",
16524 stringify!(cl_half16__bindgen_ty_1),
16525 "::",
16526 stringify!(se)
16527 )
16528 );
16529 assert_eq!(
16530 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_1>())).sf as *const _ as usize },
16531 30usize,
16532 concat!(
16533 "Offset of field: ",
16534 stringify!(cl_half16__bindgen_ty_1),
16535 "::",
16536 stringify!(sf)
16537 )
16538 );
16539}
16540#[repr(C)]
16541#[derive(Debug, Copy, Clone)]
16542pub struct cl_half16__bindgen_ty_2 {
16543 pub s0: cl_half,
16544 pub s1: cl_half,
16545 pub s2: cl_half,
16546 pub s3: cl_half,
16547 pub s4: cl_half,
16548 pub s5: cl_half,
16549 pub s6: cl_half,
16550 pub s7: cl_half,
16551 pub s8: cl_half,
16552 pub s9: cl_half,
16553 pub sA: cl_half,
16554 pub sB: cl_half,
16555 pub sC: cl_half,
16556 pub sD: cl_half,
16557 pub sE: cl_half,
16558 pub sF: cl_half,
16559}
16560#[test]
16561fn bindgen_test_layout_cl_half16__bindgen_ty_2() {
16562 assert_eq!(
16563 ::std::mem::size_of::<cl_half16__bindgen_ty_2>(),
16564 32usize,
16565 concat!("Size of: ", stringify!(cl_half16__bindgen_ty_2))
16566 );
16567 assert_eq!(
16568 ::std::mem::align_of::<cl_half16__bindgen_ty_2>(),
16569 2usize,
16570 concat!("Alignment of ", stringify!(cl_half16__bindgen_ty_2))
16571 );
16572 assert_eq!(
16573 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_2>())).s0 as *const _ as usize },
16574 0usize,
16575 concat!(
16576 "Offset of field: ",
16577 stringify!(cl_half16__bindgen_ty_2),
16578 "::",
16579 stringify!(s0)
16580 )
16581 );
16582 assert_eq!(
16583 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_2>())).s1 as *const _ as usize },
16584 2usize,
16585 concat!(
16586 "Offset of field: ",
16587 stringify!(cl_half16__bindgen_ty_2),
16588 "::",
16589 stringify!(s1)
16590 )
16591 );
16592 assert_eq!(
16593 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_2>())).s2 as *const _ as usize },
16594 4usize,
16595 concat!(
16596 "Offset of field: ",
16597 stringify!(cl_half16__bindgen_ty_2),
16598 "::",
16599 stringify!(s2)
16600 )
16601 );
16602 assert_eq!(
16603 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_2>())).s3 as *const _ as usize },
16604 6usize,
16605 concat!(
16606 "Offset of field: ",
16607 stringify!(cl_half16__bindgen_ty_2),
16608 "::",
16609 stringify!(s3)
16610 )
16611 );
16612 assert_eq!(
16613 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_2>())).s4 as *const _ as usize },
16614 8usize,
16615 concat!(
16616 "Offset of field: ",
16617 stringify!(cl_half16__bindgen_ty_2),
16618 "::",
16619 stringify!(s4)
16620 )
16621 );
16622 assert_eq!(
16623 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_2>())).s5 as *const _ as usize },
16624 10usize,
16625 concat!(
16626 "Offset of field: ",
16627 stringify!(cl_half16__bindgen_ty_2),
16628 "::",
16629 stringify!(s5)
16630 )
16631 );
16632 assert_eq!(
16633 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_2>())).s6 as *const _ as usize },
16634 12usize,
16635 concat!(
16636 "Offset of field: ",
16637 stringify!(cl_half16__bindgen_ty_2),
16638 "::",
16639 stringify!(s6)
16640 )
16641 );
16642 assert_eq!(
16643 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_2>())).s7 as *const _ as usize },
16644 14usize,
16645 concat!(
16646 "Offset of field: ",
16647 stringify!(cl_half16__bindgen_ty_2),
16648 "::",
16649 stringify!(s7)
16650 )
16651 );
16652 assert_eq!(
16653 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_2>())).s8 as *const _ as usize },
16654 16usize,
16655 concat!(
16656 "Offset of field: ",
16657 stringify!(cl_half16__bindgen_ty_2),
16658 "::",
16659 stringify!(s8)
16660 )
16661 );
16662 assert_eq!(
16663 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_2>())).s9 as *const _ as usize },
16664 18usize,
16665 concat!(
16666 "Offset of field: ",
16667 stringify!(cl_half16__bindgen_ty_2),
16668 "::",
16669 stringify!(s9)
16670 )
16671 );
16672 assert_eq!(
16673 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_2>())).sA as *const _ as usize },
16674 20usize,
16675 concat!(
16676 "Offset of field: ",
16677 stringify!(cl_half16__bindgen_ty_2),
16678 "::",
16679 stringify!(sA)
16680 )
16681 );
16682 assert_eq!(
16683 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_2>())).sB as *const _ as usize },
16684 22usize,
16685 concat!(
16686 "Offset of field: ",
16687 stringify!(cl_half16__bindgen_ty_2),
16688 "::",
16689 stringify!(sB)
16690 )
16691 );
16692 assert_eq!(
16693 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_2>())).sC as *const _ as usize },
16694 24usize,
16695 concat!(
16696 "Offset of field: ",
16697 stringify!(cl_half16__bindgen_ty_2),
16698 "::",
16699 stringify!(sC)
16700 )
16701 );
16702 assert_eq!(
16703 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_2>())).sD as *const _ as usize },
16704 26usize,
16705 concat!(
16706 "Offset of field: ",
16707 stringify!(cl_half16__bindgen_ty_2),
16708 "::",
16709 stringify!(sD)
16710 )
16711 );
16712 assert_eq!(
16713 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_2>())).sE as *const _ as usize },
16714 28usize,
16715 concat!(
16716 "Offset of field: ",
16717 stringify!(cl_half16__bindgen_ty_2),
16718 "::",
16719 stringify!(sE)
16720 )
16721 );
16722 assert_eq!(
16723 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_2>())).sF as *const _ as usize },
16724 30usize,
16725 concat!(
16726 "Offset of field: ",
16727 stringify!(cl_half16__bindgen_ty_2),
16728 "::",
16729 stringify!(sF)
16730 )
16731 );
16732}
16733#[repr(C)]
16734#[repr(align(16))]
16735#[derive(Copy, Clone)]
16736pub struct cl_half16__bindgen_ty_3 {
16737 pub lo: cl_half8,
16738 pub hi: cl_half8,
16739}
16740#[test]
16741fn bindgen_test_layout_cl_half16__bindgen_ty_3() {
16742 assert_eq!(
16743 ::std::mem::size_of::<cl_half16__bindgen_ty_3>(),
16744 32usize,
16745 concat!("Size of: ", stringify!(cl_half16__bindgen_ty_3))
16746 );
16747 assert_eq!(
16748 ::std::mem::align_of::<cl_half16__bindgen_ty_3>(),
16749 16usize,
16750 concat!("Alignment of ", stringify!(cl_half16__bindgen_ty_3))
16751 );
16752 assert_eq!(
16753 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_3>())).lo as *const _ as usize },
16754 0usize,
16755 concat!(
16756 "Offset of field: ",
16757 stringify!(cl_half16__bindgen_ty_3),
16758 "::",
16759 stringify!(lo)
16760 )
16761 );
16762 assert_eq!(
16763 unsafe { &(*(::std::ptr::null::<cl_half16__bindgen_ty_3>())).hi as *const _ as usize },
16764 16usize,
16765 concat!(
16766 "Offset of field: ",
16767 stringify!(cl_half16__bindgen_ty_3),
16768 "::",
16769 stringify!(hi)
16770 )
16771 );
16772}
16773#[test]
16774fn bindgen_test_layout_cl_half16() {
16775 assert_eq!(
16776 ::std::mem::size_of::<cl_half16>(),
16777 32usize,
16778 concat!("Size of: ", stringify!(cl_half16))
16779 );
16780 assert_eq!(
16781 ::std::mem::align_of::<cl_half16>(),
16782 32usize,
16783 concat!("Alignment of ", stringify!(cl_half16))
16784 );
16785 assert_eq!(
16786 unsafe { &(*(::std::ptr::null::<cl_half16>())).s as *const _ as usize },
16787 0usize,
16788 concat!(
16789 "Offset of field: ",
16790 stringify!(cl_half16),
16791 "::",
16792 stringify!(s)
16793 )
16794 );
16795}
16796#[repr(C)]
16797#[derive(Copy, Clone)]
16798pub union cl_int2 {
16799 pub s: [cl_int; 2usize],
16800 pub __bindgen_anon_1: cl_int2__bindgen_ty_1,
16801 pub __bindgen_anon_2: cl_int2__bindgen_ty_2,
16802 pub __bindgen_anon_3: cl_int2__bindgen_ty_3,
16803 pub v2: __cl_int2,
16804 _bindgen_union_align: u64,
16805}
16806#[repr(C)]
16807#[derive(Debug, Copy, Clone)]
16808pub struct cl_int2__bindgen_ty_1 {
16809 pub x: cl_int,
16810 pub y: cl_int,
16811}
16812#[test]
16813fn bindgen_test_layout_cl_int2__bindgen_ty_1() {
16814 assert_eq!(
16815 ::std::mem::size_of::<cl_int2__bindgen_ty_1>(),
16816 8usize,
16817 concat!("Size of: ", stringify!(cl_int2__bindgen_ty_1))
16818 );
16819 assert_eq!(
16820 ::std::mem::align_of::<cl_int2__bindgen_ty_1>(),
16821 4usize,
16822 concat!("Alignment of ", stringify!(cl_int2__bindgen_ty_1))
16823 );
16824 assert_eq!(
16825 unsafe { &(*(::std::ptr::null::<cl_int2__bindgen_ty_1>())).x as *const _ as usize },
16826 0usize,
16827 concat!(
16828 "Offset of field: ",
16829 stringify!(cl_int2__bindgen_ty_1),
16830 "::",
16831 stringify!(x)
16832 )
16833 );
16834 assert_eq!(
16835 unsafe { &(*(::std::ptr::null::<cl_int2__bindgen_ty_1>())).y as *const _ as usize },
16836 4usize,
16837 concat!(
16838 "Offset of field: ",
16839 stringify!(cl_int2__bindgen_ty_1),
16840 "::",
16841 stringify!(y)
16842 )
16843 );
16844}
16845#[repr(C)]
16846#[derive(Debug, Copy, Clone)]
16847pub struct cl_int2__bindgen_ty_2 {
16848 pub s0: cl_int,
16849 pub s1: cl_int,
16850}
16851#[test]
16852fn bindgen_test_layout_cl_int2__bindgen_ty_2() {
16853 assert_eq!(
16854 ::std::mem::size_of::<cl_int2__bindgen_ty_2>(),
16855 8usize,
16856 concat!("Size of: ", stringify!(cl_int2__bindgen_ty_2))
16857 );
16858 assert_eq!(
16859 ::std::mem::align_of::<cl_int2__bindgen_ty_2>(),
16860 4usize,
16861 concat!("Alignment of ", stringify!(cl_int2__bindgen_ty_2))
16862 );
16863 assert_eq!(
16864 unsafe { &(*(::std::ptr::null::<cl_int2__bindgen_ty_2>())).s0 as *const _ as usize },
16865 0usize,
16866 concat!(
16867 "Offset of field: ",
16868 stringify!(cl_int2__bindgen_ty_2),
16869 "::",
16870 stringify!(s0)
16871 )
16872 );
16873 assert_eq!(
16874 unsafe { &(*(::std::ptr::null::<cl_int2__bindgen_ty_2>())).s1 as *const _ as usize },
16875 4usize,
16876 concat!(
16877 "Offset of field: ",
16878 stringify!(cl_int2__bindgen_ty_2),
16879 "::",
16880 stringify!(s1)
16881 )
16882 );
16883}
16884#[repr(C)]
16885#[derive(Debug, Copy, Clone)]
16886pub struct cl_int2__bindgen_ty_3 {
16887 pub lo: cl_int,
16888 pub hi: cl_int,
16889}
16890#[test]
16891fn bindgen_test_layout_cl_int2__bindgen_ty_3() {
16892 assert_eq!(
16893 ::std::mem::size_of::<cl_int2__bindgen_ty_3>(),
16894 8usize,
16895 concat!("Size of: ", stringify!(cl_int2__bindgen_ty_3))
16896 );
16897 assert_eq!(
16898 ::std::mem::align_of::<cl_int2__bindgen_ty_3>(),
16899 4usize,
16900 concat!("Alignment of ", stringify!(cl_int2__bindgen_ty_3))
16901 );
16902 assert_eq!(
16903 unsafe { &(*(::std::ptr::null::<cl_int2__bindgen_ty_3>())).lo as *const _ as usize },
16904 0usize,
16905 concat!(
16906 "Offset of field: ",
16907 stringify!(cl_int2__bindgen_ty_3),
16908 "::",
16909 stringify!(lo)
16910 )
16911 );
16912 assert_eq!(
16913 unsafe { &(*(::std::ptr::null::<cl_int2__bindgen_ty_3>())).hi as *const _ as usize },
16914 4usize,
16915 concat!(
16916 "Offset of field: ",
16917 stringify!(cl_int2__bindgen_ty_3),
16918 "::",
16919 stringify!(hi)
16920 )
16921 );
16922}
16923#[test]
16924fn bindgen_test_layout_cl_int2() {
16925 assert_eq!(
16926 ::std::mem::size_of::<cl_int2>(),
16927 8usize,
16928 concat!("Size of: ", stringify!(cl_int2))
16929 );
16930 assert_eq!(
16931 ::std::mem::align_of::<cl_int2>(),
16932 8usize,
16933 concat!("Alignment of ", stringify!(cl_int2))
16934 );
16935 assert_eq!(
16936 unsafe { &(*(::std::ptr::null::<cl_int2>())).s as *const _ as usize },
16937 0usize,
16938 concat!(
16939 "Offset of field: ",
16940 stringify!(cl_int2),
16941 "::",
16942 stringify!(s)
16943 )
16944 );
16945 assert_eq!(
16946 unsafe { &(*(::std::ptr::null::<cl_int2>())).v2 as *const _ as usize },
16947 0usize,
16948 concat!(
16949 "Offset of field: ",
16950 stringify!(cl_int2),
16951 "::",
16952 stringify!(v2)
16953 )
16954 );
16955}
16956#[repr(C)]
16957#[repr(align(16))]
16958#[derive(Copy, Clone)]
16959pub union cl_int4 {
16960 pub s: [cl_int; 4usize],
16961 pub __bindgen_anon_1: cl_int4__bindgen_ty_1,
16962 pub __bindgen_anon_2: cl_int4__bindgen_ty_2,
16963 pub __bindgen_anon_3: cl_int4__bindgen_ty_3,
16964 pub v2: [__cl_int2; 2usize],
16965 pub v4: __cl_int4,
16966 _bindgen_union_align: u128,
16967}
16968#[repr(C)]
16969#[derive(Debug, Copy, Clone)]
16970pub struct cl_int4__bindgen_ty_1 {
16971 pub x: cl_int,
16972 pub y: cl_int,
16973 pub z: cl_int,
16974 pub w: cl_int,
16975}
16976#[test]
16977fn bindgen_test_layout_cl_int4__bindgen_ty_1() {
16978 assert_eq!(
16979 ::std::mem::size_of::<cl_int4__bindgen_ty_1>(),
16980 16usize,
16981 concat!("Size of: ", stringify!(cl_int4__bindgen_ty_1))
16982 );
16983 assert_eq!(
16984 ::std::mem::align_of::<cl_int4__bindgen_ty_1>(),
16985 4usize,
16986 concat!("Alignment of ", stringify!(cl_int4__bindgen_ty_1))
16987 );
16988 assert_eq!(
16989 unsafe { &(*(::std::ptr::null::<cl_int4__bindgen_ty_1>())).x as *const _ as usize },
16990 0usize,
16991 concat!(
16992 "Offset of field: ",
16993 stringify!(cl_int4__bindgen_ty_1),
16994 "::",
16995 stringify!(x)
16996 )
16997 );
16998 assert_eq!(
16999 unsafe { &(*(::std::ptr::null::<cl_int4__bindgen_ty_1>())).y as *const _ as usize },
17000 4usize,
17001 concat!(
17002 "Offset of field: ",
17003 stringify!(cl_int4__bindgen_ty_1),
17004 "::",
17005 stringify!(y)
17006 )
17007 );
17008 assert_eq!(
17009 unsafe { &(*(::std::ptr::null::<cl_int4__bindgen_ty_1>())).z as *const _ as usize },
17010 8usize,
17011 concat!(
17012 "Offset of field: ",
17013 stringify!(cl_int4__bindgen_ty_1),
17014 "::",
17015 stringify!(z)
17016 )
17017 );
17018 assert_eq!(
17019 unsafe { &(*(::std::ptr::null::<cl_int4__bindgen_ty_1>())).w as *const _ as usize },
17020 12usize,
17021 concat!(
17022 "Offset of field: ",
17023 stringify!(cl_int4__bindgen_ty_1),
17024 "::",
17025 stringify!(w)
17026 )
17027 );
17028}
17029#[repr(C)]
17030#[derive(Debug, Copy, Clone)]
17031pub struct cl_int4__bindgen_ty_2 {
17032 pub s0: cl_int,
17033 pub s1: cl_int,
17034 pub s2: cl_int,
17035 pub s3: cl_int,
17036}
17037#[test]
17038fn bindgen_test_layout_cl_int4__bindgen_ty_2() {
17039 assert_eq!(
17040 ::std::mem::size_of::<cl_int4__bindgen_ty_2>(),
17041 16usize,
17042 concat!("Size of: ", stringify!(cl_int4__bindgen_ty_2))
17043 );
17044 assert_eq!(
17045 ::std::mem::align_of::<cl_int4__bindgen_ty_2>(),
17046 4usize,
17047 concat!("Alignment of ", stringify!(cl_int4__bindgen_ty_2))
17048 );
17049 assert_eq!(
17050 unsafe { &(*(::std::ptr::null::<cl_int4__bindgen_ty_2>())).s0 as *const _ as usize },
17051 0usize,
17052 concat!(
17053 "Offset of field: ",
17054 stringify!(cl_int4__bindgen_ty_2),
17055 "::",
17056 stringify!(s0)
17057 )
17058 );
17059 assert_eq!(
17060 unsafe { &(*(::std::ptr::null::<cl_int4__bindgen_ty_2>())).s1 as *const _ as usize },
17061 4usize,
17062 concat!(
17063 "Offset of field: ",
17064 stringify!(cl_int4__bindgen_ty_2),
17065 "::",
17066 stringify!(s1)
17067 )
17068 );
17069 assert_eq!(
17070 unsafe { &(*(::std::ptr::null::<cl_int4__bindgen_ty_2>())).s2 as *const _ as usize },
17071 8usize,
17072 concat!(
17073 "Offset of field: ",
17074 stringify!(cl_int4__bindgen_ty_2),
17075 "::",
17076 stringify!(s2)
17077 )
17078 );
17079 assert_eq!(
17080 unsafe { &(*(::std::ptr::null::<cl_int4__bindgen_ty_2>())).s3 as *const _ as usize },
17081 12usize,
17082 concat!(
17083 "Offset of field: ",
17084 stringify!(cl_int4__bindgen_ty_2),
17085 "::",
17086 stringify!(s3)
17087 )
17088 );
17089}
17090#[repr(C)]
17091#[derive(Copy, Clone)]
17092pub struct cl_int4__bindgen_ty_3 {
17093 pub lo: cl_int2,
17094 pub hi: cl_int2,
17095}
17096#[test]
17097fn bindgen_test_layout_cl_int4__bindgen_ty_3() {
17098 assert_eq!(
17099 ::std::mem::size_of::<cl_int4__bindgen_ty_3>(),
17100 16usize,
17101 concat!("Size of: ", stringify!(cl_int4__bindgen_ty_3))
17102 );
17103 assert_eq!(
17104 ::std::mem::align_of::<cl_int4__bindgen_ty_3>(),
17105 8usize,
17106 concat!("Alignment of ", stringify!(cl_int4__bindgen_ty_3))
17107 );
17108 assert_eq!(
17109 unsafe { &(*(::std::ptr::null::<cl_int4__bindgen_ty_3>())).lo as *const _ as usize },
17110 0usize,
17111 concat!(
17112 "Offset of field: ",
17113 stringify!(cl_int4__bindgen_ty_3),
17114 "::",
17115 stringify!(lo)
17116 )
17117 );
17118 assert_eq!(
17119 unsafe { &(*(::std::ptr::null::<cl_int4__bindgen_ty_3>())).hi as *const _ as usize },
17120 8usize,
17121 concat!(
17122 "Offset of field: ",
17123 stringify!(cl_int4__bindgen_ty_3),
17124 "::",
17125 stringify!(hi)
17126 )
17127 );
17128}
17129#[test]
17130fn bindgen_test_layout_cl_int4() {
17131 assert_eq!(
17132 ::std::mem::size_of::<cl_int4>(),
17133 16usize,
17134 concat!("Size of: ", stringify!(cl_int4))
17135 );
17136 assert_eq!(
17137 ::std::mem::align_of::<cl_int4>(),
17138 16usize,
17139 concat!("Alignment of ", stringify!(cl_int4))
17140 );
17141 assert_eq!(
17142 unsafe { &(*(::std::ptr::null::<cl_int4>())).s as *const _ as usize },
17143 0usize,
17144 concat!(
17145 "Offset of field: ",
17146 stringify!(cl_int4),
17147 "::",
17148 stringify!(s)
17149 )
17150 );
17151 assert_eq!(
17152 unsafe { &(*(::std::ptr::null::<cl_int4>())).v2 as *const _ as usize },
17153 0usize,
17154 concat!(
17155 "Offset of field: ",
17156 stringify!(cl_int4),
17157 "::",
17158 stringify!(v2)
17159 )
17160 );
17161 assert_eq!(
17162 unsafe { &(*(::std::ptr::null::<cl_int4>())).v4 as *const _ as usize },
17163 0usize,
17164 concat!(
17165 "Offset of field: ",
17166 stringify!(cl_int4),
17167 "::",
17168 stringify!(v4)
17169 )
17170 );
17171}
17172pub type cl_int3 = cl_int4;
17173#[repr(C)]
17174#[repr(align(32))]
17175#[derive(Copy, Clone)]
17176pub union cl_int8 {
17177 pub s: [cl_int; 8usize],
17178 pub __bindgen_anon_1: cl_int8__bindgen_ty_1,
17179 pub __bindgen_anon_2: cl_int8__bindgen_ty_2,
17180 pub __bindgen_anon_3: cl_int8__bindgen_ty_3,
17181 pub v2: [__cl_int2; 4usize],
17182 pub v4: [__cl_int4; 2usize],
17183 _bindgen_union_align: [u8; 32usize],
17184}
17185#[repr(C)]
17186#[derive(Debug, Copy, Clone)]
17187pub struct cl_int8__bindgen_ty_1 {
17188 pub x: cl_int,
17189 pub y: cl_int,
17190 pub z: cl_int,
17191 pub w: cl_int,
17192}
17193#[test]
17194fn bindgen_test_layout_cl_int8__bindgen_ty_1() {
17195 assert_eq!(
17196 ::std::mem::size_of::<cl_int8__bindgen_ty_1>(),
17197 16usize,
17198 concat!("Size of: ", stringify!(cl_int8__bindgen_ty_1))
17199 );
17200 assert_eq!(
17201 ::std::mem::align_of::<cl_int8__bindgen_ty_1>(),
17202 4usize,
17203 concat!("Alignment of ", stringify!(cl_int8__bindgen_ty_1))
17204 );
17205 assert_eq!(
17206 unsafe { &(*(::std::ptr::null::<cl_int8__bindgen_ty_1>())).x as *const _ as usize },
17207 0usize,
17208 concat!(
17209 "Offset of field: ",
17210 stringify!(cl_int8__bindgen_ty_1),
17211 "::",
17212 stringify!(x)
17213 )
17214 );
17215 assert_eq!(
17216 unsafe { &(*(::std::ptr::null::<cl_int8__bindgen_ty_1>())).y as *const _ as usize },
17217 4usize,
17218 concat!(
17219 "Offset of field: ",
17220 stringify!(cl_int8__bindgen_ty_1),
17221 "::",
17222 stringify!(y)
17223 )
17224 );
17225 assert_eq!(
17226 unsafe { &(*(::std::ptr::null::<cl_int8__bindgen_ty_1>())).z as *const _ as usize },
17227 8usize,
17228 concat!(
17229 "Offset of field: ",
17230 stringify!(cl_int8__bindgen_ty_1),
17231 "::",
17232 stringify!(z)
17233 )
17234 );
17235 assert_eq!(
17236 unsafe { &(*(::std::ptr::null::<cl_int8__bindgen_ty_1>())).w as *const _ as usize },
17237 12usize,
17238 concat!(
17239 "Offset of field: ",
17240 stringify!(cl_int8__bindgen_ty_1),
17241 "::",
17242 stringify!(w)
17243 )
17244 );
17245}
17246#[repr(C)]
17247#[derive(Debug, Copy, Clone)]
17248pub struct cl_int8__bindgen_ty_2 {
17249 pub s0: cl_int,
17250 pub s1: cl_int,
17251 pub s2: cl_int,
17252 pub s3: cl_int,
17253 pub s4: cl_int,
17254 pub s5: cl_int,
17255 pub s6: cl_int,
17256 pub s7: cl_int,
17257}
17258#[test]
17259fn bindgen_test_layout_cl_int8__bindgen_ty_2() {
17260 assert_eq!(
17261 ::std::mem::size_of::<cl_int8__bindgen_ty_2>(),
17262 32usize,
17263 concat!("Size of: ", stringify!(cl_int8__bindgen_ty_2))
17264 );
17265 assert_eq!(
17266 ::std::mem::align_of::<cl_int8__bindgen_ty_2>(),
17267 4usize,
17268 concat!("Alignment of ", stringify!(cl_int8__bindgen_ty_2))
17269 );
17270 assert_eq!(
17271 unsafe { &(*(::std::ptr::null::<cl_int8__bindgen_ty_2>())).s0 as *const _ as usize },
17272 0usize,
17273 concat!(
17274 "Offset of field: ",
17275 stringify!(cl_int8__bindgen_ty_2),
17276 "::",
17277 stringify!(s0)
17278 )
17279 );
17280 assert_eq!(
17281 unsafe { &(*(::std::ptr::null::<cl_int8__bindgen_ty_2>())).s1 as *const _ as usize },
17282 4usize,
17283 concat!(
17284 "Offset of field: ",
17285 stringify!(cl_int8__bindgen_ty_2),
17286 "::",
17287 stringify!(s1)
17288 )
17289 );
17290 assert_eq!(
17291 unsafe { &(*(::std::ptr::null::<cl_int8__bindgen_ty_2>())).s2 as *const _ as usize },
17292 8usize,
17293 concat!(
17294 "Offset of field: ",
17295 stringify!(cl_int8__bindgen_ty_2),
17296 "::",
17297 stringify!(s2)
17298 )
17299 );
17300 assert_eq!(
17301 unsafe { &(*(::std::ptr::null::<cl_int8__bindgen_ty_2>())).s3 as *const _ as usize },
17302 12usize,
17303 concat!(
17304 "Offset of field: ",
17305 stringify!(cl_int8__bindgen_ty_2),
17306 "::",
17307 stringify!(s3)
17308 )
17309 );
17310 assert_eq!(
17311 unsafe { &(*(::std::ptr::null::<cl_int8__bindgen_ty_2>())).s4 as *const _ as usize },
17312 16usize,
17313 concat!(
17314 "Offset of field: ",
17315 stringify!(cl_int8__bindgen_ty_2),
17316 "::",
17317 stringify!(s4)
17318 )
17319 );
17320 assert_eq!(
17321 unsafe { &(*(::std::ptr::null::<cl_int8__bindgen_ty_2>())).s5 as *const _ as usize },
17322 20usize,
17323 concat!(
17324 "Offset of field: ",
17325 stringify!(cl_int8__bindgen_ty_2),
17326 "::",
17327 stringify!(s5)
17328 )
17329 );
17330 assert_eq!(
17331 unsafe { &(*(::std::ptr::null::<cl_int8__bindgen_ty_2>())).s6 as *const _ as usize },
17332 24usize,
17333 concat!(
17334 "Offset of field: ",
17335 stringify!(cl_int8__bindgen_ty_2),
17336 "::",
17337 stringify!(s6)
17338 )
17339 );
17340 assert_eq!(
17341 unsafe { &(*(::std::ptr::null::<cl_int8__bindgen_ty_2>())).s7 as *const _ as usize },
17342 28usize,
17343 concat!(
17344 "Offset of field: ",
17345 stringify!(cl_int8__bindgen_ty_2),
17346 "::",
17347 stringify!(s7)
17348 )
17349 );
17350}
17351#[repr(C)]
17352#[repr(align(16))]
17353#[derive(Copy, Clone)]
17354pub struct cl_int8__bindgen_ty_3 {
17355 pub lo: cl_int4,
17356 pub hi: cl_int4,
17357}
17358#[test]
17359fn bindgen_test_layout_cl_int8__bindgen_ty_3() {
17360 assert_eq!(
17361 ::std::mem::size_of::<cl_int8__bindgen_ty_3>(),
17362 32usize,
17363 concat!("Size of: ", stringify!(cl_int8__bindgen_ty_3))
17364 );
17365 assert_eq!(
17366 ::std::mem::align_of::<cl_int8__bindgen_ty_3>(),
17367 16usize,
17368 concat!("Alignment of ", stringify!(cl_int8__bindgen_ty_3))
17369 );
17370 assert_eq!(
17371 unsafe { &(*(::std::ptr::null::<cl_int8__bindgen_ty_3>())).lo as *const _ as usize },
17372 0usize,
17373 concat!(
17374 "Offset of field: ",
17375 stringify!(cl_int8__bindgen_ty_3),
17376 "::",
17377 stringify!(lo)
17378 )
17379 );
17380 assert_eq!(
17381 unsafe { &(*(::std::ptr::null::<cl_int8__bindgen_ty_3>())).hi as *const _ as usize },
17382 16usize,
17383 concat!(
17384 "Offset of field: ",
17385 stringify!(cl_int8__bindgen_ty_3),
17386 "::",
17387 stringify!(hi)
17388 )
17389 );
17390}
17391#[test]
17392fn bindgen_test_layout_cl_int8() {
17393 assert_eq!(
17394 ::std::mem::size_of::<cl_int8>(),
17395 32usize,
17396 concat!("Size of: ", stringify!(cl_int8))
17397 );
17398 assert_eq!(
17399 ::std::mem::align_of::<cl_int8>(),
17400 32usize,
17401 concat!("Alignment of ", stringify!(cl_int8))
17402 );
17403 assert_eq!(
17404 unsafe { &(*(::std::ptr::null::<cl_int8>())).s as *const _ as usize },
17405 0usize,
17406 concat!(
17407 "Offset of field: ",
17408 stringify!(cl_int8),
17409 "::",
17410 stringify!(s)
17411 )
17412 );
17413 assert_eq!(
17414 unsafe { &(*(::std::ptr::null::<cl_int8>())).v2 as *const _ as usize },
17415 0usize,
17416 concat!(
17417 "Offset of field: ",
17418 stringify!(cl_int8),
17419 "::",
17420 stringify!(v2)
17421 )
17422 );
17423 assert_eq!(
17424 unsafe { &(*(::std::ptr::null::<cl_int8>())).v4 as *const _ as usize },
17425 0usize,
17426 concat!(
17427 "Offset of field: ",
17428 stringify!(cl_int8),
17429 "::",
17430 stringify!(v4)
17431 )
17432 );
17433}
17434#[repr(C)]
17435#[repr(align(64))]
17436#[derive(Copy, Clone)]
17437pub union cl_int16 {
17438 pub s: [cl_int; 16usize],
17439 pub __bindgen_anon_1: cl_int16__bindgen_ty_1,
17440 pub __bindgen_anon_2: cl_int16__bindgen_ty_2,
17441 pub __bindgen_anon_3: cl_int16__bindgen_ty_3,
17442 pub v2: [__cl_int2; 8usize],
17443 pub v4: [__cl_int4; 4usize],
17444 _bindgen_union_align: [u8; 64usize],
17445}
17446#[repr(C)]
17447#[derive(Debug, Copy, Clone)]
17448pub struct cl_int16__bindgen_ty_1 {
17449 pub x: cl_int,
17450 pub y: cl_int,
17451 pub z: cl_int,
17452 pub w: cl_int,
17453 pub __spacer4: cl_int,
17454 pub __spacer5: cl_int,
17455 pub __spacer6: cl_int,
17456 pub __spacer7: cl_int,
17457 pub __spacer8: cl_int,
17458 pub __spacer9: cl_int,
17459 pub sa: cl_int,
17460 pub sb: cl_int,
17461 pub sc: cl_int,
17462 pub sd: cl_int,
17463 pub se: cl_int,
17464 pub sf: cl_int,
17465}
17466#[test]
17467fn bindgen_test_layout_cl_int16__bindgen_ty_1() {
17468 assert_eq!(
17469 ::std::mem::size_of::<cl_int16__bindgen_ty_1>(),
17470 64usize,
17471 concat!("Size of: ", stringify!(cl_int16__bindgen_ty_1))
17472 );
17473 assert_eq!(
17474 ::std::mem::align_of::<cl_int16__bindgen_ty_1>(),
17475 4usize,
17476 concat!("Alignment of ", stringify!(cl_int16__bindgen_ty_1))
17477 );
17478 assert_eq!(
17479 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_1>())).x as *const _ as usize },
17480 0usize,
17481 concat!(
17482 "Offset of field: ",
17483 stringify!(cl_int16__bindgen_ty_1),
17484 "::",
17485 stringify!(x)
17486 )
17487 );
17488 assert_eq!(
17489 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_1>())).y as *const _ as usize },
17490 4usize,
17491 concat!(
17492 "Offset of field: ",
17493 stringify!(cl_int16__bindgen_ty_1),
17494 "::",
17495 stringify!(y)
17496 )
17497 );
17498 assert_eq!(
17499 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_1>())).z as *const _ as usize },
17500 8usize,
17501 concat!(
17502 "Offset of field: ",
17503 stringify!(cl_int16__bindgen_ty_1),
17504 "::",
17505 stringify!(z)
17506 )
17507 );
17508 assert_eq!(
17509 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_1>())).w as *const _ as usize },
17510 12usize,
17511 concat!(
17512 "Offset of field: ",
17513 stringify!(cl_int16__bindgen_ty_1),
17514 "::",
17515 stringify!(w)
17516 )
17517 );
17518 assert_eq!(
17519 unsafe {
17520 &(*(::std::ptr::null::<cl_int16__bindgen_ty_1>())).__spacer4 as *const _ as usize
17521 },
17522 16usize,
17523 concat!(
17524 "Offset of field: ",
17525 stringify!(cl_int16__bindgen_ty_1),
17526 "::",
17527 stringify!(__spacer4)
17528 )
17529 );
17530 assert_eq!(
17531 unsafe {
17532 &(*(::std::ptr::null::<cl_int16__bindgen_ty_1>())).__spacer5 as *const _ as usize
17533 },
17534 20usize,
17535 concat!(
17536 "Offset of field: ",
17537 stringify!(cl_int16__bindgen_ty_1),
17538 "::",
17539 stringify!(__spacer5)
17540 )
17541 );
17542 assert_eq!(
17543 unsafe {
17544 &(*(::std::ptr::null::<cl_int16__bindgen_ty_1>())).__spacer6 as *const _ as usize
17545 },
17546 24usize,
17547 concat!(
17548 "Offset of field: ",
17549 stringify!(cl_int16__bindgen_ty_1),
17550 "::",
17551 stringify!(__spacer6)
17552 )
17553 );
17554 assert_eq!(
17555 unsafe {
17556 &(*(::std::ptr::null::<cl_int16__bindgen_ty_1>())).__spacer7 as *const _ as usize
17557 },
17558 28usize,
17559 concat!(
17560 "Offset of field: ",
17561 stringify!(cl_int16__bindgen_ty_1),
17562 "::",
17563 stringify!(__spacer7)
17564 )
17565 );
17566 assert_eq!(
17567 unsafe {
17568 &(*(::std::ptr::null::<cl_int16__bindgen_ty_1>())).__spacer8 as *const _ as usize
17569 },
17570 32usize,
17571 concat!(
17572 "Offset of field: ",
17573 stringify!(cl_int16__bindgen_ty_1),
17574 "::",
17575 stringify!(__spacer8)
17576 )
17577 );
17578 assert_eq!(
17579 unsafe {
17580 &(*(::std::ptr::null::<cl_int16__bindgen_ty_1>())).__spacer9 as *const _ as usize
17581 },
17582 36usize,
17583 concat!(
17584 "Offset of field: ",
17585 stringify!(cl_int16__bindgen_ty_1),
17586 "::",
17587 stringify!(__spacer9)
17588 )
17589 );
17590 assert_eq!(
17591 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_1>())).sa as *const _ as usize },
17592 40usize,
17593 concat!(
17594 "Offset of field: ",
17595 stringify!(cl_int16__bindgen_ty_1),
17596 "::",
17597 stringify!(sa)
17598 )
17599 );
17600 assert_eq!(
17601 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_1>())).sb as *const _ as usize },
17602 44usize,
17603 concat!(
17604 "Offset of field: ",
17605 stringify!(cl_int16__bindgen_ty_1),
17606 "::",
17607 stringify!(sb)
17608 )
17609 );
17610 assert_eq!(
17611 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_1>())).sc as *const _ as usize },
17612 48usize,
17613 concat!(
17614 "Offset of field: ",
17615 stringify!(cl_int16__bindgen_ty_1),
17616 "::",
17617 stringify!(sc)
17618 )
17619 );
17620 assert_eq!(
17621 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_1>())).sd as *const _ as usize },
17622 52usize,
17623 concat!(
17624 "Offset of field: ",
17625 stringify!(cl_int16__bindgen_ty_1),
17626 "::",
17627 stringify!(sd)
17628 )
17629 );
17630 assert_eq!(
17631 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_1>())).se as *const _ as usize },
17632 56usize,
17633 concat!(
17634 "Offset of field: ",
17635 stringify!(cl_int16__bindgen_ty_1),
17636 "::",
17637 stringify!(se)
17638 )
17639 );
17640 assert_eq!(
17641 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_1>())).sf as *const _ as usize },
17642 60usize,
17643 concat!(
17644 "Offset of field: ",
17645 stringify!(cl_int16__bindgen_ty_1),
17646 "::",
17647 stringify!(sf)
17648 )
17649 );
17650}
17651#[repr(C)]
17652#[derive(Debug, Copy, Clone)]
17653pub struct cl_int16__bindgen_ty_2 {
17654 pub s0: cl_int,
17655 pub s1: cl_int,
17656 pub s2: cl_int,
17657 pub s3: cl_int,
17658 pub s4: cl_int,
17659 pub s5: cl_int,
17660 pub s6: cl_int,
17661 pub s7: cl_int,
17662 pub s8: cl_int,
17663 pub s9: cl_int,
17664 pub sA: cl_int,
17665 pub sB: cl_int,
17666 pub sC: cl_int,
17667 pub sD: cl_int,
17668 pub sE: cl_int,
17669 pub sF: cl_int,
17670}
17671#[test]
17672fn bindgen_test_layout_cl_int16__bindgen_ty_2() {
17673 assert_eq!(
17674 ::std::mem::size_of::<cl_int16__bindgen_ty_2>(),
17675 64usize,
17676 concat!("Size of: ", stringify!(cl_int16__bindgen_ty_2))
17677 );
17678 assert_eq!(
17679 ::std::mem::align_of::<cl_int16__bindgen_ty_2>(),
17680 4usize,
17681 concat!("Alignment of ", stringify!(cl_int16__bindgen_ty_2))
17682 );
17683 assert_eq!(
17684 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_2>())).s0 as *const _ as usize },
17685 0usize,
17686 concat!(
17687 "Offset of field: ",
17688 stringify!(cl_int16__bindgen_ty_2),
17689 "::",
17690 stringify!(s0)
17691 )
17692 );
17693 assert_eq!(
17694 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_2>())).s1 as *const _ as usize },
17695 4usize,
17696 concat!(
17697 "Offset of field: ",
17698 stringify!(cl_int16__bindgen_ty_2),
17699 "::",
17700 stringify!(s1)
17701 )
17702 );
17703 assert_eq!(
17704 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_2>())).s2 as *const _ as usize },
17705 8usize,
17706 concat!(
17707 "Offset of field: ",
17708 stringify!(cl_int16__bindgen_ty_2),
17709 "::",
17710 stringify!(s2)
17711 )
17712 );
17713 assert_eq!(
17714 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_2>())).s3 as *const _ as usize },
17715 12usize,
17716 concat!(
17717 "Offset of field: ",
17718 stringify!(cl_int16__bindgen_ty_2),
17719 "::",
17720 stringify!(s3)
17721 )
17722 );
17723 assert_eq!(
17724 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_2>())).s4 as *const _ as usize },
17725 16usize,
17726 concat!(
17727 "Offset of field: ",
17728 stringify!(cl_int16__bindgen_ty_2),
17729 "::",
17730 stringify!(s4)
17731 )
17732 );
17733 assert_eq!(
17734 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_2>())).s5 as *const _ as usize },
17735 20usize,
17736 concat!(
17737 "Offset of field: ",
17738 stringify!(cl_int16__bindgen_ty_2),
17739 "::",
17740 stringify!(s5)
17741 )
17742 );
17743 assert_eq!(
17744 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_2>())).s6 as *const _ as usize },
17745 24usize,
17746 concat!(
17747 "Offset of field: ",
17748 stringify!(cl_int16__bindgen_ty_2),
17749 "::",
17750 stringify!(s6)
17751 )
17752 );
17753 assert_eq!(
17754 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_2>())).s7 as *const _ as usize },
17755 28usize,
17756 concat!(
17757 "Offset of field: ",
17758 stringify!(cl_int16__bindgen_ty_2),
17759 "::",
17760 stringify!(s7)
17761 )
17762 );
17763 assert_eq!(
17764 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_2>())).s8 as *const _ as usize },
17765 32usize,
17766 concat!(
17767 "Offset of field: ",
17768 stringify!(cl_int16__bindgen_ty_2),
17769 "::",
17770 stringify!(s8)
17771 )
17772 );
17773 assert_eq!(
17774 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_2>())).s9 as *const _ as usize },
17775 36usize,
17776 concat!(
17777 "Offset of field: ",
17778 stringify!(cl_int16__bindgen_ty_2),
17779 "::",
17780 stringify!(s9)
17781 )
17782 );
17783 assert_eq!(
17784 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_2>())).sA as *const _ as usize },
17785 40usize,
17786 concat!(
17787 "Offset of field: ",
17788 stringify!(cl_int16__bindgen_ty_2),
17789 "::",
17790 stringify!(sA)
17791 )
17792 );
17793 assert_eq!(
17794 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_2>())).sB as *const _ as usize },
17795 44usize,
17796 concat!(
17797 "Offset of field: ",
17798 stringify!(cl_int16__bindgen_ty_2),
17799 "::",
17800 stringify!(sB)
17801 )
17802 );
17803 assert_eq!(
17804 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_2>())).sC as *const _ as usize },
17805 48usize,
17806 concat!(
17807 "Offset of field: ",
17808 stringify!(cl_int16__bindgen_ty_2),
17809 "::",
17810 stringify!(sC)
17811 )
17812 );
17813 assert_eq!(
17814 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_2>())).sD as *const _ as usize },
17815 52usize,
17816 concat!(
17817 "Offset of field: ",
17818 stringify!(cl_int16__bindgen_ty_2),
17819 "::",
17820 stringify!(sD)
17821 )
17822 );
17823 assert_eq!(
17824 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_2>())).sE as *const _ as usize },
17825 56usize,
17826 concat!(
17827 "Offset of field: ",
17828 stringify!(cl_int16__bindgen_ty_2),
17829 "::",
17830 stringify!(sE)
17831 )
17832 );
17833 assert_eq!(
17834 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_2>())).sF as *const _ as usize },
17835 60usize,
17836 concat!(
17837 "Offset of field: ",
17838 stringify!(cl_int16__bindgen_ty_2),
17839 "::",
17840 stringify!(sF)
17841 )
17842 );
17843}
17844#[repr(C)]
17845#[repr(align(32))]
17846#[derive(Copy, Clone)]
17847pub struct cl_int16__bindgen_ty_3 {
17848 pub lo: cl_int8,
17849 pub hi: cl_int8,
17850}
17851#[test]
17852fn bindgen_test_layout_cl_int16__bindgen_ty_3() {
17853 assert_eq!(
17854 ::std::mem::size_of::<cl_int16__bindgen_ty_3>(),
17855 64usize,
17856 concat!("Size of: ", stringify!(cl_int16__bindgen_ty_3))
17857 );
17858 assert_eq!(
17859 ::std::mem::align_of::<cl_int16__bindgen_ty_3>(),
17860 32usize,
17861 concat!("Alignment of ", stringify!(cl_int16__bindgen_ty_3))
17862 );
17863 assert_eq!(
17864 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_3>())).lo as *const _ as usize },
17865 0usize,
17866 concat!(
17867 "Offset of field: ",
17868 stringify!(cl_int16__bindgen_ty_3),
17869 "::",
17870 stringify!(lo)
17871 )
17872 );
17873 assert_eq!(
17874 unsafe { &(*(::std::ptr::null::<cl_int16__bindgen_ty_3>())).hi as *const _ as usize },
17875 32usize,
17876 concat!(
17877 "Offset of field: ",
17878 stringify!(cl_int16__bindgen_ty_3),
17879 "::",
17880 stringify!(hi)
17881 )
17882 );
17883}
17884#[test]
17885fn bindgen_test_layout_cl_int16() {
17886 assert_eq!(
17887 ::std::mem::size_of::<cl_int16>(),
17888 64usize,
17889 concat!("Size of: ", stringify!(cl_int16))
17890 );
17891 assert_eq!(
17892 ::std::mem::align_of::<cl_int16>(),
17893 64usize,
17894 concat!("Alignment of ", stringify!(cl_int16))
17895 );
17896 assert_eq!(
17897 unsafe { &(*(::std::ptr::null::<cl_int16>())).s as *const _ as usize },
17898 0usize,
17899 concat!(
17900 "Offset of field: ",
17901 stringify!(cl_int16),
17902 "::",
17903 stringify!(s)
17904 )
17905 );
17906 assert_eq!(
17907 unsafe { &(*(::std::ptr::null::<cl_int16>())).v2 as *const _ as usize },
17908 0usize,
17909 concat!(
17910 "Offset of field: ",
17911 stringify!(cl_int16),
17912 "::",
17913 stringify!(v2)
17914 )
17915 );
17916 assert_eq!(
17917 unsafe { &(*(::std::ptr::null::<cl_int16>())).v4 as *const _ as usize },
17918 0usize,
17919 concat!(
17920 "Offset of field: ",
17921 stringify!(cl_int16),
17922 "::",
17923 stringify!(v4)
17924 )
17925 );
17926}
17927#[repr(C)]
17928#[derive(Copy, Clone)]
17929pub union cl_uint2 {
17930 pub s: [cl_uint; 2usize],
17931 pub __bindgen_anon_1: cl_uint2__bindgen_ty_1,
17932 pub __bindgen_anon_2: cl_uint2__bindgen_ty_2,
17933 pub __bindgen_anon_3: cl_uint2__bindgen_ty_3,
17934 pub v2: __cl_uint2,
17935 _bindgen_union_align: u64,
17936}
17937#[repr(C)]
17938#[derive(Debug, Copy, Clone)]
17939pub struct cl_uint2__bindgen_ty_1 {
17940 pub x: cl_uint,
17941 pub y: cl_uint,
17942}
17943#[test]
17944fn bindgen_test_layout_cl_uint2__bindgen_ty_1() {
17945 assert_eq!(
17946 ::std::mem::size_of::<cl_uint2__bindgen_ty_1>(),
17947 8usize,
17948 concat!("Size of: ", stringify!(cl_uint2__bindgen_ty_1))
17949 );
17950 assert_eq!(
17951 ::std::mem::align_of::<cl_uint2__bindgen_ty_1>(),
17952 4usize,
17953 concat!("Alignment of ", stringify!(cl_uint2__bindgen_ty_1))
17954 );
17955 assert_eq!(
17956 unsafe { &(*(::std::ptr::null::<cl_uint2__bindgen_ty_1>())).x as *const _ as usize },
17957 0usize,
17958 concat!(
17959 "Offset of field: ",
17960 stringify!(cl_uint2__bindgen_ty_1),
17961 "::",
17962 stringify!(x)
17963 )
17964 );
17965 assert_eq!(
17966 unsafe { &(*(::std::ptr::null::<cl_uint2__bindgen_ty_1>())).y as *const _ as usize },
17967 4usize,
17968 concat!(
17969 "Offset of field: ",
17970 stringify!(cl_uint2__bindgen_ty_1),
17971 "::",
17972 stringify!(y)
17973 )
17974 );
17975}
17976#[repr(C)]
17977#[derive(Debug, Copy, Clone)]
17978pub struct cl_uint2__bindgen_ty_2 {
17979 pub s0: cl_uint,
17980 pub s1: cl_uint,
17981}
17982#[test]
17983fn bindgen_test_layout_cl_uint2__bindgen_ty_2() {
17984 assert_eq!(
17985 ::std::mem::size_of::<cl_uint2__bindgen_ty_2>(),
17986 8usize,
17987 concat!("Size of: ", stringify!(cl_uint2__bindgen_ty_2))
17988 );
17989 assert_eq!(
17990 ::std::mem::align_of::<cl_uint2__bindgen_ty_2>(),
17991 4usize,
17992 concat!("Alignment of ", stringify!(cl_uint2__bindgen_ty_2))
17993 );
17994 assert_eq!(
17995 unsafe { &(*(::std::ptr::null::<cl_uint2__bindgen_ty_2>())).s0 as *const _ as usize },
17996 0usize,
17997 concat!(
17998 "Offset of field: ",
17999 stringify!(cl_uint2__bindgen_ty_2),
18000 "::",
18001 stringify!(s0)
18002 )
18003 );
18004 assert_eq!(
18005 unsafe { &(*(::std::ptr::null::<cl_uint2__bindgen_ty_2>())).s1 as *const _ as usize },
18006 4usize,
18007 concat!(
18008 "Offset of field: ",
18009 stringify!(cl_uint2__bindgen_ty_2),
18010 "::",
18011 stringify!(s1)
18012 )
18013 );
18014}
18015#[repr(C)]
18016#[derive(Debug, Copy, Clone)]
18017pub struct cl_uint2__bindgen_ty_3 {
18018 pub lo: cl_uint,
18019 pub hi: cl_uint,
18020}
18021#[test]
18022fn bindgen_test_layout_cl_uint2__bindgen_ty_3() {
18023 assert_eq!(
18024 ::std::mem::size_of::<cl_uint2__bindgen_ty_3>(),
18025 8usize,
18026 concat!("Size of: ", stringify!(cl_uint2__bindgen_ty_3))
18027 );
18028 assert_eq!(
18029 ::std::mem::align_of::<cl_uint2__bindgen_ty_3>(),
18030 4usize,
18031 concat!("Alignment of ", stringify!(cl_uint2__bindgen_ty_3))
18032 );
18033 assert_eq!(
18034 unsafe { &(*(::std::ptr::null::<cl_uint2__bindgen_ty_3>())).lo as *const _ as usize },
18035 0usize,
18036 concat!(
18037 "Offset of field: ",
18038 stringify!(cl_uint2__bindgen_ty_3),
18039 "::",
18040 stringify!(lo)
18041 )
18042 );
18043 assert_eq!(
18044 unsafe { &(*(::std::ptr::null::<cl_uint2__bindgen_ty_3>())).hi as *const _ as usize },
18045 4usize,
18046 concat!(
18047 "Offset of field: ",
18048 stringify!(cl_uint2__bindgen_ty_3),
18049 "::",
18050 stringify!(hi)
18051 )
18052 );
18053}
18054#[test]
18055fn bindgen_test_layout_cl_uint2() {
18056 assert_eq!(
18057 ::std::mem::size_of::<cl_uint2>(),
18058 8usize,
18059 concat!("Size of: ", stringify!(cl_uint2))
18060 );
18061 assert_eq!(
18062 ::std::mem::align_of::<cl_uint2>(),
18063 8usize,
18064 concat!("Alignment of ", stringify!(cl_uint2))
18065 );
18066 assert_eq!(
18067 unsafe { &(*(::std::ptr::null::<cl_uint2>())).s as *const _ as usize },
18068 0usize,
18069 concat!(
18070 "Offset of field: ",
18071 stringify!(cl_uint2),
18072 "::",
18073 stringify!(s)
18074 )
18075 );
18076 assert_eq!(
18077 unsafe { &(*(::std::ptr::null::<cl_uint2>())).v2 as *const _ as usize },
18078 0usize,
18079 concat!(
18080 "Offset of field: ",
18081 stringify!(cl_uint2),
18082 "::",
18083 stringify!(v2)
18084 )
18085 );
18086}
18087#[repr(C)]
18088#[repr(align(16))]
18089#[derive(Copy, Clone)]
18090pub union cl_uint4 {
18091 pub s: [cl_uint; 4usize],
18092 pub __bindgen_anon_1: cl_uint4__bindgen_ty_1,
18093 pub __bindgen_anon_2: cl_uint4__bindgen_ty_2,
18094 pub __bindgen_anon_3: cl_uint4__bindgen_ty_3,
18095 pub v2: [__cl_uint2; 2usize],
18096 pub v4: __cl_uint4,
18097 _bindgen_union_align: u128,
18098}
18099#[repr(C)]
18100#[derive(Debug, Copy, Clone)]
18101pub struct cl_uint4__bindgen_ty_1 {
18102 pub x: cl_uint,
18103 pub y: cl_uint,
18104 pub z: cl_uint,
18105 pub w: cl_uint,
18106}
18107#[test]
18108fn bindgen_test_layout_cl_uint4__bindgen_ty_1() {
18109 assert_eq!(
18110 ::std::mem::size_of::<cl_uint4__bindgen_ty_1>(),
18111 16usize,
18112 concat!("Size of: ", stringify!(cl_uint4__bindgen_ty_1))
18113 );
18114 assert_eq!(
18115 ::std::mem::align_of::<cl_uint4__bindgen_ty_1>(),
18116 4usize,
18117 concat!("Alignment of ", stringify!(cl_uint4__bindgen_ty_1))
18118 );
18119 assert_eq!(
18120 unsafe { &(*(::std::ptr::null::<cl_uint4__bindgen_ty_1>())).x as *const _ as usize },
18121 0usize,
18122 concat!(
18123 "Offset of field: ",
18124 stringify!(cl_uint4__bindgen_ty_1),
18125 "::",
18126 stringify!(x)
18127 )
18128 );
18129 assert_eq!(
18130 unsafe { &(*(::std::ptr::null::<cl_uint4__bindgen_ty_1>())).y as *const _ as usize },
18131 4usize,
18132 concat!(
18133 "Offset of field: ",
18134 stringify!(cl_uint4__bindgen_ty_1),
18135 "::",
18136 stringify!(y)
18137 )
18138 );
18139 assert_eq!(
18140 unsafe { &(*(::std::ptr::null::<cl_uint4__bindgen_ty_1>())).z as *const _ as usize },
18141 8usize,
18142 concat!(
18143 "Offset of field: ",
18144 stringify!(cl_uint4__bindgen_ty_1),
18145 "::",
18146 stringify!(z)
18147 )
18148 );
18149 assert_eq!(
18150 unsafe { &(*(::std::ptr::null::<cl_uint4__bindgen_ty_1>())).w as *const _ as usize },
18151 12usize,
18152 concat!(
18153 "Offset of field: ",
18154 stringify!(cl_uint4__bindgen_ty_1),
18155 "::",
18156 stringify!(w)
18157 )
18158 );
18159}
18160#[repr(C)]
18161#[derive(Debug, Copy, Clone)]
18162pub struct cl_uint4__bindgen_ty_2 {
18163 pub s0: cl_uint,
18164 pub s1: cl_uint,
18165 pub s2: cl_uint,
18166 pub s3: cl_uint,
18167}
18168#[test]
18169fn bindgen_test_layout_cl_uint4__bindgen_ty_2() {
18170 assert_eq!(
18171 ::std::mem::size_of::<cl_uint4__bindgen_ty_2>(),
18172 16usize,
18173 concat!("Size of: ", stringify!(cl_uint4__bindgen_ty_2))
18174 );
18175 assert_eq!(
18176 ::std::mem::align_of::<cl_uint4__bindgen_ty_2>(),
18177 4usize,
18178 concat!("Alignment of ", stringify!(cl_uint4__bindgen_ty_2))
18179 );
18180 assert_eq!(
18181 unsafe { &(*(::std::ptr::null::<cl_uint4__bindgen_ty_2>())).s0 as *const _ as usize },
18182 0usize,
18183 concat!(
18184 "Offset of field: ",
18185 stringify!(cl_uint4__bindgen_ty_2),
18186 "::",
18187 stringify!(s0)
18188 )
18189 );
18190 assert_eq!(
18191 unsafe { &(*(::std::ptr::null::<cl_uint4__bindgen_ty_2>())).s1 as *const _ as usize },
18192 4usize,
18193 concat!(
18194 "Offset of field: ",
18195 stringify!(cl_uint4__bindgen_ty_2),
18196 "::",
18197 stringify!(s1)
18198 )
18199 );
18200 assert_eq!(
18201 unsafe { &(*(::std::ptr::null::<cl_uint4__bindgen_ty_2>())).s2 as *const _ as usize },
18202 8usize,
18203 concat!(
18204 "Offset of field: ",
18205 stringify!(cl_uint4__bindgen_ty_2),
18206 "::",
18207 stringify!(s2)
18208 )
18209 );
18210 assert_eq!(
18211 unsafe { &(*(::std::ptr::null::<cl_uint4__bindgen_ty_2>())).s3 as *const _ as usize },
18212 12usize,
18213 concat!(
18214 "Offset of field: ",
18215 stringify!(cl_uint4__bindgen_ty_2),
18216 "::",
18217 stringify!(s3)
18218 )
18219 );
18220}
18221#[repr(C)]
18222#[derive(Copy, Clone)]
18223pub struct cl_uint4__bindgen_ty_3 {
18224 pub lo: cl_uint2,
18225 pub hi: cl_uint2,
18226}
18227#[test]
18228fn bindgen_test_layout_cl_uint4__bindgen_ty_3() {
18229 assert_eq!(
18230 ::std::mem::size_of::<cl_uint4__bindgen_ty_3>(),
18231 16usize,
18232 concat!("Size of: ", stringify!(cl_uint4__bindgen_ty_3))
18233 );
18234 assert_eq!(
18235 ::std::mem::align_of::<cl_uint4__bindgen_ty_3>(),
18236 8usize,
18237 concat!("Alignment of ", stringify!(cl_uint4__bindgen_ty_3))
18238 );
18239 assert_eq!(
18240 unsafe { &(*(::std::ptr::null::<cl_uint4__bindgen_ty_3>())).lo as *const _ as usize },
18241 0usize,
18242 concat!(
18243 "Offset of field: ",
18244 stringify!(cl_uint4__bindgen_ty_3),
18245 "::",
18246 stringify!(lo)
18247 )
18248 );
18249 assert_eq!(
18250 unsafe { &(*(::std::ptr::null::<cl_uint4__bindgen_ty_3>())).hi as *const _ as usize },
18251 8usize,
18252 concat!(
18253 "Offset of field: ",
18254 stringify!(cl_uint4__bindgen_ty_3),
18255 "::",
18256 stringify!(hi)
18257 )
18258 );
18259}
18260#[test]
18261fn bindgen_test_layout_cl_uint4() {
18262 assert_eq!(
18263 ::std::mem::size_of::<cl_uint4>(),
18264 16usize,
18265 concat!("Size of: ", stringify!(cl_uint4))
18266 );
18267 assert_eq!(
18268 ::std::mem::align_of::<cl_uint4>(),
18269 16usize,
18270 concat!("Alignment of ", stringify!(cl_uint4))
18271 );
18272 assert_eq!(
18273 unsafe { &(*(::std::ptr::null::<cl_uint4>())).s as *const _ as usize },
18274 0usize,
18275 concat!(
18276 "Offset of field: ",
18277 stringify!(cl_uint4),
18278 "::",
18279 stringify!(s)
18280 )
18281 );
18282 assert_eq!(
18283 unsafe { &(*(::std::ptr::null::<cl_uint4>())).v2 as *const _ as usize },
18284 0usize,
18285 concat!(
18286 "Offset of field: ",
18287 stringify!(cl_uint4),
18288 "::",
18289 stringify!(v2)
18290 )
18291 );
18292 assert_eq!(
18293 unsafe { &(*(::std::ptr::null::<cl_uint4>())).v4 as *const _ as usize },
18294 0usize,
18295 concat!(
18296 "Offset of field: ",
18297 stringify!(cl_uint4),
18298 "::",
18299 stringify!(v4)
18300 )
18301 );
18302}
18303pub type cl_uint3 = cl_uint4;
18304#[repr(C)]
18305#[repr(align(32))]
18306#[derive(Copy, Clone)]
18307pub union cl_uint8 {
18308 pub s: [cl_uint; 8usize],
18309 pub __bindgen_anon_1: cl_uint8__bindgen_ty_1,
18310 pub __bindgen_anon_2: cl_uint8__bindgen_ty_2,
18311 pub __bindgen_anon_3: cl_uint8__bindgen_ty_3,
18312 pub v2: [__cl_uint2; 4usize],
18313 pub v4: [__cl_uint4; 2usize],
18314 _bindgen_union_align: [u8; 32usize],
18315}
18316#[repr(C)]
18317#[derive(Debug, Copy, Clone)]
18318pub struct cl_uint8__bindgen_ty_1 {
18319 pub x: cl_uint,
18320 pub y: cl_uint,
18321 pub z: cl_uint,
18322 pub w: cl_uint,
18323}
18324#[test]
18325fn bindgen_test_layout_cl_uint8__bindgen_ty_1() {
18326 assert_eq!(
18327 ::std::mem::size_of::<cl_uint8__bindgen_ty_1>(),
18328 16usize,
18329 concat!("Size of: ", stringify!(cl_uint8__bindgen_ty_1))
18330 );
18331 assert_eq!(
18332 ::std::mem::align_of::<cl_uint8__bindgen_ty_1>(),
18333 4usize,
18334 concat!("Alignment of ", stringify!(cl_uint8__bindgen_ty_1))
18335 );
18336 assert_eq!(
18337 unsafe { &(*(::std::ptr::null::<cl_uint8__bindgen_ty_1>())).x as *const _ as usize },
18338 0usize,
18339 concat!(
18340 "Offset of field: ",
18341 stringify!(cl_uint8__bindgen_ty_1),
18342 "::",
18343 stringify!(x)
18344 )
18345 );
18346 assert_eq!(
18347 unsafe { &(*(::std::ptr::null::<cl_uint8__bindgen_ty_1>())).y as *const _ as usize },
18348 4usize,
18349 concat!(
18350 "Offset of field: ",
18351 stringify!(cl_uint8__bindgen_ty_1),
18352 "::",
18353 stringify!(y)
18354 )
18355 );
18356 assert_eq!(
18357 unsafe { &(*(::std::ptr::null::<cl_uint8__bindgen_ty_1>())).z as *const _ as usize },
18358 8usize,
18359 concat!(
18360 "Offset of field: ",
18361 stringify!(cl_uint8__bindgen_ty_1),
18362 "::",
18363 stringify!(z)
18364 )
18365 );
18366 assert_eq!(
18367 unsafe { &(*(::std::ptr::null::<cl_uint8__bindgen_ty_1>())).w as *const _ as usize },
18368 12usize,
18369 concat!(
18370 "Offset of field: ",
18371 stringify!(cl_uint8__bindgen_ty_1),
18372 "::",
18373 stringify!(w)
18374 )
18375 );
18376}
18377#[repr(C)]
18378#[derive(Debug, Copy, Clone)]
18379pub struct cl_uint8__bindgen_ty_2 {
18380 pub s0: cl_uint,
18381 pub s1: cl_uint,
18382 pub s2: cl_uint,
18383 pub s3: cl_uint,
18384 pub s4: cl_uint,
18385 pub s5: cl_uint,
18386 pub s6: cl_uint,
18387 pub s7: cl_uint,
18388}
18389#[test]
18390fn bindgen_test_layout_cl_uint8__bindgen_ty_2() {
18391 assert_eq!(
18392 ::std::mem::size_of::<cl_uint8__bindgen_ty_2>(),
18393 32usize,
18394 concat!("Size of: ", stringify!(cl_uint8__bindgen_ty_2))
18395 );
18396 assert_eq!(
18397 ::std::mem::align_of::<cl_uint8__bindgen_ty_2>(),
18398 4usize,
18399 concat!("Alignment of ", stringify!(cl_uint8__bindgen_ty_2))
18400 );
18401 assert_eq!(
18402 unsafe { &(*(::std::ptr::null::<cl_uint8__bindgen_ty_2>())).s0 as *const _ as usize },
18403 0usize,
18404 concat!(
18405 "Offset of field: ",
18406 stringify!(cl_uint8__bindgen_ty_2),
18407 "::",
18408 stringify!(s0)
18409 )
18410 );
18411 assert_eq!(
18412 unsafe { &(*(::std::ptr::null::<cl_uint8__bindgen_ty_2>())).s1 as *const _ as usize },
18413 4usize,
18414 concat!(
18415 "Offset of field: ",
18416 stringify!(cl_uint8__bindgen_ty_2),
18417 "::",
18418 stringify!(s1)
18419 )
18420 );
18421 assert_eq!(
18422 unsafe { &(*(::std::ptr::null::<cl_uint8__bindgen_ty_2>())).s2 as *const _ as usize },
18423 8usize,
18424 concat!(
18425 "Offset of field: ",
18426 stringify!(cl_uint8__bindgen_ty_2),
18427 "::",
18428 stringify!(s2)
18429 )
18430 );
18431 assert_eq!(
18432 unsafe { &(*(::std::ptr::null::<cl_uint8__bindgen_ty_2>())).s3 as *const _ as usize },
18433 12usize,
18434 concat!(
18435 "Offset of field: ",
18436 stringify!(cl_uint8__bindgen_ty_2),
18437 "::",
18438 stringify!(s3)
18439 )
18440 );
18441 assert_eq!(
18442 unsafe { &(*(::std::ptr::null::<cl_uint8__bindgen_ty_2>())).s4 as *const _ as usize },
18443 16usize,
18444 concat!(
18445 "Offset of field: ",
18446 stringify!(cl_uint8__bindgen_ty_2),
18447 "::",
18448 stringify!(s4)
18449 )
18450 );
18451 assert_eq!(
18452 unsafe { &(*(::std::ptr::null::<cl_uint8__bindgen_ty_2>())).s5 as *const _ as usize },
18453 20usize,
18454 concat!(
18455 "Offset of field: ",
18456 stringify!(cl_uint8__bindgen_ty_2),
18457 "::",
18458 stringify!(s5)
18459 )
18460 );
18461 assert_eq!(
18462 unsafe { &(*(::std::ptr::null::<cl_uint8__bindgen_ty_2>())).s6 as *const _ as usize },
18463 24usize,
18464 concat!(
18465 "Offset of field: ",
18466 stringify!(cl_uint8__bindgen_ty_2),
18467 "::",
18468 stringify!(s6)
18469 )
18470 );
18471 assert_eq!(
18472 unsafe { &(*(::std::ptr::null::<cl_uint8__bindgen_ty_2>())).s7 as *const _ as usize },
18473 28usize,
18474 concat!(
18475 "Offset of field: ",
18476 stringify!(cl_uint8__bindgen_ty_2),
18477 "::",
18478 stringify!(s7)
18479 )
18480 );
18481}
18482#[repr(C)]
18483#[repr(align(16))]
18484#[derive(Copy, Clone)]
18485pub struct cl_uint8__bindgen_ty_3 {
18486 pub lo: cl_uint4,
18487 pub hi: cl_uint4,
18488}
18489#[test]
18490fn bindgen_test_layout_cl_uint8__bindgen_ty_3() {
18491 assert_eq!(
18492 ::std::mem::size_of::<cl_uint8__bindgen_ty_3>(),
18493 32usize,
18494 concat!("Size of: ", stringify!(cl_uint8__bindgen_ty_3))
18495 );
18496 assert_eq!(
18497 ::std::mem::align_of::<cl_uint8__bindgen_ty_3>(),
18498 16usize,
18499 concat!("Alignment of ", stringify!(cl_uint8__bindgen_ty_3))
18500 );
18501 assert_eq!(
18502 unsafe { &(*(::std::ptr::null::<cl_uint8__bindgen_ty_3>())).lo as *const _ as usize },
18503 0usize,
18504 concat!(
18505 "Offset of field: ",
18506 stringify!(cl_uint8__bindgen_ty_3),
18507 "::",
18508 stringify!(lo)
18509 )
18510 );
18511 assert_eq!(
18512 unsafe { &(*(::std::ptr::null::<cl_uint8__bindgen_ty_3>())).hi as *const _ as usize },
18513 16usize,
18514 concat!(
18515 "Offset of field: ",
18516 stringify!(cl_uint8__bindgen_ty_3),
18517 "::",
18518 stringify!(hi)
18519 )
18520 );
18521}
18522#[test]
18523fn bindgen_test_layout_cl_uint8() {
18524 assert_eq!(
18525 ::std::mem::size_of::<cl_uint8>(),
18526 32usize,
18527 concat!("Size of: ", stringify!(cl_uint8))
18528 );
18529 assert_eq!(
18530 ::std::mem::align_of::<cl_uint8>(),
18531 32usize,
18532 concat!("Alignment of ", stringify!(cl_uint8))
18533 );
18534 assert_eq!(
18535 unsafe { &(*(::std::ptr::null::<cl_uint8>())).s as *const _ as usize },
18536 0usize,
18537 concat!(
18538 "Offset of field: ",
18539 stringify!(cl_uint8),
18540 "::",
18541 stringify!(s)
18542 )
18543 );
18544 assert_eq!(
18545 unsafe { &(*(::std::ptr::null::<cl_uint8>())).v2 as *const _ as usize },
18546 0usize,
18547 concat!(
18548 "Offset of field: ",
18549 stringify!(cl_uint8),
18550 "::",
18551 stringify!(v2)
18552 )
18553 );
18554 assert_eq!(
18555 unsafe { &(*(::std::ptr::null::<cl_uint8>())).v4 as *const _ as usize },
18556 0usize,
18557 concat!(
18558 "Offset of field: ",
18559 stringify!(cl_uint8),
18560 "::",
18561 stringify!(v4)
18562 )
18563 );
18564}
18565#[repr(C)]
18566#[repr(align(64))]
18567#[derive(Copy, Clone)]
18568pub union cl_uint16 {
18569 pub s: [cl_uint; 16usize],
18570 pub __bindgen_anon_1: cl_uint16__bindgen_ty_1,
18571 pub __bindgen_anon_2: cl_uint16__bindgen_ty_2,
18572 pub __bindgen_anon_3: cl_uint16__bindgen_ty_3,
18573 pub v2: [__cl_uint2; 8usize],
18574 pub v4: [__cl_uint4; 4usize],
18575 _bindgen_union_align: [u8; 64usize],
18576}
18577#[repr(C)]
18578#[derive(Debug, Copy, Clone)]
18579pub struct cl_uint16__bindgen_ty_1 {
18580 pub x: cl_uint,
18581 pub y: cl_uint,
18582 pub z: cl_uint,
18583 pub w: cl_uint,
18584 pub __spacer4: cl_uint,
18585 pub __spacer5: cl_uint,
18586 pub __spacer6: cl_uint,
18587 pub __spacer7: cl_uint,
18588 pub __spacer8: cl_uint,
18589 pub __spacer9: cl_uint,
18590 pub sa: cl_uint,
18591 pub sb: cl_uint,
18592 pub sc: cl_uint,
18593 pub sd: cl_uint,
18594 pub se: cl_uint,
18595 pub sf: cl_uint,
18596}
18597#[test]
18598fn bindgen_test_layout_cl_uint16__bindgen_ty_1() {
18599 assert_eq!(
18600 ::std::mem::size_of::<cl_uint16__bindgen_ty_1>(),
18601 64usize,
18602 concat!("Size of: ", stringify!(cl_uint16__bindgen_ty_1))
18603 );
18604 assert_eq!(
18605 ::std::mem::align_of::<cl_uint16__bindgen_ty_1>(),
18606 4usize,
18607 concat!("Alignment of ", stringify!(cl_uint16__bindgen_ty_1))
18608 );
18609 assert_eq!(
18610 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_1>())).x as *const _ as usize },
18611 0usize,
18612 concat!(
18613 "Offset of field: ",
18614 stringify!(cl_uint16__bindgen_ty_1),
18615 "::",
18616 stringify!(x)
18617 )
18618 );
18619 assert_eq!(
18620 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_1>())).y as *const _ as usize },
18621 4usize,
18622 concat!(
18623 "Offset of field: ",
18624 stringify!(cl_uint16__bindgen_ty_1),
18625 "::",
18626 stringify!(y)
18627 )
18628 );
18629 assert_eq!(
18630 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_1>())).z as *const _ as usize },
18631 8usize,
18632 concat!(
18633 "Offset of field: ",
18634 stringify!(cl_uint16__bindgen_ty_1),
18635 "::",
18636 stringify!(z)
18637 )
18638 );
18639 assert_eq!(
18640 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_1>())).w as *const _ as usize },
18641 12usize,
18642 concat!(
18643 "Offset of field: ",
18644 stringify!(cl_uint16__bindgen_ty_1),
18645 "::",
18646 stringify!(w)
18647 )
18648 );
18649 assert_eq!(
18650 unsafe {
18651 &(*(::std::ptr::null::<cl_uint16__bindgen_ty_1>())).__spacer4 as *const _ as usize
18652 },
18653 16usize,
18654 concat!(
18655 "Offset of field: ",
18656 stringify!(cl_uint16__bindgen_ty_1),
18657 "::",
18658 stringify!(__spacer4)
18659 )
18660 );
18661 assert_eq!(
18662 unsafe {
18663 &(*(::std::ptr::null::<cl_uint16__bindgen_ty_1>())).__spacer5 as *const _ as usize
18664 },
18665 20usize,
18666 concat!(
18667 "Offset of field: ",
18668 stringify!(cl_uint16__bindgen_ty_1),
18669 "::",
18670 stringify!(__spacer5)
18671 )
18672 );
18673 assert_eq!(
18674 unsafe {
18675 &(*(::std::ptr::null::<cl_uint16__bindgen_ty_1>())).__spacer6 as *const _ as usize
18676 },
18677 24usize,
18678 concat!(
18679 "Offset of field: ",
18680 stringify!(cl_uint16__bindgen_ty_1),
18681 "::",
18682 stringify!(__spacer6)
18683 )
18684 );
18685 assert_eq!(
18686 unsafe {
18687 &(*(::std::ptr::null::<cl_uint16__bindgen_ty_1>())).__spacer7 as *const _ as usize
18688 },
18689 28usize,
18690 concat!(
18691 "Offset of field: ",
18692 stringify!(cl_uint16__bindgen_ty_1),
18693 "::",
18694 stringify!(__spacer7)
18695 )
18696 );
18697 assert_eq!(
18698 unsafe {
18699 &(*(::std::ptr::null::<cl_uint16__bindgen_ty_1>())).__spacer8 as *const _ as usize
18700 },
18701 32usize,
18702 concat!(
18703 "Offset of field: ",
18704 stringify!(cl_uint16__bindgen_ty_1),
18705 "::",
18706 stringify!(__spacer8)
18707 )
18708 );
18709 assert_eq!(
18710 unsafe {
18711 &(*(::std::ptr::null::<cl_uint16__bindgen_ty_1>())).__spacer9 as *const _ as usize
18712 },
18713 36usize,
18714 concat!(
18715 "Offset of field: ",
18716 stringify!(cl_uint16__bindgen_ty_1),
18717 "::",
18718 stringify!(__spacer9)
18719 )
18720 );
18721 assert_eq!(
18722 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_1>())).sa as *const _ as usize },
18723 40usize,
18724 concat!(
18725 "Offset of field: ",
18726 stringify!(cl_uint16__bindgen_ty_1),
18727 "::",
18728 stringify!(sa)
18729 )
18730 );
18731 assert_eq!(
18732 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_1>())).sb as *const _ as usize },
18733 44usize,
18734 concat!(
18735 "Offset of field: ",
18736 stringify!(cl_uint16__bindgen_ty_1),
18737 "::",
18738 stringify!(sb)
18739 )
18740 );
18741 assert_eq!(
18742 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_1>())).sc as *const _ as usize },
18743 48usize,
18744 concat!(
18745 "Offset of field: ",
18746 stringify!(cl_uint16__bindgen_ty_1),
18747 "::",
18748 stringify!(sc)
18749 )
18750 );
18751 assert_eq!(
18752 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_1>())).sd as *const _ as usize },
18753 52usize,
18754 concat!(
18755 "Offset of field: ",
18756 stringify!(cl_uint16__bindgen_ty_1),
18757 "::",
18758 stringify!(sd)
18759 )
18760 );
18761 assert_eq!(
18762 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_1>())).se as *const _ as usize },
18763 56usize,
18764 concat!(
18765 "Offset of field: ",
18766 stringify!(cl_uint16__bindgen_ty_1),
18767 "::",
18768 stringify!(se)
18769 )
18770 );
18771 assert_eq!(
18772 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_1>())).sf as *const _ as usize },
18773 60usize,
18774 concat!(
18775 "Offset of field: ",
18776 stringify!(cl_uint16__bindgen_ty_1),
18777 "::",
18778 stringify!(sf)
18779 )
18780 );
18781}
18782#[repr(C)]
18783#[derive(Debug, Copy, Clone)]
18784pub struct cl_uint16__bindgen_ty_2 {
18785 pub s0: cl_uint,
18786 pub s1: cl_uint,
18787 pub s2: cl_uint,
18788 pub s3: cl_uint,
18789 pub s4: cl_uint,
18790 pub s5: cl_uint,
18791 pub s6: cl_uint,
18792 pub s7: cl_uint,
18793 pub s8: cl_uint,
18794 pub s9: cl_uint,
18795 pub sA: cl_uint,
18796 pub sB: cl_uint,
18797 pub sC: cl_uint,
18798 pub sD: cl_uint,
18799 pub sE: cl_uint,
18800 pub sF: cl_uint,
18801}
18802#[test]
18803fn bindgen_test_layout_cl_uint16__bindgen_ty_2() {
18804 assert_eq!(
18805 ::std::mem::size_of::<cl_uint16__bindgen_ty_2>(),
18806 64usize,
18807 concat!("Size of: ", stringify!(cl_uint16__bindgen_ty_2))
18808 );
18809 assert_eq!(
18810 ::std::mem::align_of::<cl_uint16__bindgen_ty_2>(),
18811 4usize,
18812 concat!("Alignment of ", stringify!(cl_uint16__bindgen_ty_2))
18813 );
18814 assert_eq!(
18815 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_2>())).s0 as *const _ as usize },
18816 0usize,
18817 concat!(
18818 "Offset of field: ",
18819 stringify!(cl_uint16__bindgen_ty_2),
18820 "::",
18821 stringify!(s0)
18822 )
18823 );
18824 assert_eq!(
18825 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_2>())).s1 as *const _ as usize },
18826 4usize,
18827 concat!(
18828 "Offset of field: ",
18829 stringify!(cl_uint16__bindgen_ty_2),
18830 "::",
18831 stringify!(s1)
18832 )
18833 );
18834 assert_eq!(
18835 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_2>())).s2 as *const _ as usize },
18836 8usize,
18837 concat!(
18838 "Offset of field: ",
18839 stringify!(cl_uint16__bindgen_ty_2),
18840 "::",
18841 stringify!(s2)
18842 )
18843 );
18844 assert_eq!(
18845 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_2>())).s3 as *const _ as usize },
18846 12usize,
18847 concat!(
18848 "Offset of field: ",
18849 stringify!(cl_uint16__bindgen_ty_2),
18850 "::",
18851 stringify!(s3)
18852 )
18853 );
18854 assert_eq!(
18855 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_2>())).s4 as *const _ as usize },
18856 16usize,
18857 concat!(
18858 "Offset of field: ",
18859 stringify!(cl_uint16__bindgen_ty_2),
18860 "::",
18861 stringify!(s4)
18862 )
18863 );
18864 assert_eq!(
18865 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_2>())).s5 as *const _ as usize },
18866 20usize,
18867 concat!(
18868 "Offset of field: ",
18869 stringify!(cl_uint16__bindgen_ty_2),
18870 "::",
18871 stringify!(s5)
18872 )
18873 );
18874 assert_eq!(
18875 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_2>())).s6 as *const _ as usize },
18876 24usize,
18877 concat!(
18878 "Offset of field: ",
18879 stringify!(cl_uint16__bindgen_ty_2),
18880 "::",
18881 stringify!(s6)
18882 )
18883 );
18884 assert_eq!(
18885 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_2>())).s7 as *const _ as usize },
18886 28usize,
18887 concat!(
18888 "Offset of field: ",
18889 stringify!(cl_uint16__bindgen_ty_2),
18890 "::",
18891 stringify!(s7)
18892 )
18893 );
18894 assert_eq!(
18895 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_2>())).s8 as *const _ as usize },
18896 32usize,
18897 concat!(
18898 "Offset of field: ",
18899 stringify!(cl_uint16__bindgen_ty_2),
18900 "::",
18901 stringify!(s8)
18902 )
18903 );
18904 assert_eq!(
18905 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_2>())).s9 as *const _ as usize },
18906 36usize,
18907 concat!(
18908 "Offset of field: ",
18909 stringify!(cl_uint16__bindgen_ty_2),
18910 "::",
18911 stringify!(s9)
18912 )
18913 );
18914 assert_eq!(
18915 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_2>())).sA as *const _ as usize },
18916 40usize,
18917 concat!(
18918 "Offset of field: ",
18919 stringify!(cl_uint16__bindgen_ty_2),
18920 "::",
18921 stringify!(sA)
18922 )
18923 );
18924 assert_eq!(
18925 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_2>())).sB as *const _ as usize },
18926 44usize,
18927 concat!(
18928 "Offset of field: ",
18929 stringify!(cl_uint16__bindgen_ty_2),
18930 "::",
18931 stringify!(sB)
18932 )
18933 );
18934 assert_eq!(
18935 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_2>())).sC as *const _ as usize },
18936 48usize,
18937 concat!(
18938 "Offset of field: ",
18939 stringify!(cl_uint16__bindgen_ty_2),
18940 "::",
18941 stringify!(sC)
18942 )
18943 );
18944 assert_eq!(
18945 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_2>())).sD as *const _ as usize },
18946 52usize,
18947 concat!(
18948 "Offset of field: ",
18949 stringify!(cl_uint16__bindgen_ty_2),
18950 "::",
18951 stringify!(sD)
18952 )
18953 );
18954 assert_eq!(
18955 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_2>())).sE as *const _ as usize },
18956 56usize,
18957 concat!(
18958 "Offset of field: ",
18959 stringify!(cl_uint16__bindgen_ty_2),
18960 "::",
18961 stringify!(sE)
18962 )
18963 );
18964 assert_eq!(
18965 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_2>())).sF as *const _ as usize },
18966 60usize,
18967 concat!(
18968 "Offset of field: ",
18969 stringify!(cl_uint16__bindgen_ty_2),
18970 "::",
18971 stringify!(sF)
18972 )
18973 );
18974}
18975#[repr(C)]
18976#[repr(align(32))]
18977#[derive(Copy, Clone)]
18978pub struct cl_uint16__bindgen_ty_3 {
18979 pub lo: cl_uint8,
18980 pub hi: cl_uint8,
18981}
18982#[test]
18983fn bindgen_test_layout_cl_uint16__bindgen_ty_3() {
18984 assert_eq!(
18985 ::std::mem::size_of::<cl_uint16__bindgen_ty_3>(),
18986 64usize,
18987 concat!("Size of: ", stringify!(cl_uint16__bindgen_ty_3))
18988 );
18989 assert_eq!(
18990 ::std::mem::align_of::<cl_uint16__bindgen_ty_3>(),
18991 32usize,
18992 concat!("Alignment of ", stringify!(cl_uint16__bindgen_ty_3))
18993 );
18994 assert_eq!(
18995 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_3>())).lo as *const _ as usize },
18996 0usize,
18997 concat!(
18998 "Offset of field: ",
18999 stringify!(cl_uint16__bindgen_ty_3),
19000 "::",
19001 stringify!(lo)
19002 )
19003 );
19004 assert_eq!(
19005 unsafe { &(*(::std::ptr::null::<cl_uint16__bindgen_ty_3>())).hi as *const _ as usize },
19006 32usize,
19007 concat!(
19008 "Offset of field: ",
19009 stringify!(cl_uint16__bindgen_ty_3),
19010 "::",
19011 stringify!(hi)
19012 )
19013 );
19014}
19015#[test]
19016fn bindgen_test_layout_cl_uint16() {
19017 assert_eq!(
19018 ::std::mem::size_of::<cl_uint16>(),
19019 64usize,
19020 concat!("Size of: ", stringify!(cl_uint16))
19021 );
19022 assert_eq!(
19023 ::std::mem::align_of::<cl_uint16>(),
19024 64usize,
19025 concat!("Alignment of ", stringify!(cl_uint16))
19026 );
19027 assert_eq!(
19028 unsafe { &(*(::std::ptr::null::<cl_uint16>())).s as *const _ as usize },
19029 0usize,
19030 concat!(
19031 "Offset of field: ",
19032 stringify!(cl_uint16),
19033 "::",
19034 stringify!(s)
19035 )
19036 );
19037 assert_eq!(
19038 unsafe { &(*(::std::ptr::null::<cl_uint16>())).v2 as *const _ as usize },
19039 0usize,
19040 concat!(
19041 "Offset of field: ",
19042 stringify!(cl_uint16),
19043 "::",
19044 stringify!(v2)
19045 )
19046 );
19047 assert_eq!(
19048 unsafe { &(*(::std::ptr::null::<cl_uint16>())).v4 as *const _ as usize },
19049 0usize,
19050 concat!(
19051 "Offset of field: ",
19052 stringify!(cl_uint16),
19053 "::",
19054 stringify!(v4)
19055 )
19056 );
19057}
19058#[repr(C)]
19059#[repr(align(16))]
19060#[derive(Copy, Clone)]
19061pub union cl_long2 {
19062 pub s: [cl_long; 2usize],
19063 pub __bindgen_anon_1: cl_long2__bindgen_ty_1,
19064 pub __bindgen_anon_2: cl_long2__bindgen_ty_2,
19065 pub __bindgen_anon_3: cl_long2__bindgen_ty_3,
19066 pub v2: __cl_long2,
19067 _bindgen_union_align: u128,
19068}
19069#[repr(C)]
19070#[derive(Debug, Copy, Clone)]
19071pub struct cl_long2__bindgen_ty_1 {
19072 pub x: cl_long,
19073 pub y: cl_long,
19074}
19075#[test]
19076fn bindgen_test_layout_cl_long2__bindgen_ty_1() {
19077 assert_eq!(
19078 ::std::mem::size_of::<cl_long2__bindgen_ty_1>(),
19079 16usize,
19080 concat!("Size of: ", stringify!(cl_long2__bindgen_ty_1))
19081 );
19082 assert_eq!(
19083 ::std::mem::align_of::<cl_long2__bindgen_ty_1>(),
19084 8usize,
19085 concat!("Alignment of ", stringify!(cl_long2__bindgen_ty_1))
19086 );
19087 assert_eq!(
19088 unsafe { &(*(::std::ptr::null::<cl_long2__bindgen_ty_1>())).x as *const _ as usize },
19089 0usize,
19090 concat!(
19091 "Offset of field: ",
19092 stringify!(cl_long2__bindgen_ty_1),
19093 "::",
19094 stringify!(x)
19095 )
19096 );
19097 assert_eq!(
19098 unsafe { &(*(::std::ptr::null::<cl_long2__bindgen_ty_1>())).y as *const _ as usize },
19099 8usize,
19100 concat!(
19101 "Offset of field: ",
19102 stringify!(cl_long2__bindgen_ty_1),
19103 "::",
19104 stringify!(y)
19105 )
19106 );
19107}
19108#[repr(C)]
19109#[derive(Debug, Copy, Clone)]
19110pub struct cl_long2__bindgen_ty_2 {
19111 pub s0: cl_long,
19112 pub s1: cl_long,
19113}
19114#[test]
19115fn bindgen_test_layout_cl_long2__bindgen_ty_2() {
19116 assert_eq!(
19117 ::std::mem::size_of::<cl_long2__bindgen_ty_2>(),
19118 16usize,
19119 concat!("Size of: ", stringify!(cl_long2__bindgen_ty_2))
19120 );
19121 assert_eq!(
19122 ::std::mem::align_of::<cl_long2__bindgen_ty_2>(),
19123 8usize,
19124 concat!("Alignment of ", stringify!(cl_long2__bindgen_ty_2))
19125 );
19126 assert_eq!(
19127 unsafe { &(*(::std::ptr::null::<cl_long2__bindgen_ty_2>())).s0 as *const _ as usize },
19128 0usize,
19129 concat!(
19130 "Offset of field: ",
19131 stringify!(cl_long2__bindgen_ty_2),
19132 "::",
19133 stringify!(s0)
19134 )
19135 );
19136 assert_eq!(
19137 unsafe { &(*(::std::ptr::null::<cl_long2__bindgen_ty_2>())).s1 as *const _ as usize },
19138 8usize,
19139 concat!(
19140 "Offset of field: ",
19141 stringify!(cl_long2__bindgen_ty_2),
19142 "::",
19143 stringify!(s1)
19144 )
19145 );
19146}
19147#[repr(C)]
19148#[derive(Debug, Copy, Clone)]
19149pub struct cl_long2__bindgen_ty_3 {
19150 pub lo: cl_long,
19151 pub hi: cl_long,
19152}
19153#[test]
19154fn bindgen_test_layout_cl_long2__bindgen_ty_3() {
19155 assert_eq!(
19156 ::std::mem::size_of::<cl_long2__bindgen_ty_3>(),
19157 16usize,
19158 concat!("Size of: ", stringify!(cl_long2__bindgen_ty_3))
19159 );
19160 assert_eq!(
19161 ::std::mem::align_of::<cl_long2__bindgen_ty_3>(),
19162 8usize,
19163 concat!("Alignment of ", stringify!(cl_long2__bindgen_ty_3))
19164 );
19165 assert_eq!(
19166 unsafe { &(*(::std::ptr::null::<cl_long2__bindgen_ty_3>())).lo as *const _ as usize },
19167 0usize,
19168 concat!(
19169 "Offset of field: ",
19170 stringify!(cl_long2__bindgen_ty_3),
19171 "::",
19172 stringify!(lo)
19173 )
19174 );
19175 assert_eq!(
19176 unsafe { &(*(::std::ptr::null::<cl_long2__bindgen_ty_3>())).hi as *const _ as usize },
19177 8usize,
19178 concat!(
19179 "Offset of field: ",
19180 stringify!(cl_long2__bindgen_ty_3),
19181 "::",
19182 stringify!(hi)
19183 )
19184 );
19185}
19186#[test]
19187fn bindgen_test_layout_cl_long2() {
19188 assert_eq!(
19189 ::std::mem::size_of::<cl_long2>(),
19190 16usize,
19191 concat!("Size of: ", stringify!(cl_long2))
19192 );
19193 assert_eq!(
19194 ::std::mem::align_of::<cl_long2>(),
19195 16usize,
19196 concat!("Alignment of ", stringify!(cl_long2))
19197 );
19198 assert_eq!(
19199 unsafe { &(*(::std::ptr::null::<cl_long2>())).s as *const _ as usize },
19200 0usize,
19201 concat!(
19202 "Offset of field: ",
19203 stringify!(cl_long2),
19204 "::",
19205 stringify!(s)
19206 )
19207 );
19208 assert_eq!(
19209 unsafe { &(*(::std::ptr::null::<cl_long2>())).v2 as *const _ as usize },
19210 0usize,
19211 concat!(
19212 "Offset of field: ",
19213 stringify!(cl_long2),
19214 "::",
19215 stringify!(v2)
19216 )
19217 );
19218}
19219#[repr(C)]
19220#[repr(align(32))]
19221#[derive(Copy, Clone)]
19222pub union cl_long4 {
19223 pub s: [cl_long; 4usize],
19224 pub __bindgen_anon_1: cl_long4__bindgen_ty_1,
19225 pub __bindgen_anon_2: cl_long4__bindgen_ty_2,
19226 pub __bindgen_anon_3: cl_long4__bindgen_ty_3,
19227 pub v2: [__cl_long2; 2usize],
19228 _bindgen_union_align: [u8; 32usize],
19229}
19230#[repr(C)]
19231#[derive(Debug, Copy, Clone)]
19232pub struct cl_long4__bindgen_ty_1 {
19233 pub x: cl_long,
19234 pub y: cl_long,
19235 pub z: cl_long,
19236 pub w: cl_long,
19237}
19238#[test]
19239fn bindgen_test_layout_cl_long4__bindgen_ty_1() {
19240 assert_eq!(
19241 ::std::mem::size_of::<cl_long4__bindgen_ty_1>(),
19242 32usize,
19243 concat!("Size of: ", stringify!(cl_long4__bindgen_ty_1))
19244 );
19245 assert_eq!(
19246 ::std::mem::align_of::<cl_long4__bindgen_ty_1>(),
19247 8usize,
19248 concat!("Alignment of ", stringify!(cl_long4__bindgen_ty_1))
19249 );
19250 assert_eq!(
19251 unsafe { &(*(::std::ptr::null::<cl_long4__bindgen_ty_1>())).x as *const _ as usize },
19252 0usize,
19253 concat!(
19254 "Offset of field: ",
19255 stringify!(cl_long4__bindgen_ty_1),
19256 "::",
19257 stringify!(x)
19258 )
19259 );
19260 assert_eq!(
19261 unsafe { &(*(::std::ptr::null::<cl_long4__bindgen_ty_1>())).y as *const _ as usize },
19262 8usize,
19263 concat!(
19264 "Offset of field: ",
19265 stringify!(cl_long4__bindgen_ty_1),
19266 "::",
19267 stringify!(y)
19268 )
19269 );
19270 assert_eq!(
19271 unsafe { &(*(::std::ptr::null::<cl_long4__bindgen_ty_1>())).z as *const _ as usize },
19272 16usize,
19273 concat!(
19274 "Offset of field: ",
19275 stringify!(cl_long4__bindgen_ty_1),
19276 "::",
19277 stringify!(z)
19278 )
19279 );
19280 assert_eq!(
19281 unsafe { &(*(::std::ptr::null::<cl_long4__bindgen_ty_1>())).w as *const _ as usize },
19282 24usize,
19283 concat!(
19284 "Offset of field: ",
19285 stringify!(cl_long4__bindgen_ty_1),
19286 "::",
19287 stringify!(w)
19288 )
19289 );
19290}
19291#[repr(C)]
19292#[derive(Debug, Copy, Clone)]
19293pub struct cl_long4__bindgen_ty_2 {
19294 pub s0: cl_long,
19295 pub s1: cl_long,
19296 pub s2: cl_long,
19297 pub s3: cl_long,
19298}
19299#[test]
19300fn bindgen_test_layout_cl_long4__bindgen_ty_2() {
19301 assert_eq!(
19302 ::std::mem::size_of::<cl_long4__bindgen_ty_2>(),
19303 32usize,
19304 concat!("Size of: ", stringify!(cl_long4__bindgen_ty_2))
19305 );
19306 assert_eq!(
19307 ::std::mem::align_of::<cl_long4__bindgen_ty_2>(),
19308 8usize,
19309 concat!("Alignment of ", stringify!(cl_long4__bindgen_ty_2))
19310 );
19311 assert_eq!(
19312 unsafe { &(*(::std::ptr::null::<cl_long4__bindgen_ty_2>())).s0 as *const _ as usize },
19313 0usize,
19314 concat!(
19315 "Offset of field: ",
19316 stringify!(cl_long4__bindgen_ty_2),
19317 "::",
19318 stringify!(s0)
19319 )
19320 );
19321 assert_eq!(
19322 unsafe { &(*(::std::ptr::null::<cl_long4__bindgen_ty_2>())).s1 as *const _ as usize },
19323 8usize,
19324 concat!(
19325 "Offset of field: ",
19326 stringify!(cl_long4__bindgen_ty_2),
19327 "::",
19328 stringify!(s1)
19329 )
19330 );
19331 assert_eq!(
19332 unsafe { &(*(::std::ptr::null::<cl_long4__bindgen_ty_2>())).s2 as *const _ as usize },
19333 16usize,
19334 concat!(
19335 "Offset of field: ",
19336 stringify!(cl_long4__bindgen_ty_2),
19337 "::",
19338 stringify!(s2)
19339 )
19340 );
19341 assert_eq!(
19342 unsafe { &(*(::std::ptr::null::<cl_long4__bindgen_ty_2>())).s3 as *const _ as usize },
19343 24usize,
19344 concat!(
19345 "Offset of field: ",
19346 stringify!(cl_long4__bindgen_ty_2),
19347 "::",
19348 stringify!(s3)
19349 )
19350 );
19351}
19352#[repr(C)]
19353#[repr(align(16))]
19354#[derive(Copy, Clone)]
19355pub struct cl_long4__bindgen_ty_3 {
19356 pub lo: cl_long2,
19357 pub hi: cl_long2,
19358}
19359#[test]
19360fn bindgen_test_layout_cl_long4__bindgen_ty_3() {
19361 assert_eq!(
19362 ::std::mem::size_of::<cl_long4__bindgen_ty_3>(),
19363 32usize,
19364 concat!("Size of: ", stringify!(cl_long4__bindgen_ty_3))
19365 );
19366 assert_eq!(
19367 ::std::mem::align_of::<cl_long4__bindgen_ty_3>(),
19368 16usize,
19369 concat!("Alignment of ", stringify!(cl_long4__bindgen_ty_3))
19370 );
19371 assert_eq!(
19372 unsafe { &(*(::std::ptr::null::<cl_long4__bindgen_ty_3>())).lo as *const _ as usize },
19373 0usize,
19374 concat!(
19375 "Offset of field: ",
19376 stringify!(cl_long4__bindgen_ty_3),
19377 "::",
19378 stringify!(lo)
19379 )
19380 );
19381 assert_eq!(
19382 unsafe { &(*(::std::ptr::null::<cl_long4__bindgen_ty_3>())).hi as *const _ as usize },
19383 16usize,
19384 concat!(
19385 "Offset of field: ",
19386 stringify!(cl_long4__bindgen_ty_3),
19387 "::",
19388 stringify!(hi)
19389 )
19390 );
19391}
19392#[test]
19393fn bindgen_test_layout_cl_long4() {
19394 assert_eq!(
19395 ::std::mem::size_of::<cl_long4>(),
19396 32usize,
19397 concat!("Size of: ", stringify!(cl_long4))
19398 );
19399 assert_eq!(
19400 ::std::mem::align_of::<cl_long4>(),
19401 32usize,
19402 concat!("Alignment of ", stringify!(cl_long4))
19403 );
19404 assert_eq!(
19405 unsafe { &(*(::std::ptr::null::<cl_long4>())).s as *const _ as usize },
19406 0usize,
19407 concat!(
19408 "Offset of field: ",
19409 stringify!(cl_long4),
19410 "::",
19411 stringify!(s)
19412 )
19413 );
19414 assert_eq!(
19415 unsafe { &(*(::std::ptr::null::<cl_long4>())).v2 as *const _ as usize },
19416 0usize,
19417 concat!(
19418 "Offset of field: ",
19419 stringify!(cl_long4),
19420 "::",
19421 stringify!(v2)
19422 )
19423 );
19424}
19425pub type cl_long3 = cl_long4;
19426#[repr(C)]
19427#[repr(align(64))]
19428#[derive(Copy, Clone)]
19429pub union cl_long8 {
19430 pub s: [cl_long; 8usize],
19431 pub __bindgen_anon_1: cl_long8__bindgen_ty_1,
19432 pub __bindgen_anon_2: cl_long8__bindgen_ty_2,
19433 pub __bindgen_anon_3: cl_long8__bindgen_ty_3,
19434 pub v2: [__cl_long2; 4usize],
19435 _bindgen_union_align: [u8; 64usize],
19436}
19437#[repr(C)]
19438#[derive(Debug, Copy, Clone)]
19439pub struct cl_long8__bindgen_ty_1 {
19440 pub x: cl_long,
19441 pub y: cl_long,
19442 pub z: cl_long,
19443 pub w: cl_long,
19444}
19445#[test]
19446fn bindgen_test_layout_cl_long8__bindgen_ty_1() {
19447 assert_eq!(
19448 ::std::mem::size_of::<cl_long8__bindgen_ty_1>(),
19449 32usize,
19450 concat!("Size of: ", stringify!(cl_long8__bindgen_ty_1))
19451 );
19452 assert_eq!(
19453 ::std::mem::align_of::<cl_long8__bindgen_ty_1>(),
19454 8usize,
19455 concat!("Alignment of ", stringify!(cl_long8__bindgen_ty_1))
19456 );
19457 assert_eq!(
19458 unsafe { &(*(::std::ptr::null::<cl_long8__bindgen_ty_1>())).x as *const _ as usize },
19459 0usize,
19460 concat!(
19461 "Offset of field: ",
19462 stringify!(cl_long8__bindgen_ty_1),
19463 "::",
19464 stringify!(x)
19465 )
19466 );
19467 assert_eq!(
19468 unsafe { &(*(::std::ptr::null::<cl_long8__bindgen_ty_1>())).y as *const _ as usize },
19469 8usize,
19470 concat!(
19471 "Offset of field: ",
19472 stringify!(cl_long8__bindgen_ty_1),
19473 "::",
19474 stringify!(y)
19475 )
19476 );
19477 assert_eq!(
19478 unsafe { &(*(::std::ptr::null::<cl_long8__bindgen_ty_1>())).z as *const _ as usize },
19479 16usize,
19480 concat!(
19481 "Offset of field: ",
19482 stringify!(cl_long8__bindgen_ty_1),
19483 "::",
19484 stringify!(z)
19485 )
19486 );
19487 assert_eq!(
19488 unsafe { &(*(::std::ptr::null::<cl_long8__bindgen_ty_1>())).w as *const _ as usize },
19489 24usize,
19490 concat!(
19491 "Offset of field: ",
19492 stringify!(cl_long8__bindgen_ty_1),
19493 "::",
19494 stringify!(w)
19495 )
19496 );
19497}
19498#[repr(C)]
19499#[derive(Debug, Copy, Clone)]
19500pub struct cl_long8__bindgen_ty_2 {
19501 pub s0: cl_long,
19502 pub s1: cl_long,
19503 pub s2: cl_long,
19504 pub s3: cl_long,
19505 pub s4: cl_long,
19506 pub s5: cl_long,
19507 pub s6: cl_long,
19508 pub s7: cl_long,
19509}
19510#[test]
19511fn bindgen_test_layout_cl_long8__bindgen_ty_2() {
19512 assert_eq!(
19513 ::std::mem::size_of::<cl_long8__bindgen_ty_2>(),
19514 64usize,
19515 concat!("Size of: ", stringify!(cl_long8__bindgen_ty_2))
19516 );
19517 assert_eq!(
19518 ::std::mem::align_of::<cl_long8__bindgen_ty_2>(),
19519 8usize,
19520 concat!("Alignment of ", stringify!(cl_long8__bindgen_ty_2))
19521 );
19522 assert_eq!(
19523 unsafe { &(*(::std::ptr::null::<cl_long8__bindgen_ty_2>())).s0 as *const _ as usize },
19524 0usize,
19525 concat!(
19526 "Offset of field: ",
19527 stringify!(cl_long8__bindgen_ty_2),
19528 "::",
19529 stringify!(s0)
19530 )
19531 );
19532 assert_eq!(
19533 unsafe { &(*(::std::ptr::null::<cl_long8__bindgen_ty_2>())).s1 as *const _ as usize },
19534 8usize,
19535 concat!(
19536 "Offset of field: ",
19537 stringify!(cl_long8__bindgen_ty_2),
19538 "::",
19539 stringify!(s1)
19540 )
19541 );
19542 assert_eq!(
19543 unsafe { &(*(::std::ptr::null::<cl_long8__bindgen_ty_2>())).s2 as *const _ as usize },
19544 16usize,
19545 concat!(
19546 "Offset of field: ",
19547 stringify!(cl_long8__bindgen_ty_2),
19548 "::",
19549 stringify!(s2)
19550 )
19551 );
19552 assert_eq!(
19553 unsafe { &(*(::std::ptr::null::<cl_long8__bindgen_ty_2>())).s3 as *const _ as usize },
19554 24usize,
19555 concat!(
19556 "Offset of field: ",
19557 stringify!(cl_long8__bindgen_ty_2),
19558 "::",
19559 stringify!(s3)
19560 )
19561 );
19562 assert_eq!(
19563 unsafe { &(*(::std::ptr::null::<cl_long8__bindgen_ty_2>())).s4 as *const _ as usize },
19564 32usize,
19565 concat!(
19566 "Offset of field: ",
19567 stringify!(cl_long8__bindgen_ty_2),
19568 "::",
19569 stringify!(s4)
19570 )
19571 );
19572 assert_eq!(
19573 unsafe { &(*(::std::ptr::null::<cl_long8__bindgen_ty_2>())).s5 as *const _ as usize },
19574 40usize,
19575 concat!(
19576 "Offset of field: ",
19577 stringify!(cl_long8__bindgen_ty_2),
19578 "::",
19579 stringify!(s5)
19580 )
19581 );
19582 assert_eq!(
19583 unsafe { &(*(::std::ptr::null::<cl_long8__bindgen_ty_2>())).s6 as *const _ as usize },
19584 48usize,
19585 concat!(
19586 "Offset of field: ",
19587 stringify!(cl_long8__bindgen_ty_2),
19588 "::",
19589 stringify!(s6)
19590 )
19591 );
19592 assert_eq!(
19593 unsafe { &(*(::std::ptr::null::<cl_long8__bindgen_ty_2>())).s7 as *const _ as usize },
19594 56usize,
19595 concat!(
19596 "Offset of field: ",
19597 stringify!(cl_long8__bindgen_ty_2),
19598 "::",
19599 stringify!(s7)
19600 )
19601 );
19602}
19603#[repr(C)]
19604#[repr(align(32))]
19605#[derive(Copy, Clone)]
19606pub struct cl_long8__bindgen_ty_3 {
19607 pub lo: cl_long4,
19608 pub hi: cl_long4,
19609}
19610#[test]
19611fn bindgen_test_layout_cl_long8__bindgen_ty_3() {
19612 assert_eq!(
19613 ::std::mem::size_of::<cl_long8__bindgen_ty_3>(),
19614 64usize,
19615 concat!("Size of: ", stringify!(cl_long8__bindgen_ty_3))
19616 );
19617 assert_eq!(
19618 ::std::mem::align_of::<cl_long8__bindgen_ty_3>(),
19619 32usize,
19620 concat!("Alignment of ", stringify!(cl_long8__bindgen_ty_3))
19621 );
19622 assert_eq!(
19623 unsafe { &(*(::std::ptr::null::<cl_long8__bindgen_ty_3>())).lo as *const _ as usize },
19624 0usize,
19625 concat!(
19626 "Offset of field: ",
19627 stringify!(cl_long8__bindgen_ty_3),
19628 "::",
19629 stringify!(lo)
19630 )
19631 );
19632 assert_eq!(
19633 unsafe { &(*(::std::ptr::null::<cl_long8__bindgen_ty_3>())).hi as *const _ as usize },
19634 32usize,
19635 concat!(
19636 "Offset of field: ",
19637 stringify!(cl_long8__bindgen_ty_3),
19638 "::",
19639 stringify!(hi)
19640 )
19641 );
19642}
19643#[test]
19644fn bindgen_test_layout_cl_long8() {
19645 assert_eq!(
19646 ::std::mem::size_of::<cl_long8>(),
19647 64usize,
19648 concat!("Size of: ", stringify!(cl_long8))
19649 );
19650 assert_eq!(
19651 ::std::mem::align_of::<cl_long8>(),
19652 64usize,
19653 concat!("Alignment of ", stringify!(cl_long8))
19654 );
19655 assert_eq!(
19656 unsafe { &(*(::std::ptr::null::<cl_long8>())).s as *const _ as usize },
19657 0usize,
19658 concat!(
19659 "Offset of field: ",
19660 stringify!(cl_long8),
19661 "::",
19662 stringify!(s)
19663 )
19664 );
19665 assert_eq!(
19666 unsafe { &(*(::std::ptr::null::<cl_long8>())).v2 as *const _ as usize },
19667 0usize,
19668 concat!(
19669 "Offset of field: ",
19670 stringify!(cl_long8),
19671 "::",
19672 stringify!(v2)
19673 )
19674 );
19675}
19676#[repr(C)]
19677#[repr(align(128))]
19678#[derive(Copy, Clone)]
19679pub union cl_long16 {
19680 pub s: [cl_long; 16usize],
19681 pub __bindgen_anon_1: cl_long16__bindgen_ty_1,
19682 pub __bindgen_anon_2: cl_long16__bindgen_ty_2,
19683 pub __bindgen_anon_3: cl_long16__bindgen_ty_3,
19684 pub v2: [__cl_long2; 8usize],
19685 _bindgen_union_align: [u8; 128usize],
19686}
19687#[repr(C)]
19688#[derive(Debug, Copy, Clone)]
19689pub struct cl_long16__bindgen_ty_1 {
19690 pub x: cl_long,
19691 pub y: cl_long,
19692 pub z: cl_long,
19693 pub w: cl_long,
19694 pub __spacer4: cl_long,
19695 pub __spacer5: cl_long,
19696 pub __spacer6: cl_long,
19697 pub __spacer7: cl_long,
19698 pub __spacer8: cl_long,
19699 pub __spacer9: cl_long,
19700 pub sa: cl_long,
19701 pub sb: cl_long,
19702 pub sc: cl_long,
19703 pub sd: cl_long,
19704 pub se: cl_long,
19705 pub sf: cl_long,
19706}
19707#[test]
19708fn bindgen_test_layout_cl_long16__bindgen_ty_1() {
19709 assert_eq!(
19710 ::std::mem::size_of::<cl_long16__bindgen_ty_1>(),
19711 128usize,
19712 concat!("Size of: ", stringify!(cl_long16__bindgen_ty_1))
19713 );
19714 assert_eq!(
19715 ::std::mem::align_of::<cl_long16__bindgen_ty_1>(),
19716 8usize,
19717 concat!("Alignment of ", stringify!(cl_long16__bindgen_ty_1))
19718 );
19719 assert_eq!(
19720 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_1>())).x as *const _ as usize },
19721 0usize,
19722 concat!(
19723 "Offset of field: ",
19724 stringify!(cl_long16__bindgen_ty_1),
19725 "::",
19726 stringify!(x)
19727 )
19728 );
19729 assert_eq!(
19730 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_1>())).y as *const _ as usize },
19731 8usize,
19732 concat!(
19733 "Offset of field: ",
19734 stringify!(cl_long16__bindgen_ty_1),
19735 "::",
19736 stringify!(y)
19737 )
19738 );
19739 assert_eq!(
19740 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_1>())).z as *const _ as usize },
19741 16usize,
19742 concat!(
19743 "Offset of field: ",
19744 stringify!(cl_long16__bindgen_ty_1),
19745 "::",
19746 stringify!(z)
19747 )
19748 );
19749 assert_eq!(
19750 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_1>())).w as *const _ as usize },
19751 24usize,
19752 concat!(
19753 "Offset of field: ",
19754 stringify!(cl_long16__bindgen_ty_1),
19755 "::",
19756 stringify!(w)
19757 )
19758 );
19759 assert_eq!(
19760 unsafe {
19761 &(*(::std::ptr::null::<cl_long16__bindgen_ty_1>())).__spacer4 as *const _ as usize
19762 },
19763 32usize,
19764 concat!(
19765 "Offset of field: ",
19766 stringify!(cl_long16__bindgen_ty_1),
19767 "::",
19768 stringify!(__spacer4)
19769 )
19770 );
19771 assert_eq!(
19772 unsafe {
19773 &(*(::std::ptr::null::<cl_long16__bindgen_ty_1>())).__spacer5 as *const _ as usize
19774 },
19775 40usize,
19776 concat!(
19777 "Offset of field: ",
19778 stringify!(cl_long16__bindgen_ty_1),
19779 "::",
19780 stringify!(__spacer5)
19781 )
19782 );
19783 assert_eq!(
19784 unsafe {
19785 &(*(::std::ptr::null::<cl_long16__bindgen_ty_1>())).__spacer6 as *const _ as usize
19786 },
19787 48usize,
19788 concat!(
19789 "Offset of field: ",
19790 stringify!(cl_long16__bindgen_ty_1),
19791 "::",
19792 stringify!(__spacer6)
19793 )
19794 );
19795 assert_eq!(
19796 unsafe {
19797 &(*(::std::ptr::null::<cl_long16__bindgen_ty_1>())).__spacer7 as *const _ as usize
19798 },
19799 56usize,
19800 concat!(
19801 "Offset of field: ",
19802 stringify!(cl_long16__bindgen_ty_1),
19803 "::",
19804 stringify!(__spacer7)
19805 )
19806 );
19807 assert_eq!(
19808 unsafe {
19809 &(*(::std::ptr::null::<cl_long16__bindgen_ty_1>())).__spacer8 as *const _ as usize
19810 },
19811 64usize,
19812 concat!(
19813 "Offset of field: ",
19814 stringify!(cl_long16__bindgen_ty_1),
19815 "::",
19816 stringify!(__spacer8)
19817 )
19818 );
19819 assert_eq!(
19820 unsafe {
19821 &(*(::std::ptr::null::<cl_long16__bindgen_ty_1>())).__spacer9 as *const _ as usize
19822 },
19823 72usize,
19824 concat!(
19825 "Offset of field: ",
19826 stringify!(cl_long16__bindgen_ty_1),
19827 "::",
19828 stringify!(__spacer9)
19829 )
19830 );
19831 assert_eq!(
19832 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_1>())).sa as *const _ as usize },
19833 80usize,
19834 concat!(
19835 "Offset of field: ",
19836 stringify!(cl_long16__bindgen_ty_1),
19837 "::",
19838 stringify!(sa)
19839 )
19840 );
19841 assert_eq!(
19842 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_1>())).sb as *const _ as usize },
19843 88usize,
19844 concat!(
19845 "Offset of field: ",
19846 stringify!(cl_long16__bindgen_ty_1),
19847 "::",
19848 stringify!(sb)
19849 )
19850 );
19851 assert_eq!(
19852 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_1>())).sc as *const _ as usize },
19853 96usize,
19854 concat!(
19855 "Offset of field: ",
19856 stringify!(cl_long16__bindgen_ty_1),
19857 "::",
19858 stringify!(sc)
19859 )
19860 );
19861 assert_eq!(
19862 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_1>())).sd as *const _ as usize },
19863 104usize,
19864 concat!(
19865 "Offset of field: ",
19866 stringify!(cl_long16__bindgen_ty_1),
19867 "::",
19868 stringify!(sd)
19869 )
19870 );
19871 assert_eq!(
19872 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_1>())).se as *const _ as usize },
19873 112usize,
19874 concat!(
19875 "Offset of field: ",
19876 stringify!(cl_long16__bindgen_ty_1),
19877 "::",
19878 stringify!(se)
19879 )
19880 );
19881 assert_eq!(
19882 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_1>())).sf as *const _ as usize },
19883 120usize,
19884 concat!(
19885 "Offset of field: ",
19886 stringify!(cl_long16__bindgen_ty_1),
19887 "::",
19888 stringify!(sf)
19889 )
19890 );
19891}
19892#[repr(C)]
19893#[derive(Debug, Copy, Clone)]
19894pub struct cl_long16__bindgen_ty_2 {
19895 pub s0: cl_long,
19896 pub s1: cl_long,
19897 pub s2: cl_long,
19898 pub s3: cl_long,
19899 pub s4: cl_long,
19900 pub s5: cl_long,
19901 pub s6: cl_long,
19902 pub s7: cl_long,
19903 pub s8: cl_long,
19904 pub s9: cl_long,
19905 pub sA: cl_long,
19906 pub sB: cl_long,
19907 pub sC: cl_long,
19908 pub sD: cl_long,
19909 pub sE: cl_long,
19910 pub sF: cl_long,
19911}
19912#[test]
19913fn bindgen_test_layout_cl_long16__bindgen_ty_2() {
19914 assert_eq!(
19915 ::std::mem::size_of::<cl_long16__bindgen_ty_2>(),
19916 128usize,
19917 concat!("Size of: ", stringify!(cl_long16__bindgen_ty_2))
19918 );
19919 assert_eq!(
19920 ::std::mem::align_of::<cl_long16__bindgen_ty_2>(),
19921 8usize,
19922 concat!("Alignment of ", stringify!(cl_long16__bindgen_ty_2))
19923 );
19924 assert_eq!(
19925 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_2>())).s0 as *const _ as usize },
19926 0usize,
19927 concat!(
19928 "Offset of field: ",
19929 stringify!(cl_long16__bindgen_ty_2),
19930 "::",
19931 stringify!(s0)
19932 )
19933 );
19934 assert_eq!(
19935 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_2>())).s1 as *const _ as usize },
19936 8usize,
19937 concat!(
19938 "Offset of field: ",
19939 stringify!(cl_long16__bindgen_ty_2),
19940 "::",
19941 stringify!(s1)
19942 )
19943 );
19944 assert_eq!(
19945 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_2>())).s2 as *const _ as usize },
19946 16usize,
19947 concat!(
19948 "Offset of field: ",
19949 stringify!(cl_long16__bindgen_ty_2),
19950 "::",
19951 stringify!(s2)
19952 )
19953 );
19954 assert_eq!(
19955 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_2>())).s3 as *const _ as usize },
19956 24usize,
19957 concat!(
19958 "Offset of field: ",
19959 stringify!(cl_long16__bindgen_ty_2),
19960 "::",
19961 stringify!(s3)
19962 )
19963 );
19964 assert_eq!(
19965 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_2>())).s4 as *const _ as usize },
19966 32usize,
19967 concat!(
19968 "Offset of field: ",
19969 stringify!(cl_long16__bindgen_ty_2),
19970 "::",
19971 stringify!(s4)
19972 )
19973 );
19974 assert_eq!(
19975 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_2>())).s5 as *const _ as usize },
19976 40usize,
19977 concat!(
19978 "Offset of field: ",
19979 stringify!(cl_long16__bindgen_ty_2),
19980 "::",
19981 stringify!(s5)
19982 )
19983 );
19984 assert_eq!(
19985 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_2>())).s6 as *const _ as usize },
19986 48usize,
19987 concat!(
19988 "Offset of field: ",
19989 stringify!(cl_long16__bindgen_ty_2),
19990 "::",
19991 stringify!(s6)
19992 )
19993 );
19994 assert_eq!(
19995 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_2>())).s7 as *const _ as usize },
19996 56usize,
19997 concat!(
19998 "Offset of field: ",
19999 stringify!(cl_long16__bindgen_ty_2),
20000 "::",
20001 stringify!(s7)
20002 )
20003 );
20004 assert_eq!(
20005 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_2>())).s8 as *const _ as usize },
20006 64usize,
20007 concat!(
20008 "Offset of field: ",
20009 stringify!(cl_long16__bindgen_ty_2),
20010 "::",
20011 stringify!(s8)
20012 )
20013 );
20014 assert_eq!(
20015 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_2>())).s9 as *const _ as usize },
20016 72usize,
20017 concat!(
20018 "Offset of field: ",
20019 stringify!(cl_long16__bindgen_ty_2),
20020 "::",
20021 stringify!(s9)
20022 )
20023 );
20024 assert_eq!(
20025 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_2>())).sA as *const _ as usize },
20026 80usize,
20027 concat!(
20028 "Offset of field: ",
20029 stringify!(cl_long16__bindgen_ty_2),
20030 "::",
20031 stringify!(sA)
20032 )
20033 );
20034 assert_eq!(
20035 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_2>())).sB as *const _ as usize },
20036 88usize,
20037 concat!(
20038 "Offset of field: ",
20039 stringify!(cl_long16__bindgen_ty_2),
20040 "::",
20041 stringify!(sB)
20042 )
20043 );
20044 assert_eq!(
20045 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_2>())).sC as *const _ as usize },
20046 96usize,
20047 concat!(
20048 "Offset of field: ",
20049 stringify!(cl_long16__bindgen_ty_2),
20050 "::",
20051 stringify!(sC)
20052 )
20053 );
20054 assert_eq!(
20055 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_2>())).sD as *const _ as usize },
20056 104usize,
20057 concat!(
20058 "Offset of field: ",
20059 stringify!(cl_long16__bindgen_ty_2),
20060 "::",
20061 stringify!(sD)
20062 )
20063 );
20064 assert_eq!(
20065 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_2>())).sE as *const _ as usize },
20066 112usize,
20067 concat!(
20068 "Offset of field: ",
20069 stringify!(cl_long16__bindgen_ty_2),
20070 "::",
20071 stringify!(sE)
20072 )
20073 );
20074 assert_eq!(
20075 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_2>())).sF as *const _ as usize },
20076 120usize,
20077 concat!(
20078 "Offset of field: ",
20079 stringify!(cl_long16__bindgen_ty_2),
20080 "::",
20081 stringify!(sF)
20082 )
20083 );
20084}
20085#[repr(C)]
20086#[repr(align(64))]
20087#[derive(Copy, Clone)]
20088pub struct cl_long16__bindgen_ty_3 {
20089 pub lo: cl_long8,
20090 pub hi: cl_long8,
20091}
20092#[test]
20093fn bindgen_test_layout_cl_long16__bindgen_ty_3() {
20094 assert_eq!(
20095 ::std::mem::size_of::<cl_long16__bindgen_ty_3>(),
20096 128usize,
20097 concat!("Size of: ", stringify!(cl_long16__bindgen_ty_3))
20098 );
20099 assert_eq!(
20100 ::std::mem::align_of::<cl_long16__bindgen_ty_3>(),
20101 64usize,
20102 concat!("Alignment of ", stringify!(cl_long16__bindgen_ty_3))
20103 );
20104 assert_eq!(
20105 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_3>())).lo as *const _ as usize },
20106 0usize,
20107 concat!(
20108 "Offset of field: ",
20109 stringify!(cl_long16__bindgen_ty_3),
20110 "::",
20111 stringify!(lo)
20112 )
20113 );
20114 assert_eq!(
20115 unsafe { &(*(::std::ptr::null::<cl_long16__bindgen_ty_3>())).hi as *const _ as usize },
20116 64usize,
20117 concat!(
20118 "Offset of field: ",
20119 stringify!(cl_long16__bindgen_ty_3),
20120 "::",
20121 stringify!(hi)
20122 )
20123 );
20124}
20125#[test]
20126fn bindgen_test_layout_cl_long16() {
20127 assert_eq!(
20128 ::std::mem::size_of::<cl_long16>(),
20129 128usize,
20130 concat!("Size of: ", stringify!(cl_long16))
20131 );
20132 assert_eq!(
20133 ::std::mem::align_of::<cl_long16>(),
20134 128usize,
20135 concat!("Alignment of ", stringify!(cl_long16))
20136 );
20137 assert_eq!(
20138 unsafe { &(*(::std::ptr::null::<cl_long16>())).s as *const _ as usize },
20139 0usize,
20140 concat!(
20141 "Offset of field: ",
20142 stringify!(cl_long16),
20143 "::",
20144 stringify!(s)
20145 )
20146 );
20147 assert_eq!(
20148 unsafe { &(*(::std::ptr::null::<cl_long16>())).v2 as *const _ as usize },
20149 0usize,
20150 concat!(
20151 "Offset of field: ",
20152 stringify!(cl_long16),
20153 "::",
20154 stringify!(v2)
20155 )
20156 );
20157}
20158#[repr(C)]
20159#[repr(align(16))]
20160#[derive(Copy, Clone)]
20161pub union cl_ulong2 {
20162 pub s: [cl_ulong; 2usize],
20163 pub __bindgen_anon_1: cl_ulong2__bindgen_ty_1,
20164 pub __bindgen_anon_2: cl_ulong2__bindgen_ty_2,
20165 pub __bindgen_anon_3: cl_ulong2__bindgen_ty_3,
20166 pub v2: __cl_ulong2,
20167 _bindgen_union_align: u128,
20168}
20169#[repr(C)]
20170#[derive(Debug, Copy, Clone)]
20171pub struct cl_ulong2__bindgen_ty_1 {
20172 pub x: cl_ulong,
20173 pub y: cl_ulong,
20174}
20175#[test]
20176fn bindgen_test_layout_cl_ulong2__bindgen_ty_1() {
20177 assert_eq!(
20178 ::std::mem::size_of::<cl_ulong2__bindgen_ty_1>(),
20179 16usize,
20180 concat!("Size of: ", stringify!(cl_ulong2__bindgen_ty_1))
20181 );
20182 assert_eq!(
20183 ::std::mem::align_of::<cl_ulong2__bindgen_ty_1>(),
20184 8usize,
20185 concat!("Alignment of ", stringify!(cl_ulong2__bindgen_ty_1))
20186 );
20187 assert_eq!(
20188 unsafe { &(*(::std::ptr::null::<cl_ulong2__bindgen_ty_1>())).x as *const _ as usize },
20189 0usize,
20190 concat!(
20191 "Offset of field: ",
20192 stringify!(cl_ulong2__bindgen_ty_1),
20193 "::",
20194 stringify!(x)
20195 )
20196 );
20197 assert_eq!(
20198 unsafe { &(*(::std::ptr::null::<cl_ulong2__bindgen_ty_1>())).y as *const _ as usize },
20199 8usize,
20200 concat!(
20201 "Offset of field: ",
20202 stringify!(cl_ulong2__bindgen_ty_1),
20203 "::",
20204 stringify!(y)
20205 )
20206 );
20207}
20208#[repr(C)]
20209#[derive(Debug, Copy, Clone)]
20210pub struct cl_ulong2__bindgen_ty_2 {
20211 pub s0: cl_ulong,
20212 pub s1: cl_ulong,
20213}
20214#[test]
20215fn bindgen_test_layout_cl_ulong2__bindgen_ty_2() {
20216 assert_eq!(
20217 ::std::mem::size_of::<cl_ulong2__bindgen_ty_2>(),
20218 16usize,
20219 concat!("Size of: ", stringify!(cl_ulong2__bindgen_ty_2))
20220 );
20221 assert_eq!(
20222 ::std::mem::align_of::<cl_ulong2__bindgen_ty_2>(),
20223 8usize,
20224 concat!("Alignment of ", stringify!(cl_ulong2__bindgen_ty_2))
20225 );
20226 assert_eq!(
20227 unsafe { &(*(::std::ptr::null::<cl_ulong2__bindgen_ty_2>())).s0 as *const _ as usize },
20228 0usize,
20229 concat!(
20230 "Offset of field: ",
20231 stringify!(cl_ulong2__bindgen_ty_2),
20232 "::",
20233 stringify!(s0)
20234 )
20235 );
20236 assert_eq!(
20237 unsafe { &(*(::std::ptr::null::<cl_ulong2__bindgen_ty_2>())).s1 as *const _ as usize },
20238 8usize,
20239 concat!(
20240 "Offset of field: ",
20241 stringify!(cl_ulong2__bindgen_ty_2),
20242 "::",
20243 stringify!(s1)
20244 )
20245 );
20246}
20247#[repr(C)]
20248#[derive(Debug, Copy, Clone)]
20249pub struct cl_ulong2__bindgen_ty_3 {
20250 pub lo: cl_ulong,
20251 pub hi: cl_ulong,
20252}
20253#[test]
20254fn bindgen_test_layout_cl_ulong2__bindgen_ty_3() {
20255 assert_eq!(
20256 ::std::mem::size_of::<cl_ulong2__bindgen_ty_3>(),
20257 16usize,
20258 concat!("Size of: ", stringify!(cl_ulong2__bindgen_ty_3))
20259 );
20260 assert_eq!(
20261 ::std::mem::align_of::<cl_ulong2__bindgen_ty_3>(),
20262 8usize,
20263 concat!("Alignment of ", stringify!(cl_ulong2__bindgen_ty_3))
20264 );
20265 assert_eq!(
20266 unsafe { &(*(::std::ptr::null::<cl_ulong2__bindgen_ty_3>())).lo as *const _ as usize },
20267 0usize,
20268 concat!(
20269 "Offset of field: ",
20270 stringify!(cl_ulong2__bindgen_ty_3),
20271 "::",
20272 stringify!(lo)
20273 )
20274 );
20275 assert_eq!(
20276 unsafe { &(*(::std::ptr::null::<cl_ulong2__bindgen_ty_3>())).hi as *const _ as usize },
20277 8usize,
20278 concat!(
20279 "Offset of field: ",
20280 stringify!(cl_ulong2__bindgen_ty_3),
20281 "::",
20282 stringify!(hi)
20283 )
20284 );
20285}
20286#[test]
20287fn bindgen_test_layout_cl_ulong2() {
20288 assert_eq!(
20289 ::std::mem::size_of::<cl_ulong2>(),
20290 16usize,
20291 concat!("Size of: ", stringify!(cl_ulong2))
20292 );
20293 assert_eq!(
20294 ::std::mem::align_of::<cl_ulong2>(),
20295 16usize,
20296 concat!("Alignment of ", stringify!(cl_ulong2))
20297 );
20298 assert_eq!(
20299 unsafe { &(*(::std::ptr::null::<cl_ulong2>())).s as *const _ as usize },
20300 0usize,
20301 concat!(
20302 "Offset of field: ",
20303 stringify!(cl_ulong2),
20304 "::",
20305 stringify!(s)
20306 )
20307 );
20308 assert_eq!(
20309 unsafe { &(*(::std::ptr::null::<cl_ulong2>())).v2 as *const _ as usize },
20310 0usize,
20311 concat!(
20312 "Offset of field: ",
20313 stringify!(cl_ulong2),
20314 "::",
20315 stringify!(v2)
20316 )
20317 );
20318}
20319#[repr(C)]
20320#[repr(align(32))]
20321#[derive(Copy, Clone)]
20322pub union cl_ulong4 {
20323 pub s: [cl_ulong; 4usize],
20324 pub __bindgen_anon_1: cl_ulong4__bindgen_ty_1,
20325 pub __bindgen_anon_2: cl_ulong4__bindgen_ty_2,
20326 pub __bindgen_anon_3: cl_ulong4__bindgen_ty_3,
20327 pub v2: [__cl_ulong2; 2usize],
20328 _bindgen_union_align: [u8; 32usize],
20329}
20330#[repr(C)]
20331#[derive(Debug, Copy, Clone)]
20332pub struct cl_ulong4__bindgen_ty_1 {
20333 pub x: cl_ulong,
20334 pub y: cl_ulong,
20335 pub z: cl_ulong,
20336 pub w: cl_ulong,
20337}
20338#[test]
20339fn bindgen_test_layout_cl_ulong4__bindgen_ty_1() {
20340 assert_eq!(
20341 ::std::mem::size_of::<cl_ulong4__bindgen_ty_1>(),
20342 32usize,
20343 concat!("Size of: ", stringify!(cl_ulong4__bindgen_ty_1))
20344 );
20345 assert_eq!(
20346 ::std::mem::align_of::<cl_ulong4__bindgen_ty_1>(),
20347 8usize,
20348 concat!("Alignment of ", stringify!(cl_ulong4__bindgen_ty_1))
20349 );
20350 assert_eq!(
20351 unsafe { &(*(::std::ptr::null::<cl_ulong4__bindgen_ty_1>())).x as *const _ as usize },
20352 0usize,
20353 concat!(
20354 "Offset of field: ",
20355 stringify!(cl_ulong4__bindgen_ty_1),
20356 "::",
20357 stringify!(x)
20358 )
20359 );
20360 assert_eq!(
20361 unsafe { &(*(::std::ptr::null::<cl_ulong4__bindgen_ty_1>())).y as *const _ as usize },
20362 8usize,
20363 concat!(
20364 "Offset of field: ",
20365 stringify!(cl_ulong4__bindgen_ty_1),
20366 "::",
20367 stringify!(y)
20368 )
20369 );
20370 assert_eq!(
20371 unsafe { &(*(::std::ptr::null::<cl_ulong4__bindgen_ty_1>())).z as *const _ as usize },
20372 16usize,
20373 concat!(
20374 "Offset of field: ",
20375 stringify!(cl_ulong4__bindgen_ty_1),
20376 "::",
20377 stringify!(z)
20378 )
20379 );
20380 assert_eq!(
20381 unsafe { &(*(::std::ptr::null::<cl_ulong4__bindgen_ty_1>())).w as *const _ as usize },
20382 24usize,
20383 concat!(
20384 "Offset of field: ",
20385 stringify!(cl_ulong4__bindgen_ty_1),
20386 "::",
20387 stringify!(w)
20388 )
20389 );
20390}
20391#[repr(C)]
20392#[derive(Debug, Copy, Clone)]
20393pub struct cl_ulong4__bindgen_ty_2 {
20394 pub s0: cl_ulong,
20395 pub s1: cl_ulong,
20396 pub s2: cl_ulong,
20397 pub s3: cl_ulong,
20398}
20399#[test]
20400fn bindgen_test_layout_cl_ulong4__bindgen_ty_2() {
20401 assert_eq!(
20402 ::std::mem::size_of::<cl_ulong4__bindgen_ty_2>(),
20403 32usize,
20404 concat!("Size of: ", stringify!(cl_ulong4__bindgen_ty_2))
20405 );
20406 assert_eq!(
20407 ::std::mem::align_of::<cl_ulong4__bindgen_ty_2>(),
20408 8usize,
20409 concat!("Alignment of ", stringify!(cl_ulong4__bindgen_ty_2))
20410 );
20411 assert_eq!(
20412 unsafe { &(*(::std::ptr::null::<cl_ulong4__bindgen_ty_2>())).s0 as *const _ as usize },
20413 0usize,
20414 concat!(
20415 "Offset of field: ",
20416 stringify!(cl_ulong4__bindgen_ty_2),
20417 "::",
20418 stringify!(s0)
20419 )
20420 );
20421 assert_eq!(
20422 unsafe { &(*(::std::ptr::null::<cl_ulong4__bindgen_ty_2>())).s1 as *const _ as usize },
20423 8usize,
20424 concat!(
20425 "Offset of field: ",
20426 stringify!(cl_ulong4__bindgen_ty_2),
20427 "::",
20428 stringify!(s1)
20429 )
20430 );
20431 assert_eq!(
20432 unsafe { &(*(::std::ptr::null::<cl_ulong4__bindgen_ty_2>())).s2 as *const _ as usize },
20433 16usize,
20434 concat!(
20435 "Offset of field: ",
20436 stringify!(cl_ulong4__bindgen_ty_2),
20437 "::",
20438 stringify!(s2)
20439 )
20440 );
20441 assert_eq!(
20442 unsafe { &(*(::std::ptr::null::<cl_ulong4__bindgen_ty_2>())).s3 as *const _ as usize },
20443 24usize,
20444 concat!(
20445 "Offset of field: ",
20446 stringify!(cl_ulong4__bindgen_ty_2),
20447 "::",
20448 stringify!(s3)
20449 )
20450 );
20451}
20452#[repr(C)]
20453#[repr(align(16))]
20454#[derive(Copy, Clone)]
20455pub struct cl_ulong4__bindgen_ty_3 {
20456 pub lo: cl_ulong2,
20457 pub hi: cl_ulong2,
20458}
20459#[test]
20460fn bindgen_test_layout_cl_ulong4__bindgen_ty_3() {
20461 assert_eq!(
20462 ::std::mem::size_of::<cl_ulong4__bindgen_ty_3>(),
20463 32usize,
20464 concat!("Size of: ", stringify!(cl_ulong4__bindgen_ty_3))
20465 );
20466 assert_eq!(
20467 ::std::mem::align_of::<cl_ulong4__bindgen_ty_3>(),
20468 16usize,
20469 concat!("Alignment of ", stringify!(cl_ulong4__bindgen_ty_3))
20470 );
20471 assert_eq!(
20472 unsafe { &(*(::std::ptr::null::<cl_ulong4__bindgen_ty_3>())).lo as *const _ as usize },
20473 0usize,
20474 concat!(
20475 "Offset of field: ",
20476 stringify!(cl_ulong4__bindgen_ty_3),
20477 "::",
20478 stringify!(lo)
20479 )
20480 );
20481 assert_eq!(
20482 unsafe { &(*(::std::ptr::null::<cl_ulong4__bindgen_ty_3>())).hi as *const _ as usize },
20483 16usize,
20484 concat!(
20485 "Offset of field: ",
20486 stringify!(cl_ulong4__bindgen_ty_3),
20487 "::",
20488 stringify!(hi)
20489 )
20490 );
20491}
20492#[test]
20493fn bindgen_test_layout_cl_ulong4() {
20494 assert_eq!(
20495 ::std::mem::size_of::<cl_ulong4>(),
20496 32usize,
20497 concat!("Size of: ", stringify!(cl_ulong4))
20498 );
20499 assert_eq!(
20500 ::std::mem::align_of::<cl_ulong4>(),
20501 32usize,
20502 concat!("Alignment of ", stringify!(cl_ulong4))
20503 );
20504 assert_eq!(
20505 unsafe { &(*(::std::ptr::null::<cl_ulong4>())).s as *const _ as usize },
20506 0usize,
20507 concat!(
20508 "Offset of field: ",
20509 stringify!(cl_ulong4),
20510 "::",
20511 stringify!(s)
20512 )
20513 );
20514 assert_eq!(
20515 unsafe { &(*(::std::ptr::null::<cl_ulong4>())).v2 as *const _ as usize },
20516 0usize,
20517 concat!(
20518 "Offset of field: ",
20519 stringify!(cl_ulong4),
20520 "::",
20521 stringify!(v2)
20522 )
20523 );
20524}
20525pub type cl_ulong3 = cl_ulong4;
20526#[repr(C)]
20527#[repr(align(64))]
20528#[derive(Copy, Clone)]
20529pub union cl_ulong8 {
20530 pub s: [cl_ulong; 8usize],
20531 pub __bindgen_anon_1: cl_ulong8__bindgen_ty_1,
20532 pub __bindgen_anon_2: cl_ulong8__bindgen_ty_2,
20533 pub __bindgen_anon_3: cl_ulong8__bindgen_ty_3,
20534 pub v2: [__cl_ulong2; 4usize],
20535 _bindgen_union_align: [u8; 64usize],
20536}
20537#[repr(C)]
20538#[derive(Debug, Copy, Clone)]
20539pub struct cl_ulong8__bindgen_ty_1 {
20540 pub x: cl_ulong,
20541 pub y: cl_ulong,
20542 pub z: cl_ulong,
20543 pub w: cl_ulong,
20544}
20545#[test]
20546fn bindgen_test_layout_cl_ulong8__bindgen_ty_1() {
20547 assert_eq!(
20548 ::std::mem::size_of::<cl_ulong8__bindgen_ty_1>(),
20549 32usize,
20550 concat!("Size of: ", stringify!(cl_ulong8__bindgen_ty_1))
20551 );
20552 assert_eq!(
20553 ::std::mem::align_of::<cl_ulong8__bindgen_ty_1>(),
20554 8usize,
20555 concat!("Alignment of ", stringify!(cl_ulong8__bindgen_ty_1))
20556 );
20557 assert_eq!(
20558 unsafe { &(*(::std::ptr::null::<cl_ulong8__bindgen_ty_1>())).x as *const _ as usize },
20559 0usize,
20560 concat!(
20561 "Offset of field: ",
20562 stringify!(cl_ulong8__bindgen_ty_1),
20563 "::",
20564 stringify!(x)
20565 )
20566 );
20567 assert_eq!(
20568 unsafe { &(*(::std::ptr::null::<cl_ulong8__bindgen_ty_1>())).y as *const _ as usize },
20569 8usize,
20570 concat!(
20571 "Offset of field: ",
20572 stringify!(cl_ulong8__bindgen_ty_1),
20573 "::",
20574 stringify!(y)
20575 )
20576 );
20577 assert_eq!(
20578 unsafe { &(*(::std::ptr::null::<cl_ulong8__bindgen_ty_1>())).z as *const _ as usize },
20579 16usize,
20580 concat!(
20581 "Offset of field: ",
20582 stringify!(cl_ulong8__bindgen_ty_1),
20583 "::",
20584 stringify!(z)
20585 )
20586 );
20587 assert_eq!(
20588 unsafe { &(*(::std::ptr::null::<cl_ulong8__bindgen_ty_1>())).w as *const _ as usize },
20589 24usize,
20590 concat!(
20591 "Offset of field: ",
20592 stringify!(cl_ulong8__bindgen_ty_1),
20593 "::",
20594 stringify!(w)
20595 )
20596 );
20597}
20598#[repr(C)]
20599#[derive(Debug, Copy, Clone)]
20600pub struct cl_ulong8__bindgen_ty_2 {
20601 pub s0: cl_ulong,
20602 pub s1: cl_ulong,
20603 pub s2: cl_ulong,
20604 pub s3: cl_ulong,
20605 pub s4: cl_ulong,
20606 pub s5: cl_ulong,
20607 pub s6: cl_ulong,
20608 pub s7: cl_ulong,
20609}
20610#[test]
20611fn bindgen_test_layout_cl_ulong8__bindgen_ty_2() {
20612 assert_eq!(
20613 ::std::mem::size_of::<cl_ulong8__bindgen_ty_2>(),
20614 64usize,
20615 concat!("Size of: ", stringify!(cl_ulong8__bindgen_ty_2))
20616 );
20617 assert_eq!(
20618 ::std::mem::align_of::<cl_ulong8__bindgen_ty_2>(),
20619 8usize,
20620 concat!("Alignment of ", stringify!(cl_ulong8__bindgen_ty_2))
20621 );
20622 assert_eq!(
20623 unsafe { &(*(::std::ptr::null::<cl_ulong8__bindgen_ty_2>())).s0 as *const _ as usize },
20624 0usize,
20625 concat!(
20626 "Offset of field: ",
20627 stringify!(cl_ulong8__bindgen_ty_2),
20628 "::",
20629 stringify!(s0)
20630 )
20631 );
20632 assert_eq!(
20633 unsafe { &(*(::std::ptr::null::<cl_ulong8__bindgen_ty_2>())).s1 as *const _ as usize },
20634 8usize,
20635 concat!(
20636 "Offset of field: ",
20637 stringify!(cl_ulong8__bindgen_ty_2),
20638 "::",
20639 stringify!(s1)
20640 )
20641 );
20642 assert_eq!(
20643 unsafe { &(*(::std::ptr::null::<cl_ulong8__bindgen_ty_2>())).s2 as *const _ as usize },
20644 16usize,
20645 concat!(
20646 "Offset of field: ",
20647 stringify!(cl_ulong8__bindgen_ty_2),
20648 "::",
20649 stringify!(s2)
20650 )
20651 );
20652 assert_eq!(
20653 unsafe { &(*(::std::ptr::null::<cl_ulong8__bindgen_ty_2>())).s3 as *const _ as usize },
20654 24usize,
20655 concat!(
20656 "Offset of field: ",
20657 stringify!(cl_ulong8__bindgen_ty_2),
20658 "::",
20659 stringify!(s3)
20660 )
20661 );
20662 assert_eq!(
20663 unsafe { &(*(::std::ptr::null::<cl_ulong8__bindgen_ty_2>())).s4 as *const _ as usize },
20664 32usize,
20665 concat!(
20666 "Offset of field: ",
20667 stringify!(cl_ulong8__bindgen_ty_2),
20668 "::",
20669 stringify!(s4)
20670 )
20671 );
20672 assert_eq!(
20673 unsafe { &(*(::std::ptr::null::<cl_ulong8__bindgen_ty_2>())).s5 as *const _ as usize },
20674 40usize,
20675 concat!(
20676 "Offset of field: ",
20677 stringify!(cl_ulong8__bindgen_ty_2),
20678 "::",
20679 stringify!(s5)
20680 )
20681 );
20682 assert_eq!(
20683 unsafe { &(*(::std::ptr::null::<cl_ulong8__bindgen_ty_2>())).s6 as *const _ as usize },
20684 48usize,
20685 concat!(
20686 "Offset of field: ",
20687 stringify!(cl_ulong8__bindgen_ty_2),
20688 "::",
20689 stringify!(s6)
20690 )
20691 );
20692 assert_eq!(
20693 unsafe { &(*(::std::ptr::null::<cl_ulong8__bindgen_ty_2>())).s7 as *const _ as usize },
20694 56usize,
20695 concat!(
20696 "Offset of field: ",
20697 stringify!(cl_ulong8__bindgen_ty_2),
20698 "::",
20699 stringify!(s7)
20700 )
20701 );
20702}
20703#[repr(C)]
20704#[repr(align(32))]
20705#[derive(Copy, Clone)]
20706pub struct cl_ulong8__bindgen_ty_3 {
20707 pub lo: cl_ulong4,
20708 pub hi: cl_ulong4,
20709}
20710#[test]
20711fn bindgen_test_layout_cl_ulong8__bindgen_ty_3() {
20712 assert_eq!(
20713 ::std::mem::size_of::<cl_ulong8__bindgen_ty_3>(),
20714 64usize,
20715 concat!("Size of: ", stringify!(cl_ulong8__bindgen_ty_3))
20716 );
20717 assert_eq!(
20718 ::std::mem::align_of::<cl_ulong8__bindgen_ty_3>(),
20719 32usize,
20720 concat!("Alignment of ", stringify!(cl_ulong8__bindgen_ty_3))
20721 );
20722 assert_eq!(
20723 unsafe { &(*(::std::ptr::null::<cl_ulong8__bindgen_ty_3>())).lo as *const _ as usize },
20724 0usize,
20725 concat!(
20726 "Offset of field: ",
20727 stringify!(cl_ulong8__bindgen_ty_3),
20728 "::",
20729 stringify!(lo)
20730 )
20731 );
20732 assert_eq!(
20733 unsafe { &(*(::std::ptr::null::<cl_ulong8__bindgen_ty_3>())).hi as *const _ as usize },
20734 32usize,
20735 concat!(
20736 "Offset of field: ",
20737 stringify!(cl_ulong8__bindgen_ty_3),
20738 "::",
20739 stringify!(hi)
20740 )
20741 );
20742}
20743#[test]
20744fn bindgen_test_layout_cl_ulong8() {
20745 assert_eq!(
20746 ::std::mem::size_of::<cl_ulong8>(),
20747 64usize,
20748 concat!("Size of: ", stringify!(cl_ulong8))
20749 );
20750 assert_eq!(
20751 ::std::mem::align_of::<cl_ulong8>(),
20752 64usize,
20753 concat!("Alignment of ", stringify!(cl_ulong8))
20754 );
20755 assert_eq!(
20756 unsafe { &(*(::std::ptr::null::<cl_ulong8>())).s as *const _ as usize },
20757 0usize,
20758 concat!(
20759 "Offset of field: ",
20760 stringify!(cl_ulong8),
20761 "::",
20762 stringify!(s)
20763 )
20764 );
20765 assert_eq!(
20766 unsafe { &(*(::std::ptr::null::<cl_ulong8>())).v2 as *const _ as usize },
20767 0usize,
20768 concat!(
20769 "Offset of field: ",
20770 stringify!(cl_ulong8),
20771 "::",
20772 stringify!(v2)
20773 )
20774 );
20775}
20776#[repr(C)]
20777#[repr(align(128))]
20778#[derive(Copy, Clone)]
20779pub union cl_ulong16 {
20780 pub s: [cl_ulong; 16usize],
20781 pub __bindgen_anon_1: cl_ulong16__bindgen_ty_1,
20782 pub __bindgen_anon_2: cl_ulong16__bindgen_ty_2,
20783 pub __bindgen_anon_3: cl_ulong16__bindgen_ty_3,
20784 pub v2: [__cl_ulong2; 8usize],
20785 _bindgen_union_align: [u8; 128usize],
20786}
20787#[repr(C)]
20788#[derive(Debug, Copy, Clone)]
20789pub struct cl_ulong16__bindgen_ty_1 {
20790 pub x: cl_ulong,
20791 pub y: cl_ulong,
20792 pub z: cl_ulong,
20793 pub w: cl_ulong,
20794 pub __spacer4: cl_ulong,
20795 pub __spacer5: cl_ulong,
20796 pub __spacer6: cl_ulong,
20797 pub __spacer7: cl_ulong,
20798 pub __spacer8: cl_ulong,
20799 pub __spacer9: cl_ulong,
20800 pub sa: cl_ulong,
20801 pub sb: cl_ulong,
20802 pub sc: cl_ulong,
20803 pub sd: cl_ulong,
20804 pub se: cl_ulong,
20805 pub sf: cl_ulong,
20806}
20807#[test]
20808fn bindgen_test_layout_cl_ulong16__bindgen_ty_1() {
20809 assert_eq!(
20810 ::std::mem::size_of::<cl_ulong16__bindgen_ty_1>(),
20811 128usize,
20812 concat!("Size of: ", stringify!(cl_ulong16__bindgen_ty_1))
20813 );
20814 assert_eq!(
20815 ::std::mem::align_of::<cl_ulong16__bindgen_ty_1>(),
20816 8usize,
20817 concat!("Alignment of ", stringify!(cl_ulong16__bindgen_ty_1))
20818 );
20819 assert_eq!(
20820 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_1>())).x as *const _ as usize },
20821 0usize,
20822 concat!(
20823 "Offset of field: ",
20824 stringify!(cl_ulong16__bindgen_ty_1),
20825 "::",
20826 stringify!(x)
20827 )
20828 );
20829 assert_eq!(
20830 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_1>())).y as *const _ as usize },
20831 8usize,
20832 concat!(
20833 "Offset of field: ",
20834 stringify!(cl_ulong16__bindgen_ty_1),
20835 "::",
20836 stringify!(y)
20837 )
20838 );
20839 assert_eq!(
20840 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_1>())).z as *const _ as usize },
20841 16usize,
20842 concat!(
20843 "Offset of field: ",
20844 stringify!(cl_ulong16__bindgen_ty_1),
20845 "::",
20846 stringify!(z)
20847 )
20848 );
20849 assert_eq!(
20850 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_1>())).w as *const _ as usize },
20851 24usize,
20852 concat!(
20853 "Offset of field: ",
20854 stringify!(cl_ulong16__bindgen_ty_1),
20855 "::",
20856 stringify!(w)
20857 )
20858 );
20859 assert_eq!(
20860 unsafe {
20861 &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_1>())).__spacer4 as *const _ as usize
20862 },
20863 32usize,
20864 concat!(
20865 "Offset of field: ",
20866 stringify!(cl_ulong16__bindgen_ty_1),
20867 "::",
20868 stringify!(__spacer4)
20869 )
20870 );
20871 assert_eq!(
20872 unsafe {
20873 &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_1>())).__spacer5 as *const _ as usize
20874 },
20875 40usize,
20876 concat!(
20877 "Offset of field: ",
20878 stringify!(cl_ulong16__bindgen_ty_1),
20879 "::",
20880 stringify!(__spacer5)
20881 )
20882 );
20883 assert_eq!(
20884 unsafe {
20885 &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_1>())).__spacer6 as *const _ as usize
20886 },
20887 48usize,
20888 concat!(
20889 "Offset of field: ",
20890 stringify!(cl_ulong16__bindgen_ty_1),
20891 "::",
20892 stringify!(__spacer6)
20893 )
20894 );
20895 assert_eq!(
20896 unsafe {
20897 &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_1>())).__spacer7 as *const _ as usize
20898 },
20899 56usize,
20900 concat!(
20901 "Offset of field: ",
20902 stringify!(cl_ulong16__bindgen_ty_1),
20903 "::",
20904 stringify!(__spacer7)
20905 )
20906 );
20907 assert_eq!(
20908 unsafe {
20909 &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_1>())).__spacer8 as *const _ as usize
20910 },
20911 64usize,
20912 concat!(
20913 "Offset of field: ",
20914 stringify!(cl_ulong16__bindgen_ty_1),
20915 "::",
20916 stringify!(__spacer8)
20917 )
20918 );
20919 assert_eq!(
20920 unsafe {
20921 &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_1>())).__spacer9 as *const _ as usize
20922 },
20923 72usize,
20924 concat!(
20925 "Offset of field: ",
20926 stringify!(cl_ulong16__bindgen_ty_1),
20927 "::",
20928 stringify!(__spacer9)
20929 )
20930 );
20931 assert_eq!(
20932 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_1>())).sa as *const _ as usize },
20933 80usize,
20934 concat!(
20935 "Offset of field: ",
20936 stringify!(cl_ulong16__bindgen_ty_1),
20937 "::",
20938 stringify!(sa)
20939 )
20940 );
20941 assert_eq!(
20942 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_1>())).sb as *const _ as usize },
20943 88usize,
20944 concat!(
20945 "Offset of field: ",
20946 stringify!(cl_ulong16__bindgen_ty_1),
20947 "::",
20948 stringify!(sb)
20949 )
20950 );
20951 assert_eq!(
20952 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_1>())).sc as *const _ as usize },
20953 96usize,
20954 concat!(
20955 "Offset of field: ",
20956 stringify!(cl_ulong16__bindgen_ty_1),
20957 "::",
20958 stringify!(sc)
20959 )
20960 );
20961 assert_eq!(
20962 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_1>())).sd as *const _ as usize },
20963 104usize,
20964 concat!(
20965 "Offset of field: ",
20966 stringify!(cl_ulong16__bindgen_ty_1),
20967 "::",
20968 stringify!(sd)
20969 )
20970 );
20971 assert_eq!(
20972 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_1>())).se as *const _ as usize },
20973 112usize,
20974 concat!(
20975 "Offset of field: ",
20976 stringify!(cl_ulong16__bindgen_ty_1),
20977 "::",
20978 stringify!(se)
20979 )
20980 );
20981 assert_eq!(
20982 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_1>())).sf as *const _ as usize },
20983 120usize,
20984 concat!(
20985 "Offset of field: ",
20986 stringify!(cl_ulong16__bindgen_ty_1),
20987 "::",
20988 stringify!(sf)
20989 )
20990 );
20991}
20992#[repr(C)]
20993#[derive(Debug, Copy, Clone)]
20994pub struct cl_ulong16__bindgen_ty_2 {
20995 pub s0: cl_ulong,
20996 pub s1: cl_ulong,
20997 pub s2: cl_ulong,
20998 pub s3: cl_ulong,
20999 pub s4: cl_ulong,
21000 pub s5: cl_ulong,
21001 pub s6: cl_ulong,
21002 pub s7: cl_ulong,
21003 pub s8: cl_ulong,
21004 pub s9: cl_ulong,
21005 pub sA: cl_ulong,
21006 pub sB: cl_ulong,
21007 pub sC: cl_ulong,
21008 pub sD: cl_ulong,
21009 pub sE: cl_ulong,
21010 pub sF: cl_ulong,
21011}
21012#[test]
21013fn bindgen_test_layout_cl_ulong16__bindgen_ty_2() {
21014 assert_eq!(
21015 ::std::mem::size_of::<cl_ulong16__bindgen_ty_2>(),
21016 128usize,
21017 concat!("Size of: ", stringify!(cl_ulong16__bindgen_ty_2))
21018 );
21019 assert_eq!(
21020 ::std::mem::align_of::<cl_ulong16__bindgen_ty_2>(),
21021 8usize,
21022 concat!("Alignment of ", stringify!(cl_ulong16__bindgen_ty_2))
21023 );
21024 assert_eq!(
21025 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_2>())).s0 as *const _ as usize },
21026 0usize,
21027 concat!(
21028 "Offset of field: ",
21029 stringify!(cl_ulong16__bindgen_ty_2),
21030 "::",
21031 stringify!(s0)
21032 )
21033 );
21034 assert_eq!(
21035 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_2>())).s1 as *const _ as usize },
21036 8usize,
21037 concat!(
21038 "Offset of field: ",
21039 stringify!(cl_ulong16__bindgen_ty_2),
21040 "::",
21041 stringify!(s1)
21042 )
21043 );
21044 assert_eq!(
21045 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_2>())).s2 as *const _ as usize },
21046 16usize,
21047 concat!(
21048 "Offset of field: ",
21049 stringify!(cl_ulong16__bindgen_ty_2),
21050 "::",
21051 stringify!(s2)
21052 )
21053 );
21054 assert_eq!(
21055 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_2>())).s3 as *const _ as usize },
21056 24usize,
21057 concat!(
21058 "Offset of field: ",
21059 stringify!(cl_ulong16__bindgen_ty_2),
21060 "::",
21061 stringify!(s3)
21062 )
21063 );
21064 assert_eq!(
21065 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_2>())).s4 as *const _ as usize },
21066 32usize,
21067 concat!(
21068 "Offset of field: ",
21069 stringify!(cl_ulong16__bindgen_ty_2),
21070 "::",
21071 stringify!(s4)
21072 )
21073 );
21074 assert_eq!(
21075 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_2>())).s5 as *const _ as usize },
21076 40usize,
21077 concat!(
21078 "Offset of field: ",
21079 stringify!(cl_ulong16__bindgen_ty_2),
21080 "::",
21081 stringify!(s5)
21082 )
21083 );
21084 assert_eq!(
21085 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_2>())).s6 as *const _ as usize },
21086 48usize,
21087 concat!(
21088 "Offset of field: ",
21089 stringify!(cl_ulong16__bindgen_ty_2),
21090 "::",
21091 stringify!(s6)
21092 )
21093 );
21094 assert_eq!(
21095 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_2>())).s7 as *const _ as usize },
21096 56usize,
21097 concat!(
21098 "Offset of field: ",
21099 stringify!(cl_ulong16__bindgen_ty_2),
21100 "::",
21101 stringify!(s7)
21102 )
21103 );
21104 assert_eq!(
21105 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_2>())).s8 as *const _ as usize },
21106 64usize,
21107 concat!(
21108 "Offset of field: ",
21109 stringify!(cl_ulong16__bindgen_ty_2),
21110 "::",
21111 stringify!(s8)
21112 )
21113 );
21114 assert_eq!(
21115 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_2>())).s9 as *const _ as usize },
21116 72usize,
21117 concat!(
21118 "Offset of field: ",
21119 stringify!(cl_ulong16__bindgen_ty_2),
21120 "::",
21121 stringify!(s9)
21122 )
21123 );
21124 assert_eq!(
21125 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_2>())).sA as *const _ as usize },
21126 80usize,
21127 concat!(
21128 "Offset of field: ",
21129 stringify!(cl_ulong16__bindgen_ty_2),
21130 "::",
21131 stringify!(sA)
21132 )
21133 );
21134 assert_eq!(
21135 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_2>())).sB as *const _ as usize },
21136 88usize,
21137 concat!(
21138 "Offset of field: ",
21139 stringify!(cl_ulong16__bindgen_ty_2),
21140 "::",
21141 stringify!(sB)
21142 )
21143 );
21144 assert_eq!(
21145 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_2>())).sC as *const _ as usize },
21146 96usize,
21147 concat!(
21148 "Offset of field: ",
21149 stringify!(cl_ulong16__bindgen_ty_2),
21150 "::",
21151 stringify!(sC)
21152 )
21153 );
21154 assert_eq!(
21155 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_2>())).sD as *const _ as usize },
21156 104usize,
21157 concat!(
21158 "Offset of field: ",
21159 stringify!(cl_ulong16__bindgen_ty_2),
21160 "::",
21161 stringify!(sD)
21162 )
21163 );
21164 assert_eq!(
21165 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_2>())).sE as *const _ as usize },
21166 112usize,
21167 concat!(
21168 "Offset of field: ",
21169 stringify!(cl_ulong16__bindgen_ty_2),
21170 "::",
21171 stringify!(sE)
21172 )
21173 );
21174 assert_eq!(
21175 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_2>())).sF as *const _ as usize },
21176 120usize,
21177 concat!(
21178 "Offset of field: ",
21179 stringify!(cl_ulong16__bindgen_ty_2),
21180 "::",
21181 stringify!(sF)
21182 )
21183 );
21184}
21185#[repr(C)]
21186#[repr(align(64))]
21187#[derive(Copy, Clone)]
21188pub struct cl_ulong16__bindgen_ty_3 {
21189 pub lo: cl_ulong8,
21190 pub hi: cl_ulong8,
21191}
21192#[test]
21193fn bindgen_test_layout_cl_ulong16__bindgen_ty_3() {
21194 assert_eq!(
21195 ::std::mem::size_of::<cl_ulong16__bindgen_ty_3>(),
21196 128usize,
21197 concat!("Size of: ", stringify!(cl_ulong16__bindgen_ty_3))
21198 );
21199 assert_eq!(
21200 ::std::mem::align_of::<cl_ulong16__bindgen_ty_3>(),
21201 64usize,
21202 concat!("Alignment of ", stringify!(cl_ulong16__bindgen_ty_3))
21203 );
21204 assert_eq!(
21205 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_3>())).lo as *const _ as usize },
21206 0usize,
21207 concat!(
21208 "Offset of field: ",
21209 stringify!(cl_ulong16__bindgen_ty_3),
21210 "::",
21211 stringify!(lo)
21212 )
21213 );
21214 assert_eq!(
21215 unsafe { &(*(::std::ptr::null::<cl_ulong16__bindgen_ty_3>())).hi as *const _ as usize },
21216 64usize,
21217 concat!(
21218 "Offset of field: ",
21219 stringify!(cl_ulong16__bindgen_ty_3),
21220 "::",
21221 stringify!(hi)
21222 )
21223 );
21224}
21225#[test]
21226fn bindgen_test_layout_cl_ulong16() {
21227 assert_eq!(
21228 ::std::mem::size_of::<cl_ulong16>(),
21229 128usize,
21230 concat!("Size of: ", stringify!(cl_ulong16))
21231 );
21232 assert_eq!(
21233 ::std::mem::align_of::<cl_ulong16>(),
21234 128usize,
21235 concat!("Alignment of ", stringify!(cl_ulong16))
21236 );
21237 assert_eq!(
21238 unsafe { &(*(::std::ptr::null::<cl_ulong16>())).s as *const _ as usize },
21239 0usize,
21240 concat!(
21241 "Offset of field: ",
21242 stringify!(cl_ulong16),
21243 "::",
21244 stringify!(s)
21245 )
21246 );
21247 assert_eq!(
21248 unsafe { &(*(::std::ptr::null::<cl_ulong16>())).v2 as *const _ as usize },
21249 0usize,
21250 concat!(
21251 "Offset of field: ",
21252 stringify!(cl_ulong16),
21253 "::",
21254 stringify!(v2)
21255 )
21256 );
21257}
21258#[repr(C)]
21259#[derive(Copy, Clone)]
21260pub union cl_float2 {
21261 pub s: [cl_float; 2usize],
21262 pub __bindgen_anon_1: cl_float2__bindgen_ty_1,
21263 pub __bindgen_anon_2: cl_float2__bindgen_ty_2,
21264 pub __bindgen_anon_3: cl_float2__bindgen_ty_3,
21265 pub v2: __cl_float2,
21266 _bindgen_union_align: u64,
21267}
21268#[repr(C)]
21269#[derive(Debug, Copy, Clone)]
21270pub struct cl_float2__bindgen_ty_1 {
21271 pub x: cl_float,
21272 pub y: cl_float,
21273}
21274#[test]
21275fn bindgen_test_layout_cl_float2__bindgen_ty_1() {
21276 assert_eq!(
21277 ::std::mem::size_of::<cl_float2__bindgen_ty_1>(),
21278 8usize,
21279 concat!("Size of: ", stringify!(cl_float2__bindgen_ty_1))
21280 );
21281 assert_eq!(
21282 ::std::mem::align_of::<cl_float2__bindgen_ty_1>(),
21283 4usize,
21284 concat!("Alignment of ", stringify!(cl_float2__bindgen_ty_1))
21285 );
21286 assert_eq!(
21287 unsafe { &(*(::std::ptr::null::<cl_float2__bindgen_ty_1>())).x as *const _ as usize },
21288 0usize,
21289 concat!(
21290 "Offset of field: ",
21291 stringify!(cl_float2__bindgen_ty_1),
21292 "::",
21293 stringify!(x)
21294 )
21295 );
21296 assert_eq!(
21297 unsafe { &(*(::std::ptr::null::<cl_float2__bindgen_ty_1>())).y as *const _ as usize },
21298 4usize,
21299 concat!(
21300 "Offset of field: ",
21301 stringify!(cl_float2__bindgen_ty_1),
21302 "::",
21303 stringify!(y)
21304 )
21305 );
21306}
21307#[repr(C)]
21308#[derive(Debug, Copy, Clone)]
21309pub struct cl_float2__bindgen_ty_2 {
21310 pub s0: cl_float,
21311 pub s1: cl_float,
21312}
21313#[test]
21314fn bindgen_test_layout_cl_float2__bindgen_ty_2() {
21315 assert_eq!(
21316 ::std::mem::size_of::<cl_float2__bindgen_ty_2>(),
21317 8usize,
21318 concat!("Size of: ", stringify!(cl_float2__bindgen_ty_2))
21319 );
21320 assert_eq!(
21321 ::std::mem::align_of::<cl_float2__bindgen_ty_2>(),
21322 4usize,
21323 concat!("Alignment of ", stringify!(cl_float2__bindgen_ty_2))
21324 );
21325 assert_eq!(
21326 unsafe { &(*(::std::ptr::null::<cl_float2__bindgen_ty_2>())).s0 as *const _ as usize },
21327 0usize,
21328 concat!(
21329 "Offset of field: ",
21330 stringify!(cl_float2__bindgen_ty_2),
21331 "::",
21332 stringify!(s0)
21333 )
21334 );
21335 assert_eq!(
21336 unsafe { &(*(::std::ptr::null::<cl_float2__bindgen_ty_2>())).s1 as *const _ as usize },
21337 4usize,
21338 concat!(
21339 "Offset of field: ",
21340 stringify!(cl_float2__bindgen_ty_2),
21341 "::",
21342 stringify!(s1)
21343 )
21344 );
21345}
21346#[repr(C)]
21347#[derive(Debug, Copy, Clone)]
21348pub struct cl_float2__bindgen_ty_3 {
21349 pub lo: cl_float,
21350 pub hi: cl_float,
21351}
21352#[test]
21353fn bindgen_test_layout_cl_float2__bindgen_ty_3() {
21354 assert_eq!(
21355 ::std::mem::size_of::<cl_float2__bindgen_ty_3>(),
21356 8usize,
21357 concat!("Size of: ", stringify!(cl_float2__bindgen_ty_3))
21358 );
21359 assert_eq!(
21360 ::std::mem::align_of::<cl_float2__bindgen_ty_3>(),
21361 4usize,
21362 concat!("Alignment of ", stringify!(cl_float2__bindgen_ty_3))
21363 );
21364 assert_eq!(
21365 unsafe { &(*(::std::ptr::null::<cl_float2__bindgen_ty_3>())).lo as *const _ as usize },
21366 0usize,
21367 concat!(
21368 "Offset of field: ",
21369 stringify!(cl_float2__bindgen_ty_3),
21370 "::",
21371 stringify!(lo)
21372 )
21373 );
21374 assert_eq!(
21375 unsafe { &(*(::std::ptr::null::<cl_float2__bindgen_ty_3>())).hi as *const _ as usize },
21376 4usize,
21377 concat!(
21378 "Offset of field: ",
21379 stringify!(cl_float2__bindgen_ty_3),
21380 "::",
21381 stringify!(hi)
21382 )
21383 );
21384}
21385#[test]
21386fn bindgen_test_layout_cl_float2() {
21387 assert_eq!(
21388 ::std::mem::size_of::<cl_float2>(),
21389 8usize,
21390 concat!("Size of: ", stringify!(cl_float2))
21391 );
21392 assert_eq!(
21393 ::std::mem::align_of::<cl_float2>(),
21394 8usize,
21395 concat!("Alignment of ", stringify!(cl_float2))
21396 );
21397 assert_eq!(
21398 unsafe { &(*(::std::ptr::null::<cl_float2>())).s as *const _ as usize },
21399 0usize,
21400 concat!(
21401 "Offset of field: ",
21402 stringify!(cl_float2),
21403 "::",
21404 stringify!(s)
21405 )
21406 );
21407 assert_eq!(
21408 unsafe { &(*(::std::ptr::null::<cl_float2>())).v2 as *const _ as usize },
21409 0usize,
21410 concat!(
21411 "Offset of field: ",
21412 stringify!(cl_float2),
21413 "::",
21414 stringify!(v2)
21415 )
21416 );
21417}
21418#[repr(C)]
21419#[repr(align(16))]
21420#[derive(Copy, Clone)]
21421pub union cl_float4 {
21422 pub s: [cl_float; 4usize],
21423 pub __bindgen_anon_1: cl_float4__bindgen_ty_1,
21424 pub __bindgen_anon_2: cl_float4__bindgen_ty_2,
21425 pub __bindgen_anon_3: cl_float4__bindgen_ty_3,
21426 pub v2: [__cl_float2; 2usize],
21427 pub v4: __cl_float4,
21428 _bindgen_union_align: u128,
21429}
21430#[repr(C)]
21431#[derive(Debug, Copy, Clone)]
21432pub struct cl_float4__bindgen_ty_1 {
21433 pub x: cl_float,
21434 pub y: cl_float,
21435 pub z: cl_float,
21436 pub w: cl_float,
21437}
21438#[test]
21439fn bindgen_test_layout_cl_float4__bindgen_ty_1() {
21440 assert_eq!(
21441 ::std::mem::size_of::<cl_float4__bindgen_ty_1>(),
21442 16usize,
21443 concat!("Size of: ", stringify!(cl_float4__bindgen_ty_1))
21444 );
21445 assert_eq!(
21446 ::std::mem::align_of::<cl_float4__bindgen_ty_1>(),
21447 4usize,
21448 concat!("Alignment of ", stringify!(cl_float4__bindgen_ty_1))
21449 );
21450 assert_eq!(
21451 unsafe { &(*(::std::ptr::null::<cl_float4__bindgen_ty_1>())).x as *const _ as usize },
21452 0usize,
21453 concat!(
21454 "Offset of field: ",
21455 stringify!(cl_float4__bindgen_ty_1),
21456 "::",
21457 stringify!(x)
21458 )
21459 );
21460 assert_eq!(
21461 unsafe { &(*(::std::ptr::null::<cl_float4__bindgen_ty_1>())).y as *const _ as usize },
21462 4usize,
21463 concat!(
21464 "Offset of field: ",
21465 stringify!(cl_float4__bindgen_ty_1),
21466 "::",
21467 stringify!(y)
21468 )
21469 );
21470 assert_eq!(
21471 unsafe { &(*(::std::ptr::null::<cl_float4__bindgen_ty_1>())).z as *const _ as usize },
21472 8usize,
21473 concat!(
21474 "Offset of field: ",
21475 stringify!(cl_float4__bindgen_ty_1),
21476 "::",
21477 stringify!(z)
21478 )
21479 );
21480 assert_eq!(
21481 unsafe { &(*(::std::ptr::null::<cl_float4__bindgen_ty_1>())).w as *const _ as usize },
21482 12usize,
21483 concat!(
21484 "Offset of field: ",
21485 stringify!(cl_float4__bindgen_ty_1),
21486 "::",
21487 stringify!(w)
21488 )
21489 );
21490}
21491#[repr(C)]
21492#[derive(Debug, Copy, Clone)]
21493pub struct cl_float4__bindgen_ty_2 {
21494 pub s0: cl_float,
21495 pub s1: cl_float,
21496 pub s2: cl_float,
21497 pub s3: cl_float,
21498}
21499#[test]
21500fn bindgen_test_layout_cl_float4__bindgen_ty_2() {
21501 assert_eq!(
21502 ::std::mem::size_of::<cl_float4__bindgen_ty_2>(),
21503 16usize,
21504 concat!("Size of: ", stringify!(cl_float4__bindgen_ty_2))
21505 );
21506 assert_eq!(
21507 ::std::mem::align_of::<cl_float4__bindgen_ty_2>(),
21508 4usize,
21509 concat!("Alignment of ", stringify!(cl_float4__bindgen_ty_2))
21510 );
21511 assert_eq!(
21512 unsafe { &(*(::std::ptr::null::<cl_float4__bindgen_ty_2>())).s0 as *const _ as usize },
21513 0usize,
21514 concat!(
21515 "Offset of field: ",
21516 stringify!(cl_float4__bindgen_ty_2),
21517 "::",
21518 stringify!(s0)
21519 )
21520 );
21521 assert_eq!(
21522 unsafe { &(*(::std::ptr::null::<cl_float4__bindgen_ty_2>())).s1 as *const _ as usize },
21523 4usize,
21524 concat!(
21525 "Offset of field: ",
21526 stringify!(cl_float4__bindgen_ty_2),
21527 "::",
21528 stringify!(s1)
21529 )
21530 );
21531 assert_eq!(
21532 unsafe { &(*(::std::ptr::null::<cl_float4__bindgen_ty_2>())).s2 as *const _ as usize },
21533 8usize,
21534 concat!(
21535 "Offset of field: ",
21536 stringify!(cl_float4__bindgen_ty_2),
21537 "::",
21538 stringify!(s2)
21539 )
21540 );
21541 assert_eq!(
21542 unsafe { &(*(::std::ptr::null::<cl_float4__bindgen_ty_2>())).s3 as *const _ as usize },
21543 12usize,
21544 concat!(
21545 "Offset of field: ",
21546 stringify!(cl_float4__bindgen_ty_2),
21547 "::",
21548 stringify!(s3)
21549 )
21550 );
21551}
21552#[repr(C)]
21553#[derive(Copy, Clone)]
21554pub struct cl_float4__bindgen_ty_3 {
21555 pub lo: cl_float2,
21556 pub hi: cl_float2,
21557}
21558#[test]
21559fn bindgen_test_layout_cl_float4__bindgen_ty_3() {
21560 assert_eq!(
21561 ::std::mem::size_of::<cl_float4__bindgen_ty_3>(),
21562 16usize,
21563 concat!("Size of: ", stringify!(cl_float4__bindgen_ty_3))
21564 );
21565 assert_eq!(
21566 ::std::mem::align_of::<cl_float4__bindgen_ty_3>(),
21567 8usize,
21568 concat!("Alignment of ", stringify!(cl_float4__bindgen_ty_3))
21569 );
21570 assert_eq!(
21571 unsafe { &(*(::std::ptr::null::<cl_float4__bindgen_ty_3>())).lo as *const _ as usize },
21572 0usize,
21573 concat!(
21574 "Offset of field: ",
21575 stringify!(cl_float4__bindgen_ty_3),
21576 "::",
21577 stringify!(lo)
21578 )
21579 );
21580 assert_eq!(
21581 unsafe { &(*(::std::ptr::null::<cl_float4__bindgen_ty_3>())).hi as *const _ as usize },
21582 8usize,
21583 concat!(
21584 "Offset of field: ",
21585 stringify!(cl_float4__bindgen_ty_3),
21586 "::",
21587 stringify!(hi)
21588 )
21589 );
21590}
21591#[test]
21592fn bindgen_test_layout_cl_float4() {
21593 assert_eq!(
21594 ::std::mem::size_of::<cl_float4>(),
21595 16usize,
21596 concat!("Size of: ", stringify!(cl_float4))
21597 );
21598 assert_eq!(
21599 ::std::mem::align_of::<cl_float4>(),
21600 16usize,
21601 concat!("Alignment of ", stringify!(cl_float4))
21602 );
21603 assert_eq!(
21604 unsafe { &(*(::std::ptr::null::<cl_float4>())).s as *const _ as usize },
21605 0usize,
21606 concat!(
21607 "Offset of field: ",
21608 stringify!(cl_float4),
21609 "::",
21610 stringify!(s)
21611 )
21612 );
21613 assert_eq!(
21614 unsafe { &(*(::std::ptr::null::<cl_float4>())).v2 as *const _ as usize },
21615 0usize,
21616 concat!(
21617 "Offset of field: ",
21618 stringify!(cl_float4),
21619 "::",
21620 stringify!(v2)
21621 )
21622 );
21623 assert_eq!(
21624 unsafe { &(*(::std::ptr::null::<cl_float4>())).v4 as *const _ as usize },
21625 0usize,
21626 concat!(
21627 "Offset of field: ",
21628 stringify!(cl_float4),
21629 "::",
21630 stringify!(v4)
21631 )
21632 );
21633}
21634pub type cl_float3 = cl_float4;
21635#[repr(C)]
21636#[repr(align(32))]
21637#[derive(Copy, Clone)]
21638pub union cl_float8 {
21639 pub s: [cl_float; 8usize],
21640 pub __bindgen_anon_1: cl_float8__bindgen_ty_1,
21641 pub __bindgen_anon_2: cl_float8__bindgen_ty_2,
21642 pub __bindgen_anon_3: cl_float8__bindgen_ty_3,
21643 pub v2: [__cl_float2; 4usize],
21644 pub v4: [__cl_float4; 2usize],
21645 _bindgen_union_align: [u8; 32usize],
21646}
21647#[repr(C)]
21648#[derive(Debug, Copy, Clone)]
21649pub struct cl_float8__bindgen_ty_1 {
21650 pub x: cl_float,
21651 pub y: cl_float,
21652 pub z: cl_float,
21653 pub w: cl_float,
21654}
21655#[test]
21656fn bindgen_test_layout_cl_float8__bindgen_ty_1() {
21657 assert_eq!(
21658 ::std::mem::size_of::<cl_float8__bindgen_ty_1>(),
21659 16usize,
21660 concat!("Size of: ", stringify!(cl_float8__bindgen_ty_1))
21661 );
21662 assert_eq!(
21663 ::std::mem::align_of::<cl_float8__bindgen_ty_1>(),
21664 4usize,
21665 concat!("Alignment of ", stringify!(cl_float8__bindgen_ty_1))
21666 );
21667 assert_eq!(
21668 unsafe { &(*(::std::ptr::null::<cl_float8__bindgen_ty_1>())).x as *const _ as usize },
21669 0usize,
21670 concat!(
21671 "Offset of field: ",
21672 stringify!(cl_float8__bindgen_ty_1),
21673 "::",
21674 stringify!(x)
21675 )
21676 );
21677 assert_eq!(
21678 unsafe { &(*(::std::ptr::null::<cl_float8__bindgen_ty_1>())).y as *const _ as usize },
21679 4usize,
21680 concat!(
21681 "Offset of field: ",
21682 stringify!(cl_float8__bindgen_ty_1),
21683 "::",
21684 stringify!(y)
21685 )
21686 );
21687 assert_eq!(
21688 unsafe { &(*(::std::ptr::null::<cl_float8__bindgen_ty_1>())).z as *const _ as usize },
21689 8usize,
21690 concat!(
21691 "Offset of field: ",
21692 stringify!(cl_float8__bindgen_ty_1),
21693 "::",
21694 stringify!(z)
21695 )
21696 );
21697 assert_eq!(
21698 unsafe { &(*(::std::ptr::null::<cl_float8__bindgen_ty_1>())).w as *const _ as usize },
21699 12usize,
21700 concat!(
21701 "Offset of field: ",
21702 stringify!(cl_float8__bindgen_ty_1),
21703 "::",
21704 stringify!(w)
21705 )
21706 );
21707}
21708#[repr(C)]
21709#[derive(Debug, Copy, Clone)]
21710pub struct cl_float8__bindgen_ty_2 {
21711 pub s0: cl_float,
21712 pub s1: cl_float,
21713 pub s2: cl_float,
21714 pub s3: cl_float,
21715 pub s4: cl_float,
21716 pub s5: cl_float,
21717 pub s6: cl_float,
21718 pub s7: cl_float,
21719}
21720#[test]
21721fn bindgen_test_layout_cl_float8__bindgen_ty_2() {
21722 assert_eq!(
21723 ::std::mem::size_of::<cl_float8__bindgen_ty_2>(),
21724 32usize,
21725 concat!("Size of: ", stringify!(cl_float8__bindgen_ty_2))
21726 );
21727 assert_eq!(
21728 ::std::mem::align_of::<cl_float8__bindgen_ty_2>(),
21729 4usize,
21730 concat!("Alignment of ", stringify!(cl_float8__bindgen_ty_2))
21731 );
21732 assert_eq!(
21733 unsafe { &(*(::std::ptr::null::<cl_float8__bindgen_ty_2>())).s0 as *const _ as usize },
21734 0usize,
21735 concat!(
21736 "Offset of field: ",
21737 stringify!(cl_float8__bindgen_ty_2),
21738 "::",
21739 stringify!(s0)
21740 )
21741 );
21742 assert_eq!(
21743 unsafe { &(*(::std::ptr::null::<cl_float8__bindgen_ty_2>())).s1 as *const _ as usize },
21744 4usize,
21745 concat!(
21746 "Offset of field: ",
21747 stringify!(cl_float8__bindgen_ty_2),
21748 "::",
21749 stringify!(s1)
21750 )
21751 );
21752 assert_eq!(
21753 unsafe { &(*(::std::ptr::null::<cl_float8__bindgen_ty_2>())).s2 as *const _ as usize },
21754 8usize,
21755 concat!(
21756 "Offset of field: ",
21757 stringify!(cl_float8__bindgen_ty_2),
21758 "::",
21759 stringify!(s2)
21760 )
21761 );
21762 assert_eq!(
21763 unsafe { &(*(::std::ptr::null::<cl_float8__bindgen_ty_2>())).s3 as *const _ as usize },
21764 12usize,
21765 concat!(
21766 "Offset of field: ",
21767 stringify!(cl_float8__bindgen_ty_2),
21768 "::",
21769 stringify!(s3)
21770 )
21771 );
21772 assert_eq!(
21773 unsafe { &(*(::std::ptr::null::<cl_float8__bindgen_ty_2>())).s4 as *const _ as usize },
21774 16usize,
21775 concat!(
21776 "Offset of field: ",
21777 stringify!(cl_float8__bindgen_ty_2),
21778 "::",
21779 stringify!(s4)
21780 )
21781 );
21782 assert_eq!(
21783 unsafe { &(*(::std::ptr::null::<cl_float8__bindgen_ty_2>())).s5 as *const _ as usize },
21784 20usize,
21785 concat!(
21786 "Offset of field: ",
21787 stringify!(cl_float8__bindgen_ty_2),
21788 "::",
21789 stringify!(s5)
21790 )
21791 );
21792 assert_eq!(
21793 unsafe { &(*(::std::ptr::null::<cl_float8__bindgen_ty_2>())).s6 as *const _ as usize },
21794 24usize,
21795 concat!(
21796 "Offset of field: ",
21797 stringify!(cl_float8__bindgen_ty_2),
21798 "::",
21799 stringify!(s6)
21800 )
21801 );
21802 assert_eq!(
21803 unsafe { &(*(::std::ptr::null::<cl_float8__bindgen_ty_2>())).s7 as *const _ as usize },
21804 28usize,
21805 concat!(
21806 "Offset of field: ",
21807 stringify!(cl_float8__bindgen_ty_2),
21808 "::",
21809 stringify!(s7)
21810 )
21811 );
21812}
21813#[repr(C)]
21814#[repr(align(16))]
21815#[derive(Copy, Clone)]
21816pub struct cl_float8__bindgen_ty_3 {
21817 pub lo: cl_float4,
21818 pub hi: cl_float4,
21819}
21820#[test]
21821fn bindgen_test_layout_cl_float8__bindgen_ty_3() {
21822 assert_eq!(
21823 ::std::mem::size_of::<cl_float8__bindgen_ty_3>(),
21824 32usize,
21825 concat!("Size of: ", stringify!(cl_float8__bindgen_ty_3))
21826 );
21827 assert_eq!(
21828 ::std::mem::align_of::<cl_float8__bindgen_ty_3>(),
21829 16usize,
21830 concat!("Alignment of ", stringify!(cl_float8__bindgen_ty_3))
21831 );
21832 assert_eq!(
21833 unsafe { &(*(::std::ptr::null::<cl_float8__bindgen_ty_3>())).lo as *const _ as usize },
21834 0usize,
21835 concat!(
21836 "Offset of field: ",
21837 stringify!(cl_float8__bindgen_ty_3),
21838 "::",
21839 stringify!(lo)
21840 )
21841 );
21842 assert_eq!(
21843 unsafe { &(*(::std::ptr::null::<cl_float8__bindgen_ty_3>())).hi as *const _ as usize },
21844 16usize,
21845 concat!(
21846 "Offset of field: ",
21847 stringify!(cl_float8__bindgen_ty_3),
21848 "::",
21849 stringify!(hi)
21850 )
21851 );
21852}
21853#[test]
21854fn bindgen_test_layout_cl_float8() {
21855 assert_eq!(
21856 ::std::mem::size_of::<cl_float8>(),
21857 32usize,
21858 concat!("Size of: ", stringify!(cl_float8))
21859 );
21860 assert_eq!(
21861 ::std::mem::align_of::<cl_float8>(),
21862 32usize,
21863 concat!("Alignment of ", stringify!(cl_float8))
21864 );
21865 assert_eq!(
21866 unsafe { &(*(::std::ptr::null::<cl_float8>())).s as *const _ as usize },
21867 0usize,
21868 concat!(
21869 "Offset of field: ",
21870 stringify!(cl_float8),
21871 "::",
21872 stringify!(s)
21873 )
21874 );
21875 assert_eq!(
21876 unsafe { &(*(::std::ptr::null::<cl_float8>())).v2 as *const _ as usize },
21877 0usize,
21878 concat!(
21879 "Offset of field: ",
21880 stringify!(cl_float8),
21881 "::",
21882 stringify!(v2)
21883 )
21884 );
21885 assert_eq!(
21886 unsafe { &(*(::std::ptr::null::<cl_float8>())).v4 as *const _ as usize },
21887 0usize,
21888 concat!(
21889 "Offset of field: ",
21890 stringify!(cl_float8),
21891 "::",
21892 stringify!(v4)
21893 )
21894 );
21895}
21896#[repr(C)]
21897#[repr(align(64))]
21898#[derive(Copy, Clone)]
21899pub union cl_float16 {
21900 pub s: [cl_float; 16usize],
21901 pub __bindgen_anon_1: cl_float16__bindgen_ty_1,
21902 pub __bindgen_anon_2: cl_float16__bindgen_ty_2,
21903 pub __bindgen_anon_3: cl_float16__bindgen_ty_3,
21904 pub v2: [__cl_float2; 8usize],
21905 pub v4: [__cl_float4; 4usize],
21906 _bindgen_union_align: [u8; 64usize],
21907}
21908#[repr(C)]
21909#[derive(Debug, Copy, Clone)]
21910pub struct cl_float16__bindgen_ty_1 {
21911 pub x: cl_float,
21912 pub y: cl_float,
21913 pub z: cl_float,
21914 pub w: cl_float,
21915 pub __spacer4: cl_float,
21916 pub __spacer5: cl_float,
21917 pub __spacer6: cl_float,
21918 pub __spacer7: cl_float,
21919 pub __spacer8: cl_float,
21920 pub __spacer9: cl_float,
21921 pub sa: cl_float,
21922 pub sb: cl_float,
21923 pub sc: cl_float,
21924 pub sd: cl_float,
21925 pub se: cl_float,
21926 pub sf: cl_float,
21927}
21928#[test]
21929fn bindgen_test_layout_cl_float16__bindgen_ty_1() {
21930 assert_eq!(
21931 ::std::mem::size_of::<cl_float16__bindgen_ty_1>(),
21932 64usize,
21933 concat!("Size of: ", stringify!(cl_float16__bindgen_ty_1))
21934 );
21935 assert_eq!(
21936 ::std::mem::align_of::<cl_float16__bindgen_ty_1>(),
21937 4usize,
21938 concat!("Alignment of ", stringify!(cl_float16__bindgen_ty_1))
21939 );
21940 assert_eq!(
21941 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_1>())).x as *const _ as usize },
21942 0usize,
21943 concat!(
21944 "Offset of field: ",
21945 stringify!(cl_float16__bindgen_ty_1),
21946 "::",
21947 stringify!(x)
21948 )
21949 );
21950 assert_eq!(
21951 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_1>())).y as *const _ as usize },
21952 4usize,
21953 concat!(
21954 "Offset of field: ",
21955 stringify!(cl_float16__bindgen_ty_1),
21956 "::",
21957 stringify!(y)
21958 )
21959 );
21960 assert_eq!(
21961 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_1>())).z as *const _ as usize },
21962 8usize,
21963 concat!(
21964 "Offset of field: ",
21965 stringify!(cl_float16__bindgen_ty_1),
21966 "::",
21967 stringify!(z)
21968 )
21969 );
21970 assert_eq!(
21971 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_1>())).w as *const _ as usize },
21972 12usize,
21973 concat!(
21974 "Offset of field: ",
21975 stringify!(cl_float16__bindgen_ty_1),
21976 "::",
21977 stringify!(w)
21978 )
21979 );
21980 assert_eq!(
21981 unsafe {
21982 &(*(::std::ptr::null::<cl_float16__bindgen_ty_1>())).__spacer4 as *const _ as usize
21983 },
21984 16usize,
21985 concat!(
21986 "Offset of field: ",
21987 stringify!(cl_float16__bindgen_ty_1),
21988 "::",
21989 stringify!(__spacer4)
21990 )
21991 );
21992 assert_eq!(
21993 unsafe {
21994 &(*(::std::ptr::null::<cl_float16__bindgen_ty_1>())).__spacer5 as *const _ as usize
21995 },
21996 20usize,
21997 concat!(
21998 "Offset of field: ",
21999 stringify!(cl_float16__bindgen_ty_1),
22000 "::",
22001 stringify!(__spacer5)
22002 )
22003 );
22004 assert_eq!(
22005 unsafe {
22006 &(*(::std::ptr::null::<cl_float16__bindgen_ty_1>())).__spacer6 as *const _ as usize
22007 },
22008 24usize,
22009 concat!(
22010 "Offset of field: ",
22011 stringify!(cl_float16__bindgen_ty_1),
22012 "::",
22013 stringify!(__spacer6)
22014 )
22015 );
22016 assert_eq!(
22017 unsafe {
22018 &(*(::std::ptr::null::<cl_float16__bindgen_ty_1>())).__spacer7 as *const _ as usize
22019 },
22020 28usize,
22021 concat!(
22022 "Offset of field: ",
22023 stringify!(cl_float16__bindgen_ty_1),
22024 "::",
22025 stringify!(__spacer7)
22026 )
22027 );
22028 assert_eq!(
22029 unsafe {
22030 &(*(::std::ptr::null::<cl_float16__bindgen_ty_1>())).__spacer8 as *const _ as usize
22031 },
22032 32usize,
22033 concat!(
22034 "Offset of field: ",
22035 stringify!(cl_float16__bindgen_ty_1),
22036 "::",
22037 stringify!(__spacer8)
22038 )
22039 );
22040 assert_eq!(
22041 unsafe {
22042 &(*(::std::ptr::null::<cl_float16__bindgen_ty_1>())).__spacer9 as *const _ as usize
22043 },
22044 36usize,
22045 concat!(
22046 "Offset of field: ",
22047 stringify!(cl_float16__bindgen_ty_1),
22048 "::",
22049 stringify!(__spacer9)
22050 )
22051 );
22052 assert_eq!(
22053 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_1>())).sa as *const _ as usize },
22054 40usize,
22055 concat!(
22056 "Offset of field: ",
22057 stringify!(cl_float16__bindgen_ty_1),
22058 "::",
22059 stringify!(sa)
22060 )
22061 );
22062 assert_eq!(
22063 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_1>())).sb as *const _ as usize },
22064 44usize,
22065 concat!(
22066 "Offset of field: ",
22067 stringify!(cl_float16__bindgen_ty_1),
22068 "::",
22069 stringify!(sb)
22070 )
22071 );
22072 assert_eq!(
22073 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_1>())).sc as *const _ as usize },
22074 48usize,
22075 concat!(
22076 "Offset of field: ",
22077 stringify!(cl_float16__bindgen_ty_1),
22078 "::",
22079 stringify!(sc)
22080 )
22081 );
22082 assert_eq!(
22083 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_1>())).sd as *const _ as usize },
22084 52usize,
22085 concat!(
22086 "Offset of field: ",
22087 stringify!(cl_float16__bindgen_ty_1),
22088 "::",
22089 stringify!(sd)
22090 )
22091 );
22092 assert_eq!(
22093 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_1>())).se as *const _ as usize },
22094 56usize,
22095 concat!(
22096 "Offset of field: ",
22097 stringify!(cl_float16__bindgen_ty_1),
22098 "::",
22099 stringify!(se)
22100 )
22101 );
22102 assert_eq!(
22103 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_1>())).sf as *const _ as usize },
22104 60usize,
22105 concat!(
22106 "Offset of field: ",
22107 stringify!(cl_float16__bindgen_ty_1),
22108 "::",
22109 stringify!(sf)
22110 )
22111 );
22112}
22113#[repr(C)]
22114#[derive(Debug, Copy, Clone)]
22115pub struct cl_float16__bindgen_ty_2 {
22116 pub s0: cl_float,
22117 pub s1: cl_float,
22118 pub s2: cl_float,
22119 pub s3: cl_float,
22120 pub s4: cl_float,
22121 pub s5: cl_float,
22122 pub s6: cl_float,
22123 pub s7: cl_float,
22124 pub s8: cl_float,
22125 pub s9: cl_float,
22126 pub sA: cl_float,
22127 pub sB: cl_float,
22128 pub sC: cl_float,
22129 pub sD: cl_float,
22130 pub sE: cl_float,
22131 pub sF: cl_float,
22132}
22133#[test]
22134fn bindgen_test_layout_cl_float16__bindgen_ty_2() {
22135 assert_eq!(
22136 ::std::mem::size_of::<cl_float16__bindgen_ty_2>(),
22137 64usize,
22138 concat!("Size of: ", stringify!(cl_float16__bindgen_ty_2))
22139 );
22140 assert_eq!(
22141 ::std::mem::align_of::<cl_float16__bindgen_ty_2>(),
22142 4usize,
22143 concat!("Alignment of ", stringify!(cl_float16__bindgen_ty_2))
22144 );
22145 assert_eq!(
22146 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_2>())).s0 as *const _ as usize },
22147 0usize,
22148 concat!(
22149 "Offset of field: ",
22150 stringify!(cl_float16__bindgen_ty_2),
22151 "::",
22152 stringify!(s0)
22153 )
22154 );
22155 assert_eq!(
22156 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_2>())).s1 as *const _ as usize },
22157 4usize,
22158 concat!(
22159 "Offset of field: ",
22160 stringify!(cl_float16__bindgen_ty_2),
22161 "::",
22162 stringify!(s1)
22163 )
22164 );
22165 assert_eq!(
22166 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_2>())).s2 as *const _ as usize },
22167 8usize,
22168 concat!(
22169 "Offset of field: ",
22170 stringify!(cl_float16__bindgen_ty_2),
22171 "::",
22172 stringify!(s2)
22173 )
22174 );
22175 assert_eq!(
22176 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_2>())).s3 as *const _ as usize },
22177 12usize,
22178 concat!(
22179 "Offset of field: ",
22180 stringify!(cl_float16__bindgen_ty_2),
22181 "::",
22182 stringify!(s3)
22183 )
22184 );
22185 assert_eq!(
22186 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_2>())).s4 as *const _ as usize },
22187 16usize,
22188 concat!(
22189 "Offset of field: ",
22190 stringify!(cl_float16__bindgen_ty_2),
22191 "::",
22192 stringify!(s4)
22193 )
22194 );
22195 assert_eq!(
22196 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_2>())).s5 as *const _ as usize },
22197 20usize,
22198 concat!(
22199 "Offset of field: ",
22200 stringify!(cl_float16__bindgen_ty_2),
22201 "::",
22202 stringify!(s5)
22203 )
22204 );
22205 assert_eq!(
22206 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_2>())).s6 as *const _ as usize },
22207 24usize,
22208 concat!(
22209 "Offset of field: ",
22210 stringify!(cl_float16__bindgen_ty_2),
22211 "::",
22212 stringify!(s6)
22213 )
22214 );
22215 assert_eq!(
22216 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_2>())).s7 as *const _ as usize },
22217 28usize,
22218 concat!(
22219 "Offset of field: ",
22220 stringify!(cl_float16__bindgen_ty_2),
22221 "::",
22222 stringify!(s7)
22223 )
22224 );
22225 assert_eq!(
22226 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_2>())).s8 as *const _ as usize },
22227 32usize,
22228 concat!(
22229 "Offset of field: ",
22230 stringify!(cl_float16__bindgen_ty_2),
22231 "::",
22232 stringify!(s8)
22233 )
22234 );
22235 assert_eq!(
22236 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_2>())).s9 as *const _ as usize },
22237 36usize,
22238 concat!(
22239 "Offset of field: ",
22240 stringify!(cl_float16__bindgen_ty_2),
22241 "::",
22242 stringify!(s9)
22243 )
22244 );
22245 assert_eq!(
22246 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_2>())).sA as *const _ as usize },
22247 40usize,
22248 concat!(
22249 "Offset of field: ",
22250 stringify!(cl_float16__bindgen_ty_2),
22251 "::",
22252 stringify!(sA)
22253 )
22254 );
22255 assert_eq!(
22256 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_2>())).sB as *const _ as usize },
22257 44usize,
22258 concat!(
22259 "Offset of field: ",
22260 stringify!(cl_float16__bindgen_ty_2),
22261 "::",
22262 stringify!(sB)
22263 )
22264 );
22265 assert_eq!(
22266 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_2>())).sC as *const _ as usize },
22267 48usize,
22268 concat!(
22269 "Offset of field: ",
22270 stringify!(cl_float16__bindgen_ty_2),
22271 "::",
22272 stringify!(sC)
22273 )
22274 );
22275 assert_eq!(
22276 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_2>())).sD as *const _ as usize },
22277 52usize,
22278 concat!(
22279 "Offset of field: ",
22280 stringify!(cl_float16__bindgen_ty_2),
22281 "::",
22282 stringify!(sD)
22283 )
22284 );
22285 assert_eq!(
22286 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_2>())).sE as *const _ as usize },
22287 56usize,
22288 concat!(
22289 "Offset of field: ",
22290 stringify!(cl_float16__bindgen_ty_2),
22291 "::",
22292 stringify!(sE)
22293 )
22294 );
22295 assert_eq!(
22296 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_2>())).sF as *const _ as usize },
22297 60usize,
22298 concat!(
22299 "Offset of field: ",
22300 stringify!(cl_float16__bindgen_ty_2),
22301 "::",
22302 stringify!(sF)
22303 )
22304 );
22305}
22306#[repr(C)]
22307#[repr(align(32))]
22308#[derive(Copy, Clone)]
22309pub struct cl_float16__bindgen_ty_3 {
22310 pub lo: cl_float8,
22311 pub hi: cl_float8,
22312}
22313#[test]
22314fn bindgen_test_layout_cl_float16__bindgen_ty_3() {
22315 assert_eq!(
22316 ::std::mem::size_of::<cl_float16__bindgen_ty_3>(),
22317 64usize,
22318 concat!("Size of: ", stringify!(cl_float16__bindgen_ty_3))
22319 );
22320 assert_eq!(
22321 ::std::mem::align_of::<cl_float16__bindgen_ty_3>(),
22322 32usize,
22323 concat!("Alignment of ", stringify!(cl_float16__bindgen_ty_3))
22324 );
22325 assert_eq!(
22326 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_3>())).lo as *const _ as usize },
22327 0usize,
22328 concat!(
22329 "Offset of field: ",
22330 stringify!(cl_float16__bindgen_ty_3),
22331 "::",
22332 stringify!(lo)
22333 )
22334 );
22335 assert_eq!(
22336 unsafe { &(*(::std::ptr::null::<cl_float16__bindgen_ty_3>())).hi as *const _ as usize },
22337 32usize,
22338 concat!(
22339 "Offset of field: ",
22340 stringify!(cl_float16__bindgen_ty_3),
22341 "::",
22342 stringify!(hi)
22343 )
22344 );
22345}
22346#[test]
22347fn bindgen_test_layout_cl_float16() {
22348 assert_eq!(
22349 ::std::mem::size_of::<cl_float16>(),
22350 64usize,
22351 concat!("Size of: ", stringify!(cl_float16))
22352 );
22353 assert_eq!(
22354 ::std::mem::align_of::<cl_float16>(),
22355 64usize,
22356 concat!("Alignment of ", stringify!(cl_float16))
22357 );
22358 assert_eq!(
22359 unsafe { &(*(::std::ptr::null::<cl_float16>())).s as *const _ as usize },
22360 0usize,
22361 concat!(
22362 "Offset of field: ",
22363 stringify!(cl_float16),
22364 "::",
22365 stringify!(s)
22366 )
22367 );
22368 assert_eq!(
22369 unsafe { &(*(::std::ptr::null::<cl_float16>())).v2 as *const _ as usize },
22370 0usize,
22371 concat!(
22372 "Offset of field: ",
22373 stringify!(cl_float16),
22374 "::",
22375 stringify!(v2)
22376 )
22377 );
22378 assert_eq!(
22379 unsafe { &(*(::std::ptr::null::<cl_float16>())).v4 as *const _ as usize },
22380 0usize,
22381 concat!(
22382 "Offset of field: ",
22383 stringify!(cl_float16),
22384 "::",
22385 stringify!(v4)
22386 )
22387 );
22388}
22389#[repr(C)]
22390#[repr(align(16))]
22391#[derive(Copy, Clone)]
22392pub union cl_double2 {
22393 pub s: [cl_double; 2usize],
22394 pub __bindgen_anon_1: cl_double2__bindgen_ty_1,
22395 pub __bindgen_anon_2: cl_double2__bindgen_ty_2,
22396 pub __bindgen_anon_3: cl_double2__bindgen_ty_3,
22397 pub v2: __cl_double2,
22398 _bindgen_union_align: u128,
22399}
22400#[repr(C)]
22401#[derive(Debug, Copy, Clone)]
22402pub struct cl_double2__bindgen_ty_1 {
22403 pub x: cl_double,
22404 pub y: cl_double,
22405}
22406#[test]
22407fn bindgen_test_layout_cl_double2__bindgen_ty_1() {
22408 assert_eq!(
22409 ::std::mem::size_of::<cl_double2__bindgen_ty_1>(),
22410 16usize,
22411 concat!("Size of: ", stringify!(cl_double2__bindgen_ty_1))
22412 );
22413 assert_eq!(
22414 ::std::mem::align_of::<cl_double2__bindgen_ty_1>(),
22415 8usize,
22416 concat!("Alignment of ", stringify!(cl_double2__bindgen_ty_1))
22417 );
22418 assert_eq!(
22419 unsafe { &(*(::std::ptr::null::<cl_double2__bindgen_ty_1>())).x as *const _ as usize },
22420 0usize,
22421 concat!(
22422 "Offset of field: ",
22423 stringify!(cl_double2__bindgen_ty_1),
22424 "::",
22425 stringify!(x)
22426 )
22427 );
22428 assert_eq!(
22429 unsafe { &(*(::std::ptr::null::<cl_double2__bindgen_ty_1>())).y as *const _ as usize },
22430 8usize,
22431 concat!(
22432 "Offset of field: ",
22433 stringify!(cl_double2__bindgen_ty_1),
22434 "::",
22435 stringify!(y)
22436 )
22437 );
22438}
22439#[repr(C)]
22440#[derive(Debug, Copy, Clone)]
22441pub struct cl_double2__bindgen_ty_2 {
22442 pub s0: cl_double,
22443 pub s1: cl_double,
22444}
22445#[test]
22446fn bindgen_test_layout_cl_double2__bindgen_ty_2() {
22447 assert_eq!(
22448 ::std::mem::size_of::<cl_double2__bindgen_ty_2>(),
22449 16usize,
22450 concat!("Size of: ", stringify!(cl_double2__bindgen_ty_2))
22451 );
22452 assert_eq!(
22453 ::std::mem::align_of::<cl_double2__bindgen_ty_2>(),
22454 8usize,
22455 concat!("Alignment of ", stringify!(cl_double2__bindgen_ty_2))
22456 );
22457 assert_eq!(
22458 unsafe { &(*(::std::ptr::null::<cl_double2__bindgen_ty_2>())).s0 as *const _ as usize },
22459 0usize,
22460 concat!(
22461 "Offset of field: ",
22462 stringify!(cl_double2__bindgen_ty_2),
22463 "::",
22464 stringify!(s0)
22465 )
22466 );
22467 assert_eq!(
22468 unsafe { &(*(::std::ptr::null::<cl_double2__bindgen_ty_2>())).s1 as *const _ as usize },
22469 8usize,
22470 concat!(
22471 "Offset of field: ",
22472 stringify!(cl_double2__bindgen_ty_2),
22473 "::",
22474 stringify!(s1)
22475 )
22476 );
22477}
22478#[repr(C)]
22479#[derive(Debug, Copy, Clone)]
22480pub struct cl_double2__bindgen_ty_3 {
22481 pub lo: cl_double,
22482 pub hi: cl_double,
22483}
22484#[test]
22485fn bindgen_test_layout_cl_double2__bindgen_ty_3() {
22486 assert_eq!(
22487 ::std::mem::size_of::<cl_double2__bindgen_ty_3>(),
22488 16usize,
22489 concat!("Size of: ", stringify!(cl_double2__bindgen_ty_3))
22490 );
22491 assert_eq!(
22492 ::std::mem::align_of::<cl_double2__bindgen_ty_3>(),
22493 8usize,
22494 concat!("Alignment of ", stringify!(cl_double2__bindgen_ty_3))
22495 );
22496 assert_eq!(
22497 unsafe { &(*(::std::ptr::null::<cl_double2__bindgen_ty_3>())).lo as *const _ as usize },
22498 0usize,
22499 concat!(
22500 "Offset of field: ",
22501 stringify!(cl_double2__bindgen_ty_3),
22502 "::",
22503 stringify!(lo)
22504 )
22505 );
22506 assert_eq!(
22507 unsafe { &(*(::std::ptr::null::<cl_double2__bindgen_ty_3>())).hi as *const _ as usize },
22508 8usize,
22509 concat!(
22510 "Offset of field: ",
22511 stringify!(cl_double2__bindgen_ty_3),
22512 "::",
22513 stringify!(hi)
22514 )
22515 );
22516}
22517#[test]
22518fn bindgen_test_layout_cl_double2() {
22519 assert_eq!(
22520 ::std::mem::size_of::<cl_double2>(),
22521 16usize,
22522 concat!("Size of: ", stringify!(cl_double2))
22523 );
22524 assert_eq!(
22525 ::std::mem::align_of::<cl_double2>(),
22526 16usize,
22527 concat!("Alignment of ", stringify!(cl_double2))
22528 );
22529 assert_eq!(
22530 unsafe { &(*(::std::ptr::null::<cl_double2>())).s as *const _ as usize },
22531 0usize,
22532 concat!(
22533 "Offset of field: ",
22534 stringify!(cl_double2),
22535 "::",
22536 stringify!(s)
22537 )
22538 );
22539 assert_eq!(
22540 unsafe { &(*(::std::ptr::null::<cl_double2>())).v2 as *const _ as usize },
22541 0usize,
22542 concat!(
22543 "Offset of field: ",
22544 stringify!(cl_double2),
22545 "::",
22546 stringify!(v2)
22547 )
22548 );
22549}
22550#[repr(C)]
22551#[repr(align(32))]
22552#[derive(Copy, Clone)]
22553pub union cl_double4 {
22554 pub s: [cl_double; 4usize],
22555 pub __bindgen_anon_1: cl_double4__bindgen_ty_1,
22556 pub __bindgen_anon_2: cl_double4__bindgen_ty_2,
22557 pub __bindgen_anon_3: cl_double4__bindgen_ty_3,
22558 pub v2: [__cl_double2; 2usize],
22559 _bindgen_union_align: [u8; 32usize],
22560}
22561#[repr(C)]
22562#[derive(Debug, Copy, Clone)]
22563pub struct cl_double4__bindgen_ty_1 {
22564 pub x: cl_double,
22565 pub y: cl_double,
22566 pub z: cl_double,
22567 pub w: cl_double,
22568}
22569#[test]
22570fn bindgen_test_layout_cl_double4__bindgen_ty_1() {
22571 assert_eq!(
22572 ::std::mem::size_of::<cl_double4__bindgen_ty_1>(),
22573 32usize,
22574 concat!("Size of: ", stringify!(cl_double4__bindgen_ty_1))
22575 );
22576 assert_eq!(
22577 ::std::mem::align_of::<cl_double4__bindgen_ty_1>(),
22578 8usize,
22579 concat!("Alignment of ", stringify!(cl_double4__bindgen_ty_1))
22580 );
22581 assert_eq!(
22582 unsafe { &(*(::std::ptr::null::<cl_double4__bindgen_ty_1>())).x as *const _ as usize },
22583 0usize,
22584 concat!(
22585 "Offset of field: ",
22586 stringify!(cl_double4__bindgen_ty_1),
22587 "::",
22588 stringify!(x)
22589 )
22590 );
22591 assert_eq!(
22592 unsafe { &(*(::std::ptr::null::<cl_double4__bindgen_ty_1>())).y as *const _ as usize },
22593 8usize,
22594 concat!(
22595 "Offset of field: ",
22596 stringify!(cl_double4__bindgen_ty_1),
22597 "::",
22598 stringify!(y)
22599 )
22600 );
22601 assert_eq!(
22602 unsafe { &(*(::std::ptr::null::<cl_double4__bindgen_ty_1>())).z as *const _ as usize },
22603 16usize,
22604 concat!(
22605 "Offset of field: ",
22606 stringify!(cl_double4__bindgen_ty_1),
22607 "::",
22608 stringify!(z)
22609 )
22610 );
22611 assert_eq!(
22612 unsafe { &(*(::std::ptr::null::<cl_double4__bindgen_ty_1>())).w as *const _ as usize },
22613 24usize,
22614 concat!(
22615 "Offset of field: ",
22616 stringify!(cl_double4__bindgen_ty_1),
22617 "::",
22618 stringify!(w)
22619 )
22620 );
22621}
22622#[repr(C)]
22623#[derive(Debug, Copy, Clone)]
22624pub struct cl_double4__bindgen_ty_2 {
22625 pub s0: cl_double,
22626 pub s1: cl_double,
22627 pub s2: cl_double,
22628 pub s3: cl_double,
22629}
22630#[test]
22631fn bindgen_test_layout_cl_double4__bindgen_ty_2() {
22632 assert_eq!(
22633 ::std::mem::size_of::<cl_double4__bindgen_ty_2>(),
22634 32usize,
22635 concat!("Size of: ", stringify!(cl_double4__bindgen_ty_2))
22636 );
22637 assert_eq!(
22638 ::std::mem::align_of::<cl_double4__bindgen_ty_2>(),
22639 8usize,
22640 concat!("Alignment of ", stringify!(cl_double4__bindgen_ty_2))
22641 );
22642 assert_eq!(
22643 unsafe { &(*(::std::ptr::null::<cl_double4__bindgen_ty_2>())).s0 as *const _ as usize },
22644 0usize,
22645 concat!(
22646 "Offset of field: ",
22647 stringify!(cl_double4__bindgen_ty_2),
22648 "::",
22649 stringify!(s0)
22650 )
22651 );
22652 assert_eq!(
22653 unsafe { &(*(::std::ptr::null::<cl_double4__bindgen_ty_2>())).s1 as *const _ as usize },
22654 8usize,
22655 concat!(
22656 "Offset of field: ",
22657 stringify!(cl_double4__bindgen_ty_2),
22658 "::",
22659 stringify!(s1)
22660 )
22661 );
22662 assert_eq!(
22663 unsafe { &(*(::std::ptr::null::<cl_double4__bindgen_ty_2>())).s2 as *const _ as usize },
22664 16usize,
22665 concat!(
22666 "Offset of field: ",
22667 stringify!(cl_double4__bindgen_ty_2),
22668 "::",
22669 stringify!(s2)
22670 )
22671 );
22672 assert_eq!(
22673 unsafe { &(*(::std::ptr::null::<cl_double4__bindgen_ty_2>())).s3 as *const _ as usize },
22674 24usize,
22675 concat!(
22676 "Offset of field: ",
22677 stringify!(cl_double4__bindgen_ty_2),
22678 "::",
22679 stringify!(s3)
22680 )
22681 );
22682}
22683#[repr(C)]
22684#[repr(align(16))]
22685#[derive(Copy, Clone)]
22686pub struct cl_double4__bindgen_ty_3 {
22687 pub lo: cl_double2,
22688 pub hi: cl_double2,
22689}
22690#[test]
22691fn bindgen_test_layout_cl_double4__bindgen_ty_3() {
22692 assert_eq!(
22693 ::std::mem::size_of::<cl_double4__bindgen_ty_3>(),
22694 32usize,
22695 concat!("Size of: ", stringify!(cl_double4__bindgen_ty_3))
22696 );
22697 assert_eq!(
22698 ::std::mem::align_of::<cl_double4__bindgen_ty_3>(),
22699 16usize,
22700 concat!("Alignment of ", stringify!(cl_double4__bindgen_ty_3))
22701 );
22702 assert_eq!(
22703 unsafe { &(*(::std::ptr::null::<cl_double4__bindgen_ty_3>())).lo as *const _ as usize },
22704 0usize,
22705 concat!(
22706 "Offset of field: ",
22707 stringify!(cl_double4__bindgen_ty_3),
22708 "::",
22709 stringify!(lo)
22710 )
22711 );
22712 assert_eq!(
22713 unsafe { &(*(::std::ptr::null::<cl_double4__bindgen_ty_3>())).hi as *const _ as usize },
22714 16usize,
22715 concat!(
22716 "Offset of field: ",
22717 stringify!(cl_double4__bindgen_ty_3),
22718 "::",
22719 stringify!(hi)
22720 )
22721 );
22722}
22723#[test]
22724fn bindgen_test_layout_cl_double4() {
22725 assert_eq!(
22726 ::std::mem::size_of::<cl_double4>(),
22727 32usize,
22728 concat!("Size of: ", stringify!(cl_double4))
22729 );
22730 assert_eq!(
22731 ::std::mem::align_of::<cl_double4>(),
22732 32usize,
22733 concat!("Alignment of ", stringify!(cl_double4))
22734 );
22735 assert_eq!(
22736 unsafe { &(*(::std::ptr::null::<cl_double4>())).s as *const _ as usize },
22737 0usize,
22738 concat!(
22739 "Offset of field: ",
22740 stringify!(cl_double4),
22741 "::",
22742 stringify!(s)
22743 )
22744 );
22745 assert_eq!(
22746 unsafe { &(*(::std::ptr::null::<cl_double4>())).v2 as *const _ as usize },
22747 0usize,
22748 concat!(
22749 "Offset of field: ",
22750 stringify!(cl_double4),
22751 "::",
22752 stringify!(v2)
22753 )
22754 );
22755}
22756pub type cl_double3 = cl_double4;
22757#[repr(C)]
22758#[repr(align(64))]
22759#[derive(Copy, Clone)]
22760pub union cl_double8 {
22761 pub s: [cl_double; 8usize],
22762 pub __bindgen_anon_1: cl_double8__bindgen_ty_1,
22763 pub __bindgen_anon_2: cl_double8__bindgen_ty_2,
22764 pub __bindgen_anon_3: cl_double8__bindgen_ty_3,
22765 pub v2: [__cl_double2; 4usize],
22766 _bindgen_union_align: [u8; 64usize],
22767}
22768#[repr(C)]
22769#[derive(Debug, Copy, Clone)]
22770pub struct cl_double8__bindgen_ty_1 {
22771 pub x: cl_double,
22772 pub y: cl_double,
22773 pub z: cl_double,
22774 pub w: cl_double,
22775}
22776#[test]
22777fn bindgen_test_layout_cl_double8__bindgen_ty_1() {
22778 assert_eq!(
22779 ::std::mem::size_of::<cl_double8__bindgen_ty_1>(),
22780 32usize,
22781 concat!("Size of: ", stringify!(cl_double8__bindgen_ty_1))
22782 );
22783 assert_eq!(
22784 ::std::mem::align_of::<cl_double8__bindgen_ty_1>(),
22785 8usize,
22786 concat!("Alignment of ", stringify!(cl_double8__bindgen_ty_1))
22787 );
22788 assert_eq!(
22789 unsafe { &(*(::std::ptr::null::<cl_double8__bindgen_ty_1>())).x as *const _ as usize },
22790 0usize,
22791 concat!(
22792 "Offset of field: ",
22793 stringify!(cl_double8__bindgen_ty_1),
22794 "::",
22795 stringify!(x)
22796 )
22797 );
22798 assert_eq!(
22799 unsafe { &(*(::std::ptr::null::<cl_double8__bindgen_ty_1>())).y as *const _ as usize },
22800 8usize,
22801 concat!(
22802 "Offset of field: ",
22803 stringify!(cl_double8__bindgen_ty_1),
22804 "::",
22805 stringify!(y)
22806 )
22807 );
22808 assert_eq!(
22809 unsafe { &(*(::std::ptr::null::<cl_double8__bindgen_ty_1>())).z as *const _ as usize },
22810 16usize,
22811 concat!(
22812 "Offset of field: ",
22813 stringify!(cl_double8__bindgen_ty_1),
22814 "::",
22815 stringify!(z)
22816 )
22817 );
22818 assert_eq!(
22819 unsafe { &(*(::std::ptr::null::<cl_double8__bindgen_ty_1>())).w as *const _ as usize },
22820 24usize,
22821 concat!(
22822 "Offset of field: ",
22823 stringify!(cl_double8__bindgen_ty_1),
22824 "::",
22825 stringify!(w)
22826 )
22827 );
22828}
22829#[repr(C)]
22830#[derive(Debug, Copy, Clone)]
22831pub struct cl_double8__bindgen_ty_2 {
22832 pub s0: cl_double,
22833 pub s1: cl_double,
22834 pub s2: cl_double,
22835 pub s3: cl_double,
22836 pub s4: cl_double,
22837 pub s5: cl_double,
22838 pub s6: cl_double,
22839 pub s7: cl_double,
22840}
22841#[test]
22842fn bindgen_test_layout_cl_double8__bindgen_ty_2() {
22843 assert_eq!(
22844 ::std::mem::size_of::<cl_double8__bindgen_ty_2>(),
22845 64usize,
22846 concat!("Size of: ", stringify!(cl_double8__bindgen_ty_2))
22847 );
22848 assert_eq!(
22849 ::std::mem::align_of::<cl_double8__bindgen_ty_2>(),
22850 8usize,
22851 concat!("Alignment of ", stringify!(cl_double8__bindgen_ty_2))
22852 );
22853 assert_eq!(
22854 unsafe { &(*(::std::ptr::null::<cl_double8__bindgen_ty_2>())).s0 as *const _ as usize },
22855 0usize,
22856 concat!(
22857 "Offset of field: ",
22858 stringify!(cl_double8__bindgen_ty_2),
22859 "::",
22860 stringify!(s0)
22861 )
22862 );
22863 assert_eq!(
22864 unsafe { &(*(::std::ptr::null::<cl_double8__bindgen_ty_2>())).s1 as *const _ as usize },
22865 8usize,
22866 concat!(
22867 "Offset of field: ",
22868 stringify!(cl_double8__bindgen_ty_2),
22869 "::",
22870 stringify!(s1)
22871 )
22872 );
22873 assert_eq!(
22874 unsafe { &(*(::std::ptr::null::<cl_double8__bindgen_ty_2>())).s2 as *const _ as usize },
22875 16usize,
22876 concat!(
22877 "Offset of field: ",
22878 stringify!(cl_double8__bindgen_ty_2),
22879 "::",
22880 stringify!(s2)
22881 )
22882 );
22883 assert_eq!(
22884 unsafe { &(*(::std::ptr::null::<cl_double8__bindgen_ty_2>())).s3 as *const _ as usize },
22885 24usize,
22886 concat!(
22887 "Offset of field: ",
22888 stringify!(cl_double8__bindgen_ty_2),
22889 "::",
22890 stringify!(s3)
22891 )
22892 );
22893 assert_eq!(
22894 unsafe { &(*(::std::ptr::null::<cl_double8__bindgen_ty_2>())).s4 as *const _ as usize },
22895 32usize,
22896 concat!(
22897 "Offset of field: ",
22898 stringify!(cl_double8__bindgen_ty_2),
22899 "::",
22900 stringify!(s4)
22901 )
22902 );
22903 assert_eq!(
22904 unsafe { &(*(::std::ptr::null::<cl_double8__bindgen_ty_2>())).s5 as *const _ as usize },
22905 40usize,
22906 concat!(
22907 "Offset of field: ",
22908 stringify!(cl_double8__bindgen_ty_2),
22909 "::",
22910 stringify!(s5)
22911 )
22912 );
22913 assert_eq!(
22914 unsafe { &(*(::std::ptr::null::<cl_double8__bindgen_ty_2>())).s6 as *const _ as usize },
22915 48usize,
22916 concat!(
22917 "Offset of field: ",
22918 stringify!(cl_double8__bindgen_ty_2),
22919 "::",
22920 stringify!(s6)
22921 )
22922 );
22923 assert_eq!(
22924 unsafe { &(*(::std::ptr::null::<cl_double8__bindgen_ty_2>())).s7 as *const _ as usize },
22925 56usize,
22926 concat!(
22927 "Offset of field: ",
22928 stringify!(cl_double8__bindgen_ty_2),
22929 "::",
22930 stringify!(s7)
22931 )
22932 );
22933}
22934#[repr(C)]
22935#[repr(align(32))]
22936#[derive(Copy, Clone)]
22937pub struct cl_double8__bindgen_ty_3 {
22938 pub lo: cl_double4,
22939 pub hi: cl_double4,
22940}
22941#[test]
22942fn bindgen_test_layout_cl_double8__bindgen_ty_3() {
22943 assert_eq!(
22944 ::std::mem::size_of::<cl_double8__bindgen_ty_3>(),
22945 64usize,
22946 concat!("Size of: ", stringify!(cl_double8__bindgen_ty_3))
22947 );
22948 assert_eq!(
22949 ::std::mem::align_of::<cl_double8__bindgen_ty_3>(),
22950 32usize,
22951 concat!("Alignment of ", stringify!(cl_double8__bindgen_ty_3))
22952 );
22953 assert_eq!(
22954 unsafe { &(*(::std::ptr::null::<cl_double8__bindgen_ty_3>())).lo as *const _ as usize },
22955 0usize,
22956 concat!(
22957 "Offset of field: ",
22958 stringify!(cl_double8__bindgen_ty_3),
22959 "::",
22960 stringify!(lo)
22961 )
22962 );
22963 assert_eq!(
22964 unsafe { &(*(::std::ptr::null::<cl_double8__bindgen_ty_3>())).hi as *const _ as usize },
22965 32usize,
22966 concat!(
22967 "Offset of field: ",
22968 stringify!(cl_double8__bindgen_ty_3),
22969 "::",
22970 stringify!(hi)
22971 )
22972 );
22973}
22974#[test]
22975fn bindgen_test_layout_cl_double8() {
22976 assert_eq!(
22977 ::std::mem::size_of::<cl_double8>(),
22978 64usize,
22979 concat!("Size of: ", stringify!(cl_double8))
22980 );
22981 assert_eq!(
22982 ::std::mem::align_of::<cl_double8>(),
22983 64usize,
22984 concat!("Alignment of ", stringify!(cl_double8))
22985 );
22986 assert_eq!(
22987 unsafe { &(*(::std::ptr::null::<cl_double8>())).s as *const _ as usize },
22988 0usize,
22989 concat!(
22990 "Offset of field: ",
22991 stringify!(cl_double8),
22992 "::",
22993 stringify!(s)
22994 )
22995 );
22996 assert_eq!(
22997 unsafe { &(*(::std::ptr::null::<cl_double8>())).v2 as *const _ as usize },
22998 0usize,
22999 concat!(
23000 "Offset of field: ",
23001 stringify!(cl_double8),
23002 "::",
23003 stringify!(v2)
23004 )
23005 );
23006}
23007#[repr(C)]
23008#[repr(align(128))]
23009#[derive(Copy, Clone)]
23010pub union cl_double16 {
23011 pub s: [cl_double; 16usize],
23012 pub __bindgen_anon_1: cl_double16__bindgen_ty_1,
23013 pub __bindgen_anon_2: cl_double16__bindgen_ty_2,
23014 pub __bindgen_anon_3: cl_double16__bindgen_ty_3,
23015 pub v2: [__cl_double2; 8usize],
23016 _bindgen_union_align: [u8; 128usize],
23017}
23018#[repr(C)]
23019#[derive(Debug, Copy, Clone)]
23020pub struct cl_double16__bindgen_ty_1 {
23021 pub x: cl_double,
23022 pub y: cl_double,
23023 pub z: cl_double,
23024 pub w: cl_double,
23025 pub __spacer4: cl_double,
23026 pub __spacer5: cl_double,
23027 pub __spacer6: cl_double,
23028 pub __spacer7: cl_double,
23029 pub __spacer8: cl_double,
23030 pub __spacer9: cl_double,
23031 pub sa: cl_double,
23032 pub sb: cl_double,
23033 pub sc: cl_double,
23034 pub sd: cl_double,
23035 pub se: cl_double,
23036 pub sf: cl_double,
23037}
23038#[test]
23039fn bindgen_test_layout_cl_double16__bindgen_ty_1() {
23040 assert_eq!(
23041 ::std::mem::size_of::<cl_double16__bindgen_ty_1>(),
23042 128usize,
23043 concat!("Size of: ", stringify!(cl_double16__bindgen_ty_1))
23044 );
23045 assert_eq!(
23046 ::std::mem::align_of::<cl_double16__bindgen_ty_1>(),
23047 8usize,
23048 concat!("Alignment of ", stringify!(cl_double16__bindgen_ty_1))
23049 );
23050 assert_eq!(
23051 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_1>())).x as *const _ as usize },
23052 0usize,
23053 concat!(
23054 "Offset of field: ",
23055 stringify!(cl_double16__bindgen_ty_1),
23056 "::",
23057 stringify!(x)
23058 )
23059 );
23060 assert_eq!(
23061 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_1>())).y as *const _ as usize },
23062 8usize,
23063 concat!(
23064 "Offset of field: ",
23065 stringify!(cl_double16__bindgen_ty_1),
23066 "::",
23067 stringify!(y)
23068 )
23069 );
23070 assert_eq!(
23071 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_1>())).z as *const _ as usize },
23072 16usize,
23073 concat!(
23074 "Offset of field: ",
23075 stringify!(cl_double16__bindgen_ty_1),
23076 "::",
23077 stringify!(z)
23078 )
23079 );
23080 assert_eq!(
23081 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_1>())).w as *const _ as usize },
23082 24usize,
23083 concat!(
23084 "Offset of field: ",
23085 stringify!(cl_double16__bindgen_ty_1),
23086 "::",
23087 stringify!(w)
23088 )
23089 );
23090 assert_eq!(
23091 unsafe {
23092 &(*(::std::ptr::null::<cl_double16__bindgen_ty_1>())).__spacer4 as *const _ as usize
23093 },
23094 32usize,
23095 concat!(
23096 "Offset of field: ",
23097 stringify!(cl_double16__bindgen_ty_1),
23098 "::",
23099 stringify!(__spacer4)
23100 )
23101 );
23102 assert_eq!(
23103 unsafe {
23104 &(*(::std::ptr::null::<cl_double16__bindgen_ty_1>())).__spacer5 as *const _ as usize
23105 },
23106 40usize,
23107 concat!(
23108 "Offset of field: ",
23109 stringify!(cl_double16__bindgen_ty_1),
23110 "::",
23111 stringify!(__spacer5)
23112 )
23113 );
23114 assert_eq!(
23115 unsafe {
23116 &(*(::std::ptr::null::<cl_double16__bindgen_ty_1>())).__spacer6 as *const _ as usize
23117 },
23118 48usize,
23119 concat!(
23120 "Offset of field: ",
23121 stringify!(cl_double16__bindgen_ty_1),
23122 "::",
23123 stringify!(__spacer6)
23124 )
23125 );
23126 assert_eq!(
23127 unsafe {
23128 &(*(::std::ptr::null::<cl_double16__bindgen_ty_1>())).__spacer7 as *const _ as usize
23129 },
23130 56usize,
23131 concat!(
23132 "Offset of field: ",
23133 stringify!(cl_double16__bindgen_ty_1),
23134 "::",
23135 stringify!(__spacer7)
23136 )
23137 );
23138 assert_eq!(
23139 unsafe {
23140 &(*(::std::ptr::null::<cl_double16__bindgen_ty_1>())).__spacer8 as *const _ as usize
23141 },
23142 64usize,
23143 concat!(
23144 "Offset of field: ",
23145 stringify!(cl_double16__bindgen_ty_1),
23146 "::",
23147 stringify!(__spacer8)
23148 )
23149 );
23150 assert_eq!(
23151 unsafe {
23152 &(*(::std::ptr::null::<cl_double16__bindgen_ty_1>())).__spacer9 as *const _ as usize
23153 },
23154 72usize,
23155 concat!(
23156 "Offset of field: ",
23157 stringify!(cl_double16__bindgen_ty_1),
23158 "::",
23159 stringify!(__spacer9)
23160 )
23161 );
23162 assert_eq!(
23163 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_1>())).sa as *const _ as usize },
23164 80usize,
23165 concat!(
23166 "Offset of field: ",
23167 stringify!(cl_double16__bindgen_ty_1),
23168 "::",
23169 stringify!(sa)
23170 )
23171 );
23172 assert_eq!(
23173 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_1>())).sb as *const _ as usize },
23174 88usize,
23175 concat!(
23176 "Offset of field: ",
23177 stringify!(cl_double16__bindgen_ty_1),
23178 "::",
23179 stringify!(sb)
23180 )
23181 );
23182 assert_eq!(
23183 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_1>())).sc as *const _ as usize },
23184 96usize,
23185 concat!(
23186 "Offset of field: ",
23187 stringify!(cl_double16__bindgen_ty_1),
23188 "::",
23189 stringify!(sc)
23190 )
23191 );
23192 assert_eq!(
23193 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_1>())).sd as *const _ as usize },
23194 104usize,
23195 concat!(
23196 "Offset of field: ",
23197 stringify!(cl_double16__bindgen_ty_1),
23198 "::",
23199 stringify!(sd)
23200 )
23201 );
23202 assert_eq!(
23203 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_1>())).se as *const _ as usize },
23204 112usize,
23205 concat!(
23206 "Offset of field: ",
23207 stringify!(cl_double16__bindgen_ty_1),
23208 "::",
23209 stringify!(se)
23210 )
23211 );
23212 assert_eq!(
23213 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_1>())).sf as *const _ as usize },
23214 120usize,
23215 concat!(
23216 "Offset of field: ",
23217 stringify!(cl_double16__bindgen_ty_1),
23218 "::",
23219 stringify!(sf)
23220 )
23221 );
23222}
23223#[repr(C)]
23224#[derive(Debug, Copy, Clone)]
23225pub struct cl_double16__bindgen_ty_2 {
23226 pub s0: cl_double,
23227 pub s1: cl_double,
23228 pub s2: cl_double,
23229 pub s3: cl_double,
23230 pub s4: cl_double,
23231 pub s5: cl_double,
23232 pub s6: cl_double,
23233 pub s7: cl_double,
23234 pub s8: cl_double,
23235 pub s9: cl_double,
23236 pub sA: cl_double,
23237 pub sB: cl_double,
23238 pub sC: cl_double,
23239 pub sD: cl_double,
23240 pub sE: cl_double,
23241 pub sF: cl_double,
23242}
23243#[test]
23244fn bindgen_test_layout_cl_double16__bindgen_ty_2() {
23245 assert_eq!(
23246 ::std::mem::size_of::<cl_double16__bindgen_ty_2>(),
23247 128usize,
23248 concat!("Size of: ", stringify!(cl_double16__bindgen_ty_2))
23249 );
23250 assert_eq!(
23251 ::std::mem::align_of::<cl_double16__bindgen_ty_2>(),
23252 8usize,
23253 concat!("Alignment of ", stringify!(cl_double16__bindgen_ty_2))
23254 );
23255 assert_eq!(
23256 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_2>())).s0 as *const _ as usize },
23257 0usize,
23258 concat!(
23259 "Offset of field: ",
23260 stringify!(cl_double16__bindgen_ty_2),
23261 "::",
23262 stringify!(s0)
23263 )
23264 );
23265 assert_eq!(
23266 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_2>())).s1 as *const _ as usize },
23267 8usize,
23268 concat!(
23269 "Offset of field: ",
23270 stringify!(cl_double16__bindgen_ty_2),
23271 "::",
23272 stringify!(s1)
23273 )
23274 );
23275 assert_eq!(
23276 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_2>())).s2 as *const _ as usize },
23277 16usize,
23278 concat!(
23279 "Offset of field: ",
23280 stringify!(cl_double16__bindgen_ty_2),
23281 "::",
23282 stringify!(s2)
23283 )
23284 );
23285 assert_eq!(
23286 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_2>())).s3 as *const _ as usize },
23287 24usize,
23288 concat!(
23289 "Offset of field: ",
23290 stringify!(cl_double16__bindgen_ty_2),
23291 "::",
23292 stringify!(s3)
23293 )
23294 );
23295 assert_eq!(
23296 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_2>())).s4 as *const _ as usize },
23297 32usize,
23298 concat!(
23299 "Offset of field: ",
23300 stringify!(cl_double16__bindgen_ty_2),
23301 "::",
23302 stringify!(s4)
23303 )
23304 );
23305 assert_eq!(
23306 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_2>())).s5 as *const _ as usize },
23307 40usize,
23308 concat!(
23309 "Offset of field: ",
23310 stringify!(cl_double16__bindgen_ty_2),
23311 "::",
23312 stringify!(s5)
23313 )
23314 );
23315 assert_eq!(
23316 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_2>())).s6 as *const _ as usize },
23317 48usize,
23318 concat!(
23319 "Offset of field: ",
23320 stringify!(cl_double16__bindgen_ty_2),
23321 "::",
23322 stringify!(s6)
23323 )
23324 );
23325 assert_eq!(
23326 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_2>())).s7 as *const _ as usize },
23327 56usize,
23328 concat!(
23329 "Offset of field: ",
23330 stringify!(cl_double16__bindgen_ty_2),
23331 "::",
23332 stringify!(s7)
23333 )
23334 );
23335 assert_eq!(
23336 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_2>())).s8 as *const _ as usize },
23337 64usize,
23338 concat!(
23339 "Offset of field: ",
23340 stringify!(cl_double16__bindgen_ty_2),
23341 "::",
23342 stringify!(s8)
23343 )
23344 );
23345 assert_eq!(
23346 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_2>())).s9 as *const _ as usize },
23347 72usize,
23348 concat!(
23349 "Offset of field: ",
23350 stringify!(cl_double16__bindgen_ty_2),
23351 "::",
23352 stringify!(s9)
23353 )
23354 );
23355 assert_eq!(
23356 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_2>())).sA as *const _ as usize },
23357 80usize,
23358 concat!(
23359 "Offset of field: ",
23360 stringify!(cl_double16__bindgen_ty_2),
23361 "::",
23362 stringify!(sA)
23363 )
23364 );
23365 assert_eq!(
23366 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_2>())).sB as *const _ as usize },
23367 88usize,
23368 concat!(
23369 "Offset of field: ",
23370 stringify!(cl_double16__bindgen_ty_2),
23371 "::",
23372 stringify!(sB)
23373 )
23374 );
23375 assert_eq!(
23376 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_2>())).sC as *const _ as usize },
23377 96usize,
23378 concat!(
23379 "Offset of field: ",
23380 stringify!(cl_double16__bindgen_ty_2),
23381 "::",
23382 stringify!(sC)
23383 )
23384 );
23385 assert_eq!(
23386 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_2>())).sD as *const _ as usize },
23387 104usize,
23388 concat!(
23389 "Offset of field: ",
23390 stringify!(cl_double16__bindgen_ty_2),
23391 "::",
23392 stringify!(sD)
23393 )
23394 );
23395 assert_eq!(
23396 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_2>())).sE as *const _ as usize },
23397 112usize,
23398 concat!(
23399 "Offset of field: ",
23400 stringify!(cl_double16__bindgen_ty_2),
23401 "::",
23402 stringify!(sE)
23403 )
23404 );
23405 assert_eq!(
23406 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_2>())).sF as *const _ as usize },
23407 120usize,
23408 concat!(
23409 "Offset of field: ",
23410 stringify!(cl_double16__bindgen_ty_2),
23411 "::",
23412 stringify!(sF)
23413 )
23414 );
23415}
23416#[repr(C)]
23417#[repr(align(64))]
23418#[derive(Copy, Clone)]
23419pub struct cl_double16__bindgen_ty_3 {
23420 pub lo: cl_double8,
23421 pub hi: cl_double8,
23422}
23423#[test]
23424fn bindgen_test_layout_cl_double16__bindgen_ty_3() {
23425 assert_eq!(
23426 ::std::mem::size_of::<cl_double16__bindgen_ty_3>(),
23427 128usize,
23428 concat!("Size of: ", stringify!(cl_double16__bindgen_ty_3))
23429 );
23430 assert_eq!(
23431 ::std::mem::align_of::<cl_double16__bindgen_ty_3>(),
23432 64usize,
23433 concat!("Alignment of ", stringify!(cl_double16__bindgen_ty_3))
23434 );
23435 assert_eq!(
23436 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_3>())).lo as *const _ as usize },
23437 0usize,
23438 concat!(
23439 "Offset of field: ",
23440 stringify!(cl_double16__bindgen_ty_3),
23441 "::",
23442 stringify!(lo)
23443 )
23444 );
23445 assert_eq!(
23446 unsafe { &(*(::std::ptr::null::<cl_double16__bindgen_ty_3>())).hi as *const _ as usize },
23447 64usize,
23448 concat!(
23449 "Offset of field: ",
23450 stringify!(cl_double16__bindgen_ty_3),
23451 "::",
23452 stringify!(hi)
23453 )
23454 );
23455}
23456#[test]
23457fn bindgen_test_layout_cl_double16() {
23458 assert_eq!(
23459 ::std::mem::size_of::<cl_double16>(),
23460 128usize,
23461 concat!("Size of: ", stringify!(cl_double16))
23462 );
23463 assert_eq!(
23464 ::std::mem::align_of::<cl_double16>(),
23465 128usize,
23466 concat!("Alignment of ", stringify!(cl_double16))
23467 );
23468 assert_eq!(
23469 unsafe { &(*(::std::ptr::null::<cl_double16>())).s as *const _ as usize },
23470 0usize,
23471 concat!(
23472 "Offset of field: ",
23473 stringify!(cl_double16),
23474 "::",
23475 stringify!(s)
23476 )
23477 );
23478 assert_eq!(
23479 unsafe { &(*(::std::ptr::null::<cl_double16>())).v2 as *const _ as usize },
23480 0usize,
23481 concat!(
23482 "Offset of field: ",
23483 stringify!(cl_double16),
23484 "::",
23485 stringify!(v2)
23486 )
23487 );
23488}
23489#[repr(C)]
23490#[derive(Debug, Copy, Clone)]
23491pub struct _cl_platform_id {
23492 _unused: [u8; 0],
23493}
23494pub type cl_platform_id = *mut _cl_platform_id;
23495#[repr(C)]
23496#[derive(Debug, Copy, Clone)]
23497pub struct _cl_device_id {
23498 _unused: [u8; 0],
23499}
23500pub type cl_device_id = *mut _cl_device_id;
23501#[repr(C)]
23502#[derive(Debug, Copy, Clone)]
23503pub struct _cl_context {
23504 _unused: [u8; 0],
23505}
23506pub type cl_context = *mut _cl_context;
23507#[repr(C)]
23508#[derive(Debug, Copy, Clone)]
23509pub struct _cl_command_queue {
23510 _unused: [u8; 0],
23511}
23512pub type cl_command_queue = *mut _cl_command_queue;
23513#[repr(C)]
23514#[derive(Debug, Copy, Clone)]
23515pub struct _cl_mem {
23516 _unused: [u8; 0],
23517}
23518pub type cl_mem = *mut _cl_mem;
23519#[repr(C)]
23520#[derive(Debug, Copy, Clone)]
23521pub struct _cl_program {
23522 _unused: [u8; 0],
23523}
23524pub type cl_program = *mut _cl_program;
23525#[repr(C)]
23526#[derive(Debug, Copy, Clone)]
23527pub struct _cl_kernel {
23528 _unused: [u8; 0],
23529}
23530pub type cl_kernel = *mut _cl_kernel;
23531#[repr(C)]
23532#[derive(Debug, Copy, Clone)]
23533pub struct _cl_event {
23534 _unused: [u8; 0],
23535}
23536pub type cl_event = *mut _cl_event;
23537#[repr(C)]
23538#[derive(Debug, Copy, Clone)]
23539pub struct _cl_sampler {
23540 _unused: [u8; 0],
23541}
23542pub type cl_sampler = *mut _cl_sampler;
23543pub type cl_bool = cl_uint;
23544pub type cl_bitfield = cl_ulong;
23545pub type cl_device_type = cl_bitfield;
23546pub type cl_platform_info = cl_uint;
23547pub type cl_device_info = cl_uint;
23548pub type cl_device_fp_config = cl_bitfield;
23549pub type cl_device_mem_cache_type = cl_uint;
23550pub type cl_device_local_mem_type = cl_uint;
23551pub type cl_device_exec_capabilities = cl_bitfield;
23552pub type cl_command_queue_properties = cl_bitfield;
23553pub type cl_device_partition_property = isize;
23554pub type cl_device_affinity_domain = cl_bitfield;
23555pub type cl_context_properties = isize;
23556pub type cl_context_info = cl_uint;
23557pub type cl_command_queue_info = cl_uint;
23558pub type cl_channel_order = cl_uint;
23559pub type cl_channel_type = cl_uint;
23560pub type cl_mem_flags = cl_bitfield;
23561pub type cl_mem_object_type = cl_uint;
23562pub type cl_mem_info = cl_uint;
23563pub type cl_mem_migration_flags = cl_bitfield;
23564pub type cl_image_info = cl_uint;
23565pub type cl_buffer_create_type = cl_uint;
23566pub type cl_addressing_mode = cl_uint;
23567pub type cl_filter_mode = cl_uint;
23568pub type cl_sampler_info = cl_uint;
23569pub type cl_map_flags = cl_bitfield;
23570pub type cl_program_info = cl_uint;
23571pub type cl_program_build_info = cl_uint;
23572pub type cl_program_binary_type = cl_uint;
23573pub type cl_build_status = cl_int;
23574pub type cl_kernel_info = cl_uint;
23575pub type cl_kernel_arg_info = cl_uint;
23576pub type cl_kernel_arg_address_qualifier = cl_uint;
23577pub type cl_kernel_arg_access_qualifier = cl_uint;
23578pub type cl_kernel_arg_type_qualifier = cl_bitfield;
23579pub type cl_kernel_work_group_info = cl_uint;
23580pub type cl_event_info = cl_uint;
23581pub type cl_command_type = cl_uint;
23582pub type cl_profiling_info = cl_uint;
23583#[repr(C)]
23584#[derive(Debug, Copy, Clone)]
23585pub struct _cl_image_format {
23586 pub image_channel_order: cl_channel_order,
23587 pub image_channel_data_type: cl_channel_type,
23588}
23589#[test]
23590fn bindgen_test_layout__cl_image_format() {
23591 assert_eq!(
23592 ::std::mem::size_of::<_cl_image_format>(),
23593 8usize,
23594 concat!("Size of: ", stringify!(_cl_image_format))
23595 );
23596 assert_eq!(
23597 ::std::mem::align_of::<_cl_image_format>(),
23598 4usize,
23599 concat!("Alignment of ", stringify!(_cl_image_format))
23600 );
23601 assert_eq!(
23602 unsafe {
23603 &(*(::std::ptr::null::<_cl_image_format>())).image_channel_order as *const _ as usize
23604 },
23605 0usize,
23606 concat!(
23607 "Offset of field: ",
23608 stringify!(_cl_image_format),
23609 "::",
23610 stringify!(image_channel_order)
23611 )
23612 );
23613 assert_eq!(
23614 unsafe {
23615 &(*(::std::ptr::null::<_cl_image_format>())).image_channel_data_type as *const _
23616 as usize
23617 },
23618 4usize,
23619 concat!(
23620 "Offset of field: ",
23621 stringify!(_cl_image_format),
23622 "::",
23623 stringify!(image_channel_data_type)
23624 )
23625 );
23626}
23627pub type cl_image_format = _cl_image_format;
23628#[repr(C)]
23629#[derive(Debug, Copy, Clone)]
23630pub struct _cl_image_desc {
23631 pub image_type: cl_mem_object_type,
23632 pub image_width: usize,
23633 pub image_height: usize,
23634 pub image_depth: usize,
23635 pub image_array_size: usize,
23636 pub image_row_pitch: usize,
23637 pub image_slice_pitch: usize,
23638 pub num_mip_levels: cl_uint,
23639 pub num_samples: cl_uint,
23640 pub buffer: cl_mem,
23641}
23642#[test]
23643fn bindgen_test_layout__cl_image_desc() {
23644 assert_eq!(
23645 ::std::mem::size_of::<_cl_image_desc>(),
23646 72usize,
23647 concat!("Size of: ", stringify!(_cl_image_desc))
23648 );
23649 assert_eq!(
23650 ::std::mem::align_of::<_cl_image_desc>(),
23651 8usize,
23652 concat!("Alignment of ", stringify!(_cl_image_desc))
23653 );
23654 assert_eq!(
23655 unsafe { &(*(::std::ptr::null::<_cl_image_desc>())).image_type as *const _ as usize },
23656 0usize,
23657 concat!(
23658 "Offset of field: ",
23659 stringify!(_cl_image_desc),
23660 "::",
23661 stringify!(image_type)
23662 )
23663 );
23664 assert_eq!(
23665 unsafe { &(*(::std::ptr::null::<_cl_image_desc>())).image_width as *const _ as usize },
23666 8usize,
23667 concat!(
23668 "Offset of field: ",
23669 stringify!(_cl_image_desc),
23670 "::",
23671 stringify!(image_width)
23672 )
23673 );
23674 assert_eq!(
23675 unsafe { &(*(::std::ptr::null::<_cl_image_desc>())).image_height as *const _ as usize },
23676 16usize,
23677 concat!(
23678 "Offset of field: ",
23679 stringify!(_cl_image_desc),
23680 "::",
23681 stringify!(image_height)
23682 )
23683 );
23684 assert_eq!(
23685 unsafe { &(*(::std::ptr::null::<_cl_image_desc>())).image_depth as *const _ as usize },
23686 24usize,
23687 concat!(
23688 "Offset of field: ",
23689 stringify!(_cl_image_desc),
23690 "::",
23691 stringify!(image_depth)
23692 )
23693 );
23694 assert_eq!(
23695 unsafe { &(*(::std::ptr::null::<_cl_image_desc>())).image_array_size as *const _ as usize },
23696 32usize,
23697 concat!(
23698 "Offset of field: ",
23699 stringify!(_cl_image_desc),
23700 "::",
23701 stringify!(image_array_size)
23702 )
23703 );
23704 assert_eq!(
23705 unsafe { &(*(::std::ptr::null::<_cl_image_desc>())).image_row_pitch as *const _ as usize },
23706 40usize,
23707 concat!(
23708 "Offset of field: ",
23709 stringify!(_cl_image_desc),
23710 "::",
23711 stringify!(image_row_pitch)
23712 )
23713 );
23714 assert_eq!(
23715 unsafe {
23716 &(*(::std::ptr::null::<_cl_image_desc>())).image_slice_pitch as *const _ as usize
23717 },
23718 48usize,
23719 concat!(
23720 "Offset of field: ",
23721 stringify!(_cl_image_desc),
23722 "::",
23723 stringify!(image_slice_pitch)
23724 )
23725 );
23726 assert_eq!(
23727 unsafe { &(*(::std::ptr::null::<_cl_image_desc>())).num_mip_levels as *const _ as usize },
23728 56usize,
23729 concat!(
23730 "Offset of field: ",
23731 stringify!(_cl_image_desc),
23732 "::",
23733 stringify!(num_mip_levels)
23734 )
23735 );
23736 assert_eq!(
23737 unsafe { &(*(::std::ptr::null::<_cl_image_desc>())).num_samples as *const _ as usize },
23738 60usize,
23739 concat!(
23740 "Offset of field: ",
23741 stringify!(_cl_image_desc),
23742 "::",
23743 stringify!(num_samples)
23744 )
23745 );
23746 assert_eq!(
23747 unsafe { &(*(::std::ptr::null::<_cl_image_desc>())).buffer as *const _ as usize },
23748 64usize,
23749 concat!(
23750 "Offset of field: ",
23751 stringify!(_cl_image_desc),
23752 "::",
23753 stringify!(buffer)
23754 )
23755 );
23756}
23757pub type cl_image_desc = _cl_image_desc;
23758#[repr(C)]
23759#[derive(Debug, Copy, Clone)]
23760pub struct _cl_buffer_region {
23761 pub origin: usize,
23762 pub size: usize,
23763}
23764#[test]
23765fn bindgen_test_layout__cl_buffer_region() {
23766 assert_eq!(
23767 ::std::mem::size_of::<_cl_buffer_region>(),
23768 16usize,
23769 concat!("Size of: ", stringify!(_cl_buffer_region))
23770 );
23771 assert_eq!(
23772 ::std::mem::align_of::<_cl_buffer_region>(),
23773 8usize,
23774 concat!("Alignment of ", stringify!(_cl_buffer_region))
23775 );
23776 assert_eq!(
23777 unsafe { &(*(::std::ptr::null::<_cl_buffer_region>())).origin as *const _ as usize },
23778 0usize,
23779 concat!(
23780 "Offset of field: ",
23781 stringify!(_cl_buffer_region),
23782 "::",
23783 stringify!(origin)
23784 )
23785 );
23786 assert_eq!(
23787 unsafe { &(*(::std::ptr::null::<_cl_buffer_region>())).size as *const _ as usize },
23788 8usize,
23789 concat!(
23790 "Offset of field: ",
23791 stringify!(_cl_buffer_region),
23792 "::",
23793 stringify!(size)
23794 )
23795 );
23796}
23797pub type cl_buffer_region = _cl_buffer_region;
23798extern "C" {
23799 pub fn clGetPlatformIDs(
23800 num_entries: cl_uint,
23801 platforms: *mut cl_platform_id,
23802 num_platforms: *mut cl_uint,
23803 ) -> cl_int;
23804}
23805extern "C" {
23806 pub fn clGetPlatformInfo(
23807 platform: cl_platform_id,
23808 param_name: cl_platform_info,
23809 param_value_size: usize,
23810 param_value: *mut ::std::os::raw::c_void,
23811 param_value_size_ret: *mut usize,
23812 ) -> cl_int;
23813}
23814extern "C" {
23815 pub fn clGetDeviceIDs(
23816 platform: cl_platform_id,
23817 device_type: cl_device_type,
23818 num_entries: cl_uint,
23819 devices: *mut cl_device_id,
23820 num_devices: *mut cl_uint,
23821 ) -> cl_int;
23822}
23823extern "C" {
23824 pub fn clGetDeviceInfo(
23825 device: cl_device_id,
23826 param_name: cl_device_info,
23827 param_value_size: usize,
23828 param_value: *mut ::std::os::raw::c_void,
23829 param_value_size_ret: *mut usize,
23830 ) -> cl_int;
23831}
23832extern "C" {
23833 pub fn clCreateSubDevices(
23834 in_device: cl_device_id,
23835 properties: *const cl_device_partition_property,
23836 num_devices: cl_uint,
23837 out_devices: *mut cl_device_id,
23838 num_devices_ret: *mut cl_uint,
23839 ) -> cl_int;
23840}
23841extern "C" {
23842 pub fn clRetainDevice(device: cl_device_id) -> cl_int;
23843}
23844extern "C" {
23845 pub fn clReleaseDevice(device: cl_device_id) -> cl_int;
23846}
23847extern "C" {
23848 pub fn clCreateContext(
23849 properties: *const cl_context_properties,
23850 num_devices: cl_uint,
23851 devices: *const cl_device_id,
23852 pfn_notify: ::std::option::Option<
23853 unsafe extern "C" fn(
23854 errinfo: *const ::std::os::raw::c_char,
23855 private_info: *const ::std::os::raw::c_void,
23856 cb: usize,
23857 user_data: *mut ::std::os::raw::c_void,
23858 ),
23859 >,
23860 user_data: *mut ::std::os::raw::c_void,
23861 errcode_ret: *mut cl_int,
23862 ) -> cl_context;
23863}
23864extern "C" {
23865 pub fn clCreateContextFromType(
23866 properties: *const cl_context_properties,
23867 device_type: cl_device_type,
23868 pfn_notify: ::std::option::Option<
23869 unsafe extern "C" fn(
23870 errinfo: *const ::std::os::raw::c_char,
23871 private_info: *const ::std::os::raw::c_void,
23872 cb: usize,
23873 user_data: *mut ::std::os::raw::c_void,
23874 ),
23875 >,
23876 user_data: *mut ::std::os::raw::c_void,
23877 errcode_ret: *mut cl_int,
23878 ) -> cl_context;
23879}
23880extern "C" {
23881 pub fn clRetainContext(context: cl_context) -> cl_int;
23882}
23883extern "C" {
23884 pub fn clReleaseContext(context: cl_context) -> cl_int;
23885}
23886extern "C" {
23887 pub fn clGetContextInfo(
23888 context: cl_context,
23889 param_name: cl_context_info,
23890 param_value_size: usize,
23891 param_value: *mut ::std::os::raw::c_void,
23892 param_value_size_ret: *mut usize,
23893 ) -> cl_int;
23894}
23895extern "C" {
23896 pub fn clRetainCommandQueue(command_queue: cl_command_queue) -> cl_int;
23897}
23898extern "C" {
23899 pub fn clReleaseCommandQueue(command_queue: cl_command_queue) -> cl_int;
23900}
23901extern "C" {
23902 pub fn clGetCommandQueueInfo(
23903 command_queue: cl_command_queue,
23904 param_name: cl_command_queue_info,
23905 param_value_size: usize,
23906 param_value: *mut ::std::os::raw::c_void,
23907 param_value_size_ret: *mut usize,
23908 ) -> cl_int;
23909}
23910extern "C" {
23911 pub fn clCreateBuffer(
23912 context: cl_context,
23913 flags: cl_mem_flags,
23914 size: usize,
23915 host_ptr: *mut ::std::os::raw::c_void,
23916 errcode_ret: *mut cl_int,
23917 ) -> cl_mem;
23918}
23919extern "C" {
23920 pub fn clCreateSubBuffer(
23921 buffer: cl_mem,
23922 flags: cl_mem_flags,
23923 buffer_create_type: cl_buffer_create_type,
23924 buffer_create_info: *const ::std::os::raw::c_void,
23925 errcode_ret: *mut cl_int,
23926 ) -> cl_mem;
23927}
23928extern "C" {
23929 pub fn clCreateImage(
23930 context: cl_context,
23931 flags: cl_mem_flags,
23932 image_format: *const cl_image_format,
23933 image_desc: *const cl_image_desc,
23934 host_ptr: *mut ::std::os::raw::c_void,
23935 errcode_ret: *mut cl_int,
23936 ) -> cl_mem;
23937}
23938extern "C" {
23939 pub fn clRetainMemObject(memobj: cl_mem) -> cl_int;
23940}
23941extern "C" {
23942 pub fn clReleaseMemObject(memobj: cl_mem) -> cl_int;
23943}
23944extern "C" {
23945 pub fn clGetSupportedImageFormats(
23946 context: cl_context,
23947 flags: cl_mem_flags,
23948 image_type: cl_mem_object_type,
23949 num_entries: cl_uint,
23950 image_formats: *mut cl_image_format,
23951 num_image_formats: *mut cl_uint,
23952 ) -> cl_int;
23953}
23954extern "C" {
23955 pub fn clGetMemObjectInfo(
23956 memobj: cl_mem,
23957 param_name: cl_mem_info,
23958 param_value_size: usize,
23959 param_value: *mut ::std::os::raw::c_void,
23960 param_value_size_ret: *mut usize,
23961 ) -> cl_int;
23962}
23963extern "C" {
23964 pub fn clGetImageInfo(
23965 image: cl_mem,
23966 param_name: cl_image_info,
23967 param_value_size: usize,
23968 param_value: *mut ::std::os::raw::c_void,
23969 param_value_size_ret: *mut usize,
23970 ) -> cl_int;
23971}
23972extern "C" {
23973 pub fn clSetMemObjectDestructorCallback(
23974 memobj: cl_mem,
23975 pfn_notify: ::std::option::Option<
23976 unsafe extern "C" fn(memobj: cl_mem, user_data: *mut ::std::os::raw::c_void),
23977 >,
23978 user_data: *mut ::std::os::raw::c_void,
23979 ) -> cl_int;
23980}
23981extern "C" {
23982 pub fn clRetainSampler(sampler: cl_sampler) -> cl_int;
23983}
23984extern "C" {
23985 pub fn clReleaseSampler(sampler: cl_sampler) -> cl_int;
23986}
23987extern "C" {
23988 pub fn clGetSamplerInfo(
23989 sampler: cl_sampler,
23990 param_name: cl_sampler_info,
23991 param_value_size: usize,
23992 param_value: *mut ::std::os::raw::c_void,
23993 param_value_size_ret: *mut usize,
23994 ) -> cl_int;
23995}
23996extern "C" {
23997 pub fn clCreateProgramWithSource(
23998 context: cl_context,
23999 count: cl_uint,
24000 strings: *mut *const ::std::os::raw::c_char,
24001 lengths: *const usize,
24002 errcode_ret: *mut cl_int,
24003 ) -> cl_program;
24004}
24005extern "C" {
24006 pub fn clCreateProgramWithBinary(
24007 context: cl_context,
24008 num_devices: cl_uint,
24009 device_list: *const cl_device_id,
24010 lengths: *const usize,
24011 binaries: *mut *const ::std::os::raw::c_uchar,
24012 binary_status: *mut cl_int,
24013 errcode_ret: *mut cl_int,
24014 ) -> cl_program;
24015}
24016extern "C" {
24017 pub fn clCreateProgramWithBuiltInKernels(
24018 context: cl_context,
24019 num_devices: cl_uint,
24020 device_list: *const cl_device_id,
24021 kernel_names: *const ::std::os::raw::c_char,
24022 errcode_ret: *mut cl_int,
24023 ) -> cl_program;
24024}
24025extern "C" {
24026 pub fn clRetainProgram(program: cl_program) -> cl_int;
24027}
24028extern "C" {
24029 pub fn clReleaseProgram(program: cl_program) -> cl_int;
24030}
24031extern "C" {
24032 pub fn clBuildProgram(
24033 program: cl_program,
24034 num_devices: cl_uint,
24035 device_list: *const cl_device_id,
24036 options: *const ::std::os::raw::c_char,
24037 pfn_notify: ::std::option::Option<
24038 unsafe extern "C" fn(program: cl_program, user_data: *mut ::std::os::raw::c_void),
24039 >,
24040 user_data: *mut ::std::os::raw::c_void,
24041 ) -> cl_int;
24042}
24043extern "C" {
24044 pub fn clCompileProgram(
24045 program: cl_program,
24046 num_devices: cl_uint,
24047 device_list: *const cl_device_id,
24048 options: *const ::std::os::raw::c_char,
24049 num_input_headers: cl_uint,
24050 input_headers: *const cl_program,
24051 header_include_names: *mut *const ::std::os::raw::c_char,
24052 pfn_notify: ::std::option::Option<
24053 unsafe extern "C" fn(program: cl_program, user_data: *mut ::std::os::raw::c_void),
24054 >,
24055 user_data: *mut ::std::os::raw::c_void,
24056 ) -> cl_int;
24057}
24058extern "C" {
24059 pub fn clLinkProgram(
24060 context: cl_context,
24061 num_devices: cl_uint,
24062 device_list: *const cl_device_id,
24063 options: *const ::std::os::raw::c_char,
24064 num_input_programs: cl_uint,
24065 input_programs: *const cl_program,
24066 pfn_notify: ::std::option::Option<
24067 unsafe extern "C" fn(program: cl_program, user_data: *mut ::std::os::raw::c_void),
24068 >,
24069 user_data: *mut ::std::os::raw::c_void,
24070 errcode_ret: *mut cl_int,
24071 ) -> cl_program;
24072}
24073extern "C" {
24074 pub fn clUnloadPlatformCompiler(platform: cl_platform_id) -> cl_int;
24075}
24076extern "C" {
24077 pub fn clGetProgramInfo(
24078 program: cl_program,
24079 param_name: cl_program_info,
24080 param_value_size: usize,
24081 param_value: *mut ::std::os::raw::c_void,
24082 param_value_size_ret: *mut usize,
24083 ) -> cl_int;
24084}
24085extern "C" {
24086 pub fn clGetProgramBuildInfo(
24087 program: cl_program,
24088 device: cl_device_id,
24089 param_name: cl_program_build_info,
24090 param_value_size: usize,
24091 param_value: *mut ::std::os::raw::c_void,
24092 param_value_size_ret: *mut usize,
24093 ) -> cl_int;
24094}
24095extern "C" {
24096 pub fn clCreateKernel(
24097 program: cl_program,
24098 kernel_name: *const ::std::os::raw::c_char,
24099 errcode_ret: *mut cl_int,
24100 ) -> cl_kernel;
24101}
24102extern "C" {
24103 pub fn clCreateKernelsInProgram(
24104 program: cl_program,
24105 num_kernels: cl_uint,
24106 kernels: *mut cl_kernel,
24107 num_kernels_ret: *mut cl_uint,
24108 ) -> cl_int;
24109}
24110extern "C" {
24111 pub fn clRetainKernel(kernel: cl_kernel) -> cl_int;
24112}
24113extern "C" {
24114 pub fn clReleaseKernel(kernel: cl_kernel) -> cl_int;
24115}
24116extern "C" {
24117 pub fn clSetKernelArg(
24118 kernel: cl_kernel,
24119 arg_index: cl_uint,
24120 arg_size: usize,
24121 arg_value: *const ::std::os::raw::c_void,
24122 ) -> cl_int;
24123}
24124extern "C" {
24125 pub fn clGetKernelInfo(
24126 kernel: cl_kernel,
24127 param_name: cl_kernel_info,
24128 param_value_size: usize,
24129 param_value: *mut ::std::os::raw::c_void,
24130 param_value_size_ret: *mut usize,
24131 ) -> cl_int;
24132}
24133extern "C" {
24134 pub fn clGetKernelArgInfo(
24135 kernel: cl_kernel,
24136 arg_indx: cl_uint,
24137 param_name: cl_kernel_arg_info,
24138 param_value_size: usize,
24139 param_value: *mut ::std::os::raw::c_void,
24140 param_value_size_ret: *mut usize,
24141 ) -> cl_int;
24142}
24143extern "C" {
24144 pub fn clGetKernelWorkGroupInfo(
24145 kernel: cl_kernel,
24146 device: cl_device_id,
24147 param_name: cl_kernel_work_group_info,
24148 param_value_size: usize,
24149 param_value: *mut ::std::os::raw::c_void,
24150 param_value_size_ret: *mut usize,
24151 ) -> cl_int;
24152}
24153extern "C" {
24154 pub fn clWaitForEvents(num_events: cl_uint, event_list: *const cl_event) -> cl_int;
24155}
24156extern "C" {
24157 pub fn clGetEventInfo(
24158 event: cl_event,
24159 param_name: cl_event_info,
24160 param_value_size: usize,
24161 param_value: *mut ::std::os::raw::c_void,
24162 param_value_size_ret: *mut usize,
24163 ) -> cl_int;
24164}
24165extern "C" {
24166 pub fn clCreateUserEvent(context: cl_context, errcode_ret: *mut cl_int) -> cl_event;
24167}
24168extern "C" {
24169 pub fn clRetainEvent(event: cl_event) -> cl_int;
24170}
24171extern "C" {
24172 pub fn clReleaseEvent(event: cl_event) -> cl_int;
24173}
24174extern "C" {
24175 pub fn clSetUserEventStatus(event: cl_event, execution_status: cl_int) -> cl_int;
24176}
24177extern "C" {
24178 pub fn clSetEventCallback(
24179 event: cl_event,
24180 command_exec_callback_type: cl_int,
24181 pfn_notify: ::std::option::Option<
24182 unsafe extern "C" fn(
24183 event: cl_event,
24184 event_command_status: cl_int,
24185 user_data: *mut ::std::os::raw::c_void,
24186 ),
24187 >,
24188 user_data: *mut ::std::os::raw::c_void,
24189 ) -> cl_int;
24190}
24191extern "C" {
24192 pub fn clGetEventProfilingInfo(
24193 event: cl_event,
24194 param_name: cl_profiling_info,
24195 param_value_size: usize,
24196 param_value: *mut ::std::os::raw::c_void,
24197 param_value_size_ret: *mut usize,
24198 ) -> cl_int;
24199}
24200extern "C" {
24201 pub fn clFlush(command_queue: cl_command_queue) -> cl_int;
24202}
24203extern "C" {
24204 pub fn clFinish(command_queue: cl_command_queue) -> cl_int;
24205}
24206extern "C" {
24207 pub fn clEnqueueReadBuffer(
24208 command_queue: cl_command_queue,
24209 buffer: cl_mem,
24210 blocking_read: cl_bool,
24211 offset: usize,
24212 size: usize,
24213 ptr: *mut ::std::os::raw::c_void,
24214 num_events_in_wait_list: cl_uint,
24215 event_wait_list: *const cl_event,
24216 event: *mut cl_event,
24217 ) -> cl_int;
24218}
24219extern "C" {
24220 pub fn clEnqueueReadBufferRect(
24221 command_queue: cl_command_queue,
24222 buffer: cl_mem,
24223 blocking_read: cl_bool,
24224 buffer_offset: *const usize,
24225 host_offset: *const usize,
24226 region: *const usize,
24227 buffer_row_pitch: usize,
24228 buffer_slice_pitch: usize,
24229 host_row_pitch: usize,
24230 host_slice_pitch: usize,
24231 ptr: *mut ::std::os::raw::c_void,
24232 num_events_in_wait_list: cl_uint,
24233 event_wait_list: *const cl_event,
24234 event: *mut cl_event,
24235 ) -> cl_int;
24236}
24237extern "C" {
24238 pub fn clEnqueueWriteBuffer(
24239 command_queue: cl_command_queue,
24240 buffer: cl_mem,
24241 blocking_write: cl_bool,
24242 offset: usize,
24243 size: usize,
24244 ptr: *const ::std::os::raw::c_void,
24245 num_events_in_wait_list: cl_uint,
24246 event_wait_list: *const cl_event,
24247 event: *mut cl_event,
24248 ) -> cl_int;
24249}
24250extern "C" {
24251 pub fn clEnqueueWriteBufferRect(
24252 command_queue: cl_command_queue,
24253 buffer: cl_mem,
24254 blocking_write: cl_bool,
24255 buffer_offset: *const usize,
24256 host_offset: *const usize,
24257 region: *const usize,
24258 buffer_row_pitch: usize,
24259 buffer_slice_pitch: usize,
24260 host_row_pitch: usize,
24261 host_slice_pitch: usize,
24262 ptr: *const ::std::os::raw::c_void,
24263 num_events_in_wait_list: cl_uint,
24264 event_wait_list: *const cl_event,
24265 event: *mut cl_event,
24266 ) -> cl_int;
24267}
24268extern "C" {
24269 pub fn clEnqueueFillBuffer(
24270 command_queue: cl_command_queue,
24271 buffer: cl_mem,
24272 pattern: *const ::std::os::raw::c_void,
24273 pattern_size: usize,
24274 offset: usize,
24275 size: usize,
24276 num_events_in_wait_list: cl_uint,
24277 event_wait_list: *const cl_event,
24278 event: *mut cl_event,
24279 ) -> cl_int;
24280}
24281extern "C" {
24282 pub fn clEnqueueCopyBuffer(
24283 command_queue: cl_command_queue,
24284 src_buffer: cl_mem,
24285 dst_buffer: cl_mem,
24286 src_offset: usize,
24287 dst_offset: usize,
24288 size: usize,
24289 num_events_in_wait_list: cl_uint,
24290 event_wait_list: *const cl_event,
24291 event: *mut cl_event,
24292 ) -> cl_int;
24293}
24294extern "C" {
24295 pub fn clEnqueueCopyBufferRect(
24296 command_queue: cl_command_queue,
24297 src_buffer: cl_mem,
24298 dst_buffer: cl_mem,
24299 src_origin: *const usize,
24300 dst_origin: *const usize,
24301 region: *const usize,
24302 src_row_pitch: usize,
24303 src_slice_pitch: usize,
24304 dst_row_pitch: usize,
24305 dst_slice_pitch: usize,
24306 num_events_in_wait_list: cl_uint,
24307 event_wait_list: *const cl_event,
24308 event: *mut cl_event,
24309 ) -> cl_int;
24310}
24311extern "C" {
24312 pub fn clEnqueueReadImage(
24313 command_queue: cl_command_queue,
24314 image: cl_mem,
24315 blocking_read: cl_bool,
24316 origin: *const usize,
24317 region: *const usize,
24318 row_pitch: usize,
24319 slice_pitch: usize,
24320 ptr: *mut ::std::os::raw::c_void,
24321 num_events_in_wait_list: cl_uint,
24322 event_wait_list: *const cl_event,
24323 event: *mut cl_event,
24324 ) -> cl_int;
24325}
24326extern "C" {
24327 pub fn clEnqueueWriteImage(
24328 command_queue: cl_command_queue,
24329 image: cl_mem,
24330 blocking_write: cl_bool,
24331 origin: *const usize,
24332 region: *const usize,
24333 input_row_pitch: usize,
24334 input_slice_pitch: usize,
24335 ptr: *const ::std::os::raw::c_void,
24336 num_events_in_wait_list: cl_uint,
24337 event_wait_list: *const cl_event,
24338 event: *mut cl_event,
24339 ) -> cl_int;
24340}
24341extern "C" {
24342 pub fn clEnqueueFillImage(
24343 command_queue: cl_command_queue,
24344 image: cl_mem,
24345 fill_color: *const ::std::os::raw::c_void,
24346 origin: *const usize,
24347 region: *const usize,
24348 num_events_in_wait_list: cl_uint,
24349 event_wait_list: *const cl_event,
24350 event: *mut cl_event,
24351 ) -> cl_int;
24352}
24353extern "C" {
24354 pub fn clEnqueueCopyImage(
24355 command_queue: cl_command_queue,
24356 src_image: cl_mem,
24357 dst_image: cl_mem,
24358 src_origin: *const usize,
24359 dst_origin: *const usize,
24360 region: *const usize,
24361 num_events_in_wait_list: cl_uint,
24362 event_wait_list: *const cl_event,
24363 event: *mut cl_event,
24364 ) -> cl_int;
24365}
24366extern "C" {
24367 pub fn clEnqueueCopyImageToBuffer(
24368 command_queue: cl_command_queue,
24369 src_image: cl_mem,
24370 dst_buffer: cl_mem,
24371 src_origin: *const usize,
24372 region: *const usize,
24373 dst_offset: usize,
24374 num_events_in_wait_list: cl_uint,
24375 event_wait_list: *const cl_event,
24376 event: *mut cl_event,
24377 ) -> cl_int;
24378}
24379extern "C" {
24380 pub fn clEnqueueCopyBufferToImage(
24381 command_queue: cl_command_queue,
24382 src_buffer: cl_mem,
24383 dst_image: cl_mem,
24384 src_offset: usize,
24385 dst_origin: *const usize,
24386 region: *const usize,
24387 num_events_in_wait_list: cl_uint,
24388 event_wait_list: *const cl_event,
24389 event: *mut cl_event,
24390 ) -> cl_int;
24391}
24392extern "C" {
24393 pub fn clEnqueueMapBuffer(
24394 command_queue: cl_command_queue,
24395 buffer: cl_mem,
24396 blocking_map: cl_bool,
24397 map_flags: cl_map_flags,
24398 offset: usize,
24399 size: usize,
24400 num_events_in_wait_list: cl_uint,
24401 event_wait_list: *const cl_event,
24402 event: *mut cl_event,
24403 errcode_ret: *mut cl_int,
24404 ) -> *mut ::std::os::raw::c_void;
24405}
24406extern "C" {
24407 pub fn clEnqueueMapImage(
24408 command_queue: cl_command_queue,
24409 image: cl_mem,
24410 blocking_map: cl_bool,
24411 map_flags: cl_map_flags,
24412 origin: *const usize,
24413 region: *const usize,
24414 image_row_pitch: *mut usize,
24415 image_slice_pitch: *mut usize,
24416 num_events_in_wait_list: cl_uint,
24417 event_wait_list: *const cl_event,
24418 event: *mut cl_event,
24419 errcode_ret: *mut cl_int,
24420 ) -> *mut ::std::os::raw::c_void;
24421}
24422extern "C" {
24423 pub fn clEnqueueUnmapMemObject(
24424 command_queue: cl_command_queue,
24425 memobj: cl_mem,
24426 mapped_ptr: *mut ::std::os::raw::c_void,
24427 num_events_in_wait_list: cl_uint,
24428 event_wait_list: *const cl_event,
24429 event: *mut cl_event,
24430 ) -> cl_int;
24431}
24432extern "C" {
24433 pub fn clEnqueueMigrateMemObjects(
24434 command_queue: cl_command_queue,
24435 num_mem_objects: cl_uint,
24436 mem_objects: *const cl_mem,
24437 flags: cl_mem_migration_flags,
24438 num_events_in_wait_list: cl_uint,
24439 event_wait_list: *const cl_event,
24440 event: *mut cl_event,
24441 ) -> cl_int;
24442}
24443extern "C" {
24444 pub fn clEnqueueNDRangeKernel(
24445 command_queue: cl_command_queue,
24446 kernel: cl_kernel,
24447 work_dim: cl_uint,
24448 global_work_offset: *const usize,
24449 global_work_size: *const usize,
24450 local_work_size: *const usize,
24451 num_events_in_wait_list: cl_uint,
24452 event_wait_list: *const cl_event,
24453 event: *mut cl_event,
24454 ) -> cl_int;
24455}
24456extern "C" {
24457 pub fn clEnqueueNativeKernel(
24458 command_queue: cl_command_queue,
24459 user_func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
24460 args: *mut ::std::os::raw::c_void,
24461 cb_args: usize,
24462 num_mem_objects: cl_uint,
24463 mem_list: *const cl_mem,
24464 args_mem_loc: *mut *const ::std::os::raw::c_void,
24465 num_events_in_wait_list: cl_uint,
24466 event_wait_list: *const cl_event,
24467 event: *mut cl_event,
24468 ) -> cl_int;
24469}
24470extern "C" {
24471 pub fn clEnqueueMarkerWithWaitList(
24472 command_queue: cl_command_queue,
24473 num_events_in_wait_list: cl_uint,
24474 event_wait_list: *const cl_event,
24475 event: *mut cl_event,
24476 ) -> cl_int;
24477}
24478extern "C" {
24479 pub fn clEnqueueBarrierWithWaitList(
24480 command_queue: cl_command_queue,
24481 num_events_in_wait_list: cl_uint,
24482 event_wait_list: *const cl_event,
24483 event: *mut cl_event,
24484 ) -> cl_int;
24485}
24486extern "C" {
24487 pub fn clGetExtensionFunctionAddressForPlatform(
24488 platform: cl_platform_id,
24489 func_name: *const ::std::os::raw::c_char,
24490 ) -> *mut ::std::os::raw::c_void;
24491}
24492extern "C" {
24493 pub fn clCreateImage2D(
24494 context: cl_context,
24495 flags: cl_mem_flags,
24496 image_format: *const cl_image_format,
24497 image_width: usize,
24498 image_height: usize,
24499 image_row_pitch: usize,
24500 host_ptr: *mut ::std::os::raw::c_void,
24501 errcode_ret: *mut cl_int,
24502 ) -> cl_mem;
24503}
24504extern "C" {
24505 pub fn clCreateImage3D(
24506 context: cl_context,
24507 flags: cl_mem_flags,
24508 image_format: *const cl_image_format,
24509 image_width: usize,
24510 image_height: usize,
24511 image_depth: usize,
24512 image_row_pitch: usize,
24513 image_slice_pitch: usize,
24514 host_ptr: *mut ::std::os::raw::c_void,
24515 errcode_ret: *mut cl_int,
24516 ) -> cl_mem;
24517}
24518extern "C" {
24519 pub fn clEnqueueMarker(command_queue: cl_command_queue, event: *mut cl_event) -> cl_int;
24520}
24521extern "C" {
24522 pub fn clEnqueueWaitForEvents(
24523 command_queue: cl_command_queue,
24524 num_events: cl_uint,
24525 event_list: *const cl_event,
24526 ) -> cl_int;
24527}
24528extern "C" {
24529 pub fn clEnqueueBarrier(command_queue: cl_command_queue) -> cl_int;
24530}
24531extern "C" {
24532 pub fn clUnloadCompiler() -> cl_int;
24533}
24534extern "C" {
24535 pub fn clGetExtensionFunctionAddress(
24536 func_name: *const ::std::os::raw::c_char,
24537 ) -> *mut ::std::os::raw::c_void;
24538}
24539extern "C" {
24540 pub fn clCreateCommandQueue(
24541 context: cl_context,
24542 device: cl_device_id,
24543 properties: cl_command_queue_properties,
24544 errcode_ret: *mut cl_int,
24545 ) -> cl_command_queue;
24546}
24547extern "C" {
24548 pub fn clCreateSampler(
24549 context: cl_context,
24550 normalized_coords: cl_bool,
24551 addressing_mode: cl_addressing_mode,
24552 filter_mode: cl_filter_mode,
24553 errcode_ret: *mut cl_int,
24554 ) -> cl_sampler;
24555}
24556extern "C" {
24557 pub fn clEnqueueTask(
24558 command_queue: cl_command_queue,
24559 kernel: cl_kernel,
24560 num_events_in_wait_list: cl_uint,
24561 event_wait_list: *const cl_event,
24562 event: *mut cl_event,
24563 ) -> cl_int;
24564}
24565pub type __builtin_va_list = [__va_list_tag; 1usize];
24566#[repr(C)]
24567#[derive(Debug, Copy, Clone)]
24568pub struct __va_list_tag {
24569 pub gp_offset: ::std::os::raw::c_uint,
24570 pub fp_offset: ::std::os::raw::c_uint,
24571 pub overflow_arg_area: *mut ::std::os::raw::c_void,
24572 pub reg_save_area: *mut ::std::os::raw::c_void,
24573}
24574#[test]
24575fn bindgen_test_layout___va_list_tag() {
24576 assert_eq!(
24577 ::std::mem::size_of::<__va_list_tag>(),
24578 24usize,
24579 concat!("Size of: ", stringify!(__va_list_tag))
24580 );
24581 assert_eq!(
24582 ::std::mem::align_of::<__va_list_tag>(),
24583 8usize,
24584 concat!("Alignment of ", stringify!(__va_list_tag))
24585 );
24586 assert_eq!(
24587 unsafe { &(*(::std::ptr::null::<__va_list_tag>())).gp_offset as *const _ as usize },
24588 0usize,
24589 concat!(
24590 "Offset of field: ",
24591 stringify!(__va_list_tag),
24592 "::",
24593 stringify!(gp_offset)
24594 )
24595 );
24596 assert_eq!(
24597 unsafe { &(*(::std::ptr::null::<__va_list_tag>())).fp_offset as *const _ as usize },
24598 4usize,
24599 concat!(
24600 "Offset of field: ",
24601 stringify!(__va_list_tag),
24602 "::",
24603 stringify!(fp_offset)
24604 )
24605 );
24606 assert_eq!(
24607 unsafe { &(*(::std::ptr::null::<__va_list_tag>())).overflow_arg_area as *const _ as usize },
24608 8usize,
24609 concat!(
24610 "Offset of field: ",
24611 stringify!(__va_list_tag),
24612 "::",
24613 stringify!(overflow_arg_area)
24614 )
24615 );
24616 assert_eq!(
24617 unsafe { &(*(::std::ptr::null::<__va_list_tag>())).reg_save_area as *const _ as usize },
24618 16usize,
24619 concat!(
24620 "Offset of field: ",
24621 stringify!(__va_list_tag),
24622 "::",
24623 stringify!(reg_save_area)
24624 )
24625 );
24626}