| /src/external/mit/libuv/dist/test/ |
| benchmark-fs-stat.c | 41 uv_fs_t fs_req; member in struct:async_req 84 static void stat_cb(uv_fs_t* fs_req) { 85 struct async_req* req = container_of(fs_req, struct async_req, fs_req); 86 uv_fs_req_cleanup(&req->fs_req); 88 uv_fs_stat(uv_default_loop(), &req->fs_req, req->path, stat_cb); 107 uv_fs_stat(uv_default_loop(), &req->fs_req, req->path, stat_cb);
|
| test-queue-foreach-delete.c | 155 uv_fs_t fs_req; local 158 r = uv_fs_utime(thandle->loop, &fs_req, watched_dir, 0, 0, NULL); 160 ASSERT_OK(fs_req.result); 161 ASSERT_EQ(fs_req.fs_type, UV_FS_UTIME); 162 ASSERT_OK(strcmp(fs_req.path, watched_dir)); 163 uv_fs_req_cleanup(&fs_req);
|
| test-thread.c | 41 struct fs_req { struct 58 static void fs_do(struct fs_req* req); 93 static void fs_do(struct fs_req* req) { 102 struct fs_req* req = container_of(handle, struct fs_req, handle); 113 struct fs_req fs_reqs[4]; 128 struct fs_req* req = fs_reqs + i;
|
| test-spawn.c | 319 uv_fs_t fs_req; local 328 r = uv_fs_open(NULL, &fs_req, "stdout_file", UV_FS_O_CREAT | UV_FS_O_RDWR, 331 uv_fs_req_cleanup(&fs_req); 351 r = uv_fs_read(NULL, &fs_req, file, &buf, 1, 0, NULL); 353 uv_fs_req_cleanup(&fs_req); 355 r = uv_fs_close(NULL, &fs_req, file, NULL); 357 uv_fs_req_cleanup(&fs_req); 373 uv_fs_t fs_req; local 382 r = uv_fs_open(NULL, &fs_req, "stdout_file", UV_FS_O_CREAT | UV_FS_O_RDWR, 385 uv_fs_req_cleanup(&fs_req); 430 uv_fs_t fs_req; local 496 uv_fs_t fs_req; local 1672 uv_fs_t fs_req; local [all...] |
| /src/external/mit/libuv/dist/src/ |
| fs-poll.c | 45 uv_fs_t fs_req; /* TODO(bnoordhuis) mark fs_req internal */ member in struct:poll_ctx 99 err = uv_fs_stat(loop, &ctx->fs_req, ctx->path, poll_cb); 183 if (uv_fs_stat(ctx->loop, &ctx->fs_req, ctx->path, poll_cb)) 194 ctx = container_of(req, struct poll_ctx, fs_req);
|
| /src/external/bsd/tcpdump/dist/ |
| print-rx.c | 167 static const struct tok fs_req[] = { variable in typeref:struct:tok 905 ND_PRINT(" fs call %s", tok2str(fs_req, "op#%u", fs_op)); 1074 ND_PRINT(" fs reply %s", tok2str(fs_req, "op#%u", opcode));
|
| /src/external/mit/libuv/dist/src/unix/ |
| fs.c | 1226 uv_fs_t fs_req; local 1244 srcfd = uv_fs_open(NULL, &fs_req, req->path, O_RDONLY, 0, NULL); 1245 uv_fs_req_cleanup(&fs_req); 1263 &fs_req, 1268 uv_fs_req_cleanup(&fs_req); 1384 uv_fs_sendfile(NULL, &fs_req, dstfd, srcfd, in_offset, bytes_chunk, NULL); 1385 bytes_written = fs_req.result; 1386 uv_fs_req_cleanup(&fs_req); 1420 uv_fs_unlink(NULL, &fs_req, req->new_path, NULL); 1422 uv_fs_req_cleanup(&fs_req); [all...] |