Home
last modified time | relevance | path

Searched refs:c_long (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ffi/
H A Dssl.rs14 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 Dx509.rs14 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 Dbio.rs14 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 Dwindows.rs15 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 Dunix.rs16 use std::os::raw::c_long;
20 pub fn get_cpu_num_online() -> c_long { in get_cpu_num_online()
H A Dmod.rs18 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 Dx509.rs19 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 Dbio.rs21 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 Dssl_base.rs21 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 Dctx.rs18 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 Dwinapi.rs18 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 Dasync_pool.rs25 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 Dkqueue.rs53 tv_nsec: libc::c_long::from(time.subsec_nanos() as i32), in select()