Classes | Macros | Functions | Variables
test-fs.c File Reference
#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>
Include dependency graph for test-fs.c:

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)
 

Variables

static int access_cb_count
 
static char buf [32]
 
static char buf2 [32]
 
static int chmod_cb_count
 
static int chown_cb_count
 
static int close_cb_count
 
static uv_fs_t close_req
 
static int create_cb_count
 
static int dummy_cb_count
 
static int fchmod_cb_count
 
static int fchown_cb_count
 
static int fdatasync_cb_count
 
static uv_fs_t fdatasync_req
 
static int fstat_cb_count
 
static int fsync_cb_count
 
static uv_fs_t fsync_req
 
static int ftruncate_cb_count
 
static uv_fs_t ftruncate_req
 
static int futime_cb_count
 
static uv_fs_t futime_req
 
static uv_buf_t iov
 
static int lchown_cb_count
 
static int link_cb_count
 
static uv_loop_tloop
 
static int lutime_cb_count
 
static int mkdir_cb_count
 
static uv_fs_t mkdir_req
 
static int mkdtemp_cb_count
 
static uv_fs_t mkdtemp_req1
 
static uv_fs_t mkdtemp_req2
 
static int mkstemp_cb_count
 
static uv_fs_t mkstemp_req1
 
static uv_fs_t mkstemp_req2
 
static uv_fs_t mkstemp_req3
 
static int open_cb_count
 
static uv_fs_t open_req1
 
static uv_fs_t open_req2
 
static int read_cb_count
 
static uv_fs_t read_req
 
static int readlink_cb_count
 
static int realpath_cb_count
 
static int rename_cb_count
 
static uv_fs_t rename_req
 
static int rmdir_cb_count
 
static uv_fs_t rmdir_req
 
static int scandir_cb_count
 
static uv_fs_t scandir_req
 
static int sendfile_cb_count
 
static uv_fs_t sendfile_req
 
static int stat_cb_count
 
static uv_fs_t stat_req
 
static int statfs_cb_count
 
static int symlink_cb_count
 
static char test_buf [] = "test-buffer\n"
 
static char test_buf2 [] = "second-buffer\n"
 
static int unlink_cb_count
 
static uv_fs_t unlink_req
 
static int utime_cb_count
 
static uv_fs_t utime_req
 
static int write_cb_count
 
static uv_fs_t write_req
 

Macro Definition Documentation

◆ close

#define close   _close

Definition at line 48 of file test-fs.c.

◆ ERROR_SYMLINK_NOT_SUPPORTED

#define ERROR_SYMLINK_NOT_SUPPORTED   1464

Definition at line 42 of file test-fs.c.

◆ lseek

#define lseek   _lseek

Definition at line 53 of file test-fs.c.

◆ open

#define open   _open

Definition at line 46 of file test-fs.c.

◆ PATHMAX

#define PATHMAX   4096

Definition at line 58 of file test-fs.c.

◆ rmdir

#define rmdir   _rmdir

Definition at line 45 of file test-fs.c.

◆ stat

#define stat   _stati64

Definition at line 50 of file test-fs.c.

◆ TOO_LONG_NAME_LENGTH

#define TOO_LONG_NAME_LENGTH   65536

Definition at line 57 of file test-fs.c.

◆ unlink

#define unlink   _unlink

Definition at line 44 of file test-fs.c.

◆ write

#define write   _write

Definition at line 47 of file test-fs.c.

Function Documentation

◆ access_cb()

static void access_cb ( uv_fs_t req)
static

Definition at line 251 of file test-fs.c.

◆ assert_is_file_type()

static void assert_is_file_type ( uv_dirent_t  dent)
static

Definition at line 590 of file test-fs.c.

◆ check_mkdtemp_result()

static void check_mkdtemp_result ( uv_fs_t req)
static

Definition at line 527 of file test-fs.c.

◆ check_mkstemp_result()

static void check_mkstemp_result ( uv_fs_t req)
static

Definition at line 553 of file test-fs.c.

◆ check_permission()

static void check_permission ( const char *  filename,
unsigned int  mode 
)
static

Definition at line 168 of file test-fs.c.

◆ check_utime()

static void check_utime ( const char *  path,
double  atime,
double  mtime,
int  test_lutime 
)
static

Definition at line 810 of file test-fs.c.

◆ chmod_cb()

static void chmod_cb ( uv_fs_t req)
static

Definition at line 267 of file test-fs.c.

◆ chown_cb()

static void chown_cb ( uv_fs_t req)
static

Definition at line 284 of file test-fs.c.

◆ chown_root_cb()

static void chown_root_cb ( uv_fs_t req)
static

Definition at line 298 of file test-fs.c.

◆ close_cb()

static void close_cb ( uv_fs_t req)
static

Definition at line 378 of file test-fs.c.

◆ create_cb()

static void create_cb ( uv_fs_t req)
static

Definition at line 494 of file test-fs.c.

◆ dummy_cb()

static void dummy_cb ( uv_fs_t req)
static

Definition at line 192 of file test-fs.c.

◆ empty_scandir_cb()

static void empty_scandir_cb ( uv_fs_t req)
static

Definition at line 631 of file test-fs.c.

◆ fail_cb()

static void fail_cb ( uv_fs_t req)
static

Definition at line 403 of file test-fs.c.

◆ fchmod_cb()

static void fchmod_cb ( uv_fs_t req)
static

Definition at line 258 of file test-fs.c.

◆ fchown_cb()

static void fchown_cb ( uv_fs_t req)
static

Definition at line 276 of file test-fs.c.

◆ fdatasync_cb()

static void fdatasync_cb ( uv_fs_t req)
static

Definition at line 470 of file test-fs.c.

◆ file_scandir_cb()

static void file_scandir_cb ( uv_fs_t req)
static

Definition at line 656 of file test-fs.c.

◆ fs_file_open_append()

static void fs_file_open_append ( int  add_flags)
static

Definition at line 2842 of file test-fs.c.

◆ fs_file_sync()

static void fs_file_sync ( int  add_flags)
static

Definition at line 942 of file test-fs.c.

◆ fs_file_write_null_buffer()

static void fs_file_write_null_buffer ( int  add_flags)
static

Definition at line 1032 of file test-fs.c.

◆ fs_read_bufs()

static void fs_read_bufs ( int  add_flags)
static

Definition at line 2986 of file test-fs.c.

◆ fs_read_file_eof()

static void fs_read_file_eof ( int  add_flags)
static

Definition at line 3044 of file test-fs.c.

◆ fs_write_alotof_bufs()

static void fs_write_alotof_bufs ( int  add_flags)
static

Definition at line 3204 of file test-fs.c.

◆ fs_write_alotof_bufs_with_offset()

static void fs_write_alotof_bufs_with_offset ( int  add_flags)
static

Definition at line 3311 of file test-fs.c.

◆ fs_write_multiple_bufs()

static void fs_write_multiple_bufs ( int  add_flags)
static

Definition at line 3110 of file test-fs.c.

◆ fstat_cb()

static void fstat_cb ( uv_fs_t req)
static

Definition at line 335 of file test-fs.c.

◆ fsync_cb()

static void fsync_cb ( uv_fs_t req)
static

Definition at line 458 of file test-fs.c.

◆ ftruncate_cb()

static void ftruncate_cb ( uv_fs_t req)
static

Definition at line 392 of file test-fs.c.

◆ futime_cb()

static void futime_cb ( uv_fs_t req)
static

Definition at line 850 of file test-fs.c.

◆ lchown_cb()

static void lchown_cb ( uv_fs_t req)
static

Definition at line 291 of file test-fs.c.

◆ link_cb()

static void link_cb ( uv_fs_t req)
static

Definition at line 198 of file test-fs.c.

◆ lutime_cb()

static void lutime_cb ( uv_fs_t req)
static

Definition at line 865 of file test-fs.c.

◆ mkdir_cb()

static void mkdir_cb ( uv_fs_t req)
static

Definition at line 516 of file test-fs.c.

◆ mkdtemp_cb()

static void mkdtemp_cb ( uv_fs_t req)
static

Definition at line 546 of file test-fs.c.

◆ mkstemp_cb()

static void mkstemp_cb ( uv_fs_t req)
static

Definition at line 572 of file test-fs.c.

◆ non_existent_scandir_cb()

static void non_existent_scandir_cb ( uv_fs_t req)
static

Definition at line 643 of file test-fs.c.

◆ open_cb()

static void open_cb ( uv_fs_t req)
static

Definition at line 426 of file test-fs.c.

◆ open_cb_simple()

static void open_cb_simple ( uv_fs_t req)
static

Definition at line 446 of file test-fs.c.

◆ open_loop_cb()

static void open_loop_cb ( uv_fs_t req)
static

Definition at line 709 of file test-fs.c.

◆ open_nametoolong_cb()

static void open_nametoolong_cb ( uv_fs_t req)
static

Definition at line 702 of file test-fs.c.

◆ open_noent_cb()

static void open_noent_cb ( uv_fs_t req)
static

Definition at line 695 of file test-fs.c.

◆ read_cb()

static void read_cb ( uv_fs_t req)
static

Definition at line 407 of file test-fs.c.

◆ readlink_cb()

static void readlink_cb ( uv_fs_t req)
static

Definition at line 213 of file test-fs.c.

◆ realpath_cb()

static void realpath_cb ( uv_fs_t req)
static

Definition at line 222 of file test-fs.c.

◆ rename_cb()

static void rename_cb ( uv_fs_t req)
static

Definition at line 507 of file test-fs.c.

◆ rmdir_cb()

static void rmdir_cb ( uv_fs_t req)
static

Definition at line 579 of file test-fs.c.

◆ scandir_cb()

static void scandir_cb ( uv_fs_t req)
static

Definition at line 612 of file test-fs.c.

◆ sendfile_cb()

static void sendfile_cb ( uv_fs_t req)
static

Definition at line 677 of file test-fs.c.

◆ sendfile_nodata_cb()

static void sendfile_nodata_cb ( uv_fs_t req)
static

Definition at line 686 of file test-fs.c.

◆ sendfile_setup()

static void sendfile_setup ( int  f)
static

Definition at line 1222 of file test-fs.c.

◆ sig_func()

static void sig_func ( uv_signal_t handle,
int  signum 
)
static

Definition at line 3533 of file test-fs.c.

◆ stat_cb()

static void stat_cb ( uv_fs_t req)
static

Definition at line 666 of file test-fs.c.

◆ statfs_cb()

static void statfs_cb ( uv_fs_t req)
static

Definition at line 345 of file test-fs.c.

◆ symlink_cb()

static void symlink_cb ( uv_fs_t req)
static

Definition at line 206 of file test-fs.c.

◆ test_fs_partial()

static void test_fs_partial ( int  doread)
static

Definition at line 3551 of file test-fs.c.

◆ TEST_IMPL() [1/46]

TEST_IMPL ( fs_access  )

Definition at line 1488 of file test-fs.c.

◆ TEST_IMPL() [2/46]

TEST_IMPL ( fs_async_dir  )

Definition at line 1068 of file test-fs.c.

◆ TEST_IMPL() [3/46]

TEST_IMPL ( fs_async_sendfile  )

Definition at line 1229 of file test-fs.c.

◆ TEST_IMPL() [4/46]

TEST_IMPL ( fs_async_sendfile_nodata  )

Definition at line 1234 of file test-fs.c.

◆ TEST_IMPL() [5/46]

TEST_IMPL ( fs_chmod  )

Definition at line 1564 of file test-fs.c.

◆ TEST_IMPL() [6/46]

TEST_IMPL ( fs_chown  )

Definition at line 1779 of file test-fs.c.

◆ TEST_IMPL() [7/46]

TEST_IMPL ( fs_file_async  )

Definition at line 879 of file test-fs.c.

◆ TEST_IMPL() [8/46]

TEST_IMPL ( fs_file_loop  )

Definition at line 767 of file test-fs.c.

◆ TEST_IMPL() [9/46]

TEST_IMPL ( fs_file_nametoolong  )

Definition at line 741 of file test-fs.c.

◆ TEST_IMPL() [10/46]

TEST_IMPL ( fs_file_noent  )

Definition at line 717 of file test-fs.c.

◆ TEST_IMPL() [11/46]

TEST_IMPL ( fs_file_open_append  )

Definition at line 2908 of file test-fs.c.

◆ TEST_IMPL() [12/46]

TEST_IMPL ( fs_file_pos_after_op_with_offset  )

Definition at line 3796 of file test-fs.c.

◆ TEST_IMPL() [13/46]

TEST_IMPL ( fs_file_sync  )

Definition at line 1023 of file test-fs.c.

◆ TEST_IMPL() [14/46]

TEST_IMPL ( fs_file_write_null_buffer  )

Definition at line 1059 of file test-fs.c.

◆ TEST_IMPL() [15/46]

TEST_IMPL ( fs_fstat  )

Definition at line 1333 of file test-fs.c.

◆ TEST_IMPL() [16/46]

TEST_IMPL ( fs_futime  )

Definition at line 2550 of file test-fs.c.

◆ TEST_IMPL() [17/46]

TEST_IMPL ( fs_link  )

Definition at line 1872 of file test-fs.c.

◆ TEST_IMPL() [18/46]

TEST_IMPL ( fs_lutime  )

Definition at line 2625 of file test-fs.c.

◆ TEST_IMPL() [19/46]

TEST_IMPL ( fs_mkdtemp  )

Definition at line 1239 of file test-fs.c.

◆ TEST_IMPL() [20/46]

TEST_IMPL ( fs_mkstemp  )

Definition at line 1270 of file test-fs.c.

◆ TEST_IMPL() [21/46]

TEST_IMPL ( fs_null_req  )

Definition at line 3976 of file test-fs.c.

◆ TEST_IMPL() [22/46]

TEST_IMPL ( fs_open_dir  )

Definition at line 2812 of file test-fs.c.

◆ TEST_IMPL() [23/46]

TEST_IMPL ( fs_partial_read  )

Definition at line 3638 of file test-fs.c.

◆ TEST_IMPL() [24/46]

TEST_IMPL ( fs_partial_write  )

Definition at line 3643 of file test-fs.c.

◆ TEST_IMPL() [25/46]

TEST_IMPL ( fs_read_bufs  )

Definition at line 3035 of file test-fs.c.

◆ TEST_IMPL() [26/46]

TEST_IMPL ( fs_read_dir  )

Definition at line 3426 of file test-fs.c.

◆ TEST_IMPL() [27/46]

TEST_IMPL ( fs_read_file_eof  )

Definition at line 3101 of file test-fs.c.

◆ TEST_IMPL() [28/46]

TEST_IMPL ( fs_read_write_null_arguments  )

Definition at line 3650 of file test-fs.c.

◆ TEST_IMPL() [29/46]

TEST_IMPL ( fs_readlink  )

Definition at line 1958 of file test-fs.c.

◆ TEST_IMPL() [30/46]

TEST_IMPL ( fs_realpath  )

Definition at line 1979 of file test-fs.c.

◆ TEST_IMPL() [31/46]

TEST_IMPL ( fs_rename_to_existing_file  )

Definition at line 2917 of file test-fs.c.

◆ TEST_IMPL() [32/46]

TEST_IMPL ( fs_scandir_empty_dir  )

Definition at line 2719 of file test-fs.c.

◆ TEST_IMPL() [33/46]

TEST_IMPL ( fs_scandir_file  )

Definition at line 2789 of file test-fs.c.

◆ TEST_IMPL() [34/46]

TEST_IMPL ( fs_scandir_non_existent_dir  )

Definition at line 2756 of file test-fs.c.

◆ TEST_IMPL() [35/46]

TEST_IMPL ( fs_stat_missing_path  )

Definition at line 2703 of file test-fs.c.

◆ TEST_IMPL() [36/46]

TEST_IMPL ( fs_statfs  )

Definition at line 4330 of file test-fs.c.

◆ TEST_IMPL() [37/46]

TEST_IMPL ( fs_symlink  )

Definition at line 2009 of file test-fs.c.

◆ TEST_IMPL() [38/46]

TEST_IMPL ( fs_symlink_dir  )

Definition at line 2348 of file test-fs.c.

◆ TEST_IMPL() [39/46]

TEST_IMPL ( fs_symlink_junction  )

Definition at line 2352 of file test-fs.c.

◆ TEST_IMPL() [40/46]

TEST_IMPL ( fs_unlink_readonly  )

Definition at line 1662 of file test-fs.c.

◆ TEST_IMPL() [41/46]

TEST_IMPL ( fs_utime  )

Definition at line 2459 of file test-fs.c.

◆ TEST_IMPL() [42/46]

TEST_IMPL ( fs_write_alotof_bufs  )

Definition at line 3302 of file test-fs.c.

◆ TEST_IMPL() [43/46]

Definition at line 3418 of file test-fs.c.

◆ TEST_IMPL() [44/46]

TEST_IMPL ( fs_write_multiple_bufs  )

Definition at line 3195 of file test-fs.c.

◆ TEST_IMPL() [45/46]

TEST_IMPL ( get_osfhandle_valid_handle  )

Definition at line 3712 of file test-fs.c.

◆ TEST_IMPL() [46/46]

TEST_IMPL ( open_osfhandle_valid_handle  )

Definition at line 3750 of file test-fs.c.

◆ test_sendfile()

static int test_sendfile ( void(*)(int setup,
uv_fs_cb  cb,
off_t  expected_size 
)
static

Definition at line 1163 of file test-fs.c.

◆ test_symlink_dir_impl()

int test_symlink_dir_impl ( int  type)

Definition at line 2195 of file test-fs.c.

◆ thread_main()

static void thread_main ( void *  arg)
static

Definition at line 3502 of file test-fs.c.

◆ unlink_cb()

static void unlink_cb ( uv_fs_t req)
static

Definition at line 327 of file test-fs.c.

◆ utime_cb()

static void utime_cb ( uv_fs_t req)
static

Definition at line 835 of file test-fs.c.

◆ uv_test_fs_buf_offset()

static size_t uv_test_fs_buf_offset ( uv_buf_t bufs,
size_t  size 
)
static

Definition at line 3537 of file test-fs.c.

◆ uv_test_getiovmax()

int uv_test_getiovmax ( void  )

Definition at line 137 of file test-fs.c.

◆ write_cb()

static void write_cb ( uv_fs_t req)
static

Definition at line 482 of file test-fs.c.

Variable Documentation

◆ access_cb_count

int access_cb_count
static

Definition at line 86 of file test-fs.c.

◆ buf

char buf[32]
static

Definition at line 126 of file test-fs.c.

◆ buf2

char buf2[32]
static

Definition at line 127 of file test-fs.c.

◆ chmod_cb_count

int chmod_cb_count
static

Definition at line 87 of file test-fs.c.

◆ chown_cb_count

int chown_cb_count
static

Definition at line 89 of file test-fs.c.

◆ close_cb_count

int close_cb_count
static

Definition at line 68 of file test-fs.c.

◆ close_req

uv_fs_t close_req
static

Definition at line 108 of file test-fs.c.

◆ create_cb_count

int create_cb_count
static

Definition at line 69 of file test-fs.c.

◆ dummy_cb_count

int dummy_cb_count
static

Definition at line 67 of file test-fs.c.

◆ fchmod_cb_count

int fchmod_cb_count
static

Definition at line 88 of file test-fs.c.

◆ fchown_cb_count

int fchown_cb_count
static

Definition at line 90 of file test-fs.c.

◆ fdatasync_cb_count

int fdatasync_cb_count
static

Definition at line 82 of file test-fs.c.

◆ fdatasync_req

uv_fs_t fdatasync_req
static

Definition at line 120 of file test-fs.c.

◆ fstat_cb_count

int fstat_cb_count
static

Definition at line 85 of file test-fs.c.

◆ fsync_cb_count

int fsync_cb_count
static

Definition at line 81 of file test-fs.c.

◆ fsync_req

uv_fs_t fsync_req
static

Definition at line 119 of file test-fs.c.

◆ ftruncate_cb_count

int ftruncate_cb_count
static

Definition at line 83 of file test-fs.c.

◆ ftruncate_req

uv_fs_t ftruncate_req
static

Definition at line 121 of file test-fs.c.

◆ futime_cb_count

int futime_cb_count
static

Definition at line 97 of file test-fs.c.

◆ futime_req

uv_fs_t futime_req
static

Definition at line 124 of file test-fs.c.

◆ iov

uv_buf_t iov
static

Definition at line 130 of file test-fs.c.

◆ lchown_cb_count

int lchown_cb_count
static

Definition at line 91 of file test-fs.c.

◆ link_cb_count

int link_cb_count
static

Definition at line 92 of file test-fs.c.

◆ loop

uv_loop_t* loop
static

Definition at line 101 of file test-fs.c.

◆ lutime_cb_count

int lutime_cb_count
static

Definition at line 98 of file test-fs.c.

◆ mkdir_cb_count

int mkdir_cb_count
static

Definition at line 74 of file test-fs.c.

◆ mkdir_req

uv_fs_t mkdir_req
static

Definition at line 109 of file test-fs.c.

◆ mkdtemp_cb_count

int mkdtemp_cb_count
static

Definition at line 75 of file test-fs.c.

◆ mkdtemp_req1

uv_fs_t mkdtemp_req1
static

Definition at line 110 of file test-fs.c.

◆ mkdtemp_req2

uv_fs_t mkdtemp_req2
static

Definition at line 111 of file test-fs.c.

◆ mkstemp_cb_count

int mkstemp_cb_count
static

Definition at line 76 of file test-fs.c.

◆ mkstemp_req1

uv_fs_t mkstemp_req1
static

Definition at line 112 of file test-fs.c.

◆ mkstemp_req2

uv_fs_t mkstemp_req2
static

Definition at line 113 of file test-fs.c.

◆ mkstemp_req3

uv_fs_t mkstemp_req3
static

Definition at line 114 of file test-fs.c.

◆ open_cb_count

int open_cb_count
static

Definition at line 70 of file test-fs.c.

◆ open_req1

uv_fs_t open_req1
static

Definition at line 103 of file test-fs.c.

◆ open_req2

uv_fs_t open_req2
static

Definition at line 104 of file test-fs.c.

◆ read_cb_count

int read_cb_count
static

Definition at line 71 of file test-fs.c.

◆ read_req

uv_fs_t read_req
static

Definition at line 105 of file test-fs.c.

◆ readlink_cb_count

int readlink_cb_count
static

Definition at line 94 of file test-fs.c.

◆ realpath_cb_count

int realpath_cb_count
static

Definition at line 95 of file test-fs.c.

◆ rename_cb_count

int rename_cb_count
static

Definition at line 80 of file test-fs.c.

◆ rename_req

uv_fs_t rename_req
static

Definition at line 118 of file test-fs.c.

◆ rmdir_cb_count

int rmdir_cb_count
static

Definition at line 77 of file test-fs.c.

◆ rmdir_req

uv_fs_t rmdir_req
static

Definition at line 115 of file test-fs.c.

◆ scandir_cb_count

int scandir_cb_count
static

Definition at line 78 of file test-fs.c.

◆ scandir_req

uv_fs_t scandir_req
static

Definition at line 116 of file test-fs.c.

◆ sendfile_cb_count

int sendfile_cb_count
static

Definition at line 84 of file test-fs.c.

◆ sendfile_req

uv_fs_t sendfile_req
static

Definition at line 122 of file test-fs.c.

◆ stat_cb_count

int stat_cb_count
static

Definition at line 79 of file test-fs.c.

◆ stat_req

uv_fs_t stat_req
static

Definition at line 117 of file test-fs.c.

◆ statfs_cb_count

int statfs_cb_count
static

Definition at line 99 of file test-fs.c.

◆ symlink_cb_count

int symlink_cb_count
static

Definition at line 93 of file test-fs.c.

◆ test_buf

char test_buf[] = "test-buffer\n"
static

Definition at line 128 of file test-fs.c.

◆ test_buf2

char test_buf2[] = "second-buffer\n"
static

Definition at line 129 of file test-fs.c.

◆ unlink_cb_count

int unlink_cb_count
static

Definition at line 73 of file test-fs.c.

◆ unlink_req

uv_fs_t unlink_req
static

Definition at line 107 of file test-fs.c.

◆ utime_cb_count

int utime_cb_count
static

Definition at line 96 of file test-fs.c.

◆ utime_req

uv_fs_t utime_req
static

Definition at line 123 of file test-fs.c.

◆ write_cb_count

int write_cb_count
static

Definition at line 72 of file test-fs.c.

◆ write_req

Definition at line 106 of file test-fs.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:33