Home
last modified time | relevance | path

Searched +defs:_ +defs:R (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/buffered/
H A Dasync_buf_reader.rs57 pub fn new(inner: R) -> AsyncBufReader<R> { in new()
74 pub fn with_capacity(capacity: usize, inner: R) -> AsyncBufReader<R> { in with_capacity()
100 pub fn get_ref(&self) -> &R { in get_ref()
119 pub fn get_mut(&mut self) -> &mut R { in get_mut()
169 pub fn into_inner(self) -> R { in into_inner()
183 cx: &mut Context<'_>, in poll_read()
184 buf: &mut ReadBuf<'_>, in poll_read()
223 cx: &mut Context<'_>, in poll_seek()
254 cx: &mut Context<'_>, in poll_write()
263 cx: &mut Context<'_>, in poll_write_vectored()
[all …]
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/uploader/
H A Dmod.rs106 pub fn console(reader: R) -> Uploader<R, Console> { in console()
133 cx: &mut Context<'_>, in poll_read()
134 buf: &mut ReadBuf<'_>, in poll_read()
175 fn from(value: Uploader<R, U>) -> Self { in from()
181 fn as_ref(&self) -> &R { in as_ref()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/
H A Dread_task.rs47 pub(crate) fn new(reader: &'a mut R, buf: &'a mut [u8]) -> ReadTask<'a, R> { in new() argument
87 pub(crate) fn new(reader: &'a mut R, buf: &'a mut Vec<u8>) -> ReadToEndTask<'a, R> { in new() argument
99 mut reader: &mut R, in poll_read_to_end()
101 cx: &mut Context<'_>, in poll_read_to_end()
232 pub(crate) fn new(reader: &'a mut R, buf: &'a mut [u8]) -> ReadExactTask<'a, R> { in new() argument
255 let _ = match Pin::new(&mut reader).poll_read(cx, &mut this.buf) { in poll() localVariable
294 mut reader: &mut R, in poll_read_until()
297 cx: &mut Context<'_>, in poll_read_until()
350 pub(crate) fn new(reader: &'a mut R, buf: &'a mut String) -> ReadLineTask<'a, R> { in new() argument
392 pub(crate) fn new(reader: R, delim: u8) -> SplitTask<R> { in new()
[all …]
H A Dasync_read.rs43 cx: &mut Context<'_>, in poll_read()
44 buf: &mut ReadBuf<'_>, in poll_read()
52 cx: &mut Context<'_>, in poll_read()
53 buf: &mut ReadBuf<'_>, in poll_read()
63 cx: &mut Context<'_>, in poll_read()
64 buf: &mut ReadBuf<'_>, in poll_read()
78 cx: &mut Context<'_>, in poll_read()
79 buf: &mut ReadBuf<'_>, in poll_read()
212 _cx: &mut Context<'_>, in poll_read()
213 buf: &mut ReadBuf<'_>, in poll_read()
[all …]
H A Dasync_write.rs42 cx: &mut Context<'_>, in poll_write()
52 cx: &mut Context<'_>, in poll_write_vectored()
53 bufs: &[IoSlice<'_>], in poll_write_vectored()
153 cx: &mut Context<'_>, in poll_write()
161 cx: &mut Context<'_>, in poll_write_vectored()
162 bufs: &[IoSlice<'_>], in poll_write_vectored()
274 fn flush(&mut self) -> FlushTask<'_, Self> in flush()
290 fn shutdown(&mut self) -> ShutdownTask<'_, Self> in shutdown()
328 impl<R: AsyncWrite + ?Sized> AsyncWriteExt for R {} implementation
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
H A Djoin_set.rs120 fn wake_by_ref(entry: &Arc<JoinEntry<R>>) { in wake_by_ref()
209 pub async fn join_next(&mut self) -> Option<Result<R, ScheduleError>> { in join_next()
280 pub fn build_task(&mut self) -> Builder<'_, R> { in build_task() argument
284 fn poll_join_next(&mut self, cx: &mut Context<'_>) -> Poll<Option<Result<R, ScheduleError>>> { in poll_join_next()
325 let _ = entry.in_done.replace(false); in poll_join_next() localVariable
352 pub(crate) fn new(set: &'a mut JoinSet<R>) -> Builder<'a, R> { in new() argument
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ssl_stream/
H A Dc_ssl_stream.rs29 fn with_context<F, R>(self: Pin<&mut Self>, ctx: &mut Context<'_>, f: F) -> R in with_context()
31 F: FnOnce(&mut ssl::SslStream<Wrapper<S>>) -> R, in with_context()
95 ctx: &mut Context<'_>, in poll_read()
96 buf: &mut ReadBuf<'_>, in poll_read()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/uploader/
H A Dmod.rs106 pub fn console(reader: R) -> Uploader<R, Console> { in console()
133 cx: &mut Context<'_>, in poll_read()
134 buf: &mut ReadBuf<'_>, in poll_read()
274 _cx: &mut Context<'_>, in upload_op_cov()
307 _cx: &mut Context<'_>, in upload_and_show_progress()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/
H A Dasync_source.rs80 F: FnMut() -> io::Result<R>, in async_process()
248 let _ = self.handle.io_deregister(&mut io); in drop() localVariable
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dblocking_pool.rs96 let _ = handle.1.join(); in shutdown() localVariable
194 pub(crate) fn spawn_blocking<T, R>(&self, builder: &TaskBuilder, task: T) -> JoinHandle<R> in spawn_blocking()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/hvigor/
H A Dhvigor-wrapper.js16_process"),r=require("crypto"),n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof win… class
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/dialog/PasteboardDialog/hvigor/
H A Dhvigor-wrapper.js15_process"),u=require("process"),o=require("tty"),i=require("util"),s=require("url"),c=require("con… variable
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/application/hvigor/
H A Dhvigor-wrapper.js15_process"),u=require("process"),o=require("tty"),i=require("util"),s=require("url"),c=require("con… function
/ohos5.0/base/useriam/face_auth/ui/Settings_FaceAuth/hvigor/
H A Dhvigor-wrapper.js16_process"),u=require("process"),o=require("tty"),i=require("util"),s=require("url"),c=require("con… function