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 Dfs.c809 DWORD error; in fs__read() local
1015 DWORD error; in fs__write() local
1094 DWORD error; in fs__unlink_rmdir() local
1282 DWORD error; in fs__mkdtemp_func() local
1570 goto error; in fs__opendir()
1576 goto error; in fs__opendir()
1609 error: in fs__opendir()
1671 error: in fs__readdir()
1989 DWORD error; in fs__stat_impl() local
2440 DWORD error; in fs__utime_impl() local
[all …]
H A Dprocess-stdio.c224 goto error; in uv__stdio_create()
249 goto error; in uv__stdio_create()
270 goto error; in uv__stdio_create()
292 goto error; in uv__stdio_create()
330 goto error; in uv__stdio_create()
336 goto error; in uv__stdio_create()
352 error: in uv__stdio_create()
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()
452 error: in uv__create_stdio_pipe_pair()
803 error: in uv_pipe_bind2()
980 error: in uv_pipe_connect2()
1436 error: in uv__pipe_queue_read()
2110 error: in uv__pipe_read_ipc()
2591 error: in uv__pipe_getname()
2650 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()
552 goto error; in uv_cpu_info()
559 goto error; in uv_cpu_info()
568 goto error; in uv_cpu_info()
595 goto error; in uv_cpu_info()
606 goto error; in uv_cpu_info()
617 goto error; in uv_cpu_info()
640 error: in uv_cpu_info()
1596 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.c476 goto error; in uv__spawn_set_posix_spawn_attrs()
506 goto error; in uv__spawn_set_posix_spawn_attrs()
512 goto error; in uv__spawn_set_posix_spawn_attrs()
518 goto error; in uv__spawn_set_posix_spawn_attrs()
522 error: in uv__spawn_set_posix_spawn_attrs()
643 error: in uv__spawn_set_posix_spawn_file_actions()
777 goto error; in uv__spawn_and_init_child_posix_spawn()
787 goto error; in uv__spawn_and_init_child_posix_spawn()
799 error: in uv__spawn_and_init_child_posix_spawn()
992 goto error; in uv_spawn()
[all …]
H A Dstream.c448 req->error = error; in uv__stream_flush_write_queue()
726 if (req->error == 0) { in uv__write_req_finish()
878 goto error; in uv__write()
893 error: in uv__write()
894 req->error = n; in uv__write()
1247 int error; in uv__stream_connect() local
1267 &error, in uv__stream_connect()
1269 error = UV__ERR(error); in uv__stream_connect()
1283 req->cb(req, error); in uv__stream_connect()
1288 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 DChangeLog581 * include: map ENODATA error code (Ben Noordhuis)
1001 * build: fix error C4146 on MSVC (UMU)
1437 * doc: add more error constants (TK-one)
1577 * fs: report original error (Bartosz Sosnowski)
2036 * include: map EILSEQ error code (cjihrig)
2040 * build: fix ios build error (MaYuming)
2592 * win: fix mingw build error (Ben Noordhuis)
3637 * test: fix android build error. (sunjin.lee)
4650 * test: check dlerror is "no error" in no error case (Marc Schlaich)
4690 * 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 111 milliseconds

123