Home
last modified time | relevance | path

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

123

/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()
191 … "C" fn StreamBufferWriteChar(object: *mut StreamBuffer, buf: *const c_char, size: usize) -> bool { in StreamBufferWriteChar()
206 pub unsafe extern "C" fn StreamBufferCheckWrite(object: *mut StreamBuffer, size: usize) -> bool { in StreamBufferCheckWrite()
237 …n "C" fn StreamBufferReadChar(object: *mut StreamBuffer, buf: *const c_char, size: usize) -> bool { in StreamBufferReadChar()
252 …C" fn CircleStreamBufferWrite(object: *mut StreamBuffer, buf: *const c_char, size: usize) -> bool { in CircleStreamBufferWrite()
/base/security/asset/services/common/src/
Dlib.rs63 fn GetUserIdByUid(uid: u64, userId: &mut u32) -> bool; in GetUserIdByUid()
64 fn IsUserIdExist(userId: i32, exist: &mut bool) -> bool; in IsUserIdExist()
80 pub fn is_user_id_exist(user_id: i32) -> Result<bool> { in is_user_id_exist()
/base/security/asset/services/crypto_manager/src/
Dsecret_key.rs43 fn GenerateKey(keyId: *const KeyId, need_auth: bool, require_password_set: bool) -> i32; in GenerateKey()
69 require_password_set: bool, in calculate_key_alias()
70 standard: bool, in calculate_key_alias()
88 require_password_set: bool, in get_existing_key_alias()
136 require_password_set: bool, in huks_rename_key_alias()
159 require_password_set: bool, in rename_key_alias()
160 ) -> bool { in rename_key_alias()
193 require_password_set: bool, in new()
208 pub fn exists(&self) -> Result<bool> { in exists()
267 pub(crate) fn need_user_auth(&self) -> bool { in need_user_auth()
[all …]
/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/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()
176 fn write_char_usize(&mut self, buf: *const c_char, size: usize) -> bool { in write_char_usize()
211 fn check_write(&mut self, size: usize) -> bool { in check_write()
231 fn read_char_usize(&mut self, buf: *const c_char, size: usize) -> bool { in read_char_usize()
263 fn circle_write(&mut self, buf: *const c_char, size: usize) -> bool { in circle_write()
/base/update/updater/test/unittest/factory_reset_test/
Dfactory_reset_unittest.cpp67 CommonResetPostFunc_ = [](bool) { return 0; }; in __anon58454ab90302() argument
82 CommonResetPostFunc_ = [](bool) { return 0; }; in __anon58454ab90602() argument
97 CommonResetPostFunc_ = [](bool) { return 0; }; in __anon58454ab90902() argument
/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/security/asset/services/db_operator/src/
Dtable.rs92 fn build_sql_where(conditions: &DbMap, filter: bool, sql: &mut String) { in build_sql_where()
205 pub(crate) fn exist(&self) -> Result<bool> { in exist()
323 is_filter_sync: bool, in delete_row()
373 …pub(crate) fn update_row(&self, condition: &DbMap, is_filter_sync: bool, datas: &DbMap) -> Result<… in update_row()
407 is_filter_sync: bool, in query_row()
473 pub(crate) fn is_data_exists(&self, cond: &DbMap, is_filter_sync: bool) -> Result<bool> { in is_data_exists()
519 …pub(crate) fn replace_row(&self, condition: &DbMap, is_filter_sync: bool, datas: &DbMap) -> Result… in replace_row()
Ddatabase.rs230 fn upgrade_key_alias(&mut self, user_id: i32) -> Result<bool> { in upgrade_key_alias()
391 is_filter_sync: bool, in delete_datas()
431 …pub fn update_datas(&mut self, condition: &DbMap, is_filter_sync: bool, datas: &DbMap) -> Result<i… in update_datas()
454 pub fn is_data_exists(&mut self, condition: &DbMap, is_filter_sync: bool) -> Result<bool> { in is_data_exists()
483 is_filter_sync: bool, in query_datas()
512 is_filter_sync: bool, in query_data_without_lock()
519 …pub fn replace_datas(&mut self, condition: &DbMap, is_filter_sync: bool, datas: &DbMap) -> Result<… in replace_datas()
/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/request/request/services/src/utils/
Dmod.rs117 pub(crate) fn check_permission(permission: &str) -> bool { in check_permission()
146 fn PublishStateChangeEvent(bundleName: &str, taskId: u32, state: i32) -> bool; in PublishStateChangeEvent()
157 fn IsSystemAPI(token_id: u64) -> bool; in IsSystemAPI()
158 fn CheckPermission(token_id: u64, permission: &str) -> bool; in CheckPermission()
Durl_policy.rs16 pub(crate) fn check_url_domain(app_id: &str, domain_type: &str, url: &str) -> Option<bool> { in check_url_domain()
/base/security/asset/services/core_service/src/operations/common/
Dpermission_check.rs26 fn CheckPermission(permission: *const c_char) -> bool; in CheckPermission()
/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/notification/distributed_notification_service/frameworks/core/src/
Dswing_callback_stub.cpp28 SwingCallBackStub::SwingCallBackStub(std::function<void(bool, int)> swingCallback) : swingCallback_… in SwingCallBackStub()
/base/security/asset/services/core_service/src/common_event/
Dlistener.rs46 fn delete_on_package_removed(user_id: i32, owner: Vec<u8>) -> Result<bool> { in delete_on_package_removed()
240 fn SubscribeSystemAbility(eventCallBack: EventCallBack) -> bool; in SubscribeSystemAbility()
242 fn SubscribeSystemEvent(eventCallBack: EventCallBack) -> bool; in SubscribeSystemEvent()
/base/request/request/services/src/manage/scheduler/qos/
Dapps.rs64 pub(crate) fn remove_task(&mut self, uid: u64, task_id: u32) -> bool { in remove_task()
100 pub(crate) fn is_empty(&self) -> bool { in is_empty()
108 fn remove(&mut self, task_id: u32) -> bool { in remove()
164 fn eq(&self, other: &Self) -> bool { in eq()
Drss.rs82 fn is_rss_equal(rss1: RssCapacity, rss2: RssCapacity) -> bool { in is_rss_equal()
/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/security/asset/services/core_service/src/operations/
Doperation_pre_query.rs50 fn query_key_attrs(calling_info: &CallingInfo, db_data: &DbMap) -> Result<(Accessibility, bool)> { in query_key_attrs() argument
/base/request/request/services/src/manage/
Dnetwork.rs112 pub(crate) fn notify_online(&self, info: NetworkInfo) -> bool { in notify_online()
149 fn notify_online(self: &NetworkInner, info: NetworkInfo) -> bool; in notify_online()
Ddatabase.rs145 pub(crate) fn contains_task(&self, task_id: u32) -> bool { in contains_task()
175 pub(crate) fn insert_task(&self, task: RequestTask) -> bool { in insert_task()
208 pub(crate) fn insert_task(&self, task: RequestTask) -> bool { in insert_task()
562 upload_resume: bool, in get_task()
615 fn RecordRequestTask(info: *const CTaskInfo, config: *const CTaskConfig) -> bool; in RecordRequestTask()
616 fn UpdateRequestTask(id: u32, info: *const CUpdateInfo) -> bool; in UpdateRequestTask()
/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()
/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()

123