Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 59) sorted by relevance

123

/libuv/src/win/
H A Dwinsock.c277 DWORD error; in uv__wsarecv_workaround() local
322 error = ERROR_SUCCESS; in uv__wsarecv_workaround()
330 error = WSAEMSGSIZE; in uv__wsarecv_workaround()
334 error = ERROR_SUCCESS; in uv__wsarecv_workaround()
339 error = ERROR_SUCCESS; in uv__wsarecv_workaround()
353 WSASetLastError(error); in uv__wsarecv_workaround()
372 DWORD error; in uv__wsarecvfrom_workaround() local
428 error = WSAEMSGSIZE; in uv__wsarecvfrom_workaround()
451 WSASetLastError(error); in uv__wsarecvfrom_workaround()
468 DWORD error; in uv__msafd_poll() local
[all …]
H A Dtty.c1190 DWORD* error) { in uv__tty_emit_text() argument
1202 *error = GetLastError(); in uv__tty_emit_text()
1221 *error = GetLastError(); in uv__tty_move_caret()
1252 *error = GetLastError(); in uv__tty_reset()
1258 *error = GetLastError(); in uv__tty_reset()
1296 *error = GetLastError(); in uv__tty_reset()
1305 DWORD* error) { in uv__tty_clear() argument
1549 DWORD* error) { in uv__tty_save_state() argument
1694 *error = ERROR_SUCCESS;
2178 DWORD error; local
[all …]
H A Dprocess-stdio.c224 goto error; in uv__stdio_create()
248 goto error; in uv__stdio_create()
269 goto error; in uv__stdio_create()
291 goto error; in uv__stdio_create()
329 goto error; in uv__stdio_create()
335 goto error; in uv__stdio_create()
351 error: in uv__stdio_create()
H A Dfs.c787 DWORD error; in fs__read() local
993 DWORD error; in fs__write() local
1224 DWORD error; in fs__mkdtemp_func() local
1512 goto error; in fs__opendir()
1518 goto error; in fs__opendir()
1533 goto error; in fs__opendir()
1551 error: in fs__opendir()
1613 error: in fs__readdir()
1846 DWORD error; in fs__stat_impl() local
2297 DWORD error; in fs__utime_impl() local
[all …]
H A Dpoll.c159 DWORD error = GET_REQ_SOCK_ERROR(req); in uv__fast_poll_process_poll_req() local
160 if (error != WSAEINTR && handle->events != 0) { in uv__fast_poll_process_poll_req()
162 handle->poll_cb(handle, uv_translate_sys_error(error), 0); in uv__fast_poll_process_poll_req()
220 goto error; in uv__fast_poll_create_peer_socket()
227 goto error; in uv__fast_poll_create_peer_socket()
232 error: in uv__fast_poll_create_peer_socket()
539 DWORD error; in uv__poll_close() local
569 error = WSAGetLastError(); in uv__poll_close()
570 if (error != WSA_IO_PENDING) in uv__poll_close()
571 return uv_translate_sys_error(error); in uv__poll_close()
H A Dpipe.c241 error: in uv__pipe_server()
292 goto error; in uv__create_pipe_pair()
338 error: in uv__create_pipe_pair()
447 error: in uv__create_stdio_pipe_pair()
803 error: in uv_pipe_bind2()
980 error: in uv_pipe_connect2()
1437 error: in uv__pipe_queue_read()
2053 error: in uv__pipe_read_ipc()
2544 error: in uv__pipe_getname()
2603 int error; in uv_pipe_chmod() local
[all …]
H A Dfs-event.c188 goto error; in uv_fs_event_start()
247 goto error; in uv_fs_event_start()
252 goto error; in uv_fs_event_start()
277 goto error; in uv_fs_event_start()
285 goto error; in uv_fs_event_start()
314 goto error; in uv_fs_event_start()
322 error: in uv_fs_event_start()
H A Dutil.c122 goto error; in uv_exepath()
138 error: in uv_exepath()
554 goto error; in uv_cpu_info()
561 goto error; in uv_cpu_info()
570 goto error; in uv_cpu_info()
597 goto error; in uv_cpu_info()
608 goto error; in uv_cpu_info()
619 goto error; in uv_cpu_info()
642 error: in uv_cpu_info()
1538 goto error; in uv_os_uname()
[all …]
/libuv/docs/src/
H A Derrors.rst9 number will imply an error.
164 i/o error
268 protocol error
312 unknown error
354 and the error message string literal.
358 Returns the error message for the given error code. Leaks a few bytes
363 Returns the error message for the given error code. The zero-terminated
370 Returns the error name for the given error code. Leaks a few bytes
375 Returns the error name for the given error code. The zero-terminated
382 Returns the libuv error code equivalent to the given platform dependent error
[all …]
H A Dudp.rst107 on error.
206 :returns: 0 on success, or an error code < 0 on failure.
213 this function will return an UV_ENOTSUP error.
219 returning an UV_ENOTSUP error.
228 connected will return an `UV_ENOTCONN` error.
236 :returns: 0 on success, or an error code < 0 on failure.
255 :returns: 0 on success, or an error code < 0 on failure
386 return `UV_EISCONN` error.
389 return `UV_EDESTADDRREQ` error.
418 return `UV_EISCONN` error.
[all …]
H A Ddll.rst31 -1 on error. Call :c:func:`uv_dlerror` to get the error message.
44 Returns the last uv_dlopen() or uv_dlsym() error message.
H A Dthreading.rst79 .. versionchanged:: 1.4.1 returns a UV_E* error code on failure
174 Functions return 0 on success or an error code < 0 (unless the
187 Functions return 0 on success or an error code < 0 (unless the
202 Functions return 0 on success or an error code < 0 (unless the
214 Functions return 0 on success or an error code < 0 (unless the
225 error results. After the wait begins, the wait time is not affected by changes
238 Functions return 0 on success or an error code < 0 (unless the
H A Dasync.rst38 :returns: 0 on success, or an error code < 0 on failure.
47 :returns: 0 on success, or an error code < 0 on failure.
/libuv/test/
H A Drunner-win.c89 goto error; in process_start()
91 goto error; in process_start()
101 goto error; in process_start()
104 goto error; in process_start()
114 goto error; in process_start()
117 goto error; in process_start()
123 goto error; in process_start()
132 goto error; in process_start()
140 goto error; in process_start()
153 goto error; in process_start()
[all …]
H A Dtest-fs-open-flags.c134 ASSERT_EQ(r, error); in openFail()
135 ASSERT_EQ(open_req.result, error); in openFail()
140 ASSERT_EQ(r, error); in openFail()
141 ASSERT_EQ(open_req.result, error); in openFail()
208 ASSERT_EQ(r, error); in writeFail()
209 ASSERT_EQ(write_req.result, error); in writeFail()
214 ASSERT_EQ(r, error); in writeFail()
253 ASSERT_EQ(r, error); in readFail()
254 ASSERT_EQ(read_req.result, error); in readFail()
259 ASSERT_EQ(r, error); in readFail()
[all …]
/libuv/src/unix/
H A Dprocess.c475 goto error; in uv__spawn_set_posix_spawn_attrs()
505 goto error; in uv__spawn_set_posix_spawn_attrs()
511 goto error; in uv__spawn_set_posix_spawn_attrs()
517 goto error; in uv__spawn_set_posix_spawn_attrs()
521 error: in uv__spawn_set_posix_spawn_attrs()
642 error: in uv__spawn_set_posix_spawn_file_actions()
776 goto error; in uv__spawn_and_init_child_posix_spawn()
786 goto error; in uv__spawn_and_init_child_posix_spawn()
798 error: in uv__spawn_and_init_child_posix_spawn()
991 goto error; in uv_spawn()
[all …]
H A Dstream.c448 req->error = error; in uv__stream_flush_write_queue()
725 if (req->error == 0) { in uv__write_req_finish()
877 goto error; in uv__write()
892 error: in uv__write()
893 req->error = n; in uv__write()
1246 int error; in uv__stream_connect() local
1266 &error, in uv__stream_connect()
1268 error = UV__ERR(error); in uv__stream_connect()
1282 req->cb(req, error); in uv__stream_connect()
1287 if (error < 0) { in uv__stream_connect()
[all …]
H A Dopenbsd.c215 goto error; in uv_cpu_info()
221 goto error; in uv_cpu_info()
237 error: in uv_cpu_info()
H A Dnetbsd.c152 if (kd == NULL) goto error; in uv_resident_set_memory()
155 if (kinfo == NULL) goto error; in uv_resident_set_memory()
163 error: in uv_resident_set_memory()
/libuv/
H A DMakefile.am68 src/win/error.c \
176 test/test-error.c \
223 test/test-pipe-bind-error.c \
224 test/test-pipe-connect-error.c \
264 test/test-tcp-bind-error.c \
265 test/test-tcp-bind6-error.c \
272 test/test-tcp-connect-error-after-write.c \
273 test/test-tcp-connect-error.c \
275 test/test-tcp-connect6-error.c \
291 test/test-tcp-try-write-error.c \
[all …]
H A DChangeLog330 * include: map ENODATA error code (Ben Noordhuis)
750 * build: fix error C4146 on MSVC (UMU)
1186 * doc: add more error constants (TK-one)
1326 * fs: report original error (Bartosz Sosnowski)
1785 * include: map EILSEQ error code (cjihrig)
1789 * build: fix ios build error (MaYuming)
2341 * win: fix mingw build error (Ben Noordhuis)
3386 * test: fix android build error. (sunjin.lee)
4399 * test: check dlerror is "no error" in no error case (Marc Schlaich)
4439 * test: check dlerror is "no error" in no error case (Marc Schlaich)
[all …]
/libuv/src/
H A Dthread-common.c68 goto error; in uv_barrier_init()
75 error: in uv_barrier_init()
H A Dfs-poll.c94 goto error; in uv_fs_poll_start()
101 goto error; in uv_fs_poll_start()
110 error: in uv_fs_poll_start()
/libuv/docs/src/guide/
H A Dbasics.rst122 .. _libuv-error-handling:
127 … return a negative number on error. Async functions that may fail will pass a status parameter to …
129 .. _constants: https://docs.libuv.org/en/v1.x/errors.html#error-constants
132 to get a ``const char *`` describing the error or the error name respectively.
134 …ter ``nread``. If ``nread`` is less than 0, there was an error (UV_EOF is the end of file error, w…
/libuv/docs/code/multi-echo-server/
H A Dhammer.js13 console.error("Problem! '" + reply + "'" + " '" + PHRASE + "'");

Completed in 130 milliseconds

123