Lines Matching refs:ctx
965 } else { // access(path, mode, undefined, ctx)
990 } else { // close(fd, undefined, ctx)
1132 } else { // stat(path, use_bigint, undefined, ctx)
1139 return; // error info is in ctx
1165 } else { // lstat(path, use_bigint, undefined, ctx)
1173 return; // error info is in ctx
1198 } else { // fstat(fd, use_bigint, undefined, ctx)
1205 return; // error info is in ctx
1237 } else { // statfs(path, use_bigint, undefined, ctx)
1245 return; // error info is in ctx
1281 } else { // symlink(target, path, flags, undefined, ctx)
1350 return; // syscall failed, no need to continue, error info is in ctx
1360 Local<Object> ctx = args[3].As<Object>();
1361 ctx->Set(env->context(), env->error_string(), error).Check();
1514 } else { // rmdir(path, undefined, ctx)
1728 } else { // mkdir(path, mode, undefined, ctx)
1743 Local<Object> ctx = args[4].As<Object>();
1744 ctx->Set(env->context(), env->error_string(), error).Check();
1775 } else { // realpath(path, encoding, undefined, ctx)
1783 return; // syscall failed, no need to continue, error info is in ctx
1794 Local<Object> ctx = args[3].As<Object>();
1795 ctx->Set(env->context(), env->error_string(), error).Check();
1831 } else { // readdir(path, encoding, withTypes, undefined, ctx)
1839 return; // syscall failed, no need to continue, error info is in ctx
1854 Local<Object> ctx = args[4].As<Object>();
1855 ctx->Set(env->context(), env->errno_string(),
1857 ctx->Set(env->context(), env->syscall_string(),
1869 Local<Object> ctx = args[4].As<Object>();
1870 ctx->Set(env->context(), env->error_string(), error).Check();
1917 } else { // open(path, flags, mode, undefined, ctx)
1952 } else { // openFileHandle(path, flags, mode, undefined, ctx)
1960 return; // syscall failed, no need to continue, error info is in ctx
1995 } else { // copyFile(src, dest, flags, undefined, ctx)
2051 } else { // write(fd, buffer, off, len, pos, undefined, ctx)
2097 } else { // writeBuffers(fd, chunks, pos, undefined, ctx)
2184 } else { // write(fd, string, pos, enc, undefined, ctx)
2257 } else { // read(fd, buffer, offset, len, pos, undefined, ctx)
2304 } else { // readBuffers(fd, buffers, undefined, ctx)
2308 int bytesRead = SyncCall(env, /* ctx */ args[4], &req_wrap_sync, "read",
2337 } else { // chmod(path, mode, undefined, ctx)
2368 } else { // fchmod(fd, mode, undefined, ctx)
2403 } else { // chown(path, uid, gid, undefined, ctx)
2437 } else { // fchown(fd, uid, gid, undefined, ctx)
2469 } else { // lchown(path, uid, gid, undefined, ctx)
2501 } else { // utimes(path, atime, mtime, undefined, ctx)
2531 } else { // futimes(fd, atime, mtime, undefined, ctx)
2562 } else { // lutimes(path, atime, mtime, undefined, ctx)
2590 } else { // mkdtemp(tmpl, encoding, undefined, ctx)
2603 Local<Object> ctx = args[3].As<Object>();
2604 ctx->Set(env->context(), env->error_string(), error).Check();