Home
last modified time | relevance | path

Searched refs:errmsg (Results 1 – 7 of 7) sorted by relevance

/libuv/src/unix/
H A Ddl.c35 lib->errmsg = NULL; in uv_dlopen()
42 uv__free(lib->errmsg); in uv_dlclose()
43 lib->errmsg = NULL; in uv_dlclose()
61 return lib->errmsg ? lib->errmsg : "no error"; in uv_dlerror()
66 const char* errmsg; in uv__dlerror() local
68 uv__free(lib->errmsg); in uv__dlerror()
70 errmsg = dlerror(); in uv__dlerror()
72 if (errmsg) { in uv__dlerror()
73 lib->errmsg = uv__strdup(errmsg); in uv__dlerror()
77 lib->errmsg = NULL; in uv__dlerror()
/libuv/src/win/
H A Ddl.c33 lib->errmsg = NULL; in uv_dlopen()
52 if (lib->errmsg) { in uv_dlclose()
53 LocalFree((void*)lib->errmsg); in uv_dlclose()
54 lib->errmsg = NULL; in uv_dlclose()
73 return lib->errmsg ? lib->errmsg : "no error"; in uv_dlerror()
86 (LPSTR) &lib->errmsg, in uv__format_fallback_error()
97 if (lib->errmsg) { in uv__dlerror()
98 LocalFree(lib->errmsg); in uv__dlerror()
99 lib->errmsg = NULL; in uv__dlerror()
120 msg = lib->errmsg; in uv__dlerror()
[all …]
H A Derror.c37 const char* errmsg; in uv_fatal_error() local
44 errmsg = buf; in uv_fatal_error()
46 errmsg = "Unknown error"; 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()
/libuv/test/
H A Drunner.c149 char errmsg[1024] = ""; in run_test() local
192 snprintf(errmsg, in run_test()
193 sizeof errmsg, in run_test()
216 snprintf(errmsg, in run_test()
229 snprintf(errmsg, in run_test()
230 sizeof errmsg, in run_test()
256 snprintf(errmsg, in run_test()
257 sizeof errmsg, in run_test()
264 snprintf(errmsg, in run_test()
265 sizeof errmsg, in run_test()
[all …]
H A Dtest-dlerror.c34 lib.errmsg = NULL; in TEST_IMPL()
/libuv/include/uv/
H A Dunix.h217 char* errmsg; member
H A Dwin.h324 char* errmsg; member

Completed in 17 milliseconds