Home
last modified time | relevance | path

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

1234

/commonlibrary/c_utils/base/src/rust/
Dfile_ex.rs26 pub fn RustLoadStringFromFile(filePath: &String, content: &mut String) -> bool; in RustLoadStringFromFile()
29 pub fn RustSaveStringToFile(filePath: &String, content: &String, truncated: bool) -> bool; in RustSaveStringToFile()
32 pub fn RustLoadStringFromFd(fd: i32, content: &mut String) -> bool; in RustLoadStringFromFd()
35 pub fn RustSaveStringToFd(fd: i32, content: &String) -> bool; in RustSaveStringToFd()
38 pub fn RustLoadBufferFromFile(filePath: &String, content: &mut Vec<c_char>) -> bool; in RustLoadBufferFromFile()
41 … pub fn RustSaveBufferToFile(filePath: &String, content: &Vec<c_char>, truncated: bool) -> bool; in RustSaveBufferToFile()
44 pub fn RustFileExists(fileName: &String) -> bool; in RustFileExists()
47 … pub fn RustStringExistsInFile(fileName: &String, subStr: &String, caseSensitive: bool) -> bool; in RustStringExistsInFile()
Ddirectory_ex.rs74 pub fn IsEmptyFolder(path: &CxxString) -> bool; in IsEmptyFolder()
77 pub fn ForceCreateDirectory(path: &CxxString) -> bool; in ForceCreateDirectory()
80 pub fn ForceRemoveDirectory(path: &CxxString) -> bool; in ForceRemoveDirectory()
83 pub fn RemoveFile(fileName: &CxxString) -> bool; in RemoveFile()
89 pub fn ChangeModeFile(fileName: &CxxString, mode: &u32) -> bool; in ChangeModeFile()
92 pub fn ChangeModeDirectory(path: &CxxString, mode: &u32) -> bool; in ChangeModeDirectory()
95 pub fn RustPathToRealPath(path: &String, realPath: &mut String) -> bool; in RustPathToRealPath()
Dashmem.rs74 pub fn MapAshmem(self: &Ashmem, mapType: i32) -> bool; in MapAshmem()
77 pub fn MapReadAndWriteAshmem(self: &Ashmem) -> bool; in MapReadAndWriteAshmem()
80 pub fn MapReadOnlyAshmem(self: &Ashmem) -> bool; in MapReadOnlyAshmem()
86 pub fn SetProtection(self: &Ashmem, protType: i32) -> bool; in SetProtection()
99 … pub unsafe fn WriteToAshmem(self: &Ashmem, data: *const c_void, size: i32, offset: i32) -> bool; in WriteToAshmem()
145 pub fn set_protection(&self, prot_type: i32) -> bool { in set_protection()
150 pub fn map_ashmem(&self, prot_type: i32) -> bool { in map_ashmem()
155 pub fn map_read_write_ashmem(&self) -> bool { in map_read_write_ashmem()
160 pub fn map_read_only_ashmem(&self) -> bool { in map_read_only_ashmem()
180 pub unsafe fn write_to_ashmem(&self, data: *const c_char, size: i32, offset: i32) -> bool { in write_to_ashmem()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/
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()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/linux/
Devents.rs27 fn is_readable(&self) -> bool { in is_readable()
32 fn is_writable(&self) -> bool { in is_writable()
36 fn is_read_closed(&self) -> bool { in is_read_closed()
42 fn is_write_closed(&self) -> bool { in is_write_closed()
49 fn is_error(&self) -> bool { in is_error()
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/
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 …]
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
Dsleeper.rs33 pub fn is_parked(&self, worker_index: &usize) -> bool { in is_parked()
54 pub fn push_worker(&self, worker_index: usize) -> bool { in push_worker()
61 pub fn try_inc_searching_num(&self) -> bool { in try_inc_searching_num()
72 pub fn dec_searching_num(&self) -> bool { in dec_searching_num()
95 fn dec_searching_num(&self) -> bool { in dec_searching_num()
110 fn dec_active_num(&self) -> bool { in dec_active_num()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/
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()
Dsemaphore.rs203 pub fn is_closed(&self) -> bool { in is_closed()
319 pub fn is_closed(&self) -> bool { in is_closed()
/commonlibrary/rust/ylong_http/ylong_http/src/response/
Dstatus.rs136 pub fn is_informational(&self) -> bool { in is_informational()
154 pub fn is_successful(&self) -> bool { in is_successful()
172 pub fn is_redirection(&self) -> bool { in is_redirection()
190 pub fn is_client_error(&self) -> bool { in is_client_error()
209 pub fn is_server_error(&self) -> bool { in is_server_error()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
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()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
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()
Dtask_handle.rs174 pub(crate) fn set_waker(self, cur: usize, des_waker: &Waker) -> bool { in set_waker()
231 fn get_scheduled(&self, lifo: bool) { in get_scheduled()
287 pub(crate) fn ffrt_run(self) -> bool { in ffrt_run()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/
Dunbounded.rs137 pub fn is_closed(&self) -> bool { in is_closed()
151 pub fn is_same(&self, other: &Self) -> bool { in is_same()
181 pub fn is_empty(&self) -> bool { in is_empty()
223 pub fn is_empty(&self) -> bool { in is_empty()
Dbounded.rs242 pub fn is_closed(&self) -> bool { in is_closed()
256 pub fn is_same(&self, other: &Self) -> bool { in is_same()
299 pub fn is_empty(&self) -> bool { in is_empty()
341 pub fn is_empty(&self) -> bool { in is_empty()
Dmod.rs28 fn is_close(&self) -> bool; in is_close()
/commonlibrary/rust/ylong_http/ylong_http/src/h2/
Dpseudo.rs43 pub(crate) fn is_empty(&self) -> bool { in is_empty()
52 pub(crate) fn contains_authority(&self) -> bool { in contains_authority()
72 pub(crate) fn contains_method(&self) -> bool { in contains_method()
92 pub(crate) fn contains_path(&self) -> bool { in contains_path()
112 pub(crate) fn contains_scheme(&self) -> bool { in contains_scheme()
132 pub(crate) fn contains_status(&self) -> bool { in contains_status()
Dframe.rs242 pub fn is_end_stream(&self) -> bool { in is_end_stream()
247 pub fn is_end_headers(&self) -> bool { in is_end_headers()
252 pub fn is_padded(&self) -> bool { in is_padded()
257 pub fn is_ack(&self) -> bool { in is_ack()
267 pub fn set_end_stream(&mut self, end_stream: bool) { in set_end_stream()
276 pub fn set_end_headers(&mut self, end_headers: bool) { in set_end_headers()
285 pub fn set_padded(&mut self, padded: bool) { in set_padded()
510 pub fn new(exclusive: bool, stream_dependency: u32, weight: u8) -> Self { in new()
519 pub fn get_exclusive(&self) -> bool { in get_exclusive()
/commonlibrary/rust/ylong_runtime/ylong_io/src/
Dinterest.rs36 pub const fn is_readable(self) -> bool { in is_readable()
41 pub const fn is_writable(self) -> bool { in is_writable()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/
Dready.rs71 pub fn is_empty(self) -> bool { in is_empty()
75 pub fn is_readable(self) -> bool { in is_readable()
79 pub fn is_writable(self) -> bool { in is_writable()
83 pub fn is_read_closed(self) -> bool { in is_read_closed()
87 pub fn is_write_closed(self) -> bool { in is_write_closed()
119 pub(crate) fn satisfies(self, interest: Interest) -> bool { in satisfies()
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
Dproxy.rs115 pub(crate) fn is_intercepted(&self, uri: &Uri) -> bool { in is_intercepted()
218 pub(crate) fn contain(&self, proxy_host: &str) -> bool { in contain()
225 fn contains_ip(&self, ip: IpAddr) -> bool { in contains_ip()
238 fn contains_domain(&self, domain: &str) -> bool { in contains_domain()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/udp/
Dudp_socket.rs189 pub fn broadcast(&self) -> io::Result<bool> { in broadcast()
247 pub fn multicast_loop_v4(&self) -> io::Result<bool> { in multicast_loop_v4()
273 pub fn multicast_loop_v6(&self) -> io::Result<bool> { in multicast_loop_v6()
535 pub fn broadcast(&self) -> io::Result<bool> { in broadcast()
540 pub fn multicast_loop_v4(&self) -> io::Result<bool> { in multicast_loop_v4()
566 pub fn multicast_loop_v6(&self) -> io::Result<bool> { in multicast_loop_v6()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/linux/udp/
Dudp_socket.rs311 pub fn broadcast(&self) -> io::Result<bool> { in broadcast()
338 pub fn multicast_loop_v4(&self) -> io::Result<bool> { in multicast_loop_v4()
364 pub fn multicast_loop_v6(&self) -> io::Result<bool> { in multicast_loop_v6()
658 pub fn broadcast(&self) -> io::Result<bool> { in broadcast()
663 pub fn multicast_loop_v4(&self) -> io::Result<bool> { in multicast_loop_v4()
689 pub fn multicast_loop_v6(&self) -> io::Result<bool> { in multicast_loop_v6()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/
Dmod.rs112 pub(crate) fn result(&self) -> bool { in result()
117 pub(crate) fn set_result(&mut self, result: bool) { in set_result()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/iter/pariter/
Dmod.rs55 fn is_empty(&self) -> bool { in is_empty()
69 F: Fn(&Self::Item) -> bool, in filter()

1234