Home
last modified time | relevance | path

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

123456

/commonlibrary/c_utils/base/src/rust/
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()
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()
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()
/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_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.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()
Dcurrent_thread.rs59 fn schedule(&self, task: Task, _lifo: bool) { in schedule()
98 fn park(&self) -> bool { in park()
110 fn park_on_driver(&self, driver: &mut Driver) -> (bool, bool) { in park_on_driver()
142 fn park_on_condvar(&self) -> bool { in park_on_condvar()
173 fn unpark(&self, wake: bool) { in unpark()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/
Dwake_list.rs83 pub fn notify_one(&self) -> bool { in notify_one()
91 pub fn notify_all(&self) -> bool { in notify_all()
95 fn notify(&self, notify_type: Notify) -> bool { in notify()
124 fn change_status(&self, acquired_permit: usize) -> bool { in change_status()
140 fn notify(&mut self, notify_type: Notify) -> bool { in notify()
160 pub fn notify_one(&mut self) -> bool { in notify_one()
166 pub fn notify_all(&mut self) -> bool { in notify_all()
177 pub(crate) fn remove_permit(&mut self, key: usize, wait_permit: usize) -> bool { in remove_permit()
/commonlibrary/rust/ylong_http/ylong_http/src/response/
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()
/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()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/
Depoll.rs140 fn is_readable(&self) -> bool { in is_readable()
145 fn is_writable(&self) -> bool { in is_writable()
149 fn is_read_closed(&self) -> bool { in is_read_closed()
155 fn is_write_closed(&self) -> bool { in is_write_closed()
162 fn is_error(&self) -> bool { in is_error()
Dkqueue.rs253 fn is_readable(&self) -> bool { in is_readable()
257 fn is_writable(&self) -> bool { in is_writable()
261 fn is_read_closed(&self) -> bool { in is_read_closed()
265 fn is_write_closed(&self) -> bool { in is_write_closed()
269 fn is_error(&self) -> bool { in is_error()
/commonlibrary/rust/ylong_json/src/value/
Dnumber.rs50 pub fn is_unsigned(&self) -> bool { in is_unsigned()
66 pub fn is_signed(&self) -> bool { in is_signed()
82 pub fn is_float(&self) -> bool { in is_float()
157 fn eq(&self, other: &Self) -> bool { in eq()
/commonlibrary/rust/ylong_json/src/
Dvalue.rs217 pub fn is_null(&self) -> bool { in is_null()
233 pub fn is_boolean(&self) -> bool { in is_boolean()
249 pub fn is_true(&self) -> bool { in is_true()
268 pub fn is_false(&self) -> bool { in is_false()
287 pub fn is_number(&self) -> bool { in is_number()
303 pub fn is_string(&self) -> bool { in is_string()
319 pub fn is_array(&self) -> bool { in is_array()
335 pub fn is_object(&self) -> bool { in is_object()
351 pub fn try_as_boolean(&self) -> Result<&bool, Error> { in try_as_boolean()
453 pub fn try_as_mut_boolean(&mut self) -> Result<&mut bool, Error> { in try_as_mut_boolean()
[all …]
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/tls/verifier/
Dmod.rs20 fn verify(&self, certs: &ServerCerts) -> bool; in verify()
37 fn verify(&self, certs: &ServerCerts) -> bool { in verify()
/commonlibrary/rust/ylong_http/ylong_http/src/
Dpseudo.rs57 pub(crate) fn is_empty(&self) -> bool { in is_empty()
66 pub(crate) fn contains_authority(&self) -> bool { in contains_authority()
86 pub(crate) fn contains_method(&self) -> bool { in contains_method()
106 pub(crate) fn contains_path(&self) -> bool { in contains_path()
126 pub(crate) fn contains_scheme(&self) -> bool { in contains_scheme()
146 pub(crate) fn contains_status(&self) -> bool { in contains_status()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/unbounded/
Dmod.rs141 pub fn is_closed(&self) -> bool { in is_closed()
155 pub fn is_same(&self, other: &Self) -> bool { in is_same()
185 pub fn is_empty(&self) -> bool { in is_empty()
227 pub fn is_empty(&self) -> bool { in is_empty()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/bounded/
Dmod.rs246 pub fn is_closed(&self) -> bool { in is_closed()
260 pub fn is_same(&self, other: &Self) -> bool { in is_same()
303 pub fn is_empty(&self) -> bool { in is_empty()
345 pub fn is_empty(&self) -> bool { in is_empty()
/commonlibrary/rust/ylong_http/ylong_http_client/tests/
Dsdv_async_certs_adapter.rs41 fn verify(&self, _certs: &ServerCerts) -> bool { in sdv_client_request_http1_verify_true()
83 fn verify(&self, _certs: &ServerCerts) -> bool { in sdv_client_request_http2_verify_true()
181 fn verify(&self, _certs: &ServerCerts) -> bool { in sdv_client_request_http1_verify_false()
223 fn verify(&self, _certs: &ServerCerts) -> bool { in sdv_client_request_http1_verify_true_invalid_cert()
/commonlibrary/rust/ylong_http/ylong_http/src/h2/
Dframe.rs244 pub fn is_end_stream(&self) -> bool { in is_end_stream()
249 pub fn is_end_headers(&self) -> bool { in is_end_headers()
254 pub fn is_padded(&self) -> bool { in is_padded()
259 pub fn is_ack(&self) -> bool { in is_ack()
269 pub fn set_end_stream(&mut self, end_stream: bool) { in set_end_stream()
278 pub fn set_end_headers(&mut self, end_headers: bool) { in set_end_headers()
287 pub fn set_padded(&mut self, padded: bool) { in set_padded()
532 pub fn new(exclusive: bool, stream_dependency: u32, weight: u8) -> Self { in new()
541 pub fn get_exclusive(&self) -> bool { in get_exclusive()
576 pub fn is_no_error(&self) -> bool { in is_no_error()
/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/src/h3/qpack/format/
Dencoder.rs40 pub fn new(stream_id: u64, base: u64, is_huffman: bool, table: &'a mut DynamicTable) -> Self { in new()
73 allow_block: bool, in iterate_encode_fields()
114 allow_block: bool, in encode_field()
187 is_huffman: bool, in indexed_name_ref_with_literal_field()
214 is_huffman: bool, in add_field_to_dynamic()
242 allow_block: bool, in search_filed_from_table()
382 fn new(index: usize, value: Vec<u8>, is_huffman: bool, is_static: bool) -> Self { in new()
415 is_huffman: bool, in new()
416 is_static: bool, in new()
417 no_permit: bool, in new()
[all …]
/commonlibrary/rust/ylong_json/src/value/object/
Dvec.rs88 pub fn is_empty(&self) -> bool { in is_empty()
104 pub fn contains_key(&self, key: &str) -> bool { in contains_key()
232 fn eq(&self, other: &Self) -> bool { in eq()
/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()

123456