Home
last modified time | relevance | path

Searched refs:errorno (Results 1 - 16 of 16) sorted by relevance

/third_party/libuv/src/win/
H A Ddl.c25 static int uv__dlerror(uv_lib_t* lib, const char* filename, DWORD errorno);
77 static void uv__format_fallback_error(uv_lib_t* lib, int errorno){ in uv__format_fallback_error() argument
80 args[0] = (DWORD_PTR) errorno; in uv__format_fallback_error()
92 static int uv__dlerror(uv_lib_t* lib, const char* filename, DWORD errorno) { in uv__dlerror() argument
102 if (errorno == 0) in uv__dlerror()
107 FORMAT_MESSAGE_IGNORE_INSERTS, NULL, errorno, in uv__dlerror()
115 FORMAT_MESSAGE_IGNORE_INSERTS, NULL, errorno, in uv__dlerror()
119 if (res && errorno == ERROR_BAD_EXE_FORMAT && strstr(lib->errmsg, "%1")) { in uv__dlerror()
132 uv__format_fallback_error(lib, errorno); in uv__dlerror()
H A 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()
H A 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()
H A Dinternal.h261 __declspec(noreturn) void uv_fatal_error(const int errorno, const char* syscall);
/third_party/node/deps/uv/src/win/
H A 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()
H A 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()
H A 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()
H A Dinternal.h269 __declspec(noreturn) void uv_fatal_error(const int errorno, const char* syscall);
/third_party/node/src/api/
H A Dexceptions.cc24 int errorno, in ErrnoException()
32 Local<String> estring = OneByteString(isolate, errors::errno_string(errorno)); in ErrnoException()
34 msg = strerror(errorno); in ErrnoException()
59 Integer::New(isolate, errorno)).Check(); in ErrnoException()
92 int errorno, in UVException()
101 msg = uv_strerror(errorno); in UVException()
103 Local<String> js_code = OneByteString(isolate, uv_err_name(errorno)); in UVException()
143 Integer::New(isolate, errorno)).Check(); in UVException()
157 static const char* winapi_strerror(const int errorno, bool* must_free) { in winapi_strerror() argument
163 errorno, in winapi_strerror()
23 ErrnoException(Isolate* isolate, int errorno, const char* syscall, const char* msg, const char* path) ErrnoException() argument
91 UVException(Isolate* isolate, int errorno, const char* syscall, const char* msg, const char* path, const char* dest) UVException() argument
187 WinapiErrnoException(Isolate* isolate, int errorno, const char* syscall, const char* msg, const char* path) WinapiErrnoException() argument
[all...]
/third_party/node/src/
H A Dnode.h138 int errorno,
143 int errorno,
151 int errorno,
156 errorno,
163 inline v8::Local<v8::Value> UVException(int errorno,
168 errorno,
941 int errorno,
947 const char* signo_string(int errorno);
H A Denv-inl.h729 inline void Environment::ThrowErrnoException(int errorno, in ThrowErrnoException() argument
734 ErrnoException(isolate(), errorno, syscall, message, path)); in ThrowErrnoException()
737 inline void Environment::ThrowUVException(int errorno, in ThrowUVException() argument
743 UVException(isolate(), errorno, syscall, message, path, dest)); in ThrowUVException()
H A Denv.cc1298 int errorno, in CollectExceptionInfo()
1306 Integer::New(env->isolate(), errorno)).Check(); in CollectExceptionInfo()
1337 int errorno, in CollectUVExceptionInfo()
1342 if (!object->IsObject() || errorno == 0) in CollectUVExceptionInfo()
1346 const char* err_string = uv_err_name(errorno); in CollectUVExceptionInfo()
1349 message = uv_strerror(errorno); in CollectUVExceptionInfo()
1352 node::CollectExceptionInfo(this, obj, errorno, err_string, in CollectUVExceptionInfo()
1296 CollectExceptionInfo(Environment* env, Local<Object> obj, int errorno, const char* err_string, const char* syscall, const char* message, const char* path, const char* dest) CollectExceptionInfo() argument
1336 CollectUVExceptionInfo(Local<Value> object, int errorno, const char* syscall, const char* message, const char* path, const char* dest) CollectUVExceptionInfo() argument
H A Dnode_errors.h271 const char* errno_string(int errorno);
H A Denv.h707 int errorno,
768 inline void ThrowErrnoException(int errorno,
772 inline void ThrowUVException(int errorno,
H A Dnode_errors.cc602 const char* errno_string(int errorno) { in errno_string() argument
606 switch (errorno) { in errno_string()
H A Dnode_wasi.cc92 int errorno, in WASIException()
97 const char* err_name = uvwasi_embedder_err_code_to_string(errorno); in WASIException()
110 Integer::New(isolate, errorno)).IsNothing() || in WASIException()
91 WASIException(Local<Context> context, int errorno, const char* syscall) WASIException() argument

Completed in 17 milliseconds