Home
last modified time | relevance | path

Searched refs:c_int (Results 1 – 14 of 14) sorted by relevance

/base/update/updater/services/rust/hash_signed_data/src/
Dffi.rs16 use core::ffi::{c_uchar, c_int, c_char, c_ulong, CStr, c_void};
19 pub extern fn err_print_cb (err_str: *const c_char, _len: c_ulong, _u: *mut c_void) -> c_int in err_print_cb() argument
29 pub fn EVP_DecodeBlock(t: *mut c_uchar, f: *const c_uchar, n: c_int) -> c_int; in EVP_DecodeBlock() argument
36 ) -> c_int, in ERR_print_errors_cb() argument
53 …pub fn Logger(level: c_int, file_name: *const c_char, line: i32, format: *const c_char, ...) -> c_… in Logger() argument
/base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitracechain/src/
Dlib.rs21 use std::ffi::{CString, c_char, c_int, c_ulonglong};
258 arr_len as c_int); in id_to_bytes()
272 HiTraceChainBytesToIdWrapper(id_array_wrapper.as_mut_ptr(), p_id_array.len() as c_int) in bytes_to_id()
278 fn HiTraceChainBegin(name: *const c_char, _flags: c_int) -> HiTraceId; in HiTraceChainBegin()
296 …HiTraceChainIdToBytesWrapper(id: *const HiTraceId, p_id_array: *const c_char, len: c_int) -> c_int; in HiTraceChainIdToBytesWrapper() argument
299 fn HiTraceChainBytesToIdWrapper(p_id_array: *const c_char, len: c_int) -> HiTraceId; in HiTraceChainBytesToIdWrapper()
303 pub fn HiTraceChainTracepointExWrapper(communication_mode: c_int, trace_type: c_int, in HiTraceChainTracepointExWrapper() argument
310 fn HiTraceChainIsFlagEnabledWrapper(p_id: *const HiTraceId, flag: c_int) -> bool; in HiTraceChainIsFlagEnabledWrapper()
313 fn HiTraceChainEnableFlagWrapper(p_id: *mut HiTraceId, flag: c_int); in HiTraceChainEnableFlagWrapper() argument
316 fn HiTraceChainSetFlagsWrapper(p_id: *mut HiTraceId, flags: c_int); in HiTraceChainSetFlagsWrapper() argument
[all …]
Dmacros.rs43 $communication_mode as std::ffi::c_int,
44 $tracepoint_type as std::ffi::c_int,
/base/hiviewdfx/hisysevent/interfaces/rust/innerkits/src/
Dsys_event_manager.rs16 use std::ffi::{CString, c_char, c_int, c_uint, c_longlong, c_ulonglong, c_void};
52 pub rule_type: c_int,
55 pub event_type: c_int,
69 pub max_events: c_int,
100 event_type: c_int,
127 trace_flag: c_int,
250 reason: c_int,
251 total: c_int,
330 unsafe extern "C" fn on_complete_callback<F>(callback: *mut c_void, reason: c_int, in on_complete_callback() argument
331 total: c_int) in on_complete_callback()
[all …]
Dsys_event.rs16 use std::ffi::{CString, c_char, c_int, c_uint, c_ulonglong};
167 pub param_type: c_int,
227 …std::boxed::Box::<[*const c_char]>::into_raw(dest.into_boxed_slice()) as *const c_int as *const (), in build_string_arrays() constant
234 pub(crate) fn write(event_domain: &str, event_name: &str, event_type: c_int, event_params: &[HiSysE… in write() argument
239 param_type: event_params[i].param_type as i32 as c_int, in write()
265 name: *const c_char, event_type: c_int, params: *const HiSysEventParamWrapper, in HiSysEventWriteWrapper() argument
266 size: c_uint) -> c_int; in HiSysEventWriteWrapper() argument
Dlib.rs50 sys_event::write(event_domain, event_name, event_type as std::ffi::c_int, event_params) in write()
Dmacros.rs152 void_ptr_: $param_value_.as_ptr() as *const std::ffi::c_int as *const (),
/base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitrace_meter/src/
Dlib.rs17 use std::ffi::{CString, c_char, c_int, c_longlong, c_ulonglong};
71 pub(crate) fn StartAsyncTraceWrapper(label: c_ulonglong, value: *const c_char, taskId: c_int); in StartAsyncTraceWrapper() argument
74 pub(crate) fn FinishAsyncTraceWrapper(label: c_ulonglong, value: *const c_char, taskId: c_int); in FinishAsyncTraceWrapper() argument
/base/hiviewdfx/faultloggerd/interfaces/rust/stacktrace/
Dlib.rs19 use std::os::raw::{c_char, c_int, c_uint};
27 fn PrintTrace(fd : c_int) -> bool; in PrintTrace()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/
Depoll_manager.rs20 use libc::c_int;
75 libc::close(self.socket_fd as c_int) in socket_close()
Dstream_session.rs19 use libc::c_int;
106 libc::close(self.fd as c_int); in session_close()
133 libc::send(self.fd as c_int, buf.add(idx) as *const libc::c_void, rem_size, in session_send_msg()
/base/msdp/device_status/rust/services/sys/src/
Dbinding.rs21 use std::ffi::{ c_char, c_int, CString };
84 let mut fd: c_int = 0; in alloc_socket_fd()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/stream_buffer/
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() argument
/base/update/packaging_tools/
Dupdate_package.py66 ("entry_count", ctypes.c_int),
67 ("update_file_version", ctypes.c_int),
80 ("size", ctypes.c_int),
81 ("id", ctypes.c_int),
82 ("original_size", ctypes.c_int),
89 _fields_ = [("sign_offset", ctypes.c_int),
90 ("hash_len", ctypes.c_int),