Home
last modified time | relevance | path

Searched refs:get_mut (Results 1 – 25 of 72) sorted by relevance

123

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/
H A Dasync_buf_read.rs53 Pin::new(&mut **self.get_mut()).poll_fill_buf(cx) in poll_fill_buf()
64 Pin::new(&mut **self.get_mut()).poll_fill_buf(cx) in poll_fill_buf()
79 self.get_mut().as_mut().poll_fill_buf(cx) in poll_fill_buf()
83 self.get_mut().as_mut().consume(amt) in consume()
H A Dasync_write.rs156 Pin::as_mut(self.get_mut()).poll_write(cx, buf) in poll_write()
164 Pin::as_mut(self.get_mut()).poll_write_vectored(cx, bufs) in poll_write_vectored()
172 Pin::as_mut(self.get_mut()).poll_flush(cx) in poll_flush()
176 Pin::as_mut(self.get_mut()).poll_shutdown(cx) in poll_shutdown()
H A Dread_task.rs140 let me = self.get_mut(); in poll()
212 let me = self.get_mut(); in poll()
248 let this = self.get_mut(); in poll()
331 let me = self.get_mut(); in poll()
367 let me = self.get_mut(); in poll()
402 let me = self.get_mut(); in poll_next()
454 let me = self.get_mut(); in poll_next_line()
H A Dwrite_task.rs178 let me = self.get_mut(); in poll()
203 let me = self.get_mut(); in poll()
H A Dasync_seek.rs54 self.get_mut().as_mut().poll_seek(cx, pos) in poll_seek()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/
H A Dstreams.rs265 if let Some(stream) = self.stream_map.get_mut(&id) { in release_stream_recv_window()
363 if let Some(stream) = self.stream_map.get_mut(&id) { in reassign_stream_send_window()
392 if let Some(stream) = self.stream_map.get_mut(&id) { in window_update_streams()
408 match self.stream_map.get_mut(&id) { in headers()
427 match self.stream_map.get_mut(&id) { in poll_read_body()
545 return match self.stream_map.get_mut(&id) { in send_local_reset()
570 match self.stream_map.get_mut(&id) { in send_headers_frame()
613 match self.stream_map.get_mut(&id) { in send_data_frame()
642 return match self.stream_map.get_mut(&id) { in recv_remote_reset()
662 match self.stream_map.get_mut(&id) { in recv_headers()
[all …]
/ohos5.0/base/request/request/services/src/service/client/
H A Dmanager.rs92 if let Some((tx, _fd)) = self.clients.get_mut(&pid) { in run()
111 if let Some((tx, _fd)) = self.clients.get_mut(&pid) { in run()
157 if let Some(_client) = self.clients.get_mut(&pid) { in handle_subscribe()
169 if let Some(_client) = self.clients.get_mut(&pid) { in handle_unsubscribe()
191 if let Some((tx, _)) = self.clients.get_mut(&pid) { in handle_process_terminated()
/ohos5.0/commonlibrary/rust/ylong_json/src/value/object/
H A Dvec.rs197 pub fn get_mut(&mut self, key: &str) -> Option<&mut JsonValue> { in get_mut() method
210 self.inner.get_mut(index).map(|(_, v)| v) in get_mut_by_position()
317 object.get_mut("key1"), in ut_object_get_mut()
320 assert_eq!(object.get_mut("key2"), None); in ut_object_get_mut()
H A Dlinked_list.rs194 pub fn get_mut(&mut self, key: &str) -> Option<&mut JsonValue> { in get_mut() method
369 object.get_mut("key1"), in ut_object_get_mut()
372 assert_eq!(object.get_mut("key2"), None); in ut_object_get_mut()
H A Dbtree.rs188 pub fn get_mut(&mut self, key: &str) -> Option<&mut JsonValue> { in get_mut() method
189 self.inner.get_mut(key) in get_mut()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/
H A Dslots.rs104 match self.entries.get_mut(tail) { in push_back()
131 if let Some(entry) = self.entries.get_mut(curr) { in pop_front()
137 match self.entries.get_mut(self.head) { in pop_front()
167 let entry = self.entries.get_mut(key).ok_or(SlotsError)?; in remove()
176 match self.entries.get_mut(prev) { in remove()
186 match self.entries.get_mut(next) { in remove()
259 match self.entries.get_mut(index) { in index_mut()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/
H A Dasync_file.rs68 let state = self.get_mut(); in poll()
381 let file = self.get_mut(); in poll_seek()
382 let inner = file.inner.get_mut(); in poll_seek()
434 let file = self.get_mut(); in poll_read()
435 let inner = file.inner.get_mut(); in poll_read()
498 let file = self.get_mut(); in poll_write()
499 let inner = file.inner.get_mut(); in poll_write()
541 self.inner.get_mut().poll_flush(cx) in poll_flush()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ssl_stream/
H A Dc_ssl_stream.rs38 this.0.get_mut().context = ctx as *mut _ as *mut (); in with_context()
40 this.0.get_mut().context = ptr::null_mut(); in with_context()
47 unsafe { Pin::new_unchecked(&mut self.get_unchecked_mut().0.get_mut().stream) } in get_pin_mut()
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/downloader/
H A Doperator.rs140 let fut = self.get_mut(); in poll()
159 let fut = self.get_mut(); in poll()
/ohos5.0/commonlibrary/rust/ylong_json/src/value/array/
H A Dvec.rs168 pub fn get_mut(&mut self, index: usize) -> Option<&mut JsonValue> { in get_mut() method
169 self.inner.get_mut(index) in get_mut()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/downloader/
H A Doperator.rs110 let fut = self.get_mut(); in poll()
128 let fut = self.get_mut(); in poll()
/ohos5.0/base/request/request/services/src/task/
H A Dfiles.rs207 pub(crate) fn get_mut(&self, index: usize) -> Option<&mut AsyncFile> { in get_mut() method
208 unsafe { &mut *self.0.get() }.get_mut(index) in get_mut()
/ohos5.0/base/request/request/services/src/manage/events/
H A Dstop.rs28 if let Some(count) = self.task_count.get_mut(&uid) { in stop()
H A Dremove.rs28 if let Some(count) = self.task_count.get_mut(&uid) { in remove()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/tests/
H A Dsdv_http_headers.rs47 let mut_value = headers.get_mut("key"); in sdv_client_send_request_repeatedly()
/ohos5.0/commonlibrary/rust/ylong_json/src/value/
H A Dindex.rs110 array.get_mut(*self).unwrap() in index_into_mut()
235 return object.get_mut(self).unwrap(); in index_into_mut()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/
H A Dmod.rs373 let fut = self.get_mut(); in poll()
399 let fut = self.get_mut(); in poll()
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/uploader/
H A Doperator.rs105 let fut = self.get_mut(); in poll()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dtask_cancel.rs75 let this = self.get_mut(); in poll()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/uploader/
H A Doperator.rs103 let fut = self.get_mut(); in poll()

123