/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ffi/ |
H A D | ssl.rs | 14 use libc::{c_char, c_int, c_long, c_uchar, c_uint, c_void}; 42 larg: c_long, in SSL_CTX_ctrl() argument 44 ) -> c_long; in SSL_CTX_ctrl() argument 158 pub(crate) fn SSL_get_verify_result(ssl: *const SSL) -> c_long; in SSL_get_verify_result() argument 178 pub(crate) fn SSL_ctrl(ssl: *mut SSL, cmd: c_int, larg: c_long, parg: *mut c_void) -> c_long; in SSL_ctrl() argument
|
H A D | x509.rs | 14 use libc::{c_char, c_int, c_long, c_uchar, c_uint, size_t}; 51 pub(crate) fn X509_verify_cert_error_string(n: c_long) -> *const c_char; in X509_verify_cert_error_string() 59 length: c_long, in d2i_X509() argument 62 pub(crate) fn X509_get_version(a: *const C_X509) -> c_long; in X509_get_version() argument
|
H A D | bio.rs | 14 use libc::{c_char, c_int, c_long, c_void}; 65 read: unsafe extern "C" fn(*mut BIO, c_int, c_long, *mut c_void) -> c_long, in BIO_meth_set_ctrl() argument
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/num_cpus/ |
H A D | windows.rs | 15 use std::os::raw::c_long; 18 pub(crate) fn get_cpu_num_online() -> c_long { in get_cpu_num_online() 41 sysinfo.dw_number_of_processors as c_long in get_cpu_num_online()
|
H A D | unix.rs | 16 use std::os::raw::c_long; 20 pub fn get_cpu_num_online() -> c_long { in get_cpu_num_online()
|
H A D | mod.rs | 18 use std::os::raw::c_long; 42 pub fn get_cpu_num() -> c_long { in get_cpu_num()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ |
H A D | x509.rs | 19 use libc::{c_int, c_long, c_uint}; 77 ::std::cmp::min(der.len(), ::libc::c_long::max_value() as usize) as ::libc::c_long; in from_der() 111 pub(crate) fn get_cert_version(&self) -> c_long { in get_cert_version() argument 175 let s = X509_verify_cert_error_string(self.0 as c_long); in error_string()
|
H A D | bio.rs | 21 use libc::{c_char, c_int, c_long, c_void, strlen}; 132 pub(crate) dtls_mtu_size: c_long, 186 _num: c_long, in ctrl() argument 188 ) -> c_long { in ctrl() argument
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/ |
H A D | ssl_base.rs | 21 use libc::{c_char, c_int, c_long, c_void}; 174 unsafe fn ssl_set_tlsext_host_name(s: *mut SSL, name: *mut c_char) -> c_long { in ssl_set_tlsext_host_name() argument 178 TLSEXT_NAMETYPE_HOST_NAME as c_long, in ssl_set_tlsext_host_name()
|
H A D | ctx.rs | 18 use libc::{c_int, c_long, c_uint, c_void}; 124 version.0 as c_long, in set_min_proto_version() 138 version.0 as c_long, in set_max_proto_version()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/ |
H A D | winapi.rs | 18 use libc::{c_char, c_int, c_long, c_uchar, c_ulong, c_ushort, c_void}; 32 pub type NTSTATUS = c_long; 61 pub const FIONBIO: c_long = -2147195266; 178 pub fn ioctlsocket(s: SOCKET, cmd: c_long, argp: *mut c_ulong) -> c_int; in ioctlsocket() argument
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | async_pool.rs | 25 c_long, cpu_set_t, getpid, sched_getaffinity, sysconf, CPU_ISSET, _SC_NPROCESSORS_ONLN, 99 fn get_cpu_num() -> c_long { in get_cpu_num()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/ |
H A D | kqueue.rs | 53 tv_nsec: libc::c_long::from(time.subsec_nanos() as i32), in select()
|