#include "uv.h"
#include "task.h"
#include <errno.h>
#include <string.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <limits.h>
#include <winioctl.h>
#include <direct.h>
#include <io.h>
Go to the source code of this file.
Classes | |
struct | thread_ctx |
struct | utime_check_t |
Macros | |
#define | close _close |
#define | ERROR_SYMLINK_NOT_SUPPORTED 1464 |
#define | lseek _lseek |
#define | open _open |
#define | PATHMAX 4096 |
#define | rmdir _rmdir |
#define | stat _stati64 |
#define | TOO_LONG_NAME_LENGTH 65536 |
#define | unlink _unlink |
#define | write _write |
Functions | |
static void | access_cb (uv_fs_t *req) |
static void | assert_is_file_type (uv_dirent_t dent) |
static void | check_mkdtemp_result (uv_fs_t *req) |
static void | check_mkstemp_result (uv_fs_t *req) |
static void | check_permission (const char *filename, unsigned int mode) |
static void | check_utime (const char *path, double atime, double mtime, int test_lutime) |
static void | chmod_cb (uv_fs_t *req) |
static void | chown_cb (uv_fs_t *req) |
static void | chown_root_cb (uv_fs_t *req) |
static void | close_cb (uv_fs_t *req) |
static void | create_cb (uv_fs_t *req) |
static void | dummy_cb (uv_fs_t *req) |
static void | empty_scandir_cb (uv_fs_t *req) |
static void | fail_cb (uv_fs_t *req) |
static void | fchmod_cb (uv_fs_t *req) |
static void | fchown_cb (uv_fs_t *req) |
static void | fdatasync_cb (uv_fs_t *req) |
static void | file_scandir_cb (uv_fs_t *req) |
static void | fs_file_open_append (int add_flags) |
static void | fs_file_sync (int add_flags) |
static void | fs_file_write_null_buffer (int add_flags) |
static void | fs_read_bufs (int add_flags) |
static void | fs_read_file_eof (int add_flags) |
static void | fs_write_alotof_bufs (int add_flags) |
static void | fs_write_alotof_bufs_with_offset (int add_flags) |
static void | fs_write_multiple_bufs (int add_flags) |
static void | fstat_cb (uv_fs_t *req) |
static void | fsync_cb (uv_fs_t *req) |
static void | ftruncate_cb (uv_fs_t *req) |
static void | futime_cb (uv_fs_t *req) |
static void | lchown_cb (uv_fs_t *req) |
static void | link_cb (uv_fs_t *req) |
static void | lutime_cb (uv_fs_t *req) |
static void | mkdir_cb (uv_fs_t *req) |
static void | mkdtemp_cb (uv_fs_t *req) |
static void | mkstemp_cb (uv_fs_t *req) |
static void | non_existent_scandir_cb (uv_fs_t *req) |
static void | open_cb (uv_fs_t *req) |
static void | open_cb_simple (uv_fs_t *req) |
static void | open_loop_cb (uv_fs_t *req) |
static void | open_nametoolong_cb (uv_fs_t *req) |
static void | open_noent_cb (uv_fs_t *req) |
static void | read_cb (uv_fs_t *req) |
static void | readlink_cb (uv_fs_t *req) |
static void | realpath_cb (uv_fs_t *req) |
static void | rename_cb (uv_fs_t *req) |
static void | rmdir_cb (uv_fs_t *req) |
static void | scandir_cb (uv_fs_t *req) |
static void | sendfile_cb (uv_fs_t *req) |
static void | sendfile_nodata_cb (uv_fs_t *req) |
static void | sendfile_setup (int f) |
static void | sig_func (uv_signal_t *handle, int signum) |
static void | stat_cb (uv_fs_t *req) |
static void | statfs_cb (uv_fs_t *req) |
static void | symlink_cb (uv_fs_t *req) |
static void | test_fs_partial (int doread) |
TEST_IMPL (fs_access) | |
TEST_IMPL (fs_async_dir) | |
TEST_IMPL (fs_async_sendfile) | |
TEST_IMPL (fs_async_sendfile_nodata) | |
TEST_IMPL (fs_chmod) | |
TEST_IMPL (fs_chown) | |
TEST_IMPL (fs_file_async) | |
TEST_IMPL (fs_file_loop) | |
TEST_IMPL (fs_file_nametoolong) | |
TEST_IMPL (fs_file_noent) | |
TEST_IMPL (fs_file_open_append) | |
TEST_IMPL (fs_file_pos_after_op_with_offset) | |
TEST_IMPL (fs_file_sync) | |
TEST_IMPL (fs_file_write_null_buffer) | |
TEST_IMPL (fs_fstat) | |
TEST_IMPL (fs_futime) | |
TEST_IMPL (fs_link) | |
TEST_IMPL (fs_lutime) | |
TEST_IMPL (fs_mkdtemp) | |
TEST_IMPL (fs_mkstemp) | |
TEST_IMPL (fs_null_req) | |
TEST_IMPL (fs_open_dir) | |
TEST_IMPL (fs_partial_read) | |
TEST_IMPL (fs_partial_write) | |
TEST_IMPL (fs_read_bufs) | |
TEST_IMPL (fs_read_dir) | |
TEST_IMPL (fs_read_file_eof) | |
TEST_IMPL (fs_read_write_null_arguments) | |
TEST_IMPL (fs_readlink) | |
TEST_IMPL (fs_realpath) | |
TEST_IMPL (fs_rename_to_existing_file) | |
TEST_IMPL (fs_scandir_empty_dir) | |
TEST_IMPL (fs_scandir_file) | |
TEST_IMPL (fs_scandir_non_existent_dir) | |
TEST_IMPL (fs_stat_missing_path) | |
TEST_IMPL (fs_statfs) | |
TEST_IMPL (fs_symlink) | |
TEST_IMPL (fs_symlink_dir) | |
TEST_IMPL (fs_symlink_junction) | |
TEST_IMPL (fs_unlink_readonly) | |
TEST_IMPL (fs_utime) | |
TEST_IMPL (fs_write_alotof_bufs) | |
TEST_IMPL (fs_write_alotof_bufs_with_offset) | |
TEST_IMPL (fs_write_multiple_bufs) | |
TEST_IMPL (get_osfhandle_valid_handle) | |
TEST_IMPL (open_osfhandle_valid_handle) | |
static int | test_sendfile (void(*setup)(int), uv_fs_cb cb, off_t expected_size) |
int | test_symlink_dir_impl (int type) |
static void | thread_main (void *arg) |
static void | unlink_cb (uv_fs_t *req) |
static void | utime_cb (uv_fs_t *req) |
static size_t | uv_test_fs_buf_offset (uv_buf_t *bufs, size_t size) |
int | uv_test_getiovmax (void) |
static void | write_cb (uv_fs_t *req) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
TEST_IMPL | ( | fs_file_open_append | ) |
TEST_IMPL | ( | fs_file_sync | ) |
TEST_IMPL | ( | fs_file_write_null_buffer | ) |
TEST_IMPL | ( | fs_read_bufs | ) |
TEST_IMPL | ( | fs_read_file_eof | ) |
TEST_IMPL | ( | fs_write_alotof_bufs | ) |
TEST_IMPL | ( | fs_write_alotof_bufs_with_offset | ) |
TEST_IMPL | ( | fs_write_multiple_bufs | ) |
|
static |