Go to the documentation of this file.
28 #define uv__make_close_pending(h) uv_want_endgame((h)->loop, (h))
103 if (
handle->poll_ctx != NULL)
150 required_len = strlen(
ctx->path);
151 if (required_len >= *
size) {
152 *
size = required_len + 1;
157 *
size = required_len;
158 buffer[required_len] =
'\0';
167 if (
handle->poll_ctx == NULL)
176 assert(
ctx->parent_handle != NULL);
177 assert(
ctx->parent_handle->poll_ctx ==
ctx);
197 if (
req->result != 0) {
198 if (
ctx->busy_polling !=
req->result) {
199 ctx->poll_cb(
ctx->parent_handle,
203 ctx->busy_polling =
req->result;
210 if (
ctx->busy_polling != 0)
215 ctx->busy_polling = 1;
249 last =
it,
it =
it->previous) {
259 return a->st_ctim.tv_nsec ==
b->st_ctim.tv_nsec
260 &&
a->st_mtim.tv_nsec ==
b->st_mtim.tv_nsec
261 &&
a->st_birthtim.tv_nsec ==
b->st_birthtim.tv_nsec
262 &&
a->st_ctim.tv_sec ==
b->st_ctim.tv_sec
263 &&
a->st_mtim.tv_sec ==
b->st_mtim.tv_sec
264 &&
a->st_birthtim.tv_sec ==
b->st_birthtim.tv_sec
265 &&
a->st_size ==
b->st_size
266 &&
a->st_mode ==
b->st_mode
267 &&
a->st_uid ==
b->st_uid
268 &&
a->st_gid ==
b->st_gid
269 &&
a->st_ino ==
b->st_ino
270 &&
a->st_dev ==
b->st_dev
271 &&
a->st_flags ==
b->st_flags
272 &&
a->st_gen ==
b->st_gen;
#define uv__is_closing(h)
static void timer_cb(uv_timer_t *timer)
UV_EXTERN uint64_t uv_now(const uv_loop_t *)
UV_EXTERN int uv_fs_stat(uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
#define uv__handle_close(handle)
static struct test_ctx ctx
struct poll_ctx * previous
#define container_of(ptr, type, member)
#define uv__handle_unref(h)
int uv_fs_poll_start(uv_fs_poll_t *handle, uv_fs_poll_cb cb, const char *path, unsigned int interval)
UV_EXTERN void uv_close(uv_handle_t *handle, uv_close_cb close_cb)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
static void timer_close_cb(uv_handle_t *handle)
static uv_stat_t zero_statbuf
void uv__make_close_pending(uv_handle_t *handle)
int uv_fs_poll_stop(uv_fs_poll_t *handle)
unsigned __int64 uint64_t
UV_EXTERN int uv_is_active(const uv_handle_t *handle)
static int statbuf_eq(const uv_stat_t *a, const uv_stat_t *b)
int uv_fs_poll_init(uv_loop_t *loop, uv_fs_poll_t *handle)
void * uv__calloc(size_t count, size_t size)
static void poll_cb(uv_fs_t *req)
#define uv__handle_init(loop_, h, type_)
void(* uv_fs_poll_cb)(uv_fs_poll_t *handle, int status, const uv_stat_t *prev, const uv_stat_t *curr)
int uv_fs_poll_getpath(uv_fs_poll_t *handle, char *buffer, size_t *size)
void uv__fs_poll_close(uv_fs_poll_t *handle)
UV_EXTERN void uv_fs_req_cleanup(uv_fs_t *req)
uv_fs_poll_t * parent_handle
UV_EXTERN int uv_timer_start(uv_timer_t *handle, uv_timer_cb cb, uint64_t timeout, uint64_t repeat)
UV_EXTERN int uv_timer_init(uv_loop_t *, uv_timer_t *handle)
#define uv__handle_start(h)
static uv_timer_t timer_handle
void uv__fs_poll_endgame(uv_loop_t *loop, uv_fs_poll_t *handle)
#define uv__handle_stop(h)
OPENSSL_EXPORT pem_password_cb * cb
grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:25