Home
last modified time | relevance | path

Searched defs:c_int (Results 1 – 25 of 40) sorted by relevance

12

/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ffi/
H A Dbio.rs33 pub(crate) fn BIO_set_init(a: *mut BIO, init: c_int); in BIO_set_init()
35 pub(crate) fn BIO_set_flags(b: *mut BIO, flags: c_int); in BIO_set_flags()
37 pub(crate) fn BIO_clear_flags(b: *mut BIO, flags: c_int); in BIO_clear_flags()
44 pub(crate) fn BIO_meth_new(type_: c_int, name: *const c_char) -> *mut BIO_METHOD; in BIO_meth_new()
50 write: unsafe extern "C" fn(*mut BIO, *const c_char, c_int) -> c_int, in BIO_meth_set_write() argument
55 read: unsafe extern "C" fn(*mut BIO, *mut c_char, c_int) -> c_int, in BIO_meth_set_read() argument
60 read: unsafe extern "C" fn(*mut BIO, *const c_char) -> c_int, in BIO_meth_set_puts()
65 read: unsafe extern "C" fn(*mut BIO, c_int, c_long, *mut c_void) -> c_long, in BIO_meth_set_ctrl() argument
66 ) -> c_int; in BIO_meth_set_ctrl()
70 create: unsafe extern "C" fn(*mut BIO) -> c_int, in BIO_meth_set_create()
[all …]
H A Dssl.rs36 pub(crate) fn SSL_CTX_up_ref(x: *mut SSL_CTX) -> c_int; in SSL_CTX_up_ref()
41 cmd: c_int, in SSL_CTX_ctrl()
51 ) -> c_int; in SSL_CTX_load_verify_locations()
67 file_type: c_int, in SSL_CTX_use_certificate_file()
68 ) -> c_int; in SSL_CTX_use_certificate_file()
78 ) -> c_int; in SSL_CTX_use_certificate_chain_file()
85 ) -> c_int; in SSL_CTX_set_alpn_protos()
119 mode: c_int, in SSL_CTX_set_verify()
120 verify_callback: Option<extern "C" fn(c_int, *mut X509_STORE_CTX) -> c_int>, in SSL_CTX_set_verify()
174 pub(crate) fn SSL_connect(ssl: *mut SSL) -> c_int; in SSL_connect()
[all …]
H A Derr.rs34 line: *mut c_int, in ERR_get_error_all()
37 flags: *mut c_int, in ERR_get_error_all()
43 line: *mut c_int, in ERR_get_error_line_data()
45 flags: *mut c_int, in ERR_get_error_line_data()
H A Dx509.rs31 pub(crate) fn EVP_DigestInit(ctx: *mut EVP_MD_CTX, md: *mut EVP_MD) -> c_int; in EVP_DigestInit()
35 pub(crate) fn EVP_DigestUpdate(ctx: *mut EVP_MD_CTX, buf: *const c_uchar, cnt: c_int) -> c_int; in EVP_DigestUpdate()
71 size: c_int, in X509_NAME_oneline()
76 pub(crate) fn X509_verify(a: *mut C_X509, pkey: *mut EVP_PKEY) -> c_int; in X509_verify()
78 pub(crate) fn X509_up_ref(x: *mut C_X509) -> c_int; in X509_up_ref()
96 pub(crate) fn X509_STORE_add_cert(store: *mut X509_STORE, x: *mut C_X509) -> c_int; in X509_STORE_add_cert()
101 pub(crate) fn X509_STORE_load_path(store: *mut X509_STORE, x: *const c_char) -> c_int; in X509_STORE_load_path()
126 ) -> c_int; in X509_VERIFY_PARAM_set1_host()
134 ) -> c_int; in X509_VERIFY_PARAM_set1_ip()
145 pub(crate) fn i2d_X509_PUBKEY(pubkey: *const X509_PUBKEY, buf: *mut *const c_uchar) -> c_int; in i2d_X509_PUBKEY()
H A Dcallback.rs22 pub(crate) extern "C" fn cert_verify(ctx: *mut X509_STORE_CTX, arg: *mut c_void) -> c_int { in cert_verify()
H A Dstack.rs25 pub(crate) fn OPENSSL_sk_num(stack: *const OPENSSL_STACK) -> c_int; in OPENSSL_sk_num()
H A Dmod.rs31 pub(crate) fn OPENSSL_init_ssl(opts: u64, settings: *const OPENSSL_INIT_SETTINGS) -> c_int; in OPENSSL_init_ssl()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_ffrt/src/
H A Dsys_event.rs28 fn ffrt_sys_event_create(ty: c_int, fd: usize, filter: usize) -> FfrtSysEventHandleT; in ffrt_sys_event_create()
29 fn ffrt_sys_event_wait(event: FfrtSysEventHandleT, sec: i64) -> c_int; in ffrt_sys_event_wait()
35 fd: c_int, in ffrt_poller_register()
39 ) -> c_int; in ffrt_poller_register()
42 pub fn ffrt_poller_deregister(fd: c_int) -> c_int; in ffrt_poller_deregister()
58 pub fn ffrt_timer_query(handle: FfrtTimerHandle) -> c_int; in ffrt_timer_query()
/ohos5.0/base/update/updater/services/rust/hash_signed_data/src/
H A Dffi.rs19 pub extern fn err_print_cb (err_str: *const c_char, _len: c_ulong, _u: *mut c_void) -> c_int in err_print_cb()
29 pub fn EVP_DecodeBlock(t: *mut c_uchar, f: *const c_uchar, n: c_int) -> c_int; in EVP_DecodeBlock()
36 ) -> c_int, in ERR_print_errors_cb()
53 …pub fn Logger(level: c_int, file_name: *const c_char, line: i32, format: *const c_char, ...) -> c_… in Logger()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/c_adapter/
H A Dcloud_extension.rs135 ) -> c_int { in OhCloudExtCloudAssetLoaderUpload()
178 ) -> c_int { in OhCloudExtCloudAssetLoaderDownload()
219 ) -> c_int { in OhCloudExtCloudAssetLoaderRemoveLocalAssets()
282 ) -> c_int { in OhCloudExtCloudDbExecuteSql()
322 ) -> c_int { in OhCloudExtCloudDbBatchInsert()
367 ) -> c_int { in OhCloudExtCloudDbBatchUpdate()
410 ) -> c_int { in OhCloudExtCloudDbBatchDelete()
452 ) -> c_int { in OhCloudExtCloudDbBatchQuery()
482 ) -> c_int { in OhCloudExtCloudDbLock()
552 ) -> c_int { in OhCloudExtCloudSyncGetServiceInfo()
[all …]
H A Dcloud_ext_types.rs157 ) -> c_int { in OhCloudExtValueGetContent()
258 ) -> c_int { in OhCloudExtCloudAssetGetId()
278 ) -> c_int { in OhCloudExtCloudAssetGetName()
298 ) -> c_int { in OhCloudExtCloudAssetGetUri()
318 ) -> c_int { in OhCloudExtCloudAssetGetLocalPath()
338 ) -> c_int { in OhCloudExtCloudAssetGetCreateTime()
358 ) -> c_int { in OhCloudExtCloudAssetGetModifiedTime()
378 ) -> c_int { in OhCloudExtCloudAssetGetSize()
398 ) -> c_int { in OhCloudExtCloudAssetGetHash()
459 ) -> c_int { in OhCloudExtDatabaseGetName()
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_signal/src/
H A Dwindows.rs38 sig_num: c_int, in replace_sigaction()
51 pub(crate) extern "C" fn sig_handler(sig_num: c_int) { in sig_handler()
84 fn execute_act(act: sighandler_t, sig_num: c_int) { in execute_act()
H A Dunix.rs39 pub(crate) fn replace_sigaction(sig_num: c_int, new_action: usize) -> io::Result<sigaction> { in replace_sigaction()
56 pub(crate) extern "C" fn sig_handler(sig_num: c_int, sig_info: *mut siginfo_t, data: *mut c_void) { in sig_handler()
87 fn execute_act(act: &sigaction, sig_num: c_int, sig_info: *mut siginfo_t, data: *mut c_void) { in execute_act()
H A Dlib.rs72 pub unsafe fn register_signal_action<F>(sig_num: c_int, handler: F) -> io::Result<()> in register_signal_action()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/
H A Dsocket.rs18 pub(crate) fn socket_new(domain: c_int, socket_type: c_int) -> io::Result<c_int> { in socket_new()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
H A Dbio.rs185 ctrl_cmd: c_int, in ctrl()
211 unsafe fn BIO_set_num(_bio: *mut BIO, _num: c_int) {} in BIO_set_num()
213 unsafe extern "C" fn create(bio: *mut BIO) -> c_int { in create()
221 unsafe extern "C" fn destroy<S>(bio: *mut BIO) -> c_int { in destroy()
251 unsafe extern "C" fn bwrite<S: Write>(bio: *mut BIO, buf: *const c_char, len: c_int) -> c_int { in bwrite()
264 unsafe extern "C" fn bread<S: Read>(bio: *mut BIO, buf: *mut c_char, len: c_int) -> c_int { in bread()
273 unsafe extern "C" fn bputs<S: Write>(bio: *mut BIO, buf: *const c_char) -> c_int { in bputs()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
H A Dwinapi.rs172 ) -> c_int; in WSAIoctl()
174 pub fn bind(s: SOCKET, name: *const SOCKADDR, namelen: c_int) -> c_int; in bind()
176 pub fn closesocket(s: SOCKET) -> c_int; in closesocket()
178 pub fn ioctlsocket(s: SOCKET, cmd: c_long, argp: *mut c_ulong) -> c_int; in ioctlsocket()
180 pub fn socket(af: c_int, _type: c_int, protocol: c_int) -> SOCKET; in socket()
184 level: c_int, in setsockopt()
185 optname: c_int, in setsockopt()
187 optlen: c_int, in setsockopt()
188 ) -> c_int; in setsockopt()
190 pub fn listen(s: SOCKET, backlog: c_int) -> c_int; in listen()
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/
H A Dfiletype.rs24 pub(crate) fn as_raw(&self) -> c_int { in as_raw()
/ohos5.0/base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitracechain/src/
H A Dlib.rs296 … fn HiTraceChainIdToBytesWrapper(id: *const HiTraceId, p_id_array: *const u8, len: c_int) -> c_int; in HiTraceChainIdToBytesWrapper()
303 pub fn HiTraceChainTracepointExWrapper(communication_mode: c_int, trace_type: c_int, in HiTraceChainTracepointExWrapper()
313 fn HiTraceChainEnableFlagWrapper(p_id: *mut HiTraceId, flag: c_int); in HiTraceChainEnableFlagWrapper()
316 fn HiTraceChainSetFlagsWrapper(p_id: *mut HiTraceId, flags: c_int); in HiTraceChainSetFlagsWrapper()
319 fn HiTraceChainGetFlagsWrapper(p_id: *const HiTraceId) -> c_int; in HiTraceChainGetFlagsWrapper()
/ohos5.0/commonlibrary/rust/ylong_json/src/
H A Dadapter.rs172 ) -> c_int { in ylong_json_get_value_from_bool()
193 ) -> c_int { in ylong_json_set_value_to_bool()
270 ) -> c_int { in ylong_json_get_double_value_from_number()
295 ) -> c_int { in ylong_json_get_int_value_from_number()
320 ) -> c_int { in ylong_json_set_double_value_to_number()
340 ) -> c_int { in ylong_json_set_int_value_to_number()
386 ) -> c_int { in ylong_json_get_value_from_string()
408 ) -> c_int { in ylong_json_set_value_to_string()
448 ) -> c_int { in ylong_json_get_array_size()
493 ) -> c_int { in ylong_json_add_item_to_array()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/src/
H A Dhistreamer_ability_querier_core.rs27 pub extern "C" fn Query(ability_type: u8, out: *mut c_char) -> c_int in Query()
/ohos5.0/base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitrace_meter/src/
H A Dlib.rs71 pub(crate) fn StartAsyncTraceWrapper(label: c_ulonglong, value: *const c_char, taskId: c_int); in StartAsyncTraceWrapper()
74 pub(crate) fn FinishAsyncTraceWrapper(label: c_ulonglong, value: *const c_char, taskId: c_int); in FinishAsyncTraceWrapper()
/ohos5.0/build/rust/tests/test_bindgen_test/test_for_extern_c/
H A Dtest_extern_c.rs22 fn abs(num: c_int) -> c_int; in abs()
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/rust/innerkits/src/
H A Dsys_event.rs234 pub(crate) fn write(event_domain: &str, event_name: &str, event_type: c_int, event_params: &[HiSysE… in write()
265 name: *const c_char, event_type: c_int, params: *const HiSysEventParamWrapper, in HiSysEventWriteWrapper()
266 size: c_uint) -> c_int; in HiSysEventWriteWrapper()
/ohos5.0/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/stream_buffer/
H A Dbinding.rs33 …pub fn memset_s(dest: *mut c_void, dest_size: libc::size_t, ch: libc::c_int, count: libc::size_t) … in memset_s()

12