/* automatically generated by rust-bindgen 0.72.1 */ pub const __WORDSIZE: u32 = 64; pub const __has_safe_buffers: u32 = 1; pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 1; pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1; pub const __DARWIN_ONLY_VERS_1050: u32 = 1; pub const __DARWIN_UNIX03: u32 = 1; pub const __DARWIN_64_BIT_INO_T: u32 = 1; pub const __DARWIN_VERS_1050: u32 = 1; pub const __DARWIN_NON_CANCELABLE: u32 = 0; pub const __DARWIN_SUF_EXTSN: &[u8; 14] = b"$DARWIN_EXTSN\0"; pub const __DARWIN_C_ANSI: u32 = 4096; pub const __DARWIN_C_FULL: u32 = 900000; pub const __DARWIN_C_LEVEL: u32 = 900000; pub const __STDC_WANT_LIB_EXT1__: u32 = 1; pub const __DARWIN_NO_LONG_LONG: u32 = 0; pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1; pub const _DARWIN_FEATURE_ONLY_64_BIT_INODE: u32 = 1; pub const _DARWIN_FEATURE_ONLY_VERS_1050: u32 = 1; pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1; pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3; pub const __has_ptrcheck: u32 = 0; pub const __has_bounds_safety_attributes: u32 = 0; pub const USE_CLANG_TYPES: u32 = 0; pub const __PTHREAD_SIZE__: u32 = 8176; pub const __PTHREAD_ATTR_SIZE__: u32 = 56; pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8; pub const __PTHREAD_MUTEX_SIZE__: u32 = 56; pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8; pub const __PTHREAD_COND_SIZE__: u32 = 40; pub const __PTHREAD_ONCE_SIZE__: u32 = 8; pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192; pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16; pub const INT8_MAX: u32 = 127; pub const INT16_MAX: u32 = 32767; pub const INT32_MAX: u32 = 2147483647; pub const INT64_MAX: u64 = 9223372036854775807; pub const INT8_MIN: i32 = -128; pub const INT16_MIN: i32 = -32768; pub const INT32_MIN: i32 = -2147483648; pub const INT64_MIN: i64 = -9223372036854775808; pub const UINT8_MAX: u32 = 255; pub const UINT16_MAX: u32 = 65535; pub const UINT32_MAX: u32 = 4294967295; pub const UINT64_MAX: i32 = -1; pub const INT_LEAST8_MIN: i32 = -128; pub const INT_LEAST16_MIN: i32 = -32768; pub const INT_LEAST32_MIN: i32 = -2147483648; pub const INT_LEAST64_MIN: i64 = -9223372036854775808; pub const INT_LEAST8_MAX: u32 = 127; pub const INT_LEAST16_MAX: u32 = 32767; pub const INT_LEAST32_MAX: u32 = 2147483647; pub const INT_LEAST64_MAX: u64 = 9223372036854775807; pub const UINT_LEAST8_MAX: u32 = 255; pub const UINT_LEAST16_MAX: u32 = 65535; pub const UINT_LEAST32_MAX: u32 = 4294967295; pub const UINT_LEAST64_MAX: i32 = -1; pub const INT_FAST8_MIN: i32 = -128; pub const INT_FAST16_MIN: i32 = -32768; pub const INT_FAST32_MIN: i32 = -2147483648; pub const INT_FAST64_MIN: i64 = -9223372036854775808; pub const INT_FAST8_MAX: u32 = 127; pub const INT_FAST16_MAX: u32 = 32767; pub const INT_FAST32_MAX: u32 = 2147483647; pub const INT_FAST64_MAX: u64 = 9223372036854775807; pub const UINT_FAST8_MAX: u32 = 255; pub const UINT_FAST16_MAX: u32 = 65535; pub const UINT_FAST32_MAX: u32 = 4294967295; pub const UINT_FAST64_MAX: i32 = -1; pub const INTPTR_MAX: u64 = 9223372036854775807; pub const INTPTR_MIN: i64 = -9223372036854775808; pub const UINTPTR_MAX: i32 = -1; pub const SIZE_MAX: i32 = -1; pub const RSIZE_MAX: i32 = -1; pub const WINT_MIN: i32 = -2147483648; pub const WINT_MAX: u32 = 2147483647; pub const SIG_ATOMIC_MIN: i32 = -2147483648; pub const SIG_ATOMIC_MAX: u32 = 2147483647; pub const P4D_MAX: u32 = 256; pub const __API_TO_BE_DEPRECATED: u32 = 100000; pub const __API_TO_BE_DEPRECATED_MACOS: u32 = 100000; pub const __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION: u32 = 100000; pub const __API_TO_BE_DEPRECATED_IOS: u32 = 100000; pub const __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION: u32 = 100000; pub const __API_TO_BE_DEPRECATED_MACCATALYST: u32 = 100000; pub const __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION: u32 = 100000; pub const __API_TO_BE_DEPRECATED_WATCHOS: u32 = 100000; pub const __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION: u32 = 100000; pub const __API_TO_BE_DEPRECATED_TVOS: u32 = 100000; pub const __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION: u32 = 100000; pub const __API_TO_BE_DEPRECATED_DRIVERKIT: u32 = 100000; pub const __API_TO_BE_DEPRECATED_VISIONOS: u32 = 100000; pub const __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION: u32 = 100000; pub const __API_TO_BE_DEPRECATED_KERNELKIT: u32 = 100000; pub const __MAC_10_0: u32 = 1000; pub const __MAC_10_1: u32 = 1010; pub const __MAC_10_2: u32 = 1020; pub const __MAC_10_3: u32 = 1030; pub const __MAC_10_4: u32 = 1040; pub const __MAC_10_5: u32 = 1050; pub const __MAC_10_6: u32 = 1060; pub const __MAC_10_7: u32 = 1070; pub const __MAC_10_8: u32 = 1080; pub const __MAC_10_9: u32 = 1090; pub const __MAC_10_10: u32 = 101000; pub const __MAC_10_10_2: u32 = 101002; pub const __MAC_10_10_3: u32 = 101003; pub const __MAC_10_11: u32 = 101100; pub const __MAC_10_11_2: u32 = 101102; pub const __MAC_10_11_3: u32 = 101103; pub const __MAC_10_11_4: u32 = 101104; pub const __MAC_10_12: u32 = 101200; pub const __MAC_10_12_1: u32 = 101201; pub const __MAC_10_12_2: u32 = 101202; pub const __MAC_10_12_4: u32 = 101204; pub const __MAC_10_13: u32 = 101300; pub const __MAC_10_13_1: u32 = 101301; pub const __MAC_10_13_2: u32 = 101302; pub const __MAC_10_13_4: u32 = 101304; pub const __MAC_10_14: u32 = 101400; pub const __MAC_10_14_1: u32 = 101401; pub const __MAC_10_14_4: u32 = 101404; pub const __MAC_10_14_5: u32 = 101405; pub const __MAC_10_14_6: u32 = 101406; pub const __MAC_10_15: u32 = 101500; pub const __MAC_10_15_1: u32 = 101501; pub const __MAC_10_15_4: u32 = 101504; pub const __MAC_10_16: u32 = 101600; pub const __MAC_11_0: u32 = 110000; pub const __MAC_11_1: u32 = 110100; pub const __MAC_11_3: u32 = 110300; pub const __MAC_11_4: u32 = 110400; pub const __MAC_11_5: u32 = 110500; pub const __MAC_11_6: u32 = 110600; pub const __MAC_12_0: u32 = 120000; pub const __MAC_12_1: u32 = 120100; pub const __MAC_12_2: u32 = 120200; pub const __MAC_12_3: u32 = 120300; pub const __MAC_12_4: u32 = 120400; pub const __MAC_12_5: u32 = 120500; pub const __MAC_12_6: u32 = 120600; pub const __MAC_12_7: u32 = 120700; pub const __MAC_13_0: u32 = 130000; pub const __MAC_13_1: u32 = 130100; pub const __MAC_13_2: u32 = 130200; pub const __MAC_13_3: u32 = 130300; pub const __MAC_13_4: u32 = 130400; pub const __MAC_13_5: u32 = 130500; pub const __MAC_13_6: u32 = 130600; pub const __MAC_13_7: u32 = 130700; pub const __MAC_14_0: u32 = 140000; pub const __MAC_14_1: u32 = 140100; pub const __MAC_14_2: u32 = 140200; pub const __MAC_14_3: u32 = 140300; pub const __MAC_14_4: u32 = 140400; pub const __MAC_14_5: u32 = 140500; pub const __MAC_14_6: u32 = 140600; pub const __MAC_14_7: u32 = 140700; pub const __MAC_15_0: u32 = 150000; pub const __MAC_15_1: u32 = 150100; pub const __MAC_15_2: u32 = 150200; pub const __MAC_15_3: u32 = 150300; pub const __MAC_15_4: u32 = 150400; pub const __MAC_15_5: u32 = 150500; pub const __MAC_15_6: u32 = 150600; pub const __MAC_16_0: u32 = 160000; pub const __MAC_26_0: u32 = 260000; pub const __MAC_26_1: u32 = 260100; pub const __MAC_26_2: u32 = 260200; pub const __MAC_26_3: u32 = 260300; pub const __MAC_26_4: u32 = 260400; pub const __MAC_26_5: u32 = 260500; pub const __IPHONE_2_0: u32 = 20000; pub const __IPHONE_2_1: u32 = 20100; pub const __IPHONE_2_2: u32 = 20200; pub const __IPHONE_3_0: u32 = 30000; pub const __IPHONE_3_1: u32 = 30100; pub const __IPHONE_3_2: u32 = 30200; pub const __IPHONE_4_0: u32 = 40000; pub const __IPHONE_4_1: u32 = 40100; pub const __IPHONE_4_2: u32 = 40200; pub const __IPHONE_4_3: u32 = 40300; pub const __IPHONE_5_0: u32 = 50000; pub const __IPHONE_5_1: u32 = 50100; pub const __IPHONE_6_0: u32 = 60000; pub const __IPHONE_6_1: u32 = 60100; pub const __IPHONE_7_0: u32 = 70000; pub const __IPHONE_7_1: u32 = 70100; pub const __IPHONE_8_0: u32 = 80000; pub const __IPHONE_8_1: u32 = 80100; pub const __IPHONE_8_2: u32 = 80200; pub const __IPHONE_8_3: u32 = 80300; pub const __IPHONE_8_4: u32 = 80400; pub const __IPHONE_9_0: u32 = 90000; pub const __IPHONE_9_1: u32 = 90100; pub const __IPHONE_9_2: u32 = 90200; pub const __IPHONE_9_3: u32 = 90300; pub const __IPHONE_10_0: u32 = 100000; pub const __IPHONE_10_1: u32 = 100100; pub const __IPHONE_10_2: u32 = 100200; pub const __IPHONE_10_3: u32 = 100300; pub const __IPHONE_11_0: u32 = 110000; pub const __IPHONE_11_1: u32 = 110100; pub const __IPHONE_11_2: u32 = 110200; pub const __IPHONE_11_3: u32 = 110300; pub const __IPHONE_11_4: u32 = 110400; pub const __IPHONE_12_0: u32 = 120000; pub const __IPHONE_12_1: u32 = 120100; pub const __IPHONE_12_2: u32 = 120200; pub const __IPHONE_12_3: u32 = 120300; pub const __IPHONE_12_4: u32 = 120400; pub const __IPHONE_13_0: u32 = 130000; pub const __IPHONE_13_1: u32 = 130100; pub const __IPHONE_13_2: u32 = 130200; pub const __IPHONE_13_3: u32 = 130300; pub const __IPHONE_13_4: u32 = 130400; pub const __IPHONE_13_5: u32 = 130500; pub const __IPHONE_13_6: u32 = 130600; pub const __IPHONE_13_7: u32 = 130700; pub const __IPHONE_14_0: u32 = 140000; pub const __IPHONE_14_1: u32 = 140100; pub const __IPHONE_14_2: u32 = 140200; pub const __IPHONE_14_3: u32 = 140300; pub const __IPHONE_14_5: u32 = 140500; pub const __IPHONE_14_6: u32 = 140600; pub const __IPHONE_14_7: u32 = 140700; pub const __IPHONE_14_8: u32 = 140800; pub const __IPHONE_15_0: u32 = 150000; pub const __IPHONE_15_1: u32 = 150100; pub const __IPHONE_15_2: u32 = 150200; pub const __IPHONE_15_3: u32 = 150300; pub const __IPHONE_15_4: u32 = 150400; pub const __IPHONE_15_5: u32 = 150500; pub const __IPHONE_15_6: u32 = 150600; pub const __IPHONE_15_7: u32 = 150700; pub const __IPHONE_15_8: u32 = 150800; pub const __IPHONE_16_0: u32 = 160000; pub const __IPHONE_16_1: u32 = 160100; pub const __IPHONE_16_2: u32 = 160200; pub const __IPHONE_16_3: u32 = 160300; pub const __IPHONE_16_4: u32 = 160400; pub const __IPHONE_16_5: u32 = 160500; pub const __IPHONE_16_6: u32 = 160600; pub const __IPHONE_16_7: u32 = 160700; pub const __IPHONE_17_0: u32 = 170000; pub const __IPHONE_17_1: u32 = 170100; pub const __IPHONE_17_2: u32 = 170200; pub const __IPHONE_17_3: u32 = 170300; pub const __IPHONE_17_4: u32 = 170400; pub const __IPHONE_17_5: u32 = 170500; pub const __IPHONE_17_6: u32 = 170600; pub const __IPHONE_17_7: u32 = 170700; pub const __IPHONE_18_0: u32 = 180000; pub const __IPHONE_18_1: u32 = 180100; pub const __IPHONE_18_2: u32 = 180200; pub const __IPHONE_18_3: u32 = 180300; pub const __IPHONE_18_4: u32 = 180400; pub const __IPHONE_18_5: u32 = 180500; pub const __IPHONE_18_6: u32 = 180600; pub const __IPHONE_19_0: u32 = 190000; pub const __IPHONE_26_0: u32 = 260000; pub const __IPHONE_26_1: u32 = 260100; pub const __IPHONE_26_2: u32 = 260200; pub const __IPHONE_26_3: u32 = 260300; pub const __IPHONE_26_4: u32 = 260400; pub const __IPHONE_26_5: u32 = 260500; pub const __WATCHOS_1_0: u32 = 10000; pub const __WATCHOS_2_0: u32 = 20000; pub const __WATCHOS_2_1: u32 = 20100; pub const __WATCHOS_2_2: u32 = 20200; pub const __WATCHOS_3_0: u32 = 30000; pub const __WATCHOS_3_1: u32 = 30100; pub const __WATCHOS_3_1_1: u32 = 30101; pub const __WATCHOS_3_2: u32 = 30200; pub const __WATCHOS_4_0: u32 = 40000; pub const __WATCHOS_4_1: u32 = 40100; pub const __WATCHOS_4_2: u32 = 40200; pub const __WATCHOS_4_3: u32 = 40300; pub const __WATCHOS_5_0: u32 = 50000; pub const __WATCHOS_5_1: u32 = 50100; pub const __WATCHOS_5_2: u32 = 50200; pub const __WATCHOS_5_3: u32 = 50300; pub const __WATCHOS_6_0: u32 = 60000; pub const __WATCHOS_6_1: u32 = 60100; pub const __WATCHOS_6_2: u32 = 60200; pub const __WATCHOS_7_0: u32 = 70000; pub const __WATCHOS_7_1: u32 = 70100; pub const __WATCHOS_7_2: u32 = 70200; pub const __WATCHOS_7_3: u32 = 70300; pub const __WATCHOS_7_4: u32 = 70400; pub const __WATCHOS_7_5: u32 = 70500; pub const __WATCHOS_7_6: u32 = 70600; pub const __WATCHOS_8_0: u32 = 80000; pub const __WATCHOS_8_1: u32 = 80100; pub const __WATCHOS_8_3: u32 = 80300; pub const __WATCHOS_8_4: u32 = 80400; pub const __WATCHOS_8_5: u32 = 80500; pub const __WATCHOS_8_6: u32 = 80600; pub const __WATCHOS_8_7: u32 = 80700; pub const __WATCHOS_8_8: u32 = 80800; pub const __WATCHOS_9_0: u32 = 90000; pub const __WATCHOS_9_1: u32 = 90100; pub const __WATCHOS_9_2: u32 = 90200; pub const __WATCHOS_9_3: u32 = 90300; pub const __WATCHOS_9_4: u32 = 90400; pub const __WATCHOS_9_5: u32 = 90500; pub const __WATCHOS_9_6: u32 = 90600; pub const __WATCHOS_10_0: u32 = 100000; pub const __WATCHOS_10_1: u32 = 100100; pub const __WATCHOS_10_2: u32 = 100200; pub const __WATCHOS_10_3: u32 = 100300; pub const __WATCHOS_10_4: u32 = 100400; pub const __WATCHOS_10_5: u32 = 100500; pub const __WATCHOS_10_6: u32 = 100600; pub const __WATCHOS_10_7: u32 = 100700; pub const __WATCHOS_11_0: u32 = 110000; pub const __WATCHOS_11_1: u32 = 110100; pub const __WATCHOS_11_2: u32 = 110200; pub const __WATCHOS_11_3: u32 = 110300; pub const __WATCHOS_11_4: u32 = 110400; pub const __WATCHOS_11_5: u32 = 110500; pub const __WATCHOS_11_6: u32 = 110600; pub const __WATCHOS_12_0: u32 = 120000; pub const __WATCHOS_26_0: u32 = 260000; pub const __WATCHOS_26_1: u32 = 260100; pub const __WATCHOS_26_2: u32 = 260200; pub const __WATCHOS_26_3: u32 = 260300; pub const __WATCHOS_26_4: u32 = 260400; pub const __WATCHOS_26_5: u32 = 260500; pub const __TVOS_9_0: u32 = 90000; pub const __TVOS_9_1: u32 = 90100; pub const __TVOS_9_2: u32 = 90200; pub const __TVOS_10_0: u32 = 100000; pub const __TVOS_10_0_1: u32 = 100001; pub const __TVOS_10_1: u32 = 100100; pub const __TVOS_10_2: u32 = 100200; pub const __TVOS_11_0: u32 = 110000; pub const __TVOS_11_1: u32 = 110100; pub const __TVOS_11_2: u32 = 110200; pub const __TVOS_11_3: u32 = 110300; pub const __TVOS_11_4: u32 = 110400; pub const __TVOS_12_0: u32 = 120000; pub const __TVOS_12_1: u32 = 120100; pub const __TVOS_12_2: u32 = 120200; pub const __TVOS_12_3: u32 = 120300; pub const __TVOS_12_4: u32 = 120400; pub const __TVOS_13_0: u32 = 130000; pub const __TVOS_13_2: u32 = 130200; pub const __TVOS_13_3: u32 = 130300; pub const __TVOS_13_4: u32 = 130400; pub const __TVOS_14_0: u32 = 140000; pub const __TVOS_14_1: u32 = 140100; pub const __TVOS_14_2: u32 = 140200; pub const __TVOS_14_3: u32 = 140300; pub const __TVOS_14_5: u32 = 140500; pub const __TVOS_14_6: u32 = 140600; pub const __TVOS_14_7: u32 = 140700; pub const __TVOS_15_0: u32 = 150000; pub const __TVOS_15_1: u32 = 150100; pub const __TVOS_15_2: u32 = 150200; pub const __TVOS_15_3: u32 = 150300; pub const __TVOS_15_4: u32 = 150400; pub const __TVOS_15_5: u32 = 150500; pub const __TVOS_15_6: u32 = 150600; pub const __TVOS_16_0: u32 = 160000; pub const __TVOS_16_1: u32 = 160100; pub const __TVOS_16_2: u32 = 160200; pub const __TVOS_16_3: u32 = 160300; pub const __TVOS_16_4: u32 = 160400; pub const __TVOS_16_5: u32 = 160500; pub const __TVOS_16_6: u32 = 160600; pub const __TVOS_17_0: u32 = 170000; pub const __TVOS_17_1: u32 = 170100; pub const __TVOS_17_2: u32 = 170200; pub const __TVOS_17_3: u32 = 170300; pub const __TVOS_17_4: u32 = 170400; pub const __TVOS_17_5: u32 = 170500; pub const __TVOS_17_6: u32 = 170600; pub const __TVOS_18_0: u32 = 180000; pub const __TVOS_18_1: u32 = 180100; pub const __TVOS_18_2: u32 = 180200; pub const __TVOS_18_3: u32 = 180300; pub const __TVOS_18_4: u32 = 180400; pub const __TVOS_18_5: u32 = 180500; pub const __TVOS_18_6: u32 = 180600; pub const __TVOS_19_0: u32 = 190000; pub const __TVOS_26_0: u32 = 260000; pub const __TVOS_26_1: u32 = 260100; pub const __TVOS_26_2: u32 = 260200; pub const __TVOS_26_3: u32 = 260300; pub const __TVOS_26_4: u32 = 260400; pub const __TVOS_26_5: u32 = 260500; pub const __BRIDGEOS_2_0: u32 = 20000; pub const __BRIDGEOS_3_0: u32 = 30000; pub const __BRIDGEOS_3_1: u32 = 30100; pub const __BRIDGEOS_3_4: u32 = 30400; pub const __BRIDGEOS_4_0: u32 = 40000; pub const __BRIDGEOS_4_1: u32 = 40100; pub const __BRIDGEOS_5_0: u32 = 50000; pub const __BRIDGEOS_5_1: u32 = 50100; pub const __BRIDGEOS_5_3: u32 = 50300; pub const __BRIDGEOS_6_0: u32 = 60000; pub const __BRIDGEOS_6_2: u32 = 60200; pub const __BRIDGEOS_6_4: u32 = 60400; pub const __BRIDGEOS_6_5: u32 = 60500; pub const __BRIDGEOS_6_6: u32 = 60600; pub const __BRIDGEOS_7_0: u32 = 70000; pub const __BRIDGEOS_7_1: u32 = 70100; pub const __BRIDGEOS_7_2: u32 = 70200; pub const __BRIDGEOS_7_3: u32 = 70300; pub const __BRIDGEOS_7_4: u32 = 70400; pub const __BRIDGEOS_7_6: u32 = 70600; pub const __BRIDGEOS_8_0: u32 = 80000; pub const __BRIDGEOS_8_1: u32 = 80100; pub const __BRIDGEOS_8_2: u32 = 80200; pub const __BRIDGEOS_8_3: u32 = 80300; pub const __BRIDGEOS_8_4: u32 = 80400; pub const __BRIDGEOS_8_5: u32 = 80500; pub const __BRIDGEOS_8_6: u32 = 80600; pub const __BRIDGEOS_9_0: u32 = 90000; pub const __BRIDGEOS_9_1: u32 = 90100; pub const __BRIDGEOS_9_2: u32 = 90200; pub const __BRIDGEOS_9_3: u32 = 90300; pub const __BRIDGEOS_9_4: u32 = 90400; pub const __BRIDGEOS_9_5: u32 = 90500; pub const __BRIDGEOS_9_6: u32 = 90600; pub const __BRIDGEOS_10_0: u32 = 100000; pub const __BRIDGEOS_10_1: u32 = 100100; pub const __BRIDGEOS_10_2: u32 = 100200; pub const __BRIDGEOS_10_3: u32 = 100300; pub const __BRIDGEOS_10_4: u32 = 100400; pub const __BRIDGEOS_26_5: u32 = 260500; pub const __DRIVERKIT_19_0: u32 = 190000; pub const __DRIVERKIT_20_0: u32 = 200000; pub const __DRIVERKIT_21_0: u32 = 210000; pub const __DRIVERKIT_22_0: u32 = 220000; pub const __DRIVERKIT_22_4: u32 = 220400; pub const __DRIVERKIT_22_5: u32 = 220500; pub const __DRIVERKIT_22_6: u32 = 220600; pub const __DRIVERKIT_23_0: u32 = 230000; pub const __DRIVERKIT_23_1: u32 = 230100; pub const __DRIVERKIT_23_2: u32 = 230200; pub const __DRIVERKIT_23_3: u32 = 230300; pub const __DRIVERKIT_23_4: u32 = 230400; pub const __DRIVERKIT_23_5: u32 = 230500; pub const __DRIVERKIT_23_6: u32 = 230600; pub const __DRIVERKIT_24_0: u32 = 240000; pub const __DRIVERKIT_24_1: u32 = 240100; pub const __DRIVERKIT_24_2: u32 = 240200; pub const __DRIVERKIT_24_3: u32 = 240300; pub const __DRIVERKIT_24_4: u32 = 240400; pub const __DRIVERKIT_24_5: u32 = 240500; pub const __DRIVERKIT_24_6: u32 = 240600; pub const __DRIVERKIT_25_0: u32 = 250000; pub const __DRIVERKIT_25_1: u32 = 250100; pub const __DRIVERKIT_25_2: u32 = 250200; pub const __DRIVERKIT_25_3: u32 = 250300; pub const __DRIVERKIT_25_4: u32 = 250400; pub const __DRIVERKIT_25_5: u32 = 250500; pub const __VISIONOS_1_0: u32 = 10000; pub const __VISIONOS_1_1: u32 = 10100; pub const __VISIONOS_1_2: u32 = 10200; pub const __VISIONOS_1_3: u32 = 10300; pub const __VISIONOS_2_0: u32 = 20000; pub const __VISIONOS_2_1: u32 = 20100; pub const __VISIONOS_2_2: u32 = 20200; pub const __VISIONOS_2_3: u32 = 20300; pub const __VISIONOS_2_4: u32 = 20400; pub const __VISIONOS_2_5: u32 = 20500; pub const __VISIONOS_2_6: u32 = 20600; pub const __VISIONOS_3_0: u32 = 30000; pub const __VISIONOS_26_0: u32 = 260000; pub const __VISIONOS_26_1: u32 = 260100; pub const __VISIONOS_26_2: u32 = 260200; pub const __VISIONOS_26_3: u32 = 260300; pub const __VISIONOS_26_4: u32 = 260400; pub const __VISIONOS_26_5: u32 = 260500; pub const MAC_OS_X_VERSION_10_0: u32 = 1000; pub const MAC_OS_X_VERSION_10_1: u32 = 1010; pub const MAC_OS_X_VERSION_10_2: u32 = 1020; pub const MAC_OS_X_VERSION_10_3: u32 = 1030; pub const MAC_OS_X_VERSION_10_4: u32 = 1040; pub const MAC_OS_X_VERSION_10_5: u32 = 1050; pub const MAC_OS_X_VERSION_10_6: u32 = 1060; pub const MAC_OS_X_VERSION_10_7: u32 = 1070; pub const MAC_OS_X_VERSION_10_8: u32 = 1080; pub const MAC_OS_X_VERSION_10_9: u32 = 1090; pub const MAC_OS_X_VERSION_10_10: u32 = 101000; pub const MAC_OS_X_VERSION_10_10_2: u32 = 101002; pub const MAC_OS_X_VERSION_10_10_3: u32 = 101003; pub const MAC_OS_X_VERSION_10_11: u32 = 101100; pub const MAC_OS_X_VERSION_10_11_2: u32 = 101102; pub const MAC_OS_X_VERSION_10_11_3: u32 = 101103; pub const MAC_OS_X_VERSION_10_11_4: u32 = 101104; pub const MAC_OS_X_VERSION_10_12: u32 = 101200; pub const MAC_OS_X_VERSION_10_12_1: u32 = 101201; pub const MAC_OS_X_VERSION_10_12_2: u32 = 101202; pub const MAC_OS_X_VERSION_10_12_4: u32 = 101204; pub const MAC_OS_X_VERSION_10_13: u32 = 101300; pub const MAC_OS_X_VERSION_10_13_1: u32 = 101301; pub const MAC_OS_X_VERSION_10_13_2: u32 = 101302; pub const MAC_OS_X_VERSION_10_13_4: u32 = 101304; pub const MAC_OS_X_VERSION_10_14: u32 = 101400; pub const MAC_OS_X_VERSION_10_14_1: u32 = 101401; pub const MAC_OS_X_VERSION_10_14_4: u32 = 101404; pub const MAC_OS_X_VERSION_10_14_5: u32 = 101405; pub const MAC_OS_X_VERSION_10_14_6: u32 = 101406; pub const MAC_OS_X_VERSION_10_15: u32 = 101500; pub const MAC_OS_X_VERSION_10_15_1: u32 = 101501; pub const MAC_OS_X_VERSION_10_15_4: u32 = 101504; pub const MAC_OS_X_VERSION_10_16: u32 = 101600; pub const MAC_OS_VERSION_11_0: u32 = 110000; pub const MAC_OS_VERSION_11_1: u32 = 110100; pub const MAC_OS_VERSION_11_3: u32 = 110300; pub const MAC_OS_VERSION_11_4: u32 = 110400; pub const MAC_OS_VERSION_11_5: u32 = 110500; pub const MAC_OS_VERSION_11_6: u32 = 110600; pub const MAC_OS_VERSION_12_0: u32 = 120000; pub const MAC_OS_VERSION_12_1: u32 = 120100; pub const MAC_OS_VERSION_12_2: u32 = 120200; pub const MAC_OS_VERSION_12_3: u32 = 120300; pub const MAC_OS_VERSION_12_4: u32 = 120400; pub const MAC_OS_VERSION_12_5: u32 = 120500; pub const MAC_OS_VERSION_12_6: u32 = 120600; pub const MAC_OS_VERSION_12_7: u32 = 120700; pub const MAC_OS_VERSION_13_0: u32 = 130000; pub const MAC_OS_VERSION_13_1: u32 = 130100; pub const MAC_OS_VERSION_13_2: u32 = 130200; pub const MAC_OS_VERSION_13_3: u32 = 130300; pub const MAC_OS_VERSION_13_4: u32 = 130400; pub const MAC_OS_VERSION_13_5: u32 = 130500; pub const MAC_OS_VERSION_13_6: u32 = 130600; pub const MAC_OS_VERSION_13_7: u32 = 130700; pub const MAC_OS_VERSION_14_0: u32 = 140000; pub const MAC_OS_VERSION_14_1: u32 = 140100; pub const MAC_OS_VERSION_14_2: u32 = 140200; pub const MAC_OS_VERSION_14_3: u32 = 140300; pub const MAC_OS_VERSION_14_4: u32 = 140400; pub const MAC_OS_VERSION_14_5: u32 = 140500; pub const MAC_OS_VERSION_14_6: u32 = 140600; pub const MAC_OS_VERSION_14_7: u32 = 140700; pub const MAC_OS_VERSION_15_0: u32 = 150000; pub const MAC_OS_VERSION_15_1: u32 = 150100; pub const MAC_OS_VERSION_15_2: u32 = 150200; pub const MAC_OS_VERSION_15_3: u32 = 150300; pub const MAC_OS_VERSION_15_4: u32 = 150400; pub const MAC_OS_VERSION_15_5: u32 = 150500; pub const MAC_OS_VERSION_15_6: u32 = 150600; pub const MAC_OS_VERSION_16_0: u32 = 160000; pub const MAC_OS_VERSION_26_0: u32 = 260000; pub const MAC_OS_VERSION_26_1: u32 = 260100; pub const MAC_OS_VERSION_26_2: u32 = 260200; pub const MAC_OS_VERSION_26_3: u32 = 260300; pub const MAC_OS_VERSION_26_4: u32 = 260400; pub const MAC_OS_VERSION_26_5: u32 = 260500; pub const __AVAILABILITY_VERSIONS_VERSION_HASH: u32 = 93585900; pub const __AVAILABILITY_VERSIONS_VERSION_STRING: &[u8; 6] = b"Local\0"; pub const __AVAILABILITY_FILE: &[u8; 23] = b"AvailabilityVersions.h\0"; pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 260500; pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1; pub const __DARWIN_WCHAR_MIN: i32 = -2147483648; pub const _FORTIFY_SOURCE: u32 = 2; pub const USE_CLANG_STDARG: u32 = 0; pub const USE_CLANG_STDDEF: u32 = 0; pub const RENAME_SECLUDE: u32 = 1; pub const RENAME_SWAP: u32 = 2; pub const RENAME_EXCL: u32 = 4; pub const RENAME_RESERVED1: u32 = 8; pub const RENAME_NOFOLLOW_ANY: u32 = 16; pub const RENAME_RESOLVE_BENEATH: u32 = 32; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; pub const SEEK_HOLE: u32 = 3; pub const SEEK_DATA: u32 = 4; pub const __SLBF: u32 = 1; pub const __SNBF: u32 = 2; pub const __SRD: u32 = 4; pub const __SWR: u32 = 8; pub const __SRW: u32 = 16; pub const __SEOF: u32 = 32; pub const __SERR: u32 = 64; pub const __SMBF: u32 = 128; pub const __SAPP: u32 = 256; pub const __SSTR: u32 = 512; pub const __SOPT: u32 = 1024; pub const __SNPT: u32 = 2048; pub const __SOFF: u32 = 4096; pub const __SMOD: u32 = 8192; pub const __SALC: u32 = 16384; pub const __SIGN: u32 = 32768; pub const _IOFBF: u32 = 0; pub const _IOLBF: u32 = 1; pub const _IONBF: u32 = 2; pub const BUFSIZ: u32 = 1024; pub const EOF: i32 = -1; pub const FOPEN_MAX: u32 = 20; pub const FILENAME_MAX: u32 = 1024; pub const P_tmpdir: &[u8; 10] = b"/var/tmp/\0"; pub const L_tmpnam: u32 = 1024; pub const TMP_MAX: u32 = 308915776; pub const L_ctermid: u32 = 1024; pub const _USE_FORTIFY_LEVEL: u32 = 2; pub const __bool_true_false_are_defined: u32 = 1; pub const true_: u32 = 1; pub const false_: u32 = 0; pub const LUT_CHUNK_COUNT: u32 = 64; pub type int_least8_t = i8; pub type int_least16_t = i16; pub type int_least32_t = i32; pub type int_least64_t = i64; pub type uint_least8_t = u8; pub type uint_least16_t = u16; pub type uint_least32_t = u32; pub type uint_least64_t = u64; pub type int_fast8_t = i8; pub type int_fast16_t = i16; pub type int_fast32_t = i32; pub type int_fast64_t = i64; pub type uint_fast8_t = u8; pub type uint_fast16_t = u16; pub type uint_fast32_t = u32; pub type uint_fast64_t = u64; pub type __int8_t = ::std::os::raw::c_schar; pub type __uint8_t = ::std::os::raw::c_uchar; pub type __int16_t = ::std::os::raw::c_short; pub type __uint16_t = ::std::os::raw::c_ushort; pub type __int32_t = ::std::os::raw::c_int; pub type __uint32_t = ::std::os::raw::c_uint; pub type __int64_t = ::std::os::raw::c_longlong; pub type __uint64_t = ::std::os::raw::c_ulonglong; pub type __darwin_intptr_t = ::std::os::raw::c_long; pub type __darwin_natural_t = ::std::os::raw::c_uint; pub type __darwin_ct_rune_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Copy, Clone)] pub union __mbstate_t { pub __mbstate8: [::std::os::raw::c_char; 128usize], pub _mbstateL: ::std::os::raw::c_longlong, } #[allow(clippy::unnecessary_operation, clippy::identity_op)] const _: () = { ["Size of __mbstate_t"][::std::mem::size_of::<__mbstate_t>() - 128usize]; ["Alignment of __mbstate_t"][::std::mem::align_of::<__mbstate_t>() - 8usize]; ["Offset of field: __mbstate_t::__mbstate8"] [::std::mem::offset_of!(__mbstate_t, __mbstate8) - 0usize]; ["Offset of field: __mbstate_t::_mbstateL"] [::std::mem::offset_of!(__mbstate_t, _mbstateL) - 0usize]; }; pub type __darwin_mbstate_t = __mbstate_t; pub type __darwin_ptrdiff_t = ::std::os::raw::c_long; pub type __darwin_size_t = ::std::os::raw::c_ulong; pub type __darwin_va_list = __builtin_va_list; pub type __darwin_wchar_t = ::std::os::raw::c_int; pub type __darwin_rune_t = __darwin_wchar_t; pub type __darwin_wint_t = ::std::os::raw::c_int; pub type __darwin_clock_t = ::std::os::raw::c_ulong; pub type __darwin_socklen_t = __uint32_t; pub type __darwin_ssize_t = ::std::os::raw::c_long; pub type __darwin_time_t = ::std::os::raw::c_long; pub type __darwin_blkcnt_t = __int64_t; pub type __darwin_blksize_t = __int32_t; pub type __darwin_dev_t = __int32_t; pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint; pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint; pub type __darwin_gid_t = __uint32_t; pub type __darwin_id_t = __uint32_t; pub type __darwin_ino64_t = __uint64_t; pub type __darwin_ino_t = __darwin_ino64_t; pub type __darwin_mach_port_name_t = __darwin_natural_t; pub type __darwin_mach_port_t = __darwin_mach_port_name_t; pub type __darwin_mode_t = __uint16_t; pub type __darwin_off_t = __int64_t; pub type __darwin_pid_t = __int32_t; pub type __darwin_sigset_t = __uint32_t; pub type __darwin_suseconds_t = __int32_t; pub type __darwin_uid_t = __uint32_t; pub type __darwin_useconds_t = __uint32_t; pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize]; pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize]; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __darwin_pthread_handler_rec { pub __routine: ::std::option::Option, pub __arg: *mut ::std::os::raw::c_void, pub __next: *mut __darwin_pthread_handler_rec, } #[allow(clippy::unnecessary_operation, clippy::identity_op)] const _: () = { ["Size of __darwin_pthread_handler_rec"] [::std::mem::size_of::<__darwin_pthread_handler_rec>() - 24usize]; ["Alignment of __darwin_pthread_handler_rec"] [::std::mem::align_of::<__darwin_pthread_handler_rec>() - 8usize]; ["Offset of field: __darwin_pthread_handler_rec::__routine"] [::std::mem::offset_of!(__darwin_pthread_handler_rec, __routine) - 0usize]; ["Offset of field: __darwin_pthread_handler_rec::__arg"] [::std::mem::offset_of!(__darwin_pthread_handler_rec, __arg) - 8usize]; ["Offset of field: __darwin_pthread_handler_rec::__next"] [::std::mem::offset_of!(__darwin_pthread_handler_rec, __next) - 16usize]; }; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _opaque_pthread_attr_t { pub __sig: ::std::os::raw::c_long, pub __opaque: [::std::os::raw::c_char; 56usize], } #[allow(clippy::unnecessary_operation, clippy::identity_op)] // Darwin layout (bindgen ran on macOS): c_long is 8 bytes there but 4 on // Windows, so this assertion only holds off-Windows. The type is unused by // weather (only om_* symbols are), so skipping it on Windows is safe. #[cfg(not(target_os = "windows"))] const _: () = { ["Size of _opaque_pthread_attr_t"][::std::mem::size_of::<_opaque_pthread_attr_t>() - 64usize]; ["Alignment of _opaque_pthread_attr_t"] [::std::mem::align_of::<_opaque_pthread_attr_t>() - 8usize]; ["Offset of field: _opaque_pthread_attr_t::__sig"] [::std::mem::offset_of!(_opaque_pthread_attr_t, __sig) - 0usize]; ["Offset of field: _opaque_pthread_attr_t::__opaque"] [::std::mem::offset_of!(_opaque_pthread_attr_t, __opaque) - 8usize]; }; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _opaque_pthread_cond_t { pub __sig: ::std::os::raw::c_long, pub __opaque: [::std::os::raw::c_char; 40usize], } #[allow(clippy::unnecessary_operation, clippy::identity_op)] // Darwin layout (bindgen ran on macOS): c_long is 8 bytes there but 4 on // Windows, so this assertion only holds off-Windows. The type is unused by // weather (only om_* symbols are), so skipping it on Windows is safe. #[cfg(not(target_os = "windows"))] const _: () = { ["Size of _opaque_pthread_cond_t"][::std::mem::size_of::<_opaque_pthread_cond_t>() - 48usize]; ["Alignment of _opaque_pthread_cond_t"] [::std::mem::align_of::<_opaque_pthread_cond_t>() - 8usize]; ["Offset of field: _opaque_pthread_cond_t::__sig"] [::std::mem::offset_of!(_opaque_pthread_cond_t, __sig) - 0usize]; ["Offset of field: _opaque_pthread_cond_t::__opaque"] [::std::mem::offset_of!(_opaque_pthread_cond_t, __opaque) - 8usize]; }; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _opaque_pthread_condattr_t { pub __sig: ::std::os::raw::c_long, pub __opaque: [::std::os::raw::c_char; 8usize], } #[allow(clippy::unnecessary_operation, clippy::identity_op)] // Darwin layout (bindgen ran on macOS): c_long is 8 bytes there but 4 on // Windows, so this assertion only holds off-Windows. The type is unused by // weather (only om_* symbols are), so skipping it on Windows is safe. #[cfg(not(target_os = "windows"))] const _: () = { ["Size of _opaque_pthread_condattr_t"] [::std::mem::size_of::<_opaque_pthread_condattr_t>() - 16usize]; ["Alignment of _opaque_pthread_condattr_t"] [::std::mem::align_of::<_opaque_pthread_condattr_t>() - 8usize]; ["Offset of field: _opaque_pthread_condattr_t::__sig"] [::std::mem::offset_of!(_opaque_pthread_condattr_t, __sig) - 0usize]; ["Offset of field: _opaque_pthread_condattr_t::__opaque"] [::std::mem::offset_of!(_opaque_pthread_condattr_t, __opaque) - 8usize]; }; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _opaque_pthread_mutex_t { pub __sig: ::std::os::raw::c_long, pub __opaque: [::std::os::raw::c_char; 56usize], } #[allow(clippy::unnecessary_operation, clippy::identity_op)] // Darwin layout (bindgen ran on macOS): c_long is 8 bytes there but 4 on // Windows, so this assertion only holds off-Windows. The type is unused by // weather (only om_* symbols are), so skipping it on Windows is safe. #[cfg(not(target_os = "windows"))] const _: () = { ["Size of _opaque_pthread_mutex_t"][::std::mem::size_of::<_opaque_pthread_mutex_t>() - 64usize]; ["Alignment of _opaque_pthread_mutex_t"] [::std::mem::align_of::<_opaque_pthread_mutex_t>() - 8usize]; ["Offset of field: _opaque_pthread_mutex_t::__sig"] [::std::mem::offset_of!(_opaque_pthread_mutex_t, __sig) - 0usize]; ["Offset of field: _opaque_pthread_mutex_t::__opaque"] [::std::mem::offset_of!(_opaque_pthread_mutex_t, __opaque) - 8usize]; }; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _opaque_pthread_mutexattr_t { pub __sig: ::std::os::raw::c_long, pub __opaque: [::std::os::raw::c_char; 8usize], } #[allow(clippy::unnecessary_operation, clippy::identity_op)] // Darwin layout (bindgen ran on macOS): c_long is 8 bytes there but 4 on // Windows, so this assertion only holds off-Windows. The type is unused by // weather (only om_* symbols are), so skipping it on Windows is safe. #[cfg(not(target_os = "windows"))] const _: () = { ["Size of _opaque_pthread_mutexattr_t"] [::std::mem::size_of::<_opaque_pthread_mutexattr_t>() - 16usize]; ["Alignment of _opaque_pthread_mutexattr_t"] [::std::mem::align_of::<_opaque_pthread_mutexattr_t>() - 8usize]; ["Offset of field: _opaque_pthread_mutexattr_t::__sig"] [::std::mem::offset_of!(_opaque_pthread_mutexattr_t, __sig) - 0usize]; ["Offset of field: _opaque_pthread_mutexattr_t::__opaque"] [::std::mem::offset_of!(_opaque_pthread_mutexattr_t, __opaque) - 8usize]; }; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _opaque_pthread_once_t { pub __sig: ::std::os::raw::c_long, pub __opaque: [::std::os::raw::c_char; 8usize], } #[allow(clippy::unnecessary_operation, clippy::identity_op)] // Darwin layout (bindgen ran on macOS): c_long is 8 bytes there but 4 on // Windows, so this assertion only holds off-Windows. The type is unused by // weather (only om_* symbols are), so skipping it on Windows is safe. #[cfg(not(target_os = "windows"))] const _: () = { ["Size of _opaque_pthread_once_t"][::std::mem::size_of::<_opaque_pthread_once_t>() - 16usize]; ["Alignment of _opaque_pthread_once_t"] [::std::mem::align_of::<_opaque_pthread_once_t>() - 8usize]; ["Offset of field: _opaque_pthread_once_t::__sig"] [::std::mem::offset_of!(_opaque_pthread_once_t, __sig) - 0usize]; ["Offset of field: _opaque_pthread_once_t::__opaque"] [::std::mem::offset_of!(_opaque_pthread_once_t, __opaque) - 8usize]; }; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _opaque_pthread_rwlock_t { pub __sig: ::std::os::raw::c_long, pub __opaque: [::std::os::raw::c_char; 192usize], } #[allow(clippy::unnecessary_operation, clippy::identity_op)] // Darwin layout (bindgen ran on macOS): c_long is 8 bytes there but 4 on // Windows, so this assertion only holds off-Windows. The type is unused by // weather (only om_* symbols are), so skipping it on Windows is safe. #[cfg(not(target_os = "windows"))] const _: () = { ["Size of _opaque_pthread_rwlock_t"] [::std::mem::size_of::<_opaque_pthread_rwlock_t>() - 200usize]; ["Alignment of _opaque_pthread_rwlock_t"] [::std::mem::align_of::<_opaque_pthread_rwlock_t>() - 8usize]; ["Offset of field: _opaque_pthread_rwlock_t::__sig"] [::std::mem::offset_of!(_opaque_pthread_rwlock_t, __sig) - 0usize]; ["Offset of field: _opaque_pthread_rwlock_t::__opaque"] [::std::mem::offset_of!(_opaque_pthread_rwlock_t, __opaque) - 8usize]; }; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _opaque_pthread_rwlockattr_t { pub __sig: ::std::os::raw::c_long, pub __opaque: [::std::os::raw::c_char; 16usize], } #[allow(clippy::unnecessary_operation, clippy::identity_op)] // Darwin layout (bindgen ran on macOS): c_long is 8 bytes there but 4 on // Windows, so this assertion only holds off-Windows. The type is unused by // weather (only om_* symbols are), so skipping it on Windows is safe. #[cfg(not(target_os = "windows"))] const _: () = { ["Size of _opaque_pthread_rwlockattr_t"] [::std::mem::size_of::<_opaque_pthread_rwlockattr_t>() - 24usize]; ["Alignment of _opaque_pthread_rwlockattr_t"] [::std::mem::align_of::<_opaque_pthread_rwlockattr_t>() - 8usize]; ["Offset of field: _opaque_pthread_rwlockattr_t::__sig"] [::std::mem::offset_of!(_opaque_pthread_rwlockattr_t, __sig) - 0usize]; ["Offset of field: _opaque_pthread_rwlockattr_t::__opaque"] [::std::mem::offset_of!(_opaque_pthread_rwlockattr_t, __opaque) - 8usize]; }; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _opaque_pthread_t { pub __sig: ::std::os::raw::c_long, pub __cleanup_stack: *mut __darwin_pthread_handler_rec, pub __opaque: [::std::os::raw::c_char; 8176usize], } #[allow(clippy::unnecessary_operation, clippy::identity_op)] const _: () = { ["Size of _opaque_pthread_t"][::std::mem::size_of::<_opaque_pthread_t>() - 8192usize]; ["Alignment of _opaque_pthread_t"][::std::mem::align_of::<_opaque_pthread_t>() - 8usize]; ["Offset of field: _opaque_pthread_t::__sig"] [::std::mem::offset_of!(_opaque_pthread_t, __sig) - 0usize]; ["Offset of field: _opaque_pthread_t::__cleanup_stack"] [::std::mem::offset_of!(_opaque_pthread_t, __cleanup_stack) - 8usize]; ["Offset of field: _opaque_pthread_t::__opaque"] [::std::mem::offset_of!(_opaque_pthread_t, __opaque) - 16usize]; }; pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t; pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t; pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t; pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong; pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t; pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t; pub type __darwin_pthread_once_t = _opaque_pthread_once_t; pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t; pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t; pub type __darwin_pthread_t = *mut _opaque_pthread_t; pub type intmax_t = ::std::os::raw::c_long; pub type uintmax_t = ::std::os::raw::c_ulong; pub type rsize_t = ::std::os::raw::c_ulong; pub type wchar_t = ::std::os::raw::c_int; pub type max_align_t = f64; unsafe extern "C" { pub fn p4nenc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nenc16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nenc32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nenc64(in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nenc128v16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nenc128v32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nenc128v64(in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nenc256w32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nenc256v32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4ndenc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4ndenc16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4ndenc32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4ndenc128v16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4ndenc128v32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4ndenc256v32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4ndenc64(in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nd1enc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nd1enc16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nd1enc32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nd1enc128v16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nd1enc128v32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nd1enc256v32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nd1enc64(in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nzenc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nzenc16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nzenc32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nzenc128v16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nzenc128v32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nzenc256v32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nzenc64(in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4ndec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8) -> usize; } unsafe extern "C" { pub fn p4ndec16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize; } unsafe extern "C" { pub fn p4ndec32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize; } unsafe extern "C" { pub fn p4ndec64(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64) -> usize; } unsafe extern "C" { pub fn p4ndec128v16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize; } unsafe extern "C" { pub fn p4ndec128v32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize; } unsafe extern "C" { pub fn p4ndec128v64(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64) -> usize; } unsafe extern "C" { pub fn p4ndec256v32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize; } unsafe extern "C" { pub fn p4nddec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8) -> usize; } unsafe extern "C" { pub fn p4nddec16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize; } unsafe extern "C" { pub fn p4nddec32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize; } unsafe extern "C" { pub fn p4nddec128v16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize; } unsafe extern "C" { pub fn p4nddec128v32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize; } unsafe extern "C" { pub fn p4nddec256w32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize; } unsafe extern "C" { pub fn p4nddec256v32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize; } unsafe extern "C" { pub fn p4nddec64(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64) -> usize; } unsafe extern "C" { pub fn p4nd1dec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8) -> usize; } unsafe extern "C" { pub fn p4nd1dec16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize; } unsafe extern "C" { pub fn p4nd1dec32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize; } unsafe extern "C" { pub fn p4nd1dec128v16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize; } unsafe extern "C" { pub fn p4nd1dec128v32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize; } unsafe extern "C" { pub fn p4nd1dec256v32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize; } unsafe extern "C" { pub fn p4nd1dec64(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64) -> usize; } unsafe extern "C" { pub fn p4nzdec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8) -> usize; } unsafe extern "C" { pub fn p4nzdec16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize; } unsafe extern "C" { pub fn p4nzdec32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize; } unsafe extern "C" { pub fn p4nzdec128v16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize; } unsafe extern "C" { pub fn p4nzdec128v32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize; } unsafe extern "C" { pub fn p4nzdec256v32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize; } unsafe extern "C" { pub fn p4nzdec64(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64) -> usize; } unsafe extern "C" { pub fn p4enc8( in_: *mut u8, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4enc16( in_: *mut u16, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4enc32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4enc128v16( in_: *mut u16, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4enc128v32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4enc128v64( in_: *mut u64, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4enc256v32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4enc64( in_: *mut u64, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4enc256w32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4encx8( in_: *mut u8, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4encx16( in_: *mut u16, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4encx32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4encx64( in_: *mut u64, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4denc8( in_: *mut u8, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u8, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4denc16( in_: *mut u16, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4denc32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4denc128v16( in_: *mut u16, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4denc128v32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4denc256v32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4denc64( in_: *mut u64, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u64, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4denc256w32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4dencx8( in_: *mut u8, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u8, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4dencx16( in_: *mut u16, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4dencx32( in_: *mut ::std::os::raw::c_uint, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1enc8( in_: *mut u8, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u8, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1enc16( in_: *mut u16, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1enc32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1enc128v16( in_: *mut u16, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1enc128v32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1enc256v32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1enc64( in_: *mut u64, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u64, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1encx8( in_: *mut u8, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u8, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1encx16( in_: *mut u16, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1encx32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4zenc8( in_: *mut u8, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u8, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4zenc16( in_: *mut u16, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4zenc32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4zenc128v16( in_: *mut u16, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4zenc128v32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4zenc256v32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4zenc64( in_: *mut u64, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u64, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4senc16( in_: *mut u16, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4senc32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4senc64( in_: *mut u64, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, start: u64, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4sdec16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, start: u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4sdec32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4sdec64( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u64, start: u64, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4nsenc16(in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nsenc32(in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nsenc64(in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar) -> usize; } unsafe extern "C" { pub fn p4nsdec16(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16) -> usize; } unsafe extern "C" { pub fn p4nsdec32(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32) -> usize; } unsafe extern "C" { pub fn p4nsdec64(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64) -> usize; } unsafe extern "C" { pub fn _p4enc8( in_: *mut u8, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4enc16( in_: *mut u16, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4enc32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4enc128v16( in_: *mut u16, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4enc128v32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4enc128v64( in_: *mut u64, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4enc256v32( in_: *mut u32, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4enc64( in_: *mut u64, n: ::std::os::raw::c_uint, out: *mut ::std::os::raw::c_uchar, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4bits8( in_: *mut u8, n: ::std::os::raw::c_uint, pbx: *mut ::std::os::raw::c_uint, ) -> ::std::os::raw::c_uint; } unsafe extern "C" { pub fn _p4bits16( in_: *mut u16, n: ::std::os::raw::c_uint, pbx: *mut ::std::os::raw::c_uint, ) -> ::std::os::raw::c_uint; } unsafe extern "C" { pub fn _p4bits32( in_: *mut u32, n: ::std::os::raw::c_uint, pbx: *mut ::std::os::raw::c_uint, ) -> ::std::os::raw::c_uint; } unsafe extern "C" { pub fn _p4bits64( in_: *mut u64, n: ::std::os::raw::c_uint, pbx: *mut ::std::os::raw::c_uint, ) -> ::std::os::raw::c_uint; } unsafe extern "C" { pub fn _p4bitsx8( in_: *mut u8, n: ::std::os::raw::c_uint, pbx: *mut ::std::os::raw::c_uint, ) -> ::std::os::raw::c_uint; } unsafe extern "C" { pub fn _p4bitsx16( in_: *mut u16, n: ::std::os::raw::c_uint, pbx: *mut ::std::os::raw::c_uint, ) -> ::std::os::raw::c_uint; } unsafe extern "C" { pub fn _p4bitsx32( in_: *mut u32, n: ::std::os::raw::c_uint, pbx: *mut ::std::os::raw::c_uint, ) -> ::std::os::raw::c_uint; } unsafe extern "C" { pub fn _p4bitsx64( in_: *mut u64, n: ::std::os::raw::c_uint, pbx: *mut ::std::os::raw::c_uint, ) -> ::std::os::raw::c_uint; } unsafe extern "C" { pub fn _p4dec8( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u8, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4dec16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4dec32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4dec128v16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4dec128v32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4dec128v64( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u64, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4dec64( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u64, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4dec8( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u8, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4dec16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4dec32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4dec128v16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4dec128v32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4dec128v64( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u64, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4dec256v32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4dec64( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u64, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4ddec8( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u8, start: u8, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4ddec16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, start: u16, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4ddec32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4ddec128v16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, start: u16, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4ddec128v32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4ddec256v32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4ddec64( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u64, start: u64, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4ddec8( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u8, start: u8, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4ddec16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, start: u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4ddec32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4ddec128v16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, start: u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4ddec128v32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4ddec256v32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4ddec64( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u64, start: u64, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4d1dec8( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u8, start: u8, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4d1dec16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, start: u16, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4d1dec32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4d1dec128v16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, start: u16, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4d1dec128v32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4d1dec256v32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4d1dec64( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u64, start: u64, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1dec8( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u8, start: u8, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1dec16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, start: u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1dec32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1dec128v16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, start: u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1dec128v32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1dec256v32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4d1dec64( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u64, start: u64, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4zdec8( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u8, start: u8, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4zdec16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, start: u16, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4zdec32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4zdec128v16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, start: u16, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4zdec128v32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4zdec256v32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn _p4zdec64( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u64, start: u64, b: ::std::os::raw::c_uint, bx: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4zdec8( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u8, start: u8, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4zdec16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, start: u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4zdec32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4zdec128v16( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u16, start: u16, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4zdec128v32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4zdec256v32( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u32, start: u32, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4zdec64( in_: *mut ::std::os::raw::c_uchar, n: ::std::os::raw::c_uint, out: *mut u64, start: u64, ) -> *mut ::std::os::raw::c_uchar; } unsafe extern "C" { pub fn p4nzzenc128v8( in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar, start: u8, ) -> usize; } unsafe extern "C" { pub fn p4nzzdec128v8( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8, start: u8, ) -> usize; } unsafe extern "C" { pub fn p4nzzenc128v16( in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> usize; } unsafe extern "C" { pub fn p4nzzdec128v16( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16, start: u16, ) -> usize; } unsafe extern "C" { pub fn p4nzzenc128v32( in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> usize; } unsafe extern "C" { pub fn p4nzzdec128v32( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32, start: u32, ) -> usize; } unsafe extern "C" { pub fn p4nzzenc128v64( in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar, start: u64, ) -> usize; } unsafe extern "C" { pub fn p4nzzdec128v64( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64, start: u64, ) -> usize; } unsafe extern "C" { pub fn bvzenc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar, start: u8) -> usize; } unsafe extern "C" { pub fn bvzdec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8, start: u8) -> usize; } unsafe extern "C" { pub fn bvzenc16( in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> usize; } unsafe extern "C" { pub fn bvzdec16( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16, start: u16, ) -> usize; } unsafe extern "C" { pub fn bvzenc32( in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> usize; } unsafe extern "C" { pub fn bvzdec32( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32, start: u32, ) -> usize; } unsafe extern "C" { pub fn bvzenc64( in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar, start: u64, ) -> usize; } unsafe extern "C" { pub fn bvzdec64( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64, start: u64, ) -> usize; } unsafe extern "C" { pub fn bvzzenc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar, start: u8) -> usize; } unsafe extern "C" { pub fn bvzzdec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8, start: u8) -> usize; } unsafe extern "C" { pub fn bvzzenc16( in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> usize; } unsafe extern "C" { pub fn bvzzdec16( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16, start: u16, ) -> usize; } unsafe extern "C" { pub fn bvzzenc32( in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> usize; } unsafe extern "C" { pub fn bvzzdec32( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32, start: u32, ) -> usize; } unsafe extern "C" { pub fn bvzzenc64( in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar, start: u64, ) -> usize; } unsafe extern "C" { pub fn bvzzdec64( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64, start: u64, ) -> usize; } unsafe extern "C" { pub fn fpgenc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar, start: u8) -> usize; } unsafe extern "C" { pub fn fpgdec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8, start: u8) -> usize; } unsafe extern "C" { pub fn fpgenc16( in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> usize; } unsafe extern "C" { pub fn fpgdec16( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16, start: u16, ) -> usize; } unsafe extern "C" { pub fn fpgenc32( in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> usize; } unsafe extern "C" { pub fn fpgdec32( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32, start: u32, ) -> usize; } unsafe extern "C" { pub fn fpgenc64( in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar, start: u64, ) -> usize; } unsafe extern "C" { pub fn fpgdec64( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64, start: u64, ) -> usize; } unsafe extern "C" { pub fn fpxenc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar, start: u8) -> usize; } unsafe extern "C" { pub fn fpxdec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8, start: u8) -> usize; } unsafe extern "C" { pub fn fpxenc16( in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> usize; } unsafe extern "C" { pub fn fpxdec16( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16, start: u16, ) -> usize; } unsafe extern "C" { pub fn fpxenc32( in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> usize; } unsafe extern "C" { pub fn fpxdec32( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32, start: u32, ) -> usize; } unsafe extern "C" { pub fn fpxenc64( in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar, start: u64, ) -> usize; } unsafe extern "C" { pub fn fpxdec64( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64, start: u64, ) -> usize; } unsafe extern "C" { pub fn fpfcmenc8(in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar, start: u8) -> usize; } unsafe extern "C" { pub fn fpfcmdec8(in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8, start: u8) -> usize; } unsafe extern "C" { pub fn fpfcmenc16( in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> usize; } unsafe extern "C" { pub fn fpfcmdec16( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16, start: u16, ) -> usize; } unsafe extern "C" { pub fn fpfcmenc32( in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> usize; } unsafe extern "C" { pub fn fpfcmdec32( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32, start: u32, ) -> usize; } unsafe extern "C" { pub fn fpfcmenc64( in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar, start: u64, ) -> usize; } unsafe extern "C" { pub fn fpfcmdec64( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64, start: u64, ) -> usize; } unsafe extern "C" { pub fn fpdfcmenc8( in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar, start: u8, ) -> usize; } unsafe extern "C" { pub fn fpdfcmdec8( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8, start: u8, ) -> usize; } unsafe extern "C" { pub fn fpdfcmenc16( in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> usize; } unsafe extern "C" { pub fn fpdfcmdec16( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16, start: u16, ) -> usize; } unsafe extern "C" { pub fn fpdfcmenc32( in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> usize; } unsafe extern "C" { pub fn fpdfcmdec32( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32, start: u32, ) -> usize; } unsafe extern "C" { pub fn fpdfcmenc64( in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar, start: u64, ) -> usize; } unsafe extern "C" { pub fn fpdfcmdec64( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64, start: u64, ) -> usize; } unsafe extern "C" { pub fn fp2dfcmenc8( in_: *mut u8, n: usize, out: *mut ::std::os::raw::c_uchar, start: u8, ) -> usize; } unsafe extern "C" { pub fn fp2dfcmdec8( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u8, start: u8, ) -> usize; } unsafe extern "C" { pub fn fp2dfcmenc16( in_: *mut u16, n: usize, out: *mut ::std::os::raw::c_uchar, start: u16, ) -> usize; } unsafe extern "C" { pub fn fp2dfcmdec16( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u16, start: u16, ) -> usize; } unsafe extern "C" { pub fn fp2dfcmenc32( in_: *mut u32, n: usize, out: *mut ::std::os::raw::c_uchar, start: u32, ) -> usize; } unsafe extern "C" { pub fn fp2dfcmdec32( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u32, start: u32, ) -> usize; } unsafe extern "C" { pub fn fp2dfcmenc64( in_: *mut u64, n: usize, out: *mut ::std::os::raw::c_uchar, start: u64, ) -> usize; } unsafe extern "C" { pub fn fp2dfcmdec64( in_: *mut ::std::os::raw::c_uchar, n: usize, out: *mut u64, start: u64, ) -> usize; } pub type __darwin_nl_item = ::std::os::raw::c_int; pub type __darwin_wctrans_t = ::std::os::raw::c_int; pub type __darwin_wctype_t = __uint32_t; pub type u_int8_t = ::std::os::raw::c_uchar; pub type u_int16_t = ::std::os::raw::c_ushort; pub type u_int32_t = ::std::os::raw::c_uint; pub type u_int64_t = ::std::os::raw::c_ulonglong; pub type register_t = i64; pub type user_addr_t = u_int64_t; pub type user_size_t = u_int64_t; pub type user_ssize_t = i64; pub type user_long_t = i64; pub type user_ulong_t = u_int64_t; pub type user_time_t = i64; pub type user_off_t = i64; pub type syscall_arg_t = u_int64_t; pub type va_list = __darwin_va_list; unsafe extern "C" { pub fn renameat( arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, arg4: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn renamex_np( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_uint, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn renameatx_np( arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, arg4: *const ::std::os::raw::c_char, arg5: ::std::os::raw::c_uint, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } pub type fpos_t = __darwin_off_t; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __sbuf { pub _base: *mut ::std::os::raw::c_uchar, pub _size: ::std::os::raw::c_int, } #[allow(clippy::unnecessary_operation, clippy::identity_op)] const _: () = { ["Size of __sbuf"][::std::mem::size_of::<__sbuf>() - 16usize]; ["Alignment of __sbuf"][::std::mem::align_of::<__sbuf>() - 8usize]; ["Offset of field: __sbuf::_base"][::std::mem::offset_of!(__sbuf, _base) - 0usize]; ["Offset of field: __sbuf::_size"][::std::mem::offset_of!(__sbuf, _size) - 8usize]; }; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __sFILEX { _unused: [u8; 0], } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __sFILE { pub _p: *mut ::std::os::raw::c_uchar, pub _r: ::std::os::raw::c_int, pub _w: ::std::os::raw::c_int, pub _flags: ::std::os::raw::c_short, pub _file: ::std::os::raw::c_short, pub _bf: __sbuf, pub _lbfsize: ::std::os::raw::c_int, pub _cookie: *mut ::std::os::raw::c_void, pub _close: ::std::option::Option< unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, >, pub _read: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_char, __n: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pub _seek: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: fpos_t, arg3: ::std::os::raw::c_int, ) -> fpos_t, >, pub _write: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: *const ::std::os::raw::c_char, __n: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pub _ub: __sbuf, pub _extra: *mut __sFILEX, pub _ur: ::std::os::raw::c_int, pub _ubuf: [::std::os::raw::c_uchar; 3usize], pub _nbuf: [::std::os::raw::c_uchar; 1usize], pub _lb: __sbuf, pub _blksize: ::std::os::raw::c_int, pub _offset: fpos_t, } #[allow(clippy::unnecessary_operation, clippy::identity_op)] const _: () = { ["Size of __sFILE"][::std::mem::size_of::<__sFILE>() - 152usize]; ["Alignment of __sFILE"][::std::mem::align_of::<__sFILE>() - 8usize]; ["Offset of field: __sFILE::_p"][::std::mem::offset_of!(__sFILE, _p) - 0usize]; ["Offset of field: __sFILE::_r"][::std::mem::offset_of!(__sFILE, _r) - 8usize]; ["Offset of field: __sFILE::_w"][::std::mem::offset_of!(__sFILE, _w) - 12usize]; ["Offset of field: __sFILE::_flags"][::std::mem::offset_of!(__sFILE, _flags) - 16usize]; ["Offset of field: __sFILE::_file"][::std::mem::offset_of!(__sFILE, _file) - 18usize]; ["Offset of field: __sFILE::_bf"][::std::mem::offset_of!(__sFILE, _bf) - 24usize]; ["Offset of field: __sFILE::_lbfsize"][::std::mem::offset_of!(__sFILE, _lbfsize) - 40usize]; ["Offset of field: __sFILE::_cookie"][::std::mem::offset_of!(__sFILE, _cookie) - 48usize]; ["Offset of field: __sFILE::_close"][::std::mem::offset_of!(__sFILE, _close) - 56usize]; ["Offset of field: __sFILE::_read"][::std::mem::offset_of!(__sFILE, _read) - 64usize]; ["Offset of field: __sFILE::_seek"][::std::mem::offset_of!(__sFILE, _seek) - 72usize]; ["Offset of field: __sFILE::_write"][::std::mem::offset_of!(__sFILE, _write) - 80usize]; ["Offset of field: __sFILE::_ub"][::std::mem::offset_of!(__sFILE, _ub) - 88usize]; ["Offset of field: __sFILE::_extra"][::std::mem::offset_of!(__sFILE, _extra) - 104usize]; ["Offset of field: __sFILE::_ur"][::std::mem::offset_of!(__sFILE, _ur) - 112usize]; ["Offset of field: __sFILE::_ubuf"][::std::mem::offset_of!(__sFILE, _ubuf) - 116usize]; ["Offset of field: __sFILE::_nbuf"][::std::mem::offset_of!(__sFILE, _nbuf) - 119usize]; ["Offset of field: __sFILE::_lb"][::std::mem::offset_of!(__sFILE, _lb) - 120usize]; ["Offset of field: __sFILE::_blksize"][::std::mem::offset_of!(__sFILE, _blksize) - 136usize]; ["Offset of field: __sFILE::_offset"][::std::mem::offset_of!(__sFILE, _offset) - 144usize]; }; pub type FILE = __sFILE; unsafe extern "C" { pub static mut __stdinp: *mut FILE; } unsafe extern "C" { pub static mut __stdoutp: *mut FILE; } unsafe extern "C" { pub static mut __stderrp: *mut FILE; } unsafe extern "C" { pub fn clearerr(arg1: *mut FILE); } unsafe extern "C" { pub fn fclose(arg1: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn feof(arg1: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn ferror(arg1: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn fflush(arg1: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn fgetc(arg1: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn fgetpos(arg1: *mut FILE, arg2: *mut fpos_t) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn fgets( arg1: *mut ::std::os::raw::c_char, __size: ::std::os::raw::c_int, arg2: *mut FILE, ) -> *mut ::std::os::raw::c_char; } unsafe extern "C" { pub fn fopen( __filename: *const ::std::os::raw::c_char, __mode: *const ::std::os::raw::c_char, ) -> *mut FILE; } unsafe extern "C" { pub fn fprintf( arg1: *mut FILE, arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn fputc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn fputs(arg1: *const ::std::os::raw::c_char, arg2: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn fread( __ptr: *mut ::std::os::raw::c_void, __size: ::std::os::raw::c_ulong, __nitems: ::std::os::raw::c_ulong, __stream: *mut FILE, ) -> ::std::os::raw::c_ulong; } unsafe extern "C" { pub fn freopen( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: *mut FILE, ) -> *mut FILE; } unsafe extern "C" { pub fn fscanf( arg1: *mut FILE, arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn fseek( arg1: *mut FILE, arg2: ::std::os::raw::c_long, arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn fsetpos(arg1: *mut FILE, arg2: *const fpos_t) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn ftell(arg1: *mut FILE) -> ::std::os::raw::c_long; } unsafe extern "C" { pub fn fwrite( __ptr: *const ::std::os::raw::c_void, __size: ::std::os::raw::c_ulong, __nitems: ::std::os::raw::c_ulong, __stream: *mut FILE, ) -> ::std::os::raw::c_ulong; } unsafe extern "C" { pub fn getc(arg1: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn getchar() -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn gets(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } unsafe extern "C" { pub fn perror(arg1: *const ::std::os::raw::c_char); } unsafe extern "C" { pub fn putc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn putchar(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn puts(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn remove(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn rename( __old: *const ::std::os::raw::c_char, __new: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn rewind(arg1: *mut FILE); } unsafe extern "C" { pub fn scanf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn setbuf(arg1: *mut FILE, arg2: *mut ::std::os::raw::c_char); } unsafe extern "C" { pub fn setvbuf( arg1: *mut FILE, arg2: *mut ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, __size: usize, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn sprintf( arg1: *mut ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn sscanf( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn tmpfile() -> *mut FILE; } unsafe extern "C" { pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } unsafe extern "C" { pub fn ungetc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn vfprintf( arg1: *mut FILE, arg2: *const ::std::os::raw::c_char, arg3: __builtin_va_list, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn vprintf( arg1: *const ::std::os::raw::c_char, arg2: __builtin_va_list, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn vsprintf( arg1: *mut ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: __builtin_va_list, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn ctermid(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } unsafe extern "C" { pub fn fdopen(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char) -> *mut FILE; } unsafe extern "C" { pub fn fileno(arg1: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn pclose(arg1: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn popen( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, ) -> *mut FILE; } unsafe extern "C" { pub fn __srget(arg1: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn __svfscanf( arg1: *mut FILE, arg2: *const ::std::os::raw::c_char, arg3: va_list, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn __swbuf(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn flockfile(arg1: *mut FILE); } unsafe extern "C" { pub fn ftrylockfile(arg1: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn funlockfile(arg1: *mut FILE); } unsafe extern "C" { pub fn getc_unlocked(arg1: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn getchar_unlocked() -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn putc_unlocked(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn putchar_unlocked(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn getw(arg1: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn putw(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn tempnam( __dir: *const ::std::os::raw::c_char, __prefix: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } pub type off_t = __darwin_off_t; unsafe extern "C" { pub fn fseeko( __stream: *mut FILE, __offset: off_t, __whence: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn ftello(__stream: *mut FILE) -> off_t; } unsafe extern "C" { pub fn snprintf( __str: *mut ::std::os::raw::c_char, __size: ::std::os::raw::c_ulong, __format: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn vfscanf( __stream: *mut FILE, __format: *const ::std::os::raw::c_char, arg1: __builtin_va_list, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn vscanf( __format: *const ::std::os::raw::c_char, arg1: __builtin_va_list, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn vsnprintf( __str: *mut ::std::os::raw::c_char, __size: ::std::os::raw::c_ulong, __format: *const ::std::os::raw::c_char, arg1: __builtin_va_list, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn vsscanf( __str: *const ::std::os::raw::c_char, __format: *const ::std::os::raw::c_char, arg1: __builtin_va_list, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn dprintf( arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn vdprintf( arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char, arg3: va_list, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn getdelim( __linep: *mut *mut ::std::os::raw::c_char, __linecapp: *mut usize, __delimiter: ::std::os::raw::c_int, __stream: *mut FILE, ) -> isize; } unsafe extern "C" { pub fn getline( __linep: *mut *mut ::std::os::raw::c_char, __linecapp: *mut usize, __stream: *mut FILE, ) -> isize; } unsafe extern "C" { pub fn fmemopen( __buf: *mut ::std::os::raw::c_void, __size: usize, __mode: *const ::std::os::raw::c_char, ) -> *mut FILE; } unsafe extern "C" { pub fn open_memstream( __bufp: *mut *mut ::std::os::raw::c_char, __sizep: *mut usize, ) -> *mut FILE; } unsafe extern "C" { pub static sys_nerr: ::std::os::raw::c_int; } unsafe extern "C" { pub static sys_errlist: [*const ::std::os::raw::c_char; 0usize]; } unsafe extern "C" { pub fn asprintf( arg1: *mut *mut ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn ctermid_r(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } unsafe extern "C" { pub fn fgetln(arg1: *mut FILE, __len: *mut usize) -> *mut ::std::os::raw::c_char; } unsafe extern "C" { pub fn fmtcheck( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char; } unsafe extern "C" { pub fn fpurge(arg1: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn setbuffer( arg1: *mut FILE, arg2: *mut ::std::os::raw::c_char, __size: ::std::os::raw::c_int, ); } unsafe extern "C" { pub fn setlinebuf(arg1: *mut FILE) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn vasprintf( arg1: *mut *mut ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: va_list, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn funopen( arg1: *const ::std::os::raw::c_void, arg2: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_char, __n: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, arg3: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: *const ::std::os::raw::c_char, __n: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, arg4: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: fpos_t, arg3: ::std::os::raw::c_int, ) -> fpos_t, >, arg5: ::std::option::Option< unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, >, ) -> *mut FILE; } unsafe extern "C" { pub fn __snprintf_chk( arg1: *mut ::std::os::raw::c_char, __maxlen: usize, arg2: ::std::os::raw::c_int, arg3: usize, arg4: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn __vsnprintf_chk( arg1: *mut ::std::os::raw::c_char, __maxlen: usize, arg2: ::std::os::raw::c_int, arg3: usize, arg4: *const ::std::os::raw::c_char, arg5: va_list, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn __sprintf_chk( arg1: *mut ::std::os::raw::c_char, arg2: ::std::os::raw::c_int, arg3: usize, arg4: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn __vsprintf_chk( arg1: *mut ::std::os::raw::c_char, arg2: ::std::os::raw::c_int, arg3: usize, arg4: *const ::std::os::raw::c_char, arg5: va_list, ) -> ::std::os::raw::c_int; } unsafe extern "C" { pub fn delta2d_decode8(length0: usize, length1: usize, chunkBuffer: *mut i8); } unsafe extern "C" { pub fn delta2d_encode8(length0: usize, length1: usize, chunkBuffer: *mut i8); } unsafe extern "C" { pub fn delta2d_decode16(length0: usize, length1: usize, chunkBuffer: *mut i16); } unsafe extern "C" { pub fn delta2d_encode16(length0: usize, length1: usize, chunkBuffer: *mut i16); } unsafe extern "C" { pub fn delta2d_decode32(length0: usize, length1: usize, chunkBuffer: *mut i32); } unsafe extern "C" { pub fn delta2d_encode32(length0: usize, length1: usize, chunkBuffer: *mut i32); } unsafe extern "C" { pub fn delta2d_decode64(length0: usize, length1: usize, chunkBuffer: *mut i64); } unsafe extern "C" { pub fn delta2d_encode64(length0: usize, length1: usize, chunkBuffer: *mut i64); } unsafe extern "C" { pub fn delta2d_encode_xor(length0: usize, length1: usize, chunkBuffer: *mut f32); } unsafe extern "C" { pub fn delta2d_decode_xor(length0: usize, length1: usize, chunkBuffer: *mut f32); } unsafe extern "C" { pub fn delta2d_encode_xor_double(length0: usize, length1: usize, chunkBuffer: *mut f64); } unsafe extern "C" { pub fn delta2d_decode_xor_double(length0: usize, length1: usize, chunkBuffer: *mut f64); } #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum OmError_t { ERROR_OK = 0, ERROR_INVALID_COMPRESSION_TYPE = 1, ERROR_INVALID_DATA_TYPE = 2, ERROR_OUT_OF_BOUND_READ = 3, ERROR_NOT_AN_OM_FILE = 4, ERROR_DEFLATED_SIZE_MISMATCH = 5, ERROR_INVALID_DIMENSIONS = 6, ERROR_INVALID_CHUNK_DIMENSIONS = 7, ERROR_INVALID_READ_OFFSET = 8, ERROR_INVALID_READ_COUNT = 9, ERROR_INVALID_CUBE_OFFSET = 10, } unsafe extern "C" { pub fn om_error_string(error: OmError_t) -> *const ::std::os::raw::c_char; } #[repr(u32)] #[doc = " Data types"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum OmDataType_t { DATA_TYPE_NONE = 0, DATA_TYPE_INT8 = 1, DATA_TYPE_UINT8 = 2, DATA_TYPE_INT16 = 3, DATA_TYPE_UINT16 = 4, DATA_TYPE_INT32 = 5, DATA_TYPE_UINT32 = 6, DATA_TYPE_INT64 = 7, DATA_TYPE_UINT64 = 8, DATA_TYPE_FLOAT = 9, DATA_TYPE_DOUBLE = 10, DATA_TYPE_STRING = 11, DATA_TYPE_INT8_ARRAY = 12, DATA_TYPE_UINT8_ARRAY = 13, DATA_TYPE_INT16_ARRAY = 14, DATA_TYPE_UINT16_ARRAY = 15, DATA_TYPE_INT32_ARRAY = 16, DATA_TYPE_UINT32_ARRAY = 17, DATA_TYPE_INT64_ARRAY = 18, DATA_TYPE_UINT64_ARRAY = 19, DATA_TYPE_FLOAT_ARRAY = 20, DATA_TYPE_DOUBLE_ARRAY = 21, DATA_TYPE_STRING_ARRAY = 22, } #[repr(u32)] #[doc = " Compression types"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum OmCompression_t { COMPRESSION_PFOR_DELTA2D_INT16 = 0, COMPRESSION_FPX_XOR2D = 1, COMPRESSION_PFOR_DELTA2D = 2, COMPRESSION_PFOR_DELTA2D_INT16_LOGARITHMIC = 3, COMPRESSION_NONE = 4, } unsafe extern "C" { #[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."] pub fn om_get_bytes_per_element(data_type: OmDataType_t, error: *mut OmError_t) -> u8; } unsafe extern "C" { #[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."] pub fn om_get_bytes_per_element_compressed( data_type: OmDataType_t, compression: OmCompression_t, error: *mut OmError_t, ) -> u8; } unsafe extern "C" { #[doc = " Copy 16 bit integer array and convert to float"] pub fn om_common_copy_float_to_int16( length: u64, scale_factor: f32, add_offset: f32, src: *const ::std::os::raw::c_void, dst: *mut ::std::os::raw::c_void, ); } unsafe extern "C" { pub fn om_common_copy_float_to_int32( length: u64, scale_factor: f32, add_offset: f32, src: *const ::std::os::raw::c_void, dst: *mut ::std::os::raw::c_void, ); } unsafe extern "C" { pub fn om_common_copy_double_to_int64( length: u64, scale_factor: f32, add_offset: f32, src: *const ::std::os::raw::c_void, dst: *mut ::std::os::raw::c_void, ); } unsafe extern "C" { #[doc = " Copy 16 bit integer array and convert to float and scale log10"] pub fn om_common_copy_float_to_int16_log10( length: u64, scale_factor: f32, src: *const ::std::os::raw::c_void, dst: *mut ::std::os::raw::c_void, ); } unsafe extern "C" { #[doc = " Convert int16 and scale to float"] pub fn om_common_copy_int16_to_float( length: u64, scale_factor: f32, add_offset: f32, src: *const ::std::os::raw::c_void, dst: *mut ::std::os::raw::c_void, ); } unsafe extern "C" { pub fn om_common_copy_int32_to_float( length: u64, scale_factor: f32, add_offset: f32, src: *const ::std::os::raw::c_void, dst: *mut ::std::os::raw::c_void, ); } unsafe extern "C" { pub fn om_common_copy_int64_to_double( length: u64, scale_factor: f32, add_offset: f32, src: *const ::std::os::raw::c_void, dst: *mut ::std::os::raw::c_void, ); } unsafe extern "C" { #[doc = " Convert int16 and scale to float with log10"] pub fn om_common_copy_int16_to_float_log10( length: u64, scale_factor: f32, src: *const ::std::os::raw::c_void, dst: *mut ::std::os::raw::c_void, ); } unsafe extern "C" { pub fn om_common_copy8( length: u64, src: *const ::std::os::raw::c_void, dst: *mut ::std::os::raw::c_void, ); } unsafe extern "C" { pub fn om_common_copy16( length: u64, src: *const ::std::os::raw::c_void, dst: *mut ::std::os::raw::c_void, ); } unsafe extern "C" { pub fn om_common_copy32( length: u64, src: *const ::std::os::raw::c_void, dst: *mut ::std::os::raw::c_void, ); } unsafe extern "C" { pub fn om_common_copy64( length: u64, src: *const ::std::os::raw::c_void, dst: *mut ::std::os::raw::c_void, ); } unsafe extern "C" { pub fn om_common_compress_fpxenc32( src: *const ::std::os::raw::c_void, length: u64, dst: *mut ::std::os::raw::c_void, ) -> u64; } unsafe extern "C" { pub fn om_common_compress_fpxenc64( src: *const ::std::os::raw::c_void, length: u64, dst: *mut ::std::os::raw::c_void, ) -> u64; } unsafe extern "C" { pub fn om_common_decompress_fpxdec32( src: *const ::std::os::raw::c_void, length: u64, dst: *mut ::std::os::raw::c_void, ) -> u64; } unsafe extern "C" { pub fn om_common_decompress_fpxdec64( src: *const ::std::os::raw::c_void, length: u64, dst: *mut ::std::os::raw::c_void, ) -> u64; } #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum OmHeaderType_t { OM_HEADER_INVALID = 0, OM_HEADER_LEGACY = 1, OM_HEADER_READ_TRAILER = 2, } #[doc = " Legacy files only contain one 2D array with attributes in the header\n File content: Header, look-up-table, compressed data"] #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct OmHeaderV1_t { pub magic_number1: u8, pub magic_number2: u8, pub version: u8, pub compression_type: u8, pub scale_factor: f32, pub dim0: u64, pub dim1: u64, pub chunk0: u64, pub chunk1: u64, } #[allow(clippy::unnecessary_operation, clippy::identity_op)] const _: () = { ["Size of OmHeaderV1_t"][::std::mem::size_of::() - 40usize]; ["Alignment of OmHeaderV1_t"][::std::mem::align_of::() - 8usize]; ["Offset of field: OmHeaderV1_t::magic_number1"] [::std::mem::offset_of!(OmHeaderV1_t, magic_number1) - 0usize]; ["Offset of field: OmHeaderV1_t::magic_number2"] [::std::mem::offset_of!(OmHeaderV1_t, magic_number2) - 1usize]; ["Offset of field: OmHeaderV1_t::version"] [::std::mem::offset_of!(OmHeaderV1_t, version) - 2usize]; ["Offset of field: OmHeaderV1_t::compression_type"] [::std::mem::offset_of!(OmHeaderV1_t, compression_type) - 3usize]; ["Offset of field: OmHeaderV1_t::scale_factor"] [::std::mem::offset_of!(OmHeaderV1_t, scale_factor) - 4usize]; ["Offset of field: OmHeaderV1_t::dim0"][::std::mem::offset_of!(OmHeaderV1_t, dim0) - 8usize]; ["Offset of field: OmHeaderV1_t::dim1"][::std::mem::offset_of!(OmHeaderV1_t, dim1) - 16usize]; ["Offset of field: OmHeaderV1_t::chunk0"] [::std::mem::offset_of!(OmHeaderV1_t, chunk0) - 24usize]; ["Offset of field: OmHeaderV1_t::chunk1"] [::std::mem::offset_of!(OmHeaderV1_t, chunk1) - 32usize]; }; #[doc = " Newer version only contain magic number \"OM\" and the version 3"] #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct OmHeaderV3_t { pub magic_number1: u8, pub magic_number2: u8, pub version: u8, } #[allow(clippy::unnecessary_operation, clippy::identity_op)] const _: () = { ["Size of OmHeaderV3_t"][::std::mem::size_of::() - 3usize]; ["Alignment of OmHeaderV3_t"][::std::mem::align_of::() - 1usize]; ["Offset of field: OmHeaderV3_t::magic_number1"] [::std::mem::offset_of!(OmHeaderV3_t, magic_number1) - 0usize]; ["Offset of field: OmHeaderV3_t::magic_number2"] [::std::mem::offset_of!(OmHeaderV3_t, magic_number2) - 1usize]; ["Offset of field: OmHeaderV3_t::version"] [::std::mem::offset_of!(OmHeaderV3_t, version) - 2usize]; }; #[doc = " Trailer only present in version 3 files"] #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct OmTrailer_t { pub magic_number1: u8, pub magic_number2: u8, pub version: u8, pub reserved: u8, pub reserved2: u32, pub root_offset: u64, pub root_size: u64, } #[allow(clippy::unnecessary_operation, clippy::identity_op)] const _: () = { ["Size of OmTrailer_t"][::std::mem::size_of::() - 24usize]; ["Alignment of OmTrailer_t"][::std::mem::align_of::() - 8usize]; ["Offset of field: OmTrailer_t::magic_number1"] [::std::mem::offset_of!(OmTrailer_t, magic_number1) - 0usize]; ["Offset of field: OmTrailer_t::magic_number2"] [::std::mem::offset_of!(OmTrailer_t, magic_number2) - 1usize]; ["Offset of field: OmTrailer_t::version"] [::std::mem::offset_of!(OmTrailer_t, version) - 2usize]; ["Offset of field: OmTrailer_t::reserved"] [::std::mem::offset_of!(OmTrailer_t, reserved) - 3usize]; ["Offset of field: OmTrailer_t::reserved2"] [::std::mem::offset_of!(OmTrailer_t, reserved2) - 4usize]; ["Offset of field: OmTrailer_t::root_offset"] [::std::mem::offset_of!(OmTrailer_t, root_offset) - 8usize]; ["Offset of field: OmTrailer_t::root_size"] [::std::mem::offset_of!(OmTrailer_t, root_size) - 16usize]; }; unsafe extern "C" { #[doc = " Return the size in byte of the header that should be read. Always 40 byte to support legacy 2D files."] pub fn om_header_size() -> usize; } unsafe extern "C" { #[doc = " Size in bytes of the trailer that contains the root variable offset in newer files"] pub fn om_trailer_size() -> usize; } unsafe extern "C" { #[doc = " The size of a OM header for newer files. Always 3 bytes."] pub fn om_header_write_size() -> usize; } unsafe extern "C" { #[doc = " Check if the header is a OM file header and return if its a legacy version or a new version file"] pub fn om_header_type(src: *const ::std::os::raw::c_void) -> OmHeaderType_t; } unsafe extern "C" { #[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."] pub fn om_trailer_read( src: *const ::std::os::raw::c_void, offset: *mut u64, size: *mut u64, ) -> bool; } unsafe extern "C" { #[doc = " Write an header for newer OM files"] pub fn om_header_write(dest: *mut ::std::os::raw::c_void); } unsafe extern "C" { #[doc = " Write an trailer for newer OM files including the root variable"] pub fn om_trailer_write(dest: *mut ::std::os::raw::c_void, offset: u64, size: u64); } #[doc = " =========== Structures describing the data layout ==============="] #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct OmVariableV3_t { pub data_type: u8, pub compression_type: u8, pub name_size: u16, pub children_count: u32, } #[allow(clippy::unnecessary_operation, clippy::identity_op)] const _: () = { ["Size of OmVariableV3_t"][::std::mem::size_of::() - 8usize]; ["Alignment of OmVariableV3_t"][::std::mem::align_of::() - 4usize]; ["Offset of field: OmVariableV3_t::data_type"] [::std::mem::offset_of!(OmVariableV3_t, data_type) - 0usize]; ["Offset of field: OmVariableV3_t::compression_type"] [::std::mem::offset_of!(OmVariableV3_t, compression_type) - 1usize]; ["Offset of field: OmVariableV3_t::name_size"] [::std::mem::offset_of!(OmVariableV3_t, name_size) - 2usize]; ["Offset of field: OmVariableV3_t::children_count"] [::std::mem::offset_of!(OmVariableV3_t, children_count) - 4usize]; }; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct OmVariableArrayV3_t { pub data_type: u8, pub compression_type: u8, pub name_size: u16, pub children_count: u32, pub lut_size: u64, pub lut_offset: u64, pub dimension_count: u64, pub scale_factor: f32, pub add_offset: f32, } #[allow(clippy::unnecessary_operation, clippy::identity_op)] const _: () = { ["Size of OmVariableArrayV3_t"][::std::mem::size_of::() - 40usize]; ["Alignment of OmVariableArrayV3_t"][::std::mem::align_of::() - 8usize]; ["Offset of field: OmVariableArrayV3_t::data_type"] [::std::mem::offset_of!(OmVariableArrayV3_t, data_type) - 0usize]; ["Offset of field: OmVariableArrayV3_t::compression_type"] [::std::mem::offset_of!(OmVariableArrayV3_t, compression_type) - 1usize]; ["Offset of field: OmVariableArrayV3_t::name_size"] [::std::mem::offset_of!(OmVariableArrayV3_t, name_size) - 2usize]; ["Offset of field: OmVariableArrayV3_t::children_count"] [::std::mem::offset_of!(OmVariableArrayV3_t, children_count) - 4usize]; ["Offset of field: OmVariableArrayV3_t::lut_size"] [::std::mem::offset_of!(OmVariableArrayV3_t, lut_size) - 8usize]; ["Offset of field: OmVariableArrayV3_t::lut_offset"] [::std::mem::offset_of!(OmVariableArrayV3_t, lut_offset) - 16usize]; ["Offset of field: OmVariableArrayV3_t::dimension_count"] [::std::mem::offset_of!(OmVariableArrayV3_t, dimension_count) - 24usize]; ["Offset of field: OmVariableArrayV3_t::scale_factor"] [::std::mem::offset_of!(OmVariableArrayV3_t, scale_factor) - 32usize]; ["Offset of field: OmVariableArrayV3_t::add_offset"] [::std::mem::offset_of!(OmVariableArrayV3_t, add_offset) - 36usize]; }; #[doc = " only expose an opaque pointer"] pub type OmVariable_t = *mut ::std::os::raw::c_void; unsafe extern "C" { #[doc = " After reading data for the variable, initialize it. This is literally a simple cast to an opaque pointer. Source memory must remain accessible!"] pub fn om_variable_init(src: *const ::std::os::raw::c_void) -> *const OmVariable_t; } unsafe extern "C" { #[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`."] pub fn om_variable_get_name( variable: *const OmVariable_t, length: *mut u16, ) -> *const ::std::os::raw::c_char; } unsafe extern "C" { #[doc = " Get the type of the current variable"] pub fn om_variable_get_type(variable: *const OmVariable_t) -> OmDataType_t; } unsafe extern "C" { #[doc = " Get the compression type of the current variable"] pub fn om_variable_get_compression(variable: *const OmVariable_t) -> OmCompression_t; } unsafe extern "C" { pub fn om_variable_get_scale_factor(variable: *const OmVariable_t) -> f32; } unsafe extern "C" { pub fn om_variable_get_add_offset(variable: *const OmVariable_t) -> f32; } unsafe extern "C" { #[doc = " Get number of dimensions"] pub fn om_variable_get_dimensions_count(variable: *const OmVariable_t) -> u64; } unsafe extern "C" { #[doc = " Get a pointer to the dimensions of a OM variable"] pub fn om_variable_get_dimensions(variable: *const OmVariable_t) -> *const u64; } unsafe extern "C" { #[doc = " Get a pointer to the chunk dimensions of an OM Variable"] pub fn om_variable_get_chunks(variable: *const OmVariable_t) -> *const u64; } unsafe extern "C" { #[doc = " Return how many children are available for a given variable"] pub fn om_variable_get_children_count(variable: *const OmVariable_t) -> u32; } unsafe extern "C" { #[doc = " Get the file offset where a specified child or children can be read"] pub fn om_variable_get_children( variable: *const OmVariable_t, children_offset: u32, children_count: u32, children_offsets: *mut u64, children_sizes: *mut u64, ) -> bool; } unsafe extern "C" { #[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"] pub fn om_variable_get_scalar( variable: *const OmVariable_t, value: *mut *mut ::std::os::raw::c_void, size: *mut u64, ) -> OmError_t; } unsafe extern "C" { #[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."] pub fn om_variable_validate(src: *const ::std::os::raw::c_void, buffer_size: u64) -> OmError_t; } unsafe extern "C" { #[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."] pub fn om_variable_write_scalar_size( name_size: u16, children_count: u32, data_type: OmDataType_t, string_size: u64, ) -> usize; } unsafe extern "C" { #[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."] pub fn om_variable_write_scalar( dst: *mut ::std::os::raw::c_void, name_size: u16, children_count: u32, children_offsets: *const u64, children_sizes: *const u64, name: *const ::std::os::raw::c_char, data_type: OmDataType_t, value: *const ::std::os::raw::c_void, string_size: usize, ); } unsafe extern "C" { #[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."] pub fn om_variable_write_numeric_array_size( name_size: u16, children_count: u32, dimension_count: u64, ) -> usize; } unsafe extern "C" { #[doc = " Write meta data for a numeric array to file"] pub fn om_variable_write_numeric_array( dst: *mut ::std::os::raw::c_void, name_size: u16, children_count: u32, children_offsets: *const u64, children_sizes: *const u64, name: *const ::std::os::raw::c_char, data_type: OmDataType_t, compression_type: OmCompression_t, scale_factor: f32, add_offset: f32, dimension_count: u64, dimensions: *const u64, chunks: *const u64, lut_size: u64, lut_offset: u64, ); } #[repr(u32)] #[doc = " Memory layout types"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum OmMemoryLayout_t { OM_MEMORY_LAYOUT_LEGACY = 0, OM_MEMORY_LAYOUT_ARRAY = 1, OM_MEMORY_LAYOUT_SCALAR = 3, } unsafe extern "C" { #[doc = " Check if a variable is legacy or version 3 array of scalar. Legacy files are the entire header containing magic number and version."] pub fn _om_variable_memory_layout(variable: *const OmVariable_t) -> OmMemoryLayout_t; } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct OmRange_t { pub lowerBound: u64, pub upperBound: u64, } #[allow(clippy::unnecessary_operation, clippy::identity_op)] const _: () = { ["Size of OmRange_t"][::std::mem::size_of::() - 16usize]; ["Alignment of OmRange_t"][::std::mem::align_of::() - 8usize]; ["Offset of field: OmRange_t::lowerBound"] [::std::mem::offset_of!(OmRange_t, lowerBound) - 0usize]; ["Offset of field: OmRange_t::upperBound"] [::std::mem::offset_of!(OmRange_t, upperBound) - 8usize]; }; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct OmDecoder_indexRead_t { pub offset: u64, pub count: u64, pub indexRange: OmRange_t, pub chunkIndex: OmRange_t, pub nextChunk: OmRange_t, } #[allow(clippy::unnecessary_operation, clippy::identity_op)] const _: () = { ["Size of OmDecoder_indexRead_t"][::std::mem::size_of::() - 64usize]; ["Alignment of OmDecoder_indexRead_t"] [::std::mem::align_of::() - 8usize]; ["Offset of field: OmDecoder_indexRead_t::offset"] [::std::mem::offset_of!(OmDecoder_indexRead_t, offset) - 0usize]; ["Offset of field: OmDecoder_indexRead_t::count"] [::std::mem::offset_of!(OmDecoder_indexRead_t, count) - 8usize]; ["Offset of field: OmDecoder_indexRead_t::indexRange"] [::std::mem::offset_of!(OmDecoder_indexRead_t, indexRange) - 16usize]; ["Offset of field: OmDecoder_indexRead_t::chunkIndex"] [::std::mem::offset_of!(OmDecoder_indexRead_t, chunkIndex) - 32usize]; ["Offset of field: OmDecoder_indexRead_t::nextChunk"] [::std::mem::offset_of!(OmDecoder_indexRead_t, nextChunk) - 48usize]; }; pub type OmDecoder_dataRead_t = OmDecoder_indexRead_t; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct OmDecoder_t { #[doc = " Number of dimensions"] pub dimensions_count: u64, #[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."] pub io_size_merge: u64, #[doc = " The maximum IO size before IO operations are split up. Default 64k. If data is in memory, this can be set higher."] pub io_size_max: u64, #[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."] pub lut_chunk_length: u64, #[doc = " The offset position where the LUT should start"] pub lut_start: u64, #[doc = " uint64_t of data chunks in this file. This value is computed in the initialisation."] pub number_of_chunks: u64, #[doc = " The dimensions of the data array. The last dimension is the \"fast\" dimension meaning the elements are sequential in memory"] pub dimensions: *const u64, #[doc = " The chunk lengths for each dimension"] pub chunks: *const u64, #[doc = " The read offset to start reading data in each dimension"] pub read_offset: *const u64, #[doc = " How many elements in each dimension to read"] pub read_count: *const u64, #[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"] pub cube_dimensions: *const u64, #[doc = " The offset for each dimension if data is read into a larger array."] pub cube_offset: *const u64, #[doc = " A scalefactor to convert floats to integers"] pub scale_factor: f32, #[doc = " An offset to convert floats to integers while scaling"] pub add_offset: f32, #[doc = " The data type of the data"] pub data_type: u8, #[doc = " The compression type of the data"] pub compression: u8, #[doc = " The size of the elements in bytes"] pub bytes_per_element: u8, #[doc = " The size of the elements in bytes after compression, e.g. Int16 could be used to scale floats"] pub bytes_per_element_compressed: u8, } #[allow(clippy::unnecessary_operation, clippy::identity_op)] const _: () = { ["Size of OmDecoder_t"][::std::mem::size_of::() - 112usize]; ["Alignment of OmDecoder_t"][::std::mem::align_of::() - 8usize]; ["Offset of field: OmDecoder_t::dimensions_count"] [::std::mem::offset_of!(OmDecoder_t, dimensions_count) - 0usize]; ["Offset of field: OmDecoder_t::io_size_merge"] [::std::mem::offset_of!(OmDecoder_t, io_size_merge) - 8usize]; ["Offset of field: OmDecoder_t::io_size_max"] [::std::mem::offset_of!(OmDecoder_t, io_size_max) - 16usize]; ["Offset of field: OmDecoder_t::lut_chunk_length"] [::std::mem::offset_of!(OmDecoder_t, lut_chunk_length) - 24usize]; ["Offset of field: OmDecoder_t::lut_start"] [::std::mem::offset_of!(OmDecoder_t, lut_start) - 32usize]; ["Offset of field: OmDecoder_t::number_of_chunks"] [::std::mem::offset_of!(OmDecoder_t, number_of_chunks) - 40usize]; ["Offset of field: OmDecoder_t::dimensions"] [::std::mem::offset_of!(OmDecoder_t, dimensions) - 48usize]; ["Offset of field: OmDecoder_t::chunks"][::std::mem::offset_of!(OmDecoder_t, chunks) - 56usize]; ["Offset of field: OmDecoder_t::read_offset"] [::std::mem::offset_of!(OmDecoder_t, read_offset) - 64usize]; ["Offset of field: OmDecoder_t::read_count"] [::std::mem::offset_of!(OmDecoder_t, read_count) - 72usize]; ["Offset of field: OmDecoder_t::cube_dimensions"] [::std::mem::offset_of!(OmDecoder_t, cube_dimensions) - 80usize]; ["Offset of field: OmDecoder_t::cube_offset"] [::std::mem::offset_of!(OmDecoder_t, cube_offset) - 88usize]; ["Offset of field: OmDecoder_t::scale_factor"] [::std::mem::offset_of!(OmDecoder_t, scale_factor) - 96usize]; ["Offset of field: OmDecoder_t::add_offset"] [::std::mem::offset_of!(OmDecoder_t, add_offset) - 100usize]; ["Offset of field: OmDecoder_t::data_type"] [::std::mem::offset_of!(OmDecoder_t, data_type) - 104usize]; ["Offset of field: OmDecoder_t::compression"] [::std::mem::offset_of!(OmDecoder_t, compression) - 105usize]; ["Offset of field: OmDecoder_t::bytes_per_element"] [::std::mem::offset_of!(OmDecoder_t, bytes_per_element) - 106usize]; ["Offset of field: OmDecoder_t::bytes_per_element_compressed"] [::std::mem::offset_of!(OmDecoder_t, bytes_per_element_compressed) - 107usize]; }; unsafe extern "C" { #[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"] pub fn om_decoder_init( decoder: *mut OmDecoder_t, variable: *const OmVariable_t, dimension_count: u64, read_offset: *const u64, read_count: *const u64, cube_offset: *const u64, cube_dimensions: *const u64, io_size_merge: u64, io_size_max: u64, ) -> OmError_t; } unsafe extern "C" { #[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."] pub fn om_decoder_init_index_read( decoder: *const OmDecoder_t, indexRead: *mut OmDecoder_indexRead_t, ); } unsafe extern "C" { #[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"] pub fn om_decoder_next_index_read( decoder: *const OmDecoder_t, index_read: *mut OmDecoder_indexRead_t, ) -> bool; } unsafe extern "C" { #[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."] pub fn om_decoder_init_data_read( data_read: *mut OmDecoder_dataRead_t, index_read: *const OmDecoder_indexRead_t, ); } unsafe extern "C" { #[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."] pub fn om_decoder_next_data_read( decoder: *const OmDecoder_t, dataRead: *mut OmDecoder_dataRead_t, indexData: *const ::std::os::raw::c_void, indexDataCount: u64, error: *mut OmError_t, ) -> bool; } unsafe extern "C" { #[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."] pub fn om_decoder_read_buffer_size(decoder: *const OmDecoder_t) -> u64; } unsafe extern "C" { #[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."] pub fn om_decoder_decode_chunks( decoder: *const OmDecoder_t, chunkIndex: OmRange_t, data: *const ::std::os::raw::c_void, dataCount: u64, into: *mut ::std::os::raw::c_void, chunkBuffer: *mut ::std::os::raw::c_void, error: *mut OmError_t, ) -> bool; } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct OmEncoder_t { pub dimensions: *const u64, pub chunks: *const u64, pub dimension_count: u64, pub scale_factor: f32, #[doc = " An offset to convert floats to integers while scaling"] pub add_offset: f32, #[doc = " The data type of the data"] pub data_type: u8, #[doc = " The compression type of the data"] pub compression: u8, #[doc = " The size of the elements in bytes"] pub bytes_per_element: u8, #[doc = " The size of the elements in bytes after compression, e.g. Int16 could be used to scale floats"] pub bytes_per_element_compressed: u8, } #[allow(clippy::unnecessary_operation, clippy::identity_op)] const _: () = { ["Size of OmEncoder_t"][::std::mem::size_of::() - 40usize]; ["Alignment of OmEncoder_t"][::std::mem::align_of::() - 8usize]; ["Offset of field: OmEncoder_t::dimensions"] [::std::mem::offset_of!(OmEncoder_t, dimensions) - 0usize]; ["Offset of field: OmEncoder_t::chunks"][::std::mem::offset_of!(OmEncoder_t, chunks) - 8usize]; ["Offset of field: OmEncoder_t::dimension_count"] [::std::mem::offset_of!(OmEncoder_t, dimension_count) - 16usize]; ["Offset of field: OmEncoder_t::scale_factor"] [::std::mem::offset_of!(OmEncoder_t, scale_factor) - 24usize]; ["Offset of field: OmEncoder_t::add_offset"] [::std::mem::offset_of!(OmEncoder_t, add_offset) - 28usize]; ["Offset of field: OmEncoder_t::data_type"] [::std::mem::offset_of!(OmEncoder_t, data_type) - 32usize]; ["Offset of field: OmEncoder_t::compression"] [::std::mem::offset_of!(OmEncoder_t, compression) - 33usize]; ["Offset of field: OmEncoder_t::bytes_per_element"] [::std::mem::offset_of!(OmEncoder_t, bytes_per_element) - 34usize]; ["Offset of field: OmEncoder_t::bytes_per_element_compressed"] [::std::mem::offset_of!(OmEncoder_t, bytes_per_element_compressed) - 35usize]; }; unsafe extern "C" { #[doc = " Initialise the OmEncoder structure with information about the shape of data\n May return an error on invalid compression or data types"] pub fn om_encoder_init( encoder: *mut OmEncoder_t, scale_factor: f32, add_offset: f32, compression: OmCompression_t, data_type: OmDataType_t, dimensions: *const u64, chunks: *const u64, dimension_count: u64, ) -> OmError_t; } unsafe extern "C" { #[doc = " Get the number of chunks that is calculated from dimensions and chunks"] pub fn om_encoder_count_chunks(encoder: *const OmEncoder_t) -> u64; } unsafe extern "C" { #[doc = " Calculate how many chunks can be filled from a given input"] pub fn om_encoder_count_chunks_in_array( encoder: *const OmEncoder_t, array_count: *const u64, ) -> u64; } unsafe extern "C" { #[doc = " The buffer size required to collect a single chunk of data"] pub fn om_encoder_chunk_buffer_size(encoder: *const OmEncoder_t) -> u64; } unsafe extern "C" { #[doc = " The buffer size required to compress a single chunk."] pub fn om_encoder_compressed_chunk_buffer_size(encoder: *const OmEncoder_t) -> u64; } unsafe extern "C" { #[doc = " Calculate the required buffer size for the entire compressed LUT"] pub fn om_encoder_lut_buffer_size(lookUpTable: *const u64, lookUpTableCount: u64) -> u64; } unsafe extern "C" { #[doc = " Compress the LUT and return the size of compressed LUT in bytes"] pub fn om_encoder_compress_lut( lookUpTable: *const u64, lookUpTableCount: u64, out: *mut u8, size_of_compressed_lut: u64, ) -> u64; } unsafe extern "C" { #[doc = " Compress a single chunk. Chunk buffer must be of size `OmEncoder_chunkBufferSize`"] pub fn om_encoder_compress_chunk( encoder: *const OmEncoder_t, array: *const ::std::os::raw::c_void, arrayDimensions: *const u64, arrayOffset: *const u64, arrayCount: *const u64, chunkIndex: u64, chunkIndexOffsetInThisArray: u64, out: *mut u8, chunkBuffer: *mut u8, ) -> u64; } pub type __builtin_va_list = *mut ::std::os::raw::c_char;