• Home
  • Raw
  • Download

Lines Matching refs:write_req

99 static uv_fs_t write_req;  variable
426 ASSERT(req == &write_req); in write_cb()
444 r = uv_fs_write(loop, &write_req, req->result, &iov, 1, -1, write_cb); in create_cb()
936 r = uv_fs_write(NULL, &write_req, open_req1.result, &iov, 1, -1, NULL); in fs_file_sync()
938 ASSERT(write_req.result >= 0); in fs_file_sync()
939 uv_fs_req_cleanup(&write_req); in fs_file_sync()
1025 r = uv_fs_write(NULL, &write_req, open_req1.result, &iov, 1, -1, NULL); in fs_file_write_null_buffer()
1027 ASSERT(write_req.result == 0); in fs_file_write_null_buffer()
1028 uv_fs_req_cleanup(&write_req); in fs_file_write_null_buffer()
2825 r = uv_fs_write(NULL, &write_req, open_req1.result, &iov, 1, -1, NULL); in fs_file_open_append()
2827 ASSERT(write_req.result >= 0); in fs_file_open_append()
2828 uv_fs_req_cleanup(&write_req); in fs_file_open_append()
2842 r = uv_fs_write(NULL, &write_req, open_req1.result, &iov, 1, -1, NULL); in fs_file_open_append()
2844 ASSERT(write_req.result >= 0); in fs_file_open_append()
2845 uv_fs_req_cleanup(&write_req); in fs_file_open_append()
2901 r = uv_fs_write(NULL, &write_req, open_req1.result, &iov, 1, -1, NULL); in TEST_IMPL()
2903 ASSERT(write_req.result >= 0); in TEST_IMPL()
2904 uv_fs_req_cleanup(&write_req); in TEST_IMPL()
3030 r = uv_fs_write(NULL, &write_req, open_req1.result, &iov, 1, -1, NULL); in fs_read_file_eof()
3032 ASSERT(write_req.result >= 0); in fs_read_file_eof()
3033 uv_fs_req_cleanup(&write_req); in fs_read_file_eof()
3095 r = uv_fs_write(NULL, &write_req, open_req1.result, iovs, 2, 0, NULL); in fs_write_multiple_bufs()
3097 ASSERT(write_req.result >= 0); in fs_write_multiple_bufs()
3098 uv_fs_req_cleanup(&write_req); in fs_write_multiple_bufs()
3205 &write_req, in fs_write_alotof_bufs()
3212 ASSERT((size_t)write_req.result == sizeof(test_buf) * iovcount); in fs_write_alotof_bufs()
3213 uv_fs_req_cleanup(&write_req); in fs_write_alotof_bufs()
3248 ASSERT(lseek(open_req1.result, write_req.result, SEEK_SET) == write_req.result); in fs_write_alotof_bufs()
3314 r = uv_fs_write(NULL, &write_req, open_req1.result, &iov, 1, -1, NULL); in fs_write_alotof_bufs_with_offset()
3316 ASSERT(write_req.result == filler_len); in fs_write_alotof_bufs_with_offset()
3317 uv_fs_req_cleanup(&write_req); in fs_write_alotof_bufs_with_offset()
3324 &write_req, in fs_write_alotof_bufs_with_offset()
3331 ASSERT((size_t)write_req.result == sizeof(test_buf) * iovcount); in fs_write_alotof_bufs_with_offset()
3332 uv_fs_req_cleanup(&write_req); in fs_write_alotof_bufs_with_offset()
3362 offset + (int64_t)write_req.result); in fs_write_alotof_bufs_with_offset()
3371 offset + write_req.result, in fs_write_alotof_bufs_with_offset()
3577 result = uv_fs_write(loop, &write_req, pipe_fds[1], iovs, iovcount, -1, NULL); in test_fs_partial()
3578 ASSERT(write_req.result == result); in test_fs_partial()
3580 uv_fs_req_cleanup(&write_req); in test_fs_partial()
3625 r = uv_fs_write(NULL, &write_req, 0, NULL, 0, -1, NULL); in TEST_IMPL()
3629 ASSERT_NULL(write_req.path); in TEST_IMPL()
3630 ASSERT_NULL(write_req.ptr); in TEST_IMPL()
3632 ASSERT_NULL(write_req.file.pathw); in TEST_IMPL()
3633 ASSERT_NULL(write_req.fs.info.new_pathw); in TEST_IMPL()
3634 ASSERT_NULL(write_req.fs.info.bufs); in TEST_IMPL()
3636 ASSERT_NULL(write_req.new_path); in TEST_IMPL()
3637 ASSERT_NULL(write_req.bufs); in TEST_IMPL()
3639 uv_fs_req_cleanup(&write_req); in TEST_IMPL()
3647 r = uv_fs_write(NULL, &write_req, 0, &iov, 0, -1, NULL); in TEST_IMPL()
3649 uv_fs_req_cleanup(&write_req); in TEST_IMPL()
3659 r = uv_fs_write(loop, &write_req, 0, NULL, 0, -1, fail_cb); in TEST_IMPL()
3662 uv_fs_req_cleanup(&write_req); in TEST_IMPL()
3671 r = uv_fs_write(loop, &write_req, 0, &iov, 0, -1, fail_cb); in TEST_IMPL()
3674 uv_fs_req_cleanup(&write_req); in TEST_IMPL()
3781 r = uv_fs_write(NULL, &write_req, open_req1.result, &iov, 1, 0, NULL); in TEST_IMPL()
3784 uv_fs_req_cleanup(&write_req); in TEST_IMPL()
3809 r = uv_fs_write(NULL, &write_req, open_req1.result, &iov, 1, -1, NULL); in fs_file_pos_common()
3811 uv_fs_req_cleanup(&write_req); in fs_file_pos_common()
3827 r = uv_fs_write(NULL, &write_req, open_req1.result, &iov, 1, -1, NULL); in fs_file_pos_common()
3829 uv_fs_req_cleanup(&write_req); in fs_file_pos_common()
3884 r = uv_fs_write(NULL, &write_req, open_req1.result, &iov, 1, 1, NULL); in fs_file_pos_write()
3886 uv_fs_req_cleanup(&write_req); in fs_file_pos_write()
3923 r = uv_fs_write(NULL, &write_req, open_req1.result, &iov, 1, 1, NULL); in fs_file_pos_append()
3925 uv_fs_req_cleanup(&write_req); in fs_file_pos_append()