Searched refs:offset (Results 1 – 12 of 12) sorted by relevance
/libuv/src/win/ |
H A D | fs.c | 804 int64_t offset = req->fs.info.offset; in fs__read() local 833 if (offset != -1) { in fs__read() 849 if (offset != -1) { in fs__read() 1010 int64_t offset = req->fs.info.offset; in fs__write() local 1038 if (offset != -1) { in fs__write() 1054 if (offset != -1) { in fs__write() 2228 int64_t offset = req->fs.info.offset; in fs__sendfile() local 2238 if (offset != -1) { in fs__sendfile() 3072 req->fs.info.offset = offset; in uv_fs_read() 3105 req->fs.info.offset = offset; in uv_fs_write() [all …]
|
H A D | fs-event.c | 423 DWORD offset = 0; in uv__process_fs_event_req() local 440 file_info = (FILE_NOTIFY_INFORMATION*)(handle->buffer + offset); in uv__process_fs_event_req() 445 file_info = (FILE_NOTIFY_INFORMATION*)((char*)file_info + offset); in uv__process_fs_event_req() 557 offset = file_info->NextEntryOffset; in uv__process_fs_event_req() 558 } while (offset && !(handle->flags & UV_HANDLE_CLOSING)); in uv__process_fs_event_req()
|
/libuv/src/unix/ |
H A D | fs.c | 840 off_t offset; in uv__fs_sendfile_emul() local 854 offset = req->off; in uv__fs_sendfile_emul() 889 nread = pread(in_fd, buf, buflen, offset); in uv__fs_sendfile_emul() 939 offset += nread; in uv__fs_sendfile_emul() 945 req->off = offset; in uv__fs_sendfile_emul() 1636 size_t offset; in uv__fs_buf_offset() local 1638 for (offset = 0; size > 0 && bufs[offset].len <= size; ++offset) in uv__fs_buf_offset() 1639 size -= bufs[offset].len; in uv__fs_buf_offset() 1643 bufs[offset].base += size; in uv__fs_buf_offset() 1644 bufs[offset].len -= size; in uv__fs_buf_offset() [all …]
|
H A D | stream.c | 582 assert(queued_fds->offset > 0); in uv_accept() 583 if (--queued_fds->offset == 0) { in uv_accept() 590 queued_fds->offset * sizeof(*queued_fds->fds)); in uv_accept() 954 queued_fds->offset = 0; in uv__stream_queue_fd() 958 } else if (queued_fds->size == queued_fds->offset) { in uv__stream_queue_fd() 975 queued_fds->fds[queued_fds->offset++] = fd; in uv__stream_queue_fd() 1552 for (i = 0; i < queued_fds->offset; i++) in uv__stream_close()
|
H A D | internal.h | 184 unsigned int offset; member
|
H A D | pipe.c | 429 return queued_fds->offset + 1; in uv_pipe_pending_count()
|
/libuv/docs/src/ |
H A D | fs.rst | 240 …uv_fs_t* req, uv_file file, const uv_buf_t bufs[], unsigned int nbufs, int64_t offset, uv_fs_cb cb) 242 Equivalent to :man:`preadv(2)`. If the `offset` argument is `-1`, then 243 the current file offset is used and updated. 254 …uv_fs_t* req, uv_file file, const uv_buf_t bufs[], unsigned int nbufs, int64_t offset, uv_fs_cb cb) 256 Equivalent to :man:`pwritev(2)`. If the `offset` argument is `-1`, then 257 the current file offset is used and updated. 378 .. c:function:: int uv_fs_ftruncate(uv_loop_t* loop, uv_fs_t* req, uv_file file, int64_t offset, uv… 567 The file is opened in append mode. Before each write, the file offset is
|
/libuv/test/ |
H A D | test-fs.c | 3564 int64_t offset; in fs_write_alotof_bufs_with_offset() local 3596 offset = (int64_t)r; in fs_write_alotof_bufs_with_offset() 3606 offset, in fs_write_alotof_bufs_with_offset() 3621 iovs, iovcount, offset, NULL); in fs_write_alotof_bufs_with_offset() 3649 offset + write_req.result, in fs_write_alotof_bufs_with_offset() 3784 size_t offset; in uv_test_fs_buf_offset() local 3786 for (offset = 0; size > 0 && bufs[offset].len <= size; ++offset) in uv_test_fs_buf_offset() 3787 size -= bufs[offset].len; in uv_test_fs_buf_offset() 3791 bufs[offset].base += size; in uv_test_fs_buf_offset() 3792 bufs[offset].len -= size; in uv_test_fs_buf_offset() [all …]
|
/libuv/docs/src/guide/ |
H A D | filesystem.rst | 129 …v_fs_t* req, uv_file file, const uv_buf_t bufs[], unsigned int nbufs, int64_t offset, uv_fs_cb cb); 131 …v_fs_t* req, uv_file file, const uv_buf_t bufs[], unsigned int nbufs, int64_t offset, uv_fs_cb cb); 147 int uv_fs_ftruncate(uv_loop_t* loop, uv_fs_t* req, uv_file file, int64_t offset, uv_fs_cb cb);
|
/libuv/include/uv/ |
H A D | win.h | 637 int64_t offset; \
|
/libuv/include/ |
H A D | uv.h | 1465 int64_t offset, 1476 int64_t offset, 1562 int64_t offset,
|
/libuv/ |
H A D | ChangeLog | 537 * doc: add note about offset -1 in uv_fs_read/write (Steven Schveighoffer) 4060 * linux,fs: fix p{read,write}v with a 64bit offset (Saúl Ibarra Corretgé) 4782 * windows: fix fs_read with nbufs > 1 and offset (Unknown W. Brackets) 4845 * windows: fix fs_write with nbufs > 1 and offset (Unknown W. Brackets)
|
Completed in 76 milliseconds