Home
last modified time | relevance | path

Searched defs:bool (Results 1 – 25 of 38) sorted by relevance

12

/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/stream_buffer/
Dffi.rs124 …safe extern "C" fn StreamBufferWrite(object: *mut StreamBuffer, buf: *const StreamBuffer) -> bool { in StreamBufferWrite()
143 …nsafe extern "C" fn StreamBufferRead(object: *const StreamBuffer, buf: *mut StreamBuffer) -> bool { in StreamBufferRead()
162 pub unsafe extern "C" fn StreamBufferChkRWError(object: *const StreamBuffer) -> bool { in StreamBufferChkRWError()
192 … "C" fn StreamBufferWriteChar(object: *mut StreamBuffer, buf: *const c_char, size: usize) -> bool { in StreamBufferWriteChar()
207 pub unsafe extern "C" fn StreamBufferCheckWrite(object: *mut StreamBuffer, size: usize) -> bool { in StreamBufferCheckWrite()
238 …n "C" fn StreamBufferReadChar(object: *mut StreamBuffer, buf: *const c_char, size: usize) -> bool { in StreamBufferReadChar()
253 …C" fn CircleStreamBufferWrite(object: *mut StreamBuffer, buf: *const c_char, size: usize) -> bool { in CircleStreamBufferWrite()
/base/hiviewdfx/faultloggerd/interfaces/rust/stacktrace/
Dlib.rs27 fn PrintTrace(fd : c_int) -> bool; in PrintTrace()
32 pub fn print_trace(fd : i32) -> bool { in print_trace()
/base/security/asset/services/crypto_manager/src/
Dsecret_key.rs35 fn GenerateKey(keyId: *const KeyId, need_auth: bool, require_password_set: bool) -> i32; in GenerateKey()
59 require_password_set: bool, in calculate_key_alias()
79 require_password_set: bool, in new()
92 pub fn exists(&self) -> Result<bool> { in exists()
151 pub(crate) fn need_user_auth(&self) -> bool { in need_user_auth()
156 pub(crate) fn need_device_unlock(&self) -> bool { in need_device_unlock()
/base/security/asset/services/core_service/src/
Dlistener.rs32 fn delete_on_package_removed(user_id: i32, owner: Vec<u8>) -> Result<bool> { in delete_on_package_removed()
88 ) -> bool; in SubscribeSystemAbility()
94 ) -> bool; in SubscribeSystemEvent()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/
Dstream_buffer.rs122 fn seek_read_pos(&mut self, n: usize) -> bool { in seek_read_pos()
140 fn is_empty(&self) -> bool { in is_empty()
143 fn write_streambuffer(&mut self, buf: &Self) -> bool { in write_streambuffer()
146 fn read_streambuffer(&self, buf: &mut Self) -> bool { in read_streambuffer()
155 pub(crate) fn chk_rwerror(&self) -> bool { in chk_rwerror()
178 fn write_char_usize(&mut self, buf: *const c_char, size: usize) -> bool { in write_char_usize()
213 fn check_write(&mut self, size: usize) -> bool { in check_write()
233 fn read_char_usize(&mut self, buf: *const c_char, size: usize) -> bool { in read_char_usize()
265 fn circle_write(&mut self, buf: *const c_char, size: usize) -> bool { in circle_write()
/base/request/request/services/service/request/src/manager/events/
Dconstruct.rs118 pub(crate) fn add_task_api10(&mut self, task: Arc<RequestTask>) -> bool { in add_task_api10()
191 pub(crate) fn HasRequestTaskRecord(taskId: u32) -> bool; in HasRequestTaskRecord()
195 ) -> bool; in RecordRequestTask()
/base/request/request/services/service/request/src/manager/
Dunload.rs27 pub(crate) fn check_unload_sa(&self) -> bool { in check_unload_sa()
39 pub(crate) fn unload_sa(&mut self) -> bool { in unload_sa()
153 fn pause_check_unload_sa(&self) -> bool { in pause_check_unload_sa()
/base/msdp/device_status/rust/subsystem/distributed_hardware/sys/src/
Ddm_binding.rs143 pub fn CInitDeviceManager(pkg_name: *const c_char, on_device_init: OnDeviceInit) -> bool; in CInitDeviceManager()
148 ) -> bool; in CRegisterDevState()
149 pub fn CUnRegisterDevState(pkg_name: *const c_char, extra: *const c_char) -> bool; in CUnRegisterDevState()
/base/update/updater/services/rust/hash_signed_data/src/
Dimg_hash_check.rs88 fn read_from_le_bytes(&mut self, buffer: &[u8]) -> bool; in read_from_le_bytes()
96 fn read_from_le_bytes(&mut self, buffer: &[u8]) -> bool { in read_from_le_bytes()
117 fn read_from_le_bytes(&mut self, buffer: &[u8]) -> bool { in read_from_le_bytes()
136 fn read_from_le_bytes(&mut self, buffer: &[u8]) -> bool { in read_from_le_bytes()
154 fn read_from_le_bytes(&mut self, buffer: &[u8]) -> bool { in read_from_le_bytes()
Dlib.rs217 img_name: *const c_char, start: u32, end: u32, hash_value: *const u8, len: usize) -> bool in check_data_hash()
229 img_name: *const c_char, start: u64, end: u64, hash_value: *const u8, len: usize) -> bool in CheckDataHashNew()
/base/security/asset/frameworks/os_dependency/file/src/
Dlib.rs30 pub fn is_user_db_dir_exist(user_id: i32) -> bool { in is_user_db_dir_exist()
/base/request/request/services/service/request/src/task/
Drequest_task.rs293 pub(crate) fn check_net_work_status(&self) -> bool { in check_net_work_status()
308 pub(crate) fn net_work_online(&self) -> bool { in net_work_online()
432 async fn clear_downloaded_file(&self) -> bool { in clear_downloaded_file()
518 pub(crate) fn get_file_info(&self, response: &Response) -> bool { in get_file_info()
589 pub(crate) fn handle_download_error(&self, result: &Result<(), HttpClientError>) -> bool { in handle_download_error()
613 ) -> bool { in handle_response_error()
743 pub(crate) fn set_status(&self, state: State, reason: Reason) -> bool { in set_status()
961 pub(crate) fn is_satisfied_configuration(&self) -> bool { in is_satisfied_configuration()
1023 pub(crate) fn get_upload_info(&self, index: usize) -> (bool, u64) { in get_upload_info()
/base/request/request/services/service/request/src/service/
Dpermission.rs66 pub(crate) fn DownloadServerCheckPermission(token_id: u64, permission: CStringWrapper) -> bool; in DownloadServerCheckPermission()
/base/security/asset/services/core_service/src/operations/
Doperation_pre_query.rs47 fn query_key_attrs(calling_info: &CallingInfo, db_data: &DbMap) -> Result<(Accessibility, bool)> { in query_key_attrs() argument
Dcommon.rs169 pub(crate) fn need_upgrade(db_date: &DbMap) -> Result<bool> { in need_upgrade()
/base/security/asset/frameworks/definition/src/
Dextension.rs72 impl Conversion for bool { implementation
100 fn get_bool_attr(&self, key: &K) -> Result<bool> { in get_bool_attr()
Dlib.rs310 fn get_bool_attr(&self, key: &K) -> Result<bool>; in get_bool_attr()
/base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitracechain/src/
Dlib.rs108 pub fn is_valid(&self) -> bool { in is_valid()
116 pub fn is_flag_enabled(&self, flag: HiTraceFlag) -> bool { in is_flag_enabled()
307 fn HiTraceChainIsValidWrapper(p_id: *const HiTraceId) -> bool; in HiTraceChainIsValidWrapper()
310 fn HiTraceChainIsFlagEnabledWrapper(p_id: *const HiTraceId, flag: c_int) -> bool; in HiTraceChainIsFlagEnabledWrapper()
/base/msdp/device_status/rust/subsystem/input/sys/src/interaction/
Dextra_data.rs75 …pub fn appended_extra_data(&mut self, allow_appended: bool, drag_data: DragData) -> FusionResult<(… in appended_extra_data()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/stream_session/
Dffi.rs219 …C" fn StreamSessionSendMsg(object: *const StreamSession, buf: *const c_char, size: usize) -> bool { in StreamSessionSendMsg()
/base/hiviewdfx/hilog/interfaces/rust/src/
Dlib.rs78 pub fn HiLogIsLoggable(domain: u32, tag: *const c_char, level: u32) -> bool; in HiLogIsLoggable()
/base/security/code_signature/services/key_enable/src/
Dfile_utils.rs74 pub fn file_exists(file_path: &str) -> bool { in file_exists()
/base/security/asset/services/constants/src/
Dcalling_info.rs45 fn GetUserIdByUid(uid: u64, userId: &mut i32) -> bool; in GetUserIdByUid()
/base/security/asset/services/db_operator/src/
Dtable.rs154 pub(crate) fn exist(&self) -> Result<bool> { in exist()
350 pub(crate) fn is_data_exists(&self, cond: &DbMap) -> Result<bool> { in is_data_exists()
/base/msdp/device_status/rust/services/sys/src/
Dbinding.rs62 pub fn is_valid(&self) -> bool in is_valid()

12