Home
last modified time | relevance | path

Searched refs:errorno (Results 1 – 14 of 14) sorted by relevance

/third_party/libuv/src/win/
Ddl.c25 static int uv__dlerror(uv_lib_t* lib, const char* filename, DWORD errorno);
78 static void uv__format_fallback_error(uv_lib_t* lib, int errorno){ in uv__format_fallback_error() argument
81 args[0] = (DWORD_PTR) errorno; in uv__format_fallback_error()
93 static int uv__dlerror(uv_lib_t* lib, const char* filename, DWORD errorno) { in uv__dlerror() argument
103 if (errorno == 0) in uv__dlerror()
108 FORMAT_MESSAGE_IGNORE_INSERTS, NULL, errorno, in uv__dlerror()
116 FORMAT_MESSAGE_IGNORE_INSERTS, NULL, errorno, in uv__dlerror()
120 if (res && errorno == ERROR_BAD_EXE_FORMAT && strstr(lib->errmsg, "%1")) { in uv__dlerror()
133 uv__format_fallback_error(lib, errorno); in uv__dlerror()
Derror.c35 void uv_fatal_error(const int errorno, const char* syscall) { in uv_fatal_error() argument
40 FORMAT_MESSAGE_IGNORE_INSERTS, NULL, errorno, in uv_fatal_error()
52 fprintf(stderr, "%s: (%d) %s", syscall, errorno, errmsg); in uv_fatal_error()
54 fprintf(stderr, "(%d) %s", errorno, errmsg); in uv_fatal_error()
Dwinsock.c80 int errorno; in uv__winsock_init() local
98 errorno = WSAStartup(MAKEWORD(2, 2), &wsa_data); in uv__winsock_init()
99 if (errorno != 0) { in uv__winsock_init()
100 uv_fatal_error(errorno, "WSAStartup"); in uv__winsock_init()
Dinternal.h264 __declspec(noreturn) void uv_fatal_error(const int errorno, const char* syscall);
/third_party/node/src/api/
Dexceptions.cc23 int errorno, in ErrnoException() argument
31 Local<String> estring = OneByteString(isolate, errors::errno_string(errorno)); in ErrnoException()
33 msg = strerror(errorno); in ErrnoException()
57 Integer::New(isolate, errorno)).Check(); in ErrnoException()
90 int errorno, in UVException() argument
99 msg = uv_strerror(errorno); in UVException()
101 Local<String> js_code = OneByteString(isolate, uv_err_name(errorno)); in UVException()
140 Integer::New(isolate, errorno)).Check(); in UVException()
154 static const char* winapi_strerror(const int errorno, bool* must_free) { in winapi_strerror() argument
160 errorno, in winapi_strerror()
[all …]
/third_party/node/src/
Dnode.h133 int errorno,
138 int errorno,
146 int errorno,
151 errorno,
158 inline v8::Local<v8::Value> UVException(int errorno,
163 errorno,
722 int errorno,
728 const char* signo_string(int errorno);
Denv.cc937 int errorno, in CollectExceptionInfo() argument
945 Integer::New(env->isolate(), errorno)).Check(); in CollectExceptionInfo()
976 int errorno, in CollectUVExceptionInfo() argument
981 if (!object->IsObject() || errorno == 0) in CollectUVExceptionInfo()
985 const char* err_string = uv_err_name(errorno); in CollectUVExceptionInfo()
988 message = uv_strerror(errorno); in CollectUVExceptionInfo()
991 node::CollectExceptionInfo(this, obj, errorno, err_string, in CollectUVExceptionInfo()
Denv-inl.h1027 inline void Environment::ThrowErrnoException(int errorno, in ThrowErrnoException() argument
1032 ErrnoException(isolate(), errorno, syscall, message, path)); in ThrowErrnoException()
1035 inline void Environment::ThrowUVException(int errorno, in ThrowUVException() argument
1041 UVException(isolate(), errorno, syscall, message, path, dest)); in ThrowUVException()
Dnode_errors.h228 const char* errno_string(int errorno);
Dnode_errors.cc462 const char* errno_string(int errorno) { in errno_string() argument
466 switch (errorno) { in errno_string()
Denv.h1030 int errorno,
1087 inline void ThrowErrnoException(int errorno,
1091 inline void ThrowUVException(int errorno,
Dnode_wasi.cc95 int errorno, in WASIException() argument
100 const char* err_name = uvwasi_embedder_err_code_to_string(errorno); in WASIException()
113 Integer::New(isolate, errorno)).IsNothing() || in WASIException()
/third_party/libuv/docs/src/guide/
Dthreads.rst281 requests. For the filesystem family of functions, ``uv_fs_t.errorno`` will be
/third_party/node/doc/changelogs/
DCHANGELOG_ARCHIVE.md2716 * Rewrite libeio After callback to use req->result instead of req->errorno