Home
last modified time | relevance | path

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

12345678910>>...14

/ohos5.0/commonlibrary/c_utils/base/src/rust/
H A Dfile_ex.rs24 pub fn RustLoadStringFromFile(filePath: &String, content: &mut String) -> bool; in RustLoadStringFromFile()
27 pub fn RustSaveStringToFile(filePath: &String, content: &String, truncated: bool) -> bool; in RustSaveStringToFile()
30 pub fn RustLoadStringFromFd(fd: i32, content: &mut String) -> bool; in RustLoadStringFromFd()
33 pub fn RustSaveStringToFd(fd: i32, content: &String) -> bool; in RustSaveStringToFd()
36 pub fn RustLoadBufferFromFile(filePath: &String, content: &mut Vec<c_char>) -> bool; in RustLoadBufferFromFile()
42 truncated: bool, in RustSaveBufferToFile()
43 ) -> bool; in RustSaveBufferToFile()
46 pub fn RustFileExists(fileName: &String) -> bool; in RustFileExists()
52 caseSensitive: bool, in RustStringExistsInFile()
53 ) -> bool; in RustStringExistsInFile()
H A Ddirectory_ex.rs75 pub fn IsEmptyFolder(path: &CxxString) -> bool; in IsEmptyFolder()
79 pub fn ForceCreateDirectory(path: &CxxString) -> bool; in ForceCreateDirectory()
82 pub fn ForceRemoveDirectory(path: &CxxString) -> bool; in ForceRemoveDirectory()
85 pub fn RemoveFile(fileName: &CxxString) -> bool; in RemoveFile()
91 pub fn ChangeModeFile(fileName: &CxxString, mode: &u32) -> bool; in ChangeModeFile()
95 pub fn ChangeModeDirectory(path: &CxxString, mode: &u32) -> bool; in ChangeModeDirectory()
98 pub fn RustPathToRealPath(path: &String, realPath: &mut String) -> bool; in RustPathToRealPath()
H A Dashmem.rs66 pub fn MapAshmem(self: &Ashmem, mapType: i32) -> bool; in MapAshmem()
69 pub fn MapReadAndWriteAshmem(self: &Ashmem) -> bool; in MapReadAndWriteAshmem()
72 pub fn MapReadOnlyAshmem(self: &Ashmem) -> bool; in MapReadOnlyAshmem()
78 pub fn SetProtection(self: &Ashmem, protType: i32) -> bool; in SetProtection()
95 ) -> bool; in WriteToAshmem()
136 pub fn set_protection(&self, prot_type: i32) -> bool { in set_protection()
141 pub fn map_ashmem(&self, prot_type: i32) -> bool { in map_ashmem()
146 pub fn map_read_write_ashmem(&self) -> bool { in map_read_write_ashmem()
151 pub fn map_read_only_ashmem(&self) -> bool { in map_read_only_ashmem()
168 pub unsafe fn write_to_ashmem(&self, data: *const c_char, size: i32, offset: i32) -> bool { in write_to_ashmem()
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/parcel/
H A Dwrapper.rs61 ) -> bool; in WriteRemoteObject()
87 fn ReadInt8(self: Pin<&mut Parcel>, v: &mut i8) -> bool; in ReadInt8()
91 fn ReadUint8(self: Pin<&mut Parcel>, v: &mut u8) -> bool; in ReadUint8()
158 fn write_process(&self, parcel: Pin<&mut Parcel>) -> bool; in write_process()
167 impl Process for bool { implementation
168 fn write_process(&self, parcel: Pin<&mut Parcel>) -> bool { in write_process()
194 fn write_process(&self, parcel: Pin<&mut Parcel>) -> bool { in write_process()
220 fn write_process(&self, parcel: Pin<&mut Parcel>) -> bool { in write_process()
245 fn write_process(&self, parcel: Pin<&mut Parcel>) -> bool { in write_process()
271 fn write_process(&self, parcel: Pin<&mut Parcel>) -> bool { in write_process()
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/
H A Devents.rs22 fn is_readable(&self) -> bool; in is_readable()
25 fn is_writable(&self) -> bool; in is_writable()
28 fn is_read_closed(&self) -> bool; in is_read_closed()
31 fn is_write_closed(&self) -> bool; in is_write_closed()
34 fn is_error(&self) -> bool; in is_error()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/
H A Dmimetype.rs164 pub fn is_application(&self) -> bool { in is_application()
178 pub fn is_audio(&self) -> bool { in is_audio()
192 pub fn is_font(&self) -> bool { in is_font()
206 pub fn is_image(&self) -> bool { in is_image()
220 pub fn is_message(&self) -> bool { in is_message()
234 pub fn is_model(&self) -> bool { in is_model()
248 pub fn is_multipart(&self) -> bool { in is_multipart()
262 pub fn is_text(&self) -> bool { in is_text()
276 pub fn is_video(&self) -> bool { in is_video()
290 pub fn is_xnew(&self) -> bool { in is_xnew()
[all …]
/ohos5.0/build/scripts/
H A Dcopy_ex.py47 follow_all_symlinks: bool = False,
48 follow_outside_symlinks: bool = False) -> str:
108 follow_all_symlinks: bool = False,
109 follow_outside_symlinks: bool = False):
H A Dbuild_js_assets.py65 def make_my_env(options, js2abc: bool) -> dict:
86 def make_manifest_data(config: dict, options, js2abc: bool, asset_index: int, assets_cnt: int, src_…
115 def build_ace(cmd: str, options, js2abc: bool, loader_home: str, assets_dir: str, assets_name: str):
179 def enable_compile_cache(asset_index: int, assets_cnt: int, env: dict, use_compile_cache: bool):
/ohos5.0/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/stream_buffer/
H A 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()
/ohos5.0/base/security/asset/services/common/src/
H A 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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/
H A Dsvg_image_object.cpp46 bool /*forceResize*/, bool /*syncLoad*/, bool /*loadInVipChannel*/) in MakeCanvasImage() argument
H A Danimated_image_object.cpp26 …bject::MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctx, const SizeF& size, bool forceResize, in MakeCanvasImage() argument
/ohos5.0/base/security/asset/services/crypto_manager/src/
H A Dsecret_key.rs69 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_with_alias()
204 require_password_set: bool, in new_without_alias()
219 pub fn exists(&self) -> Result<bool> { in exists()
279 pub(crate) fn need_user_auth(&self) -> bool { in need_user_auth()
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
H A Devents.rs90 pub fn is_empty(&self) -> bool { in is_empty()
148 fn is_readable(&self) -> bool { in is_readable()
152 fn is_writable(&self) -> bool { in is_writable()
156 fn is_read_closed(&self) -> bool { in is_read_closed()
160 fn is_write_closed(&self) -> bool { in is_write_closed()
164 fn is_error(&self) -> bool { in is_error()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dsleeper.rs34 pub fn is_parked(&self, worker_index: &usize) -> bool { in is_parked()
73 pub fn push_worker(&self, worker_index: usize) -> bool { in push_worker()
85 pub fn try_inc_searching_num(&self) -> bool { in try_inc_searching_num()
98 pub fn dec_searching_num(&self) -> bool { in dec_searching_num()
116 fn dec_searching_num(&self) -> bool { in dec_searching_num()
131 fn dec_active_num(&self) -> bool { in dec_active_num()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/response/
H A Dstatus.rs130 pub fn is_informational(&self) -> bool { in is_informational()
148 pub fn is_successful(&self) -> bool { in is_successful()
166 pub fn is_redirection(&self) -> bool { in is_redirection()
184 pub fn is_client_error(&self) -> bool { in is_client_error()
203 pub fn is_server_error(&self) -> bool { in is_server_error()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/
H A Dwake_list.rs72 pub fn notify_one(&self) -> bool { in notify_one()
80 pub fn notify_all(&self) -> bool { in notify_all()
84 fn notify(&self, notify_type: Notify) -> bool { in notify()
107 fn notify(&mut self, notify_type: Notify) -> bool { in notify()
123 pub fn notify_one(&mut self) -> bool { in notify_one()
129 pub fn notify_all(&mut self) -> bool { in notify_all()
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/rust/stacktrace/
H A Dlib.rs27 fn PrintTrace(fd : c_int) -> bool; in PrintTrace()
32 pub fn print_trace(fd : i32) -> bool { in print_trace()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Dscroll_component.cpp35 void ScrollComponent::InitScrollBar(const RefPtr<ScrollBarTheme>& theme, const std::pair<bool, Colo… in InitScrollBar()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_syncer_upload_test.cpp351 ….WillOnce([](const QuerySyncObject &, const std::vector<Timestamp> &, bool, bool, int64_t & count)… in __anon29de99fb0302() argument
395 ….WillRepeatedly([](const QuerySyncObject &, const std::vector<Timestamp> &, bool, bool, int64_t & … in __anon29de99fb0402() argument
444 ….WillRepeatedly([](const QuerySyncObject &, const std::vector<Timestamp> &, bool, bool, int64_t & … in __anon29de99fb0602() argument
516 ….WillRepeatedly([](const QuerySyncObject &, const std::vector<Timestamp> &, bool, bool, int64_t & … in __anon29de99fb0902() argument
572 ….WillRepeatedly([](const QuerySyncObject &, const std::vector<Timestamp> &, bool, bool, int64_t & … in __anon29de99fb0b02() argument
634 ….WillRepeatedly([](const QuerySyncObject &, const std::vector<Timestamp> &, bool, bool, int64_t & … in __anon29de99fb0e02() argument
690 ….WillRepeatedly([](const QuerySyncObject &, const std::vector<Timestamp> &, bool, bool, int64_t & … in __anon29de99fb1102() argument
739 ….WillRepeatedly([](const QuerySyncObject &, const std::vector<Timestamp> &, bool, bool, int64_t & … in __anon29de99fb1202() argument
796 ….WillRepeatedly([](const QuerySyncObject &, const std::vector<Timestamp> &, bool, bool, int64_t & … in __anon29de99fb1402() argument
869 ….WillRepeatedly([](const QuerySyncObject &, const std::vector<Timestamp> &, bool, bool, int64_t & … in __anon29de99fb1702() argument
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
H A Dstate.rs49 pub(crate) fn is_last_ref_count(prev: usize) -> bool { in is_last_ref_count()
54 pub(crate) fn is_canceled(cur: usize) -> bool { in is_canceled()
59 pub(crate) fn is_care_join_handle(cur: usize) -> bool { in is_care_join_handle()
64 pub(crate) fn is_finished(cur: usize) -> bool { in is_finished()
69 pub(crate) fn is_set_waker(cur: usize) -> bool { in is_set_waker()
74 pub(crate) fn is_scheduling(cur: usize) -> bool { in is_scheduling()
79 pub(crate) fn is_running(cur: usize) -> bool { in is_running()
86 pub(crate) fn need_enqueue(cur: usize) -> bool { in need_enqueue()
262 pub(crate) fn turn_to_canceled_and_scheduled(&self) -> bool { in turn_to_canceled_and_scheduled()
319 pub(crate) fn try_turning_to_un_join_handle(&self) -> bool { in try_turning_to_un_join_handle()
/ohos5.0/foundation/communication/netmanager_base/test/commonduplicatedcode/
H A Dcommon_netsys_controller_callback_test.h44 virtual int32_t OnInterfaceChanged(const std::string &, bool) in OnInterfaceChanged() argument
48 virtual int32_t OnInterfaceLinkStateChanged(const std::string &, bool) in OnInterfaceLinkStateChanged() argument
52 …virtual int32_t OnRouteChanged(bool, const std::string &, const std::string &, const std::string &) in OnRouteChanged() argument
/ohos5.0/foundation/communication/netmanager_base/test/netmanagernative/unit_test/
H A Dtest_notify_callback.cpp55 int32_t TestNotifyCallback::OnInterfaceChanged(const std::string &, bool) in OnInterfaceChanged() argument
62 int32_t TestNotifyCallback::OnInterfaceLinkStateChanged(const std::string &, bool) in OnInterfaceLinkStateChanged() argument
69 int32_t TestNotifyCallback::OnRouteChanged(bool, const std::string &, const std::string &, const st… in OnRouteChanged() argument
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/
H A Dprocess.rs42 ) -> bool { in allocate_vec_with_buffer()
59 unsafe extern "C" fn allocate_vec<T>(value: *mut c_void, len: i32) -> bool { in allocate_vec()
H A Dskeleton.rs26 fn SetMaxWorkThreadNum(maxThreadNum: i32) -> bool; in SetMaxWorkThreadNum()
60 fn SetCallingIdentity(identity: &str) -> bool; in SetCallingIdentity()
71 pub fn set_max_work_thread_num(max_thread_num: i32) -> bool { in set_max_work_thread_num()
156 pub fn set_calling_identity(identity: &str) -> bool { in set_calling_identity()

12345678910>>...14