Home
last modified time | relevance | path

Searched refs:flush (Results 1 - 23 of 23) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
H A Dssl_stream.rs49 fn flush(&mut self) -> std::io::Result<()> { in flush() functions
51 MixStream::Http(s) => s.flush(), in flush()
52 MixStream::Https(s) => s.flush(), in flush()
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dstdio_cargo_test.rs37 let res = stdout.flush().await; in sdv_stdio_write()
49 let res = stderr.flush().await; in sdv_stdio_write()
69 let res = buf_writer.flush().await; in sdv_stdio_buf_writer_write()
78 let res = buf_writer.flush().await; in sdv_stdio_buf_writer_write()
H A Dasync_buf_write.rs52 buf_writer.flush().await.unwrap(); in sdv_buf_writer_write()
94 buf_writer.flush().await.unwrap(); in sdv_buf_writer_write_vectored()
190 buf_writer.flush().await.unwrap(); in sdv_buf_writer_write_vectored_2()
H A Dpty_process.rs90 pty.flush().await.unwrap(); in sdv_pty_process_read_and_write_test()
116 write_pty.flush().await.unwrap(); in sdv_pty_split_test()
148 write_pty.flush().await.unwrap(); in sdv_pty_into_split_test()
H A Dtcp_test.rs304 write_half.flush().await.unwrap(); in sdv_tcp_split_borrow_half()
374 write_half.flush().await.unwrap(); in sdv_tcp_split_owned_half()
H A Dprocess.rs103 stdin.flush().await.unwrap(); in sdv_process_child_stdio_test()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/buffered/
H A Dasync_buf_writer.rs173 fn flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<io::Result<()>> { in flush() functions
212 poll_ready!(self.as_mut().flush(cx))?; in poll_write()
235 poll_ready!(self.as_mut().flush(cx))?; in poll_write_vectored()
256 poll_ready!(self.as_mut().flush(cx))?; in poll_write_vectored()
283 poll_ready!(self.as_mut().flush(cx))?; in poll_flush()
289 poll_ready!(self.as_mut().flush(cx))?; in poll_shutdown()
301 poll_ready!(self.as_mut().flush(cx))?; in poll_seek()
/commonlibrary/ets_utils/js_util_module/util/
H A Djs_stringdecoder.cpp29 napi_value StringDecoder::Write(napi_env env, napi_value src, UBool flush) in Write() argument
56 ucnv_toUnicode(conv_, &target, target + len, &source, source + length, nullptr, flush, &codeFlag); in Write()
92 UBool flush = true; in End() local
93 ucnv_toUnicode(conv_, &target, targetEnd, &src, sourceEnd, nullptr, flush, &errorCode); in End()
H A Djs_textdecoder.cpp109 UBool flush = ((flags & static_cast<uint8_t>(ConverterFlags::FLUSH_FLG))) == in Decode() local
139 ucnv_toUnicode(GetConverterPtr(), &target, target + len, &source, source + length, nullptr, flush, &codeFlag); in Decode() local
155 if (flush) { in Decode()
194 UBool flush = (flags & static_cast<uint8_t>(ConverterFlags::FLUSH_FLG)) == in DecodeToString() local
218 ucnv_toUnicode(GetConverterPtr(), &target, target + len, &source, source + length, nullptr, flush, &codeFlag); in DecodeToString() local
235 if (flush) { in DecodeToString()
H A Djs_stringdecoder.h29 napi_value Write(napi_env env, napi_value src, UBool flush = false);
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/tcp/
H A Dstream.rs239 fn flush(&mut self) -> io::Result<()> { in flush() functions
240 self.inner.flush() in flush()
267 fn flush(&mut self) -> io::Result<()> { in flush() functions
269 inner.flush() in flush()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/uds/
H A Dstream.rs181 fn flush(&mut self) -> io::Result<()> { in flush() functions
182 self.inner.flush() in flush()
208 fn flush(&mut self) -> io::Result<()> { in flush() functions
210 inner.flush() in flush()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/
H A Dasync_file.rs220 file.flush().await; in fmt()
248 file.flush().await; in fmt()
280 file.flush().await; in fmt()
390 file.flush().await; in fmt()
647 async fn flush(&mut self) { in poll_flush()
936 let ret = file.flush().await; in ut_file_try_into_std()
/commonlibrary/rust/ylong_json/src/
H A Dencoder.rs387 self.flush()?; in write()
391 fn flush(&mut self) -> std::io::Result<()> { in flush() functions
H A Dserializer_compact.rs38 fn flush(&mut self) -> std::io::Result<()> { in flush() functions
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/
H A Dsplit.rs244 write_half.flush().await.unwrap(); in poll_flush()
294 write_half.flush().await.unwrap(); in poll_flush()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/
H A Dstdio.rs168 let res = inner.flush().map(|_| 0); in poll_flush()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/sys/unix/
H A Dpipe.rs49 fn flush(&mut self) -> io::Result<()> { in write_vectored() functions
50 (&self.fd).flush() in write_vectored()
119 (&pipe).flush().unwrap(); in ut_process_pipe_test()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ssl_stream/
H A Dc_ssl_stream.rs131 self.with_context(ctx, |s| check_io_to_poll(s.flush())) in poll_flush()
/commonlibrary/rust/ylong_runtime/ylong_io/tests/
H A Dtcp_test.rs122 stream.flush().unwrap(); in sdv_tcp_server_vectored()
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
H A Dbio.rs192 match catch_unwind(AssertUnwindSafe(|| state.stream.flush())) {
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/
H A Dcommand.rs673 stdin.flush().await.unwrap(); in ut_process_child_stdio_test()
/commonlibrary/c_utils/base/src/
H A Dfile_ex.cpp348 file.flush(); in SaveBufferToFile()

Completed in 13 milliseconds