Home
last modified time | relevance | path

Searched refs:nwritten (Results 1 – 25 of 31) sorted by relevance

12

/third_party/ltp/testcases/kernel/sched/clisrv/
Dwriten.c30 int nleft, nwritten; in writen() local
34 nwritten = write(fd, ptr, nleft); in writen()
35 if (nwritten <= 0) in writen()
36 return (nwritten); /* error */ in writen()
37 nleft -= nwritten; in writen()
38 ptr += nwritten; in writen()
/third_party/libuv/test/
Dtest-eintr-handling.c50 int nwritten; in thread_main() local
54 nwritten = write(pipe_fds[1], test_buf, sizeof(test_buf)); in thread_main()
55 while (nwritten == -1 && errno == EINTR); in thread_main()
57 ASSERT(nwritten == sizeof(test_buf)); in thread_main()
Dtest-pipe-set-non-blocking.c71 size_t nwritten; in TEST_IMPL() local
95 nwritten = 0; in TEST_IMPL()
96 while (nwritten < NWRITES) { in TEST_IMPL()
111 nwritten += n; in TEST_IMPL()
/third_party/NuttX/drivers/pipes/
Dpipe_common.c541 ssize_t nwritten = 0; in pipecommon_write() local
628 nwritten++; in pipecommon_write()
629 if ((size_t)nwritten >= len) in pipecommon_write()
651 if (last < nwritten) in pipecommon_write()
665 last = nwritten; in pipecommon_write()
671 if (nwritten == 0) in pipecommon_write()
673 nwritten = -EAGAIN; in pipecommon_write()
677 return nwritten; in pipecommon_write()
/third_party/glib/gio/
Dgwin32outputstream.c124 DWORD nbytes, nwritten; in g_win32_output_stream_write() local
141 res = WriteFile (win32_stream->priv->handle, buffer, nbytes, &nwritten, &overlap); in g_win32_output_stream_write()
143 retval = nwritten; in g_win32_output_stream_write()
150 &overlap, &nwritten, cancellable)) in g_win32_output_stream_write()
152 retval = nwritten; in g_win32_output_stream_write()
Dgfilteroutputstream.c261 gssize nwritten; in g_filter_output_stream_write() local
265 nwritten = g_output_stream_write (filter_stream->base_stream, in g_filter_output_stream_write()
271 return nwritten; in g_filter_output_stream_write()
Dgconverteroutputstream.c370 gsize nwritten; in flush_buffer() local
385 &nwritten, in flush_buffer()
388 buffer_consumed (&priv->converted_buffer, nwritten); in flush_buffer()
/third_party/node/test/wasi/c/
Dwrite_file.c11 int nwritten = fprintf(file, "%s", message); in main() local
12 assert(nwritten == strlen(message)); in main()
/third_party/boost/boost/beast/http/
Dbasic_file_body.hpp502 std::size_t nwritten = 0; in put() local
511 nwritten += body_.file_.write( in put()
514 return nwritten; in put()
521 return nwritten; in put()
/third_party/boost/libs/beast/include/boost/beast/http/
Dbasic_file_body.hpp502 std::size_t nwritten = 0; in put() local
511 nwritten += body_.file_.write( in put()
514 return nwritten; in put()
521 return nwritten; in put()
/third_party/boost/libs/asio/example/cpp17/coroutines_ts/
Decho_server_with_as_single_default.cpp38 auto [e2, nwritten] = co_await async_write(socket, boost::asio::buffer(data, nread)); in echo()
39 if (nwritten != nread) break; in echo()
/third_party/boost/boost/beast/core/impl/
Dfile_win32.ipp321 std::size_t nwritten = 0;
340 return nwritten;
343 return nwritten;
345 nwritten += bytesWritten;
349 return nwritten;
Dfile_posix.ipp305 std::size_t nwritten = 0;
317 return nwritten;
320 nwritten += result;
323 return nwritten;
Dfile_stdio.ipp313 auto nwritten = std::fwrite(buffer, 1, n, f_);
319 return nwritten;
/third_party/boost/libs/beast/include/boost/beast/core/impl/
Dfile_win32.ipp321 std::size_t nwritten = 0;
340 return nwritten;
343 return nwritten;
345 nwritten += bytesWritten;
349 return nwritten;
Dfile_posix.ipp305 std::size_t nwritten = 0;
317 return nwritten;
320 nwritten += result;
323 return nwritten;
Dfile_stdio.ipp313 auto nwritten = std::fwrite(buffer, 1, n, f_);
319 return nwritten;
/third_party/mksh/
Dshf.c800 ssize_t nwritten = 0; in shf_vfprintf() local
810 nwritten++; in shf_vfprintf()
1039 nwritten++; in shf_vfprintf()
1043 nwritten++; in shf_vfprintf()
1049 nwritten++; in shf_vfprintf()
1055 nwritten += field; in shf_vfprintf()
1064 nwritten += precision; in shf_vfprintf()
1069 nwritten += field; in shf_vfprintf()
1074 return (shf_error(shf) ? -1 : nwritten); in shf_vfprintf()
/third_party/boost/libs/beast/include/boost/beast/http/impl/
Dfile_body_win32.hpp207 std::size_t nwritten = 0; in put() local
210 nwritten += body_.file_.write( in put()
213 return nwritten; in put()
216 return nwritten; in put()
/third_party/boost/boost/beast/http/impl/
Dfile_body_win32.hpp207 std::size_t nwritten = 0; in put() local
210 nwritten += body_.file_.write( in put()
213 return nwritten; in put()
216 return nwritten; in put()
/third_party/node/deps/uvwasi/include/
Duvwasi.h150 uvwasi_size_t* nwritten);
178 uvwasi_size_t* nwritten);
/third_party/node/deps/uvwasi/src/
Duvwasi.c1175 uvwasi_size_t* nwritten) { in uvwasi_fd_pwrite() argument
1190 nwritten); in uvwasi_fd_pwrite()
1192 if (uvwasi == NULL || iovs == NULL || nwritten == NULL) in uvwasi_fd_pwrite()
1218 *nwritten = (uvwasi_size_t) uvwritten; in uvwasi_fd_pwrite()
1522 uvwasi_size_t* nwritten) { in uvwasi_fd_write() argument
1536 nwritten); in uvwasi_fd_write()
1538 if (uvwasi == NULL || iovs == NULL || nwritten == NULL) in uvwasi_fd_write()
1560 *nwritten = (uvwasi_size_t) uvwritten; in uvwasi_fd_write()
/third_party/NuttX/fs/tmpfs/
Dfs_tmpfs.c1249 ssize_t nwritten; in tmpfs_write() local
1276 nwritten = buflen; in tmpfs_write()
1317 if (LOS_CopyToKernel(&tfo->tfo_data[startpos], nwritten, buffer, nwritten) != 0) in tmpfs_write()
1322 filep->f_pos += nwritten; in tmpfs_write()
1331 return nwritten; in tmpfs_write()
/third_party/flutter/skia/third_party/externals/sdl/src/file/
DSDL_rwops.c242 size_t nwritten; in windows_file_write() local
272 nwritten = byte_written / size; in windows_file_write()
273 return nwritten; in windows_file_write()
/third_party/node/doc/api/
Dwasi.md60 ;; (File Descriptor, *iovs, iovs_len, nwritten) -> Returns number of bytes written
79 (i32.const 20) ;; nwritten - A place in memory to store the number of bytes written

12