Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
translate ▾

Modern-Apps.git / third_party / om-file-format-sys / src / bindings_host.rs

bindings_host.rs3961 lines · 140.0 KiBRaw
1/* automatically generated by rust-bindgen 0.72.1 */
2
3pub const __WORDSIZE: u32 = 64;
4pub const __has_safe_buffers: u32 = 1;
5pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 1;
6pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1;
7pub const __DARWIN_ONLY_VERS_1050: u32 = 1;
8pub const __DARWIN_UNIX03: u32 = 1;
9pub const __DARWIN_64_BIT_INO_T: u32 = 1;
10pub const __DARWIN_VERS_1050: u32 = 1;
11pub const __DARWIN_NON_CANCELABLE: u32 = 0;
12pub const __DARWIN_SUF_EXTSN: &[u8; 14] = b"$DARWIN_EXTSN\0";
13pub const __DARWIN_C_ANSI: u32 = 4096;
14pub const __DARWIN_C_FULL: u32 = 900000;
15pub const __DARWIN_C_LEVEL: u32 = 900000;
16pub const __STDC_WANT_LIB_EXT1__: u32 = 1;
17pub const __DARWIN_NO_LONG_LONG: u32 = 0;
18pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1;
19pub const _DARWIN_FEATURE_ONLY_64_BIT_INODE: u32 = 1;
20pub const _DARWIN_FEATURE_ONLY_VERS_1050: u32 = 1;
21pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1;
22pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3;
23pub const __has_ptrcheck: u32 = 0;
24pub const __has_bounds_safety_attributes: u32 = 0;
25pub const USE_CLANG_TYPES: u32 = 0;
26pub const __PTHREAD_SIZE__: u32 = 8176;
27pub const __PTHREAD_ATTR_SIZE__: u32 = 56;
28pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8;
29pub const __PTHREAD_MUTEX_SIZE__: u32 = 56;
30pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8;
31pub const __PTHREAD_COND_SIZE__: u32 = 40;
32pub const __PTHREAD_ONCE_SIZE__: u32 = 8;
33pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192;
34pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16;
35pub const INT8_MAX: u32 = 127;
36pub const INT16_MAX: u32 = 32767;
37pub const INT32_MAX: u32 = 2147483647;
38pub const INT64_MAX: u64 = 9223372036854775807;
39pub const INT8_MIN: i32 = -128;
40pub const INT16_MIN: i32 = -32768;
41pub const INT32_MIN: i32 = -2147483648;
42pub const INT64_MIN: i64 = -9223372036854775808;
43pub const UINT8_MAX: u32 = 255;
44pub const UINT16_MAX: u32 = 65535;
45pub const UINT32_MAX: u32 = 4294967295;
46pub const UINT64_MAX: i32 = -1;
47pub const INT_LEAST8_MIN: i32 = -128;
48pub const INT_LEAST16_MIN: i32 = -32768;
49pub const INT_LEAST32_MIN: i32 = -2147483648;
50pub const INT_LEAST64_MIN: i64 = -9223372036854775808;
51pub const INT_LEAST8_MAX: u32 = 127;
52pub const INT_LEAST16_MAX: u32 = 32767;
53pub const INT_LEAST32_MAX: u32 = 2147483647;
54pub const INT_LEAST64_MAX: u64 = 9223372036854775807;
55pub const UINT_LEAST8_MAX: u32 = 255;
56pub const UINT_LEAST16_MAX: u32 = 65535;
57pub const UINT_LEAST32_MAX: u32 = 4294967295;
58pub const UINT_LEAST64_MAX: i32 = -1;
59pub const INT_FAST8_MIN: i32 = -128;
60pub const INT_FAST16_MIN: i32 = -32768;
61pub const INT_FAST32_MIN: i32 = -2147483648;
62pub const INT_FAST64_MIN: i64 = -9223372036854775808;
63pub const INT_FAST8_MAX: u32 = 127;
64pub const INT_FAST16_MAX: u32 = 32767;
65pub const INT_FAST32_MAX: u32 = 2147483647;
66pub const INT_FAST64_MAX: u64 = 9223372036854775807;
67pub const UINT_FAST8_MAX: u32 = 255;
68pub const UINT_FAST16_MAX: u32 = 65535;
69pub const UINT_FAST32_MAX: u32 = 4294967295;
70pub const UINT_FAST64_MAX: i32 = -1;
71pub const INTPTR_MAX: u64 = 9223372036854775807;
72pub const INTPTR_MIN: i64 = -9223372036854775808;
73pub const UINTPTR_MAX: i32 = -1;
74pub const SIZE_MAX: i32 = -1;
75pub const RSIZE_MAX: i32 = -1;
76pub const WINT_MIN: i32 = -2147483648;
77pub const WINT_MAX: u32 = 2147483647;
78pub const SIG_ATOMIC_MIN: i32 = -2147483648;
79pub const SIG_ATOMIC_MAX: u32 = 2147483647;
80pub const P4D_MAX: u32 = 256;
81pub const __API_TO_BE_DEPRECATED: u32 = 100000;
82pub const __API_TO_BE_DEPRECATED_MACOS: u32 = 100000;
83pub const __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION: u32 = 100000;
84pub const __API_TO_BE_DEPRECATED_IOS: u32 = 100000;
85pub const __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION: u32 = 100000;
86pub const __API_TO_BE_DEPRECATED_MACCATALYST: u32 = 100000;
87pub const __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION: u32 = 100000;
88pub const __API_TO_BE_DEPRECATED_WATCHOS: u32 = 100000;
89pub const __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION: u32 = 100000;
90pub const __API_TO_BE_DEPRECATED_TVOS: u32 = 100000;
91pub const __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION: u32 = 100000;
92pub const __API_TO_BE_DEPRECATED_DRIVERKIT: u32 = 100000;
93pub const __API_TO_BE_DEPRECATED_VISIONOS: u32 = 100000;
94pub const __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION: u32 = 100000;
95pub const __API_TO_BE_DEPRECATED_KERNELKIT: u32 = 100000;
96pub const __MAC_10_0: u32 = 1000;
97pub const __MAC_10_1: u32 = 1010;
98pub const __MAC_10_2: u32 = 1020;
99pub const __MAC_10_3: u32 = 1030;
100pub const __MAC_10_4: u32 = 1040;
101pub const __MAC_10_5: u32 = 1050;
102pub const __MAC_10_6: u32 = 1060;
103pub const __MAC_10_7: u32 = 1070;
104pub const __MAC_10_8: u32 = 1080;
105pub const __MAC_10_9: u32 = 1090;
106pub const __MAC_10_10: u32 = 101000;
107pub const __MAC_10_10_2: u32 = 101002;
108pub const __MAC_10_10_3: u32 = 101003;
109pub const __MAC_10_11: u32 = 101100;
110pub const __MAC_10_11_2: u32 = 101102;
111pub const __MAC_10_11_3: u32 = 101103;
112pub const __MAC_10_11_4: u32 = 101104;
113pub const __MAC_10_12: u32 = 101200;
114pub const __MAC_10_12_1: u32 = 101201;
115pub const __MAC_10_12_2: u32 = 101202;
116pub const __MAC_10_12_4: u32 = 101204;
117pub const __MAC_10_13: u32 = 101300;
118pub const __MAC_10_13_1: u32 = 101301;
119pub const __MAC_10_13_2: u32 = 101302;
120pub const __MAC_10_13_4: u32 = 101304;
121pub const __MAC_10_14: u32 = 101400;
122pub const __MAC_10_14_1: u32 = 101401;
123pub const __MAC_10_14_4: u32 = 101404;
124pub const __MAC_10_14_5: u32 = 101405;
125pub const __MAC_10_14_6: u32 = 101406;
126pub const __MAC_10_15: u32 = 101500;
127pub const __MAC_10_15_1: u32 = 101501;
128pub const __MAC_10_15_4: u32 = 101504;
129pub const __MAC_10_16: u32 = 101600;
130pub const __MAC_11_0: u32 = 110000;
131pub const __MAC_11_1: u32 = 110100;
132pub const __MAC_11_3: u32 = 110300;
133pub const __MAC_11_4: u32 = 110400;
134pub const __MAC_11_5: u32 = 110500;
135pub const __MAC_11_6: u32 = 110600;
136pub const __MAC_12_0: u32 = 120000;
137pub const __MAC_12_1: u32 = 120100;
138pub const __MAC_12_2: u32 = 120200;
139pub const __MAC_12_3: u32 = 120300;
140pub const __MAC_12_4: u32 = 120400;
141pub const __MAC_12_5: u32 = 120500;
142pub const __MAC_12_6: u32 = 120600;
143pub const __MAC_12_7: u32 = 120700;
144pub const __MAC_13_0: u32 = 130000;
145pub const __MAC_13_1: u32 = 130100;
146pub const __MAC_13_2: u32 = 130200;
147pub const __MAC_13_3: u32 = 130300;
148pub const __MAC_13_4: u32 = 130400;
149pub const __MAC_13_5: u32 = 130500;
150pub const __MAC_13_6: u32 = 130600;
151pub const __MAC_13_7: u32 = 130700;
152pub const __MAC_14_0: u32 = 140000;
153pub const __MAC_14_1: u32 = 140100;
154pub const __MAC_14_2: u32 = 140200;
155pub const __MAC_14_3: u32 = 140300;
156pub const __MAC_14_4: u32 = 140400;
157pub const __MAC_14_5: u32 = 140500;
158pub const __MAC_14_6: u32 = 140600;
159pub const __MAC_14_7: u32 = 140700;
160pub const __MAC_15_0: u32 = 150000;
161pub const __MAC_15_1: u32 = 150100;
162pub const __MAC_15_2: u32 = 150200;
163pub const __MAC_15_3: u32 = 150300;
164pub const __MAC_15_4: u32 = 150400;
165pub const __MAC_15_5: u32 = 150500;
166pub const __MAC_15_6: u32 = 150600;
167pub const __MAC_16_0: u32 = 160000;
168pub const __MAC_26_0: u32 = 260000;
169pub const __MAC_26_1: u32 = 260100;
170pub const __MAC_26_2: u32 = 260200;
171pub const __MAC_26_3: u32 = 260300;
172pub const __MAC_26_4: u32 = 260400;
173pub const __MAC_26_5: u32 = 260500;
174pub const __IPHONE_2_0: u32 = 20000;
175pub const __IPHONE_2_1: u32 = 20100;
176pub const __IPHONE_2_2: u32 = 20200;
177pub const __IPHONE_3_0: u32 = 30000;
178pub const __IPHONE_3_1: u32 = 30100;
179pub const __IPHONE_3_2: u32 = 30200;
180pub const __IPHONE_4_0: u32 = 40000;
181pub const __IPHONE_4_1: u32 = 40100;
182pub const __IPHONE_4_2: u32 = 40200;
183pub const __IPHONE_4_3: u32 = 40300;
184pub const __IPHONE_5_0: u32 = 50000;
185pub const __IPHONE_5_1: u32 = 50100;
186pub const __IPHONE_6_0: u32 = 60000;
187pub const __IPHONE_6_1: u32 = 60100;
188pub const __IPHONE_7_0: u32 = 70000;
189pub const __IPHONE_7_1: u32 = 70100;
190pub const __IPHONE_8_0: u32 = 80000;
191pub const __IPHONE_8_1: u32 = 80100;
192pub const __IPHONE_8_2: u32 = 80200;
193pub const __IPHONE_8_3: u32 = 80300;
194pub const __IPHONE_8_4: u32 = 80400;
195pub const __IPHONE_9_0: u32 = 90000;
196pub const __IPHONE_9_1: u32 = 90100;
197pub const __IPHONE_9_2: u32 = 90200;
198pub const __IPHONE_9_3: u32 = 90300;
199pub const __IPHONE_10_0: u32 = 100000;
200pub const __IPHONE_10_1: u32 = 100100;
201pub const __IPHONE_10_2: u32 = 100200;
202pub const __IPHONE_10_3: u32 = 100300;
203pub const __IPHONE_11_0: u32 = 110000;
204pub const __IPHONE_11_1: u32 = 110100;
205pub const __IPHONE_11_2: u32 = 110200;
206pub const __IPHONE_11_3: u32 = 110300;
207pub const __IPHONE_11_4: u32 = 110400;
208pub const __IPHONE_12_0: u32 = 120000;
209pub const __IPHONE_12_1: u32 = 120100;
210pub const __IPHONE_12_2: u32 = 120200;
211pub const __IPHONE_12_3: u32 = 120300;
212pub const __IPHONE_12_4: u32 = 120400;
213pub const __IPHONE_13_0: u32 = 130000;
214pub const __IPHONE_13_1: u32 = 130100;
215pub const __IPHONE_13_2: u32 = 130200;
216pub const __IPHONE_13_3: u32 = 130300;
217pub const __IPHONE_13_4: u32 = 130400;
218pub const __IPHONE_13_5: u32 = 130500;
219pub const __IPHONE_13_6: u32 = 130600;
220pub const __IPHONE_13_7: u32 = 130700;
221pub const __IPHONE_14_0: u32 = 140000;
222pub const __IPHONE_14_1: u32 = 140100;
223pub const __IPHONE_14_2: u32 = 140200;
224pub const __IPHONE_14_3: u32 = 140300;
225pub const __IPHONE_14_5: u32 = 140500;
226pub const __IPHONE_14_6: u32 = 140600;
227pub const __IPHONE_14_7: u32 = 140700;
228pub const __IPHONE_14_8: u32 = 140800;
229pub const __IPHONE_15_0: u32 = 150000;
230pub const __IPHONE_15_1: u32 = 150100;
231pub const __IPHONE_15_2: u32 = 150200;
232pub const __IPHONE_15_3: u32 = 150300;
233pub const __IPHONE_15_4: u32 = 150400;
234pub const __IPHONE_15_5: u32 = 150500;
235pub const __IPHONE_15_6: u32 = 150600;
236pub const __IPHONE_15_7: u32 = 150700;
237pub const __IPHONE_15_8: u32 = 150800;
238pub const __IPHONE_16_0: u32 = 160000;
239pub const __IPHONE_16_1: u32 = 160100;
240pub const __IPHONE_16_2: u32 = 160200;
241pub const __IPHONE_16_3: u32 = 160300;
242pub const __IPHONE_16_4: u32 = 160400;
243pub const __IPHONE_16_5: u32 = 160500;
244pub const __IPHONE_16_6: u32 = 160600;
245pub const __IPHONE_16_7: u32 = 160700;
246pub const __IPHONE_17_0: u32 = 170000;
247pub const __IPHONE_17_1: u32 = 170100;
248pub const __IPHONE_17_2: u32 = 170200;
249pub const __IPHONE_17_3: u32 = 170300;
250pub const __IPHONE_17_4: u32 = 170400;
251pub const __IPHONE_17_5: u32 = 170500;
252pub const __IPHONE_17_6: u32 = 170600;
253pub const __IPHONE_17_7: u32 = 170700;
254pub const __IPHONE_18_0: u32 = 180000;
255pub const __IPHONE_18_1: u32 = 180100;
256pub const __IPHONE_18_2: u32 = 180200;
257pub const __IPHONE_18_3: u32 = 180300;
258pub const __IPHONE_18_4: u32 = 180400;
259pub const __IPHONE_18_5: u32 = 180500;
260pub const __IPHONE_18_6: u32 = 180600;
261pub const __IPHONE_19_0: u32 = 190000;
262pub const __IPHONE_26_0: u32 = 260000;
263pub const __IPHONE_26_1: u32 = 260100;
264pub const __IPHONE_26_2: u32 = 260200;
265pub const __IPHONE_26_3: u32 = 260300;
266pub const __IPHONE_26_4: u32 = 260400;
267pub const __IPHONE_26_5: u32 = 260500;
268pub const __WATCHOS_1_0: u32 = 10000;
269pub const __WATCHOS_2_0: u32 = 20000;
270pub const __WATCHOS_2_1: u32 = 20100;
271pub const __WATCHOS_2_2: u32 = 20200;
272pub const __WATCHOS_3_0: u32 = 30000;
273pub const __WATCHOS_3_1: u32 = 30100;
274pub const __WATCHOS_3_1_1: u32 = 30101;
275pub const __WATCHOS_3_2: u32 = 30200;
276pub const __WATCHOS_4_0: u32 = 40000;
277pub const __WATCHOS_4_1: u32 = 40100;
278pub const __WATCHOS_4_2: u32 = 40200;
279pub const __WATCHOS_4_3: u32 = 40300;
280pub const __WATCHOS_5_0: u32 = 50000;
281pub const __WATCHOS_5_1: u32 = 50100;
282pub const __WATCHOS_5_2: u32 = 50200;
283pub const __WATCHOS_5_3: u32 = 50300;
284pub const __WATCHOS_6_0: u32 = 60000;
285pub const __WATCHOS_6_1: u32 = 60100;
286pub const __WATCHOS_6_2: u32 = 60200;
287pub const __WATCHOS_7_0: u32 = 70000;
288pub const __WATCHOS_7_1: u32 = 70100;
289pub const __WATCHOS_7_2: u32 = 70200;
290pub const __WATCHOS_7_3: u32 = 70300;
291pub const __WATCHOS_7_4: u32 = 70400;
292pub const __WATCHOS_7_5: u32 = 70500;
293pub const __WATCHOS_7_6: u32 = 70600;
294pub const __WATCHOS_8_0: u32 = 80000;
295pub const __WATCHOS_8_1: u32 = 80100;
296pub const __WATCHOS_8_3: u32 = 80300;
297pub const __WATCHOS_8_4: u32 = 80400;
298pub const __WATCHOS_8_5: u32 = 80500;
299pub const __WATCHOS_8_6: u32 = 80600;
300pub const __WATCHOS_8_7: u32 = 80700;
301pub const __WATCHOS_8_8: u32 = 80800;
302pub const __WATCHOS_9_0: u32 = 90000;
303pub const __WATCHOS_9_1: u32 = 90100;
304pub const __WATCHOS_9_2: u32 = 90200;
305pub const __WATCHOS_9_3: u32 = 90300;
306pub const __WATCHOS_9_4: u32 = 90400;
307pub const __WATCHOS_9_5: u32 = 90500;
308pub const __WATCHOS_9_6: u32 = 90600;
309pub const __WATCHOS_10_0: u32 = 100000;
310pub const __WATCHOS_10_1: u32 = 100100;
311pub const __WATCHOS_10_2: u32 = 100200;
312pub const __WATCHOS_10_3: u32 = 100300;
313pub const __WATCHOS_10_4: u32 = 100400;
314pub const __WATCHOS_10_5: u32 = 100500;
315pub const __WATCHOS_10_6: u32 = 100600;
316pub const __WATCHOS_10_7: u32 = 100700;
317pub const __WATCHOS_11_0: u32 = 110000;
318pub const __WATCHOS_11_1: u32 = 110100;
319pub const __WATCHOS_11_2: u32 = 110200;
320pub const __WATCHOS_11_3: u32 = 110300;
321pub const __WATCHOS_11_4: u32 = 110400;
322pub const __WATCHOS_11_5: u32 = 110500;
323pub const __WATCHOS_11_6: u32 = 110600;
324pub const __WATCHOS_12_0: u32 = 120000;
325pub const __WATCHOS_26_0: u32 = 260000;
326pub const __WATCHOS_26_1: u32 = 260100;
327pub const __WATCHOS_26_2: u32 = 260200;
328pub const __WATCHOS_26_3: u32 = 260300;
329pub const __WATCHOS_26_4: u32 = 260400;
330pub const __WATCHOS_26_5: u32 = 260500;
331pub const __TVOS_9_0: u32 = 90000;
332pub const __TVOS_9_1: u32 = 90100;
333pub const __TVOS_9_2: u32 = 90200;
334pub const __TVOS_10_0: u32 = 100000;
335pub const __TVOS_10_0_1: u32 = 100001;
336pub const __TVOS_10_1: u32 = 100100;
337pub const __TVOS_10_2: u32 = 100200;
338pub const __TVOS_11_0: u32 = 110000;
339pub const __TVOS_11_1: u32 = 110100;
340pub const __TVOS_11_2: u32 = 110200;
341pub const __TVOS_11_3: u32 = 110300;
342pub const __TVOS_11_4: u32 = 110400;
343pub const __TVOS_12_0: u32 = 120000;
344pub const __TVOS_12_1: u32 = 120100;
345pub const __TVOS_12_2: u32 = 120200;
346pub const __TVOS_12_3: u32 = 120300;
347pub const __TVOS_12_4: u32 = 120400;
348pub const __TVOS_13_0: u32 = 130000;
349pub const __TVOS_13_2: u32 = 130200;
350pub const __TVOS_13_3: u32 = 130300;
351pub const __TVOS_13_4: u32 = 130400;
352pub const __TVOS_14_0: u32 = 140000;
353pub const __TVOS_14_1: u32 = 140100;
354pub const __TVOS_14_2: u32 = 140200;
355pub const __TVOS_14_3: u32 = 140300;
356pub const __TVOS_14_5: u32 = 140500;
357pub const __TVOS_14_6: u32 = 140600;
358pub const __TVOS_14_7: u32 = 140700;
359pub const __TVOS_15_0: u32 = 150000;
360pub const __TVOS_15_1: u32 = 150100;
361pub const __TVOS_15_2: u32 = 150200;
362pub const __TVOS_15_3: u32 = 150300;
363pub const __TVOS_15_4: u32 = 150400;
364pub const __TVOS_15_5: u32 = 150500;
365pub const __TVOS_15_6: u32 = 150600;
366pub const __TVOS_16_0: u32 = 160000;
367pub const __TVOS_16_1: u32 = 160100;
368pub const __TVOS_16_2: u32 = 160200;
369pub const __TVOS_16_3: u32 = 160300;
370pub const __TVOS_16_4: u32 = 160400;
371pub const __TVOS_16_5: u32 = 160500;
372pub const __TVOS_16_6: u32 = 160600;
373pub const __TVOS_17_0: u32 = 170000;
374pub const __TVOS_17_1: u32 = 170100;
375pub const __TVOS_17_2: u32 = 170200;
376pub const __TVOS_17_3: u32 = 170300;
377pub const __TVOS_17_4: u32 = 170400;
378pub const __TVOS_17_5: u32 = 170500;
379pub const __TVOS_17_6: u32 = 170600;
380pub const __TVOS_18_0: u32 = 180000;
381pub const __TVOS_18_1: u32 = 180100;
382pub const __TVOS_18_2: u32 = 180200;
383pub const __TVOS_18_3: u32 = 180300;
384pub const __TVOS_18_4: u32 = 180400;
385pub const __TVOS_18_5: u32 = 180500;
386pub const __TVOS_18_6: u32 = 180600;
387pub const __TVOS_19_0: u32 = 190000;
388pub const __TVOS_26_0: u32 = 260000;
389pub const __TVOS_26_1: u32 = 260100;
390pub const __TVOS_26_2: u32 = 260200;
391pub const __TVOS_26_3: u32 = 260300;
392pub const __TVOS_26_4: u32 = 260400;
393pub const __TVOS_26_5: u32 = 260500;
394pub const __BRIDGEOS_2_0: u32 = 20000;
395pub const __BRIDGEOS_3_0: u32 = 30000;
396pub const __BRIDGEOS_3_1: u32 = 30100;
397pub const __BRIDGEOS_3_4: u32 = 30400;
398pub const __BRIDGEOS_4_0: u32 = 40000;
399pub const __BRIDGEOS_4_1: u32 = 40100;
400pub const __BRIDGEOS_5_0: u32 = 50000;
401pub const __BRIDGEOS_5_1: u32 = 50100;
402pub const __BRIDGEOS_5_3: u32 = 50300;
403pub const __BRIDGEOS_6_0: u32 = 60000;
404pub const __BRIDGEOS_6_2: u32 = 60200;
405pub const __BRIDGEOS_6_4: u32 = 60400;
406pub const __BRIDGEOS_6_5: u32 = 60500;
407pub const __BRIDGEOS_6_6: u32 = 60600;
408pub const __BRIDGEOS_7_0: u32 = 70000;
409pub const __BRIDGEOS_7_1: u32 = 70100;
410pub const __BRIDGEOS_7_2: u32 = 70200;
411pub const __BRIDGEOS_7_3: u32 = 70300;
412pub const __BRIDGEOS_7_4: u32 = 70400;
413pub const __BRIDGEOS_7_6: u32 = 70600;
414pub const __BRIDGEOS_8_0: u32 = 80000;
415pub const __BRIDGEOS_8_1: u32 = 80100;
416pub const __BRIDGEOS_8_2: u32 = 80200;
417pub const __BRIDGEOS_8_3: u32 = 80300;
418pub const __BRIDGEOS_8_4: u32 = 80400;
419pub const __BRIDGEOS_8_5: u32 = 80500;
420pub const __BRIDGEOS_8_6: u32 = 80600;
421pub const __BRIDGEOS_9_0: u32 = 90000;
422pub const __BRIDGEOS_9_1: u32 = 90100;
423pub const __BRIDGEOS_9_2: u32 = 90200;
424pub const __BRIDGEOS_9_3: u32 = 90300;
425pub const __BRIDGEOS_9_4: u32 = 90400;
426pub const __BRIDGEOS_9_5: u32 = 90500;
427pub const __BRIDGEOS_9_6: u32 = 90600;
428pub const __BRIDGEOS_10_0: u32 = 100000;
429pub const __BRIDGEOS_10_1: u32 = 100100;
430pub const __BRIDGEOS_10_2: u32 = 100200;
431pub const __BRIDGEOS_10_3: u32 = 100300;
432pub const __BRIDGEOS_10_4: u32 = 100400;
433pub const __BRIDGEOS_26_5: u32 = 260500;
434pub const __DRIVERKIT_19_0: u32 = 190000;
435pub const __DRIVERKIT_20_0: u32 = 200000;
436pub const __DRIVERKIT_21_0: u32 = 210000;
437pub const __DRIVERKIT_22_0: u32 = 220000;
438pub const __DRIVERKIT_22_4: u32 = 220400;
439pub const __DRIVERKIT_22_5: u32 = 220500;
440pub const __DRIVERKIT_22_6: u32 = 220600;
441pub const __DRIVERKIT_23_0: u32 = 230000;
442pub const __DRIVERKIT_23_1: u32 = 230100;
443pub const __DRIVERKIT_23_2: u32 = 230200;
444pub const __DRIVERKIT_23_3: u32 = 230300;
445pub const __DRIVERKIT_23_4: u32 = 230400;
446pub const __DRIVERKIT_23_5: u32 = 230500;
447pub const __DRIVERKIT_23_6: u32 = 230600;
448pub const __DRIVERKIT_24_0: u32 = 240000;
449pub const __DRIVERKIT_24_1: u32 = 240100;
450pub const __DRIVERKIT_24_2: u32 = 240200;
451pub const __DRIVERKIT_24_3: u32 = 240300;
452pub const __DRIVERKIT_24_4: u32 = 240400;
453pub const __DRIVERKIT_24_5: u32 = 240500;
454pub const __DRIVERKIT_24_6: u32 = 240600;
455pub const __DRIVERKIT_25_0: u32 = 250000;
456pub const __DRIVERKIT_25_1: u32 = 250100;
457pub const __DRIVERKIT_25_2: u32 = 250200;
458pub const __DRIVERKIT_25_3: u32 = 250300;
459pub const __DRIVERKIT_25_4: u32 = 250400;
460pub const __DRIVERKIT_25_5: u32 = 250500;
461pub const __VISIONOS_1_0: u32 = 10000;
462pub const __VISIONOS_1_1: u32 = 10100;
463pub const __VISIONOS_1_2: u32 = 10200;
464pub const __VISIONOS_1_3: u32 = 10300;
465pub const __VISIONOS_2_0: u32 = 20000;
466pub const __VISIONOS_2_1: u32 = 20100;
467pub const __VISIONOS_2_2: u32 = 20200;
468pub const __VISIONOS_2_3: u32 = 20300;
469pub const __VISIONOS_2_4: u32 = 20400;
470pub const __VISIONOS_2_5: u32 = 20500;
471pub const __VISIONOS_2_6: u32 = 20600;
472pub const __VISIONOS_3_0: u32 = 30000;
473pub const __VISIONOS_26_0: u32 = 260000;
474pub const __VISIONOS_26_1: u32 = 260100;
475pub const __VISIONOS_26_2: u32 = 260200;
476pub const __VISIONOS_26_3: u32 = 260300;
477pub const __VISIONOS_26_4: u32 = 260400;
478pub const __VISIONOS_26_5: u32 = 260500;
479pub const MAC_OS_X_VERSION_10_0: u32 = 1000;
480pub const MAC_OS_X_VERSION_10_1: u32 = 1010;
481pub const MAC_OS_X_VERSION_10_2: u32 = 1020;
482pub const MAC_OS_X_VERSION_10_3: u32 = 1030;
483pub const MAC_OS_X_VERSION_10_4: u32 = 1040;
484pub const MAC_OS_X_VERSION_10_5: u32 = 1050;
485pub const MAC_OS_X_VERSION_10_6: u32 = 1060;
486pub const MAC_OS_X_VERSION_10_7: u32 = 1070;
487pub const MAC_OS_X_VERSION_10_8: u32 = 1080;
488pub const MAC_OS_X_VERSION_10_9: u32 = 1090;
489pub const MAC_OS_X_VERSION_10_10: u32 = 101000;
490pub const MAC_OS_X_VERSION_10_10_2: u32 = 101002;
491pub const MAC_OS_X_VERSION_10_10_3: u32 = 101003;
492pub const MAC_OS_X_VERSION_10_11: u32 = 101100;
493pub const MAC_OS_X_VERSION_10_11_2: u32 = 101102;
494pub const MAC_OS_X_VERSION_10_11_3: u32 = 101103;
495pub const MAC_OS_X_VERSION_10_11_4: u32 = 101104;
496pub const MAC_OS_X_VERSION_10_12: u32 = 101200;
497pub const MAC_OS_X_VERSION_10_12_1: u32 = 101201;
498pub const MAC_OS_X_VERSION_10_12_2: u32 = 101202;
499pub const MAC_OS_X_VERSION_10_12_4: u32 = 101204;
500pub const MAC_OS_X_VERSION_10_13: u32 = 101300;
501pub const MAC_OS_X_VERSION_10_13_1: u32 = 101301;
502pub const MAC_OS_X_VERSION_10_13_2: u32 = 101302;
503pub const MAC_OS_X_VERSION_10_13_4: u32 = 101304;
504pub const MAC_OS_X_VERSION_10_14: u32 = 101400;
505pub const MAC_OS_X_VERSION_10_14_1: u32 = 101401;
506pub const MAC_OS_X_VERSION_10_14_4: u32 = 101404;
507pub const MAC_OS_X_VERSION_10_14_5: u32 = 101405;
508pub const MAC_OS_X_VERSION_10_14_6: u32 = 101406;
509pub const MAC_OS_X_VERSION_10_15: u32 = 101500;
510pub const MAC_OS_X_VERSION_10_15_1: u32 = 101501;
511pub const MAC_OS_X_VERSION_10_15_4: u32 = 101504;
512pub const MAC_OS_X_VERSION_10_16: u32 = 101600;
513pub const MAC_OS_VERSION_11_0: u32 = 110000;
514pub const MAC_OS_VERSION_11_1: u32 = 110100;
515pub const MAC_OS_VERSION_11_3: u32 = 110300;
516pub const MAC_OS_VERSION_11_4: u32 = 110400;
517pub const MAC_OS_VERSION_11_5: u32 = 110500;
518pub const MAC_OS_VERSION_11_6: u32 = 110600;
519pub const MAC_OS_VERSION_12_0: u32 = 120000;
520pub const MAC_OS_VERSION_12_1: u32 = 120100;
521pub const MAC_OS_VERSION_12_2: u32 = 120200;
522pub const MAC_OS_VERSION_12_3: u32 = 120300;
523pub const MAC_OS_VERSION_12_4: u32 = 120400;
524pub const MAC_OS_VERSION_12_5: u32 = 120500;
525pub const MAC_OS_VERSION_12_6: u32 = 120600;
526pub const MAC_OS_VERSION_12_7: u32 = 120700;
527pub const MAC_OS_VERSION_13_0: u32 = 130000;
528pub const MAC_OS_VERSION_13_1: u32 = 130100;
529pub const MAC_OS_VERSION_13_2: u32 = 130200;
530pub const MAC_OS_VERSION_13_3: u32 = 130300;
531pub const MAC_OS_VERSION_13_4: u32 = 130400;
532pub const MAC_OS_VERSION_13_5: u32 = 130500;
533pub const MAC_OS_VERSION_13_6: u32 = 130600;
534pub const MAC_OS_VERSION_13_7: u32 = 130700;
535pub const MAC_OS_VERSION_14_0: u32 = 140000;
536pub const MAC_OS_VERSION_14_1: u32 = 140100;
537pub const MAC_OS_VERSION_14_2: u32 = 140200;
538pub const MAC_OS_VERSION_14_3: u32 = 140300;
539pub const MAC_OS_VERSION_14_4: u32 = 140400;
540pub const MAC_OS_VERSION_14_5: u32 = 140500;
541pub const MAC_OS_VERSION_14_6: u32 = 140600;
542pub const MAC_OS_VERSION_14_7: u32 = 140700;
543pub const MAC_OS_VERSION_15_0: u32 = 150000;
544pub const MAC_OS_VERSION_15_1: u32 = 150100;
545pub const MAC_OS_VERSION_15_2: u32 = 150200;
546pub const MAC_OS_VERSION_15_3: u32 = 150300;
547pub const MAC_OS_VERSION_15_4: u32 = 150400;
548pub const MAC_OS_VERSION_15_5: u32 = 150500;
549pub const MAC_OS_VERSION_15_6: u32 = 150600;
550pub const MAC_OS_VERSION_16_0: u32 = 160000;
551pub const MAC_OS_VERSION_26_0: u32 = 260000;
552pub const MAC_OS_VERSION_26_1: u32 = 260100;
553pub const MAC_OS_VERSION_26_2: u32 = 260200;
554pub const MAC_OS_VERSION_26_3: u32 = 260300;
555pub const MAC_OS_VERSION_26_4: u32 = 260400;
556pub const MAC_OS_VERSION_26_5: u32 = 260500;
557pub const __AVAILABILITY_VERSIONS_VERSION_HASH: u32 = 93585900;
558pub const __AVAILABILITY_VERSIONS_VERSION_STRING: &[u8; 6] = b"Local\0";
559pub const __AVAILABILITY_FILE: &[u8; 23] = b"AvailabilityVersions.h\0";
560pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 260500;
561pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1;
562pub const __DARWIN_WCHAR_MIN: i32 = -2147483648;
563pub const _FORTIFY_SOURCE: u32 = 2;
564pub const USE_CLANG_STDARG: u32 = 0;
565pub const USE_CLANG_STDDEF: u32 = 0;
566pub const RENAME_SECLUDE: u32 = 1;
567pub const RENAME_SWAP: u32 = 2;
568pub const RENAME_EXCL: u32 = 4;
569pub const RENAME_RESERVED1: u32 = 8;
570pub const RENAME_NOFOLLOW_ANY: u32 = 16;
571pub const RENAME_RESOLVE_BENEATH: u32 = 32;
572pub const SEEK_SET: u32 = 0;
573pub const SEEK_CUR: u32 = 1;
574pub const SEEK_END: u32 = 2;
575pub const SEEK_HOLE: u32 = 3;
576pub const SEEK_DATA: u32 = 4;
577pub const __SLBF: u32 = 1;
578pub const __SNBF: u32 = 2;
579pub const __SRD: u32 = 4;
580pub const __SWR: u32 = 8;
581pub const __SRW: u32 = 16;
582pub const __SEOF: u32 = 32;
583pub const __SERR: u32 = 64;
584pub const __SMBF: u32 = 128;
585pub const __SAPP: u32 = 256;
586pub const __SSTR: u32 = 512;
587pub const __SOPT: u32 = 1024;
588pub const __SNPT: u32 = 2048;
589pub const __SOFF: u32 = 4096;
590pub const __SMOD: u32 = 8192;
591pub const __SALC: u32 = 16384;
592pub const __SIGN: u32 = 32768;
593pub const _IOFBF: u32 = 0;
594pub const _IOLBF: u32 = 1;
595pub const _IONBF: u32 = 2;
596pub const BUFSIZ: u32 = 1024;
597pub const EOF: i32 = -1;
598pub const FOPEN_MAX: u32 = 20;
599pub const FILENAME_MAX: u32 = 1024;
600pub const P_tmpdir: &[u8; 10] = b"/var/tmp/\0";
601pub const L_tmpnam: u32 = 1024;
602pub const TMP_MAX: u32 = 308915776;
603pub const L_ctermid: u32 = 1024;
604pub const _USE_FORTIFY_LEVEL: u32 = 2;
605pub const __bool_true_false_are_defined: u32 = 1;
606pub const true_: u32 = 1;
607pub const false_: u32 = 0;
608pub const LUT_CHUNK_COUNT: u32 = 64;
609pub type int_least8_t = i8;
610pub type int_least16_t = i16;
611pub type int_least32_t = i32;
612pub type int_least64_t = i64;
613pub type uint_least8_t = u8;
614pub type uint_least16_t = u16;
615pub type uint_least32_t = u32;
616pub type uint_least64_t = u64;
617pub type int_fast8_t = i8;
618pub type int_fast16_t = i16;
619pub type int_fast32_t = i32;
620pub type int_fast64_t = i64;
621pub type uint_fast8_t = u8;
622pub type uint_fast16_t = u16;
623pub type uint_fast32_t = u32;
624pub type uint_fast64_t = u64;
625pub type __int8_t = ::std::os::raw::c_schar;
626pub type __uint8_t = ::std::os::raw::c_uchar;
627pub type __int16_t = ::std::os::raw::c_short;
628pub type __uint16_t = ::std::os::raw::c_ushort;
629pub type __int32_t = ::std::os::raw::c_int;
630pub type __uint32_t = ::std::os::raw::c_uint;
631pub type __int64_t = ::std::os::raw::c_longlong;
632pub type __uint64_t = ::std::os::raw::c_ulonglong;
633pub type __darwin_intptr_t = ::std::os::raw::c_long;
634pub type __darwin_natural_t = ::std::os::raw::c_uint;
635pub type __darwin_ct_rune_t = ::std::os::raw::c_int;
636#[repr(C)]
637#[derive(Copy, Clone)]
638pub union __mbstate_t {
639 pub __mbstate8: [::std::os::raw::c_char; 128usize],
640 pub _mbstateL: ::std::os::raw::c_longlong,
641}
642#[allow(clippy::unnecessary_operation, clippy::identity_op)]
643const _: () = {
644 ["Size of __mbstate_t"][::std::mem::size_of::<__mbstate_t>() - 128usize];
645 ["Alignment of __mbstate_t"][::std::mem::align_of::<__mbstate_t>() - 8usize];
646 ["Offset of field: __mbstate_t::__mbstate8"]
647 [::std::mem::offset_of!(__mbstate_t, __mbstate8) - 0usize];
648 ["Offset of field: __mbstate_t::_mbstateL"]
649 [::std::mem::offset_of!(__mbstate_t, _mbstateL) - 0usize];
650};
651pub type __darwin_mbstate_t = __mbstate_t;
652pub type __darwin_ptrdiff_t = ::std::os::raw::c_long;
653pub type __darwin_size_t = ::std::os::raw::c_ulong;
654pub type __darwin_va_list = __builtin_va_list;
655pub type __darwin_wchar_t = ::std::os::raw::c_int;
656pub type __darwin_rune_t = __darwin_wchar_t;
657pub type __darwin_wint_t = ::std::os::raw::c_int;
658pub type __darwin_clock_t = ::std::os::raw::c_ulong;
659pub type __darwin_socklen_t = __uint32_t;
660pub type __darwin_ssize_t = ::std::os::raw::c_long;
661pub type __darwin_time_t = ::std::os::raw::c_long;
662pub type __darwin_blkcnt_t = __int64_t;
663pub type __darwin_blksize_t = __int32_t;
664pub type __darwin_dev_t = __int32_t;
665pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint;
666pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint;
667pub type __darwin_gid_t = __uint32_t;
668pub type __darwin_id_t = __uint32_t;
669pub type __darwin_ino64_t = __uint64_t;
670pub type __darwin_ino_t = __darwin_ino64_t;
671pub type __darwin_mach_port_name_t = __darwin_natural_t;
672pub type __darwin_mach_port_t = __darwin_mach_port_name_t;
673pub type __darwin_mode_t = __uint16_t;
674pub type __darwin_off_t = __int64_t;
675pub type __darwin_pid_t = __int32_t;
676pub type __darwin_sigset_t = __uint32_t;
677pub type __darwin_suseconds_t = __int32_t;
678pub type __darwin_uid_t = __uint32_t;
679pub type __darwin_useconds_t = __uint32_t;
680pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize];
681pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize];
682#[repr(C)]
683#[derive(Debug, Copy, Clone)]
684pub struct __darwin_pthread_handler_rec {
685 pub __routine: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
686 pub __arg: *mut ::std::os::raw::c_void,
687 pub __next: *mut __darwin_pthread_handler_rec,
688}
689#[allow(clippy::unnecessary_operation, clippy::identity_op)]
690const _: () = {
691 ["Size of __darwin_pthread_handler_rec"]
692 [::std::mem::size_of::<__darwin_pthread_handler_rec>() - 24usize];
693 ["Alignment of __darwin_pthread_handler_rec"]
694 [::std::mem::align_of::<__darwin_pthread_handler_rec>() - 8usize];
695 ["Offset of field: __darwin_pthread_handler_rec::__routine"]
696 [::std::mem::offset_of!(__darwin_pthread_handler_rec, __routine) - 0usize];
697 ["Offset of field: __darwin_pthread_handler_rec::__arg"]
698 [::std::mem::offset_of!(__darwin_pthread_handler_rec, __arg) - 8usize];
699 ["Offset of field: __darwin_pthread_handler_rec::__next"]
700 [::std::mem::offset_of!(__darwin_pthread_handler_rec, __next) - 16usize];
701};
702#[repr(C)]
703#[derive(Debug, Copy, Clone)]
704pub struct _opaque_pthread_attr_t {
705 pub __sig: ::std::os::raw::c_long,
706 pub __opaque: [::std::os::raw::c_char; 56usize],
707}
708#[allow(clippy::unnecessary_operation, clippy::identity_op)]
709// Darwin layout (bindgen ran on macOS): c_long is 8 bytes there but 4 on
710// Windows, so this assertion only holds off-Windows. The type is unused by
711// weather (only om_* symbols are), so skipping it on Windows is safe.
712#[cfg(not(target_os = "windows"))]
713const _: () = {
714 ["Size of _opaque_pthread_attr_t"][::std::mem::size_of::<_opaque_pthread_attr_t>() - 64usize];
715 ["Alignment of _opaque_pthread_attr_t"]
716 [::std::mem::align_of::<_opaque_pthread_attr_t>() - 8usize];
717 ["Offset of field: _opaque_pthread_attr_t::__sig"]
718 [::std::mem::offset_of!(_opaque_pthread_attr_t, __sig) - 0usize];
719 ["Offset of field: _opaque_pthread_attr_t::__opaque"]
720 [::std::mem::offset_of!(_opaque_pthread_attr_t, __opaque) - 8usize];
721};
722#[repr(C)]
723#[derive(Debug, Copy, Clone)]
724pub struct _opaque_pthread_cond_t {
725 pub __sig: ::std::os::raw::c_long,
726 pub __opaque: [::std::os::raw::c_char; 40usize],
727}
728#[allow(clippy::unnecessary_operation, clippy::identity_op)]
729// Darwin layout (bindgen ran on macOS): c_long is 8 bytes there but 4 on
730// Windows, so this assertion only holds off-Windows. The type is unused by
731// weather (only om_* symbols are), so skipping it on Windows is safe.
732#[cfg(not(target_os = "windows"))]
733const _: () = {
734 ["Size of _opaque_pthread_cond_t"][::std::mem::size_of::<_opaque_pthread_cond_t>() - 48usize];
735 ["Alignment of _opaque_pthread_cond_t"]
736 [::std::mem::align_of::<_opaque_pthread_cond_t>() - 8usize];
737 ["Offset of field: _opaque_pthread_cond_t::__sig"]
738 [::std::mem::offset_of!(_opaque_pthread_cond_t, __sig) - 0usize];
739 ["Offset of field: _opaque_pthread_cond_t::__opaque"]
740 [::std::mem::offset_of!(_opaque_pthread_cond_t, __opaque) - 8usize];
741};
742#[repr(C)]
743#[derive(Debug, Copy, Clone)]
744pub struct _opaque_pthread_condattr_t {
745 pub __sig: ::std::os::raw::c_long,
746 pub __opaque: [::std::os::raw::c_char; 8usize],
747}
748#[allow(clippy::unnecessary_operation, clippy::identity_op)]
749// Darwin layout (bindgen ran on macOS): c_long is 8 bytes there but 4 on
750// Windows, so this assertion only holds off-Windows. The type is unused by
751// weather (only om_* symbols are), so skipping it on Windows is safe.
752#[cfg(not(target_os = "windows"))]
753const _: () = {
754 ["Size of _opaque_pthread_condattr_t"]
755 [::std::mem::size_of::<_opaque_pthread_condattr_t>() - 16usize];
756 ["Alignment of _opaque_pthread_condattr_t"]
757 [::std::mem::align_of::<_opaque_pthread_condattr_t>() - 8usize];
758 ["Offset of field: _opaque_pthread_condattr_t::__sig"]
759 [::std::mem::offset_of!(_opaque_pthread_condattr_t, __sig) - 0usize];
760 ["Offset of field: _opaque_pthread_condattr_t::__opaque"]
761 [::std::mem::offset_of!(_opaque_pthread_condattr_t, __opaque) - 8usize];
762};
763#[repr(C)]
764#[derive(Debug, Copy, Clone)]
765pub struct _opaque_pthread_mutex_t {
766 pub __sig: ::std::os::raw::c_long,
767 pub __opaque: [::std::os::raw::c_char; 56usize],
768}
769#[allow(clippy::unnecessary_operation, clippy::identity_op)]
770// Darwin layout (bindgen ran on macOS): c_long is 8 bytes there but 4 on
771// Windows, so this assertion only holds off-Windows. The type is unused by
772// weather (only om_* symbols are), so skipping it on Windows is safe.
773#[cfg(not(target_os = "windows"))]
774const _: () = {
775 ["Size of _opaque_pthread_mutex_t"][::std::mem::size_of::<_opaque_pthread_mutex_t>() - 64usize];
776 ["Alignment of _opaque_pthread_mutex_t"]
777 [::std::mem::align_of::<_opaque_pthread_mutex_t>() - 8usize];
778 ["Offset of field: _opaque_pthread_mutex_t::__sig"]
779 [::std::mem::offset_of!(_opaque_pthread_mutex_t, __sig) - 0usize];
780 ["Offset of field: _opaque_pthread_mutex_t::__opaque"]
781 [::std::mem::offset_of!(_opaque_pthread_mutex_t, __opaque) - 8usize];
782};
783#[repr(C)]
784#[derive(Debug, Copy, Clone)]
785pub struct _opaque_pthread_mutexattr_t {
786 pub __sig: ::std::os::raw::c_long,
787 pub __opaque: [::std::os::raw::c_char; 8usize],
788}
789#[allow(clippy::unnecessary_operation, clippy::identity_op)]
790// Darwin layout (bindgen ran on macOS): c_long is 8 bytes there but 4 on
791// Windows, so this assertion only holds off-Windows. The type is unused by
792// weather (only om_* symbols are), so skipping it on Windows is safe.
793#[cfg(not(target_os = "windows"))]
794const _: () = {
795 ["Size of _opaque_pthread_mutexattr_t"]
796 [::std::mem::size_of::<_opaque_pthread_mutexattr_t>() - 16usize];
797 ["Alignment of _opaque_pthread_mutexattr_t"]
798 [::std::mem::align_of::<_opaque_pthread_mutexattr_t>() - 8usize];
799 ["Offset of field: _opaque_pthread_mutexattr_t::__sig"]
800 [::std::mem::offset_of!(_opaque_pthread_mutexattr_t, __sig) - 0usize];
801 ["Offset of field: _opaque_pthread_mutexattr_t::__opaque"]
802 [::std::mem::offset_of!(_opaque_pthread_mutexattr_t, __opaque) - 8usize];
803};
804#[repr(C)]
805#[derive(Debug, Copy, Clone)]
806pub struct _opaque_pthread_once_t {
807 pub __sig: ::std::os::raw::c_long,
808 pub __opaque: [::std::os::raw::c_char; 8usize],
809}
810#[allow(clippy::unnecessary_operation, clippy::identity_op)]
811// Darwin layout (bindgen ran on macOS): c_long is 8 bytes there but 4 on
812// Windows, so this assertion only holds off-Windows. The type is unused by
813// weather (only om_* symbols are), so skipping it on Windows is safe.
814#[cfg(not(target_os = "windows"))]
815const _: () = {
816 ["Size of _opaque_pthread_once_t"][::std::mem::size_of::<_opaque_pthread_once_t>() - 16usize];
817 ["Alignment of _opaque_pthread_once_t"]
818 [::std::mem::align_of::<_opaque_pthread_once_t>() - 8usize];
819 ["Offset of field: _opaque_pthread_once_t::__sig"]
820 [::std::mem::offset_of!(_opaque_pthread_once_t, __sig) - 0usize];
821 ["Offset of field: _opaque_pthread_once_t::__opaque"]
822 [::std::mem::offset_of!(_opaque_pthread_once_t, __opaque) - 8usize];
823};
824#[repr(C)]
825#[derive(Debug, Copy, Clone)]
826pub struct _opaque_pthread_rwlock_t {
827 pub __sig: ::std::os::raw::c_long,
828 pub __opaque: [::std::os::raw::c_char; 192usize],
829}
830#[allow(clippy::unnecessary_operation, clippy::identity_op)]
831// Darwin layout (bindgen ran on macOS): c_long is 8 bytes there but 4 on
832// Windows, so this assertion only holds off-Windows. The type is unused by
833// weather (only om_* symbols are), so skipping it on Windows is safe.
834#[cfg(not(target_os = "windows"))]
835const _: () = {
836 ["Size of _opaque_pthread_rwlock_t"]
837 [::std::mem::size_of::<_opaque_pthread_rwlock_t>() - 200usize];
838 ["Alignment of _opaque_pthread_rwlock_t"]
839 [::std::mem::align_of::<_opaque_pthread_rwlock_t>() - 8usize];
840 ["Offset of field: _opaque_pthread_rwlock_t::__sig"]
841 [::std::mem::offset_of!(_opaque_pthread_rwlock_t, __sig) - 0usize];
842 ["Offset of field: _opaque_pthread_rwlock_t::__opaque"]
843 [::std::mem::offset_of!(_opaque_pthread_rwlock_t, __opaque) - 8usize];
844};
845#[repr(C)]
846#[derive(Debug, Copy, Clone)]
847pub struct _opaque_pthread_rwlockattr_t {
848 pub __sig: ::std::os::raw::c_long,
849 pub __opaque: [::std::os::raw::c_char; 16usize],
850}
851#[allow(clippy::unnecessary_operation, clippy::identity_op)]
852// Darwin layout (bindgen ran on macOS): c_long is 8 bytes there but 4 on
853// Windows, so this assertion only holds off-Windows. The type is unused by
854// weather (only om_* symbols are), so skipping it on Windows is safe.
855#[cfg(not(target_os = "windows"))]
856const _: () = {
857 ["Size of _opaque_pthread_rwlockattr_t"]
858 [::std::mem::size_of::<_opaque_pthread_rwlockattr_t>() - 24usize];
859 ["Alignment of _opaque_pthread_rwlockattr_t"]
860 [::std::mem::align_of::<_opaque_pthread_rwlockattr_t>() - 8usize];
861 ["Offset of field: _opaque_pthread_rwlockattr_t::__sig"]
862 [::std::mem::offset_of!(_opaque_pthread_rwlockattr_t, __sig) - 0usize];
863 ["Offset of field: _opaque_pthread_rwlockattr_t::__opaque"]
864 [::std::mem::offset_of!(_opaque_pthread_rwlockattr_t, __opaque) - 8usize];
865};
866#[repr(C)]
867#[derive(Debug, Copy, Clone)]
868pub struct _opaque_pthread_t {
869 pub __sig: ::std::os::raw::c_long,
870 pub __cleanup_stack: *mut __darwin_pthread_handler_rec,
871 pub __opaque: [::std::os::raw::c_char; 8176usize],
872}
873#[allow(clippy::unnecessary_operation, clippy::identity_op)]
874const _: () = {
875 ["Size of _opaque_pthread_t"][::std::mem::size_of::<_opaque_pthread_t>() - 8192usize];
876 ["Alignment of _opaque_pthread_t"][::std::mem::align_of::<_opaque_pthread_t>() - 8usize];
877 ["Offset of field: _opaque_pthread_t::__sig"]
878 [::std::mem::offset_of!(_opaque_pthread_t, __sig) - 0usize];
879 ["Offset of field: _opaque_pthread_t::__cleanup_stack"]
880 [::std::mem::offset_of!(_opaque_pthread_t, __cleanup_stack) - 8usize];
881 ["Offset of field: _opaque_pthread_t::__opaque"]
882 [::std::mem::offset_of!(_opaque_pthread_t, __opaque) - 16usize];
883};
884pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t;
885pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t;
886pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t;
887pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong;
888pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t;
889pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t;
890pub type __darwin_pthread_once_t = _opaque_pthread_once_t;
891pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t;
892pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t;
893pub type __darwin_pthread_t = *mut _opaque_pthread_t;
894pub type intmax_t = ::std::os::raw::c_long;
895pub type uintmax_t = ::std::os::raw::c_ulong;
896pub type rsize_t = ::std::os::raw::c_ulong;
897pub type wchar_t = ::std::os::raw::c_int;
898pub type max_align_t = f64;
899unsafe extern "C" {
900 pub fn p4nenc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
901}
902unsafe extern "C" {
903 pub fn p4nenc16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
904}
905unsafe extern "C" {
906 pub fn p4nenc32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
907}
908unsafe extern "C" {
909 pub fn p4nenc64(in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
910}
911unsafe extern "C" {
912 pub fn p4nenc128v16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
913}
914unsafe extern "C" {
915 pub fn p4nenc128v32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
916}
917unsafe extern "C" {
918 pub fn p4nenc128v64(in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
919}
920unsafe extern "C" {
921 pub fn p4nenc256w32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
922}
923unsafe extern "C" {
924 pub fn p4nenc256v32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
925}
926unsafe extern "C" {
927 pub fn p4ndenc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
928}
929unsafe extern "C" {
930 pub fn p4ndenc16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
931}
932unsafe extern "C" {
933 pub fn p4ndenc32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
934}
935unsafe extern "C" {
936 pub fn p4ndenc128v16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
937}
938unsafe extern "C" {
939 pub fn p4ndenc128v32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
940}
941unsafe extern "C" {
942 pub fn p4ndenc256v32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
943}
944unsafe extern "C" {
945 pub fn p4ndenc64(in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
946}
947unsafe extern "C" {
948 pub fn p4nd1enc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
949}
950unsafe extern "C" {
951 pub fn p4nd1enc16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
952}
953unsafe extern "C" {
954 pub fn p4nd1enc32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
955}
956unsafe extern "C" {
957 pub fn p4nd1enc128v16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
958}
959unsafe extern "C" {
960 pub fn p4nd1enc128v32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
961}
962unsafe extern "C" {
963 pub fn p4nd1enc256v32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
964}
965unsafe extern "C" {
966 pub fn p4nd1enc64(in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
967}
968unsafe extern "C" {
969 pub fn p4nzenc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
970}
971unsafe extern "C" {
972 pub fn p4nzenc16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
973}
974unsafe extern "C" {
975 pub fn p4nzenc32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
976}
977unsafe extern "C" {
978 pub fn p4nzenc128v16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
979}
980unsafe extern "C" {
981 pub fn p4nzenc128v32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
982}
983unsafe extern "C" {
984 pub fn p4nzenc256v32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
985}
986unsafe extern "C" {
987 pub fn p4nzenc64(in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
988}
989unsafe extern "C" {
990 pub fn p4ndec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8) -> usize;
991}
992unsafe extern "C" {
993 pub fn p4ndec16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize;
994}
995unsafe extern "C" {
996 pub fn p4ndec32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize;
997}
998unsafe extern "C" {
999 pub fn p4ndec64(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64) -> usize;
1000}
1001unsafe extern "C" {
1002 pub fn p4ndec128v16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize;
1003}
1004unsafe extern "C" {
1005 pub fn p4ndec128v32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize;
1006}
1007unsafe extern "C" {
1008 pub fn p4ndec128v64(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64) -> usize;
1009}
1010unsafe extern "C" {
1011 pub fn p4ndec256v32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize;
1012}
1013unsafe extern "C" {
1014 pub fn p4nddec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8) -> usize;
1015}
1016unsafe extern "C" {
1017 pub fn p4nddec16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize;
1018}
1019unsafe extern "C" {
1020 pub fn p4nddec32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize;
1021}
1022unsafe extern "C" {
1023 pub fn p4nddec128v16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize;
1024}
1025unsafe extern "C" {
1026 pub fn p4nddec128v32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize;
1027}
1028unsafe extern "C" {
1029 pub fn p4nddec256w32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize;
1030}
1031unsafe extern "C" {
1032 pub fn p4nddec256v32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize;
1033}
1034unsafe extern "C" {
1035 pub fn p4nddec64(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64) -> usize;
1036}
1037unsafe extern "C" {
1038 pub fn p4nd1dec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8) -> usize;
1039}
1040unsafe extern "C" {
1041 pub fn p4nd1dec16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize;
1042}
1043unsafe extern "C" {
1044 pub fn p4nd1dec32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize;
1045}
1046unsafe extern "C" {
1047 pub fn p4nd1dec128v16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize;
1048}
1049unsafe extern "C" {
1050 pub fn p4nd1dec128v32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize;
1051}
1052unsafe extern "C" {
1053 pub fn p4nd1dec256v32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize;
1054}
1055unsafe extern "C" {
1056 pub fn p4nd1dec64(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64) -> usize;
1057}
1058unsafe extern "C" {
1059 pub fn p4nzdec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8) -> usize;
1060}
1061unsafe extern "C" {
1062 pub fn p4nzdec16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize;
1063}
1064unsafe extern "C" {
1065 pub fn p4nzdec32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize;
1066}
1067unsafe extern "C" {
1068 pub fn p4nzdec128v16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize;
1069}
1070unsafe extern "C" {
1071 pub fn p4nzdec128v32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize;
1072}
1073unsafe extern "C" {
1074 pub fn p4nzdec256v32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize;
1075}
1076unsafe extern "C" {
1077 pub fn p4nzdec64(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64) -> usize;
1078}
1079unsafe extern "C" {
1080 pub fn p4enc8(
1081 in_: *mut u8,
1082 n: ::std::os::raw::c_uint,
1083 out: *mut ::std::os::raw::c_uchar,
1084 ) -> *mut ::std::os::raw::c_uchar;
1085}
1086unsafe extern "C" {
1087 pub fn p4enc16(
1088 in_: *mut u16,
1089 n: ::std::os::raw::c_uint,
1090 out: *mut ::std::os::raw::c_uchar,
1091 ) -> *mut ::std::os::raw::c_uchar;
1092}
1093unsafe extern "C" {
1094 pub fn p4enc32(
1095 in_: *mut u32,
1096 n: ::std::os::raw::c_uint,
1097 out: *mut ::std::os::raw::c_uchar,
1098 ) -> *mut ::std::os::raw::c_uchar;
1099}
1100unsafe extern "C" {
1101 pub fn p4enc128v16(
1102 in_: *mut u16,
1103 n: ::std::os::raw::c_uint,
1104 out: *mut ::std::os::raw::c_uchar,
1105 ) -> *mut ::std::os::raw::c_uchar;
1106}
1107unsafe extern "C" {
1108 pub fn p4enc128v32(
1109 in_: *mut u32,
1110 n: ::std::os::raw::c_uint,
1111 out: *mut ::std::os::raw::c_uchar,
1112 ) -> *mut ::std::os::raw::c_uchar;
1113}
1114unsafe extern "C" {
1115 pub fn p4enc128v64(
1116 in_: *mut u64,
1117 n: ::std::os::raw::c_uint,
1118 out: *mut ::std::os::raw::c_uchar,
1119 ) -> *mut ::std::os::raw::c_uchar;
1120}
1121unsafe extern "C" {
1122 pub fn p4enc256v32(
1123 in_: *mut u32,
1124 n: ::std::os::raw::c_uint,
1125 out: *mut ::std::os::raw::c_uchar,
1126 ) -> *mut ::std::os::raw::c_uchar;
1127}
1128unsafe extern "C" {
1129 pub fn p4enc64(
1130 in_: *mut u64,
1131 n: ::std::os::raw::c_uint,
1132 out: *mut ::std::os::raw::c_uchar,
1133 ) -> *mut ::std::os::raw::c_uchar;
1134}
1135unsafe extern "C" {
1136 pub fn p4enc256w32(
1137 in_: *mut u32,
1138 n: ::std::os::raw::c_uint,
1139 out: *mut ::std::os::raw::c_uchar,
1140 ) -> *mut ::std::os::raw::c_uchar;
1141}
1142unsafe extern "C" {
1143 pub fn p4encx8(
1144 in_: *mut u8,
1145 n: ::std::os::raw::c_uint,
1146 out: *mut ::std::os::raw::c_uchar,
1147 ) -> *mut ::std::os::raw::c_uchar;
1148}
1149unsafe extern "C" {
1150 pub fn p4encx16(
1151 in_: *mut u16,
1152 n: ::std::os::raw::c_uint,
1153 out: *mut ::std::os::raw::c_uchar,
1154 ) -> *mut ::std::os::raw::c_uchar;
1155}
1156unsafe extern "C" {
1157 pub fn p4encx32(
1158 in_: *mut u32,
1159 n: ::std::os::raw::c_uint,
1160 out: *mut ::std::os::raw::c_uchar,
1161 ) -> *mut ::std::os::raw::c_uchar;
1162}
1163unsafe extern "C" {
1164 pub fn p4encx64(
1165 in_: *mut u64,
1166 n: ::std::os::raw::c_uint,
1167 out: *mut ::std::os::raw::c_uchar,
1168 ) -> *mut ::std::os::raw::c_uchar;
1169}
1170unsafe extern "C" {
1171 pub fn p4denc8(
1172 in_: *mut u8,
1173 n: ::std::os::raw::c_uint,
1174 out: *mut ::std::os::raw::c_uchar,
1175 start: u8,
1176 ) -> *mut ::std::os::raw::c_uchar;
1177}
1178unsafe extern "C" {
1179 pub fn p4denc16(
1180 in_: *mut u16,
1181 n: ::std::os::raw::c_uint,
1182 out: *mut ::std::os::raw::c_uchar,
1183 start: u16,
1184 ) -> *mut ::std::os::raw::c_uchar;
1185}
1186unsafe extern "C" {
1187 pub fn p4denc32(
1188 in_: *mut u32,
1189 n: ::std::os::raw::c_uint,
1190 out: *mut ::std::os::raw::c_uchar,
1191 start: u32,
1192 ) -> *mut ::std::os::raw::c_uchar;
1193}
1194unsafe extern "C" {
1195 pub fn p4denc128v16(
1196 in_: *mut u16,
1197 n: ::std::os::raw::c_uint,
1198 out: *mut ::std::os::raw::c_uchar,
1199 start: u16,
1200 ) -> *mut ::std::os::raw::c_uchar;
1201}
1202unsafe extern "C" {
1203 pub fn p4denc128v32(
1204 in_: *mut u32,
1205 n: ::std::os::raw::c_uint,
1206 out: *mut ::std::os::raw::c_uchar,
1207 start: u32,
1208 ) -> *mut ::std::os::raw::c_uchar;
1209}
1210unsafe extern "C" {
1211 pub fn p4denc256v32(
1212 in_: *mut u32,
1213 n: ::std::os::raw::c_uint,
1214 out: *mut ::std::os::raw::c_uchar,
1215 start: u32,
1216 ) -> *mut ::std::os::raw::c_uchar;
1217}
1218unsafe extern "C" {
1219 pub fn p4denc64(
1220 in_: *mut u64,
1221 n: ::std::os::raw::c_uint,
1222 out: *mut ::std::os::raw::c_uchar,
1223 start: u64,
1224 ) -> *mut ::std::os::raw::c_uchar;
1225}
1226unsafe extern "C" {
1227 pub fn p4denc256w32(
1228 in_: *mut u32,
1229 n: ::std::os::raw::c_uint,
1230 out: *mut ::std::os::raw::c_uchar,
1231 start: u32,
1232 ) -> *mut ::std::os::raw::c_uchar;
1233}
1234unsafe extern "C" {
1235 pub fn p4dencx8(
1236 in_: *mut u8,
1237 n: ::std::os::raw::c_uint,
1238 out: *mut ::std::os::raw::c_uchar,
1239 start: u8,
1240 ) -> *mut ::std::os::raw::c_uchar;
1241}
1242unsafe extern "C" {
1243 pub fn p4dencx16(
1244 in_: *mut u16,
1245 n: ::std::os::raw::c_uint,
1246 out: *mut ::std::os::raw::c_uchar,
1247 start: u16,
1248 ) -> *mut ::std::os::raw::c_uchar;
1249}
1250unsafe extern "C" {
1251 pub fn p4dencx32(
1252 in_: *mut ::std::os::raw::c_uint,
1253 n: ::std::os::raw::c_uint,
1254 out: *mut ::std::os::raw::c_uchar,
1255 start: u32,
1256 ) -> *mut ::std::os::raw::c_uchar;
1257}
1258unsafe extern "C" {
1259 pub fn p4d1enc8(
1260 in_: *mut u8,
1261 n: ::std::os::raw::c_uint,
1262 out: *mut ::std::os::raw::c_uchar,
1263 start: u8,
1264 ) -> *mut ::std::os::raw::c_uchar;
1265}
1266unsafe extern "C" {
1267 pub fn p4d1enc16(
1268 in_: *mut u16,
1269 n: ::std::os::raw::c_uint,
1270 out: *mut ::std::os::raw::c_uchar,
1271 start: u16,
1272 ) -> *mut ::std::os::raw::c_uchar;
1273}
1274unsafe extern "C" {
1275 pub fn p4d1enc32(
1276 in_: *mut u32,
1277 n: ::std::os::raw::c_uint,
1278 out: *mut ::std::os::raw::c_uchar,
1279 start: u32,
1280 ) -> *mut ::std::os::raw::c_uchar;
1281}
1282unsafe extern "C" {
1283 pub fn p4d1enc128v16(
1284 in_: *mut u16,
1285 n: ::std::os::raw::c_uint,
1286 out: *mut ::std::os::raw::c_uchar,
1287 start: u16,
1288 ) -> *mut ::std::os::raw::c_uchar;
1289}
1290unsafe extern "C" {
1291 pub fn p4d1enc128v32(
1292 in_: *mut u32,
1293 n: ::std::os::raw::c_uint,
1294 out: *mut ::std::os::raw::c_uchar,
1295 start: u32,
1296 ) -> *mut ::std::os::raw::c_uchar;
1297}
1298unsafe extern "C" {
1299 pub fn p4d1enc256v32(
1300 in_: *mut u32,
1301 n: ::std::os::raw::c_uint,
1302 out: *mut ::std::os::raw::c_uchar,
1303 start: u32,
1304 ) -> *mut ::std::os::raw::c_uchar;
1305}
1306unsafe extern "C" {
1307 pub fn p4d1enc64(
1308 in_: *mut u64,
1309 n: ::std::os::raw::c_uint,
1310 out: *mut ::std::os::raw::c_uchar,
1311 start: u64,
1312 ) -> *mut ::std::os::raw::c_uchar;
1313}
1314unsafe extern "C" {
1315 pub fn p4d1encx8(
1316 in_: *mut u8,
1317 n: ::std::os::raw::c_uint,
1318 out: *mut ::std::os::raw::c_uchar,
1319 start: u8,
1320 ) -> *mut ::std::os::raw::c_uchar;
1321}
1322unsafe extern "C" {
1323 pub fn p4d1encx16(
1324 in_: *mut u16,
1325 n: ::std::os::raw::c_uint,
1326 out: *mut ::std::os::raw::c_uchar,
1327 start: u16,
1328 ) -> *mut ::std::os::raw::c_uchar;
1329}
1330unsafe extern "C" {
1331 pub fn p4d1encx32(
1332 in_: *mut u32,
1333 n: ::std::os::raw::c_uint,
1334 out: *mut ::std::os::raw::c_uchar,
1335 start: u32,
1336 ) -> *mut ::std::os::raw::c_uchar;
1337}
1338unsafe extern "C" {
1339 pub fn p4zenc8(
1340 in_: *mut u8,
1341 n: ::std::os::raw::c_uint,
1342 out: *mut ::std::os::raw::c_uchar,
1343 start: u8,
1344 ) -> *mut ::std::os::raw::c_uchar;
1345}
1346unsafe extern "C" {
1347 pub fn p4zenc16(
1348 in_: *mut u16,
1349 n: ::std::os::raw::c_uint,
1350 out: *mut ::std::os::raw::c_uchar,
1351 start: u16,
1352 ) -> *mut ::std::os::raw::c_uchar;
1353}
1354unsafe extern "C" {
1355 pub fn p4zenc32(
1356 in_: *mut u32,
1357 n: ::std::os::raw::c_uint,
1358 out: *mut ::std::os::raw::c_uchar,
1359 start: u32,
1360 ) -> *mut ::std::os::raw::c_uchar;
1361}
1362unsafe extern "C" {
1363 pub fn p4zenc128v16(
1364 in_: *mut u16,
1365 n: ::std::os::raw::c_uint,
1366 out: *mut ::std::os::raw::c_uchar,
1367 start: u16,
1368 ) -> *mut ::std::os::raw::c_uchar;
1369}
1370unsafe extern "C" {
1371 pub fn p4zenc128v32(
1372 in_: *mut u32,
1373 n: ::std::os::raw::c_uint,
1374 out: *mut ::std::os::raw::c_uchar,
1375 start: u32,
1376 ) -> *mut ::std::os::raw::c_uchar;
1377}
1378unsafe extern "C" {
1379 pub fn p4zenc256v32(
1380 in_: *mut u32,
1381 n: ::std::os::raw::c_uint,
1382 out: *mut ::std::os::raw::c_uchar,
1383 start: u32,
1384 ) -> *mut ::std::os::raw::c_uchar;
1385}
1386unsafe extern "C" {
1387 pub fn p4zenc64(
1388 in_: *mut u64,
1389 n: ::std::os::raw::c_uint,
1390 out: *mut ::std::os::raw::c_uchar,
1391 start: u64,
1392 ) -> *mut ::std::os::raw::c_uchar;
1393}
1394unsafe extern "C" {
1395 pub fn p4senc16(
1396 in_: *mut u16,
1397 n: ::std::os::raw::c_uint,
1398 out: *mut ::std::os::raw::c_uchar,
1399 start: u16,
1400 ) -> *mut ::std::os::raw::c_uchar;
1401}
1402unsafe extern "C" {
1403 pub fn p4senc32(
1404 in_: *mut u32,
1405 n: ::std::os::raw::c_uint,
1406 out: *mut ::std::os::raw::c_uchar,
1407 start: u32,
1408 ) -> *mut ::std::os::raw::c_uchar;
1409}
1410unsafe extern "C" {
1411 pub fn p4senc64(
1412 in_: *mut u64,
1413 n: ::std::os::raw::c_uint,
1414 out: *mut ::std::os::raw::c_uchar,
1415 start: u64,
1416 ) -> *mut ::std::os::raw::c_uchar;
1417}
1418unsafe extern "C" {
1419 pub fn p4sdec16(
1420 in_: *mut ::std::os::raw::c_uchar,
1421 n: ::std::os::raw::c_uint,
1422 out: *mut u16,
1423 start: u16,
1424 ) -> *mut ::std::os::raw::c_uchar;
1425}
1426unsafe extern "C" {
1427 pub fn p4sdec32(
1428 in_: *mut ::std::os::raw::c_uchar,
1429 n: ::std::os::raw::c_uint,
1430 out: *mut u32,
1431 start: u32,
1432 ) -> *mut ::std::os::raw::c_uchar;
1433}
1434unsafe extern "C" {
1435 pub fn p4sdec64(
1436 in_: *mut ::std::os::raw::c_uchar,
1437 n: ::std::os::raw::c_uint,
1438 out: *mut u64,
1439 start: u64,
1440 ) -> *mut ::std::os::raw::c_uchar;
1441}
1442unsafe extern "C" {
1443 pub fn p4nsenc16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
1444}
1445unsafe extern "C" {
1446 pub fn p4nsenc32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
1447}
1448unsafe extern "C" {
1449 pub fn p4nsenc64(in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize;
1450}
1451unsafe extern "C" {
1452 pub fn p4nsdec16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize;
1453}
1454unsafe extern "C" {
1455 pub fn p4nsdec32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize;
1456}
1457unsafe extern "C" {
1458 pub fn p4nsdec64(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64) -> usize;
1459}
1460unsafe extern "C" {
1461 pub fn _p4enc8(
1462 in_: *mut u8,
1463 n: ::std::os::raw::c_uint,
1464 out: *mut ::std::os::raw::c_uchar,
1465 b: ::std::os::raw::c_uint,
1466 bx: ::std::os::raw::c_uint,
1467 ) -> *mut ::std::os::raw::c_uchar;
1468}
1469unsafe extern "C" {
1470 pub fn _p4enc16(
1471 in_: *mut u16,
1472 n: ::std::os::raw::c_uint,
1473 out: *mut ::std::os::raw::c_uchar,
1474 b: ::std::os::raw::c_uint,
1475 bx: ::std::os::raw::c_uint,
1476 ) -> *mut ::std::os::raw::c_uchar;
1477}
1478unsafe extern "C" {
1479 pub fn _p4enc32(
1480 in_: *mut u32,
1481 n: ::std::os::raw::c_uint,
1482 out: *mut ::std::os::raw::c_uchar,
1483 b: ::std::os::raw::c_uint,
1484 bx: ::std::os::raw::c_uint,
1485 ) -> *mut ::std::os::raw::c_uchar;
1486}
1487unsafe extern "C" {
1488 pub fn _p4enc128v16(
1489 in_: *mut u16,
1490 n: ::std::os::raw::c_uint,
1491 out: *mut ::std::os::raw::c_uchar,
1492 b: ::std::os::raw::c_uint,
1493 bx: ::std::os::raw::c_uint,
1494 ) -> *mut ::std::os::raw::c_uchar;
1495}
1496unsafe extern "C" {
1497 pub fn _p4enc128v32(
1498 in_: *mut u32,
1499 n: ::std::os::raw::c_uint,
1500 out: *mut ::std::os::raw::c_uchar,
1501 b: ::std::os::raw::c_uint,
1502 bx: ::std::os::raw::c_uint,
1503 ) -> *mut ::std::os::raw::c_uchar;
1504}
1505unsafe extern "C" {
1506 pub fn _p4enc128v64(
1507 in_: *mut u64,
1508 n: ::std::os::raw::c_uint,
1509 out: *mut ::std::os::raw::c_uchar,
1510 b: ::std::os::raw::c_uint,
1511 bx: ::std::os::raw::c_uint,
1512 ) -> *mut ::std::os::raw::c_uchar;
1513}
1514unsafe extern "C" {
1515 pub fn _p4enc256v32(
1516 in_: *mut u32,
1517 n: ::std::os::raw::c_uint,
1518 out: *mut ::std::os::raw::c_uchar,
1519 b: ::std::os::raw::c_uint,
1520 bx: ::std::os::raw::c_uint,
1521 ) -> *mut ::std::os::raw::c_uchar;
1522}
1523unsafe extern "C" {
1524 pub fn _p4enc64(
1525 in_: *mut u64,
1526 n: ::std::os::raw::c_uint,
1527 out: *mut ::std::os::raw::c_uchar,
1528 b: ::std::os::raw::c_uint,
1529 bx: ::std::os::raw::c_uint,
1530 ) -> *mut ::std::os::raw::c_uchar;
1531}
1532unsafe extern "C" {
1533 pub fn _p4bits8(
1534 in_: *mut u8,
1535 n: ::std::os::raw::c_uint,
1536 pbx: *mut ::std::os::raw::c_uint,
1537 ) -> ::std::os::raw::c_uint;
1538}
1539unsafe extern "C" {
1540 pub fn _p4bits16(
1541 in_: *mut u16,
1542 n: ::std::os::raw::c_uint,
1543 pbx: *mut ::std::os::raw::c_uint,
1544 ) -> ::std::os::raw::c_uint;
1545}
1546unsafe extern "C" {
1547 pub fn _p4bits32(
1548 in_: *mut u32,
1549 n: ::std::os::raw::c_uint,
1550 pbx: *mut ::std::os::raw::c_uint,
1551 ) -> ::std::os::raw::c_uint;
1552}
1553unsafe extern "C" {
1554 pub fn _p4bits64(
1555 in_: *mut u64,
1556 n: ::std::os::raw::c_uint,
1557 pbx: *mut ::std::os::raw::c_uint,
1558 ) -> ::std::os::raw::c_uint;
1559}
1560unsafe extern "C" {
1561 pub fn _p4bitsx8(
1562 in_: *mut u8,
1563 n: ::std::os::raw::c_uint,
1564 pbx: *mut ::std::os::raw::c_uint,
1565 ) -> ::std::os::raw::c_uint;
1566}
1567unsafe extern "C" {
1568 pub fn _p4bitsx16(
1569 in_: *mut u16,
1570 n: ::std::os::raw::c_uint,
1571 pbx: *mut ::std::os::raw::c_uint,
1572 ) -> ::std::os::raw::c_uint;
1573}
1574unsafe extern "C" {
1575 pub fn _p4bitsx32(
1576 in_: *mut u32,
1577 n: ::std::os::raw::c_uint,
1578 pbx: *mut ::std::os::raw::c_uint,
1579 ) -> ::std::os::raw::c_uint;
1580}
1581unsafe extern "C" {
1582 pub fn _p4bitsx64(
1583 in_: *mut u64,
1584 n: ::std::os::raw::c_uint,
1585 pbx: *mut ::std::os::raw::c_uint,
1586 ) -> ::std::os::raw::c_uint;
1587}
1588unsafe extern "C" {
1589 pub fn _p4dec8(
1590 in_: *mut ::std::os::raw::c_uchar,
1591 n: ::std::os::raw::c_uint,
1592 out: *mut u8,
1593 b: ::std::os::raw::c_uint,
1594 bx: ::std::os::raw::c_uint,
1595 ) -> *mut ::std::os::raw::c_uchar;
1596}
1597unsafe extern "C" {
1598 pub fn _p4dec16(
1599 in_: *mut ::std::os::raw::c_uchar,
1600 n: ::std::os::raw::c_uint,
1601 out: *mut u16,
1602 b: ::std::os::raw::c_uint,
1603 bx: ::std::os::raw::c_uint,
1604 ) -> *mut ::std::os::raw::c_uchar;
1605}
1606unsafe extern "C" {
1607 pub fn _p4dec32(
1608 in_: *mut ::std::os::raw::c_uchar,
1609 n: ::std::os::raw::c_uint,
1610 out: *mut u32,
1611 b: ::std::os::raw::c_uint,
1612 bx: ::std::os::raw::c_uint,
1613 ) -> *mut ::std::os::raw::c_uchar;
1614}
1615unsafe extern "C" {
1616 pub fn _p4dec128v16(
1617 in_: *mut ::std::os::raw::c_uchar,
1618 n: ::std::os::raw::c_uint,
1619 out: *mut u16,
1620 b: ::std::os::raw::c_uint,
1621 bx: ::std::os::raw::c_uint,
1622 ) -> *mut ::std::os::raw::c_uchar;
1623}
1624unsafe extern "C" {
1625 pub fn _p4dec128v32(
1626 in_: *mut ::std::os::raw::c_uchar,
1627 n: ::std::os::raw::c_uint,
1628 out: *mut u32,
1629 b: ::std::os::raw::c_uint,
1630 bx: ::std::os::raw::c_uint,
1631 ) -> *mut ::std::os::raw::c_uchar;
1632}
1633unsafe extern "C" {
1634 pub fn _p4dec128v64(
1635 in_: *mut ::std::os::raw::c_uchar,
1636 n: ::std::os::raw::c_uint,
1637 out: *mut u64,
1638 b: ::std::os::raw::c_uint,
1639 bx: ::std::os::raw::c_uint,
1640 ) -> *mut ::std::os::raw::c_uchar;
1641}
1642unsafe extern "C" {
1643 pub fn _p4dec64(
1644 in_: *mut ::std::os::raw::c_uchar,
1645 n: ::std::os::raw::c_uint,
1646 out: *mut u64,
1647 b: ::std::os::raw::c_uint,
1648 bx: ::std::os::raw::c_uint,
1649 ) -> *mut ::std::os::raw::c_uchar;
1650}
1651unsafe extern "C" {
1652 pub fn p4dec8(
1653 in_: *mut ::std::os::raw::c_uchar,
1654 n: ::std::os::raw::c_uint,
1655 out: *mut u8,
1656 ) -> *mut ::std::os::raw::c_uchar;
1657}
1658unsafe extern "C" {
1659 pub fn p4dec16(
1660 in_: *mut ::std::os::raw::c_uchar,
1661 n: ::std::os::raw::c_uint,
1662 out: *mut u16,
1663 ) -> *mut ::std::os::raw::c_uchar;
1664}
1665unsafe extern "C" {
1666 pub fn p4dec32(
1667 in_: *mut ::std::os::raw::c_uchar,
1668 n: ::std::os::raw::c_uint,
1669 out: *mut u32,
1670 ) -> *mut ::std::os::raw::c_uchar;
1671}
1672unsafe extern "C" {
1673 pub fn p4dec128v16(
1674 in_: *mut ::std::os::raw::c_uchar,
1675 n: ::std::os::raw::c_uint,
1676 out: *mut u16,
1677 ) -> *mut ::std::os::raw::c_uchar;
1678}
1679unsafe extern "C" {
1680 pub fn p4dec128v32(
1681 in_: *mut ::std::os::raw::c_uchar,
1682 n: ::std::os::raw::c_uint,
1683 out: *mut u32,
1684 ) -> *mut ::std::os::raw::c_uchar;
1685}
1686unsafe extern "C" {
1687 pub fn p4dec128v64(
1688 in_: *mut ::std::os::raw::c_uchar,
1689 n: ::std::os::raw::c_uint,
1690 out: *mut u64,
1691 ) -> *mut ::std::os::raw::c_uchar;
1692}
1693unsafe extern "C" {
1694 pub fn p4dec256v32(
1695 in_: *mut ::std::os::raw::c_uchar,
1696 n: ::std::os::raw::c_uint,
1697 out: *mut u32,
1698 ) -> *mut ::std::os::raw::c_uchar;
1699}
1700unsafe extern "C" {
1701 pub fn p4dec64(
1702 in_: *mut ::std::os::raw::c_uchar,
1703 n: ::std::os::raw::c_uint,
1704 out: *mut u64,
1705 ) -> *mut ::std::os::raw::c_uchar;
1706}
1707unsafe extern "C" {
1708 pub fn _p4ddec8(
1709 in_: *mut ::std::os::raw::c_uchar,
1710 n: ::std::os::raw::c_uint,
1711 out: *mut u8,
1712 start: u8,
1713 b: ::std::os::raw::c_uint,
1714 bx: ::std::os::raw::c_uint,
1715 ) -> *mut ::std::os::raw::c_uchar;
1716}
1717unsafe extern "C" {
1718 pub fn _p4ddec16(
1719 in_: *mut ::std::os::raw::c_uchar,
1720 n: ::std::os::raw::c_uint,
1721 out: *mut u16,
1722 start: u16,
1723 b: ::std::os::raw::c_uint,
1724 bx: ::std::os::raw::c_uint,
1725 ) -> *mut ::std::os::raw::c_uchar;
1726}
1727unsafe extern "C" {
1728 pub fn _p4ddec32(
1729 in_: *mut ::std::os::raw::c_uchar,
1730 n: ::std::os::raw::c_uint,
1731 out: *mut u32,
1732 start: u32,
1733 b: ::std::os::raw::c_uint,
1734 bx: ::std::os::raw::c_uint,
1735 ) -> *mut ::std::os::raw::c_uchar;
1736}
1737unsafe extern "C" {
1738 pub fn _p4ddec128v16(
1739 in_: *mut ::std::os::raw::c_uchar,
1740 n: ::std::os::raw::c_uint,
1741 out: *mut u16,
1742 start: u16,
1743 b: ::std::os::raw::c_uint,
1744 bx: ::std::os::raw::c_uint,
1745 ) -> *mut ::std::os::raw::c_uchar;
1746}
1747unsafe extern "C" {
1748 pub fn _p4ddec128v32(
1749 in_: *mut ::std::os::raw::c_uchar,
1750 n: ::std::os::raw::c_uint,
1751 out: *mut u32,
1752 start: u32,
1753 b: ::std::os::raw::c_uint,
1754 bx: ::std::os::raw::c_uint,
1755 ) -> *mut ::std::os::raw::c_uchar;
1756}
1757unsafe extern "C" {
1758 pub fn _p4ddec256v32(
1759 in_: *mut ::std::os::raw::c_uchar,
1760 n: ::std::os::raw::c_uint,
1761 out: *mut u32,
1762 start: u32,
1763 b: ::std::os::raw::c_uint,
1764 bx: ::std::os::raw::c_uint,
1765 ) -> *mut ::std::os::raw::c_uchar;
1766}
1767unsafe extern "C" {
1768 pub fn _p4ddec64(
1769 in_: *mut ::std::os::raw::c_uchar,
1770 n: ::std::os::raw::c_uint,
1771 out: *mut u64,
1772 start: u64,
1773 b: ::std::os::raw::c_uint,
1774 bx: ::std::os::raw::c_uint,
1775 ) -> *mut ::std::os::raw::c_uchar;
1776}
1777unsafe extern "C" {
1778 pub fn p4ddec8(
1779 in_: *mut ::std::os::raw::c_uchar,
1780 n: ::std::os::raw::c_uint,
1781 out: *mut u8,
1782 start: u8,
1783 ) -> *mut ::std::os::raw::c_uchar;
1784}
1785unsafe extern "C" {
1786 pub fn p4ddec16(
1787 in_: *mut ::std::os::raw::c_uchar,
1788 n: ::std::os::raw::c_uint,
1789 out: *mut u16,
1790 start: u16,
1791 ) -> *mut ::std::os::raw::c_uchar;
1792}
1793unsafe extern "C" {
1794 pub fn p4ddec32(
1795 in_: *mut ::std::os::raw::c_uchar,
1796 n: ::std::os::raw::c_uint,
1797 out: *mut u32,
1798 start: u32,
1799 ) -> *mut ::std::os::raw::c_uchar;
1800}
1801unsafe extern "C" {
1802 pub fn p4ddec128v16(
1803 in_: *mut ::std::os::raw::c_uchar,
1804 n: ::std::os::raw::c_uint,
1805 out: *mut u16,
1806 start: u16,
1807 ) -> *mut ::std::os::raw::c_uchar;
1808}
1809unsafe extern "C" {
1810 pub fn p4ddec128v32(
1811 in_: *mut ::std::os::raw::c_uchar,
1812 n: ::std::os::raw::c_uint,
1813 out: *mut u32,
1814 start: u32,
1815 ) -> *mut ::std::os::raw::c_uchar;
1816}
1817unsafe extern "C" {
1818 pub fn p4ddec256v32(
1819 in_: *mut ::std::os::raw::c_uchar,
1820 n: ::std::os::raw::c_uint,
1821 out: *mut u32,
1822 start: u32,
1823 ) -> *mut ::std::os::raw::c_uchar;
1824}
1825unsafe extern "C" {
1826 pub fn p4ddec64(
1827 in_: *mut ::std::os::raw::c_uchar,
1828 n: ::std::os::raw::c_uint,
1829 out: *mut u64,
1830 start: u64,
1831 ) -> *mut ::std::os::raw::c_uchar;
1832}
1833unsafe extern "C" {
1834 pub fn _p4d1dec8(
1835 in_: *mut ::std::os::raw::c_uchar,
1836 n: ::std::os::raw::c_uint,
1837 out: *mut u8,
1838 start: u8,
1839 b: ::std::os::raw::c_uint,
1840 bx: ::std::os::raw::c_uint,
1841 ) -> *mut ::std::os::raw::c_uchar;
1842}
1843unsafe extern "C" {
1844 pub fn _p4d1dec16(
1845 in_: *mut ::std::os::raw::c_uchar,
1846 n: ::std::os::raw::c_uint,
1847 out: *mut u16,
1848 start: u16,
1849 b: ::std::os::raw::c_uint,
1850 bx: ::std::os::raw::c_uint,
1851 ) -> *mut ::std::os::raw::c_uchar;
1852}
1853unsafe extern "C" {
1854 pub fn _p4d1dec32(
1855 in_: *mut ::std::os::raw::c_uchar,
1856 n: ::std::os::raw::c_uint,
1857 out: *mut u32,
1858 start: u32,
1859 b: ::std::os::raw::c_uint,
1860 bx: ::std::os::raw::c_uint,
1861 ) -> *mut ::std::os::raw::c_uchar;
1862}
1863unsafe extern "C" {
1864 pub fn _p4d1dec128v16(
1865 in_: *mut ::std::os::raw::c_uchar,
1866 n: ::std::os::raw::c_uint,
1867 out: *mut u16,
1868 start: u16,
1869 b: ::std::os::raw::c_uint,
1870 bx: ::std::os::raw::c_uint,
1871 ) -> *mut ::std::os::raw::c_uchar;
1872}
1873unsafe extern "C" {
1874 pub fn _p4d1dec128v32(
1875 in_: *mut ::std::os::raw::c_uchar,
1876 n: ::std::os::raw::c_uint,
1877 out: *mut u32,
1878 start: u32,
1879 b: ::std::os::raw::c_uint,
1880 bx: ::std::os::raw::c_uint,
1881 ) -> *mut ::std::os::raw::c_uchar;
1882}
1883unsafe extern "C" {
1884 pub fn _p4d1dec256v32(
1885 in_: *mut ::std::os::raw::c_uchar,
1886 n: ::std::os::raw::c_uint,
1887 out: *mut u32,
1888 start: u32,
1889 b: ::std::os::raw::c_uint,
1890 bx: ::std::os::raw::c_uint,
1891 ) -> *mut ::std::os::raw::c_uchar;
1892}
1893unsafe extern "C" {
1894 pub fn _p4d1dec64(
1895 in_: *mut ::std::os::raw::c_uchar,
1896 n: ::std::os::raw::c_uint,
1897 out: *mut u64,
1898 start: u64,
1899 b: ::std::os::raw::c_uint,
1900 bx: ::std::os::raw::c_uint,
1901 ) -> *mut ::std::os::raw::c_uchar;
1902}
1903unsafe extern "C" {
1904 pub fn p4d1dec8(
1905 in_: *mut ::std::os::raw::c_uchar,
1906 n: ::std::os::raw::c_uint,
1907 out: *mut u8,
1908 start: u8,
1909 ) -> *mut ::std::os::raw::c_uchar;
1910}
1911unsafe extern "C" {
1912 pub fn p4d1dec16(
1913 in_: *mut ::std::os::raw::c_uchar,
1914 n: ::std::os::raw::c_uint,
1915 out: *mut u16,
1916 start: u16,
1917 ) -> *mut ::std::os::raw::c_uchar;
1918}
1919unsafe extern "C" {
1920 pub fn p4d1dec32(
1921 in_: *mut ::std::os::raw::c_uchar,
1922 n: ::std::os::raw::c_uint,
1923 out: *mut u32,
1924 start: u32,
1925 ) -> *mut ::std::os::raw::c_uchar;
1926}
1927unsafe extern "C" {
1928 pub fn p4d1dec128v16(
1929 in_: *mut ::std::os::raw::c_uchar,
1930 n: ::std::os::raw::c_uint,
1931 out: *mut u16,
1932 start: u16,
1933 ) -> *mut ::std::os::raw::c_uchar;
1934}
1935unsafe extern "C" {
1936 pub fn p4d1dec128v32(
1937 in_: *mut ::std::os::raw::c_uchar,
1938 n: ::std::os::raw::c_uint,
1939 out: *mut u32,
1940 start: u32,
1941 ) -> *mut ::std::os::raw::c_uchar;
1942}
1943unsafe extern "C" {
1944 pub fn p4d1dec256v32(
1945 in_: *mut ::std::os::raw::c_uchar,
1946 n: ::std::os::raw::c_uint,
1947 out: *mut u32,
1948 start: u32,
1949 ) -> *mut ::std::os::raw::c_uchar;
1950}
1951unsafe extern "C" {
1952 pub fn p4d1dec64(
1953 in_: *mut ::std::os::raw::c_uchar,
1954 n: ::std::os::raw::c_uint,
1955 out: *mut u64,
1956 start: u64,
1957 ) -> *mut ::std::os::raw::c_uchar;
1958}
1959unsafe extern "C" {
1960 pub fn _p4zdec8(
1961 in_: *mut ::std::os::raw::c_uchar,
1962 n: ::std::os::raw::c_uint,
1963 out: *mut u8,
1964 start: u8,
1965 b: ::std::os::raw::c_uint,
1966 bx: ::std::os::raw::c_uint,
1967 ) -> *mut ::std::os::raw::c_uchar;
1968}
1969unsafe extern "C" {
1970 pub fn _p4zdec16(
1971 in_: *mut ::std::os::raw::c_uchar,
1972 n: ::std::os::raw::c_uint,
1973 out: *mut u16,
1974 start: u16,
1975 b: ::std::os::raw::c_uint,
1976 bx: ::std::os::raw::c_uint,
1977 ) -> *mut ::std::os::raw::c_uchar;
1978}
1979unsafe extern "C" {
1980 pub fn _p4zdec32(
1981 in_: *mut ::std::os::raw::c_uchar,
1982 n: ::std::os::raw::c_uint,
1983 out: *mut u32,
1984 start: u32,
1985 b: ::std::os::raw::c_uint,
1986 bx: ::std::os::raw::c_uint,
1987 ) -> *mut ::std::os::raw::c_uchar;
1988}
1989unsafe extern "C" {
1990 pub fn _p4zdec128v16(
1991 in_: *mut ::std::os::raw::c_uchar,
1992 n: ::std::os::raw::c_uint,
1993 out: *mut u16,
1994 start: u16,
1995 b: ::std::os::raw::c_uint,
1996 bx: ::std::os::raw::c_uint,
1997 ) -> *mut ::std::os::raw::c_uchar;
1998}
1999unsafe extern "C" {
2000 pub fn _p4zdec128v32(
2001 in_: *mut ::std::os::raw::c_uchar,
2002 n: ::std::os::raw::c_uint,
2003 out: *mut u32,
2004 start: u32,
2005 b: ::std::os::raw::c_uint,
2006 bx: ::std::os::raw::c_uint,
2007 ) -> *mut ::std::os::raw::c_uchar;
2008}
2009unsafe extern "C" {
2010 pub fn _p4zdec256v32(
2011 in_: *mut ::std::os::raw::c_uchar,
2012 n: ::std::os::raw::c_uint,
2013 out: *mut u32,
2014 start: u32,
2015 b: ::std::os::raw::c_uint,
2016 bx: ::std::os::raw::c_uint,
2017 ) -> *mut ::std::os::raw::c_uchar;
2018}
2019unsafe extern "C" {
2020 pub fn _p4zdec64(
2021 in_: *mut ::std::os::raw::c_uchar,
2022 n: ::std::os::raw::c_uint,
2023 out: *mut u64,
2024 start: u64,
2025 b: ::std::os::raw::c_uint,
2026 bx: ::std::os::raw::c_uint,
2027 ) -> *mut ::std::os::raw::c_uchar;
2028}
2029unsafe extern "C" {
2030 pub fn p4zdec8(
2031 in_: *mut ::std::os::raw::c_uchar,
2032 n: ::std::os::raw::c_uint,
2033 out: *mut u8,
2034 start: u8,
2035 ) -> *mut ::std::os::raw::c_uchar;
2036}
2037unsafe extern "C" {
2038 pub fn p4zdec16(
2039 in_: *mut ::std::os::raw::c_uchar,
2040 n: ::std::os::raw::c_uint,
2041 out: *mut u16,
2042 start: u16,
2043 ) -> *mut ::std::os::raw::c_uchar;
2044}
2045unsafe extern "C" {
2046 pub fn p4zdec32(
2047 in_: *mut ::std::os::raw::c_uchar,
2048 n: ::std::os::raw::c_uint,
2049 out: *mut u32,
2050 start: u32,
2051 ) -> *mut ::std::os::raw::c_uchar;
2052}
2053unsafe extern "C" {
2054 pub fn p4zdec128v16(
2055 in_: *mut ::std::os::raw::c_uchar,
2056 n: ::std::os::raw::c_uint,
2057 out: *mut u16,
2058 start: u16,
2059 ) -> *mut ::std::os::raw::c_uchar;
2060}
2061unsafe extern "C" {
2062 pub fn p4zdec128v32(
2063 in_: *mut ::std::os::raw::c_uchar,
2064 n: ::std::os::raw::c_uint,
2065 out: *mut u32,
2066 start: u32,
2067 ) -> *mut ::std::os::raw::c_uchar;
2068}
2069unsafe extern "C" {
2070 pub fn p4zdec256v32(
2071 in_: *mut ::std::os::raw::c_uchar,
2072 n: ::std::os::raw::c_uint,
2073 out: *mut u32,
2074 start: u32,
2075 ) -> *mut ::std::os::raw::c_uchar;
2076}
2077unsafe extern "C" {
2078 pub fn p4zdec64(
2079 in_: *mut ::std::os::raw::c_uchar,
2080 n: ::std::os::raw::c_uint,
2081 out: *mut u64,
2082 start: u64,
2083 ) -> *mut ::std::os::raw::c_uchar;
2084}
2085unsafe extern "C" {
2086 pub fn p4nzzenc128v8(
2087 in_: *mut u8,
2088 n: usize,
2089 out: *mut ::std::os::raw::c_uchar,
2090 start: u8,
2091 ) -> usize;
2092}
2093unsafe extern "C" {
2094 pub fn p4nzzdec128v8(
2095 in_: *mut ::std::os::raw::c_uchar,
2096 n: usize,
2097 out: *mut u8,
2098 start: u8,
2099 ) -> usize;
2100}
2101unsafe extern "C" {
2102 pub fn p4nzzenc128v16(
2103 in_: *mut u16,
2104 n: usize,
2105 out: *mut ::std::os::raw::c_uchar,
2106 start: u16,
2107 ) -> usize;
2108}
2109unsafe extern "C" {
2110 pub fn p4nzzdec128v16(
2111 in_: *mut ::std::os::raw::c_uchar,
2112 n: usize,
2113 out: *mut u16,
2114 start: u16,
2115 ) -> usize;
2116}
2117unsafe extern "C" {
2118 pub fn p4nzzenc128v32(
2119 in_: *mut u32,
2120 n: usize,
2121 out: *mut ::std::os::raw::c_uchar,
2122 start: u32,
2123 ) -> usize;
2124}
2125unsafe extern "C" {
2126 pub fn p4nzzdec128v32(
2127 in_: *mut ::std::os::raw::c_uchar,
2128 n: usize,
2129 out: *mut u32,
2130 start: u32,
2131 ) -> usize;
2132}
2133unsafe extern "C" {
2134 pub fn p4nzzenc128v64(
2135 in_: *mut u64,
2136 n: usize,
2137 out: *mut ::std::os::raw::c_uchar,
2138 start: u64,
2139 ) -> usize;
2140}
2141unsafe extern "C" {
2142 pub fn p4nzzdec128v64(
2143 in_: *mut ::std::os::raw::c_uchar,
2144 n: usize,
2145 out: *mut u64,
2146 start: u64,
2147 ) -> usize;
2148}
2149unsafe extern "C" {
2150 pub fn bvzenc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar, start: u8) -> usize;
2151}
2152unsafe extern "C" {
2153 pub fn bvzdec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8, start: u8) -> usize;
2154}
2155unsafe extern "C" {
2156 pub fn bvzenc16(
2157 in_: *mut u16,
2158 n: usize,
2159 out: *mut ::std::os::raw::c_uchar,
2160 start: u16,
2161 ) -> usize;
2162}
2163unsafe extern "C" {
2164 pub fn bvzdec16(
2165 in_: *mut ::std::os::raw::c_uchar,
2166 n: usize,
2167 out: *mut u16,
2168 start: u16,
2169 ) -> usize;
2170}
2171unsafe extern "C" {
2172 pub fn bvzenc32(
2173 in_: *mut u32,
2174 n: usize,
2175 out: *mut ::std::os::raw::c_uchar,
2176 start: u32,
2177 ) -> usize;
2178}
2179unsafe extern "C" {
2180 pub fn bvzdec32(
2181 in_: *mut ::std::os::raw::c_uchar,
2182 n: usize,
2183 out: *mut u32,
2184 start: u32,
2185 ) -> usize;
2186}
2187unsafe extern "C" {
2188 pub fn bvzenc64(
2189 in_: *mut u64,
2190 n: usize,
2191 out: *mut ::std::os::raw::c_uchar,
2192 start: u64,
2193 ) -> usize;
2194}
2195unsafe extern "C" {
2196 pub fn bvzdec64(
2197 in_: *mut ::std::os::raw::c_uchar,
2198 n: usize,
2199 out: *mut u64,
2200 start: u64,
2201 ) -> usize;
2202}
2203unsafe extern "C" {
2204 pub fn bvzzenc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar, start: u8) -> usize;
2205}
2206unsafe extern "C" {
2207 pub fn bvzzdec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8, start: u8) -> usize;
2208}
2209unsafe extern "C" {
2210 pub fn bvzzenc16(
2211 in_: *mut u16,
2212 n: usize,
2213 out: *mut ::std::os::raw::c_uchar,
2214 start: u16,
2215 ) -> usize;
2216}
2217unsafe extern "C" {
2218 pub fn bvzzdec16(
2219 in_: *mut ::std::os::raw::c_uchar,
2220 n: usize,
2221 out: *mut u16,
2222 start: u16,
2223 ) -> usize;
2224}
2225unsafe extern "C" {
2226 pub fn bvzzenc32(
2227 in_: *mut u32,
2228 n: usize,
2229 out: *mut ::std::os::raw::c_uchar,
2230 start: u32,
2231 ) -> usize;
2232}
2233unsafe extern "C" {
2234 pub fn bvzzdec32(
2235 in_: *mut ::std::os::raw::c_uchar,
2236 n: usize,
2237 out: *mut u32,
2238 start: u32,
2239 ) -> usize;
2240}
2241unsafe extern "C" {
2242 pub fn bvzzenc64(
2243 in_: *mut u64,
2244 n: usize,
2245 out: *mut ::std::os::raw::c_uchar,
2246 start: u64,
2247 ) -> usize;
2248}
2249unsafe extern "C" {
2250 pub fn bvzzdec64(
2251 in_: *mut ::std::os::raw::c_uchar,
2252 n: usize,
2253 out: *mut u64,
2254 start: u64,
2255 ) -> usize;
2256}
2257unsafe extern "C" {
2258 pub fn fpgenc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar, start: u8) -> usize;
2259}
2260unsafe extern "C" {
2261 pub fn fpgdec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8, start: u8) -> usize;
2262}
2263unsafe extern "C" {
2264 pub fn fpgenc16(
2265 in_: *mut u16,
2266 n: usize,
2267 out: *mut ::std::os::raw::c_uchar,
2268 start: u16,
2269 ) -> usize;
2270}
2271unsafe extern "C" {
2272 pub fn fpgdec16(
2273 in_: *mut ::std::os::raw::c_uchar,
2274 n: usize,
2275 out: *mut u16,
2276 start: u16,
2277 ) -> usize;
2278}
2279unsafe extern "C" {
2280 pub fn fpgenc32(
2281 in_: *mut u32,
2282 n: usize,
2283 out: *mut ::std::os::raw::c_uchar,
2284 start: u32,
2285 ) -> usize;
2286}
2287unsafe extern "C" {
2288 pub fn fpgdec32(
2289 in_: *mut ::std::os::raw::c_uchar,
2290 n: usize,
2291 out: *mut u32,
2292 start: u32,
2293 ) -> usize;
2294}
2295unsafe extern "C" {
2296 pub fn fpgenc64(
2297 in_: *mut u64,
2298 n: usize,
2299 out: *mut ::std::os::raw::c_uchar,
2300 start: u64,
2301 ) -> usize;
2302}
2303unsafe extern "C" {
2304 pub fn fpgdec64(
2305 in_: *mut ::std::os::raw::c_uchar,
2306 n: usize,
2307 out: *mut u64,
2308 start: u64,
2309 ) -> usize;
2310}
2311unsafe extern "C" {
2312 pub fn fpxenc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar, start: u8) -> usize;
2313}
2314unsafe extern "C" {
2315 pub fn fpxdec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8, start: u8) -> usize;
2316}
2317unsafe extern "C" {
2318 pub fn fpxenc16(
2319 in_: *mut u16,
2320 n: usize,
2321 out: *mut ::std::os::raw::c_uchar,
2322 start: u16,
2323 ) -> usize;
2324}
2325unsafe extern "C" {
2326 pub fn fpxdec16(
2327 in_: *mut ::std::os::raw::c_uchar,
2328 n: usize,
2329 out: *mut u16,
2330 start: u16,
2331 ) -> usize;
2332}
2333unsafe extern "C" {
2334 pub fn fpxenc32(
2335 in_: *mut u32,
2336 n: usize,
2337 out: *mut ::std::os::raw::c_uchar,
2338 start: u32,
2339 ) -> usize;
2340}
2341unsafe extern "C" {
2342 pub fn fpxdec32(
2343 in_: *mut ::std::os::raw::c_uchar,
2344 n: usize,
2345 out: *mut u32,
2346 start: u32,
2347 ) -> usize;
2348}
2349unsafe extern "C" {
2350 pub fn fpxenc64(
2351 in_: *mut u64,
2352 n: usize,
2353 out: *mut ::std::os::raw::c_uchar,
2354 start: u64,
2355 ) -> usize;
2356}
2357unsafe extern "C" {
2358 pub fn fpxdec64(
2359 in_: *mut ::std::os::raw::c_uchar,
2360 n: usize,
2361 out: *mut u64,
2362 start: u64,
2363 ) -> usize;
2364}
2365unsafe extern "C" {
2366 pub fn fpfcmenc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar, start: u8)
2367 -> usize;
2368}
2369unsafe extern "C" {
2370 pub fn fpfcmdec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8, start: u8)
2371 -> usize;
2372}
2373unsafe extern "C" {
2374 pub fn fpfcmenc16(
2375 in_: *mut u16,
2376 n: usize,
2377 out: *mut ::std::os::raw::c_uchar,
2378 start: u16,
2379 ) -> usize;
2380}
2381unsafe extern "C" {
2382 pub fn fpfcmdec16(
2383 in_: *mut ::std::os::raw::c_uchar,
2384 n: usize,
2385 out: *mut u16,
2386 start: u16,
2387 ) -> usize;
2388}
2389unsafe extern "C" {
2390 pub fn fpfcmenc32(
2391 in_: *mut u32,
2392 n: usize,
2393 out: *mut ::std::os::raw::c_uchar,
2394 start: u32,
2395 ) -> usize;
2396}
2397unsafe extern "C" {
2398 pub fn fpfcmdec32(
2399 in_: *mut ::std::os::raw::c_uchar,
2400 n: usize,
2401 out: *mut u32,
2402 start: u32,
2403 ) -> usize;
2404}
2405unsafe extern "C" {
2406 pub fn fpfcmenc64(
2407 in_: *mut u64,
2408 n: usize,
2409 out: *mut ::std::os::raw::c_uchar,
2410 start: u64,
2411 ) -> usize;
2412}
2413unsafe extern "C" {
2414 pub fn fpfcmdec64(
2415 in_: *mut ::std::os::raw::c_uchar,
2416 n: usize,
2417 out: *mut u64,
2418 start: u64,
2419 ) -> usize;
2420}
2421unsafe extern "C" {
2422 pub fn fpdfcmenc8(
2423 in_: *mut u8,
2424 n: usize,
2425 out: *mut ::std::os::raw::c_uchar,
2426 start: u8,
2427 ) -> usize;
2428}
2429unsafe extern "C" {
2430 pub fn fpdfcmdec8(
2431 in_: *mut ::std::os::raw::c_uchar,
2432 n: usize,
2433 out: *mut u8,
2434 start: u8,
2435 ) -> usize;
2436}
2437unsafe extern "C" {
2438 pub fn fpdfcmenc16(
2439 in_: *mut u16,
2440 n: usize,
2441 out: *mut ::std::os::raw::c_uchar,
2442 start: u16,
2443 ) -> usize;
2444}
2445unsafe extern "C" {
2446 pub fn fpdfcmdec16(
2447 in_: *mut ::std::os::raw::c_uchar,
2448 n: usize,
2449 out: *mut u16,
2450 start: u16,
2451 ) -> usize;
2452}
2453unsafe extern "C" {
2454 pub fn fpdfcmenc32(
2455 in_: *mut u32,
2456 n: usize,
2457 out: *mut ::std::os::raw::c_uchar,
2458 start: u32,
2459 ) -> usize;
2460}
2461unsafe extern "C" {
2462 pub fn fpdfcmdec32(
2463 in_: *mut ::std::os::raw::c_uchar,
2464 n: usize,
2465 out: *mut u32,
2466 start: u32,
2467 ) -> usize;
2468}
2469unsafe extern "C" {
2470 pub fn fpdfcmenc64(
2471 in_: *mut u64,
2472 n: usize,
2473 out: *mut ::std::os::raw::c_uchar,
2474 start: u64,
2475 ) -> usize;
2476}
2477unsafe extern "C" {
2478 pub fn fpdfcmdec64(
2479 in_: *mut ::std::os::raw::c_uchar,
2480 n: usize,
2481 out: *mut u64,
2482 start: u64,
2483 ) -> usize;
2484}
2485unsafe extern "C" {
2486 pub fn fp2dfcmenc8(
2487 in_: *mut u8,
2488 n: usize,
2489 out: *mut ::std::os::raw::c_uchar,
2490 start: u8,
2491 ) -> usize;
2492}
2493unsafe extern "C" {
2494 pub fn fp2dfcmdec8(
2495 in_: *mut ::std::os::raw::c_uchar,
2496 n: usize,
2497 out: *mut u8,
2498 start: u8,
2499 ) -> usize;
2500}
2501unsafe extern "C" {
2502 pub fn fp2dfcmenc16(
2503 in_: *mut u16,
2504 n: usize,
2505 out: *mut ::std::os::raw::c_uchar,
2506 start: u16,
2507 ) -> usize;
2508}
2509unsafe extern "C" {
2510 pub fn fp2dfcmdec16(
2511 in_: *mut ::std::os::raw::c_uchar,
2512 n: usize,
2513 out: *mut u16,
2514 start: u16,
2515 ) -> usize;
2516}
2517unsafe extern "C" {
2518 pub fn fp2dfcmenc32(
2519 in_: *mut u32,
2520 n: usize,
2521 out: *mut ::std::os::raw::c_uchar,
2522 start: u32,
2523 ) -> usize;
2524}
2525unsafe extern "C" {
2526 pub fn fp2dfcmdec32(
2527 in_: *mut ::std::os::raw::c_uchar,
2528 n: usize,
2529 out: *mut u32,
2530 start: u32,
2531 ) -> usize;
2532}
2533unsafe extern "C" {
2534 pub fn fp2dfcmenc64(
2535 in_: *mut u64,
2536 n: usize,
2537 out: *mut ::std::os::raw::c_uchar,
2538 start: u64,
2539 ) -> usize;
2540}
2541unsafe extern "C" {
2542 pub fn fp2dfcmdec64(
2543 in_: *mut ::std::os::raw::c_uchar,
2544 n: usize,
2545 out: *mut u64,
2546 start: u64,
2547 ) -> usize;
2548}
2549pub type __darwin_nl_item = ::std::os::raw::c_int;
2550pub type __darwin_wctrans_t = ::std::os::raw::c_int;
2551pub type __darwin_wctype_t = __uint32_t;
2552pub type u_int8_t = ::std::os::raw::c_uchar;
2553pub type u_int16_t = ::std::os::raw::c_ushort;
2554pub type u_int32_t = ::std::os::raw::c_uint;
2555pub type u_int64_t = ::std::os::raw::c_ulonglong;
2556pub type register_t = i64;
2557pub type user_addr_t = u_int64_t;
2558pub type user_size_t = u_int64_t;
2559pub type user_ssize_t = i64;
2560pub type user_long_t = i64;
2561pub type user_ulong_t = u_int64_t;
2562pub type user_time_t = i64;
2563pub type user_off_t = i64;
2564pub type syscall_arg_t = u_int64_t;
2565pub type va_list = __darwin_va_list;
2566unsafe extern "C" {
2567 pub fn renameat(
2568 arg1: ::std::os::raw::c_int,
2569 arg2: *const ::std::os::raw::c_char,
2570 arg3: ::std::os::raw::c_int,
2571 arg4: *const ::std::os::raw::c_char,
2572 ) -> ::std::os::raw::c_int;
2573}
2574unsafe extern "C" {
2575 pub fn renamex_np(
2576 arg1: *const ::std::os::raw::c_char,
2577 arg2: *const ::std::os::raw::c_char,
2578 arg3: ::std::os::raw::c_uint,
2579 ) -> ::std::os::raw::c_int;
2580}
2581unsafe extern "C" {
2582 pub fn renameatx_np(
2583 arg1: ::std::os::raw::c_int,
2584 arg2: *const ::std::os::raw::c_char,
2585 arg3: ::std::os::raw::c_int,
2586 arg4: *const ::std::os::raw::c_char,
2587 arg5: ::std::os::raw::c_uint,
2588 ) -> ::std::os::raw::c_int;
2589}
2590unsafe extern "C" {
2591 pub fn printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
2592}
2593pub type fpos_t = __darwin_off_t;
2594#[repr(C)]
2595#[derive(Debug, Copy, Clone)]
2596pub struct __sbuf {
2597 pub _base: *mut ::std::os::raw::c_uchar,
2598 pub _size: ::std::os::raw::c_int,
2599}
2600#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2601const _: () = {
2602 ["Size of __sbuf"][::std::mem::size_of::<__sbuf>() - 16usize];
2603 ["Alignment of __sbuf"][::std::mem::align_of::<__sbuf>() - 8usize];
2604 ["Offset of field: __sbuf::_base"][::std::mem::offset_of!(__sbuf, _base) - 0usize];
2605 ["Offset of field: __sbuf::_size"][::std::mem::offset_of!(__sbuf, _size) - 8usize];
2606};
2607#[repr(C)]
2608#[derive(Debug, Copy, Clone)]
2609pub struct __sFILEX {
2610 _unused: [u8; 0],
2611}
2612#[repr(C)]
2613#[derive(Debug, Copy, Clone)]
2614pub struct __sFILE {
2615 pub _p: *mut ::std::os::raw::c_uchar,
2616 pub _r: ::std::os::raw::c_int,
2617 pub _w: ::std::os::raw::c_int,
2618 pub _flags: ::std::os::raw::c_short,
2619 pub _file: ::std::os::raw::c_short,
2620 pub _bf: __sbuf,
2621 pub _lbfsize: ::std::os::raw::c_int,
2622 pub _cookie: *mut ::std::os::raw::c_void,
2623 pub _close: ::std::option::Option<
2624 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
2625 >,
2626 pub _read: ::std::option::Option<
2627 unsafe extern "C" fn(
2628 arg1: *mut ::std::os::raw::c_void,
2629 arg2: *mut ::std::os::raw::c_char,
2630 __n: ::std::os::raw::c_int,
2631 ) -> ::std::os::raw::c_int,
2632 >,
2633 pub _seek: ::std::option::Option<
2634 unsafe extern "C" fn(
2635 arg1: *mut ::std::os::raw::c_void,
2636 arg2: fpos_t,
2637 arg3: ::std::os::raw::c_int,
2638 ) -> fpos_t,
2639 >,
2640 pub _write: ::std::option::Option<
2641 unsafe extern "C" fn(
2642 arg1: *mut ::std::os::raw::c_void,
2643 arg2: *const ::std::os::raw::c_char,
2644 __n: ::std::os::raw::c_int,
2645 ) -> ::std::os::raw::c_int,
2646 >,
2647 pub _ub: __sbuf,
2648 pub _extra: *mut __sFILEX,
2649 pub _ur: ::std::os::raw::c_int,
2650 pub _ubuf: [::std::os::raw::c_uchar; 3usize],
2651 pub _nbuf: [::std::os::raw::c_uchar; 1usize],
2652 pub _lb: __sbuf,
2653 pub _blksize: ::std::os::raw::c_int,
2654 pub _offset: fpos_t,
2655}
2656#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2657const _: () = {
2658 ["Size of __sFILE"][::std::mem::size_of::<__sFILE>() - 152usize];
2659 ["Alignment of __sFILE"][::std::mem::align_of::<__sFILE>() - 8usize];
2660 ["Offset of field: __sFILE::_p"][::std::mem::offset_of!(__sFILE, _p) - 0usize];
2661 ["Offset of field: __sFILE::_r"][::std::mem::offset_of!(__sFILE, _r) - 8usize];
2662 ["Offset of field: __sFILE::_w"][::std::mem::offset_of!(__sFILE, _w) - 12usize];
2663 ["Offset of field: __sFILE::_flags"][::std::mem::offset_of!(__sFILE, _flags) - 16usize];
2664 ["Offset of field: __sFILE::_file"][::std::mem::offset_of!(__sFILE, _file) - 18usize];
2665 ["Offset of field: __sFILE::_bf"][::std::mem::offset_of!(__sFILE, _bf) - 24usize];
2666 ["Offset of field: __sFILE::_lbfsize"][::std::mem::offset_of!(__sFILE, _lbfsize) - 40usize];
2667 ["Offset of field: __sFILE::_cookie"][::std::mem::offset_of!(__sFILE, _cookie) - 48usize];
2668 ["Offset of field: __sFILE::_close"][::std::mem::offset_of!(__sFILE, _close) - 56usize];
2669 ["Offset of field: __sFILE::_read"][::std::mem::offset_of!(__sFILE, _read) - 64usize];
2670 ["Offset of field: __sFILE::_seek"][::std::mem::offset_of!(__sFILE, _seek) - 72usize];
2671 ["Offset of field: __sFILE::_write"][::std::mem::offset_of!(__sFILE, _write) - 80usize];
2672 ["Offset of field: __sFILE::_ub"][::std::mem::offset_of!(__sFILE, _ub) - 88usize];
2673 ["Offset of field: __sFILE::_extra"][::std::mem::offset_of!(__sFILE, _extra) - 104usize];
2674 ["Offset of field: __sFILE::_ur"][::std::mem::offset_of!(__sFILE, _ur) - 112usize];
2675 ["Offset of field: __sFILE::_ubuf"][::std::mem::offset_of!(__sFILE, _ubuf) - 116usize];
2676 ["Offset of field: __sFILE::_nbuf"][::std::mem::offset_of!(__sFILE, _nbuf) - 119usize];
2677 ["Offset of field: __sFILE::_lb"][::std::mem::offset_of!(__sFILE, _lb) - 120usize];
2678 ["Offset of field: __sFILE::_blksize"][::std::mem::offset_of!(__sFILE, _blksize) - 136usize];
2679 ["Offset of field: __sFILE::_offset"][::std::mem::offset_of!(__sFILE, _offset) - 144usize];
2680};
2681pub type FILE = __sFILE;
2682unsafe extern "C" {
2683 pub static mut __stdinp: *mut FILE;
2684}
2685unsafe extern "C" {
2686 pub static mut __stdoutp: *mut FILE;
2687}
2688unsafe extern "C" {
2689 pub static mut __stderrp: *mut FILE;
2690}
2691unsafe extern "C" {
2692 pub fn clearerr(arg1: *mut FILE);
2693}
2694unsafe extern "C" {
2695 pub fn fclose(arg1: *mut FILE) -> ::std::os::raw::c_int;
2696}
2697unsafe extern "C" {
2698 pub fn feof(arg1: *mut FILE) -> ::std::os::raw::c_int;
2699}
2700unsafe extern "C" {
2701 pub fn ferror(arg1: *mut FILE) -> ::std::os::raw::c_int;
2702}
2703unsafe extern "C" {
2704 pub fn fflush(arg1: *mut FILE) -> ::std::os::raw::c_int;
2705}
2706unsafe extern "C" {
2707 pub fn fgetc(arg1: *mut FILE) -> ::std::os::raw::c_int;
2708}
2709unsafe extern "C" {
2710 pub fn fgetpos(arg1: *mut FILE, arg2: *mut fpos_t) -> ::std::os::raw::c_int;
2711}
2712unsafe extern "C" {
2713 pub fn fgets(
2714 arg1: *mut ::std::os::raw::c_char,
2715 __size: ::std::os::raw::c_int,
2716 arg2: *mut FILE,
2717 ) -> *mut ::std::os::raw::c_char;
2718}
2719unsafe extern "C" {
2720 pub fn fopen(
2721 __filename: *const ::std::os::raw::c_char,
2722 __mode: *const ::std::os::raw::c_char,
2723 ) -> *mut FILE;
2724}
2725unsafe extern "C" {
2726 pub fn fprintf(
2727 arg1: *mut FILE,
2728 arg2: *const ::std::os::raw::c_char,
2729 ...
2730 ) -> ::std::os::raw::c_int;
2731}
2732unsafe extern "C" {
2733 pub fn fputc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int;
2734}
2735unsafe extern "C" {
2736 pub fn fputs(arg1: *const ::std::os::raw::c_char, arg2: *mut FILE) -> ::std::os::raw::c_int;
2737}
2738unsafe extern "C" {
2739 pub fn fread(
2740 __ptr: *mut ::std::os::raw::c_void,
2741 __size: ::std::os::raw::c_ulong,
2742 __nitems: ::std::os::raw::c_ulong,
2743 __stream: *mut FILE,
2744 ) -> ::std::os::raw::c_ulong;
2745}
2746unsafe extern "C" {
2747 pub fn freopen(
2748 arg1: *const ::std::os::raw::c_char,
2749 arg2: *const ::std::os::raw::c_char,
2750 arg3: *mut FILE,
2751 ) -> *mut FILE;
2752}
2753unsafe extern "C" {
2754 pub fn fscanf(
2755 arg1: *mut FILE,
2756 arg2: *const ::std::os::raw::c_char,
2757 ...
2758 ) -> ::std::os::raw::c_int;
2759}
2760unsafe extern "C" {
2761 pub fn fseek(
2762 arg1: *mut FILE,
2763 arg2: ::std::os::raw::c_long,
2764 arg3: ::std::os::raw::c_int,
2765 ) -> ::std::os::raw::c_int;
2766}
2767unsafe extern "C" {
2768 pub fn fsetpos(arg1: *mut FILE, arg2: *const fpos_t) -> ::std::os::raw::c_int;
2769}
2770unsafe extern "C" {
2771 pub fn ftell(arg1: *mut FILE) -> ::std::os::raw::c_long;
2772}
2773unsafe extern "C" {
2774 pub fn fwrite(
2775 __ptr: *const ::std::os::raw::c_void,
2776 __size: ::std::os::raw::c_ulong,
2777 __nitems: ::std::os::raw::c_ulong,
2778 __stream: *mut FILE,
2779 ) -> ::std::os::raw::c_ulong;
2780}
2781unsafe extern "C" {
2782 pub fn getc(arg1: *mut FILE) -> ::std::os::raw::c_int;
2783}
2784unsafe extern "C" {
2785 pub fn getchar() -> ::std::os::raw::c_int;
2786}
2787unsafe extern "C" {
2788 pub fn gets(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
2789}
2790unsafe extern "C" {
2791 pub fn perror(arg1: *const ::std::os::raw::c_char);
2792}
2793unsafe extern "C" {
2794 pub fn putc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int;
2795}
2796unsafe extern "C" {
2797 pub fn putchar(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2798}
2799unsafe extern "C" {
2800 pub fn puts(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
2801}
2802unsafe extern "C" {
2803 pub fn remove(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
2804}
2805unsafe extern "C" {
2806 pub fn rename(
2807 __old: *const ::std::os::raw::c_char,
2808 __new: *const ::std::os::raw::c_char,
2809 ) -> ::std::os::raw::c_int;
2810}
2811unsafe extern "C" {
2812 pub fn rewind(arg1: *mut FILE);
2813}
2814unsafe extern "C" {
2815 pub fn scanf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
2816}
2817unsafe extern "C" {
2818 pub fn setbuf(arg1: *mut FILE, arg2: *mut ::std::os::raw::c_char);
2819}
2820unsafe extern "C" {
2821 pub fn setvbuf(
2822 arg1: *mut FILE,
2823 arg2: *mut ::std::os::raw::c_char,
2824 arg3: ::std::os::raw::c_int,
2825 __size: usize,
2826 ) -> ::std::os::raw::c_int;
2827}
2828unsafe extern "C" {
2829 pub fn sprintf(
2830 arg1: *mut ::std::os::raw::c_char,
2831 arg2: *const ::std::os::raw::c_char,
2832 ...
2833 ) -> ::std::os::raw::c_int;
2834}
2835unsafe extern "C" {
2836 pub fn sscanf(
2837 arg1: *const ::std::os::raw::c_char,
2838 arg2: *const ::std::os::raw::c_char,
2839 ...
2840 ) -> ::std::os::raw::c_int;
2841}
2842unsafe extern "C" {
2843 pub fn tmpfile() -> *mut FILE;
2844}
2845unsafe extern "C" {
2846 pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
2847}
2848unsafe extern "C" {
2849 pub fn ungetc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int;
2850}
2851unsafe extern "C" {
2852 pub fn vfprintf(
2853 arg1: *mut FILE,
2854 arg2: *const ::std::os::raw::c_char,
2855 arg3: __builtin_va_list,
2856 ) -> ::std::os::raw::c_int;
2857}
2858unsafe extern "C" {
2859 pub fn vprintf(
2860 arg1: *const ::std::os::raw::c_char,
2861 arg2: __builtin_va_list,
2862 ) -> ::std::os::raw::c_int;
2863}
2864unsafe extern "C" {
2865 pub fn vsprintf(
2866 arg1: *mut ::std::os::raw::c_char,
2867 arg2: *const ::std::os::raw::c_char,
2868 arg3: __builtin_va_list,
2869 ) -> ::std::os::raw::c_int;
2870}
2871unsafe extern "C" {
2872 pub fn ctermid(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
2873}
2874unsafe extern "C" {
2875 pub fn fdopen(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char) -> *mut FILE;
2876}
2877unsafe extern "C" {
2878 pub fn fileno(arg1: *mut FILE) -> ::std::os::raw::c_int;
2879}
2880unsafe extern "C" {
2881 pub fn pclose(arg1: *mut FILE) -> ::std::os::raw::c_int;
2882}
2883unsafe extern "C" {
2884 pub fn popen(
2885 arg1: *const ::std::os::raw::c_char,
2886 arg2: *const ::std::os::raw::c_char,
2887 ) -> *mut FILE;
2888}
2889unsafe extern "C" {
2890 pub fn __srget(arg1: *mut FILE) -> ::std::os::raw::c_int;
2891}
2892unsafe extern "C" {
2893 pub fn __svfscanf(
2894 arg1: *mut FILE,
2895 arg2: *const ::std::os::raw::c_char,
2896 arg3: va_list,
2897 ) -> ::std::os::raw::c_int;
2898}
2899unsafe extern "C" {
2900 pub fn __swbuf(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int;
2901}
2902unsafe extern "C" {
2903 pub fn flockfile(arg1: *mut FILE);
2904}
2905unsafe extern "C" {
2906 pub fn ftrylockfile(arg1: *mut FILE) -> ::std::os::raw::c_int;
2907}
2908unsafe extern "C" {
2909 pub fn funlockfile(arg1: *mut FILE);
2910}
2911unsafe extern "C" {
2912 pub fn getc_unlocked(arg1: *mut FILE) -> ::std::os::raw::c_int;
2913}
2914unsafe extern "C" {
2915 pub fn getchar_unlocked() -> ::std::os::raw::c_int;
2916}
2917unsafe extern "C" {
2918 pub fn putc_unlocked(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int;
2919}
2920unsafe extern "C" {
2921 pub fn putchar_unlocked(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2922}
2923unsafe extern "C" {
2924 pub fn getw(arg1: *mut FILE) -> ::std::os::raw::c_int;
2925}
2926unsafe extern "C" {
2927 pub fn putw(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int;
2928}
2929unsafe extern "C" {
2930 pub fn tempnam(
2931 __dir: *const ::std::os::raw::c_char,
2932 __prefix: *const ::std::os::raw::c_char,
2933 ) -> *mut ::std::os::raw::c_char;
2934}
2935pub type off_t = __darwin_off_t;
2936unsafe extern "C" {
2937 pub fn fseeko(
2938 __stream: *mut FILE,
2939 __offset: off_t,
2940 __whence: ::std::os::raw::c_int,
2941 ) -> ::std::os::raw::c_int;
2942}
2943unsafe extern "C" {
2944 pub fn ftello(__stream: *mut FILE) -> off_t;
2945}
2946unsafe extern "C" {
2947 pub fn snprintf(
2948 __str: *mut ::std::os::raw::c_char,
2949 __size: ::std::os::raw::c_ulong,
2950 __format: *const ::std::os::raw::c_char,
2951 ...
2952 ) -> ::std::os::raw::c_int;
2953}
2954unsafe extern "C" {
2955 pub fn vfscanf(
2956 __stream: *mut FILE,
2957 __format: *const ::std::os::raw::c_char,
2958 arg1: __builtin_va_list,
2959 ) -> ::std::os::raw::c_int;
2960}
2961unsafe extern "C" {
2962 pub fn vscanf(
2963 __format: *const ::std::os::raw::c_char,
2964 arg1: __builtin_va_list,
2965 ) -> ::std::os::raw::c_int;
2966}
2967unsafe extern "C" {
2968 pub fn vsnprintf(
2969 __str: *mut ::std::os::raw::c_char,
2970 __size: ::std::os::raw::c_ulong,
2971 __format: *const ::std::os::raw::c_char,
2972 arg1: __builtin_va_list,
2973 ) -> ::std::os::raw::c_int;
2974}
2975unsafe extern "C" {
2976 pub fn vsscanf(
2977 __str: *const ::std::os::raw::c_char,
2978 __format: *const ::std::os::raw::c_char,
2979 arg1: __builtin_va_list,
2980 ) -> ::std::os::raw::c_int;
2981}
2982unsafe extern "C" {
2983 pub fn dprintf(
2984 arg1: ::std::os::raw::c_int,
2985 arg2: *const ::std::os::raw::c_char,
2986 ...
2987 ) -> ::std::os::raw::c_int;
2988}
2989unsafe extern "C" {
2990 pub fn vdprintf(
2991 arg1: ::std::os::raw::c_int,
2992 arg2: *const ::std::os::raw::c_char,
2993 arg3: va_list,
2994 ) -> ::std::os::raw::c_int;
2995}
2996unsafe extern "C" {
2997 pub fn getdelim(
2998 __linep: *mut *mut ::std::os::raw::c_char,
2999 __linecapp: *mut usize,
3000 __delimiter: ::std::os::raw::c_int,
3001 __stream: *mut FILE,
3002 ) -> isize;
3003}
3004unsafe extern "C" {
3005 pub fn getline(
3006 __linep: *mut *mut ::std::os::raw::c_char,
3007 __linecapp: *mut usize,
3008 __stream: *mut FILE,
3009 ) -> isize;
3010}
3011unsafe extern "C" {
3012 pub fn fmemopen(
3013 __buf: *mut ::std::os::raw::c_void,
3014 __size: usize,
3015 __mode: *const ::std::os::raw::c_char,
3016 ) -> *mut FILE;
3017}
3018unsafe extern "C" {
3019 pub fn open_memstream(
3020 __bufp: *mut *mut ::std::os::raw::c_char,
3021 __sizep: *mut usize,
3022 ) -> *mut FILE;
3023}
3024unsafe extern "C" {
3025 pub static sys_nerr: ::std::os::raw::c_int;
3026}
3027unsafe extern "C" {
3028 pub static sys_errlist: [*const ::std::os::raw::c_char; 0usize];
3029}
3030unsafe extern "C" {
3031 pub fn asprintf(
3032 arg1: *mut *mut ::std::os::raw::c_char,
3033 arg2: *const ::std::os::raw::c_char,
3034 ...
3035 ) -> ::std::os::raw::c_int;
3036}
3037unsafe extern "C" {
3038 pub fn ctermid_r(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
3039}
3040unsafe extern "C" {
3041 pub fn fgetln(arg1: *mut FILE, __len: *mut usize) -> *mut ::std::os::raw::c_char;
3042}
3043unsafe extern "C" {
3044 pub fn fmtcheck(
3045 arg1: *const ::std::os::raw::c_char,
3046 arg2: *const ::std::os::raw::c_char,
3047 ) -> *const ::std::os::raw::c_char;
3048}
3049unsafe extern "C" {
3050 pub fn fpurge(arg1: *mut FILE) -> ::std::os::raw::c_int;
3051}
3052unsafe extern "C" {
3053 pub fn setbuffer(
3054 arg1: *mut FILE,
3055 arg2: *mut ::std::os::raw::c_char,
3056 __size: ::std::os::raw::c_int,
3057 );
3058}
3059unsafe extern "C" {
3060 pub fn setlinebuf(arg1: *mut FILE) -> ::std::os::raw::c_int;
3061}
3062unsafe extern "C" {
3063 pub fn vasprintf(
3064 arg1: *mut *mut ::std::os::raw::c_char,
3065 arg2: *const ::std::os::raw::c_char,
3066 arg3: va_list,
3067 ) -> ::std::os::raw::c_int;
3068}
3069unsafe extern "C" {
3070 pub fn funopen(
3071 arg1: *const ::std::os::raw::c_void,
3072 arg2: ::std::option::Option<
3073 unsafe extern "C" fn(
3074 arg1: *mut ::std::os::raw::c_void,
3075 arg2: *mut ::std::os::raw::c_char,
3076 __n: ::std::os::raw::c_int,
3077 ) -> ::std::os::raw::c_int,
3078 >,
3079 arg3: ::std::option::Option<
3080 unsafe extern "C" fn(
3081 arg1: *mut ::std::os::raw::c_void,
3082 arg2: *const ::std::os::raw::c_char,
3083 __n: ::std::os::raw::c_int,
3084 ) -> ::std::os::raw::c_int,
3085 >,
3086 arg4: ::std::option::Option<
3087 unsafe extern "C" fn(
3088 arg1: *mut ::std::os::raw::c_void,
3089 arg2: fpos_t,
3090 arg3: ::std::os::raw::c_int,
3091 ) -> fpos_t,
3092 >,
3093 arg5: ::std::option::Option<
3094 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
3095 >,
3096 ) -> *mut FILE;
3097}
3098unsafe extern "C" {
3099 pub fn __snprintf_chk(
3100 arg1: *mut ::std::os::raw::c_char,
3101 __maxlen: usize,
3102 arg2: ::std::os::raw::c_int,
3103 arg3: usize,
3104 arg4: *const ::std::os::raw::c_char,
3105 ...
3106 ) -> ::std::os::raw::c_int;
3107}
3108unsafe extern "C" {
3109 pub fn __vsnprintf_chk(
3110 arg1: *mut ::std::os::raw::c_char,
3111 __maxlen: usize,
3112 arg2: ::std::os::raw::c_int,
3113 arg3: usize,
3114 arg4: *const ::std::os::raw::c_char,
3115 arg5: va_list,
3116 ) -> ::std::os::raw::c_int;
3117}
3118unsafe extern "C" {
3119 pub fn __sprintf_chk(
3120 arg1: *mut ::std::os::raw::c_char,
3121 arg2: ::std::os::raw::c_int,
3122 arg3: usize,
3123 arg4: *const ::std::os::raw::c_char,
3124 ...
3125 ) -> ::std::os::raw::c_int;
3126}
3127unsafe extern "C" {
3128 pub fn __vsprintf_chk(
3129 arg1: *mut ::std::os::raw::c_char,
3130 arg2: ::std::os::raw::c_int,
3131 arg3: usize,
3132 arg4: *const ::std::os::raw::c_char,
3133 arg5: va_list,
3134 ) -> ::std::os::raw::c_int;
3135}
3136unsafe extern "C" {
3137 pub fn delta2d_decode8(length0: usize, length1: usize, chunkBuffer: *mut i8);
3138}
3139unsafe extern "C" {
3140 pub fn delta2d_encode8(length0: usize, length1: usize, chunkBuffer: *mut i8);
3141}
3142unsafe extern "C" {
3143 pub fn delta2d_decode16(length0: usize, length1: usize, chunkBuffer: *mut i16);
3144}
3145unsafe extern "C" {
3146 pub fn delta2d_encode16(length0: usize, length1: usize, chunkBuffer: *mut i16);
3147}
3148unsafe extern "C" {
3149 pub fn delta2d_decode32(length0: usize, length1: usize, chunkBuffer: *mut i32);
3150}
3151unsafe extern "C" {
3152 pub fn delta2d_encode32(length0: usize, length1: usize, chunkBuffer: *mut i32);
3153}
3154unsafe extern "C" {
3155 pub fn delta2d_decode64(length0: usize, length1: usize, chunkBuffer: *mut i64);
3156}
3157unsafe extern "C" {
3158 pub fn delta2d_encode64(length0: usize, length1: usize, chunkBuffer: *mut i64);
3159}
3160unsafe extern "C" {
3161 pub fn delta2d_encode_xor(length0: usize, length1: usize, chunkBuffer: *mut f32);
3162}
3163unsafe extern "C" {
3164 pub fn delta2d_decode_xor(length0: usize, length1: usize, chunkBuffer: *mut f32);
3165}
3166unsafe extern "C" {
3167 pub fn delta2d_encode_xor_double(length0: usize, length1: usize, chunkBuffer: *mut f64);
3168}
3169unsafe extern "C" {
3170 pub fn delta2d_decode_xor_double(length0: usize, length1: usize, chunkBuffer: *mut f64);
3171}
3172#[repr(u32)]
3173#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
3174pub enum OmError_t {
3175 ERROR_OK = 0,
3176 ERROR_INVALID_COMPRESSION_TYPE = 1,
3177 ERROR_INVALID_DATA_TYPE = 2,
3178 ERROR_OUT_OF_BOUND_READ = 3,
3179 ERROR_NOT_AN_OM_FILE = 4,
3180 ERROR_DEFLATED_SIZE_MISMATCH = 5,
3181 ERROR_INVALID_DIMENSIONS = 6,
3182 ERROR_INVALID_CHUNK_DIMENSIONS = 7,
3183 ERROR_INVALID_READ_OFFSET = 8,
3184 ERROR_INVALID_READ_COUNT = 9,
3185 ERROR_INVALID_CUBE_OFFSET = 10,
3186}
3187unsafe extern "C" {
3188 pub fn om_error_string(error: OmError_t) -> *const ::std::os::raw::c_char;
3189}
3190#[repr(u32)]
3191#[doc = " Data types"]
3192#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
3193pub enum OmDataType_t {
3194 DATA_TYPE_NONE = 0,
3195 DATA_TYPE_INT8 = 1,
3196 DATA_TYPE_UINT8 = 2,
3197 DATA_TYPE_INT16 = 3,
3198 DATA_TYPE_UINT16 = 4,
3199 DATA_TYPE_INT32 = 5,
3200 DATA_TYPE_UINT32 = 6,
3201 DATA_TYPE_INT64 = 7,
3202 DATA_TYPE_UINT64 = 8,
3203 DATA_TYPE_FLOAT = 9,
3204 DATA_TYPE_DOUBLE = 10,
3205 DATA_TYPE_STRING = 11,
3206 DATA_TYPE_INT8_ARRAY = 12,
3207 DATA_TYPE_UINT8_ARRAY = 13,
3208 DATA_TYPE_INT16_ARRAY = 14,
3209 DATA_TYPE_UINT16_ARRAY = 15,
3210 DATA_TYPE_INT32_ARRAY = 16,
3211 DATA_TYPE_UINT32_ARRAY = 17,
3212 DATA_TYPE_INT64_ARRAY = 18,
3213 DATA_TYPE_UINT64_ARRAY = 19,
3214 DATA_TYPE_FLOAT_ARRAY = 20,
3215 DATA_TYPE_DOUBLE_ARRAY = 21,
3216 DATA_TYPE_STRING_ARRAY = 22,
3217}
3218#[repr(u32)]
3219#[doc = " Compression types"]
3220#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
3221pub enum OmCompression_t {
3222 COMPRESSION_PFOR_DELTA2D_INT16 = 0,
3223 COMPRESSION_FPX_XOR2D = 1,
3224 COMPRESSION_PFOR_DELTA2D = 2,
3225 COMPRESSION_PFOR_DELTA2D_INT16_LOGARITHMIC = 3,
3226 COMPRESSION_NONE = 4,
3227}
3228unsafe extern "C" {
3229 #[doc = " Get the number of bytes per element.\n This function will set an error if called for an invalid data type.\n It only supports array types."]
3230 pub fn om_get_bytes_per_element(data_type: OmDataType_t, error: *mut OmError_t) -> u8;
3231}
3232unsafe extern "C" {
3233 #[doc = " Get the number of bytes per element after compression.\n This function will set an error if called for an invalid data type.\n It only supports array types."]
3234 pub fn om_get_bytes_per_element_compressed(
3235 data_type: OmDataType_t,
3236 compression: OmCompression_t,
3237 error: *mut OmError_t,
3238 ) -> u8;
3239}
3240unsafe extern "C" {
3241 #[doc = " Copy 16 bit integer array and convert to float"]
3242 pub fn om_common_copy_float_to_int16(
3243 length: u64,
3244 scale_factor: f32,
3245 add_offset: f32,
3246 src: *const ::std::os::raw::c_void,
3247 dst: *mut ::std::os::raw::c_void,
3248 );
3249}
3250unsafe extern "C" {
3251 pub fn om_common_copy_float_to_int32(
3252 length: u64,
3253 scale_factor: f32,
3254 add_offset: f32,
3255 src: *const ::std::os::raw::c_void,
3256 dst: *mut ::std::os::raw::c_void,
3257 );
3258}
3259unsafe extern "C" {
3260 pub fn om_common_copy_double_to_int64(
3261 length: u64,
3262 scale_factor: f32,
3263 add_offset: f32,
3264 src: *const ::std::os::raw::c_void,
3265 dst: *mut ::std::os::raw::c_void,
3266 );
3267}
3268unsafe extern "C" {
3269 #[doc = " Copy 16 bit integer array and convert to float and scale log10"]
3270 pub fn om_common_copy_float_to_int16_log10(
3271 length: u64,
3272 scale_factor: f32,
3273 src: *const ::std::os::raw::c_void,
3274 dst: *mut ::std::os::raw::c_void,
3275 );
3276}
3277unsafe extern "C" {
3278 #[doc = " Convert int16 and scale to float"]
3279 pub fn om_common_copy_int16_to_float(
3280 length: u64,
3281 scale_factor: f32,
3282 add_offset: f32,
3283 src: *const ::std::os::raw::c_void,
3284 dst: *mut ::std::os::raw::c_void,
3285 );
3286}
3287unsafe extern "C" {
3288 pub fn om_common_copy_int32_to_float(
3289 length: u64,
3290 scale_factor: f32,
3291 add_offset: f32,
3292 src: *const ::std::os::raw::c_void,
3293 dst: *mut ::std::os::raw::c_void,
3294 );
3295}
3296unsafe extern "C" {
3297 pub fn om_common_copy_int64_to_double(
3298 length: u64,
3299 scale_factor: f32,
3300 add_offset: f32,
3301 src: *const ::std::os::raw::c_void,
3302 dst: *mut ::std::os::raw::c_void,
3303 );
3304}
3305unsafe extern "C" {
3306 #[doc = " Convert int16 and scale to float with log10"]
3307 pub fn om_common_copy_int16_to_float_log10(
3308 length: u64,
3309 scale_factor: f32,
3310 src: *const ::std::os::raw::c_void,
3311 dst: *mut ::std::os::raw::c_void,
3312 );
3313}
3314unsafe extern "C" {
3315 pub fn om_common_copy8(
3316 length: u64,
3317 src: *const ::std::os::raw::c_void,
3318 dst: *mut ::std::os::raw::c_void,
3319 );
3320}
3321unsafe extern "C" {
3322 pub fn om_common_copy16(
3323 length: u64,
3324 src: *const ::std::os::raw::c_void,
3325 dst: *mut ::std::os::raw::c_void,
3326 );
3327}
3328unsafe extern "C" {
3329 pub fn om_common_copy32(
3330 length: u64,
3331 src: *const ::std::os::raw::c_void,
3332 dst: *mut ::std::os::raw::c_void,
3333 );
3334}
3335unsafe extern "C" {
3336 pub fn om_common_copy64(
3337 length: u64,
3338 src: *const ::std::os::raw::c_void,
3339 dst: *mut ::std::os::raw::c_void,
3340 );
3341}
3342unsafe extern "C" {
3343 pub fn om_common_compress_fpxenc32(
3344 src: *const ::std::os::raw::c_void,
3345 length: u64,
3346 dst: *mut ::std::os::raw::c_void,
3347 ) -> u64;
3348}
3349unsafe extern "C" {
3350 pub fn om_common_compress_fpxenc64(
3351 src: *const ::std::os::raw::c_void,
3352 length: u64,
3353 dst: *mut ::std::os::raw::c_void,
3354 ) -> u64;
3355}
3356unsafe extern "C" {
3357 pub fn om_common_decompress_fpxdec32(
3358 src: *const ::std::os::raw::c_void,
3359 length: u64,
3360 dst: *mut ::std::os::raw::c_void,
3361 ) -> u64;
3362}
3363unsafe extern "C" {
3364 pub fn om_common_decompress_fpxdec64(
3365 src: *const ::std::os::raw::c_void,
3366 length: u64,
3367 dst: *mut ::std::os::raw::c_void,
3368 ) -> u64;
3369}
3370#[repr(u32)]
3371#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
3372pub enum OmHeaderType_t {
3373 OM_HEADER_INVALID = 0,
3374 OM_HEADER_LEGACY = 1,
3375 OM_HEADER_READ_TRAILER = 2,
3376}
3377#[doc = " Legacy files only contain one 2D array with attributes in the header\n File content: Header, look-up-table, compressed data"]
3378#[repr(C)]
3379#[derive(Debug, Copy, Clone)]
3380pub struct OmHeaderV1_t {
3381 pub magic_number1: u8,
3382 pub magic_number2: u8,
3383 pub version: u8,
3384 pub compression_type: u8,
3385 pub scale_factor: f32,
3386 pub dim0: u64,
3387 pub dim1: u64,
3388 pub chunk0: u64,
3389 pub chunk1: u64,
3390}
3391#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3392const _: () = {
3393 ["Size of OmHeaderV1_t"][::std::mem::size_of::<OmHeaderV1_t>() - 40usize];
3394 ["Alignment of OmHeaderV1_t"][::std::mem::align_of::<OmHeaderV1_t>() - 8usize];
3395 ["Offset of field: OmHeaderV1_t::magic_number1"]
3396 [::std::mem::offset_of!(OmHeaderV1_t, magic_number1) - 0usize];
3397 ["Offset of field: OmHeaderV1_t::magic_number2"]
3398 [::std::mem::offset_of!(OmHeaderV1_t, magic_number2) - 1usize];
3399 ["Offset of field: OmHeaderV1_t::version"]
3400 [::std::mem::offset_of!(OmHeaderV1_t, version) - 2usize];
3401 ["Offset of field: OmHeaderV1_t::compression_type"]
3402 [::std::mem::offset_of!(OmHeaderV1_t, compression_type) - 3usize];
3403 ["Offset of field: OmHeaderV1_t::scale_factor"]
3404 [::std::mem::offset_of!(OmHeaderV1_t, scale_factor) - 4usize];
3405 ["Offset of field: OmHeaderV1_t::dim0"][::std::mem::offset_of!(OmHeaderV1_t, dim0) - 8usize];
3406 ["Offset of field: OmHeaderV1_t::dim1"][::std::mem::offset_of!(OmHeaderV1_t, dim1) - 16usize];
3407 ["Offset of field: OmHeaderV1_t::chunk0"]
3408 [::std::mem::offset_of!(OmHeaderV1_t, chunk0) - 24usize];
3409 ["Offset of field: OmHeaderV1_t::chunk1"]
3410 [::std::mem::offset_of!(OmHeaderV1_t, chunk1) - 32usize];
3411};
3412#[doc = " Newer version only contain magic number \"OM\" and the version 3"]
3413#[repr(C)]
3414#[derive(Debug, Copy, Clone)]
3415pub struct OmHeaderV3_t {
3416 pub magic_number1: u8,
3417 pub magic_number2: u8,
3418 pub version: u8,
3419}
3420#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3421const _: () = {
3422 ["Size of OmHeaderV3_t"][::std::mem::size_of::<OmHeaderV3_t>() - 3usize];
3423 ["Alignment of OmHeaderV3_t"][::std::mem::align_of::<OmHeaderV3_t>() - 1usize];
3424 ["Offset of field: OmHeaderV3_t::magic_number1"]
3425 [::std::mem::offset_of!(OmHeaderV3_t, magic_number1) - 0usize];
3426 ["Offset of field: OmHeaderV3_t::magic_number2"]
3427 [::std::mem::offset_of!(OmHeaderV3_t, magic_number2) - 1usize];
3428 ["Offset of field: OmHeaderV3_t::version"]
3429 [::std::mem::offset_of!(OmHeaderV3_t, version) - 2usize];
3430};
3431#[doc = " Trailer only present in version 3 files"]
3432#[repr(C)]
3433#[derive(Debug, Copy, Clone)]
3434pub struct OmTrailer_t {
3435 pub magic_number1: u8,
3436 pub magic_number2: u8,
3437 pub version: u8,
3438 pub reserved: u8,
3439 pub reserved2: u32,
3440 pub root_offset: u64,
3441 pub root_size: u64,
3442}
3443#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3444const _: () = {
3445 ["Size of OmTrailer_t"][::std::mem::size_of::<OmTrailer_t>() - 24usize];
3446 ["Alignment of OmTrailer_t"][::std::mem::align_of::<OmTrailer_t>() - 8usize];
3447 ["Offset of field: OmTrailer_t::magic_number1"]
3448 [::std::mem::offset_of!(OmTrailer_t, magic_number1) - 0usize];
3449 ["Offset of field: OmTrailer_t::magic_number2"]
3450 [::std::mem::offset_of!(OmTrailer_t, magic_number2) - 1usize];
3451 ["Offset of field: OmTrailer_t::version"]
3452 [::std::mem::offset_of!(OmTrailer_t, version) - 2usize];
3453 ["Offset of field: OmTrailer_t::reserved"]
3454 [::std::mem::offset_of!(OmTrailer_t, reserved) - 3usize];
3455 ["Offset of field: OmTrailer_t::reserved2"]
3456 [::std::mem::offset_of!(OmTrailer_t, reserved2) - 4usize];
3457 ["Offset of field: OmTrailer_t::root_offset"]
3458 [::std::mem::offset_of!(OmTrailer_t, root_offset) - 8usize];
3459 ["Offset of field: OmTrailer_t::root_size"]
3460 [::std::mem::offset_of!(OmTrailer_t, root_size) - 16usize];
3461};
3462unsafe extern "C" {
3463 #[doc = " Return the size in byte of the header that should be read. Always 40 byte to support legacy 2D files."]
3464 pub fn om_header_size() -> usize;
3465}
3466unsafe extern "C" {
3467 #[doc = " Size in bytes of the trailer that contains the root variable offset in newer files"]
3468 pub fn om_trailer_size() -> usize;
3469}
3470unsafe extern "C" {
3471 #[doc = " The size of a OM header for newer files. Always 3 bytes."]
3472 pub fn om_header_write_size() -> usize;
3473}
3474unsafe extern "C" {
3475 #[doc = " Check if the header is a OM file header and return if its a legacy version or a new version file"]
3476 pub fn om_header_type(src: *const ::std::os::raw::c_void) -> OmHeaderType_t;
3477}
3478unsafe extern "C" {
3479 #[doc = " Read the trailer of an OM file to get the root variable. Size is set to 0 if this is not an OM file."]
3480 pub fn om_trailer_read(
3481 src: *const ::std::os::raw::c_void,
3482 offset: *mut u64,
3483 size: *mut u64,
3484 ) -> bool;
3485}
3486unsafe extern "C" {
3487 #[doc = " Write an header for newer OM files"]
3488 pub fn om_header_write(dest: *mut ::std::os::raw::c_void);
3489}
3490unsafe extern "C" {
3491 #[doc = " Write an trailer for newer OM files including the root variable"]
3492 pub fn om_trailer_write(dest: *mut ::std::os::raw::c_void, offset: u64, size: u64);
3493}
3494#[doc = " =========== Structures describing the data layout ==============="]
3495#[repr(C)]
3496#[derive(Debug, Copy, Clone)]
3497pub struct OmVariableV3_t {
3498 pub data_type: u8,
3499 pub compression_type: u8,
3500 pub name_size: u16,
3501 pub children_count: u32,
3502}
3503#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3504const _: () = {
3505 ["Size of OmVariableV3_t"][::std::mem::size_of::<OmVariableV3_t>() - 8usize];
3506 ["Alignment of OmVariableV3_t"][::std::mem::align_of::<OmVariableV3_t>() - 4usize];
3507 ["Offset of field: OmVariableV3_t::data_type"]
3508 [::std::mem::offset_of!(OmVariableV3_t, data_type) - 0usize];
3509 ["Offset of field: OmVariableV3_t::compression_type"]
3510 [::std::mem::offset_of!(OmVariableV3_t, compression_type) - 1usize];
3511 ["Offset of field: OmVariableV3_t::name_size"]
3512 [::std::mem::offset_of!(OmVariableV3_t, name_size) - 2usize];
3513 ["Offset of field: OmVariableV3_t::children_count"]
3514 [::std::mem::offset_of!(OmVariableV3_t, children_count) - 4usize];
3515};
3516#[repr(C)]
3517#[derive(Debug, Copy, Clone)]
3518pub struct OmVariableArrayV3_t {
3519 pub data_type: u8,
3520 pub compression_type: u8,
3521 pub name_size: u16,
3522 pub children_count: u32,
3523 pub lut_size: u64,
3524 pub lut_offset: u64,
3525 pub dimension_count: u64,
3526 pub scale_factor: f32,
3527 pub add_offset: f32,
3528}
3529#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3530const _: () = {
3531 ["Size of OmVariableArrayV3_t"][::std::mem::size_of::<OmVariableArrayV3_t>() - 40usize];
3532 ["Alignment of OmVariableArrayV3_t"][::std::mem::align_of::<OmVariableArrayV3_t>() - 8usize];
3533 ["Offset of field: OmVariableArrayV3_t::data_type"]
3534 [::std::mem::offset_of!(OmVariableArrayV3_t, data_type) - 0usize];
3535 ["Offset of field: OmVariableArrayV3_t::compression_type"]
3536 [::std::mem::offset_of!(OmVariableArrayV3_t, compression_type) - 1usize];
3537 ["Offset of field: OmVariableArrayV3_t::name_size"]
3538 [::std::mem::offset_of!(OmVariableArrayV3_t, name_size) - 2usize];
3539 ["Offset of field: OmVariableArrayV3_t::children_count"]
3540 [::std::mem::offset_of!(OmVariableArrayV3_t, children_count) - 4usize];
3541 ["Offset of field: OmVariableArrayV3_t::lut_size"]
3542 [::std::mem::offset_of!(OmVariableArrayV3_t, lut_size) - 8usize];
3543 ["Offset of field: OmVariableArrayV3_t::lut_offset"]
3544 [::std::mem::offset_of!(OmVariableArrayV3_t, lut_offset) - 16usize];
3545 ["Offset of field: OmVariableArrayV3_t::dimension_count"]
3546 [::std::mem::offset_of!(OmVariableArrayV3_t, dimension_count) - 24usize];
3547 ["Offset of field: OmVariableArrayV3_t::scale_factor"]
3548 [::std::mem::offset_of!(OmVariableArrayV3_t, scale_factor) - 32usize];
3549 ["Offset of field: OmVariableArrayV3_t::add_offset"]
3550 [::std::mem::offset_of!(OmVariableArrayV3_t, add_offset) - 36usize];
3551};
3552#[doc = " only expose an opaque pointer"]
3553pub type OmVariable_t = *mut ::std::os::raw::c_void;
3554unsafe extern "C" {
3555 #[doc = " After reading data for the variable, initialize it. This is literally a simple cast to an opaque pointer. Source memory must remain accessible!"]
3556 pub fn om_variable_init(src: *const ::std::os::raw::c_void) -> *const OmVariable_t;
3557}
3558unsafe extern "C" {
3559 #[doc = " Get the name of of a given variable. No guarantee for zero termination! The length in bytes of the string is placed into `length`."]
3560 pub fn om_variable_get_name(
3561 variable: *const OmVariable_t,
3562 length: *mut u16,
3563 ) -> *const ::std::os::raw::c_char;
3564}
3565unsafe extern "C" {
3566 #[doc = " Get the type of the current variable"]
3567 pub fn om_variable_get_type(variable: *const OmVariable_t) -> OmDataType_t;
3568}
3569unsafe extern "C" {
3570 #[doc = " Get the compression type of the current variable"]
3571 pub fn om_variable_get_compression(variable: *const OmVariable_t) -> OmCompression_t;
3572}
3573unsafe extern "C" {
3574 pub fn om_variable_get_scale_factor(variable: *const OmVariable_t) -> f32;
3575}
3576unsafe extern "C" {
3577 pub fn om_variable_get_add_offset(variable: *const OmVariable_t) -> f32;
3578}
3579unsafe extern "C" {
3580 #[doc = " Get number of dimensions"]
3581 pub fn om_variable_get_dimensions_count(variable: *const OmVariable_t) -> u64;
3582}
3583unsafe extern "C" {
3584 #[doc = " Get a pointer to the dimensions of a OM variable"]
3585 pub fn om_variable_get_dimensions(variable: *const OmVariable_t) -> *const u64;
3586}
3587unsafe extern "C" {
3588 #[doc = " Get a pointer to the chunk dimensions of an OM Variable"]
3589 pub fn om_variable_get_chunks(variable: *const OmVariable_t) -> *const u64;
3590}
3591unsafe extern "C" {
3592 #[doc = " Return how many children are available for a given variable"]
3593 pub fn om_variable_get_children_count(variable: *const OmVariable_t) -> u32;
3594}
3595unsafe extern "C" {
3596 #[doc = " Get the file offset where a specified child or children can be read"]
3597 pub fn om_variable_get_children(
3598 variable: *const OmVariable_t,
3599 children_offset: u32,
3600 children_count: u32,
3601 children_offsets: *mut u64,
3602 children_sizes: *mut u64,
3603 ) -> bool;
3604}
3605unsafe extern "C" {
3606 #[doc = " Read a variable as a scalar. Returns the size and value into the value and size field. `value` needs to be a pointer that then points to the value"]
3607 pub fn om_variable_get_scalar(
3608 variable: *const OmVariable_t,
3609 value: *mut *mut ::std::os::raw::c_void,
3610 size: *mut u64,
3611 ) -> OmError_t;
3612}
3613unsafe extern "C" {
3614 #[doc = " Validate that the variable metadata is consistent with the buffer size.\n This checks that dimension arrays, chunk arrays, children arrays, and name\n all fit within the given buffer. Returns ERROR_OK if valid."]
3615 pub fn om_variable_validate(src: *const ::std::os::raw::c_void, buffer_size: u64) -> OmError_t;
3616}
3617unsafe extern "C" {
3618 #[doc = " Get the length of a scalar variable if written to a file.\n If the scalar is a string, we need to know the length of the string."]
3619 pub fn om_variable_write_scalar_size(
3620 name_size: u16,
3621 children_count: u32,
3622 data_type: OmDataType_t,
3623 string_size: u64,
3624 ) -> usize;
3625}
3626unsafe extern "C" {
3627 #[doc = " Write a scalar variable with name and children variables to a destination buffer\n\n This function supports the following data types:\n - DATA_TYPE_NONE: No value storage (passing a NULL pointer to value is allowed)\n - DATA_TYPE_INT8/UINT8: 8-bit integer value\n - DATA_TYPE_INT16/UINT16: 16-bit integer value\n - DATA_TYPE_INT32/UINT32: 32-bit integer value\n - DATA_TYPE_INT64/UINT64: 64-bit integer value\n - DATA_TYPE_FLOAT: 32-bit floating point value\n - DATA_TYPE_DOUBLE: 64-bit floating point value\n\n @param dst Destination buffer to write the variable to\n @param name_size Length of the variable name in bytes\n @param children_count Number of child variables\n @param children_offsets Array of offsets to child variables (can be NULL if children_count is 0)\n @param children_sizes Array of sizes of child variables (can be NULL if children_count is 0)\n @param name Pointer to the variable name string\n @param data_type Type of the data to be stored (see OmDataType_t)\n @param value Pointer to the value to be stored. For DATA_TYPE_NONE, this should be NULL.\n For other types, this should point to a value of the corresponding C type.\n\n @note The destination buffer must be large enough to hold the variable.\n Use om_variable_write_scalar_size() to calculate the required size."]
3628 pub fn om_variable_write_scalar(
3629 dst: *mut ::std::os::raw::c_void,
3630 name_size: u16,
3631 children_count: u32,
3632 children_offsets: *const u64,
3633 children_sizes: *const u64,
3634 name: *const ::std::os::raw::c_char,
3635 data_type: OmDataType_t,
3636 value: *const ::std::os::raw::c_void,
3637 string_size: usize,
3638 );
3639}
3640unsafe extern "C" {
3641 #[doc = " Get the size of meta attributes of a numeric array if written to a file. Does not contain any data. Only offsets for the actual data."]
3642 pub fn om_variable_write_numeric_array_size(
3643 name_size: u16,
3644 children_count: u32,
3645 dimension_count: u64,
3646 ) -> usize;
3647}
3648unsafe extern "C" {
3649 #[doc = " Write meta data for a numeric array to file"]
3650 pub fn om_variable_write_numeric_array(
3651 dst: *mut ::std::os::raw::c_void,
3652 name_size: u16,
3653 children_count: u32,
3654 children_offsets: *const u64,
3655 children_sizes: *const u64,
3656 name: *const ::std::os::raw::c_char,
3657 data_type: OmDataType_t,
3658 compression_type: OmCompression_t,
3659 scale_factor: f32,
3660 add_offset: f32,
3661 dimension_count: u64,
3662 dimensions: *const u64,
3663 chunks: *const u64,
3664 lut_size: u64,
3665 lut_offset: u64,
3666 );
3667}
3668#[repr(u32)]
3669#[doc = " Memory layout types"]
3670#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
3671pub enum OmMemoryLayout_t {
3672 OM_MEMORY_LAYOUT_LEGACY = 0,
3673 OM_MEMORY_LAYOUT_ARRAY = 1,
3674 OM_MEMORY_LAYOUT_SCALAR = 3,
3675}
3676unsafe extern "C" {
3677 #[doc = " Check if a variable is legacy or version 3 array of scalar. Legacy files are the entire header containing magic number and version."]
3678 pub fn _om_variable_memory_layout(variable: *const OmVariable_t) -> OmMemoryLayout_t;
3679}
3680#[repr(C)]
3681#[derive(Debug, Copy, Clone)]
3682pub struct OmRange_t {
3683 pub lowerBound: u64,
3684 pub upperBound: u64,
3685}
3686#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3687const _: () = {
3688 ["Size of OmRange_t"][::std::mem::size_of::<OmRange_t>() - 16usize];
3689 ["Alignment of OmRange_t"][::std::mem::align_of::<OmRange_t>() - 8usize];
3690 ["Offset of field: OmRange_t::lowerBound"]
3691 [::std::mem::offset_of!(OmRange_t, lowerBound) - 0usize];
3692 ["Offset of field: OmRange_t::upperBound"]
3693 [::std::mem::offset_of!(OmRange_t, upperBound) - 8usize];
3694};
3695#[repr(C)]
3696#[derive(Debug, Copy, Clone)]
3697pub struct OmDecoder_indexRead_t {
3698 pub offset: u64,
3699 pub count: u64,
3700 pub indexRange: OmRange_t,
3701 pub chunkIndex: OmRange_t,
3702 pub nextChunk: OmRange_t,
3703}
3704#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3705const _: () = {
3706 ["Size of OmDecoder_indexRead_t"][::std::mem::size_of::<OmDecoder_indexRead_t>() - 64usize];
3707 ["Alignment of OmDecoder_indexRead_t"]
3708 [::std::mem::align_of::<OmDecoder_indexRead_t>() - 8usize];
3709 ["Offset of field: OmDecoder_indexRead_t::offset"]
3710 [::std::mem::offset_of!(OmDecoder_indexRead_t, offset) - 0usize];
3711 ["Offset of field: OmDecoder_indexRead_t::count"]
3712 [::std::mem::offset_of!(OmDecoder_indexRead_t, count) - 8usize];
3713 ["Offset of field: OmDecoder_indexRead_t::indexRange"]
3714 [::std::mem::offset_of!(OmDecoder_indexRead_t, indexRange) - 16usize];
3715 ["Offset of field: OmDecoder_indexRead_t::chunkIndex"]
3716 [::std::mem::offset_of!(OmDecoder_indexRead_t, chunkIndex) - 32usize];
3717 ["Offset of field: OmDecoder_indexRead_t::nextChunk"]
3718 [::std::mem::offset_of!(OmDecoder_indexRead_t, nextChunk) - 48usize];
3719};
3720pub type OmDecoder_dataRead_t = OmDecoder_indexRead_t;
3721#[repr(C)]
3722#[derive(Debug, Copy, Clone)]
3723pub struct OmDecoder_t {
3724 #[doc = " Number of dimensions"]
3725 pub dimensions_count: u64,
3726 #[doc = " Combine smaller IO reads to a single larger read. If consecutive reads are smaller than `io_size_merge` they might be merged. Default should be 512 bytes."]
3727 pub io_size_merge: u64,
3728 #[doc = " The maximum IO size before IO operations are split up. Default 64k. If data is in memory, this can be set higher."]
3729 pub io_size_max: u64,
3730 #[doc = " Each 64 LUT entries are compressed into a LUT chunk. The LUT chunk length returns the size in byte how large a maximum compressed size for a LUT chunk is. 0 for version 1/2 files that do not compress LUT."]
3731 pub lut_chunk_length: u64,
3732 #[doc = " The offset position where the LUT should start"]
3733 pub lut_start: u64,
3734 #[doc = " uint64_t of data chunks in this file. This value is computed in the initialisation."]
3735 pub number_of_chunks: u64,
3736 #[doc = " The dimensions of the data array. The last dimension is the \"fast\" dimension meaning the elements are sequential in memory"]
3737 pub dimensions: *const u64,
3738 #[doc = " The chunk lengths for each dimension"]
3739 pub chunks: *const u64,
3740 #[doc = " The read offset to start reading data in each dimension"]
3741 pub read_offset: *const u64,
3742 #[doc = " How many elements in each dimension to read"]
3743 pub read_count: *const u64,
3744 #[doc = " The dimensions of the target array. This can be the same as `read_count`, but it is also possible to read into a larger array"]
3745 pub cube_dimensions: *const u64,
3746 #[doc = " The offset for each dimension if data is read into a larger array."]
3747 pub cube_offset: *const u64,
3748 #[doc = " A scalefactor to convert floats to integers"]
3749 pub scale_factor: f32,
3750 #[doc = " An offset to convert floats to integers while scaling"]
3751 pub add_offset: f32,
3752 #[doc = " The data type of the data"]
3753 pub data_type: u8,
3754 #[doc = " The compression type of the data"]
3755 pub compression: u8,
3756 #[doc = " The size of the elements in bytes"]
3757 pub bytes_per_element: u8,
3758 #[doc = " The size of the elements in bytes after compression, e.g. Int16 could be used to scale floats"]
3759 pub bytes_per_element_compressed: u8,
3760}
3761#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3762const _: () = {
3763 ["Size of OmDecoder_t"][::std::mem::size_of::<OmDecoder_t>() - 112usize];
3764 ["Alignment of OmDecoder_t"][::std::mem::align_of::<OmDecoder_t>() - 8usize];
3765 ["Offset of field: OmDecoder_t::dimensions_count"]
3766 [::std::mem::offset_of!(OmDecoder_t, dimensions_count) - 0usize];
3767 ["Offset of field: OmDecoder_t::io_size_merge"]
3768 [::std::mem::offset_of!(OmDecoder_t, io_size_merge) - 8usize];
3769 ["Offset of field: OmDecoder_t::io_size_max"]
3770 [::std::mem::offset_of!(OmDecoder_t, io_size_max) - 16usize];
3771 ["Offset of field: OmDecoder_t::lut_chunk_length"]
3772 [::std::mem::offset_of!(OmDecoder_t, lut_chunk_length) - 24usize];
3773 ["Offset of field: OmDecoder_t::lut_start"]
3774 [::std::mem::offset_of!(OmDecoder_t, lut_start) - 32usize];
3775 ["Offset of field: OmDecoder_t::number_of_chunks"]
3776 [::std::mem::offset_of!(OmDecoder_t, number_of_chunks) - 40usize];
3777 ["Offset of field: OmDecoder_t::dimensions"]
3778 [::std::mem::offset_of!(OmDecoder_t, dimensions) - 48usize];
3779 ["Offset of field: OmDecoder_t::chunks"][::std::mem::offset_of!(OmDecoder_t, chunks) - 56usize];
3780 ["Offset of field: OmDecoder_t::read_offset"]
3781 [::std::mem::offset_of!(OmDecoder_t, read_offset) - 64usize];
3782 ["Offset of field: OmDecoder_t::read_count"]
3783 [::std::mem::offset_of!(OmDecoder_t, read_count) - 72usize];
3784 ["Offset of field: OmDecoder_t::cube_dimensions"]
3785 [::std::mem::offset_of!(OmDecoder_t, cube_dimensions) - 80usize];
3786 ["Offset of field: OmDecoder_t::cube_offset"]
3787 [::std::mem::offset_of!(OmDecoder_t, cube_offset) - 88usize];
3788 ["Offset of field: OmDecoder_t::scale_factor"]
3789 [::std::mem::offset_of!(OmDecoder_t, scale_factor) - 96usize];
3790 ["Offset of field: OmDecoder_t::add_offset"]
3791 [::std::mem::offset_of!(OmDecoder_t, add_offset) - 100usize];
3792 ["Offset of field: OmDecoder_t::data_type"]
3793 [::std::mem::offset_of!(OmDecoder_t, data_type) - 104usize];
3794 ["Offset of field: OmDecoder_t::compression"]
3795 [::std::mem::offset_of!(OmDecoder_t, compression) - 105usize];
3796 ["Offset of field: OmDecoder_t::bytes_per_element"]
3797 [::std::mem::offset_of!(OmDecoder_t, bytes_per_element) - 106usize];
3798 ["Offset of field: OmDecoder_t::bytes_per_element_compressed"]
3799 [::std::mem::offset_of!(OmDecoder_t, bytes_per_element_compressed) - 107usize];
3800};
3801unsafe extern "C" {
3802 #[doc = " @brief Initializes the `om_decoder_t` structure with the specified parameters.\n\n This function sets up the `om_decoder_t` instance, configuring its dimensions, chunk information,\n reading parameters, LUT (Look-Up Table) properties, and decompression methods. It prepares the\n decoder for reading and processing compressed data.\n\n @param decoder A pointer to an `om_decoder_t` structure that will be initialized.\n @param variable A pointer to the data region of the variable to read\n @param dimension_count The number of dimensions of the data (e.g., 3 for 3D data). All following array must have the some dimension count.\n @param read_offset A pointer to an array specifying the offsets for reading data in each dimension. This array sets the starting points for data reads.\n @param read_count A pointer to an array specifying the number of elements to read along each dimension. It defines how much data to read starting from `read_offset`.\n @param cube_offset A pointer to an array specifying the offset of the target cube in each dimension. This is used when reading data into a larger array.\n @param cube_dimensions A pointer to an array specifying the dimensions of the target cube being written to.It can be the same as `read_count` but allows writing into larger arrays..\n @param io_size_merge The maximum size (in bytes) for merging consecutive IO operations. It helps to optimize read performance by merging small reads.\n @param io_size_max The maximum size (in bytes) for a single IO operation before it is split. It defines the threshold for splitting large reads.\n\n @returns Return an om_error_t if the compression or dimension is invalid"]
3803 pub fn om_decoder_init(
3804 decoder: *mut OmDecoder_t,
3805 variable: *const OmVariable_t,
3806 dimension_count: u64,
3807 read_offset: *const u64,
3808 read_count: *const u64,
3809 cube_offset: *const u64,
3810 cube_dimensions: *const u64,
3811 io_size_merge: u64,
3812 io_size_max: u64,
3813 ) -> OmError_t;
3814}
3815unsafe extern "C" {
3816 #[doc = " @brief Initializes an `om_decoder_index_read_t` structure for reading chunk indices.\n\n This function calculates the starting and ending chunk indices for reading data based on\n the dimensions, chunk sizes, and read parameters provided by the `om_decoder_t` structure.\n It determines the range of chunks that need to be processed to fulfill the read request,\n setting the appropriate values in the `om_decoder_index_read_t` structure.\n\n @param decoder A pointer to a constant `om_decoder_t` structure containing information\n about the data array, chunk sizes, read offsets, and dimensions.\n @param index_read A pointer to an `om_decoder_index_read_t` structure that will be\n initialized with the computed chunk index range and other related values."]
3817 pub fn om_decoder_init_index_read(
3818 decoder: *const OmDecoder_t,
3819 indexRead: *mut OmDecoder_indexRead_t,
3820 );
3821}
3822unsafe extern "C" {
3823 #[doc = " @brief Determines the next range of chunks to be read and updates the `om_decoder_index_read_t` structure.\n\n This function calculates the next set of chunk indices that need to be read from the data, based on the\n limits set by the maximum I/O size, alignment, and the logical structure of the data. It updates the\n `om_decoder_index_read_t` structure to reflect the new range of chunks and the corresponding read parameters.\n\n @param decoder A pointer to a constant `om_decoder_t` structure containing information about the data array,\n chunk sizes, I/O constraints, and other relevant parameters.\n @param index_read A pointer to an `om_decoder_index_read_t` structure, which will be updated with the next\n range of chunks to read and the corresponding offset and size of the read operation.\n\n @returns `true` if the next read range was successfully computed and updated in `index_read`.\n `false` if there are no more chunks left to read, indicating that the end of the read range has been reached.\n"]
3824 pub fn om_decoder_next_index_read(
3825 decoder: *const OmDecoder_t,
3826 index_read: *mut OmDecoder_indexRead_t,
3827 ) -> bool;
3828}
3829unsafe extern "C" {
3830 #[doc = " @brief Initializes an `om_decoder_data_read_t` structure for data reading.\n\n This function sets the initial state of the `om_decoder_data_read_t` structure,\n preparing it for subsequent data read operations. It initializes the offset,\n count, index range, and chunk indices based on the provided index read structure.\n\n @param[out] data_read A pointer to the `om_decoder_data_read_t` structure that\n will be initialized. This structure maintains the state\n for reading data chunks.\n @param[in] index_read A pointer to the `om_decoder_index_read_t` structure that\n contains information about the index range and the initial\n chunk index to be used for reading."]
3831 pub fn om_decoder_init_data_read(
3832 data_read: *mut OmDecoder_dataRead_t,
3833 index_read: *const OmDecoder_indexRead_t,
3834 );
3835}
3836unsafe extern "C" {
3837 #[doc = " @brief Prepares the next data read operation for a given chunk of compressed data.\n\n This function advances the data reading process by calculating the start and end positions\n of the next data segment to read based on the provided index data and current state\n of the `om_decoder_data_read_t` structure. It determines how much data to read from\n the compressed data source and where the decompressed data should be written.\n\n The function supports two formats:\n 1. Version 1 format (non-compressed LUTs, where `lut_chunk_element_count` is 1).\n 2. Compressed LUT format (Version 3+).\n\n The function reads from a specified index data and updates the `data_read` structure\n with the offset and size of the next data block to be read.\n\n @param[in] decoder A pointer to the `om_decoder_t` structure, which contains\n information about the file format, compression settings,\n and LUT (look-up table) characteristics.\n @param[out] data_read A pointer to `om_decoder_data_read_t` structure that holds\n the state of the current data read operation. This structure\n is updated to reflect the next segment of data to read.\n @param[in] index_data A pointer to the index data, which provides the compressed\n offset information for each chunk in the LUT.\n @param[in] index_data_size The size of the `index_data` buffer in bytes.\n\n @returns `true` if the next data segment was successfully prepared and ready for reading,\n `false` if there are no more data segments to read or if the range is exhausted.\n\n @returns May return an out-of-bounds read error on corrupted data."]
3838 pub fn om_decoder_next_data_read(
3839 decoder: *const OmDecoder_t,
3840 dataRead: *mut OmDecoder_dataRead_t,
3841 indexData: *const ::std::os::raw::c_void,
3842 indexDataCount: u64,
3843 error: *mut OmError_t,
3844 ) -> bool;
3845}
3846unsafe extern "C" {
3847 #[doc = " @brief Calculates the size of the buffer required to read a single data chunk.\n\n This function determines the size, in bytes, of the buffer needed to read a single\n chunk of data from the compressed file, based on the chunk dimensions and the\n number of bytes per element after decompression.\n\n The calculation involves multiplying the chunk lengths across all dimensions by\n the number of bytes required to store a single element in the decompressed form.\n\n @param[in] decoder A pointer to the `om_decoder_t` structure, which holds the\n decoder configuration, including chunk sizes for each dimension,\n and the number of bytes per element.\n\n @returns The size of the buffer required to read a single chunk, in bytes.\n\n @note This buffer size is used to allocate memory when reading data chunks during\n the decoding process, ensuring that there is sufficient space to store the\n decompressed data of a chunk."]
3848 pub fn om_decoder_read_buffer_size(decoder: *const OmDecoder_t) -> u64;
3849}
3850unsafe extern "C" {
3851 #[doc = " @brief Decodes multiple data chunks from compressed input into a target buffer.\n\n This function iteratively decodes a range of chunks from the compressed input data\n using the specified decoder configuration. It processes each chunk within the provided\n range, decompressing it into a buffer and copying the decompressed data into the\n output buffer. The decoding uses an internal function `_om_decoder_decode_chunk`\n for each individual chunk.\n\n @param[in] decoder A pointer to the `om_decoder_t` structure, which defines\n the decoder configuration, including dimensions, chunk sizes,\n data type and compression type.\n @param[in] chunk An `om_range_t` structure specifying the range of chunks\n to decode. The range is defined by `chunk.lowerBound`\n (inclusive) and `chunk.upperBound` (exclusive).\n @param[in] data A pointer to the compressed data buffer from which the chunks\n are read and decoded.\n @param[in] data_size The size of the `data` buffer, in bytes. This ensures that\n the function does not read beyond the provided data size.\n @param[out] into A pointer to the output buffer where the decompressed data\n will be written. The buffer should have enough space to store\n the decompressed output.\n @param[out] chunkBuffer A temporary buffer used for storing intermediate decompressed\n chunk data before copying it into the final output buffer.\n Must be sized according to `om_decoder_read_buffer_size`\n @param[out] error May return an out-of-bounds read error on corrupted data.\n\n @returns `false` if an error occurred."]
3852 pub fn om_decoder_decode_chunks(
3853 decoder: *const OmDecoder_t,
3854 chunkIndex: OmRange_t,
3855 data: *const ::std::os::raw::c_void,
3856 dataCount: u64,
3857 into: *mut ::std::os::raw::c_void,
3858 chunkBuffer: *mut ::std::os::raw::c_void,
3859 error: *mut OmError_t,
3860 ) -> bool;
3861}
3862#[repr(C)]
3863#[derive(Debug, Copy, Clone)]
3864pub struct OmEncoder_t {
3865 pub dimensions: *const u64,
3866 pub chunks: *const u64,
3867 pub dimension_count: u64,
3868 pub scale_factor: f32,
3869 #[doc = " An offset to convert floats to integers while scaling"]
3870 pub add_offset: f32,
3871 #[doc = " The data type of the data"]
3872 pub data_type: u8,
3873 #[doc = " The compression type of the data"]
3874 pub compression: u8,
3875 #[doc = " The size of the elements in bytes"]
3876 pub bytes_per_element: u8,
3877 #[doc = " The size of the elements in bytes after compression, e.g. Int16 could be used to scale floats"]
3878 pub bytes_per_element_compressed: u8,
3879}
3880#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3881const _: () = {
3882 ["Size of OmEncoder_t"][::std::mem::size_of::<OmEncoder_t>() - 40usize];
3883 ["Alignment of OmEncoder_t"][::std::mem::align_of::<OmEncoder_t>() - 8usize];
3884 ["Offset of field: OmEncoder_t::dimensions"]
3885 [::std::mem::offset_of!(OmEncoder_t, dimensions) - 0usize];
3886 ["Offset of field: OmEncoder_t::chunks"][::std::mem::offset_of!(OmEncoder_t, chunks) - 8usize];
3887 ["Offset of field: OmEncoder_t::dimension_count"]
3888 [::std::mem::offset_of!(OmEncoder_t, dimension_count) - 16usize];
3889 ["Offset of field: OmEncoder_t::scale_factor"]
3890 [::std::mem::offset_of!(OmEncoder_t, scale_factor) - 24usize];
3891 ["Offset of field: OmEncoder_t::add_offset"]
3892 [::std::mem::offset_of!(OmEncoder_t, add_offset) - 28usize];
3893 ["Offset of field: OmEncoder_t::data_type"]
3894 [::std::mem::offset_of!(OmEncoder_t, data_type) - 32usize];
3895 ["Offset of field: OmEncoder_t::compression"]
3896 [::std::mem::offset_of!(OmEncoder_t, compression) - 33usize];
3897 ["Offset of field: OmEncoder_t::bytes_per_element"]
3898 [::std::mem::offset_of!(OmEncoder_t, bytes_per_element) - 34usize];
3899 ["Offset of field: OmEncoder_t::bytes_per_element_compressed"]
3900 [::std::mem::offset_of!(OmEncoder_t, bytes_per_element_compressed) - 35usize];
3901};
3902unsafe extern "C" {
3903 #[doc = " Initialise the OmEncoder structure with information about the shape of data\n May return an error on invalid compression or data types"]
3904 pub fn om_encoder_init(
3905 encoder: *mut OmEncoder_t,
3906 scale_factor: f32,
3907 add_offset: f32,
3908 compression: OmCompression_t,
3909 data_type: OmDataType_t,
3910 dimensions: *const u64,
3911 chunks: *const u64,
3912 dimension_count: u64,
3913 ) -> OmError_t;
3914}
3915unsafe extern "C" {
3916 #[doc = " Get the number of chunks that is calculated from dimensions and chunks"]
3917 pub fn om_encoder_count_chunks(encoder: *const OmEncoder_t) -> u64;
3918}
3919unsafe extern "C" {
3920 #[doc = " Calculate how many chunks can be filled from a given input"]
3921 pub fn om_encoder_count_chunks_in_array(
3922 encoder: *const OmEncoder_t,
3923 array_count: *const u64,
3924 ) -> u64;
3925}
3926unsafe extern "C" {
3927 #[doc = " The buffer size required to collect a single chunk of data"]
3928 pub fn om_encoder_chunk_buffer_size(encoder: *const OmEncoder_t) -> u64;
3929}
3930unsafe extern "C" {
3931 #[doc = " The buffer size required to compress a single chunk."]
3932 pub fn om_encoder_compressed_chunk_buffer_size(encoder: *const OmEncoder_t) -> u64;
3933}
3934unsafe extern "C" {
3935 #[doc = " Calculate the required buffer size for the entire compressed LUT"]
3936 pub fn om_encoder_lut_buffer_size(lookUpTable: *const u64, lookUpTableCount: u64) -> u64;
3937}
3938unsafe extern "C" {
3939 #[doc = " Compress the LUT and return the size of compressed LUT in bytes"]
3940 pub fn om_encoder_compress_lut(
3941 lookUpTable: *const u64,
3942 lookUpTableCount: u64,
3943 out: *mut u8,
3944 size_of_compressed_lut: u64,
3945 ) -> u64;
3946}
3947unsafe extern "C" {
3948 #[doc = " Compress a single chunk. Chunk buffer must be of size `OmEncoder_chunkBufferSize`"]
3949 pub fn om_encoder_compress_chunk(
3950 encoder: *const OmEncoder_t,
3951 array: *const ::std::os::raw::c_void,
3952 arrayDimensions: *const u64,
3953 arrayOffset: *const u64,
3954 arrayCount: *const u64,
3955 chunkIndex: u64,
3956 chunkIndexOffsetInThisArray: u64,
3957 out: *mut u8,
3958 chunkBuffer: *mut u8,
3959 ) -> u64;
3960}
3961pub type __builtin_va_list = *mut ::std::os::raw::c_char;