minimap2_sys/
bindings.rs

1/* automatically generated by rust-bindgen 0.71.1 */
2
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] fn extract_bit (byte : u8 , index : usize) -> bool { 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 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] ; Self :: extract_bit (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , index) } # [inline] fn change_bit (byte : u8 , index : usize , val : bool) -> u8 { 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 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] ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub unsafe fn raw_set_bit (this : * mut Self , index : usize , val : bool) { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [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 unsafe fn raw_get (this : * const Self , bit_offset : usize , bit_width : u8 ,) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if Self :: raw_get_bit (this , 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) ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; 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 :: raw_set_bit (this , index + bit_offset , val_bit_is_set) ; } } } # [repr (C)] # [derive (Default)] pub struct __IncompleteArrayField < T > (:: std :: marker :: PhantomData < T > , [T ; 0]) ; impl < T > __IncompleteArrayField < T > { # [inline] pub const fn new () -> Self { __IncompleteArrayField (:: std :: marker :: PhantomData , []) } # [inline] pub fn as_ptr (& self) -> * const T { self as * const _ as * const T } # [inline] pub fn as_mut_ptr (& mut self) -> * mut T { self as * mut _ as * mut T } # [inline] pub unsafe fn as_slice (& self , len : usize) -> & [T] { :: std :: slice :: from_raw_parts (self . as_ptr () , len) } # [inline] pub unsafe fn as_mut_slice (& mut self , len : usize) -> & mut [T] { :: std :: slice :: from_raw_parts_mut (self . as_mut_ptr () , len) } } impl < T > :: std :: fmt :: Debug for __IncompleteArrayField < T > { fn fmt (& self , fmt : & mut :: std :: fmt :: Formatter < '_ >) -> :: std :: fmt :: Result { fmt . write_str ("__IncompleteArrayField") } } pub const MAX_MEM_LEVEL : u32 = 9 ; pub const MAX_WBITS : u32 = 15 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const __GLIBC_USE_C2X_STRTOL : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 39 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const _SYS_TYPES_H : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const __clock_t_defined : u32 = 1 ; pub const __clockid_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __timer_t_defined : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const __BIT_TYPES_DEFINED__ : u32 = 1 ; pub const _ENDIAN_H : u32 = 1 ; pub const _BITS_ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const _BITS_ENDIANNESS_H : u32 = 1 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const _STRUCT_TIMESPEC : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _BITS_PTHREADTYPES_COMMON_H : u32 = 1 ; pub const _THREAD_SHARED_TYPES_H : u32 = 1 ; pub const _BITS_PTHREADTYPES_ARCH_H : u32 = 1 ; pub const __SIZEOF_PTHREAD_MUTEX_T : u32 = 40 ; pub const __SIZEOF_PTHREAD_ATTR_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_RWLOCK_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_BARRIER_T : u32 = 32 ; pub const __SIZEOF_PTHREAD_MUTEXATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_COND_T : u32 = 48 ; pub const __SIZEOF_PTHREAD_CONDATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_RWLOCKATTR_T : u32 = 8 ; pub const __SIZEOF_PTHREAD_BARRIERATTR_T : u32 = 4 ; pub const _THREAD_MUTEX_INTERNAL_H : u32 = 1 ; pub const __PTHREAD_MUTEX_HAVE_PREV : u32 = 1 ; pub const __have_pthread_attr_t : u32 = 1 ; pub const _UNISTD_H : u32 = 1 ; pub const _POSIX_VERSION : u32 = 200809 ; pub const __POSIX2_THIS_VERSION : u32 = 200809 ; pub const _POSIX2_VERSION : u32 = 200809 ; pub const _POSIX2_C_VERSION : u32 = 200809 ; pub const _POSIX2_C_BIND : u32 = 200809 ; pub const _POSIX2_C_DEV : u32 = 200809 ; pub const _POSIX2_SW_DEV : u32 = 200809 ; pub const _POSIX2_LOCALEDEF : u32 = 200809 ; pub const _XOPEN_VERSION : u32 = 700 ; pub const _XOPEN_XCU_VERSION : u32 = 4 ; pub const _XOPEN_XPG2 : u32 = 1 ; pub const _XOPEN_XPG3 : u32 = 1 ; pub const _XOPEN_XPG4 : u32 = 1 ; pub const _XOPEN_UNIX : u32 = 1 ; pub const _XOPEN_ENH_I18N : u32 = 1 ; pub const _XOPEN_LEGACY : u32 = 1 ; pub const _BITS_POSIX_OPT_H : u32 = 1 ; pub const _POSIX_JOB_CONTROL : u32 = 1 ; pub const _POSIX_SAVED_IDS : u32 = 1 ; pub const _POSIX_PRIORITY_SCHEDULING : u32 = 200809 ; pub const _POSIX_SYNCHRONIZED_IO : u32 = 200809 ; pub const _POSIX_FSYNC : u32 = 200809 ; pub const _POSIX_MAPPED_FILES : u32 = 200809 ; pub const _POSIX_MEMLOCK : u32 = 200809 ; pub const _POSIX_MEMLOCK_RANGE : u32 = 200809 ; pub const _POSIX_MEMORY_PROTECTION : u32 = 200809 ; pub const _POSIX_CHOWN_RESTRICTED : u32 = 0 ; pub const _POSIX_VDISABLE : u8 = 0u8 ; pub const _POSIX_NO_TRUNC : u32 = 1 ; pub const _XOPEN_REALTIME : u32 = 1 ; pub const _XOPEN_REALTIME_THREADS : u32 = 1 ; pub const _XOPEN_SHM : u32 = 1 ; pub const _POSIX_THREADS : u32 = 200809 ; pub const _POSIX_REENTRANT_FUNCTIONS : u32 = 1 ; pub const _POSIX_THREAD_SAFE_FUNCTIONS : u32 = 200809 ; pub const _POSIX_THREAD_PRIORITY_SCHEDULING : u32 = 200809 ; pub const _POSIX_THREAD_ATTR_STACKSIZE : u32 = 200809 ; pub const _POSIX_THREAD_ATTR_STACKADDR : u32 = 200809 ; pub const _POSIX_THREAD_PRIO_INHERIT : u32 = 200809 ; pub const _POSIX_THREAD_PRIO_PROTECT : u32 = 200809 ; pub const _POSIX_THREAD_ROBUST_PRIO_INHERIT : u32 = 200809 ; pub const _POSIX_THREAD_ROBUST_PRIO_PROTECT : i32 = - 1 ; pub const _POSIX_SEMAPHORES : u32 = 200809 ; pub const _POSIX_REALTIME_SIGNALS : u32 = 200809 ; pub const _POSIX_ASYNCHRONOUS_IO : u32 = 200809 ; pub const _POSIX_ASYNC_IO : u32 = 1 ; pub const _LFS_ASYNCHRONOUS_IO : u32 = 1 ; pub const _POSIX_PRIORITIZED_IO : u32 = 200809 ; pub const _LFS64_ASYNCHRONOUS_IO : u32 = 1 ; pub const _LFS_LARGEFILE : u32 = 1 ; pub const _LFS64_LARGEFILE : u32 = 1 ; pub const _LFS64_STDIO : u32 = 1 ; pub const _POSIX_SHARED_MEMORY_OBJECTS : u32 = 200809 ; pub const _POSIX_CPUTIME : u32 = 0 ; pub const _POSIX_THREAD_CPUTIME : u32 = 0 ; pub const _POSIX_REGEXP : u32 = 1 ; pub const _POSIX_READER_WRITER_LOCKS : u32 = 200809 ; pub const _POSIX_SHELL : u32 = 1 ; pub const _POSIX_TIMEOUTS : u32 = 200809 ; pub const _POSIX_SPIN_LOCKS : u32 = 200809 ; pub const _POSIX_SPAWN : u32 = 200809 ; pub const _POSIX_TIMERS : u32 = 200809 ; pub const _POSIX_BARRIERS : u32 = 200809 ; pub const _POSIX_MESSAGE_PASSING : u32 = 200809 ; pub const _POSIX_THREAD_PROCESS_SHARED : u32 = 200809 ; pub const _POSIX_MONOTONIC_CLOCK : u32 = 0 ; pub const _POSIX_CLOCK_SELECTION : u32 = 200809 ; pub const _POSIX_ADVISORY_INFO : u32 = 200809 ; pub const _POSIX_IPV6 : u32 = 200809 ; pub const _POSIX_RAW_SOCKETS : u32 = 200809 ; pub const _POSIX2_CHAR_TERM : u32 = 200809 ; pub const _POSIX_SPORADIC_SERVER : i32 = - 1 ; pub const _POSIX_THREAD_SPORADIC_SERVER : i32 = - 1 ; pub const _POSIX_TRACE : i32 = - 1 ; pub const _POSIX_TRACE_EVENT_FILTER : i32 = - 1 ; pub const _POSIX_TRACE_INHERIT : i32 = - 1 ; pub const _POSIX_TRACE_LOG : i32 = - 1 ; pub const _POSIX_TYPED_MEMORY_OBJECTS : i32 = - 1 ; pub const _POSIX_V7_LPBIG_OFFBIG : i32 = - 1 ; pub const _POSIX_V6_LPBIG_OFFBIG : i32 = - 1 ; pub const _XBS5_LPBIG_OFFBIG : i32 = - 1 ; pub const _POSIX_V7_LP64_OFF64 : u32 = 1 ; pub const _POSIX_V6_LP64_OFF64 : u32 = 1 ; pub const _XBS5_LP64_OFF64 : u32 = 1 ; pub const __ILP32_OFF32_CFLAGS : & :: std :: ffi :: CStr = c"-m32" ; pub const __ILP32_OFF32_LDFLAGS : & :: std :: ffi :: CStr = c"-m32" ; pub const __ILP32_OFFBIG_CFLAGS : & :: std :: ffi :: CStr = c"-m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" ; pub const __ILP32_OFFBIG_LDFLAGS : & :: std :: ffi :: CStr = c"-m32" ; pub const __LP64_OFF64_CFLAGS : & :: std :: ffi :: CStr = c"-m64" ; pub const __LP64_OFF64_LDFLAGS : & :: std :: ffi :: CStr = c"-m64" ; pub const STDIN_FILENO : u32 = 0 ; pub const STDOUT_FILENO : u32 = 1 ; pub const STDERR_FILENO : u32 = 2 ; pub const R_OK : u32 = 4 ; pub const W_OK : u32 = 2 ; pub const X_OK : u32 = 1 ; pub const F_OK : u32 = 0 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const L_SET : u32 = 0 ; pub const L_INCR : u32 = 1 ; pub const L_XTND : u32 = 2 ; pub const _GETOPT_POSIX_H : u32 = 1 ; pub const _GETOPT_CORE_H : u32 = 1 ; pub const F_ULOCK : u32 = 0 ; pub const F_LOCK : u32 = 1 ; pub const F_TLOCK : u32 = 2 ; pub const F_TEST : u32 = 3 ; pub const ZLIB_VERSION : & :: std :: ffi :: CStr = c"1.3" ; pub const ZLIB_VERNUM : u32 = 4864 ; pub const ZLIB_VER_MAJOR : u32 = 1 ; pub const ZLIB_VER_MINOR : u32 = 3 ; pub const ZLIB_VER_REVISION : u32 = 0 ; pub const ZLIB_VER_SUBREVISION : u32 = 0 ; pub const Z_NO_FLUSH : u32 = 0 ; pub const Z_PARTIAL_FLUSH : u32 = 1 ; pub const Z_SYNC_FLUSH : u32 = 2 ; pub const Z_FULL_FLUSH : u32 = 3 ; pub const Z_FINISH : u32 = 4 ; pub const Z_BLOCK : u32 = 5 ; pub const Z_TREES : u32 = 6 ; pub const Z_OK : u32 = 0 ; pub const Z_STREAM_END : u32 = 1 ; pub const Z_NEED_DICT : u32 = 2 ; pub const Z_ERRNO : i32 = - 1 ; pub const Z_STREAM_ERROR : i32 = - 2 ; pub const Z_DATA_ERROR : i32 = - 3 ; pub const Z_MEM_ERROR : i32 = - 4 ; pub const Z_BUF_ERROR : i32 = - 5 ; pub const Z_VERSION_ERROR : i32 = - 6 ; pub const Z_NO_COMPRESSION : u32 = 0 ; pub const Z_BEST_SPEED : u32 = 1 ; pub const Z_BEST_COMPRESSION : u32 = 9 ; pub const Z_DEFAULT_COMPRESSION : i32 = - 1 ; pub const Z_FILTERED : u32 = 1 ; pub const Z_HUFFMAN_ONLY : u32 = 2 ; pub const Z_RLE : u32 = 3 ; pub const Z_FIXED : u32 = 4 ; pub const Z_DEFAULT_STRATEGY : u32 = 0 ; pub const Z_BINARY : u32 = 0 ; pub const Z_TEXT : u32 = 1 ; pub const Z_ASCII : u32 = 1 ; pub const Z_UNKNOWN : u32 = 2 ; pub const Z_DEFLATED : u32 = 8 ; pub const Z_NULL : u32 = 0 ; pub const _STDINT_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const _BITS_STDINT_LEAST_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub const _STDIO_H : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const __cookie_io_functions_t_defined : u32 = 1 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const P_tmpdir : & :: std :: ffi :: CStr = c"/tmp" ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const __HAVE_FLOAT128 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 0 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const MM_VERSION : & :: std :: ffi :: CStr = c"2.29-r1283" ; pub const MM_F_NO_DIAG : u32 = 1 ; pub const MM_F_NO_DUAL : u32 = 2 ; pub const MM_F_CIGAR : u32 = 4 ; pub const MM_F_OUT_SAM : u32 = 8 ; pub const MM_F_NO_QUAL : u32 = 16 ; pub const MM_F_OUT_CG : u32 = 32 ; pub const MM_F_OUT_CS : u32 = 64 ; pub const MM_F_SPLICE : u32 = 128 ; pub const MM_F_SPLICE_FOR : u32 = 256 ; pub const MM_F_SPLICE_REV : u32 = 512 ; pub const MM_F_NO_LJOIN : u32 = 1024 ; pub const MM_F_OUT_CS_LONG : u32 = 2048 ; pub const MM_F_SR : u32 = 4096 ; pub const MM_F_FRAG_MODE : u32 = 8192 ; pub const MM_F_NO_PRINT_2ND : u32 = 16384 ; pub const MM_F_2_IO_THREADS : u32 = 32768 ; pub const MM_F_LONG_CIGAR : u32 = 65536 ; pub const MM_F_INDEPEND_SEG : u32 = 131072 ; pub const MM_F_SPLICE_FLANK : u32 = 262144 ; pub const MM_F_SOFTCLIP : u32 = 524288 ; pub const MM_F_FOR_ONLY : u32 = 1048576 ; pub const MM_F_REV_ONLY : u32 = 2097152 ; pub const MM_F_HEAP_SORT : u32 = 4194304 ; pub const MM_F_ALL_CHAINS : u32 = 8388608 ; pub const MM_F_OUT_MD : u32 = 16777216 ; pub const MM_F_COPY_COMMENT : u32 = 33554432 ; pub const MM_F_EQX : u32 = 67108864 ; pub const MM_F_PAF_NO_HIT : u32 = 134217728 ; pub const MM_F_NO_END_FLT : u32 = 268435456 ; pub const MM_F_HARD_MLEVEL : u32 = 536870912 ; pub const MM_F_SAM_HIT_ONLY : u32 = 1073741824 ; pub const MM_F_RMQ : u32 = 2147483648 ; pub const MM_F_QSTRAND : u64 = 4294967296 ; pub const MM_F_NO_INV : u64 = 8589934592 ; pub const MM_F_NO_HASH_NAME : u64 = 17179869184 ; pub const MM_F_SPLICE_OLD : u64 = 34359738368 ; pub const MM_F_SECONDARY_SEQ : u64 = 68719476736 ; pub const MM_F_OUT_DS : u64 = 137438953472 ; pub const MM_F_WEAK_PAIRING : u64 = 274877906944 ; pub const MM_F_SR_RNA : u64 = 549755813888 ; pub const MM_F_OUT_JUNC : u64 = 1099511627776 ; pub const MM_I_HPC : u32 = 1 ; pub const MM_I_NO_SEQ : u32 = 2 ; pub const MM_I_NO_NAME : u32 = 4 ; pub const MM_IDX_MAGIC : & :: std :: ffi :: CStr = c"MMI\u{2}" ; pub const MM_MAX_SEG : u32 = 255 ; pub const MM_CIGAR_MATCH : u32 = 0 ; pub const MM_CIGAR_INS : u32 = 1 ; pub const MM_CIGAR_DEL : u32 = 2 ; pub const MM_CIGAR_N_SKIP : u32 = 3 ; pub const MM_CIGAR_SOFTCLIP : u32 = 4 ; pub const MM_CIGAR_HARDCLIP : u32 = 5 ; pub const MM_CIGAR_PADDING : u32 = 6 ; pub const MM_CIGAR_EQ_MATCH : u32 = 7 ; pub const MM_CIGAR_X_MISMATCH : u32 = 8 ; pub const MM_CIGAR_STR : & :: std :: ffi :: CStr = c"MIDNSHP=XB" ; pub const _STRING_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _STRINGS_H : u32 = 1 ; pub const _STDLIB_H : u32 = 1 ; pub const WNOHANG : u32 = 1 ; pub const WUNTRACED : u32 = 2 ; pub const WSTOPPED : u32 = 2 ; pub const WEXITED : u32 = 4 ; pub const WCONTINUED : u32 = 8 ; pub const WNOWAIT : u32 = 16777216 ; pub const __WNOTHREAD : u32 = 536870912 ; pub const __WALL : u32 = 1073741824 ; pub const __WCLONE : u32 = 2147483648 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; pub const __ldiv_t_defined : u32 = 1 ; pub const __lldiv_t_defined : u32 = 1 ; pub const RAND_MAX : u32 = 2147483647 ; pub const EXIT_FAILURE : u32 = 1 ; pub const EXIT_SUCCESS : u32 = 0 ; pub const _ALLOCA_H : u32 = 1 ; pub const AC_VERSION_KHASH_H : & :: std :: ffi :: CStr = c"0.2.8" ; pub const _CTYPE_H : u32 = 1 ; pub const KS_SEP_SPACE : u32 = 0 ; pub const KS_SEP_TAB : u32 = 1 ; pub const KS_SEP_LINE : u32 = 2 ; pub const KS_SEP_MAX : u32 = 2 ; pub const KSW_NEG_INF : i32 = - 1073741824 ; pub const KSW_EZ_SCORE_ONLY : u32 = 1 ; pub const KSW_EZ_RIGHT : u32 = 2 ; pub const KSW_EZ_GENERIC_SC : u32 = 4 ; pub const KSW_EZ_APPROX_MAX : u32 = 8 ; pub const KSW_EZ_APPROX_DROP : u32 = 16 ; pub const KSW_EZ_EXTZ_ONLY : u32 = 64 ; pub const KSW_EZ_REV_CIGAR : u32 = 128 ; pub const KSW_EZ_SPLICE_FOR : u32 = 256 ; pub const KSW_EZ_SPLICE_REV : u32 = 512 ; pub const KSW_EZ_SPLICE_FLANK : u32 = 1024 ; pub const KSW_EZ_SPLICE_CMPLX : u32 = 2048 ; pub const KSW_EZ_SPLICE_SCORE : u32 = 4096 ; pub const KSW_CIGAR_MATCH : u32 = 0 ; pub const KSW_CIGAR_INS : u32 = 1 ; pub const KSW_CIGAR_DEL : u32 = 2 ; pub const KSW_CIGAR_N_SKIP : u32 = 3 ; pub const KSW_SPSC_OFFSET : u32 = 64 ; pub const _ASSERT_H : u32 = 1 ; pub const MM_PARENT_UNSET : i32 = - 1 ; pub const MM_PARENT_TMP_PRI : i32 = - 2 ; pub const MM_DBG_NO_KALLOC : u32 = 1 ; pub const MM_DBG_PRINT_QNAME : u32 = 2 ; pub const MM_DBG_PRINT_SEED : u32 = 4 ; pub const MM_DBG_PRINT_ALN_SEQ : u32 = 8 ; pub const MM_DBG_PRINT_CHAIN : u32 = 16 ; pub const MM_DBG_SEED_FREQ : u32 = 32 ; pub const MM_SEED_LONG_JOIN : u64 = 1099511627776 ; pub const MM_SEED_IGNORE : u64 = 2199023255552 ; pub const MM_SEED_TANDEM : u64 = 4398046511104 ; pub const MM_SEED_SELF : u64 = 8796093022208 ; pub const MM_SEED_SEG_SHIFT : u32 = 48 ; pub const MM_SEED_SEG_MASK : u64 = 71776119061217280 ; pub const MM_JUNC_ANNO : u32 = 1 ; pub const MM_JUNC_MISC : u32 = 2 ; pub const ko_no_argument : u32 = 0 ; pub const ko_required_argument : u32 = 1 ; pub const ko_optional_argument : u32 = 2 ; pub const KRMQ_MAX_DEPTH : u32 = 64 ; pub const RS_MIN_SIZE : u32 = 64 ; pub const RS_MAX_BITS : u32 = 8 ; pub type wchar_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of max_align_t"] [:: std :: mem :: size_of :: < max_align_t > () - 32usize] ; ["Alignment of max_align_t"] [:: std :: mem :: align_of :: < max_align_t > () - 16usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce1"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce1) - 0usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce2"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce2) - 16usize] ; } ; pub type z_size_t = usize ; pub type Byte = :: std :: os :: raw :: c_uchar ; pub type uInt = :: std :: os :: raw :: c_uint ; pub type uLong = :: std :: os :: raw :: c_ulong ; pub type Bytef = Byte ; pub type charf = :: std :: os :: raw :: c_char ; pub type intf = :: std :: os :: raw :: c_int ; pub type uIntf = uInt ; pub type uLongf = uLong ; pub type voidpc = * const :: std :: os :: raw :: c_void ; pub type voidpf = * mut :: std :: os :: raw :: c_void ; pub type voidp = * mut :: std :: os :: raw :: c_void ; pub type z_crc_t = :: std :: os :: raw :: c_uint ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __fsid_t"] [:: std :: mem :: size_of :: < __fsid_t > () - 8usize] ; ["Alignment of __fsid_t"] [:: std :: mem :: align_of :: < __fsid_t > () - 4usize] ; ["Offset of field: __fsid_t::__val"] [:: std :: mem :: offset_of ! (__fsid_t , __val) - 0usize] ; } ; pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type u_char = __u_char ; pub type u_short = __u_short ; pub type u_int = __u_int ; pub type u_long = __u_long ; pub type quad_t = __quad_t ; pub type u_quad_t = __u_quad_t ; pub type fsid_t = __fsid_t ; pub type loff_t = __loff_t ; pub type ino_t = __ino_t ; pub type dev_t = __dev_t ; pub type gid_t = __gid_t ; pub type mode_t = __mode_t ; pub type nlink_t = __nlink_t ; pub type uid_t = __uid_t ; pub type off_t = __off_t ; pub type pid_t = __pid_t ; pub type id_t = __id_t ; pub type daddr_t = __daddr_t ; pub type caddr_t = __caddr_t ; pub type key_t = __key_t ; pub type clock_t = __clock_t ; pub type clockid_t = __clockid_t ; pub type time_t = __time_t ; pub type timer_t = __timer_t ; pub type ulong = :: std :: os :: raw :: c_ulong ; pub type ushort = :: std :: os :: raw :: c_ushort ; pub type uint = :: std :: os :: raw :: c_uint ; pub type u_int8_t = __uint8_t ; pub type u_int16_t = __uint16_t ; pub type u_int32_t = __uint32_t ; pub type u_int64_t = __uint64_t ; pub type register_t = :: std :: os :: raw :: c_long ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __sigset_t { pub __val : [:: std :: os :: raw :: c_ulong ; 16usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __sigset_t"] [:: std :: mem :: size_of :: < __sigset_t > () - 128usize] ; ["Alignment of __sigset_t"] [:: std :: mem :: align_of :: < __sigset_t > () - 8usize] ; ["Offset of field: __sigset_t::__val"] [:: std :: mem :: offset_of ! (__sigset_t , __val) - 0usize] ; } ; pub type sigset_t = __sigset_t ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct timeval { pub tv_sec : __time_t , pub tv_usec : __suseconds_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of timeval"] [:: std :: mem :: size_of :: < timeval > () - 16usize] ; ["Alignment of timeval"] [:: std :: mem :: align_of :: < timeval > () - 8usize] ; ["Offset of field: timeval::tv_sec"] [:: std :: mem :: offset_of ! (timeval , tv_sec) - 0usize] ; ["Offset of field: timeval::tv_usec"] [:: std :: mem :: offset_of ! (timeval , tv_usec) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct timespec { pub tv_sec : __time_t , pub tv_nsec : __syscall_slong_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of timespec"] [:: std :: mem :: size_of :: < timespec > () - 16usize] ; ["Alignment of timespec"] [:: std :: mem :: align_of :: < timespec > () - 8usize] ; ["Offset of field: timespec::tv_sec"] [:: std :: mem :: offset_of ! (timespec , tv_sec) - 0usize] ; ["Offset of field: timespec::tv_nsec"] [:: std :: mem :: offset_of ! (timespec , tv_nsec) - 8usize] ; } ; pub type suseconds_t = __suseconds_t ; pub type __fd_mask = :: std :: os :: raw :: c_long ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct fd_set { pub __fds_bits : [__fd_mask ; 16usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of fd_set"] [:: std :: mem :: size_of :: < fd_set > () - 128usize] ; ["Alignment of fd_set"] [:: std :: mem :: align_of :: < fd_set > () - 8usize] ; ["Offset of field: fd_set::__fds_bits"] [:: std :: mem :: offset_of ! (fd_set , __fds_bits) - 0usize] ; } ; pub type fd_mask = __fd_mask ; unsafe extern "C" { pub fn select (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * mut timeval) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn pselect (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * const timespec , __sigmask : * const __sigset_t) -> :: std :: os :: raw :: c_int ; } pub type blksize_t = __blksize_t ; pub type blkcnt_t = __blkcnt_t ; pub type fsblkcnt_t = __fsblkcnt_t ; pub type fsfilcnt_t = __fsfilcnt_t ; # [repr (C)] # [derive (Copy , Clone)] pub union __atomic_wide_counter { pub __value64 : :: std :: os :: raw :: c_ulonglong , pub __value32 : __atomic_wide_counter__bindgen_ty_1 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __atomic_wide_counter__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __atomic_wide_counter__bindgen_ty_1"] [:: std :: mem :: size_of :: < __atomic_wide_counter__bindgen_ty_1 > () - 8usize] ; ["Alignment of __atomic_wide_counter__bindgen_ty_1"] [:: std :: mem :: align_of :: < __atomic_wide_counter__bindgen_ty_1 > () - 4usize] ; ["Offset of field: __atomic_wide_counter__bindgen_ty_1::__low"] [:: std :: mem :: offset_of ! (__atomic_wide_counter__bindgen_ty_1 , __low) - 0usize] ; ["Offset of field: __atomic_wide_counter__bindgen_ty_1::__high"] [:: std :: mem :: offset_of ! (__atomic_wide_counter__bindgen_ty_1 , __high) - 4usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __atomic_wide_counter"] [:: std :: mem :: size_of :: < __atomic_wide_counter > () - 8usize] ; ["Alignment of __atomic_wide_counter"] [:: std :: mem :: align_of :: < __atomic_wide_counter > () - 8usize] ; ["Offset of field: __atomic_wide_counter::__value64"] [:: std :: mem :: offset_of ! (__atomic_wide_counter , __value64) - 0usize] ; ["Offset of field: __atomic_wide_counter::__value32"] [:: std :: mem :: offset_of ! (__atomic_wide_counter , __value32) - 0usize] ; } ; # [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"] [:: std :: mem :: size_of :: < __pthread_internal_list > () - 16usize] ; ["Alignment of __pthread_internal_list"] [:: std :: mem :: align_of :: < __pthread_internal_list > () - 8usize] ; ["Offset of field: __pthread_internal_list::__prev"] [:: std :: mem :: offset_of ! (__pthread_internal_list , __prev) - 0usize] ; ["Offset of field: __pthread_internal_list::__next"] [:: std :: 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_internal_slist { pub __next : * mut __pthread_internal_slist , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_internal_slist"] [:: std :: mem :: size_of :: < __pthread_internal_slist > () - 8usize] ; ["Alignment of __pthread_internal_slist"] [:: std :: mem :: align_of :: < __pthread_internal_slist > () - 8usize] ; ["Offset of field: __pthread_internal_slist::__next"] [:: std :: mem :: offset_of ! (__pthread_internal_slist , __next) - 0usize] ; } ; pub type __pthread_slist_t = __pthread_internal_slist ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: std :: os :: raw :: c_int , pub __count : :: std :: os :: raw :: c_uint , pub __owner : :: std :: os :: raw :: c_int , pub __nusers : :: std :: os :: raw :: c_uint , pub __kind : :: std :: os :: raw :: c_int , pub __spins : :: std :: os :: raw :: c_short , pub __elision : :: std :: os :: raw :: c_short , pub __list : __pthread_list_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_mutex_s"] [:: std :: mem :: size_of :: < __pthread_mutex_s > () - 40usize] ; ["Alignment of __pthread_mutex_s"] [:: std :: mem :: align_of :: < __pthread_mutex_s > () - 8usize] ; ["Offset of field: __pthread_mutex_s::__lock"] [:: std :: mem :: offset_of ! (__pthread_mutex_s , __lock) - 0usize] ; ["Offset of field: __pthread_mutex_s::__count"] [:: std :: mem :: offset_of ! (__pthread_mutex_s , __count) - 4usize] ; ["Offset of field: __pthread_mutex_s::__owner"] [:: std :: mem :: offset_of ! (__pthread_mutex_s , __owner) - 8usize] ; ["Offset of field: __pthread_mutex_s::__nusers"] [:: std :: mem :: offset_of ! (__pthread_mutex_s , __nusers) - 12usize] ; ["Offset of field: __pthread_mutex_s::__kind"] [:: std :: mem :: offset_of ! (__pthread_mutex_s , __kind) - 16usize] ; ["Offset of field: __pthread_mutex_s::__spins"] [:: std :: mem :: offset_of ! (__pthread_mutex_s , __spins) - 20usize] ; ["Offset of field: __pthread_mutex_s::__elision"] [:: std :: mem :: offset_of ! (__pthread_mutex_s , __elision) - 22usize] ; ["Offset of field: __pthread_mutex_s::__list"] [:: std :: mem :: offset_of ! (__pthread_mutex_s , __list) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_rwlock_arch_t { pub __readers : :: std :: os :: raw :: c_uint , pub __writers : :: std :: os :: raw :: c_uint , pub __wrphase_futex : :: std :: os :: raw :: c_uint , pub __writers_futex : :: std :: os :: raw :: c_uint , pub __pad3 : :: std :: os :: raw :: c_uint , pub __pad4 : :: std :: os :: raw :: c_uint , pub __cur_writer : :: std :: os :: raw :: c_int , pub __shared : :: std :: os :: raw :: c_int , pub __rwelision : :: std :: os :: raw :: c_schar , pub __pad1 : [:: std :: os :: raw :: c_uchar ; 7usize] , pub __pad2 : :: std :: os :: raw :: c_ulong , pub __flags : :: std :: os :: raw :: c_uint , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_rwlock_arch_t"] [:: std :: mem :: size_of :: < __pthread_rwlock_arch_t > () - 56usize] ; ["Alignment of __pthread_rwlock_arch_t"] [:: std :: mem :: align_of :: < __pthread_rwlock_arch_t > () - 8usize] ; ["Offset of field: __pthread_rwlock_arch_t::__readers"] [:: std :: mem :: offset_of ! (__pthread_rwlock_arch_t , __readers) - 0usize] ; ["Offset of field: __pthread_rwlock_arch_t::__writers"] [:: std :: mem :: offset_of ! (__pthread_rwlock_arch_t , __writers) - 4usize] ; ["Offset of field: __pthread_rwlock_arch_t::__wrphase_futex"] [:: std :: mem :: offset_of ! (__pthread_rwlock_arch_t , __wrphase_futex) - 8usize] ; ["Offset of field: __pthread_rwlock_arch_t::__writers_futex"] [:: std :: mem :: offset_of ! (__pthread_rwlock_arch_t , __writers_futex) - 12usize] ; ["Offset of field: __pthread_rwlock_arch_t::__pad3"] [:: std :: mem :: offset_of ! (__pthread_rwlock_arch_t , __pad3) - 16usize] ; ["Offset of field: __pthread_rwlock_arch_t::__pad4"] [:: std :: mem :: offset_of ! (__pthread_rwlock_arch_t , __pad4) - 20usize] ; ["Offset of field: __pthread_rwlock_arch_t::__cur_writer"] [:: std :: mem :: offset_of ! (__pthread_rwlock_arch_t , __cur_writer) - 24usize] ; ["Offset of field: __pthread_rwlock_arch_t::__shared"] [:: std :: mem :: offset_of ! (__pthread_rwlock_arch_t , __shared) - 28usize] ; ["Offset of field: __pthread_rwlock_arch_t::__rwelision"] [:: std :: mem :: offset_of ! (__pthread_rwlock_arch_t , __rwelision) - 32usize] ; ["Offset of field: __pthread_rwlock_arch_t::__pad1"] [:: std :: mem :: offset_of ! (__pthread_rwlock_arch_t , __pad1) - 33usize] ; ["Offset of field: __pthread_rwlock_arch_t::__pad2"] [:: std :: mem :: offset_of ! (__pthread_rwlock_arch_t , __pad2) - 40usize] ; ["Offset of field: __pthread_rwlock_arch_t::__flags"] [:: std :: mem :: offset_of ! (__pthread_rwlock_arch_t , __flags) - 48usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct __pthread_cond_s { pub __wseq : __atomic_wide_counter , pub __g1_start : __atomic_wide_counter , pub __g_refs : [:: std :: os :: raw :: c_uint ; 2usize] , pub __g_size : [:: std :: os :: raw :: c_uint ; 2usize] , pub __g1_orig_size : :: std :: os :: raw :: c_uint , pub __wrefs : :: std :: os :: raw :: c_uint , pub __g_signals : [:: std :: os :: raw :: c_uint ; 2usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __pthread_cond_s"] [:: std :: mem :: size_of :: < __pthread_cond_s > () - 48usize] ; ["Alignment of __pthread_cond_s"] [:: std :: mem :: align_of :: < __pthread_cond_s > () - 8usize] ; ["Offset of field: __pthread_cond_s::__wseq"] [:: std :: mem :: offset_of ! (__pthread_cond_s , __wseq) - 0usize] ; ["Offset of field: __pthread_cond_s::__g1_start"] [:: std :: mem :: offset_of ! (__pthread_cond_s , __g1_start) - 8usize] ; ["Offset of field: __pthread_cond_s::__g_refs"] [:: std :: mem :: offset_of ! (__pthread_cond_s , __g_refs) - 16usize] ; ["Offset of field: __pthread_cond_s::__g_size"] [:: std :: mem :: offset_of ! (__pthread_cond_s , __g_size) - 24usize] ; ["Offset of field: __pthread_cond_s::__g1_orig_size"] [:: std :: mem :: offset_of ! (__pthread_cond_s , __g1_orig_size) - 32usize] ; ["Offset of field: __pthread_cond_s::__wrefs"] [:: std :: mem :: offset_of ! (__pthread_cond_s , __wrefs) - 36usize] ; ["Offset of field: __pthread_cond_s::__g_signals"] [:: std :: mem :: offset_of ! (__pthread_cond_s , __g_signals) - 40usize] ; } ; pub type __tss_t = :: std :: os :: raw :: c_uint ; pub type __thrd_t = :: std :: os :: raw :: c_ulong ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __once_flag { pub __data : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __once_flag"] [:: std :: mem :: size_of :: < __once_flag > () - 4usize] ; ["Alignment of __once_flag"] [:: std :: mem :: align_of :: < __once_flag > () - 4usize] ; ["Offset of field: __once_flag::__data"] [:: std :: mem :: offset_of ! (__once_flag , __data) - 0usize] ; } ; pub type pthread_t = :: std :: os :: raw :: c_ulong ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutexattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutexattr_t"] [:: std :: mem :: size_of :: < pthread_mutexattr_t > () - 4usize] ; ["Alignment of pthread_mutexattr_t"] [:: std :: mem :: align_of :: < pthread_mutexattr_t > () - 4usize] ; ["Offset of field: pthread_mutexattr_t::__size"] [:: std :: mem :: offset_of ! (pthread_mutexattr_t , __size) - 0usize] ; ["Offset of field: pthread_mutexattr_t::__align"] [:: std :: mem :: offset_of ! (pthread_mutexattr_t , __align) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_condattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_condattr_t"] [:: std :: mem :: size_of :: < pthread_condattr_t > () - 4usize] ; ["Alignment of pthread_condattr_t"] [:: std :: mem :: align_of :: < pthread_condattr_t > () - 4usize] ; ["Offset of field: pthread_condattr_t::__size"] [:: std :: mem :: offset_of ! (pthread_condattr_t , __size) - 0usize] ; ["Offset of field: pthread_condattr_t::__align"] [:: std :: mem :: offset_of ! (pthread_condattr_t , __align) - 0usize] ; } ; pub type pthread_key_t = :: std :: os :: raw :: c_uint ; pub type pthread_once_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_attr_t { pub __size : [:: std :: os :: raw :: c_char ; 56usize] , pub __align : :: std :: os :: raw :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_attr_t"] [:: std :: mem :: size_of :: < pthread_attr_t > () - 56usize] ; ["Alignment of pthread_attr_t"] [:: std :: mem :: align_of :: < pthread_attr_t > () - 8usize] ; ["Offset of field: pthread_attr_t::__size"] [:: std :: mem :: offset_of ! (pthread_attr_t , __size) - 0usize] ; ["Offset of field: pthread_attr_t::__align"] [:: std :: mem :: offset_of ! (pthread_attr_t , __align) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: std :: os :: raw :: c_char ; 40usize] , pub __align : :: std :: os :: raw :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_mutex_t"] [:: std :: mem :: size_of :: < pthread_mutex_t > () - 40usize] ; ["Alignment of pthread_mutex_t"] [:: std :: mem :: align_of :: < pthread_mutex_t > () - 8usize] ; ["Offset of field: pthread_mutex_t::__data"] [:: std :: mem :: offset_of ! (pthread_mutex_t , __data) - 0usize] ; ["Offset of field: pthread_mutex_t::__size"] [:: std :: mem :: offset_of ! (pthread_mutex_t , __size) - 0usize] ; ["Offset of field: pthread_mutex_t::__align"] [:: std :: mem :: offset_of ! (pthread_mutex_t , __align) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_cond_t { pub __data : __pthread_cond_s , pub __size : [:: std :: os :: raw :: c_char ; 48usize] , pub __align : :: std :: os :: raw :: c_longlong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_cond_t"] [:: std :: mem :: size_of :: < pthread_cond_t > () - 48usize] ; ["Alignment of pthread_cond_t"] [:: std :: mem :: align_of :: < pthread_cond_t > () - 8usize] ; ["Offset of field: pthread_cond_t::__data"] [:: std :: mem :: offset_of ! (pthread_cond_t , __data) - 0usize] ; ["Offset of field: pthread_cond_t::__size"] [:: std :: mem :: offset_of ! (pthread_cond_t , __size) - 0usize] ; ["Offset of field: pthread_cond_t::__align"] [:: std :: mem :: offset_of ! (pthread_cond_t , __align) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_rwlock_t { pub __data : __pthread_rwlock_arch_t , pub __size : [:: std :: os :: raw :: c_char ; 56usize] , pub __align : :: std :: os :: raw :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_rwlock_t"] [:: std :: mem :: size_of :: < pthread_rwlock_t > () - 56usize] ; ["Alignment of pthread_rwlock_t"] [:: std :: mem :: align_of :: < pthread_rwlock_t > () - 8usize] ; ["Offset of field: pthread_rwlock_t::__data"] [:: std :: mem :: offset_of ! (pthread_rwlock_t , __data) - 0usize] ; ["Offset of field: pthread_rwlock_t::__size"] [:: std :: mem :: offset_of ! (pthread_rwlock_t , __size) - 0usize] ; ["Offset of field: pthread_rwlock_t::__align"] [:: std :: mem :: offset_of ! (pthread_rwlock_t , __align) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_rwlockattr_t { pub __size : [:: std :: os :: raw :: c_char ; 8usize] , pub __align : :: std :: os :: raw :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_rwlockattr_t"] [:: std :: mem :: size_of :: < pthread_rwlockattr_t > () - 8usize] ; ["Alignment of pthread_rwlockattr_t"] [:: std :: mem :: align_of :: < pthread_rwlockattr_t > () - 8usize] ; ["Offset of field: pthread_rwlockattr_t::__size"] [:: std :: mem :: offset_of ! (pthread_rwlockattr_t , __size) - 0usize] ; ["Offset of field: pthread_rwlockattr_t::__align"] [:: std :: mem :: offset_of ! (pthread_rwlockattr_t , __align) - 0usize] ; } ; pub type pthread_spinlock_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_barrier_t { pub __size : [:: std :: os :: raw :: c_char ; 32usize] , pub __align : :: std :: os :: raw :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_barrier_t"] [:: std :: mem :: size_of :: < pthread_barrier_t > () - 32usize] ; ["Alignment of pthread_barrier_t"] [:: std :: mem :: align_of :: < pthread_barrier_t > () - 8usize] ; ["Offset of field: pthread_barrier_t::__size"] [:: std :: mem :: offset_of ! (pthread_barrier_t , __size) - 0usize] ; ["Offset of field: pthread_barrier_t::__align"] [:: std :: mem :: offset_of ! (pthread_barrier_t , __align) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_barrierattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of pthread_barrierattr_t"] [:: std :: mem :: size_of :: < pthread_barrierattr_t > () - 4usize] ; ["Alignment of pthread_barrierattr_t"] [:: std :: mem :: align_of :: < pthread_barrierattr_t > () - 4usize] ; ["Offset of field: pthread_barrierattr_t::__size"] [:: std :: mem :: offset_of ! (pthread_barrierattr_t , __size) - 0usize] ; ["Offset of field: pthread_barrierattr_t::__align"] [:: std :: mem :: offset_of ! (pthread_barrierattr_t , __align) - 0usize] ; } ; pub type __gnuc_va_list = __builtin_va_list ; pub type va_list = __builtin_va_list ; pub type useconds_t = __useconds_t ; pub type socklen_t = __socklen_t ; unsafe extern "C" { pub fn access (__name : * const :: std :: os :: raw :: c_char , __type : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn faccessat (__fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __type : :: std :: os :: raw :: c_int , __flag : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn lseek (__fd : :: std :: os :: raw :: c_int , __offset : __off_t , __whence : :: std :: os :: raw :: c_int) -> __off_t ; } unsafe extern "C" { pub fn close (__fd : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn closefrom (__lowfd : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn read (__fd : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_void , __nbytes : usize) -> isize ; } unsafe extern "C" { pub fn write (__fd : :: std :: os :: raw :: c_int , __buf : * const :: std :: os :: raw :: c_void , __n : usize) -> isize ; } unsafe extern "C" { pub fn pread (__fd : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_void , __nbytes : usize , __offset : __off_t) -> isize ; } unsafe extern "C" { pub fn pwrite (__fd : :: std :: os :: raw :: c_int , __buf : * const :: std :: os :: raw :: c_void , __n : usize , __offset : __off_t) -> isize ; } unsafe extern "C" { pub fn pipe (__pipedes : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn alarm (__seconds : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_uint ; } unsafe extern "C" { pub fn sleep (__seconds : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_uint ; } unsafe extern "C" { pub fn ualarm (__value : __useconds_t , __interval : __useconds_t) -> __useconds_t ; } unsafe extern "C" { pub fn usleep (__useconds : __useconds_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn pause () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn chown (__file : * const :: std :: os :: raw :: c_char , __owner : __uid_t , __group : __gid_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fchown (__fd : :: std :: os :: raw :: c_int , __owner : __uid_t , __group : __gid_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn lchown (__file : * const :: std :: os :: raw :: c_char , __owner : __uid_t , __group : __gid_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fchownat (__fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __owner : __uid_t , __group : __gid_t , __flag : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn chdir (__path : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fchdir (__fd : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getcwd (__buf : * mut :: std :: os :: raw :: c_char , __size : usize) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn getwd (__buf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn dup (__fd : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn dup2 (__fd : :: std :: os :: raw :: c_int , __fd2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub static mut __environ : * mut * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn execve (__path : * const :: std :: os :: raw :: c_char , __argv : * const * mut :: std :: os :: raw :: c_char , __envp : * const * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fexecve (__fd : :: std :: os :: raw :: c_int , __argv : * const * mut :: std :: os :: raw :: c_char , __envp : * const * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn execv (__path : * const :: std :: os :: raw :: c_char , __argv : * const * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn execle (__path : * const :: std :: os :: raw :: c_char , __arg : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn execl (__path : * const :: std :: os :: raw :: c_char , __arg : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn execvp (__file : * const :: std :: os :: raw :: c_char , __argv : * const * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn execlp (__file : * const :: std :: os :: raw :: c_char , __arg : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn nice (__inc : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn _exit (__status : :: std :: os :: raw :: c_int) -> ! ; } pub const _PC_LINK_MAX : _bindgen_ty_1 = 0 ; pub const _PC_MAX_CANON : _bindgen_ty_1 = 1 ; pub const _PC_MAX_INPUT : _bindgen_ty_1 = 2 ; pub const _PC_NAME_MAX : _bindgen_ty_1 = 3 ; pub const _PC_PATH_MAX : _bindgen_ty_1 = 4 ; pub const _PC_PIPE_BUF : _bindgen_ty_1 = 5 ; pub const _PC_CHOWN_RESTRICTED : _bindgen_ty_1 = 6 ; pub const _PC_NO_TRUNC : _bindgen_ty_1 = 7 ; pub const _PC_VDISABLE : _bindgen_ty_1 = 8 ; pub const _PC_SYNC_IO : _bindgen_ty_1 = 9 ; pub const _PC_ASYNC_IO : _bindgen_ty_1 = 10 ; pub const _PC_PRIO_IO : _bindgen_ty_1 = 11 ; pub const _PC_SOCK_MAXBUF : _bindgen_ty_1 = 12 ; pub const _PC_FILESIZEBITS : _bindgen_ty_1 = 13 ; pub const _PC_REC_INCR_XFER_SIZE : _bindgen_ty_1 = 14 ; pub const _PC_REC_MAX_XFER_SIZE : _bindgen_ty_1 = 15 ; pub const _PC_REC_MIN_XFER_SIZE : _bindgen_ty_1 = 16 ; pub const _PC_REC_XFER_ALIGN : _bindgen_ty_1 = 17 ; pub const _PC_ALLOC_SIZE_MIN : _bindgen_ty_1 = 18 ; pub const _PC_SYMLINK_MAX : _bindgen_ty_1 = 19 ; pub const _PC_2_SYMLINKS : _bindgen_ty_1 = 20 ; pub type _bindgen_ty_1 = :: std :: os :: raw :: c_uint ; pub const _SC_ARG_MAX : _bindgen_ty_2 = 0 ; pub const _SC_CHILD_MAX : _bindgen_ty_2 = 1 ; pub const _SC_CLK_TCK : _bindgen_ty_2 = 2 ; pub const _SC_NGROUPS_MAX : _bindgen_ty_2 = 3 ; pub const _SC_OPEN_MAX : _bindgen_ty_2 = 4 ; pub const _SC_STREAM_MAX : _bindgen_ty_2 = 5 ; pub const _SC_TZNAME_MAX : _bindgen_ty_2 = 6 ; pub const _SC_JOB_CONTROL : _bindgen_ty_2 = 7 ; pub const _SC_SAVED_IDS : _bindgen_ty_2 = 8 ; pub const _SC_REALTIME_SIGNALS : _bindgen_ty_2 = 9 ; pub const _SC_PRIORITY_SCHEDULING : _bindgen_ty_2 = 10 ; pub const _SC_TIMERS : _bindgen_ty_2 = 11 ; pub const _SC_ASYNCHRONOUS_IO : _bindgen_ty_2 = 12 ; pub const _SC_PRIORITIZED_IO : _bindgen_ty_2 = 13 ; pub const _SC_SYNCHRONIZED_IO : _bindgen_ty_2 = 14 ; pub const _SC_FSYNC : _bindgen_ty_2 = 15 ; pub const _SC_MAPPED_FILES : _bindgen_ty_2 = 16 ; pub const _SC_MEMLOCK : _bindgen_ty_2 = 17 ; pub const _SC_MEMLOCK_RANGE : _bindgen_ty_2 = 18 ; pub const _SC_MEMORY_PROTECTION : _bindgen_ty_2 = 19 ; pub const _SC_MESSAGE_PASSING : _bindgen_ty_2 = 20 ; pub const _SC_SEMAPHORES : _bindgen_ty_2 = 21 ; pub const _SC_SHARED_MEMORY_OBJECTS : _bindgen_ty_2 = 22 ; pub const _SC_AIO_LISTIO_MAX : _bindgen_ty_2 = 23 ; pub const _SC_AIO_MAX : _bindgen_ty_2 = 24 ; pub const _SC_AIO_PRIO_DELTA_MAX : _bindgen_ty_2 = 25 ; pub const _SC_DELAYTIMER_MAX : _bindgen_ty_2 = 26 ; pub const _SC_MQ_OPEN_MAX : _bindgen_ty_2 = 27 ; pub const _SC_MQ_PRIO_MAX : _bindgen_ty_2 = 28 ; pub const _SC_VERSION : _bindgen_ty_2 = 29 ; pub const _SC_PAGESIZE : _bindgen_ty_2 = 30 ; pub const _SC_RTSIG_MAX : _bindgen_ty_2 = 31 ; pub const _SC_SEM_NSEMS_MAX : _bindgen_ty_2 = 32 ; pub const _SC_SEM_VALUE_MAX : _bindgen_ty_2 = 33 ; pub const _SC_SIGQUEUE_MAX : _bindgen_ty_2 = 34 ; pub const _SC_TIMER_MAX : _bindgen_ty_2 = 35 ; pub const _SC_BC_BASE_MAX : _bindgen_ty_2 = 36 ; pub const _SC_BC_DIM_MAX : _bindgen_ty_2 = 37 ; pub const _SC_BC_SCALE_MAX : _bindgen_ty_2 = 38 ; pub const _SC_BC_STRING_MAX : _bindgen_ty_2 = 39 ; pub const _SC_COLL_WEIGHTS_MAX : _bindgen_ty_2 = 40 ; pub const _SC_EQUIV_CLASS_MAX : _bindgen_ty_2 = 41 ; pub const _SC_EXPR_NEST_MAX : _bindgen_ty_2 = 42 ; pub const _SC_LINE_MAX : _bindgen_ty_2 = 43 ; pub const _SC_RE_DUP_MAX : _bindgen_ty_2 = 44 ; pub const _SC_CHARCLASS_NAME_MAX : _bindgen_ty_2 = 45 ; pub const _SC_2_VERSION : _bindgen_ty_2 = 46 ; pub const _SC_2_C_BIND : _bindgen_ty_2 = 47 ; pub const _SC_2_C_DEV : _bindgen_ty_2 = 48 ; pub const _SC_2_FORT_DEV : _bindgen_ty_2 = 49 ; pub const _SC_2_FORT_RUN : _bindgen_ty_2 = 50 ; pub const _SC_2_SW_DEV : _bindgen_ty_2 = 51 ; pub const _SC_2_LOCALEDEF : _bindgen_ty_2 = 52 ; pub const _SC_PII : _bindgen_ty_2 = 53 ; pub const _SC_PII_XTI : _bindgen_ty_2 = 54 ; pub const _SC_PII_SOCKET : _bindgen_ty_2 = 55 ; pub const _SC_PII_INTERNET : _bindgen_ty_2 = 56 ; pub const _SC_PII_OSI : _bindgen_ty_2 = 57 ; pub const _SC_POLL : _bindgen_ty_2 = 58 ; pub const _SC_SELECT : _bindgen_ty_2 = 59 ; pub const _SC_UIO_MAXIOV : _bindgen_ty_2 = 60 ; pub const _SC_IOV_MAX : _bindgen_ty_2 = 60 ; pub const _SC_PII_INTERNET_STREAM : _bindgen_ty_2 = 61 ; pub const _SC_PII_INTERNET_DGRAM : _bindgen_ty_2 = 62 ; pub const _SC_PII_OSI_COTS : _bindgen_ty_2 = 63 ; pub const _SC_PII_OSI_CLTS : _bindgen_ty_2 = 64 ; pub const _SC_PII_OSI_M : _bindgen_ty_2 = 65 ; pub const _SC_T_IOV_MAX : _bindgen_ty_2 = 66 ; pub const _SC_THREADS : _bindgen_ty_2 = 67 ; pub const _SC_THREAD_SAFE_FUNCTIONS : _bindgen_ty_2 = 68 ; pub const _SC_GETGR_R_SIZE_MAX : _bindgen_ty_2 = 69 ; pub const _SC_GETPW_R_SIZE_MAX : _bindgen_ty_2 = 70 ; pub const _SC_LOGIN_NAME_MAX : _bindgen_ty_2 = 71 ; pub const _SC_TTY_NAME_MAX : _bindgen_ty_2 = 72 ; pub const _SC_THREAD_DESTRUCTOR_ITERATIONS : _bindgen_ty_2 = 73 ; pub const _SC_THREAD_KEYS_MAX : _bindgen_ty_2 = 74 ; pub const _SC_THREAD_STACK_MIN : _bindgen_ty_2 = 75 ; pub const _SC_THREAD_THREADS_MAX : _bindgen_ty_2 = 76 ; pub const _SC_THREAD_ATTR_STACKADDR : _bindgen_ty_2 = 77 ; pub const _SC_THREAD_ATTR_STACKSIZE : _bindgen_ty_2 = 78 ; pub const _SC_THREAD_PRIORITY_SCHEDULING : _bindgen_ty_2 = 79 ; pub const _SC_THREAD_PRIO_INHERIT : _bindgen_ty_2 = 80 ; pub const _SC_THREAD_PRIO_PROTECT : _bindgen_ty_2 = 81 ; pub const _SC_THREAD_PROCESS_SHARED : _bindgen_ty_2 = 82 ; pub const _SC_NPROCESSORS_CONF : _bindgen_ty_2 = 83 ; pub const _SC_NPROCESSORS_ONLN : _bindgen_ty_2 = 84 ; pub const _SC_PHYS_PAGES : _bindgen_ty_2 = 85 ; pub const _SC_AVPHYS_PAGES : _bindgen_ty_2 = 86 ; pub const _SC_ATEXIT_MAX : _bindgen_ty_2 = 87 ; pub const _SC_PASS_MAX : _bindgen_ty_2 = 88 ; pub const _SC_XOPEN_VERSION : _bindgen_ty_2 = 89 ; pub const _SC_XOPEN_XCU_VERSION : _bindgen_ty_2 = 90 ; pub const _SC_XOPEN_UNIX : _bindgen_ty_2 = 91 ; pub const _SC_XOPEN_CRYPT : _bindgen_ty_2 = 92 ; pub const _SC_XOPEN_ENH_I18N : _bindgen_ty_2 = 93 ; pub const _SC_XOPEN_SHM : _bindgen_ty_2 = 94 ; pub const _SC_2_CHAR_TERM : _bindgen_ty_2 = 95 ; pub const _SC_2_C_VERSION : _bindgen_ty_2 = 96 ; pub const _SC_2_UPE : _bindgen_ty_2 = 97 ; pub const _SC_XOPEN_XPG2 : _bindgen_ty_2 = 98 ; pub const _SC_XOPEN_XPG3 : _bindgen_ty_2 = 99 ; pub const _SC_XOPEN_XPG4 : _bindgen_ty_2 = 100 ; pub const _SC_CHAR_BIT : _bindgen_ty_2 = 101 ; pub const _SC_CHAR_MAX : _bindgen_ty_2 = 102 ; pub const _SC_CHAR_MIN : _bindgen_ty_2 = 103 ; pub const _SC_INT_MAX : _bindgen_ty_2 = 104 ; pub const _SC_INT_MIN : _bindgen_ty_2 = 105 ; pub const _SC_LONG_BIT : _bindgen_ty_2 = 106 ; pub const _SC_WORD_BIT : _bindgen_ty_2 = 107 ; pub const _SC_MB_LEN_MAX : _bindgen_ty_2 = 108 ; pub const _SC_NZERO : _bindgen_ty_2 = 109 ; pub const _SC_SSIZE_MAX : _bindgen_ty_2 = 110 ; pub const _SC_SCHAR_MAX : _bindgen_ty_2 = 111 ; pub const _SC_SCHAR_MIN : _bindgen_ty_2 = 112 ; pub const _SC_SHRT_MAX : _bindgen_ty_2 = 113 ; pub const _SC_SHRT_MIN : _bindgen_ty_2 = 114 ; pub const _SC_UCHAR_MAX : _bindgen_ty_2 = 115 ; pub const _SC_UINT_MAX : _bindgen_ty_2 = 116 ; pub const _SC_ULONG_MAX : _bindgen_ty_2 = 117 ; pub const _SC_USHRT_MAX : _bindgen_ty_2 = 118 ; pub const _SC_NL_ARGMAX : _bindgen_ty_2 = 119 ; pub const _SC_NL_LANGMAX : _bindgen_ty_2 = 120 ; pub const _SC_NL_MSGMAX : _bindgen_ty_2 = 121 ; pub const _SC_NL_NMAX : _bindgen_ty_2 = 122 ; pub const _SC_NL_SETMAX : _bindgen_ty_2 = 123 ; pub const _SC_NL_TEXTMAX : _bindgen_ty_2 = 124 ; pub const _SC_XBS5_ILP32_OFF32 : _bindgen_ty_2 = 125 ; pub const _SC_XBS5_ILP32_OFFBIG : _bindgen_ty_2 = 126 ; pub const _SC_XBS5_LP64_OFF64 : _bindgen_ty_2 = 127 ; pub const _SC_XBS5_LPBIG_OFFBIG : _bindgen_ty_2 = 128 ; pub const _SC_XOPEN_LEGACY : _bindgen_ty_2 = 129 ; pub const _SC_XOPEN_REALTIME : _bindgen_ty_2 = 130 ; pub const _SC_XOPEN_REALTIME_THREADS : _bindgen_ty_2 = 131 ; pub const _SC_ADVISORY_INFO : _bindgen_ty_2 = 132 ; pub const _SC_BARRIERS : _bindgen_ty_2 = 133 ; pub const _SC_BASE : _bindgen_ty_2 = 134 ; pub const _SC_C_LANG_SUPPORT : _bindgen_ty_2 = 135 ; pub const _SC_C_LANG_SUPPORT_R : _bindgen_ty_2 = 136 ; pub const _SC_CLOCK_SELECTION : _bindgen_ty_2 = 137 ; pub const _SC_CPUTIME : _bindgen_ty_2 = 138 ; pub const _SC_THREAD_CPUTIME : _bindgen_ty_2 = 139 ; pub const _SC_DEVICE_IO : _bindgen_ty_2 = 140 ; pub const _SC_DEVICE_SPECIFIC : _bindgen_ty_2 = 141 ; pub const _SC_DEVICE_SPECIFIC_R : _bindgen_ty_2 = 142 ; pub const _SC_FD_MGMT : _bindgen_ty_2 = 143 ; pub const _SC_FIFO : _bindgen_ty_2 = 144 ; pub const _SC_PIPE : _bindgen_ty_2 = 145 ; pub const _SC_FILE_ATTRIBUTES : _bindgen_ty_2 = 146 ; pub const _SC_FILE_LOCKING : _bindgen_ty_2 = 147 ; pub const _SC_FILE_SYSTEM : _bindgen_ty_2 = 148 ; pub const _SC_MONOTONIC_CLOCK : _bindgen_ty_2 = 149 ; pub const _SC_MULTI_PROCESS : _bindgen_ty_2 = 150 ; pub const _SC_SINGLE_PROCESS : _bindgen_ty_2 = 151 ; pub const _SC_NETWORKING : _bindgen_ty_2 = 152 ; pub const _SC_READER_WRITER_LOCKS : _bindgen_ty_2 = 153 ; pub const _SC_SPIN_LOCKS : _bindgen_ty_2 = 154 ; pub const _SC_REGEXP : _bindgen_ty_2 = 155 ; pub const _SC_REGEX_VERSION : _bindgen_ty_2 = 156 ; pub const _SC_SHELL : _bindgen_ty_2 = 157 ; pub const _SC_SIGNALS : _bindgen_ty_2 = 158 ; pub const _SC_SPAWN : _bindgen_ty_2 = 159 ; pub const _SC_SPORADIC_SERVER : _bindgen_ty_2 = 160 ; pub const _SC_THREAD_SPORADIC_SERVER : _bindgen_ty_2 = 161 ; pub const _SC_SYSTEM_DATABASE : _bindgen_ty_2 = 162 ; pub const _SC_SYSTEM_DATABASE_R : _bindgen_ty_2 = 163 ; pub const _SC_TIMEOUTS : _bindgen_ty_2 = 164 ; pub const _SC_TYPED_MEMORY_OBJECTS : _bindgen_ty_2 = 165 ; pub const _SC_USER_GROUPS : _bindgen_ty_2 = 166 ; pub const _SC_USER_GROUPS_R : _bindgen_ty_2 = 167 ; pub const _SC_2_PBS : _bindgen_ty_2 = 168 ; pub const _SC_2_PBS_ACCOUNTING : _bindgen_ty_2 = 169 ; pub const _SC_2_PBS_LOCATE : _bindgen_ty_2 = 170 ; pub const _SC_2_PBS_MESSAGE : _bindgen_ty_2 = 171 ; pub const _SC_2_PBS_TRACK : _bindgen_ty_2 = 172 ; pub const _SC_SYMLOOP_MAX : _bindgen_ty_2 = 173 ; pub const _SC_STREAMS : _bindgen_ty_2 = 174 ; pub const _SC_2_PBS_CHECKPOINT : _bindgen_ty_2 = 175 ; pub const _SC_V6_ILP32_OFF32 : _bindgen_ty_2 = 176 ; pub const _SC_V6_ILP32_OFFBIG : _bindgen_ty_2 = 177 ; pub const _SC_V6_LP64_OFF64 : _bindgen_ty_2 = 178 ; pub const _SC_V6_LPBIG_OFFBIG : _bindgen_ty_2 = 179 ; pub const _SC_HOST_NAME_MAX : _bindgen_ty_2 = 180 ; pub const _SC_TRACE : _bindgen_ty_2 = 181 ; pub const _SC_TRACE_EVENT_FILTER : _bindgen_ty_2 = 182 ; pub const _SC_TRACE_INHERIT : _bindgen_ty_2 = 183 ; pub const _SC_TRACE_LOG : _bindgen_ty_2 = 184 ; pub const _SC_LEVEL1_ICACHE_SIZE : _bindgen_ty_2 = 185 ; pub const _SC_LEVEL1_ICACHE_ASSOC : _bindgen_ty_2 = 186 ; pub const _SC_LEVEL1_ICACHE_LINESIZE : _bindgen_ty_2 = 187 ; pub const _SC_LEVEL1_DCACHE_SIZE : _bindgen_ty_2 = 188 ; pub const _SC_LEVEL1_DCACHE_ASSOC : _bindgen_ty_2 = 189 ; pub const _SC_LEVEL1_DCACHE_LINESIZE : _bindgen_ty_2 = 190 ; pub const _SC_LEVEL2_CACHE_SIZE : _bindgen_ty_2 = 191 ; pub const _SC_LEVEL2_CACHE_ASSOC : _bindgen_ty_2 = 192 ; pub const _SC_LEVEL2_CACHE_LINESIZE : _bindgen_ty_2 = 193 ; pub const _SC_LEVEL3_CACHE_SIZE : _bindgen_ty_2 = 194 ; pub const _SC_LEVEL3_CACHE_ASSOC : _bindgen_ty_2 = 195 ; pub const _SC_LEVEL3_CACHE_LINESIZE : _bindgen_ty_2 = 196 ; pub const _SC_LEVEL4_CACHE_SIZE : _bindgen_ty_2 = 197 ; pub const _SC_LEVEL4_CACHE_ASSOC : _bindgen_ty_2 = 198 ; pub const _SC_LEVEL4_CACHE_LINESIZE : _bindgen_ty_2 = 199 ; pub const _SC_IPV6 : _bindgen_ty_2 = 235 ; pub const _SC_RAW_SOCKETS : _bindgen_ty_2 = 236 ; pub const _SC_V7_ILP32_OFF32 : _bindgen_ty_2 = 237 ; pub const _SC_V7_ILP32_OFFBIG : _bindgen_ty_2 = 238 ; pub const _SC_V7_LP64_OFF64 : _bindgen_ty_2 = 239 ; pub const _SC_V7_LPBIG_OFFBIG : _bindgen_ty_2 = 240 ; pub const _SC_SS_REPL_MAX : _bindgen_ty_2 = 241 ; pub const _SC_TRACE_EVENT_NAME_MAX : _bindgen_ty_2 = 242 ; pub const _SC_TRACE_NAME_MAX : _bindgen_ty_2 = 243 ; pub const _SC_TRACE_SYS_MAX : _bindgen_ty_2 = 244 ; pub const _SC_TRACE_USER_EVENT_MAX : _bindgen_ty_2 = 245 ; pub const _SC_XOPEN_STREAMS : _bindgen_ty_2 = 246 ; pub const _SC_THREAD_ROBUST_PRIO_INHERIT : _bindgen_ty_2 = 247 ; pub const _SC_THREAD_ROBUST_PRIO_PROTECT : _bindgen_ty_2 = 248 ; pub const _SC_MINSIGSTKSZ : _bindgen_ty_2 = 249 ; pub const _SC_SIGSTKSZ : _bindgen_ty_2 = 250 ; pub type _bindgen_ty_2 = :: std :: os :: raw :: c_uint ; pub const _CS_PATH : _bindgen_ty_3 = 0 ; pub const _CS_V6_WIDTH_RESTRICTED_ENVS : _bindgen_ty_3 = 1 ; pub const _CS_GNU_LIBC_VERSION : _bindgen_ty_3 = 2 ; pub const _CS_GNU_LIBPTHREAD_VERSION : _bindgen_ty_3 = 3 ; pub const _CS_V5_WIDTH_RESTRICTED_ENVS : _bindgen_ty_3 = 4 ; pub const _CS_V7_WIDTH_RESTRICTED_ENVS : _bindgen_ty_3 = 5 ; pub const _CS_LFS_CFLAGS : _bindgen_ty_3 = 1000 ; pub const _CS_LFS_LDFLAGS : _bindgen_ty_3 = 1001 ; pub const _CS_LFS_LIBS : _bindgen_ty_3 = 1002 ; pub const _CS_LFS_LINTFLAGS : _bindgen_ty_3 = 1003 ; pub const _CS_LFS64_CFLAGS : _bindgen_ty_3 = 1004 ; pub const _CS_LFS64_LDFLAGS : _bindgen_ty_3 = 1005 ; pub const _CS_LFS64_LIBS : _bindgen_ty_3 = 1006 ; pub const _CS_LFS64_LINTFLAGS : _bindgen_ty_3 = 1007 ; pub const _CS_XBS5_ILP32_OFF32_CFLAGS : _bindgen_ty_3 = 1100 ; pub const _CS_XBS5_ILP32_OFF32_LDFLAGS : _bindgen_ty_3 = 1101 ; pub const _CS_XBS5_ILP32_OFF32_LIBS : _bindgen_ty_3 = 1102 ; pub const _CS_XBS5_ILP32_OFF32_LINTFLAGS : _bindgen_ty_3 = 1103 ; pub const _CS_XBS5_ILP32_OFFBIG_CFLAGS : _bindgen_ty_3 = 1104 ; pub const _CS_XBS5_ILP32_OFFBIG_LDFLAGS : _bindgen_ty_3 = 1105 ; pub const _CS_XBS5_ILP32_OFFBIG_LIBS : _bindgen_ty_3 = 1106 ; pub const _CS_XBS5_ILP32_OFFBIG_LINTFLAGS : _bindgen_ty_3 = 1107 ; pub const _CS_XBS5_LP64_OFF64_CFLAGS : _bindgen_ty_3 = 1108 ; pub const _CS_XBS5_LP64_OFF64_LDFLAGS : _bindgen_ty_3 = 1109 ; pub const _CS_XBS5_LP64_OFF64_LIBS : _bindgen_ty_3 = 1110 ; pub const _CS_XBS5_LP64_OFF64_LINTFLAGS : _bindgen_ty_3 = 1111 ; pub const _CS_XBS5_LPBIG_OFFBIG_CFLAGS : _bindgen_ty_3 = 1112 ; pub const _CS_XBS5_LPBIG_OFFBIG_LDFLAGS : _bindgen_ty_3 = 1113 ; pub const _CS_XBS5_LPBIG_OFFBIG_LIBS : _bindgen_ty_3 = 1114 ; pub const _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS : _bindgen_ty_3 = 1115 ; pub const _CS_POSIX_V6_ILP32_OFF32_CFLAGS : _bindgen_ty_3 = 1116 ; pub const _CS_POSIX_V6_ILP32_OFF32_LDFLAGS : _bindgen_ty_3 = 1117 ; pub const _CS_POSIX_V6_ILP32_OFF32_LIBS : _bindgen_ty_3 = 1118 ; pub const _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS : _bindgen_ty_3 = 1119 ; pub const _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS : _bindgen_ty_3 = 1120 ; pub const _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS : _bindgen_ty_3 = 1121 ; pub const _CS_POSIX_V6_ILP32_OFFBIG_LIBS : _bindgen_ty_3 = 1122 ; pub const _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS : _bindgen_ty_3 = 1123 ; pub const _CS_POSIX_V6_LP64_OFF64_CFLAGS : _bindgen_ty_3 = 1124 ; pub const _CS_POSIX_V6_LP64_OFF64_LDFLAGS : _bindgen_ty_3 = 1125 ; pub const _CS_POSIX_V6_LP64_OFF64_LIBS : _bindgen_ty_3 = 1126 ; pub const _CS_POSIX_V6_LP64_OFF64_LINTFLAGS : _bindgen_ty_3 = 1127 ; pub const _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS : _bindgen_ty_3 = 1128 ; pub const _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS : _bindgen_ty_3 = 1129 ; pub const _CS_POSIX_V6_LPBIG_OFFBIG_LIBS : _bindgen_ty_3 = 1130 ; pub const _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS : _bindgen_ty_3 = 1131 ; pub const _CS_POSIX_V7_ILP32_OFF32_CFLAGS : _bindgen_ty_3 = 1132 ; pub const _CS_POSIX_V7_ILP32_OFF32_LDFLAGS : _bindgen_ty_3 = 1133 ; pub const _CS_POSIX_V7_ILP32_OFF32_LIBS : _bindgen_ty_3 = 1134 ; pub const _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS : _bindgen_ty_3 = 1135 ; pub const _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS : _bindgen_ty_3 = 1136 ; pub const _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS : _bindgen_ty_3 = 1137 ; pub const _CS_POSIX_V7_ILP32_OFFBIG_LIBS : _bindgen_ty_3 = 1138 ; pub const _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS : _bindgen_ty_3 = 1139 ; pub const _CS_POSIX_V7_LP64_OFF64_CFLAGS : _bindgen_ty_3 = 1140 ; pub const _CS_POSIX_V7_LP64_OFF64_LDFLAGS : _bindgen_ty_3 = 1141 ; pub const _CS_POSIX_V7_LP64_OFF64_LIBS : _bindgen_ty_3 = 1142 ; pub const _CS_POSIX_V7_LP64_OFF64_LINTFLAGS : _bindgen_ty_3 = 1143 ; pub const _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS : _bindgen_ty_3 = 1144 ; pub const _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS : _bindgen_ty_3 = 1145 ; pub const _CS_POSIX_V7_LPBIG_OFFBIG_LIBS : _bindgen_ty_3 = 1146 ; pub const _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS : _bindgen_ty_3 = 1147 ; pub const _CS_V6_ENV : _bindgen_ty_3 = 1148 ; pub const _CS_V7_ENV : _bindgen_ty_3 = 1149 ; pub type _bindgen_ty_3 = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn pathconf (__path : * const :: std :: os :: raw :: c_char , __name : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn fpathconf (__fd : :: std :: os :: raw :: c_int , __name : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn sysconf (__name : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn confstr (__name : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> usize ; } unsafe extern "C" { pub fn getpid () -> __pid_t ; } unsafe extern "C" { pub fn getppid () -> __pid_t ; } unsafe extern "C" { pub fn getpgrp () -> __pid_t ; } unsafe extern "C" { pub fn __getpgid (__pid : __pid_t) -> __pid_t ; } unsafe extern "C" { pub fn getpgid (__pid : __pid_t) -> __pid_t ; } unsafe extern "C" { pub fn setpgid (__pid : __pid_t , __pgid : __pid_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setpgrp () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setsid () -> __pid_t ; } unsafe extern "C" { pub fn getsid (__pid : __pid_t) -> __pid_t ; } unsafe extern "C" { pub fn getuid () -> __uid_t ; } unsafe extern "C" { pub fn geteuid () -> __uid_t ; } unsafe extern "C" { pub fn getgid () -> __gid_t ; } unsafe extern "C" { pub fn getegid () -> __gid_t ; } unsafe extern "C" { pub fn getgroups (__size : :: std :: os :: raw :: c_int , __list : * mut __gid_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setuid (__uid : __uid_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setreuid (__ruid : __uid_t , __euid : __uid_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn seteuid (__uid : __uid_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setgid (__gid : __gid_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setregid (__rgid : __gid_t , __egid : __gid_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setegid (__gid : __gid_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fork () -> __pid_t ; } unsafe extern "C" { pub fn vfork () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ttyname (__fd : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn ttyname_r (__fd : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __buflen : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isatty (__fd : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ttyslot () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn link (__from : * const :: std :: os :: raw :: c_char , __to : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn linkat (__fromfd : :: std :: os :: raw :: c_int , __from : * const :: std :: os :: raw :: c_char , __tofd : :: std :: os :: raw :: c_int , __to : * const :: std :: os :: raw :: c_char , __flags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn symlink (__from : * const :: std :: os :: raw :: c_char , __to : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn readlink (__path : * const :: std :: os :: raw :: c_char , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> isize ; } unsafe extern "C" { pub fn symlinkat (__from : * const :: std :: os :: raw :: c_char , __tofd : :: std :: os :: raw :: c_int , __to : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn readlinkat (__fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> isize ; } unsafe extern "C" { pub fn unlink (__name : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn unlinkat (__fd : :: std :: os :: raw :: c_int , __name : * const :: std :: os :: raw :: c_char , __flag : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn rmdir (__path : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn tcgetpgrp (__fd : :: std :: os :: raw :: c_int) -> __pid_t ; } unsafe extern "C" { pub fn tcsetpgrp (__fd : :: std :: os :: raw :: c_int , __pgrp_id : __pid_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getlogin () -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn getlogin_r (__name : * mut :: std :: os :: raw :: c_char , __name_len : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setlogin (__name : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub static mut optarg : * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub static mut optind : :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub static mut opterr : :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub static mut optopt : :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getopt (___argc : :: std :: os :: raw :: c_int , ___argv : * const * mut :: std :: os :: raw :: c_char , __shortopts : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gethostname (__name : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sethostname (__name : * const :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sethostid (__id : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getdomainname (__name : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setdomainname (__name : * const :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vhangup () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn revoke (__file : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn profil (__sample_buffer : * mut :: std :: os :: raw :: c_ushort , __size : usize , __offset : usize , __scale : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn acct (__name : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getusershell () -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn endusershell () ; } unsafe extern "C" { pub fn setusershell () ; } unsafe extern "C" { pub fn daemon (__nochdir : :: std :: os :: raw :: c_int , __noclose : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn chroot (__path : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getpass (__prompt : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn fsync (__fd : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gethostid () -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn sync () ; } unsafe extern "C" { pub fn getpagesize () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getdtablesize () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn truncate (__file : * const :: std :: os :: raw :: c_char , __length : __off_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftruncate (__fd : :: std :: os :: raw :: c_int , __length : __off_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn brk (__addr : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sbrk (__delta : isize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn syscall (__sysno : :: std :: os :: raw :: c_long , ...) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn lockf (__fd : :: std :: os :: raw :: c_int , __cmd : :: std :: os :: raw :: c_int , __len : __off_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fdatasync (__fildes : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn crypt (__key : * const :: std :: os :: raw :: c_char , __salt : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn getentropy (__buffer : * mut :: std :: os :: raw :: c_void , __length : usize) -> :: std :: os :: raw :: c_int ; } pub type alloc_func = :: std :: option :: Option < unsafe extern "C" fn (opaque : voidpf , items : uInt , size : uInt) -> voidpf > ; pub type free_func = :: std :: option :: Option < unsafe extern "C" fn (opaque : voidpf , address : voidpf) > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct internal_state { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct z_stream_s { pub next_in : * mut Bytef , pub avail_in : uInt , pub total_in : uLong , pub next_out : * mut Bytef , pub avail_out : uInt , pub total_out : uLong , pub msg : * mut :: std :: os :: raw :: c_char , pub state : * mut internal_state , pub zalloc : alloc_func , pub zfree : free_func , pub opaque : voidpf , pub data_type : :: std :: os :: raw :: c_int , pub adler : uLong , pub reserved : uLong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of z_stream_s"] [:: std :: mem :: size_of :: < z_stream_s > () - 112usize] ; ["Alignment of z_stream_s"] [:: std :: mem :: align_of :: < z_stream_s > () - 8usize] ; ["Offset of field: z_stream_s::next_in"] [:: std :: mem :: offset_of ! (z_stream_s , next_in) - 0usize] ; ["Offset of field: z_stream_s::avail_in"] [:: std :: mem :: offset_of ! (z_stream_s , avail_in) - 8usize] ; ["Offset of field: z_stream_s::total_in"] [:: std :: mem :: offset_of ! (z_stream_s , total_in) - 16usize] ; ["Offset of field: z_stream_s::next_out"] [:: std :: mem :: offset_of ! (z_stream_s , next_out) - 24usize] ; ["Offset of field: z_stream_s::avail_out"] [:: std :: mem :: offset_of ! (z_stream_s , avail_out) - 32usize] ; ["Offset of field: z_stream_s::total_out"] [:: std :: mem :: offset_of ! (z_stream_s , total_out) - 40usize] ; ["Offset of field: z_stream_s::msg"] [:: std :: mem :: offset_of ! (z_stream_s , msg) - 48usize] ; ["Offset of field: z_stream_s::state"] [:: std :: mem :: offset_of ! (z_stream_s , state) - 56usize] ; ["Offset of field: z_stream_s::zalloc"] [:: std :: mem :: offset_of ! (z_stream_s , zalloc) - 64usize] ; ["Offset of field: z_stream_s::zfree"] [:: std :: mem :: offset_of ! (z_stream_s , zfree) - 72usize] ; ["Offset of field: z_stream_s::opaque"] [:: std :: mem :: offset_of ! (z_stream_s , opaque) - 80usize] ; ["Offset of field: z_stream_s::data_type"] [:: std :: mem :: offset_of ! (z_stream_s , data_type) - 88usize] ; ["Offset of field: z_stream_s::adler"] [:: std :: mem :: offset_of ! (z_stream_s , adler) - 96usize] ; ["Offset of field: z_stream_s::reserved"] [:: std :: mem :: offset_of ! (z_stream_s , reserved) - 104usize] ; } ; pub type z_stream = z_stream_s ; pub type z_streamp = * mut z_stream ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct gz_header_s { pub text : :: std :: os :: raw :: c_int , pub time : uLong , pub xflags : :: std :: os :: raw :: c_int , pub os : :: std :: os :: raw :: c_int , pub extra : * mut Bytef , pub extra_len : uInt , pub extra_max : uInt , pub name : * mut Bytef , pub name_max : uInt , pub comment : * mut Bytef , pub comm_max : uInt , pub hcrc : :: std :: os :: raw :: c_int , pub done : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of gz_header_s"] [:: std :: mem :: size_of :: < gz_header_s > () - 80usize] ; ["Alignment of gz_header_s"] [:: std :: mem :: align_of :: < gz_header_s > () - 8usize] ; ["Offset of field: gz_header_s::text"] [:: std :: mem :: offset_of ! (gz_header_s , text) - 0usize] ; ["Offset of field: gz_header_s::time"] [:: std :: mem :: offset_of ! (gz_header_s , time) - 8usize] ; ["Offset of field: gz_header_s::xflags"] [:: std :: mem :: offset_of ! (gz_header_s , xflags) - 16usize] ; ["Offset of field: gz_header_s::os"] [:: std :: mem :: offset_of ! (gz_header_s , os) - 20usize] ; ["Offset of field: gz_header_s::extra"] [:: std :: mem :: offset_of ! (gz_header_s , extra) - 24usize] ; ["Offset of field: gz_header_s::extra_len"] [:: std :: mem :: offset_of ! (gz_header_s , extra_len) - 32usize] ; ["Offset of field: gz_header_s::extra_max"] [:: std :: mem :: offset_of ! (gz_header_s , extra_max) - 36usize] ; ["Offset of field: gz_header_s::name"] [:: std :: mem :: offset_of ! (gz_header_s , name) - 40usize] ; ["Offset of field: gz_header_s::name_max"] [:: std :: mem :: offset_of ! (gz_header_s , name_max) - 48usize] ; ["Offset of field: gz_header_s::comment"] [:: std :: mem :: offset_of ! (gz_header_s , comment) - 56usize] ; ["Offset of field: gz_header_s::comm_max"] [:: std :: mem :: offset_of ! (gz_header_s , comm_max) - 64usize] ; ["Offset of field: gz_header_s::hcrc"] [:: std :: mem :: offset_of ! (gz_header_s , hcrc) - 68usize] ; ["Offset of field: gz_header_s::done"] [:: std :: mem :: offset_of ! (gz_header_s , done) - 72usize] ; } ; pub type gz_header = gz_header_s ; pub type gz_headerp = * mut gz_header ; unsafe extern "C" { pub fn zlibVersion () -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn deflate (strm : z_streamp , flush : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn deflateEnd (strm : z_streamp) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn inflate (strm : z_streamp , flush : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn inflateEnd (strm : z_streamp) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn deflateSetDictionary (strm : z_streamp , dictionary : * const Bytef , dictLength : uInt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn deflateGetDictionary (strm : z_streamp , dictionary : * mut Bytef , dictLength : * mut uInt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn deflateCopy (dest : z_streamp , source : z_streamp) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn deflateReset (strm : z_streamp) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn deflateParams (strm : z_streamp , level : :: std :: os :: raw :: c_int , strategy : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn deflateTune (strm : z_streamp , good_length : :: std :: os :: raw :: c_int , max_lazy : :: std :: os :: raw :: c_int , nice_length : :: std :: os :: raw :: c_int , max_chain : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn deflateBound (strm : z_streamp , sourceLen : uLong) -> uLong ; } unsafe extern "C" { pub fn deflatePending (strm : z_streamp , pending : * mut :: std :: os :: raw :: c_uint , bits : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn deflatePrime (strm : z_streamp , bits : :: std :: os :: raw :: c_int , value : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn deflateSetHeader (strm : z_streamp , head : gz_headerp) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn inflateSetDictionary (strm : z_streamp , dictionary : * const Bytef , dictLength : uInt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn inflateGetDictionary (strm : z_streamp , dictionary : * mut Bytef , dictLength : * mut uInt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn inflateSync (strm : z_streamp) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn inflateCopy (dest : z_streamp , source : z_streamp) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn inflateReset (strm : z_streamp) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn inflateReset2 (strm : z_streamp , windowBits : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn inflatePrime (strm : z_streamp , bits : :: std :: os :: raw :: c_int , value : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn inflateMark (strm : z_streamp) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn inflateGetHeader (strm : z_streamp , head : gz_headerp) -> :: std :: os :: raw :: c_int ; } pub type in_func = :: std :: option :: Option < unsafe extern "C" fn (arg1 : * mut :: std :: os :: raw :: c_void , arg2 : * mut * mut :: std :: os :: raw :: c_uchar) -> :: std :: os :: raw :: c_uint > ; pub type out_func = :: std :: option :: Option < unsafe extern "C" fn (arg1 : * mut :: std :: os :: raw :: c_void , arg2 : * mut :: std :: os :: raw :: c_uchar , arg3 : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn inflateBack (strm : z_streamp , in_ : in_func , in_desc : * mut :: std :: os :: raw :: c_void , out : out_func , out_desc : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn inflateBackEnd (strm : z_streamp) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn zlibCompileFlags () -> uLong ; } unsafe extern "C" { pub fn compress (dest : * mut Bytef , destLen : * mut uLongf , source : * const Bytef , sourceLen : uLong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn compress2 (dest : * mut Bytef , destLen : * mut uLongf , source : * const Bytef , sourceLen : uLong , level : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn compressBound (sourceLen : uLong) -> uLong ; } unsafe extern "C" { pub fn uncompress (dest : * mut Bytef , destLen : * mut uLongf , source : * const Bytef , sourceLen : uLong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn uncompress2 (dest : * mut Bytef , destLen : * mut uLongf , source : * const Bytef , sourceLen : * mut uLong) -> :: std :: os :: raw :: c_int ; } pub type gzFile = * mut gzFile_s ; unsafe extern "C" { pub fn gzdopen (fd : :: std :: os :: raw :: c_int , mode : * const :: std :: os :: raw :: c_char) -> gzFile ; } unsafe extern "C" { pub fn gzbuffer (file : gzFile , size : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzsetparams (file : gzFile , level : :: std :: os :: raw :: c_int , strategy : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzread (file : gzFile , buf : voidp , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzfread (buf : voidp , size : z_size_t , nitems : z_size_t , file : gzFile) -> z_size_t ; } unsafe extern "C" { pub fn gzwrite (file : gzFile , buf : voidpc , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzfwrite (buf : voidpc , size : z_size_t , nitems : z_size_t , file : gzFile) -> z_size_t ; } unsafe extern "C" { pub fn gzprintf (file : gzFile , format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzputs (file : gzFile , s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzgets (file : gzFile , buf : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn gzputc (file : gzFile , c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzgetc (file : gzFile) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzungetc (c : :: std :: os :: raw :: c_int , file : gzFile) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzflush (file : gzFile , flush : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzrewind (file : gzFile) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzeof (file : gzFile) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzdirect (file : gzFile) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzclose (file : gzFile) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzclose_r (file : gzFile) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzclose_w (file : gzFile) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzerror (file : gzFile , errnum : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn gzclearerr (file : gzFile) ; } unsafe extern "C" { pub fn adler32 (adler : uLong , buf : * const Bytef , len : uInt) -> uLong ; } unsafe extern "C" { pub fn adler32_z (adler : uLong , buf : * const Bytef , len : z_size_t) -> uLong ; } unsafe extern "C" { pub fn crc32 (crc : uLong , buf : * const Bytef , len : uInt) -> uLong ; } unsafe extern "C" { pub fn crc32_z (crc : uLong , buf : * const Bytef , len : z_size_t) -> uLong ; } unsafe extern "C" { pub fn crc32_combine_op (crc1 : uLong , crc2 : uLong , op : uLong) -> uLong ; } unsafe extern "C" { pub fn deflateInit_ (strm : z_streamp , level : :: std :: os :: raw :: c_int , version : * const :: std :: os :: raw :: c_char , stream_size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn inflateInit_ (strm : z_streamp , version : * const :: std :: os :: raw :: c_char , stream_size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn deflateInit2_ (strm : z_streamp , level : :: std :: os :: raw :: c_int , method : :: std :: os :: raw :: c_int , windowBits : :: std :: os :: raw :: c_int , memLevel : :: std :: os :: raw :: c_int , strategy : :: std :: os :: raw :: c_int , version : * const :: std :: os :: raw :: c_char , stream_size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn inflateInit2_ (strm : z_streamp , windowBits : :: std :: os :: raw :: c_int , version : * const :: std :: os :: raw :: c_char , stream_size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn inflateBackInit_ (strm : z_streamp , windowBits : :: std :: os :: raw :: c_int , window : * mut :: std :: os :: raw :: c_uchar , version : * const :: std :: os :: raw :: c_char , stream_size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct gzFile_s { pub have : :: std :: os :: raw :: c_uint , pub next : * mut :: std :: os :: raw :: c_uchar , pub pos : off_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of gzFile_s"] [:: std :: mem :: size_of :: < gzFile_s > () - 24usize] ; ["Alignment of gzFile_s"] [:: std :: mem :: align_of :: < gzFile_s > () - 8usize] ; ["Offset of field: gzFile_s::have"] [:: std :: mem :: offset_of ! (gzFile_s , have) - 0usize] ; ["Offset of field: gzFile_s::next"] [:: std :: mem :: offset_of ! (gzFile_s , next) - 8usize] ; ["Offset of field: gzFile_s::pos"] [:: std :: mem :: offset_of ! (gzFile_s , pos) - 16usize] ; } ; unsafe extern "C" { pub fn gzgetc_ (file : gzFile) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzopen (arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char) -> gzFile ; } unsafe extern "C" { pub fn gzseek (arg1 : gzFile , arg2 : off_t , arg3 : :: std :: os :: raw :: c_int) -> off_t ; } unsafe extern "C" { pub fn gztell (arg1 : gzFile) -> off_t ; } unsafe extern "C" { pub fn gzoffset (arg1 : gzFile) -> off_t ; } unsafe extern "C" { pub fn adler32_combine (arg1 : uLong , arg2 : uLong , arg3 : off_t) -> uLong ; } unsafe extern "C" { pub fn crc32_combine (arg1 : uLong , arg2 : uLong , arg3 : off_t) -> uLong ; } unsafe extern "C" { pub fn crc32_combine_gen (arg1 : off_t) -> uLong ; } unsafe extern "C" { pub fn zError (arg1 : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn inflateSyncPoint (arg1 : z_streamp) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn get_crc_table () -> * const z_crc_t ; } unsafe extern "C" { pub fn inflateUndermine (arg1 : z_streamp , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn inflateValidate (arg1 : z_streamp , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn inflateCodesUsed (arg1 : z_streamp) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn inflateResetKeep (arg1 : z_streamp) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn deflateResetKeep (arg1 : z_streamp) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn gzvprintf (file : gzFile , format : * const :: std :: os :: raw :: c_char , va : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Alignment of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wch"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wch) - 0usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wchb"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wchb) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t"] [:: std :: mem :: size_of :: < __mbstate_t > () - 8usize] ; ["Alignment of __mbstate_t"] [:: std :: mem :: align_of :: < __mbstate_t > () - 4usize] ; ["Offset of field: __mbstate_t::__count"] [:: std :: mem :: offset_of ! (__mbstate_t , __count) - 0usize] ; ["Offset of field: __mbstate_t::__value"] [:: std :: mem :: offset_of ! (__mbstate_t , __value) - 4usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos_t"] [:: std :: mem :: size_of :: < _G_fpos_t > () - 16usize] ; ["Alignment of _G_fpos_t"] [:: std :: mem :: align_of :: < _G_fpos_t > () - 8usize] ; ["Offset of field: _G_fpos_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos_t , __pos) - 0usize] ; ["Offset of field: _G_fpos_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos_t , __state) - 8usize] ; } ; pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos64_t"] [:: std :: mem :: size_of :: < _G_fpos64_t > () - 16usize] ; ["Alignment of _G_fpos64_t"] [:: std :: mem :: align_of :: < _G_fpos64_t > () - 8usize] ; ["Offset of field: _G_fpos64_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __pos) - 0usize] ; ["Offset of field: _G_fpos64_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __state) - 8usize] ; } ; pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; 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 = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: 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 :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [:: std :: os :: raw :: c_char ; 20usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: std :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: std :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: std :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: std :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: std :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_flags2"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags2) - 116usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: std :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: std :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: std :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: std :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::__pad5"] [:: std :: mem :: offset_of ! (_IO_FILE , __pad5) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: std :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused2) - 196usize] ; } ; pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_cookie_io_functions_t"] [:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () - 32usize] ; ["Alignment of _IO_cookie_io_functions_t"] [:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::read"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , read) - 0usize] ; ["Offset of field: _IO_cookie_io_functions_t::write"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , write) - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::seek"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , seek) - 16usize] ; ["Offset of field: _IO_cookie_io_functions_t::close"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , close) - 24usize] ; } ; pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type fpos_t = __fpos_t ; unsafe extern "C" { pub static mut stdin : * mut FILE ; } unsafe extern "C" { pub static mut stdout : * mut FILE ; } unsafe extern "C" { pub static mut stderr : * mut FILE ; } unsafe extern "C" { pub fn remove (__filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn rename (__old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn tmpfile () -> * mut FILE ; } unsafe extern "C" { pub fn tmpnam (arg1 : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } unsafe extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } unsafe extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } unsafe extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } unsafe extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; unsafe extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn rewind (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftello (__stream : * mut FILE) -> __off_t ; } unsafe extern "C" { pub fn fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn flockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm128_t { pub x : u64 , pub y : u64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mm128_t"] [:: std :: mem :: size_of :: < mm128_t > () - 16usize] ; ["Alignment of mm128_t"] [:: std :: mem :: align_of :: < mm128_t > () - 8usize] ; ["Offset of field: mm128_t::x"] [:: std :: mem :: offset_of ! (mm128_t , x) - 0usize] ; ["Offset of field: mm128_t::y"] [:: std :: mem :: offset_of ! (mm128_t , y) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm128_v { pub n : usize , pub m : usize , pub a : * mut mm128_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mm128_v"] [:: std :: mem :: size_of :: < mm128_v > () - 24usize] ; ["Alignment of mm128_v"] [:: std :: mem :: align_of :: < mm128_v > () - 8usize] ; ["Offset of field: mm128_v::n"] [:: std :: mem :: offset_of ! (mm128_v , n) - 0usize] ; ["Offset of field: mm128_v::m"] [:: std :: mem :: offset_of ! (mm128_v , m) - 8usize] ; ["Offset of field: mm128_v::a"] [:: std :: mem :: offset_of ! (mm128_v , a) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm_idx_seq_t { pub name : * mut :: std :: os :: raw :: c_char , pub offset : u64 , pub len : u32 , pub is_alt : u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mm_idx_seq_t"] [:: std :: mem :: size_of :: < mm_idx_seq_t > () - 24usize] ; ["Alignment of mm_idx_seq_t"] [:: std :: mem :: align_of :: < mm_idx_seq_t > () - 8usize] ; ["Offset of field: mm_idx_seq_t::name"] [:: std :: mem :: offset_of ! (mm_idx_seq_t , name) - 0usize] ; ["Offset of field: mm_idx_seq_t::offset"] [:: std :: mem :: offset_of ! (mm_idx_seq_t , offset) - 8usize] ; ["Offset of field: mm_idx_seq_t::len"] [:: std :: mem :: offset_of ! (mm_idx_seq_t , len) - 16usize] ; ["Offset of field: mm_idx_seq_t::is_alt"] [:: std :: mem :: offset_of ! (mm_idx_seq_t , is_alt) - 20usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm_idx_t { pub b : i32 , pub w : i32 , pub k : i32 , pub flag : i32 , pub n_seq : u32 , pub index : i32 , pub n_alt : i32 , pub seq : * mut mm_idx_seq_t , pub S : * mut u32 , pub B : * mut mm_idx_bucket_s , pub I : * mut mm_idx_intv_s , pub spsc : * mut mm_idx_spsc_s , pub J : * mut mm_idx_jjump_s , pub km : * mut :: std :: os :: raw :: c_void , pub h : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mm_idx_t"] [:: std :: mem :: size_of :: < mm_idx_t > () - 96usize] ; ["Alignment of mm_idx_t"] [:: std :: mem :: align_of :: < mm_idx_t > () - 8usize] ; ["Offset of field: mm_idx_t::b"] [:: std :: mem :: offset_of ! (mm_idx_t , b) - 0usize] ; ["Offset of field: mm_idx_t::w"] [:: std :: mem :: offset_of ! (mm_idx_t , w) - 4usize] ; ["Offset of field: mm_idx_t::k"] [:: std :: mem :: offset_of ! (mm_idx_t , k) - 8usize] ; ["Offset of field: mm_idx_t::flag"] [:: std :: mem :: offset_of ! (mm_idx_t , flag) - 12usize] ; ["Offset of field: mm_idx_t::n_seq"] [:: std :: mem :: offset_of ! (mm_idx_t , n_seq) - 16usize] ; ["Offset of field: mm_idx_t::index"] [:: std :: mem :: offset_of ! (mm_idx_t , index) - 20usize] ; ["Offset of field: mm_idx_t::n_alt"] [:: std :: mem :: offset_of ! (mm_idx_t , n_alt) - 24usize] ; ["Offset of field: mm_idx_t::seq"] [:: std :: mem :: offset_of ! (mm_idx_t , seq) - 32usize] ; ["Offset of field: mm_idx_t::S"] [:: std :: mem :: offset_of ! (mm_idx_t , S) - 40usize] ; ["Offset of field: mm_idx_t::B"] [:: std :: mem :: offset_of ! (mm_idx_t , B) - 48usize] ; ["Offset of field: mm_idx_t::I"] [:: std :: mem :: offset_of ! (mm_idx_t , I) - 56usize] ; ["Offset of field: mm_idx_t::spsc"] [:: std :: mem :: offset_of ! (mm_idx_t , spsc) - 64usize] ; ["Offset of field: mm_idx_t::J"] [:: std :: mem :: offset_of ! (mm_idx_t , J) - 72usize] ; ["Offset of field: mm_idx_t::km"] [:: std :: mem :: offset_of ! (mm_idx_t , km) - 80usize] ; ["Offset of field: mm_idx_t::h"] [:: std :: mem :: offset_of ! (mm_idx_t , h) - 88usize] ; } ; # [repr (C)] # [derive (Debug)] pub struct mm_extra_t { pub capacity : u32 , pub dp_score : i32 , pub dp_max : i32 , pub dp_max2 : i32 , pub dp_max0 : i32 , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 4usize] > , pub n_cigar : u32 , pub cigar : __IncompleteArrayField < u32 > , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mm_extra_t"] [:: std :: mem :: size_of :: < mm_extra_t > () - 28usize] ; ["Alignment of mm_extra_t"] [:: std :: mem :: align_of :: < mm_extra_t > () - 4usize] ; ["Offset of field: mm_extra_t::capacity"] [:: std :: mem :: offset_of ! (mm_extra_t , capacity) - 0usize] ; ["Offset of field: mm_extra_t::dp_score"] [:: std :: mem :: offset_of ! (mm_extra_t , dp_score) - 4usize] ; ["Offset of field: mm_extra_t::dp_max"] [:: std :: mem :: offset_of ! (mm_extra_t , dp_max) - 8usize] ; ["Offset of field: mm_extra_t::dp_max2"] [:: std :: mem :: offset_of ! (mm_extra_t , dp_max2) - 12usize] ; ["Offset of field: mm_extra_t::dp_max0"] [:: std :: mem :: offset_of ! (mm_extra_t , dp_max0) - 16usize] ; ["Offset of field: mm_extra_t::n_cigar"] [:: std :: mem :: offset_of ! (mm_extra_t , n_cigar) - 24usize] ; ["Offset of field: mm_extra_t::cigar"] [:: std :: mem :: offset_of ! (mm_extra_t , cigar) - 28usize] ; } ; impl mm_extra_t { # [inline] pub fn n_ambi (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 30u8) as u32) } } # [inline] pub fn set_n_ambi (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 30u8 , val as u64) } } # [inline] pub unsafe fn n_ambi_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 30u8 ,) as u32) } } # [inline] pub unsafe fn set_n_ambi_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 0usize , 30u8 , val as u64 ,) } } # [inline] pub fn trans_strand (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (30usize , 2u8) as u32) } } # [inline] pub fn set_trans_strand (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (30usize , 2u8 , val as u64) } } # [inline] pub unsafe fn trans_strand_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 30usize , 2u8 ,) as u32) } } # [inline] pub unsafe fn set_trans_strand_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 30usize , 2u8 , val as u64 ,) } } # [inline] pub fn new_bitfield_1 (n_ambi : u32 , trans_strand : u32) -> __BindgenBitfieldUnit < [u8 ; 4usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 4usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 30u8 , { let n_ambi : u32 = unsafe { :: std :: mem :: transmute (n_ambi) } ; n_ambi as u64 }) ; __bindgen_bitfield_unit . set (30usize , 2u8 , { let trans_strand : u32 = unsafe { :: std :: mem :: transmute (trans_strand) } ; trans_strand as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm_reg1_t { pub id : i32 , pub cnt : i32 , pub rid : i32 , pub score : i32 , pub qs : i32 , pub qe : i32 , pub rs : i32 , pub re : i32 , pub parent : i32 , pub subsc : i32 , pub as_ : i32 , pub mlen : i32 , pub blen : i32 , pub n_sub : i32 , pub score0 : i32 , pub _bitfield_align_1 : [u8 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 4usize] > , pub hash : u32 , pub div : f32 , pub p : * mut mm_extra_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mm_reg1_t"] [:: std :: mem :: size_of :: < mm_reg1_t > () - 80usize] ; ["Alignment of mm_reg1_t"] [:: std :: mem :: align_of :: < mm_reg1_t > () - 8usize] ; ["Offset of field: mm_reg1_t::id"] [:: std :: mem :: offset_of ! (mm_reg1_t , id) - 0usize] ; ["Offset of field: mm_reg1_t::cnt"] [:: std :: mem :: offset_of ! (mm_reg1_t , cnt) - 4usize] ; ["Offset of field: mm_reg1_t::rid"] [:: std :: mem :: offset_of ! (mm_reg1_t , rid) - 8usize] ; ["Offset of field: mm_reg1_t::score"] [:: std :: mem :: offset_of ! (mm_reg1_t , score) - 12usize] ; ["Offset of field: mm_reg1_t::qs"] [:: std :: mem :: offset_of ! (mm_reg1_t , qs) - 16usize] ; ["Offset of field: mm_reg1_t::qe"] [:: std :: mem :: offset_of ! (mm_reg1_t , qe) - 20usize] ; ["Offset of field: mm_reg1_t::rs"] [:: std :: mem :: offset_of ! (mm_reg1_t , rs) - 24usize] ; ["Offset of field: mm_reg1_t::re"] [:: std :: mem :: offset_of ! (mm_reg1_t , re) - 28usize] ; ["Offset of field: mm_reg1_t::parent"] [:: std :: mem :: offset_of ! (mm_reg1_t , parent) - 32usize] ; ["Offset of field: mm_reg1_t::subsc"] [:: std :: mem :: offset_of ! (mm_reg1_t , subsc) - 36usize] ; ["Offset of field: mm_reg1_t::as_"] [:: std :: mem :: offset_of ! (mm_reg1_t , as_) - 40usize] ; ["Offset of field: mm_reg1_t::mlen"] [:: std :: mem :: offset_of ! (mm_reg1_t , mlen) - 44usize] ; ["Offset of field: mm_reg1_t::blen"] [:: std :: mem :: offset_of ! (mm_reg1_t , blen) - 48usize] ; ["Offset of field: mm_reg1_t::n_sub"] [:: std :: mem :: offset_of ! (mm_reg1_t , n_sub) - 52usize] ; ["Offset of field: mm_reg1_t::score0"] [:: std :: mem :: offset_of ! (mm_reg1_t , score0) - 56usize] ; ["Offset of field: mm_reg1_t::hash"] [:: std :: mem :: offset_of ! (mm_reg1_t , hash) - 64usize] ; ["Offset of field: mm_reg1_t::div"] [:: std :: mem :: offset_of ! (mm_reg1_t , div) - 68usize] ; ["Offset of field: mm_reg1_t::p"] [:: std :: mem :: offset_of ! (mm_reg1_t , p) - 72usize] ; } ; impl mm_reg1_t { # [inline] pub fn mapq (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 8u8) as u32) } } # [inline] pub fn set_mapq (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 8u8 , val as u64) } } # [inline] pub unsafe fn mapq_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 8u8 ,) as u32) } } # [inline] pub unsafe fn set_mapq_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 0usize , 8u8 , val as u64 ,) } } # [inline] pub fn split (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (8usize , 2u8) as u32) } } # [inline] pub fn set_split (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (8usize , 2u8 , val as u64) } } # [inline] pub unsafe fn split_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 8usize , 2u8 ,) as u32) } } # [inline] pub unsafe fn set_split_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 8usize , 2u8 , val as u64 ,) } } # [inline] pub fn rev (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (10usize , 1u8) as u32) } } # [inline] pub fn set_rev (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (10usize , 1u8 , val as u64) } } # [inline] pub unsafe fn rev_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 10usize , 1u8 ,) as u32) } } # [inline] pub unsafe fn set_rev_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 10usize , 1u8 , val as u64 ,) } } # [inline] pub fn inv (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (11usize , 1u8) as u32) } } # [inline] pub fn set_inv (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (11usize , 1u8 , val as u64) } } # [inline] pub unsafe fn inv_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 11usize , 1u8 ,) as u32) } } # [inline] pub unsafe fn set_inv_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 11usize , 1u8 , val as u64 ,) } } # [inline] pub fn sam_pri (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (12usize , 1u8) as u32) } } # [inline] pub fn set_sam_pri (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (12usize , 1u8 , val as u64) } } # [inline] pub unsafe fn sam_pri_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 12usize , 1u8 ,) as u32) } } # [inline] pub unsafe fn set_sam_pri_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 12usize , 1u8 , val as u64 ,) } } # [inline] pub fn proper_frag (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (13usize , 1u8) as u32) } } # [inline] pub fn set_proper_frag (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (13usize , 1u8 , val as u64) } } # [inline] pub unsafe fn proper_frag_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 13usize , 1u8 ,) as u32) } } # [inline] pub unsafe fn set_proper_frag_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 13usize , 1u8 , val as u64 ,) } } # [inline] pub fn pe_thru (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (14usize , 1u8) as u32) } } # [inline] pub fn set_pe_thru (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (14usize , 1u8 , val as u64) } } # [inline] pub unsafe fn pe_thru_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 14usize , 1u8 ,) as u32) } } # [inline] pub unsafe fn set_pe_thru_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 14usize , 1u8 , val as u64 ,) } } # [inline] pub fn seg_split (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (15usize , 1u8) as u32) } } # [inline] pub fn set_seg_split (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (15usize , 1u8 , val as u64) } } # [inline] pub unsafe fn seg_split_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 15usize , 1u8 ,) as u32) } } # [inline] pub unsafe fn set_seg_split_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 15usize , 1u8 , val as u64 ,) } } # [inline] pub fn seg_id (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (16usize , 8u8) as u32) } } # [inline] pub fn set_seg_id (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (16usize , 8u8 , val as u64) } } # [inline] pub unsafe fn seg_id_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 16usize , 8u8 ,) as u32) } } # [inline] pub unsafe fn set_seg_id_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 16usize , 8u8 , val as u64 ,) } } # [inline] pub fn split_inv (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (24usize , 1u8) as u32) } } # [inline] pub fn set_split_inv (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (24usize , 1u8 , val as u64) } } # [inline] pub unsafe fn split_inv_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 24usize , 1u8 ,) as u32) } } # [inline] pub unsafe fn set_split_inv_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 24usize , 1u8 , val as u64 ,) } } # [inline] pub fn is_alt (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (25usize , 1u8) as u32) } } # [inline] pub fn set_is_alt (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (25usize , 1u8 , val as u64) } } # [inline] pub unsafe fn is_alt_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 25usize , 1u8 ,) as u32) } } # [inline] pub unsafe fn set_is_alt_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 25usize , 1u8 , val as u64 ,) } } # [inline] pub fn strand_retained (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (26usize , 1u8) as u32) } } # [inline] pub fn set_strand_retained (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (26usize , 1u8 , val as u64) } } # [inline] pub unsafe fn strand_retained_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 26usize , 1u8 ,) as u32) } } # [inline] pub unsafe fn set_strand_retained_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 26usize , 1u8 , val as u64 ,) } } # [inline] pub fn is_spliced (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (27usize , 1u8) as u32) } } # [inline] pub fn set_is_spliced (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (27usize , 1u8 , val as u64) } } # [inline] pub unsafe fn is_spliced_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 27usize , 1u8 ,) as u32) } } # [inline] pub unsafe fn set_is_spliced_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 27usize , 1u8 , val as u64 ,) } } # [inline] pub fn dummy (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (28usize , 4u8) as u32) } } # [inline] pub fn set_dummy (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (28usize , 4u8 , val as u64) } } # [inline] pub unsafe fn dummy_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 28usize , 4u8 ,) as u32) } } # [inline] pub unsafe fn set_dummy_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 28usize , 4u8 , val as u64 ,) } } # [inline] pub fn new_bitfield_1 (mapq : u32 , split : u32 , rev : u32 , inv : u32 , sam_pri : u32 , proper_frag : u32 , pe_thru : u32 , seg_split : u32 , seg_id : u32 , split_inv : u32 , is_alt : u32 , strand_retained : u32 , is_spliced : u32 , dummy : u32) -> __BindgenBitfieldUnit < [u8 ; 4usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 4usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 8u8 , { let mapq : u32 = unsafe { :: std :: mem :: transmute (mapq) } ; mapq as u64 }) ; __bindgen_bitfield_unit . set (8usize , 2u8 , { let split : u32 = unsafe { :: std :: mem :: transmute (split) } ; split as u64 }) ; __bindgen_bitfield_unit . set (10usize , 1u8 , { let rev : u32 = unsafe { :: std :: mem :: transmute (rev) } ; rev as u64 }) ; __bindgen_bitfield_unit . set (11usize , 1u8 , { let inv : u32 = unsafe { :: std :: mem :: transmute (inv) } ; inv as u64 }) ; __bindgen_bitfield_unit . set (12usize , 1u8 , { let sam_pri : u32 = unsafe { :: std :: mem :: transmute (sam_pri) } ; sam_pri as u64 }) ; __bindgen_bitfield_unit . set (13usize , 1u8 , { let proper_frag : u32 = unsafe { :: std :: mem :: transmute (proper_frag) } ; proper_frag as u64 }) ; __bindgen_bitfield_unit . set (14usize , 1u8 , { let pe_thru : u32 = unsafe { :: std :: mem :: transmute (pe_thru) } ; pe_thru as u64 }) ; __bindgen_bitfield_unit . set (15usize , 1u8 , { let seg_split : u32 = unsafe { :: std :: mem :: transmute (seg_split) } ; seg_split as u64 }) ; __bindgen_bitfield_unit . set (16usize , 8u8 , { let seg_id : u32 = unsafe { :: std :: mem :: transmute (seg_id) } ; seg_id as u64 }) ; __bindgen_bitfield_unit . set (24usize , 1u8 , { let split_inv : u32 = unsafe { :: std :: mem :: transmute (split_inv) } ; split_inv as u64 }) ; __bindgen_bitfield_unit . set (25usize , 1u8 , { let is_alt : u32 = unsafe { :: std :: mem :: transmute (is_alt) } ; is_alt as u64 }) ; __bindgen_bitfield_unit . set (26usize , 1u8 , { let strand_retained : u32 = unsafe { :: std :: mem :: transmute (strand_retained) } ; strand_retained as u64 }) ; __bindgen_bitfield_unit . set (27usize , 1u8 , { let is_spliced : u32 = unsafe { :: std :: mem :: transmute (is_spliced) } ; is_spliced as u64 }) ; __bindgen_bitfield_unit . set (28usize , 4u8 , { let dummy : u32 = unsafe { :: std :: mem :: transmute (dummy) } ; dummy as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm_idxopt_t { pub k : :: std :: os :: raw :: c_short , pub w : :: std :: os :: raw :: c_short , pub flag : :: std :: os :: raw :: c_short , pub bucket_bits : :: std :: os :: raw :: c_short , pub mini_batch_size : i64 , pub batch_size : u64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mm_idxopt_t"] [:: std :: mem :: size_of :: < mm_idxopt_t > () - 24usize] ; ["Alignment of mm_idxopt_t"] [:: std :: mem :: align_of :: < mm_idxopt_t > () - 8usize] ; ["Offset of field: mm_idxopt_t::k"] [:: std :: mem :: offset_of ! (mm_idxopt_t , k) - 0usize] ; ["Offset of field: mm_idxopt_t::w"] [:: std :: mem :: offset_of ! (mm_idxopt_t , w) - 2usize] ; ["Offset of field: mm_idxopt_t::flag"] [:: std :: mem :: offset_of ! (mm_idxopt_t , flag) - 4usize] ; ["Offset of field: mm_idxopt_t::bucket_bits"] [:: std :: mem :: offset_of ! (mm_idxopt_t , bucket_bits) - 6usize] ; ["Offset of field: mm_idxopt_t::mini_batch_size"] [:: std :: mem :: offset_of ! (mm_idxopt_t , mini_batch_size) - 8usize] ; ["Offset of field: mm_idxopt_t::batch_size"] [:: std :: mem :: offset_of ! (mm_idxopt_t , batch_size) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm_mapopt_t { pub flag : i64 , pub seed : :: std :: os :: raw :: c_int , pub sdust_thres : :: std :: os :: raw :: c_int , pub max_qlen : :: std :: os :: raw :: c_int , pub bw : :: std :: os :: raw :: c_int , pub bw_long : :: std :: os :: raw :: c_int , pub max_gap : :: std :: os :: raw :: c_int , pub max_gap_ref : :: std :: os :: raw :: c_int , pub max_frag_len : :: std :: os :: raw :: c_int , pub max_chain_skip : :: std :: os :: raw :: c_int , pub max_chain_iter : :: std :: os :: raw :: c_int , pub min_cnt : :: std :: os :: raw :: c_int , pub min_chain_score : :: std :: os :: raw :: c_int , pub chain_gap_scale : f32 , pub chain_skip_scale : f32 , pub rmq_size_cap : :: std :: os :: raw :: c_int , pub rmq_inner_dist : :: std :: os :: raw :: c_int , pub rmq_rescue_size : :: std :: os :: raw :: c_int , pub rmq_rescue_ratio : f32 , pub mask_level : f32 , pub mask_len : :: std :: os :: raw :: c_int , pub pri_ratio : f32 , pub best_n : :: std :: os :: raw :: c_int , pub alt_drop : f32 , pub a : :: std :: os :: raw :: c_int , pub b : :: std :: os :: raw :: c_int , pub q : :: std :: os :: raw :: c_int , pub e : :: std :: os :: raw :: c_int , pub q2 : :: std :: os :: raw :: c_int , pub e2 : :: std :: os :: raw :: c_int , pub transition : :: std :: os :: raw :: c_int , pub sc_ambi : :: std :: os :: raw :: c_int , pub noncan : :: std :: os :: raw :: c_int , pub junc_bonus : :: std :: os :: raw :: c_int , pub junc_pen : :: std :: os :: raw :: c_int , pub zdrop : :: std :: os :: raw :: c_int , pub zdrop_inv : :: std :: os :: raw :: c_int , pub end_bonus : :: std :: os :: raw :: c_int , pub min_dp_max : :: std :: os :: raw :: c_int , pub min_ksw_len : :: std :: os :: raw :: c_int , pub anchor_ext_len : :: std :: os :: raw :: c_int , pub anchor_ext_shift : :: std :: os :: raw :: c_int , pub max_clip_ratio : f32 , pub rank_min_len : :: std :: os :: raw :: c_int , pub rank_frac : f32 , pub pe_ori : :: std :: os :: raw :: c_int , pub pe_bonus : :: std :: os :: raw :: c_int , pub jump_min_match : i32 , pub mid_occ_frac : f32 , pub q_occ_frac : f32 , pub min_mid_occ : i32 , pub max_mid_occ : i32 , pub mid_occ : i32 , pub max_occ : i32 , pub max_max_occ : i32 , pub occ_dist : i32 , pub mini_batch_size : i64 , pub max_sw_mat : i64 , pub cap_kalloc : i64 , pub split_prefix : * const :: std :: os :: raw :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mm_mapopt_t"] [:: std :: mem :: size_of :: < mm_mapopt_t > () - 264usize] ; ["Alignment of mm_mapopt_t"] [:: std :: mem :: align_of :: < mm_mapopt_t > () - 8usize] ; ["Offset of field: mm_mapopt_t::flag"] [:: std :: mem :: offset_of ! (mm_mapopt_t , flag) - 0usize] ; ["Offset of field: mm_mapopt_t::seed"] [:: std :: mem :: offset_of ! (mm_mapopt_t , seed) - 8usize] ; ["Offset of field: mm_mapopt_t::sdust_thres"] [:: std :: mem :: offset_of ! (mm_mapopt_t , sdust_thres) - 12usize] ; ["Offset of field: mm_mapopt_t::max_qlen"] [:: std :: mem :: offset_of ! (mm_mapopt_t , max_qlen) - 16usize] ; ["Offset of field: mm_mapopt_t::bw"] [:: std :: mem :: offset_of ! (mm_mapopt_t , bw) - 20usize] ; ["Offset of field: mm_mapopt_t::bw_long"] [:: std :: mem :: offset_of ! (mm_mapopt_t , bw_long) - 24usize] ; ["Offset of field: mm_mapopt_t::max_gap"] [:: std :: mem :: offset_of ! (mm_mapopt_t , max_gap) - 28usize] ; ["Offset of field: mm_mapopt_t::max_gap_ref"] [:: std :: mem :: offset_of ! (mm_mapopt_t , max_gap_ref) - 32usize] ; ["Offset of field: mm_mapopt_t::max_frag_len"] [:: std :: mem :: offset_of ! (mm_mapopt_t , max_frag_len) - 36usize] ; ["Offset of field: mm_mapopt_t::max_chain_skip"] [:: std :: mem :: offset_of ! (mm_mapopt_t , max_chain_skip) - 40usize] ; ["Offset of field: mm_mapopt_t::max_chain_iter"] [:: std :: mem :: offset_of ! (mm_mapopt_t , max_chain_iter) - 44usize] ; ["Offset of field: mm_mapopt_t::min_cnt"] [:: std :: mem :: offset_of ! (mm_mapopt_t , min_cnt) - 48usize] ; ["Offset of field: mm_mapopt_t::min_chain_score"] [:: std :: mem :: offset_of ! (mm_mapopt_t , min_chain_score) - 52usize] ; ["Offset of field: mm_mapopt_t::chain_gap_scale"] [:: std :: mem :: offset_of ! (mm_mapopt_t , chain_gap_scale) - 56usize] ; ["Offset of field: mm_mapopt_t::chain_skip_scale"] [:: std :: mem :: offset_of ! (mm_mapopt_t , chain_skip_scale) - 60usize] ; ["Offset of field: mm_mapopt_t::rmq_size_cap"] [:: std :: mem :: offset_of ! (mm_mapopt_t , rmq_size_cap) - 64usize] ; ["Offset of field: mm_mapopt_t::rmq_inner_dist"] [:: std :: mem :: offset_of ! (mm_mapopt_t , rmq_inner_dist) - 68usize] ; ["Offset of field: mm_mapopt_t::rmq_rescue_size"] [:: std :: mem :: offset_of ! (mm_mapopt_t , rmq_rescue_size) - 72usize] ; ["Offset of field: mm_mapopt_t::rmq_rescue_ratio"] [:: std :: mem :: offset_of ! (mm_mapopt_t , rmq_rescue_ratio) - 76usize] ; ["Offset of field: mm_mapopt_t::mask_level"] [:: std :: mem :: offset_of ! (mm_mapopt_t , mask_level) - 80usize] ; ["Offset of field: mm_mapopt_t::mask_len"] [:: std :: mem :: offset_of ! (mm_mapopt_t , mask_len) - 84usize] ; ["Offset of field: mm_mapopt_t::pri_ratio"] [:: std :: mem :: offset_of ! (mm_mapopt_t , pri_ratio) - 88usize] ; ["Offset of field: mm_mapopt_t::best_n"] [:: std :: mem :: offset_of ! (mm_mapopt_t , best_n) - 92usize] ; ["Offset of field: mm_mapopt_t::alt_drop"] [:: std :: mem :: offset_of ! (mm_mapopt_t , alt_drop) - 96usize] ; ["Offset of field: mm_mapopt_t::a"] [:: std :: mem :: offset_of ! (mm_mapopt_t , a) - 100usize] ; ["Offset of field: mm_mapopt_t::b"] [:: std :: mem :: offset_of ! (mm_mapopt_t , b) - 104usize] ; ["Offset of field: mm_mapopt_t::q"] [:: std :: mem :: offset_of ! (mm_mapopt_t , q) - 108usize] ; ["Offset of field: mm_mapopt_t::e"] [:: std :: mem :: offset_of ! (mm_mapopt_t , e) - 112usize] ; ["Offset of field: mm_mapopt_t::q2"] [:: std :: mem :: offset_of ! (mm_mapopt_t , q2) - 116usize] ; ["Offset of field: mm_mapopt_t::e2"] [:: std :: mem :: offset_of ! (mm_mapopt_t , e2) - 120usize] ; ["Offset of field: mm_mapopt_t::transition"] [:: std :: mem :: offset_of ! (mm_mapopt_t , transition) - 124usize] ; ["Offset of field: mm_mapopt_t::sc_ambi"] [:: std :: mem :: offset_of ! (mm_mapopt_t , sc_ambi) - 128usize] ; ["Offset of field: mm_mapopt_t::noncan"] [:: std :: mem :: offset_of ! (mm_mapopt_t , noncan) - 132usize] ; ["Offset of field: mm_mapopt_t::junc_bonus"] [:: std :: mem :: offset_of ! (mm_mapopt_t , junc_bonus) - 136usize] ; ["Offset of field: mm_mapopt_t::junc_pen"] [:: std :: mem :: offset_of ! (mm_mapopt_t , junc_pen) - 140usize] ; ["Offset of field: mm_mapopt_t::zdrop"] [:: std :: mem :: offset_of ! (mm_mapopt_t , zdrop) - 144usize] ; ["Offset of field: mm_mapopt_t::zdrop_inv"] [:: std :: mem :: offset_of ! (mm_mapopt_t , zdrop_inv) - 148usize] ; ["Offset of field: mm_mapopt_t::end_bonus"] [:: std :: mem :: offset_of ! (mm_mapopt_t , end_bonus) - 152usize] ; ["Offset of field: mm_mapopt_t::min_dp_max"] [:: std :: mem :: offset_of ! (mm_mapopt_t , min_dp_max) - 156usize] ; ["Offset of field: mm_mapopt_t::min_ksw_len"] [:: std :: mem :: offset_of ! (mm_mapopt_t , min_ksw_len) - 160usize] ; ["Offset of field: mm_mapopt_t::anchor_ext_len"] [:: std :: mem :: offset_of ! (mm_mapopt_t , anchor_ext_len) - 164usize] ; ["Offset of field: mm_mapopt_t::anchor_ext_shift"] [:: std :: mem :: offset_of ! (mm_mapopt_t , anchor_ext_shift) - 168usize] ; ["Offset of field: mm_mapopt_t::max_clip_ratio"] [:: std :: mem :: offset_of ! (mm_mapopt_t , max_clip_ratio) - 172usize] ; ["Offset of field: mm_mapopt_t::rank_min_len"] [:: std :: mem :: offset_of ! (mm_mapopt_t , rank_min_len) - 176usize] ; ["Offset of field: mm_mapopt_t::rank_frac"] [:: std :: mem :: offset_of ! (mm_mapopt_t , rank_frac) - 180usize] ; ["Offset of field: mm_mapopt_t::pe_ori"] [:: std :: mem :: offset_of ! (mm_mapopt_t , pe_ori) - 184usize] ; ["Offset of field: mm_mapopt_t::pe_bonus"] [:: std :: mem :: offset_of ! (mm_mapopt_t , pe_bonus) - 188usize] ; ["Offset of field: mm_mapopt_t::jump_min_match"] [:: std :: mem :: offset_of ! (mm_mapopt_t , jump_min_match) - 192usize] ; ["Offset of field: mm_mapopt_t::mid_occ_frac"] [:: std :: mem :: offset_of ! (mm_mapopt_t , mid_occ_frac) - 196usize] ; ["Offset of field: mm_mapopt_t::q_occ_frac"] [:: std :: mem :: offset_of ! (mm_mapopt_t , q_occ_frac) - 200usize] ; ["Offset of field: mm_mapopt_t::min_mid_occ"] [:: std :: mem :: offset_of ! (mm_mapopt_t , min_mid_occ) - 204usize] ; ["Offset of field: mm_mapopt_t::max_mid_occ"] [:: std :: mem :: offset_of ! (mm_mapopt_t , max_mid_occ) - 208usize] ; ["Offset of field: mm_mapopt_t::mid_occ"] [:: std :: mem :: offset_of ! (mm_mapopt_t , mid_occ) - 212usize] ; ["Offset of field: mm_mapopt_t::max_occ"] [:: std :: mem :: offset_of ! (mm_mapopt_t , max_occ) - 216usize] ; ["Offset of field: mm_mapopt_t::max_max_occ"] [:: std :: mem :: offset_of ! (mm_mapopt_t , max_max_occ) - 220usize] ; ["Offset of field: mm_mapopt_t::occ_dist"] [:: std :: mem :: offset_of ! (mm_mapopt_t , occ_dist) - 224usize] ; ["Offset of field: mm_mapopt_t::mini_batch_size"] [:: std :: mem :: offset_of ! (mm_mapopt_t , mini_batch_size) - 232usize] ; ["Offset of field: mm_mapopt_t::max_sw_mat"] [:: std :: mem :: offset_of ! (mm_mapopt_t , max_sw_mat) - 240usize] ; ["Offset of field: mm_mapopt_t::cap_kalloc"] [:: std :: mem :: offset_of ! (mm_mapopt_t , cap_kalloc) - 248usize] ; ["Offset of field: mm_mapopt_t::split_prefix"] [:: std :: mem :: offset_of ! (mm_mapopt_t , split_prefix) - 256usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct mm_idx_reader_t { pub is_idx : :: std :: os :: raw :: c_int , pub n_parts : :: std :: os :: raw :: c_int , pub idx_size : i64 , pub opt : mm_idxopt_t , pub fp_out : * mut FILE , pub fp : mm_idx_reader_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union mm_idx_reader_t__bindgen_ty_1 { pub seq : * mut mm_bseq_file_s , pub idx : * mut FILE , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mm_idx_reader_t__bindgen_ty_1"] [:: std :: mem :: size_of :: < mm_idx_reader_t__bindgen_ty_1 > () - 8usize] ; ["Alignment of mm_idx_reader_t__bindgen_ty_1"] [:: std :: mem :: align_of :: < mm_idx_reader_t__bindgen_ty_1 > () - 8usize] ; ["Offset of field: mm_idx_reader_t__bindgen_ty_1::seq"] [:: std :: mem :: offset_of ! (mm_idx_reader_t__bindgen_ty_1 , seq) - 0usize] ; ["Offset of field: mm_idx_reader_t__bindgen_ty_1::idx"] [:: std :: mem :: offset_of ! (mm_idx_reader_t__bindgen_ty_1 , idx) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mm_idx_reader_t"] [:: std :: mem :: size_of :: < mm_idx_reader_t > () - 56usize] ; ["Alignment of mm_idx_reader_t"] [:: std :: mem :: align_of :: < mm_idx_reader_t > () - 8usize] ; ["Offset of field: mm_idx_reader_t::is_idx"] [:: std :: mem :: offset_of ! (mm_idx_reader_t , is_idx) - 0usize] ; ["Offset of field: mm_idx_reader_t::n_parts"] [:: std :: mem :: offset_of ! (mm_idx_reader_t , n_parts) - 4usize] ; ["Offset of field: mm_idx_reader_t::idx_size"] [:: std :: mem :: offset_of ! (mm_idx_reader_t , idx_size) - 8usize] ; ["Offset of field: mm_idx_reader_t::opt"] [:: std :: mem :: offset_of ! (mm_idx_reader_t , opt) - 16usize] ; ["Offset of field: mm_idx_reader_t::fp_out"] [:: std :: mem :: offset_of ! (mm_idx_reader_t , fp_out) - 40usize] ; ["Offset of field: mm_idx_reader_t::fp"] [:: std :: mem :: offset_of ! (mm_idx_reader_t , fp) - 48usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm_tbuf_s { pub km : * mut :: std :: os :: raw :: c_void , pub rep_len : :: std :: os :: raw :: c_int , pub frag_gap : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mm_tbuf_s"] [:: std :: mem :: size_of :: < mm_tbuf_s > () - 16usize] ; ["Alignment of mm_tbuf_s"] [:: std :: mem :: align_of :: < mm_tbuf_s > () - 8usize] ; ["Offset of field: mm_tbuf_s::km"] [:: std :: mem :: offset_of ! (mm_tbuf_s , km) - 0usize] ; ["Offset of field: mm_tbuf_s::rep_len"] [:: std :: mem :: offset_of ! (mm_tbuf_s , rep_len) - 8usize] ; ["Offset of field: mm_tbuf_s::frag_gap"] [:: std :: mem :: offset_of ! (mm_tbuf_s , frag_gap) - 12usize] ; } ; pub type mm_tbuf_t = mm_tbuf_s ; unsafe extern "C" { pub static mut mm_verbose : :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub static mut mm_dbg_flag : :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub static mut mm_realtime0 : f64 ; } unsafe extern "C" { # [doc = " Set default or preset parameters\n\n @param preset     NULL to set all parameters as default; otherwise apply preset to affected parameters\n @param io         pointer to indexing parameters\n @param mo         pointer to mapping parameters\n\n @return 0 if success; -1 if _present_ unknown"] pub fn mm_set_opt (preset : * const :: std :: os :: raw :: c_char , io : * mut mm_idxopt_t , mo : * mut mm_mapopt_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_check_opt (io : * const mm_idxopt_t , mo : * const mm_mapopt_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [doc = " Update mm_mapopt_t::mid_occ via mm_mapopt_t::mid_occ_frac\n\n If mm_mapopt_t::mid_occ is 0, this function sets it to a number such that no\n more than mm_mapopt_t::mid_occ_frac of minimizers in the index have a higher\n occurrence.\n\n @param opt        mapping parameters\n @param mi         minimap2 index"] pub fn mm_mapopt_update (opt : * mut mm_mapopt_t , mi : * const mm_idx_t) ; } unsafe extern "C" { pub fn mm_mapopt_max_intron_len (opt : * mut mm_mapopt_t , max_intron_len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { # [doc = " Initialize an index reader\n\n @param fn         index or fasta/fastq file name (this function tests the file type)\n @param opt        indexing parameters\n @param fn_out     if not NULL, write built index to this file\n\n @return an index reader on success; NULL if fail to open _fn_"] pub fn mm_idx_reader_open (fn_ : * const :: std :: os :: raw :: c_char , opt : * const mm_idxopt_t , fn_out : * const :: std :: os :: raw :: c_char) -> * mut mm_idx_reader_t ; } unsafe extern "C" { # [doc = " Read/build an index\n\n If the input file is an index file, this function reads one part of the\n index and returns. If the input file is a sequence file (fasta or fastq),\n this function constructs the index for about mm_idxopt_t::batch_size bases.\n Importantly, for a huge collection of sequences, this function may only\n return an index for part of sequences. It needs to be repeatedly called\n to traverse the entire index/sequence file.\n\n @param r          index reader\n @param n_threads  number of threads for constructing index\n\n @return an index on success; NULL if reaching the end of the input file"] pub fn mm_idx_reader_read (r : * mut mm_idx_reader_t , n_threads : :: std :: os :: raw :: c_int) -> * mut mm_idx_t ; } unsafe extern "C" { # [doc = " Destroy/deallocate an index reader\n\n @param r          index reader"] pub fn mm_idx_reader_close (r : * mut mm_idx_reader_t) ; } unsafe extern "C" { pub fn mm_idx_reader_eof (r : * const mm_idx_reader_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [doc = " Check whether the file contains a minimap2 index\n\n @param fn         file name\n\n @return the file size if fn is an index file; 0 if fn is not."] pub fn mm_idx_is_idx (fn_ : * const :: std :: os :: raw :: c_char) -> i64 ; } unsafe extern "C" { # [doc = " Load a part of an index\n\n Given a uni-part index, this function loads the entire index into memory.\n Given a multi-part index, it loads one part only and places the file pointer\n at the end of that part.\n\n @param fp         pointer to FILE object\n\n @return minimap2 index read from fp"] pub fn mm_idx_load (fp : * mut FILE) -> * mut mm_idx_t ; } unsafe extern "C" { # [doc = " Append an index (or one part of a full index) to file\n\n @param fp         pointer to FILE object\n @param mi         minimap2 index"] pub fn mm_idx_dump (fp : * mut FILE , mi : * const mm_idx_t) ; } unsafe extern "C" { # [doc = " Create an index from strings in memory\n\n @param w            minimizer window size\n @param k            minimizer k-mer size\n @param is_hpc       use HPC k-mer if true\n @param bucket_bits  number of bits for the first level of the hash table\n @param n            number of sequences\n @param seq          sequences in A/C/G/T\n @param name         sequence names; could be NULL\n\n @return minimap2 index"] pub fn mm_idx_str (w : :: std :: os :: raw :: c_int , k : :: std :: os :: raw :: c_int , is_hpc : :: std :: os :: raw :: c_int , bucket_bits : :: std :: os :: raw :: c_int , n : :: std :: os :: raw :: c_int , seq : * mut * const :: std :: os :: raw :: c_char , name : * mut * const :: std :: os :: raw :: c_char) -> * mut mm_idx_t ; } unsafe extern "C" { # [doc = " Print index statistics to stderr\n\n @param mi         minimap2 index"] pub fn mm_idx_stat (idx : * const mm_idx_t) ; } unsafe extern "C" { # [doc = " Destroy/deallocate an index\n\n @param r          minimap2 index"] pub fn mm_idx_destroy (mi : * mut mm_idx_t) ; } unsafe extern "C" { # [doc = " Initialize a thread-local buffer for mapping\n\n Each mapping thread requires a buffer specific to the thread (see mm_map()\n below). The primary purpose of this buffer is to reduce frequent heap\n allocations across threads. A buffer shall not be used by two or more\n threads.\n\n @return pointer to a thread-local buffer"] pub fn mm_tbuf_init () -> * mut mm_tbuf_t ; } unsafe extern "C" { # [doc = " Destroy/deallocate a thread-local buffer for mapping\n\n @param b          the buffer"] pub fn mm_tbuf_destroy (b : * mut mm_tbuf_t) ; } unsafe extern "C" { pub fn mm_tbuf_get_km (b : * mut mm_tbuf_t) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { # [doc = " Align a query sequence against an index\n\n This function possibly finds multiple alignments of the query sequence.\n The returned array and the mm_reg1_t::p field of each element are allocated\n with malloc().\n\n @param mi         minimap2 index\n @param l_seq      length of the query sequence\n @param seq        the query sequence\n @param n_regs     number of hits (out)\n @param b          thread-local buffer; two mm_map() calls shall not use one buffer at the same time!\n @param opt        mapping parameters\n @param name       query name, used for all-vs-all overlapping and debugging\n\n @return an array of hits which need to be deallocated with free() together\n         with mm_reg1_t::p of each element. The size is written to _n_regs_."] pub fn mm_map (mi : * const mm_idx_t , l_seq : :: std :: os :: raw :: c_int , seq : * const :: std :: os :: raw :: c_char , n_regs : * mut :: std :: os :: raw :: c_int , b : * mut mm_tbuf_t , opt : * const mm_mapopt_t , name : * const :: std :: os :: raw :: c_char) -> * mut mm_reg1_t ; } unsafe extern "C" { pub fn mm_map_frag (mi : * const mm_idx_t , n_segs : :: std :: os :: raw :: c_int , qlens : * const :: std :: os :: raw :: c_int , seqs : * mut * const :: std :: os :: raw :: c_char , n_regs : * mut :: std :: os :: raw :: c_int , regs : * mut * mut mm_reg1_t , b : * mut mm_tbuf_t , opt : * const mm_mapopt_t , qname : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { # [doc = " Align a fasta/fastq file and print alignments to stdout\n\n @param idx        minimap2 index\n @param fn         fasta/fastq file name\n @param opt        mapping parameters\n @param n_threads  number of threads\n\n @return 0 on success; -1 if _fn_ can't be read"] pub fn mm_map_file (idx : * const mm_idx_t , fn_ : * const :: std :: os :: raw :: c_char , opt : * const mm_mapopt_t , n_threads : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_map_file_frag (idx : * const mm_idx_t , n_segs : :: std :: os :: raw :: c_int , fn_ : * mut * const :: std :: os :: raw :: c_char , opt : * const mm_mapopt_t , n_threads : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [doc = " Generate the cs tag (new in 2.12)\n\n @param km         memory blocks; set to NULL if unsure\n @param buf        buffer to write the cs/MD tag; typicall NULL on the first call\n @param max_len    max length of the buffer; typically set to 0 on the first call\n @param mi         index\n @param r          alignment\n @param seq        query sequence\n @param no_iden    true to use : instead of =\n\n @return the length of cs"] pub fn mm_gen_cs (km : * mut :: std :: os :: raw :: c_void , buf : * mut * mut :: std :: os :: raw :: c_char , max_len : * mut :: std :: os :: raw :: c_int , mi : * const mm_idx_t , r : * const mm_reg1_t , seq : * const :: std :: os :: raw :: c_char , no_iden : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_gen_MD (km : * mut :: std :: os :: raw :: c_void , buf : * mut * mut :: std :: os :: raw :: c_char , max_len : * mut :: std :: os :: raw :: c_int , mi : * const mm_idx_t , r : * const mm_reg1_t , seq : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_idx_index_name (mi : * mut mm_idx_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_idx_name2id (mi : * const mm_idx_t , name : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_idx_getseq (mi : * const mm_idx_t , rid : u32 , st : u32 , en : u32 , seq : * mut u8) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_idx_alt_read (mi : * mut mm_idx_t , fn_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_idx_bed_read (mi : * mut mm_idx_t , fn_ : * const :: std :: os :: raw :: c_char , read_junc : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_idx_bed_junc (mi : * const mm_idx_t , ctg : i32 , st : i32 , en : i32 , s : * mut u8) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_max_spsc_bonus (mo : * const mm_mapopt_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_idx_spsc_read (idx : * mut mm_idx_t , fn_ : * const :: std :: os :: raw :: c_char , max_sc : i32) -> i32 ; } unsafe extern "C" { pub fn mm_idx_spsc_get (db : * const mm_idx_t , cid : i32 , st0 : i64 , en0 : i64 , rev : i32 , sc : * mut u8) -> i64 ; } unsafe extern "C" { pub fn mm_mapopt_init (opt : * mut mm_mapopt_t) ; } unsafe extern "C" { pub fn mm_idx_build (fn_ : * const :: std :: os :: raw :: c_char , w : :: std :: os :: raw :: c_int , k : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int , n_threads : :: std :: os :: raw :: c_int) -> * mut mm_idx_t ; } unsafe extern "C" { pub fn memcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn memmove (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn memccpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn memset (__s : * mut :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn memcmp (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __memcmpeq (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn memchr (__s : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn strcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn strncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn strcat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn strncat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn strcmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn strncmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn strcoll (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn strxfrm (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_ulong ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __locale_struct { pub __locales : [* mut __locale_data ; 13usize] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [* const :: std :: os :: raw :: c_char ; 13usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __locale_struct"] [:: std :: mem :: size_of :: < __locale_struct > () - 232usize] ; ["Alignment of __locale_struct"] [:: std :: mem :: align_of :: < __locale_struct > () - 8usize] ; ["Offset of field: __locale_struct::__locales"] [:: std :: mem :: offset_of ! (__locale_struct , __locales) - 0usize] ; ["Offset of field: __locale_struct::__ctype_b"] [:: std :: mem :: offset_of ! (__locale_struct , __ctype_b) - 104usize] ; ["Offset of field: __locale_struct::__ctype_tolower"] [:: std :: mem :: offset_of ! (__locale_struct , __ctype_tolower) - 112usize] ; ["Offset of field: __locale_struct::__ctype_toupper"] [:: std :: mem :: offset_of ! (__locale_struct , __ctype_toupper) - 120usize] ; ["Offset of field: __locale_struct::__names"] [:: std :: mem :: offset_of ! (__locale_struct , __names) - 128usize] ; } ; pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; unsafe extern "C" { pub fn strcoll_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __l : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn strxfrm_l (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize , __l : locale_t) -> usize ; } unsafe extern "C" { pub fn strdup (__s : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn strndup (__string : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn strchr (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn strrchr (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn strchrnul (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn strcspn (__s : * const :: std :: os :: raw :: c_char , __reject : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn strspn (__s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn strpbrk (__s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn strstr (__haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn strtok (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __strtok_r (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn strtok_r (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn strcasestr (__haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn memmem (__haystack : * const :: std :: os :: raw :: c_void , __haystacklen : usize , __needle : * const :: std :: os :: raw :: c_void , __needlelen : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn __mempcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn mempcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn strlen (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn strnlen (__string : * const :: std :: os :: raw :: c_char , __maxlen : usize) -> usize ; } unsafe extern "C" { pub fn strerror (__errnum : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { # [link_name = "\u{1}__xpg_strerror_r"] pub fn strerror_r (__errnum : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __buflen : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn strerror_l (__errnum : :: std :: os :: raw :: c_int , __l : locale_t) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn bcmp (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn bcopy (__src : * const :: std :: os :: raw :: c_void , __dest : * mut :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) ; } unsafe extern "C" { pub fn bzero (__s : * mut :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) ; } unsafe extern "C" { pub fn index (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn rindex (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn ffs (__i : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ffsl (__l : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ffsll (__ll : :: std :: os :: raw :: c_longlong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn strcasecmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn strncasecmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn strcasecmp_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __loc : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn strncasecmp_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize , __loc : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn explicit_bzero (__s : * mut :: std :: os :: raw :: c_void , __n : usize) ; } unsafe extern "C" { pub fn strsep (__stringp : * mut * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn strsignal (__sig : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __stpcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn stpcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __stpncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn stpncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn strlcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } unsafe extern "C" { pub fn strlcat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm_bseq_file_s { _unused : [u8 ; 0] , } pub type mm_bseq_file_t = mm_bseq_file_s ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm_bseq1_t { pub l_seq : :: std :: os :: raw :: c_int , pub rid : :: std :: os :: raw :: c_int , pub name : * mut :: std :: os :: raw :: c_char , pub seq : * mut :: std :: os :: raw :: c_char , pub qual : * mut :: std :: os :: raw :: c_char , pub comment : * mut :: std :: os :: raw :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mm_bseq1_t"] [:: std :: mem :: size_of :: < mm_bseq1_t > () - 40usize] ; ["Alignment of mm_bseq1_t"] [:: std :: mem :: align_of :: < mm_bseq1_t > () - 8usize] ; ["Offset of field: mm_bseq1_t::l_seq"] [:: std :: mem :: offset_of ! (mm_bseq1_t , l_seq) - 0usize] ; ["Offset of field: mm_bseq1_t::rid"] [:: std :: mem :: offset_of ! (mm_bseq1_t , rid) - 4usize] ; ["Offset of field: mm_bseq1_t::name"] [:: std :: mem :: offset_of ! (mm_bseq1_t , name) - 8usize] ; ["Offset of field: mm_bseq1_t::seq"] [:: std :: mem :: offset_of ! (mm_bseq1_t , seq) - 16usize] ; ["Offset of field: mm_bseq1_t::qual"] [:: std :: mem :: offset_of ! (mm_bseq1_t , qual) - 24usize] ; ["Offset of field: mm_bseq1_t::comment"] [:: std :: mem :: offset_of ! (mm_bseq1_t , comment) - 32usize] ; } ; unsafe extern "C" { pub fn mm_bseq_open (fn_ : * const :: std :: os :: raw :: c_char) -> * mut mm_bseq_file_t ; } unsafe extern "C" { pub fn mm_bseq_close (fp : * mut mm_bseq_file_t) ; } unsafe extern "C" { pub fn mm_bseq_read3 (fp : * mut mm_bseq_file_t , chunk_size : i64 , with_qual : :: std :: os :: raw :: c_int , with_comment : :: std :: os :: raw :: c_int , frag_mode : :: std :: os :: raw :: c_int , n_ : * mut :: std :: os :: raw :: c_int) -> * mut mm_bseq1_t ; } unsafe extern "C" { pub fn mm_bseq_read2 (fp : * mut mm_bseq_file_t , chunk_size : i64 , with_qual : :: std :: os :: raw :: c_int , frag_mode : :: std :: os :: raw :: c_int , n_ : * mut :: std :: os :: raw :: c_int) -> * mut mm_bseq1_t ; } unsafe extern "C" { pub fn mm_bseq_read (fp : * mut mm_bseq_file_t , chunk_size : i64 , with_qual : :: std :: os :: raw :: c_int , n_ : * mut :: std :: os :: raw :: c_int) -> * mut mm_bseq1_t ; } unsafe extern "C" { pub fn mm_bseq_read_frag2 (n_fp : :: std :: os :: raw :: c_int , fp : * mut * mut mm_bseq_file_t , chunk_size : i64 , with_qual : :: std :: os :: raw :: c_int , with_comment : :: std :: os :: raw :: c_int , n_ : * mut :: std :: os :: raw :: c_int) -> * mut mm_bseq1_t ; } unsafe extern "C" { pub fn mm_bseq_read_frag (n_fp : :: std :: os :: raw :: c_int , fp : * mut * mut mm_bseq_file_t , chunk_size : i64 , with_qual : :: std :: os :: raw :: c_int , n_ : * mut :: std :: os :: raw :: c_int) -> * mut mm_bseq1_t ; } unsafe extern "C" { pub fn mm_bseq_eof (fp : * mut mm_bseq_file_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub static mut seq_nt4_table : [:: std :: os :: raw :: c_uchar ; 256usize] ; } unsafe extern "C" { pub static mut seq_comp_table : [:: std :: os :: raw :: c_uchar ; 256usize] ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct div_t { pub quot : :: std :: os :: raw :: c_int , pub rem : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of div_t"] [:: std :: mem :: size_of :: < div_t > () - 8usize] ; ["Alignment of div_t"] [:: std :: mem :: align_of :: < div_t > () - 4usize] ; ["Offset of field: div_t::quot"] [:: std :: mem :: offset_of ! (div_t , quot) - 0usize] ; ["Offset of field: div_t::rem"] [:: std :: mem :: offset_of ! (div_t , rem) - 4usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ldiv_t { pub quot : :: std :: os :: raw :: c_long , pub rem : :: std :: os :: raw :: c_long , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ldiv_t"] [:: std :: mem :: size_of :: < ldiv_t > () - 16usize] ; ["Alignment of ldiv_t"] [:: std :: mem :: align_of :: < ldiv_t > () - 8usize] ; ["Offset of field: ldiv_t::quot"] [:: std :: mem :: offset_of ! (ldiv_t , quot) - 0usize] ; ["Offset of field: ldiv_t::rem"] [:: std :: mem :: offset_of ! (ldiv_t , rem) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct lldiv_t { pub quot : :: std :: os :: raw :: c_longlong , pub rem : :: std :: os :: raw :: c_longlong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of lldiv_t"] [:: std :: mem :: size_of :: < lldiv_t > () - 16usize] ; ["Alignment of lldiv_t"] [:: std :: mem :: align_of :: < lldiv_t > () - 8usize] ; ["Offset of field: lldiv_t::quot"] [:: std :: mem :: offset_of ! (lldiv_t , quot) - 0usize] ; ["Offset of field: lldiv_t::rem"] [:: std :: mem :: offset_of ! (lldiv_t , rem) - 8usize] ; } ; unsafe extern "C" { pub fn __ctype_get_mb_cur_max () -> usize ; } unsafe extern "C" { pub fn atof (__nptr : * const :: std :: os :: raw :: c_char) -> f64 ; } unsafe extern "C" { pub fn atoi (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn atol (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn atoll (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_longlong ; } unsafe extern "C" { pub fn strtod (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> f64 ; } unsafe extern "C" { pub fn strtof (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> f32 ; } unsafe extern "C" { pub fn strtold (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> u128 ; } unsafe extern "C" { pub fn strtol (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn strtoul (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn strtoq (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_longlong ; } unsafe extern "C" { pub fn strtouq (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_ulonglong ; } unsafe extern "C" { pub fn strtoll (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_longlong ; } unsafe extern "C" { pub fn strtoull (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_ulonglong ; } unsafe extern "C" { pub fn l64a (__n : :: std :: os :: raw :: c_long) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn a64l (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn random () -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn srandom (__seed : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn initstate (__seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn setstate (__statebuf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct random_data { pub fptr : * mut i32 , pub rptr : * mut i32 , pub state : * mut i32 , pub rand_type : :: std :: os :: raw :: c_int , pub rand_deg : :: std :: os :: raw :: c_int , pub rand_sep : :: std :: os :: raw :: c_int , pub end_ptr : * mut i32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of random_data"] [:: std :: mem :: size_of :: < random_data > () - 48usize] ; ["Alignment of random_data"] [:: std :: mem :: align_of :: < random_data > () - 8usize] ; ["Offset of field: random_data::fptr"] [:: std :: mem :: offset_of ! (random_data , fptr) - 0usize] ; ["Offset of field: random_data::rptr"] [:: std :: mem :: offset_of ! (random_data , rptr) - 8usize] ; ["Offset of field: random_data::state"] [:: std :: mem :: offset_of ! (random_data , state) - 16usize] ; ["Offset of field: random_data::rand_type"] [:: std :: mem :: offset_of ! (random_data , rand_type) - 24usize] ; ["Offset of field: random_data::rand_deg"] [:: std :: mem :: offset_of ! (random_data , rand_deg) - 28usize] ; ["Offset of field: random_data::rand_sep"] [:: std :: mem :: offset_of ! (random_data , rand_sep) - 32usize] ; ["Offset of field: random_data::end_ptr"] [:: std :: mem :: offset_of ! (random_data , end_ptr) - 40usize] ; } ; unsafe extern "C" { pub fn random_r (__buf : * mut random_data , __result : * mut i32) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn srandom_r (__seed : :: std :: os :: raw :: c_uint , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn initstate_r (__seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setstate_r (__statebuf : * mut :: std :: os :: raw :: c_char , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn rand () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn srand (__seed : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn rand_r (__seed : * mut :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn drand48 () -> f64 ; } unsafe extern "C" { pub fn erand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> f64 ; } unsafe extern "C" { pub fn lrand48 () -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn nrand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn mrand48 () -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn jrand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn srand48 (__seedval : :: std :: os :: raw :: c_long) ; } unsafe extern "C" { pub fn seed48 (__seed16v : * mut :: std :: os :: raw :: c_ushort) -> * mut :: std :: os :: raw :: c_ushort ; } unsafe extern "C" { pub fn lcong48 (__param : * mut :: std :: os :: raw :: c_ushort) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct drand48_data { pub __x : [:: std :: os :: raw :: c_ushort ; 3usize] , pub __old_x : [:: std :: os :: raw :: c_ushort ; 3usize] , pub __c : :: std :: os :: raw :: c_ushort , pub __init : :: std :: os :: raw :: c_ushort , pub __a : :: std :: os :: raw :: c_ulonglong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of drand48_data"] [:: std :: mem :: size_of :: < drand48_data > () - 24usize] ; ["Alignment of drand48_data"] [:: std :: mem :: align_of :: < drand48_data > () - 8usize] ; ["Offset of field: drand48_data::__x"] [:: std :: mem :: offset_of ! (drand48_data , __x) - 0usize] ; ["Offset of field: drand48_data::__old_x"] [:: std :: mem :: offset_of ! (drand48_data , __old_x) - 6usize] ; ["Offset of field: drand48_data::__c"] [:: std :: mem :: offset_of ! (drand48_data , __c) - 12usize] ; ["Offset of field: drand48_data::__init"] [:: std :: mem :: offset_of ! (drand48_data , __init) - 14usize] ; ["Offset of field: drand48_data::__a"] [:: std :: mem :: offset_of ! (drand48_data , __a) - 16usize] ; } ; unsafe extern "C" { pub fn drand48_r (__buffer : * mut drand48_data , __result : * mut f64) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn erand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut f64) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn lrand48_r (__buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn nrand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mrand48_r (__buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn jrand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn srand48_r (__seedval : :: std :: os :: raw :: c_long , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn seed48_r (__seed16v : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn lcong48_r (__param : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn arc4random () -> __uint32_t ; } unsafe extern "C" { pub fn arc4random_buf (__buf : * mut :: std :: os :: raw :: c_void , __size : usize) ; } unsafe extern "C" { pub fn arc4random_uniform (__upper_bound : __uint32_t) -> __uint32_t ; } unsafe extern "C" { pub fn malloc (__size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn calloc (__nmemb : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn realloc (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn free (__ptr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn reallocarray (__ptr : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn alloca (__size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn valloc (__size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn posix_memalign (__memptr : * mut * mut :: std :: os :: raw :: c_void , __alignment : usize , __size : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn aligned_alloc (__alignment : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn abort () -> ! ; } unsafe extern "C" { pub fn atexit (__func : :: std :: option :: Option < unsafe extern "C" fn () >) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn at_quick_exit (__func : :: std :: option :: Option < unsafe extern "C" fn () >) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn on_exit (__func : :: std :: option :: Option < unsafe extern "C" fn (__status : :: std :: os :: raw :: c_int , __arg : * mut :: std :: os :: raw :: c_void) > , __arg : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn exit (__status : :: std :: os :: raw :: c_int) -> ! ; } unsafe extern "C" { pub fn quick_exit (__status : :: std :: os :: raw :: c_int) -> ! ; } unsafe extern "C" { pub fn _Exit (__status : :: std :: os :: raw :: c_int) -> ! ; } unsafe extern "C" { pub fn getenv (__name : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn putenv (__string : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setenv (__name : * const :: std :: os :: raw :: c_char , __value : * const :: std :: os :: raw :: c_char , __replace : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn unsetenv (__name : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearenv () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mktemp (__template : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn mkstemp (__template : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mkstemps (__template : * mut :: std :: os :: raw :: c_char , __suffixlen : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mkdtemp (__template : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn system (__command : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn realpath (__name : * const :: std :: os :: raw :: c_char , __resolved : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } pub type __compar_fn_t = :: std :: option :: Option < unsafe extern "C" fn (arg1 : * const :: std :: os :: raw :: c_void , arg2 : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn bsearch (__key : * const :: std :: os :: raw :: c_void , __base : * const :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn qsort (__base : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t) ; } unsafe extern "C" { pub fn abs (__x : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn labs (__x : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn llabs (__x : :: std :: os :: raw :: c_longlong) -> :: std :: os :: raw :: c_longlong ; } unsafe extern "C" { pub fn div (__numer : :: std :: os :: raw :: c_int , __denom : :: std :: os :: raw :: c_int) -> div_t ; } unsafe extern "C" { pub fn ldiv (__numer : :: std :: os :: raw :: c_long , __denom : :: std :: os :: raw :: c_long) -> ldiv_t ; } unsafe extern "C" { pub fn lldiv (__numer : :: std :: os :: raw :: c_longlong , __denom : :: std :: os :: raw :: c_longlong) -> lldiv_t ; } unsafe extern "C" { pub fn ecvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn fcvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn gcvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn qecvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn qfcvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn qgcvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn ecvt_r (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fcvt_r (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn qecvt_r (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn qfcvt_r (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mblen (__s : * const :: std :: os :: raw :: c_char , __n : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mbtowc (__pwc : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn wctomb (__s : * mut :: std :: os :: raw :: c_char , __wchar : wchar_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mbstowcs (__pwcs : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } unsafe extern "C" { pub fn wcstombs (__s : * mut :: std :: os :: raw :: c_char , __pwcs : * const wchar_t , __n : usize) -> usize ; } unsafe extern "C" { pub fn rpmatch (__response : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getsubopt (__optionp : * mut * mut :: std :: os :: raw :: c_char , __tokens : * const * mut :: std :: os :: raw :: c_char , __valuep : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getloadavg (__loadavg : * mut f64 , __nelem : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct km_stat_t { pub capacity : usize , pub available : usize , pub n_blocks : usize , pub n_cores : usize , pub largest : usize , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of km_stat_t"] [:: std :: mem :: size_of :: < km_stat_t > () - 40usize] ; ["Alignment of km_stat_t"] [:: std :: mem :: align_of :: < km_stat_t > () - 8usize] ; ["Offset of field: km_stat_t::capacity"] [:: std :: mem :: offset_of ! (km_stat_t , capacity) - 0usize] ; ["Offset of field: km_stat_t::available"] [:: std :: mem :: offset_of ! (km_stat_t , available) - 8usize] ; ["Offset of field: km_stat_t::n_blocks"] [:: std :: mem :: offset_of ! (km_stat_t , n_blocks) - 16usize] ; ["Offset of field: km_stat_t::n_cores"] [:: std :: mem :: offset_of ! (km_stat_t , n_cores) - 24usize] ; ["Offset of field: km_stat_t::largest"] [:: std :: mem :: offset_of ! (km_stat_t , largest) - 32usize] ; } ; unsafe extern "C" { pub fn kmalloc (km : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn krealloc (km : * mut :: std :: os :: raw :: c_void , ptr : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn krelocate (km : * mut :: std :: os :: raw :: c_void , ap : * mut :: std :: os :: raw :: c_void , n_bytes : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn kcalloc (km : * mut :: std :: os :: raw :: c_void , count : usize , size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn kfree (km : * mut :: std :: os :: raw :: c_void , ptr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn km_init () -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn km_init2 (km_par : * mut :: std :: os :: raw :: c_void , min_core_size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn km_destroy (km : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn km_stat (_km : * const :: std :: os :: raw :: c_void , s : * mut km_stat_t) ; } unsafe extern "C" { pub fn km_stat_print (km : * const :: std :: os :: raw :: c_void) ; } pub type khint32_t = :: std :: os :: raw :: c_uint ; pub type khint64_t = :: std :: os :: raw :: c_ulong ; pub type khint_t = khint32_t ; pub type khiter_t = khint_t ; pub const __ac_HASH_UPPER : f64 = 0.77 ; pub type kh_cstr_t = * const :: std :: os :: raw :: c_char ; pub const _ISupper : _bindgen_ty_4 = 256 ; pub const _ISlower : _bindgen_ty_4 = 512 ; pub const _ISalpha : _bindgen_ty_4 = 1024 ; pub const _ISdigit : _bindgen_ty_4 = 2048 ; pub const _ISxdigit : _bindgen_ty_4 = 4096 ; pub const _ISspace : _bindgen_ty_4 = 8192 ; pub const _ISprint : _bindgen_ty_4 = 16384 ; pub const _ISgraph : _bindgen_ty_4 = 32768 ; pub const _ISblank : _bindgen_ty_4 = 1 ; pub const _IScntrl : _bindgen_ty_4 = 2 ; pub const _ISpunct : _bindgen_ty_4 = 4 ; pub const _ISalnum : _bindgen_ty_4 = 8 ; pub type _bindgen_ty_4 = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn __ctype_b_loc () -> * mut * const :: std :: os :: raw :: c_ushort ; } unsafe extern "C" { pub fn __ctype_tolower_loc () -> * mut * const __int32_t ; } unsafe extern "C" { pub fn __ctype_toupper_loc () -> * mut * const __int32_t ; } unsafe extern "C" { pub fn isalnum (arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isalpha (arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn iscntrl (arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isdigit (arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn islower (arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isgraph (arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isprint (arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ispunct (arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isspace (arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isupper (arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isxdigit (arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn tolower (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn toupper (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isblank (arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isascii (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn toascii (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn _toupper (arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn _tolower (arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isalnum_l (arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isalpha_l (arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn iscntrl_l (arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isdigit_l (arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn islower_l (arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isgraph_l (arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isprint_l (arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ispunct_l (arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isspace_l (arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isupper_l (arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isxdigit_l (arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn isblank_l (arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __tolower_l (__c : :: std :: os :: raw :: c_int , __l : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn tolower_l (__c : :: std :: os :: raw :: c_int , __l : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __toupper_l (__c : :: std :: os :: raw :: c_int , __l : locale_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn toupper_l (__c : :: std :: os :: raw :: c_int , __l : locale_t) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __kstring_t { pub l : usize , pub m : usize , pub s : * mut :: std :: os :: raw :: c_char , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __kstring_t"] [:: std :: mem :: size_of :: < __kstring_t > () - 24usize] ; ["Alignment of __kstring_t"] [:: std :: mem :: align_of :: < __kstring_t > () - 8usize] ; ["Offset of field: __kstring_t::l"] [:: std :: mem :: offset_of ! (__kstring_t , l) - 0usize] ; ["Offset of field: __kstring_t::m"] [:: std :: mem :: offset_of ! (__kstring_t , m) - 8usize] ; ["Offset of field: __kstring_t::s"] [:: std :: mem :: offset_of ! (__kstring_t , s) - 16usize] ; } ; pub type kstring_t = __kstring_t ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ksw_extz_t { pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 4usize] > , pub max_q : :: std :: os :: raw :: c_int , pub max_t : :: std :: os :: raw :: c_int , pub mqe : :: std :: os :: raw :: c_int , pub mqe_t : :: std :: os :: raw :: c_int , pub mte : :: std :: os :: raw :: c_int , pub mte_q : :: std :: os :: raw :: c_int , pub score : :: std :: os :: raw :: c_int , pub m_cigar : :: std :: os :: raw :: c_int , pub n_cigar : :: std :: os :: raw :: c_int , pub reach_end : :: std :: os :: raw :: c_int , pub cigar : * mut u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ksw_extz_t"] [:: std :: mem :: size_of :: < ksw_extz_t > () - 56usize] ; ["Alignment of ksw_extz_t"] [:: std :: mem :: align_of :: < ksw_extz_t > () - 8usize] ; ["Offset of field: ksw_extz_t::max_q"] [:: std :: mem :: offset_of ! (ksw_extz_t , max_q) - 4usize] ; ["Offset of field: ksw_extz_t::max_t"] [:: std :: mem :: offset_of ! (ksw_extz_t , max_t) - 8usize] ; ["Offset of field: ksw_extz_t::mqe"] [:: std :: mem :: offset_of ! (ksw_extz_t , mqe) - 12usize] ; ["Offset of field: ksw_extz_t::mqe_t"] [:: std :: mem :: offset_of ! (ksw_extz_t , mqe_t) - 16usize] ; ["Offset of field: ksw_extz_t::mte"] [:: std :: mem :: offset_of ! (ksw_extz_t , mte) - 20usize] ; ["Offset of field: ksw_extz_t::mte_q"] [:: std :: mem :: offset_of ! (ksw_extz_t , mte_q) - 24usize] ; ["Offset of field: ksw_extz_t::score"] [:: std :: mem :: offset_of ! (ksw_extz_t , score) - 28usize] ; ["Offset of field: ksw_extz_t::m_cigar"] [:: std :: mem :: offset_of ! (ksw_extz_t , m_cigar) - 32usize] ; ["Offset of field: ksw_extz_t::n_cigar"] [:: std :: mem :: offset_of ! (ksw_extz_t , n_cigar) - 36usize] ; ["Offset of field: ksw_extz_t::reach_end"] [:: std :: mem :: offset_of ! (ksw_extz_t , reach_end) - 40usize] ; ["Offset of field: ksw_extz_t::cigar"] [:: std :: mem :: offset_of ! (ksw_extz_t , cigar) - 48usize] ; } ; impl ksw_extz_t { # [inline] pub fn max (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 31u8) as u32) } } # [inline] pub fn set_max (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 31u8 , val as u64) } } # [inline] pub unsafe fn max_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 31u8 ,) as u32) } } # [inline] pub unsafe fn set_max_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 0usize , 31u8 , val as u64 ,) } } # [inline] pub fn zdropped (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (31usize , 1u8) as u32) } } # [inline] pub fn set_zdropped (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (31usize , 1u8 , val as u64) } } # [inline] pub unsafe fn zdropped_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 31usize , 1u8 ,) as u32) } } # [inline] pub unsafe fn set_zdropped_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 4usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 31usize , 1u8 , val as u64 ,) } } # [inline] pub fn new_bitfield_1 (max : u32 , zdropped : u32) -> __BindgenBitfieldUnit < [u8 ; 4usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 4usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 31u8 , { let max : u32 = unsafe { :: std :: mem :: transmute (max) } ; max as u64 }) ; __bindgen_bitfield_unit . set (31usize , 1u8 , { let zdropped : u32 = unsafe { :: std :: mem :: transmute (zdropped) } ; zdropped as u64 }) ; __bindgen_bitfield_unit } } unsafe extern "C" { # [doc = " NW-like extension\n\n @param km        memory pool, when used with kalloc\n @param qlen      query length\n @param query     query sequence with 0 <= query[i] < m\n @param tlen      target length\n @param target    target sequence with 0 <= target[i] < m\n @param m         number of residue types\n @param mat       m*m scoring mattrix in one-dimension array\n @param gapo      gap open penalty; a gap of length l cost \"-(gapo+l*gape)\"\n @param gape      gap extension penalty\n @param w         band width (<0 to disable)\n @param zdrop     off-diagonal drop-off to stop extension (positive; <0 to disable)\n @param flag      flag (see KSW_EZ_* macros)\n @param ez        (out) scores and cigar"] pub fn ksw_extz (km : * mut :: std :: os :: raw :: c_void , qlen : :: std :: os :: raw :: c_int , query : * const u8 , tlen : :: std :: os :: raw :: c_int , target : * const u8 , m : i8 , mat : * const i8 , q : i8 , e : i8 , w : :: std :: os :: raw :: c_int , zdrop : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int , ez : * mut ksw_extz_t) ; } unsafe extern "C" { pub fn ksw_extz2_sse (km : * mut :: std :: os :: raw :: c_void , qlen : :: std :: os :: raw :: c_int , query : * const u8 , tlen : :: std :: os :: raw :: c_int , target : * const u8 , m : i8 , mat : * const i8 , q : i8 , e : i8 , w : :: std :: os :: raw :: c_int , zdrop : :: std :: os :: raw :: c_int , end_bonus : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int , ez : * mut ksw_extz_t) ; } unsafe extern "C" { pub fn ksw_extd (km : * mut :: std :: os :: raw :: c_void , qlen : :: std :: os :: raw :: c_int , query : * const u8 , tlen : :: std :: os :: raw :: c_int , target : * const u8 , m : i8 , mat : * const i8 , gapo : i8 , gape : i8 , gapo2 : i8 , gape2 : i8 , w : :: std :: os :: raw :: c_int , zdrop : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int , ez : * mut ksw_extz_t) ; } unsafe extern "C" { pub fn ksw_extd2_sse (km : * mut :: std :: os :: raw :: c_void , qlen : :: std :: os :: raw :: c_int , query : * const u8 , tlen : :: std :: os :: raw :: c_int , target : * const u8 , m : i8 , mat : * const i8 , gapo : i8 , gape : i8 , gapo2 : i8 , gape2 : i8 , w : :: std :: os :: raw :: c_int , zdrop : :: std :: os :: raw :: c_int , end_bonus : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int , ez : * mut ksw_extz_t) ; } unsafe extern "C" { pub fn ksw_exts2_sse (km : * mut :: std :: os :: raw :: c_void , qlen : :: std :: os :: raw :: c_int , query : * const u8 , tlen : :: std :: os :: raw :: c_int , target : * const u8 , m : i8 , mat : * const i8 , gapo : i8 , gape : i8 , gapo2 : i8 , noncan : i8 , zdrop : :: std :: os :: raw :: c_int , end_bonus : :: std :: os :: raw :: c_int , junc_bonus : i8 , junc_pen : i8 , flag : :: std :: os :: raw :: c_int , junc : * const u8 , ez : * mut ksw_extz_t) ; } unsafe extern "C" { pub fn ksw_extf2_sse (km : * mut :: std :: os :: raw :: c_void , qlen : :: std :: os :: raw :: c_int , query : * const u8 , tlen : :: std :: os :: raw :: c_int , target : * const u8 , mch : i8 , mis : i8 , e : i8 , w : :: std :: os :: raw :: c_int , xdrop : :: std :: os :: raw :: c_int , ez : * mut ksw_extz_t) ; } unsafe extern "C" { # [doc = " Global alignment\n\n (first 10 parameters identical to ksw_extz_sse())\n @param m_cigar   (modified) max CIGAR length; feed 0 if cigar==0\n @param n_cigar   (out) number of CIGAR elements\n @param cigar     (out) BAM-encoded CIGAR; caller need to deallocate with kfree(km, )\n\n @return          score of the alignment"] pub fn ksw_gg (km : * mut :: std :: os :: raw :: c_void , qlen : :: std :: os :: raw :: c_int , query : * const u8 , tlen : :: std :: os :: raw :: c_int , target : * const u8 , m : i8 , mat : * const i8 , gapo : i8 , gape : i8 , w : :: std :: os :: raw :: c_int , m_cigar_ : * mut :: std :: os :: raw :: c_int , n_cigar_ : * mut :: std :: os :: raw :: c_int , cigar_ : * mut * mut u32) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ksw_gg2 (km : * mut :: std :: os :: raw :: c_void , qlen : :: std :: os :: raw :: c_int , query : * const u8 , tlen : :: std :: os :: raw :: c_int , target : * const u8 , m : i8 , mat : * const i8 , gapo : i8 , gape : i8 , w : :: std :: os :: raw :: c_int , m_cigar_ : * mut :: std :: os :: raw :: c_int , n_cigar_ : * mut :: std :: os :: raw :: c_int , cigar_ : * mut * mut u32) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ksw_gg2_sse (km : * mut :: std :: os :: raw :: c_void , qlen : :: std :: os :: raw :: c_int , query : * const u8 , tlen : :: std :: os :: raw :: c_int , target : * const u8 , m : i8 , mat : * const i8 , gapo : i8 , gape : i8 , w : :: std :: os :: raw :: c_int , m_cigar_ : * mut :: std :: os :: raw :: c_int , n_cigar_ : * mut :: std :: os :: raw :: c_int , cigar_ : * mut * mut u32) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ksw_ll_qinit (km : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int , qlen : :: std :: os :: raw :: c_int , query : * const u8 , m : :: std :: os :: raw :: c_int , mat : * const i8) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn ksw_ll_i16 (q : * mut :: std :: os :: raw :: c_void , tlen : :: std :: os :: raw :: c_int , target : * const u8 , gapo : :: std :: os :: raw :: c_int , gape : :: std :: os :: raw :: c_int , qe : * mut :: std :: os :: raw :: c_int , te : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __assert_fail (__assertion : * const :: std :: os :: raw :: c_char , __file : * const :: std :: os :: raw :: c_char , __line : :: std :: os :: raw :: c_uint , __function : * const :: std :: os :: raw :: c_char) -> ! ; } unsafe extern "C" { pub fn __assert_perror_fail (__errnum : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __line : :: std :: os :: raw :: c_uint , __function : * const :: std :: os :: raw :: c_char) -> ! ; } unsafe extern "C" { pub fn __assert (__assertion : * const :: std :: os :: raw :: c_char , __file : * const :: std :: os :: raw :: c_char , __line : :: std :: os :: raw :: c_int) -> ! ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm_seed_t { pub n : u32 , pub q_pos : u32 , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 8usize] > , pub cr : * const u64 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mm_seed_t"] [:: std :: mem :: size_of :: < mm_seed_t > () - 24usize] ; ["Alignment of mm_seed_t"] [:: std :: mem :: align_of :: < mm_seed_t > () - 8usize] ; ["Offset of field: mm_seed_t::n"] [:: std :: mem :: offset_of ! (mm_seed_t , n) - 0usize] ; ["Offset of field: mm_seed_t::q_pos"] [:: std :: mem :: offset_of ! (mm_seed_t , q_pos) - 4usize] ; ["Offset of field: mm_seed_t::cr"] [:: std :: mem :: offset_of ! (mm_seed_t , cr) - 16usize] ; } ; impl mm_seed_t { # [inline] pub fn q_span (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 31u8) as u32) } } # [inline] pub fn set_q_span (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 31u8 , val as u64) } } # [inline] pub unsafe fn q_span_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 8usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 31u8 ,) as u32) } } # [inline] pub unsafe fn set_q_span_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 8usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 0usize , 31u8 , val as u64 ,) } } # [inline] pub fn flt (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (31usize , 1u8) as u32) } } # [inline] pub fn set_flt (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (31usize , 1u8 , val as u64) } } # [inline] pub unsafe fn flt_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 8usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 31usize , 1u8 ,) as u32) } } # [inline] pub unsafe fn set_flt_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 8usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 31usize , 1u8 , val as u64 ,) } } # [inline] pub fn seg_id (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (32usize , 31u8) as u32) } } # [inline] pub fn set_seg_id (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (32usize , 31u8 , val as u64) } } # [inline] pub unsafe fn seg_id_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 8usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 32usize , 31u8 ,) as u32) } } # [inline] pub unsafe fn set_seg_id_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 8usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 32usize , 31u8 , val as u64 ,) } } # [inline] pub fn is_tandem (& self) -> u32 { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (63usize , 1u8) as u32) } } # [inline] pub fn set_is_tandem (& mut self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (63usize , 1u8 , val as u64) } } # [inline] pub unsafe fn is_tandem_raw (this : * const Self) -> u32 { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 8usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 63usize , 1u8 ,) as u32) } } # [inline] pub unsafe fn set_is_tandem_raw (this : * mut Self , val : u32) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 8usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 63usize , 1u8 , val as u64 ,) } } # [inline] pub fn new_bitfield_1 (q_span : u32 , flt : u32 , seg_id : u32 , is_tandem : u32) -> __BindgenBitfieldUnit < [u8 ; 8usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 8usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 31u8 , { let q_span : u32 = unsafe { :: std :: mem :: transmute (q_span) } ; q_span as u64 }) ; __bindgen_bitfield_unit . set (31usize , 1u8 , { let flt : u32 = unsafe { :: std :: mem :: transmute (flt) } ; flt as u64 }) ; __bindgen_bitfield_unit . set (32usize , 31u8 , { let seg_id : u32 = unsafe { :: std :: mem :: transmute (seg_id) } ; seg_id as u64 }) ; __bindgen_bitfield_unit . set (63usize , 1u8 , { let is_tandem : u32 = unsafe { :: std :: mem :: transmute (is_tandem) } ; is_tandem as u64 }) ; __bindgen_bitfield_unit } } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm_seg_t { pub n_u : :: std :: os :: raw :: c_int , pub n_a : :: std :: os :: raw :: c_int , pub u : * mut u64 , pub a : * mut mm128_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mm_seg_t"] [:: std :: mem :: size_of :: < mm_seg_t > () - 24usize] ; ["Alignment of mm_seg_t"] [:: std :: mem :: align_of :: < mm_seg_t > () - 8usize] ; ["Offset of field: mm_seg_t::n_u"] [:: std :: mem :: offset_of ! (mm_seg_t , n_u) - 0usize] ; ["Offset of field: mm_seg_t::n_a"] [:: std :: mem :: offset_of ! (mm_seg_t , n_a) - 4usize] ; ["Offset of field: mm_seg_t::u"] [:: std :: mem :: offset_of ! (mm_seg_t , u) - 8usize] ; ["Offset of field: mm_seg_t::a"] [:: std :: mem :: offset_of ! (mm_seg_t , a) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm_idx_jjump1_t { pub off : i32 , pub off2 : i32 , pub cnt : i32 , pub strand : i16 , pub flag : u16 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mm_idx_jjump1_t"] [:: std :: mem :: size_of :: < mm_idx_jjump1_t > () - 16usize] ; ["Alignment of mm_idx_jjump1_t"] [:: std :: mem :: align_of :: < mm_idx_jjump1_t > () - 4usize] ; ["Offset of field: mm_idx_jjump1_t::off"] [:: std :: mem :: offset_of ! (mm_idx_jjump1_t , off) - 0usize] ; ["Offset of field: mm_idx_jjump1_t::off2"] [:: std :: mem :: offset_of ! (mm_idx_jjump1_t , off2) - 4usize] ; ["Offset of field: mm_idx_jjump1_t::cnt"] [:: std :: mem :: offset_of ! (mm_idx_jjump1_t , cnt) - 8usize] ; ["Offset of field: mm_idx_jjump1_t::strand"] [:: std :: mem :: offset_of ! (mm_idx_jjump1_t , strand) - 12usize] ; ["Offset of field: mm_idx_jjump1_t::flag"] [:: std :: mem :: offset_of ! (mm_idx_jjump1_t , flag) - 14usize] ; } ; unsafe extern "C" { pub fn cputime () -> f64 ; } unsafe extern "C" { pub fn realtime () -> f64 ; } unsafe extern "C" { pub fn peakrss () -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn radix_sort_128x (beg : * mut mm128_t , end : * mut mm128_t) ; } unsafe extern "C" { pub fn radix_sort_64 (beg : * mut u64 , end : * mut u64) ; } unsafe extern "C" { pub fn ks_ksmall_uint32_t (n : usize , arr : * mut u32 , kk : usize) -> u32 ; } unsafe extern "C" { pub fn mm_sketch (km : * mut :: std :: os :: raw :: c_void , str_ : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , k : :: std :: os :: raw :: c_int , rid : u32 , is_hpc : :: std :: os :: raw :: c_int , p : * mut mm128_v) ; } unsafe extern "C" { pub fn mm_collect_matches (km : * mut :: std :: os :: raw :: c_void , _n_m : * mut :: std :: os :: raw :: c_int , qlen : :: std :: os :: raw :: c_int , max_occ : :: std :: os :: raw :: c_int , max_max_occ : :: std :: os :: raw :: c_int , dist : :: std :: os :: raw :: c_int , mi : * const mm_idx_t , mv : * const mm128_v , n_a : * mut i64 , rep_len : * mut :: std :: os :: raw :: c_int , n_mini_pos : * mut :: std :: os :: raw :: c_int , mini_pos : * mut * mut u64) -> * mut mm_seed_t ; } unsafe extern "C" { pub fn mm_seed_mz_flt (km : * mut :: std :: os :: raw :: c_void , mv : * mut mm128_v , q_occ_max : i32 , q_occ_frac : f32) ; } unsafe extern "C" { pub fn mm_event_identity (r : * const mm_reg1_t) -> f64 ; } unsafe extern "C" { pub fn mm_write_sam_hdr (mi : * const mm_idx_t , rg : * const :: std :: os :: raw :: c_char , ver : * const :: std :: os :: raw :: c_char , argc : :: std :: os :: raw :: c_int , argv : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_write_paf (s : * mut kstring_t , mi : * const mm_idx_t , t : * const mm_bseq1_t , r : * const mm_reg1_t , km : * mut :: std :: os :: raw :: c_void , opt_flag : i64) ; } unsafe extern "C" { pub fn mm_write_paf3 (s : * mut kstring_t , mi : * const mm_idx_t , t : * const mm_bseq1_t , r : * const mm_reg1_t , km : * mut :: std :: os :: raw :: c_void , opt_flag : i64 , rep_len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn mm_write_paf4 (s : * mut kstring_t , mi : * const mm_idx_t , t : * const mm_bseq1_t , r : * const mm_reg1_t , km : * mut :: std :: os :: raw :: c_void , opt_flag : i64 , rep_len : :: std :: os :: raw :: c_int , n_seg : :: std :: os :: raw :: c_int , seg_idx : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn mm_write_sam (s : * mut kstring_t , mi : * const mm_idx_t , t : * const mm_bseq1_t , r : * const mm_reg1_t , n_regs : :: std :: os :: raw :: c_int , regs : * const mm_reg1_t) ; } unsafe extern "C" { pub fn mm_write_sam2 (s : * mut kstring_t , mi : * const mm_idx_t , t : * const mm_bseq1_t , seg_idx : :: std :: os :: raw :: c_int , reg_idx : :: std :: os :: raw :: c_int , n_seg : :: std :: os :: raw :: c_int , n_regs : * const :: std :: os :: raw :: c_int , regs : * const * const mm_reg1_t , km : * mut :: std :: os :: raw :: c_void , opt_flag : i64) ; } unsafe extern "C" { pub fn mm_write_sam3 (s : * mut kstring_t , mi : * const mm_idx_t , t : * const mm_bseq1_t , seg_idx : :: std :: os :: raw :: c_int , reg_idx : :: std :: os :: raw :: c_int , n_seg : :: std :: os :: raw :: c_int , n_regss : * const :: std :: os :: raw :: c_int , regss : * const * const mm_reg1_t , km : * mut :: std :: os :: raw :: c_void , opt_flag : i64 , rep_len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn mm_write_junc (s : * mut kstring_t , mi : * const mm_idx_t , t : * const mm_bseq1_t , r : * const mm_reg1_t) ; } unsafe extern "C" { pub fn mm_idxopt_init (opt : * mut mm_idxopt_t) ; } unsafe extern "C" { pub fn mm_idx_get (mi : * const mm_idx_t , minier : u64 , n : * mut :: std :: os :: raw :: c_int) -> * const u64 ; } unsafe extern "C" { pub fn mm_idx_cal_max_occ (mi : * const mm_idx_t , f : f32) -> i32 ; } unsafe extern "C" { pub fn mm_idx_getseq2 (mi : * const mm_idx_t , is_rev : :: std :: os :: raw :: c_int , rid : u32 , st : u32 , en : u32 , seq : * mut u8) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_gen_regs (km : * mut :: std :: os :: raw :: c_void , hash : u32 , qlen : :: std :: os :: raw :: c_int , n_u : :: std :: os :: raw :: c_int , u : * mut u64 , a : * mut mm128_t , is_qstrand : :: std :: os :: raw :: c_int) -> * mut mm_reg1_t ; } unsafe extern "C" { pub fn mm_idx_jjump_read (mi : * mut mm_idx_t , fn_ : * const :: std :: os :: raw :: c_char , flag : :: std :: os :: raw :: c_int , min_sc : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_idx_jump_get (db : * const mm_idx_t , cid : i32 , st : i32 , en : i32 , n : * mut i32) -> * const mm_idx_jjump1_t ; } unsafe extern "C" { pub fn mg_lchain_dp (max_dist_x : :: std :: os :: raw :: c_int , max_dist_y : :: std :: os :: raw :: c_int , bw : :: std :: os :: raw :: c_int , max_skip : :: std :: os :: raw :: c_int , max_iter : :: std :: os :: raw :: c_int , min_cnt : :: std :: os :: raw :: c_int , min_sc : :: std :: os :: raw :: c_int , chn_pen_gap : f32 , chn_pen_skip : f32 , is_cdna : :: std :: os :: raw :: c_int , n_segs : :: std :: os :: raw :: c_int , n : i64 , a : * mut mm128_t , n_u_ : * mut :: std :: os :: raw :: c_int , _u : * mut * mut u64 , km : * mut :: std :: os :: raw :: c_void) -> * mut mm128_t ; } unsafe extern "C" { pub fn mg_lchain_rmq (max_dist : :: std :: os :: raw :: c_int , max_dist_inner : :: std :: os :: raw :: c_int , bw : :: std :: os :: raw :: c_int , max_chn_skip : :: std :: os :: raw :: c_int , cap_rmq_size : :: std :: os :: raw :: c_int , min_cnt : :: std :: os :: raw :: c_int , min_sc : :: std :: os :: raw :: c_int , chn_pen_gap : f32 , chn_pen_skip : f32 , n : i64 , a : * mut mm128_t , n_u_ : * mut :: std :: os :: raw :: c_int , _u : * mut * mut u64 , km : * mut :: std :: os :: raw :: c_void) -> * mut mm128_t ; } unsafe extern "C" { pub fn mm_mark_alt (mi : * const mm_idx_t , n : :: std :: os :: raw :: c_int , r : * mut mm_reg1_t) ; } unsafe extern "C" { pub fn mm_split_reg (r : * mut mm_reg1_t , r2 : * mut mm_reg1_t , n : :: std :: os :: raw :: c_int , qlen : :: std :: os :: raw :: c_int , a : * mut mm128_t , is_qstrand : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn mm_sync_regs (km : * mut :: std :: os :: raw :: c_void , n_regs : :: std :: os :: raw :: c_int , regs : * mut mm_reg1_t) ; } unsafe extern "C" { pub fn mm_squeeze_a (km : * mut :: std :: os :: raw :: c_void , n_regs : :: std :: os :: raw :: c_int , regs : * mut mm_reg1_t , a : * mut mm128_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_set_sam_pri (n : :: std :: os :: raw :: c_int , r : * mut mm_reg1_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_set_parent (km : * mut :: std :: os :: raw :: c_void , mask_level : f32 , mask_len : :: std :: os :: raw :: c_int , n : :: std :: os :: raw :: c_int , r : * mut mm_reg1_t , sub_diff : :: std :: os :: raw :: c_int , hard_mask_level : :: std :: os :: raw :: c_int , alt_diff_frac : f32) ; } unsafe extern "C" { pub fn mm_select_sub (km : * mut :: std :: os :: raw :: c_void , pri_ratio : f32 , min_diff : :: std :: os :: raw :: c_int , best_n : :: std :: os :: raw :: c_int , check_strand : :: std :: os :: raw :: c_int , min_strand_sc : :: std :: os :: raw :: c_int , n_ : * mut :: std :: os :: raw :: c_int , r : * mut mm_reg1_t) ; } unsafe extern "C" { pub fn mm_select_sub_multi (km : * mut :: std :: os :: raw :: c_void , pri_ratio : f32 , pri1 : f32 , pri2 : f32 , max_gap_ref : :: std :: os :: raw :: c_int , min_diff : :: std :: os :: raw :: c_int , best_n : :: std :: os :: raw :: c_int , n_segs : :: std :: os :: raw :: c_int , qlens : * const :: std :: os :: raw :: c_int , n_ : * mut :: std :: os :: raw :: c_int , r : * mut mm_reg1_t) ; } unsafe extern "C" { pub fn mm_filter_strand_retained (n_regs : :: std :: os :: raw :: c_int , r : * mut mm_reg1_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_filter_regs (opt : * const mm_mapopt_t , qlen : :: std :: os :: raw :: c_int , n_regs : * mut :: std :: os :: raw :: c_int , regs : * mut mm_reg1_t) ; } unsafe extern "C" { pub fn mm_hit_sort (km : * mut :: std :: os :: raw :: c_void , n_regs : * mut :: std :: os :: raw :: c_int , r : * mut mm_reg1_t , alt_diff_frac : f32) ; } unsafe extern "C" { pub fn mm_set_mapq2 (km : * mut :: std :: os :: raw :: c_void , n_regs : :: std :: os :: raw :: c_int , regs : * mut mm_reg1_t , min_chain_sc : :: std :: os :: raw :: c_int , match_sc : :: std :: os :: raw :: c_int , rep_len : :: std :: os :: raw :: c_int , is_sr : :: std :: os :: raw :: c_int , is_splice : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn mm_update_dp_max (qlen : :: std :: os :: raw :: c_int , n_regs : :: std :: os :: raw :: c_int , regs : * mut mm_reg1_t , frac : f32 , a : :: std :: os :: raw :: c_int , b : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn mm_jump_split (km : * mut :: std :: os :: raw :: c_void , mi : * const mm_idx_t , opt : * const mm_mapopt_t , qlen : i32 , qseq : * const u8 , r : * mut mm_reg1_t , ts_strand : i32) ; } unsafe extern "C" { pub fn mm_align_skeleton (km : * mut :: std :: os :: raw :: c_void , opt : * const mm_mapopt_t , mi : * const mm_idx_t , qlen : :: std :: os :: raw :: c_int , qstr : * const :: std :: os :: raw :: c_char , n_regs_ : * mut :: std :: os :: raw :: c_int , regs : * mut mm_reg1_t , a : * mut mm128_t) -> * mut mm_reg1_t ; } unsafe extern "C" { pub fn mm_enlarge_cigar (r : * mut mm_reg1_t , n_cigar : u32) ; } unsafe extern "C" { pub fn mm_est_err (mi : * const mm_idx_t , qlen : :: std :: os :: raw :: c_int , n_regs : :: std :: os :: raw :: c_int , regs : * mut mm_reg1_t , a : * const mm128_t , n : i32 , mini_pos : * const u64) ; } unsafe extern "C" { pub fn mm_seg_gen (km : * mut :: std :: os :: raw :: c_void , hash : u32 , n_segs : :: std :: os :: raw :: c_int , qlens : * const :: std :: os :: raw :: c_int , n_regs0 : :: std :: os :: raw :: c_int , regs0 : * const mm_reg1_t , n_regs : * mut :: std :: os :: raw :: c_int , regs : * mut * mut mm_reg1_t , a : * const mm128_t) -> * mut mm_seg_t ; } unsafe extern "C" { pub fn mm_seg_free (km : * mut :: std :: os :: raw :: c_void , n_segs : :: std :: os :: raw :: c_int , segs : * mut mm_seg_t) ; } unsafe extern "C" { pub fn mm_pair (km : * mut :: std :: os :: raw :: c_void , max_gap_ref : :: std :: os :: raw :: c_int , dp_bonus : :: std :: os :: raw :: c_int , sub_diff : :: std :: os :: raw :: c_int , match_sc : :: std :: os :: raw :: c_int , qlens : * const :: std :: os :: raw :: c_int , n_regs : * mut :: std :: os :: raw :: c_int , regs : * mut * mut mm_reg1_t) ; } unsafe extern "C" { pub fn mm_split_init (prefix : * const :: std :: os :: raw :: c_char , mi : * const mm_idx_t) -> * mut FILE ; } unsafe extern "C" { pub fn mm_split_merge_prep (prefix : * const :: std :: os :: raw :: c_char , n_splits : :: std :: os :: raw :: c_int , fp : * mut * mut FILE , n_seq_part : * mut u32) -> * mut mm_idx_t ; } unsafe extern "C" { pub fn mm_split_merge (n_segs : :: std :: os :: raw :: c_int , fn_ : * mut * const :: std :: os :: raw :: c_char , opt : * const mm_mapopt_t , n_split_idx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn mm_split_rm_tmp (prefix : * const :: std :: os :: raw :: c_char , n_splits : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn mm_err_puts (str_ : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn mm_err_fwrite (p : * const :: std :: os :: raw :: c_void , size : usize , nitems : usize , fp : * mut FILE) ; } unsafe extern "C" { pub fn mm_err_fread (p : * mut :: std :: os :: raw :: c_void , size : usize , nitems : usize , fp : * mut FILE) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ketopt_t { pub ind : :: std :: os :: raw :: c_int , pub opt : :: std :: os :: raw :: c_int , pub arg : * mut :: std :: os :: raw :: c_char , pub longidx : :: std :: os :: raw :: c_int , pub i : :: std :: os :: raw :: c_int , pub pos : :: std :: os :: raw :: c_int , pub n_args : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ketopt_t"] [:: std :: mem :: size_of :: < ketopt_t > () - 32usize] ; ["Alignment of ketopt_t"] [:: std :: mem :: align_of :: < ketopt_t > () - 8usize] ; ["Offset of field: ketopt_t::ind"] [:: std :: mem :: offset_of ! (ketopt_t , ind) - 0usize] ; ["Offset of field: ketopt_t::opt"] [:: std :: mem :: offset_of ! (ketopt_t , opt) - 4usize] ; ["Offset of field: ketopt_t::arg"] [:: std :: mem :: offset_of ! (ketopt_t , arg) - 8usize] ; ["Offset of field: ketopt_t::longidx"] [:: std :: mem :: offset_of ! (ketopt_t , longidx) - 16usize] ; ["Offset of field: ketopt_t::i"] [:: std :: mem :: offset_of ! (ketopt_t , i) - 20usize] ; ["Offset of field: ketopt_t::pos"] [:: std :: mem :: offset_of ! (ketopt_t , pos) - 24usize] ; ["Offset of field: ketopt_t::n_args"] [:: std :: mem :: offset_of ! (ketopt_t , n_args) - 28usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ko_longopt_t { pub name : * mut :: std :: os :: raw :: c_char , pub has_arg : :: std :: os :: raw :: c_int , pub val : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ko_longopt_t"] [:: std :: mem :: size_of :: < ko_longopt_t > () - 16usize] ; ["Alignment of ko_longopt_t"] [:: std :: mem :: align_of :: < ko_longopt_t > () - 8usize] ; ["Offset of field: ko_longopt_t::name"] [:: std :: mem :: offset_of ! (ko_longopt_t , name) - 0usize] ; ["Offset of field: ko_longopt_t::has_arg"] [:: std :: mem :: offset_of ! (ko_longopt_t , has_arg) - 8usize] ; ["Offset of field: ko_longopt_t::val"] [:: std :: mem :: offset_of ! (ko_longopt_t , val) - 12usize] ; } ; unsafe extern "C" { pub static mut KETOPT_INIT : ketopt_t ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ks_isort_stack_t { pub left : * mut :: std :: os :: raw :: c_void , pub right : * mut :: std :: os :: raw :: c_void , pub depth : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ks_isort_stack_t"] [:: std :: mem :: size_of :: < ks_isort_stack_t > () - 24usize] ; ["Alignment of ks_isort_stack_t"] [:: std :: mem :: align_of :: < ks_isort_stack_t > () - 8usize] ; ["Offset of field: ks_isort_stack_t::left"] [:: std :: mem :: offset_of ! (ks_isort_stack_t , left) - 0usize] ; ["Offset of field: ks_isort_stack_t::right"] [:: std :: mem :: offset_of ! (ks_isort_stack_t , right) - 8usize] ; ["Offset of field: ks_isort_stack_t::depth"] [:: std :: mem :: offset_of ! (ks_isort_stack_t , depth) - 16usize] ; } ; pub type ksstr_t = * const :: std :: os :: raw :: c_char ; unsafe extern "C" { pub fn kt_for (n_threads : :: std :: os :: raw :: c_int , func : :: std :: option :: Option < unsafe extern "C" fn (arg1 : * mut :: std :: os :: raw :: c_void , arg2 : :: std :: os :: raw :: c_long , arg3 : :: std :: os :: raw :: c_int) > , data : * mut :: std :: os :: raw :: c_void , n : :: std :: os :: raw :: c_long) ; } unsafe extern "C" { pub fn kt_pipeline (n_threads : :: std :: os :: raw :: c_int , func : :: std :: option :: Option < unsafe extern "C" fn (arg1 : * mut :: std :: os :: raw :: c_void , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void > , shared_data : * mut :: std :: os :: raw :: c_void , n_steps : :: std :: os :: raw :: c_int) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct sdust_buf_s { _unused : [u8 ; 0] , } pub type sdust_buf_t = sdust_buf_s ; unsafe extern "C" { pub fn sdust (km : * mut :: std :: os :: raw :: c_void , seq : * const u8 , l_seq : :: std :: os :: raw :: c_int , T : :: std :: os :: raw :: c_int , W : :: std :: os :: raw :: c_int , n : * mut :: std :: os :: raw :: c_int) -> * mut u64 ; } unsafe extern "C" { pub fn sdust_buf_init (km : * mut :: std :: os :: raw :: c_void) -> * mut sdust_buf_t ; } unsafe extern "C" { pub fn sdust_buf_destroy (buf : * mut sdust_buf_t) ; } unsafe extern "C" { pub fn sdust_core (seq : * const u8 , l_seq : :: std :: os :: raw :: c_int , T : :: std :: os :: raw :: c_int , W : :: std :: os :: raw :: c_int , n : * mut :: std :: os :: raw :: c_int , buf : * mut sdust_buf_t) -> * const u64 ; } pub type __builtin_va_list = [__va_list_tag ; 1usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __va_list_tag"] [:: std :: mem :: size_of :: < __va_list_tag > () - 24usize] ; ["Alignment of __va_list_tag"] [:: std :: mem :: align_of :: < __va_list_tag > () - 8usize] ; ["Offset of field: __va_list_tag::gp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , gp_offset) - 0usize] ; ["Offset of field: __va_list_tag::fp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , fp_offset) - 4usize] ; ["Offset of field: __va_list_tag::overflow_arg_area"] [:: std :: mem :: offset_of ! (__va_list_tag , overflow_arg_area) - 8usize] ; ["Offset of field: __va_list_tag::reg_save_area"] [:: std :: mem :: offset_of ! (__va_list_tag , reg_save_area) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm_idx_bucket_s { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm_idx_intv_s { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm_idx_spsc_s { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mm_idx_jjump_s { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __locale_data { pub _address : u8 , }