[INFO] fetching crate onecode 0.1.0...
[INFO] testing onecode-0.1.0 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate onecode 0.1.0 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate onecode 0.1.0
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate onecode 0.1.0
[INFO] tweaked toml for crates.io crate onecode 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate onecode 0.1.0 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate onecode 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 478acd383bfbaa1c96b2c39551a7aa7fd10585e7ea6086209b5d82ed47afe9eb
[INFO] running `Command { std: "docker" "start" "478acd383bfbaa1c96b2c39551a7aa7fd10585e7ea6086209b5d82ed47afe9eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "478acd383bfbaa1c96b2c39551a7aa7fd10585e7ea6086209b5d82ed47afe9eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "478acd383bfbaa1c96b2c39551a7aa7fd10585e7ea6086209b5d82ed47afe9eb" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "478acd383bfbaa1c96b2c39551a7aa7fd10585e7ea6086209b5d82ed47afe9eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "478acd383bfbaa1c96b2c39551a7aa7fd10585e7ea6086209b5d82ed47afe9eb" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling libloading v0.8.9
[INFO] [stderr]    Compiling bindgen v0.70.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.3
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling cc v1.2.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling regex-automata v0.4.11
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling regex v1.11.3
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling onecode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]  --> /opt/rustwide/target/release/build/onecode-9aeefa5039a29919/out/bindings.rs:3:8057
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set_...
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]   |
[INFO] [stdout] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { u32::cast_signed (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]  --> /opt/rustwide/target/release/build/onecode-9aeefa5039a29919/out/bindings.rs:3:8241
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...ore :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val ...
[INFO] [stdout]   |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: replace this with
[INFO] [stdout]   |
[INFO] [stdout] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = i32::cast_unsigned (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]  --> /opt/rustwide/target/release/build/onecode-9aeefa5039a29919/out/bindings.rs:3:8627
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_uni...
[INFO] [stdout]   |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: replace this with
[INFO] [stdout]   |
[INFO] [stdout] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { i32::cast_unsigned (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 21.36s
[INFO] running `Command { std: "docker" "inspect" "478acd383bfbaa1c96b2c39551a7aa7fd10585e7ea6086209b5d82ed47afe9eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "478acd383bfbaa1c96b2c39551a7aa7fd10585e7ea6086209b5d82ed47afe9eb" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]  --> /opt/rustwide/target/release/build/onecode-9aeefa5039a29919/out/bindings.rs:3:8057
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set_...
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]   |
[INFO] [stdout] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { u32::cast_signed (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]  --> /opt/rustwide/target/release/build/onecode-9aeefa5039a29919/out/bindings.rs:3:8241
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...ore :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val ...
[INFO] [stdout]   |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: replace this with
[INFO] [stdout]   |
[INFO] [stdout] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = i32::cast_unsigned (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]  --> /opt/rustwide/target/release/build/onecode-9aeefa5039a29919/out/bindings.rs:3:8627
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_uni...
[INFO] [stdout]   |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: replace this with
[INFO] [stdout]   |
[INFO] [stdout] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { i32::cast_unsigned (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling onecode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]  --> /opt/rustwide/target/release/build/onecode-9aeefa5039a29919/out/bindings.rs:3:8057
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set_...
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]   |
[INFO] [stdout] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { u32::cast_signed (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]  --> /opt/rustwide/target/release/build/onecode-9aeefa5039a29919/out/bindings.rs:3:8241
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...ore :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val ...
[INFO] [stdout]   |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: replace this with
[INFO] [stdout]   |
[INFO] [stdout] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = i32::cast_unsigned (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]  --> /opt/rustwide/target/release/build/onecode-9aeefa5039a29919/out/bindings.rs:3:8627
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_uni...
[INFO] [stdout]   |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: replace this with
[INFO] [stdout]   |
[INFO] [stdout] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { i32::cast_unsigned (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1.86s
[INFO] running `Command { std: "docker" "inspect" "478acd383bfbaa1c96b2c39551a7aa7fd10585e7ea6086209b5d82ed47afe9eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "478acd383bfbaa1c96b2c39551a7aa7fd10585e7ea6086209b5d82ed47afe9eb" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary transmute
[INFO] [stderr]  --> /opt/rustwide/target/release/build/onecode-9aeefa5039a29919/out/bindings.rs:3:8057
[INFO] [stderr]   |
[INFO] [stderr] 3 | ...: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set_...
[INFO] [stderr]   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stderr] help: replace this with
[INFO] [stderr]   |
[INFO] [stderr] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stderr] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { u32::cast_signed (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary transmute
[INFO] [stderr]  --> /opt/rustwide/target/release/build/onecode-9aeefa5039a29919/out/bindings.rs:3:8241
[INFO] [stderr]   |
[INFO] [stderr] 3 | ...ore :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val ...
[INFO] [stderr]   |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: replace this with
[INFO] [stderr]   |
[INFO] [stderr] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stderr] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = i32::cast_unsigned (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary transmute
[INFO] [stderr]  --> /opt/rustwide/target/release/build/onecode-9aeefa5039a29919/out/bindings.rs:3:8627
[INFO] [stderr]   |
[INFO] [stderr] 3 | ...usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_uni...
[INFO] [stderr]   |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: replace this with
[INFO] [stderr]   |
[INFO] [stderr] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: core :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stderr] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } } pub type __uint64_t = :: core :: ffi :: c_ulong ; pub type __off_t = :: core :: ffi :: c_long ; pub type __off64_t = :: core :: ffi :: c_long ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: core :: ffi :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: core :: ffi :: c_int , pub _IO_read_ptr : * mut :: core :: ffi :: c_char , pub _IO_read_end : * mut :: core :: ffi :: c_char , pub _IO_read_base : * mut :: core :: ffi :: c_char , pub _IO_write_base : * mut :: core :: ffi :: c_char , pub _IO_write_ptr : * mut :: core :: ffi :: c_char , pub _IO_write_end : * mut :: core :: ffi :: c_char , pub _IO_buf_base : * mut :: core :: ffi :: c_char , pub _IO_buf_end : * mut :: core :: ffi :: c_char , pub _IO_save_base : * mut :: core :: ffi :: c_char , pub _IO_backup_base : * mut :: core :: ffi :: c_char , pub _IO_save_end : * mut :: core :: ffi :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: core :: ffi :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: core :: ffi :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: core :: ffi :: c_ushort , pub _vtable_offset : :: core :: ffi :: c_schar , pub _shortbuf : [:: core :: ffi :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: core :: ffi :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: core :: ffi :: c_int , pub _unused3 : :: core :: ffi :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: core :: ffi :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: core :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: core :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: core :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: core :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: core :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: core :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: core :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: core :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: core :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: core :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: core :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: core :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: core :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: core :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: core :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: core :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: core :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: core :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: core :: ffi :: c_int { unsafe { :: core :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: core :: ffi :: c_int) { unsafe { let val : u32 = :: core :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: core :: ffi :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { i32::cast_unsigned (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_list"] [:: core :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: core :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: core :: mem :: offset_of ! (__pthread_internal_list , __next) - 8usize] ; } ; pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: core :: ffi :: c_int , pub __count : :: core :: ffi :: c_uint , pub __owner : :: core :: ffi :: c_int , pub __nusers : :: core :: ffi :: c_uint , pub __kind : :: core :: ffi :: c_int , pub __spins : :: core :: ffi :: c_short , pub __unused : :: core :: ffi :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: core :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: core :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__unused"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __unused) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: core :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: core :: ffi :: c_char ; 40usize] , pub __align : :: core :: ffi :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: core :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: core :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: core :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; pub type I8 = :: core :: ffi :: c_schar ; pub type I16 = :: core :: ffi :: c_short ; pub type I32 = :: core :: ffi :: c_int ; pub type I64 = :: core :: ffi :: c_longlong ; pub type U8 = :: core :: ffi :: c_uchar ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum OneType { oneINT = 1 , oneREAL = 2 , oneCHAR = 3 , oneSTRING = 4 , oneINT_LIST = 5 , oneREAL_LIST = 6 , oneSTRING_LIST = 7 , oneDNA = 8 , } extern "C" { pub static mut oneTypeString : [* mut :: core :: ffi :: c_char ; 0usize] ; } # [repr (C)] # [derive (Copy , Clone)] pub union OneField { pub i : I64 , pub r : f64 , pub c : :: core :: ffi :: c_char , pub len : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneField"] [:: core :: mem :: size_of :: < OneField > () - 8usize] ; ["Alignment of OneField"] [:: core :: mem :: align_of :: < OneField > () - 8usize] ; ["Offset of field: OneField::i"] [:: core :: mem :: offset_of ! (OneField , i) - 0usize] ; ["Offset of field: OneField::r"] [:: core :: mem :: offset_of ! (OneField , r) - 0usize] ; ["Offset of field: OneField::c"] [:: core :: mem :: offset_of ! (OneField , c) - 0usize] ; ["Offset of field: OneField::len"] [:: core :: mem :: offset_of ! (OneField , len) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneProvenance { pub program : * mut :: core :: ffi :: c_char , pub version : * mut :: core :: ffi :: c_char , pub command : * mut :: core :: ffi :: c_char , pub date : * mut :: core :: ffi :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneProvenance"] [:: core :: mem :: size_of :: < OneProvenance > () - 32usize] ; ["Alignment of OneProvenance"] [:: core :: mem :: align_of :: < OneProvenance > () - 8usize] ; ["Offset of field: OneProvenance::program"] [:: core :: mem :: offset_of ! (OneProvenance , program) - 0usize] ; ["Offset of field: OneProvenance::version"] [:: core :: mem :: offset_of ! (OneProvenance , version) - 8usize] ; ["Offset of field: OneProvenance::command"] [:: core :: mem :: offset_of ! (OneProvenance , command) - 16usize] ; ["Offset of field: OneProvenance::date"] [:: core :: mem :: offset_of ! (OneProvenance , date) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneReference { pub filename : * mut :: core :: ffi :: c_char , pub count : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneReference"] [:: core :: mem :: size_of :: < OneReference > () - 16usize] ; ["Alignment of OneReference"] [:: core :: mem :: align_of :: < OneReference > () - 8usize] ; ["Offset of field: OneReference::filename"] [:: core :: mem :: offset_of ! (OneReference , filename) - 0usize] ; ["Offset of field: OneReference::count"] [:: core :: mem :: offset_of ! (OneReference , count) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneCounts { pub count : I64 , pub max : I64 , pub total : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneCounts"] [:: core :: mem :: size_of :: < OneCounts > () - 24usize] ; ["Alignment of OneCounts"] [:: core :: mem :: align_of :: < OneCounts > () - 8usize] ; ["Offset of field: OneCounts::count"] [:: core :: mem :: offset_of ! (OneCounts , count) - 0usize] ; ["Offset of field: OneCounts::max"] [:: core :: mem :: offset_of ! (OneCounts , max) - 8usize] ; ["Offset of field: OneCounts::total"] [:: core :: mem :: offset_of ! (OneCounts , total) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneStat { pub count : I64 , pub count0 : I64 , pub maxCount : I64 , pub total : I64 , pub total0 : I64 , pub maxTotal : I64 , pub type_ : :: core :: ffi :: c_char , pub isList : bool , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneStat"] [:: core :: mem :: size_of :: < OneStat > () - 56usize] ; ["Alignment of OneStat"] [:: core :: mem :: align_of :: < OneStat > () - 8usize] ; ["Offset of field: OneStat::count"] [:: core :: mem :: offset_of ! (OneStat , count) - 0usize] ; ["Offset of field: OneStat::count0"] [:: core :: mem :: offset_of ! (OneStat , count0) - 8usize] ; ["Offset of field: OneStat::maxCount"] [:: core :: mem :: offset_of ! (OneStat , maxCount) - 16usize] ; ["Offset of field: OneStat::total"] [:: core :: mem :: offset_of ! (OneStat , total) - 24usize] ; ["Offset of field: OneStat::total0"] [:: core :: mem :: offset_of ! (OneStat , total0) - 32usize] ; ["Offset of field: OneStat::maxTotal"] [:: core :: mem :: offset_of ! (OneStat , maxTotal) - 40usize] ; ["Offset of field: OneStat::type_"] [:: core :: mem :: offset_of ! (OneStat , type_) - 48usize] ; ["Offset of field: OneStat::isList"] [:: core :: mem :: offset_of ! (OneStat , isList) - 49usize] ; } ; pub type OneCodec = :: core :: ffi :: c_void ; extern "C" { pub static mut DNAcodec : * mut OneCodec ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneInfo { pub isObject : bool , pub index : * mut I64 , pub indexSize : I64 , pub contains : [bool ; 128usize] , pub stats : * mut OneStat , pub isFirst : bool , pub isClosed : bool , pub accum : OneCounts , pub given : OneCounts , pub nField : :: core :: ffi :: c_int , pub fieldType : * mut OneType , pub listEltSize : :: core :: ffi :: c_int , pub listField : :: core :: ffi :: c_int , pub isUserBuf : bool , pub bufSize : I64 , pub buffer : * mut :: core :: ffi :: c_void , pub listCodec : * mut OneCodec , pub isUseListCodec : bool , pub binaryTypePack : :: core :: ffi :: c_char , pub listTack : I64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneInfo"] [:: core :: mem :: size_of :: < OneInfo > () - 288usize] ; ["Alignment of OneInfo"] [:: core :: mem :: align_of :: < OneInfo > () - 8usize] ; ["Offset of field: OneInfo::isObject"] [:: core :: mem :: offset_of ! (OneInfo , isObject) - 0usize] ; ["Offset of field: OneInfo::index"] [:: core :: mem :: offset_of ! (OneInfo , index) - 8usize] ; ["Offset of field: OneInfo::indexSize"] [:: core :: mem :: offset_of ! (OneInfo , indexSize) - 16usize] ; ["Offset of field: OneInfo::contains"] [:: core :: mem :: offset_of ! (OneInfo , contains) - 24usize] ; ["Offset of field: OneInfo::stats"] [:: core :: mem :: offset_of ! (OneInfo , stats) - 152usize] ; ["Offset of field: OneInfo::isFirst"] [:: core :: mem :: offset_of ! (OneInfo , isFirst) - 160usize] ; ["Offset of field: OneInfo::isClosed"] [:: core :: mem :: offset_of ! (OneInfo , isClosed) - 161usize] ; ["Offset of field: OneInfo::accum"] [:: core :: mem :: offset_of ! (OneInfo , accum) - 168usize] ; ["Offset of field: OneInfo::given"] [:: core :: mem :: offset_of ! (OneInfo , given) - 192usize] ; ["Offset of field: OneInfo::nField"] [:: core :: mem :: offset_of ! (OneInfo , nField) - 216usize] ; ["Offset of field: OneInfo::fieldType"] [:: core :: mem :: offset_of ! (OneInfo , fieldType) - 224usize] ; ["Offset of field: OneInfo::listEltSize"] [:: core :: mem :: offset_of ! (OneInfo , listEltSize) - 232usize] ; ["Offset of field: OneInfo::listField"] [:: core :: mem :: offset_of ! (OneInfo , listField) - 236usize] ; ["Offset of field: OneInfo::isUserBuf"] [:: core :: mem :: offset_of ! (OneInfo , isUserBuf) - 240usize] ; ["Offset of field: OneInfo::bufSize"] [:: core :: mem :: offset_of ! (OneInfo , bufSize) - 248usize] ; ["Offset of field: OneInfo::buffer"] [:: core :: mem :: offset_of ! (OneInfo , buffer) - 256usize] ; ["Offset of field: OneInfo::listCodec"] [:: core :: mem :: offset_of ! (OneInfo , listCodec) - 264usize] ; ["Offset of field: OneInfo::isUseListCodec"] [:: core :: mem :: offset_of ! (OneInfo , isUseListCodec) - 272usize] ; ["Offset of field: OneInfo::binaryTypePack"] [:: core :: mem :: offset_of ! (OneInfo , binaryTypePack) - 273usize] ; ["Offset of field: OneInfo::listTack"] [:: core :: mem :: offset_of ! (OneInfo , listTack) - 280usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneSchema { pub primary : * mut :: core :: ffi :: c_char , pub nSecondary : :: core :: ffi :: c_int , pub secondary : * mut * mut :: core :: ffi :: c_char , pub nFieldMax : :: core :: ffi :: c_int , pub info : [* mut OneInfo ; 128usize] , pub currentObject : * mut OneInfo , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub nxt : * mut OneSchema , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneSchema"] [:: core :: mem :: size_of :: < OneSchema > () - 2616usize] ; ["Alignment of OneSchema"] [:: core :: mem :: align_of :: < OneSchema > () - 8usize] ; ["Offset of field: OneSchema::primary"] [:: core :: mem :: offset_of ! (OneSchema , primary) - 0usize] ; ["Offset of field: OneSchema::nSecondary"] [:: core :: mem :: offset_of ! (OneSchema , nSecondary) - 8usize] ; ["Offset of field: OneSchema::secondary"] [:: core :: mem :: offset_of ! (OneSchema , secondary) - 16usize] ; ["Offset of field: OneSchema::nFieldMax"] [:: core :: mem :: offset_of ! (OneSchema , nFieldMax) - 24usize] ; ["Offset of field: OneSchema::info"] [:: core :: mem :: offset_of ! (OneSchema , info) - 32usize] ; ["Offset of field: OneSchema::currentObject"] [:: core :: mem :: offset_of ! (OneSchema , currentObject) - 1056usize] ; ["Offset of field: OneSchema::nDefn"] [:: core :: mem :: offset_of ! (OneSchema , nDefn) - 1064usize] ; ["Offset of field: OneSchema::defnOrder"] [:: core :: mem :: offset_of ! (OneSchema , defnOrder) - 1068usize] ; ["Offset of field: OneSchema::defnComment"] [:: core :: mem :: offset_of ! (OneSchema , defnComment) - 1584usize] ; ["Offset of field: OneSchema::nxt"] [:: core :: mem :: offset_of ! (OneSchema , nxt) - 2608usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct OneHeaderText { pub text : * mut :: core :: ffi :: c_char , pub nxt : * mut OneHeaderText , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneHeaderText"] [:: core :: mem :: size_of :: < OneHeaderText > () - 16usize] ; ["Alignment of OneHeaderText"] [:: core :: mem :: align_of :: < OneHeaderText > () - 8usize] ; ["Offset of field: OneHeaderText::text"] [:: core :: mem :: offset_of ! (OneHeaderText , text) - 0usize] ; ["Offset of field: OneHeaderText::nxt"] [:: core :: mem :: offset_of ! (OneHeaderText , nxt) - 8usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct OneFile { pub isCheckString : bool , pub fileName : * mut :: core :: ffi :: c_char , pub fileType : * mut :: core :: ffi :: c_char , pub subType : * mut :: core :: ffi :: c_char , pub lineType : :: core :: ffi :: c_char , pub line : I64 , pub byte : I64 , pub provenance : * mut OneProvenance , pub reference : * mut OneReference , pub deferred : * mut OneReference , pub field : * mut OneField , pub info : [* mut OneInfo ; 128usize] , pub nDefn : :: core :: ffi :: c_int , pub defnOrder : [:: core :: ffi :: c_int ; 128usize] , pub defnComment : [* mut :: core :: ffi :: c_char ; 128usize] , pub codecTrainingSize : I64 , pub f : * mut FILE , pub isWrite : bool , pub isHeaderOut : bool , pub isBinary : bool , pub inGroup : bool , pub isLastLineBinary : bool , pub isBig : bool , pub isNoAsciiHeader : bool , pub lineBuf : [:: core :: ffi :: c_char ; 128usize] , pub numberBuf : [:: core :: ffi :: c_char ; 32usize] , pub nFieldMax : :: core :: ffi :: c_int , pub codecBufSize : I64 , pub codecBuf : * mut :: core :: ffi :: c_char , pub nBits : I64 , pub intListBytes : I64 , pub linePos : I64 , pub headerText : * mut OneHeaderText , pub openObjects : [* mut OneInfo ; 128usize] , pub objectFrame : :: core :: ffi :: c_int , pub binaryTypeUnpack : [:: core :: ffi :: c_char ; 256usize] , pub share : :: core :: ffi :: c_int , pub isFinal : bool , pub fieldLock : pthread_mutex_t , pub listLock : pthread_mutex_t , pub tempReadFiles : * mut * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of OneFile"] [:: core :: mem :: size_of :: < OneFile > () - 4280usize] ; ["Alignment of OneFile"] [:: core :: mem :: align_of :: < OneFile > () - 8usize] ; ["Offset of field: OneFile::isCheckString"] [:: core :: mem :: offset_of ! (OneFile , isCheckString) - 0usize] ; ["Offset of field: OneFile::fileName"] [:: core :: mem :: offset_of ! (OneFile , fileName) - 8usize] ; ["Offset of field: OneFile::fileType"] [:: core :: mem :: offset_of ! (OneFile , fileType) - 16usize] ; ["Offset of field: OneFile::subType"] [:: core :: mem :: offset_of ! (OneFile , subType) - 24usize] ; ["Offset of field: OneFile::lineType"] [:: core :: mem :: offset_of ! (OneFile , lineType) - 32usize] ; ["Offset of field: OneFile::line"] [:: core :: mem :: offset_of ! (OneFile , line) - 40usize] ; ["Offset of field: OneFile::byte"] [:: core :: mem :: offset_of ! (OneFile , byte) - 48usize] ; ["Offset of field: OneFile::provenance"] [:: core :: mem :: offset_of ! (OneFile , provenance) - 56usize] ; ["Offset of field: OneFile::reference"] [:: core :: mem :: offset_of ! (OneFile , reference) - 64usize] ; ["Offset of field: OneFile::deferred"] [:: core :: mem :: offset_of ! (OneFile , deferred) - 72usize] ; ["Offset of field: OneFile::field"] [:: core :: mem :: offset_of ! (OneFile , field) - 80usize] ; ["Offset of field: OneFile::info"] [:: core :: mem :: offset_of ! (OneFile , info) - 88usize] ; ["Offset of field: OneFile::nDefn"] [:: core :: mem :: offset_of ! (OneFile , nDefn) - 1112usize] ; ["Offset of field: OneFile::defnOrder"] [:: core :: mem :: offset_of ! (OneFile , defnOrder) - 1116usize] ; ["Offset of field: OneFile::defnComment"] [:: core :: mem :: offset_of ! (OneFile , defnComment) - 1632usize] ; ["Offset of field: OneFile::codecTrainingSize"] [:: core :: mem :: offset_of ! (OneFile , codecTrainingSize) - 2656usize] ; ["Offset of field: OneFile::f"] [:: core :: mem :: offset_of ! (OneFile , f) - 2664usize] ; ["Offset of field: OneFile::isWrite"] [:: core :: mem :: offset_of ! (OneFile , isWrite) - 2672usize] ; ["Offset of field: OneFile::isHeaderOut"] [:: core :: mem :: offset_of ! (OneFile , isHeaderOut) - 2673usize] ; ["Offset of field: OneFile::isBinary"] [:: core :: mem :: offset_of ! (OneFile , isBinary) - 2674usize] ; ["Offset of field: OneFile::inGroup"] [:: core :: mem :: offset_of ! (OneFile , inGroup) - 2675usize] ; ["Offset of field: OneFile::isLastLineBinary"] [:: core :: mem :: offset_of ! (OneFile , isLastLineBinary) - 2676usize] ; ["Offset of field: OneFile::isBig"] [:: core :: mem :: offset_of ! (OneFile , isBig) - 2677usize] ; ["Offset of field: OneFile::isNoAsciiHeader"] [:: core :: mem :: offset_of ! (OneFile , isNoAsciiHeader) - 2678usize] ; ["Offset of field: OneFile::lineBuf"] [:: core :: mem :: offset_of ! (OneFile , lineBuf) - 2679usize] ; ["Offset of field: OneFile::numberBuf"] [:: core :: mem :: offset_of ! (OneFile , numberBuf) - 2807usize] ; ["Offset of field: OneFile::nFieldMax"] [:: core :: mem :: offset_of ! (OneFile , nFieldMax) - 2840usize] ; ["Offset of field: OneFile::codecBufSize"] [:: core :: mem :: offset_of ! (OneFile , codecBufSize) - 2848usize] ; ["Offset of field: OneFile::codecBuf"] [:: core :: mem :: offset_of ! (OneFile , codecBuf) - 2856usize] ; ["Offset of field: OneFile::nBits"] [:: core :: mem :: offset_of ! (OneFile , nBits) - 2864usize] ; ["Offset of field: OneFile::intListBytes"] [:: core :: mem :: offset_of ! (OneFile , intListBytes) - 2872usize] ; ["Offset of field: OneFile::linePos"] [:: core :: mem :: offset_of ! (OneFile , linePos) - 2880usize] ; ["Offset of field: OneFile::headerText"] [:: core :: mem :: offset_of ! (OneFile , headerText) - 2888usize] ; ["Offset of field: OneFile::openObjects"] [:: core :: mem :: offset_of ! (OneFile , openObjects) - 2896usize] ; ["Offset of field: OneFile::objectFrame"] [:: core :: mem :: offset_of ! (OneFile , objectFrame) - 3920usize] ; ["Offset of field: OneFile::binaryTypeUnpack"] [:: core :: mem :: offset_of ! (OneFile , binaryTypeUnpack) - 3924usize] ; ["Offset of field: OneFile::share"] [:: core :: mem :: offset_of ! (OneFile , share) - 4180usize] ; ["Offset of field: OneFile::isFinal"] [:: core :: mem :: offset_of ! (OneFile , isFinal) - 4184usize] ; ["Offset of field: OneFile::fieldLock"] [:: core :: mem :: offset_of ! (OneFile , fieldLock) - 4192usize] ; ["Offset of field: OneFile::listLock"] [:: core :: mem :: offset_of ! (OneFile , listLock) - 4232usize] ; ["Offset of field: OneFile::tempReadFiles"] [:: core :: mem :: offset_of ! (OneFile , tempReadFiles) - 4272usize] ; } ; extern "C" { # [doc = "    ROUTINES FOR READING & WRITING ONE FILES IN BOTH ASCII & BINARY (TRANSPARENTLY)\n"] pub fn oneErrorString () -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneSchemaCreateFromFile (path : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaCreateFromText (text : * const :: core :: ffi :: c_char) -> * mut OneSchema ; } extern "C" { pub fn oneSchemaDestroy (schema : * mut OneSchema) ; } extern "C" { pub fn oneFileWriteSchema (of : * mut OneFile , filename : * mut :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneFileOpenRead (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileCheckSchema (of : * mut OneFile , schema : * mut OneSchema , isRequired : bool) -> bool ; } extern "C" { pub fn oneFileCheckSchemaText (of : * mut OneFile , textSchema : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneReadLine (of : * mut OneFile) -> :: core :: ffi :: c_char ; } extern "C" { pub fn _oneList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn _oneCompressedList (of : * mut OneFile) -> * mut :: core :: ffi :: c_void ; } extern "C" { pub fn oneReadComment (of : * mut OneFile) -> * mut :: core :: ffi :: c_char ; } extern "C" { pub fn oneFileOpenWriteNew (path : * const :: core :: ffi :: c_char , schema : * mut OneSchema , type_ : * const :: core :: ffi :: c_char , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileOpenWriteFrom (path : * const :: core :: ffi :: c_char , ofIn : * mut OneFile , isBinary : bool , nthreads : :: core :: ffi :: c_int) -> * mut OneFile ; } extern "C" { pub fn oneFileReopenRead (of : * mut OneFile) -> * mut OneFile ; } extern "C" { pub fn oneInheritProvenance (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritReference (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneInheritDeferred (of : * mut OneFile , source : * mut OneFile) -> bool ; } extern "C" { pub fn oneAddProvenance (of : * mut OneFile , prog : * const :: core :: ffi :: c_char , version : * const :: core :: ffi :: c_char , format : * const :: core :: ffi :: c_char , ...) -> bool ; } extern "C" { pub fn oneAddReference (of : * mut OneFile , filename : * const :: core :: ffi :: c_char , count : I64) -> bool ; } extern "C" { pub fn oneAddDeferred (of : * mut OneFile , filename : * const :: core :: ffi :: c_char) -> bool ; } extern "C" { pub fn oneWriteLine (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , listBuf : * mut :: core :: ffi :: c_void) ; } extern "C" { pub fn oneWriteLineDNA2bit (of : * mut OneFile , lineType : :: core :: ffi :: c_char , listLen : I64 , dnaBuf : * mut U8) ; } extern "C" { pub fn oneWriteComment (of : * mut OneFile , format : * const :: core :: ffi :: c_char , ...) ; } extern "C" { pub fn oneFileClose (of : * mut OneFile) ; } extern "C" { pub fn oneStats (of : * mut OneFile , lineType : :: core :: ffi :: c_char , count : * mut I64 , max : * mut I64 , total : * mut I64) -> bool ; } extern "C" { pub fn oneStatsContains (of : * mut OneFile , objectType : :: core :: ffi :: c_char , lineType : :: core :: ffi :: c_char , maxCount : * mut I64 , maxTotal : * mut I64) -> bool ; } extern "C" { pub fn oneGoto (of : * mut OneFile , lineType : :: core :: ffi :: c_char , i : I64) -> bool ; } extern "C" { pub fn oneCountUntilNext (of : * mut OneFile , countType : :: core :: ffi :: c_char , nextType : :: core :: ffi :: c_char) -> I64 ; } extern "C" { pub fn oneUserBuffer (of : * mut OneFile , lineType : :: core :: ffi :: c_char , buffer : * mut :: core :: ffi :: c_void) ; }
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: `onecode` (lib) generated 3 warnings (run `cargo fix --lib -p onecode` to apply 3 suggestions)
[INFO] [stderr] warning: `onecode` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/onecode-ab00d646aa1ba58b)
[INFO] [stderr]      Running tests/api_coverage_test.rs (/opt/rustwide/target/release/deps/api_coverage_test-ce1bc3028c8d43b4)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test test_all_field_accessors ... ok
[INFO] [stdout] test test_string_accessors ... ok
[INFO] [stdout] test test_real_list ... ok
[INFO] [stdout] test test_list_accessors ... ok
[INFO] [stdout] test test_object_and_reference_count ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/basic_tests.rs (/opt/rustwide/target/release/deps/basic_tests-f8eeebca4e8e9fe3)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test test_open_nonexistent_file ... ok
[INFO] [stdout] test test_open_read_simple_seq ... ok
[INFO] [stdout] test test_stats ... ok
[INFO] [stdout] test test_file_properties ... ok
[INFO] [stdout] test test_schema_from_text ... ok
[INFO] [stdout] test test_sequential_read ... ok
[INFO] [stdout] test test_open_read_foo ... ok
[INFO] [stdout] test test_read_with_type_check ... ok
[INFO] [stdout] test test_write_and_read_roundtrip ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_write_and_read_roundtrip stdout ----
[INFO] [stdout] Error: OpenFailed("tests/test_output.1tst")
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_write_and_read_roundtrip
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test basic_tests`
[INFO] running `Command { std: "docker" "inspect" "478acd383bfbaa1c96b2c39551a7aa7fd10585e7ea6086209b5d82ed47afe9eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "478acd383bfbaa1c96b2c39551a7aa7fd10585e7ea6086209b5d82ed47afe9eb", kill_on_drop: false }`
[INFO] [stdout] 478acd383bfbaa1c96b2c39551a7aa7fd10585e7ea6086209b5d82ed47afe9eb
