Macros | Functions | Variables
test-fs-poll.c File Reference
#include "uv.h"
#include "task.h"
#include <string.h>
Include dependency graph for test-fs-poll.c:

Go to the source code of this file.

Macros

#define FIXTURE   "testfile"
 

Functions

static void close_cb (uv_handle_t *handle)
 
static void poll_cb (uv_fs_poll_t *handle, int status, const uv_stat_t *prev, const uv_stat_t *curr)
 
static void poll_cb_fail (uv_fs_poll_t *handle, int status, const uv_stat_t *prev, const uv_stat_t *curr)
 
static void poll_cb_noop (uv_fs_poll_t *handle, int status, const uv_stat_t *prev, const uv_stat_t *curr)
 
 TEST_IMPL (fs_poll)
 
 TEST_IMPL (fs_poll_close_request)
 
 TEST_IMPL (fs_poll_close_request_multi_start_stop)
 
 TEST_IMPL (fs_poll_close_request_multi_stop_start)
 
 TEST_IMPL (fs_poll_close_request_stop_when_active)
 
 TEST_IMPL (fs_poll_getpath)
 
static void timer_cb (uv_timer_t *handle)
 
static void touch_file (const char *path)
 

Variables

static int close_cb_called
 
static uv_loop_tloop
 
static int poll_cb_called
 
static uv_fs_poll_t poll_handle
 
static int timer_cb_called
 
static uv_timer_t timer_handle
 

Macro Definition Documentation

◆ FIXTURE

#define FIXTURE   "testfile"

Definition at line 27 of file test-fs-poll.c.

Function Documentation

◆ close_cb()

static void close_cb ( uv_handle_t handle)
static

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

◆ poll_cb()

static void poll_cb ( uv_fs_poll_t handle,
int  status,
const uv_stat_t prev,
const uv_stat_t curr 
)
static

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

◆ poll_cb_fail()

static void poll_cb_fail ( uv_fs_poll_t handle,
int  status,
const uv_stat_t prev,
const uv_stat_t curr 
)
static

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

◆ poll_cb_noop()

static void poll_cb_noop ( uv_fs_poll_t handle,
int  status,
const uv_stat_t prev,
const uv_stat_t curr 
)
static

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

◆ TEST_IMPL() [1/6]

TEST_IMPL ( fs_poll  )

Definition at line 153 of file test-fs-poll.c.

◆ TEST_IMPL() [2/6]

TEST_IMPL ( fs_poll_close_request  )

Definition at line 200 of file test-fs-poll.c.

◆ TEST_IMPL() [3/6]

TEST_IMPL ( fs_poll_close_request_multi_start_stop  )

Definition at line 221 of file test-fs-poll.c.

◆ TEST_IMPL() [4/6]

TEST_IMPL ( fs_poll_close_request_multi_stop_start  )

Definition at line 247 of file test-fs-poll.c.

◆ TEST_IMPL() [5/6]

TEST_IMPL ( fs_poll_close_request_stop_when_active  )

Definition at line 273 of file test-fs-poll.c.

◆ TEST_IMPL() [6/6]

TEST_IMPL ( fs_poll_getpath  )

Definition at line 172 of file test-fs-poll.c.

◆ timer_cb()

static void timer_cb ( uv_timer_t handle)
static

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

◆ touch_file()

static void touch_file ( const char *  path)
static

Definition at line 54 of file test-fs-poll.c.

Variable Documentation

◆ close_cb_called

int close_cb_called
static

Definition at line 51 of file test-fs-poll.c.

◆ loop

uv_loop_t* loop
static

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

◆ poll_cb_called

int poll_cb_called
static

Definition at line 49 of file test-fs-poll.c.

◆ poll_handle

uv_fs_poll_t poll_handle
static

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

◆ timer_cb_called

int timer_cb_called
static

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

◆ timer_handle

uv_timer_t timer_handle
static

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



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