Home
last modified time | relevance | path

Searched refs:is_finished (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
H A Djoin_handle.rs74 pub fn is_finished(&self) -> bool { in is_finished() method
75 state::is_finished(self.raw.header().state.get_current_state()) in is_finished()
111 if state::is_finished(cur) { in poll()
121 if is_finished { in poll()
160 pub fn is_finished(&self) -> bool { in is_finished() method
162 state::is_finished(state) in is_finished()
193 while !handle1.is_finished() { in ut_test_join_handle_is_finished()
196 assert!(handle1.is_finished()); in ut_test_join_handle_is_finished()
197 assert!(!handle2.is_finished()); in ut_test_join_handle_is_finished()
210 while !cancel.is_finished() { in ut_test_cancel_handle()
[all …]
H A Dstate.rs64 pub(crate) fn is_finished(cur: usize) -> bool { in is_finished() function
128 if is_running(cur) || is_finished(cur) || !is_scheduling(cur) { in turning_to_running()
154 if is_finished(cur) { in turning_to_finish()
222 if is_finished(cur) { in turn_to_un_set_waker()
247 if is_finished(cur) { in turn_to_set_waker()
266 if is_canceled(cur) || is_finished(cur) { in turn_to_canceled_and_scheduled()
301 if is_finished(cur) { in turn_to_un_join_handle()
H A Dtask_handle.rs155 state::is_finished(cur), in set_waker()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Djoin_set.rs197 assert!(!handle.is_finished()); in sdv_join_set_cancel_one()
201 assert!(handle.is_finished()); in sdv_join_set_cancel_one()
/ohos5.0/base/request/request/services/tests/
H A Dstart.rs42 if message.is_finished() { in sdv_start_basic()
H A Dresume.rs45 if message.is_finished() { in sdv_start_resume()
/ohos5.0/commonlibrary/rust/ylong_json/src/reader/
H A Dio_reader.rs263 fn is_finished(&self) -> bool { in is_finished() method
342 assert!(io_reader.io.is_finished()); in ut_io_reader_next()
375 assert!(io_reader.io.is_finished()); in ut_io_reader_peek()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/
H A Dencoder.rs260 if self.is_finished() {
290 pub(crate) fn is_finished(&self) -> bool { in is_finished() method
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/
H A Dencoder.rs60 pub(crate) fn is_finished(&self) -> bool { in is_finished() method
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/
H A Dencoder.rs412 } else if self.hpack_encoder.is_finished() { in headers_header_status()
442 if self.hpack_encoder.is_finished() { in iterate_headers_header()
503 && self.hpack_encoder.is_finished() in encode_continuation_frames()
/ohos5.0/base/request/request/test/rustest/src/
H A Dlib.rs380 pub fn is_finished(&self) -> bool { in is_finished() method