Home
last modified time | relevance | path

Searched refs:res (Results 1 – 17 of 17) sorted by relevance

/libuv/src/win/
H A Ddl.c94 DWORD res; in uv__dlerror() local
105 res = FormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER | in uv__dlerror()
111 if (!res && (GetLastError() == ERROR_MUI_FILE_NOT_FOUND || in uv__dlerror()
113 res = FormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER | in uv__dlerror()
119 if (res && errorno == ERROR_BAD_EXE_FORMAT && strstr(lib->errmsg, "%1")) { in uv__dlerror()
123 res = FormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER | in uv__dlerror()
131 if (!res) in uv__dlerror()
/libuv/test/
H A Dtest-getaddrinfo.c41 struct addrinfo* res) { in getaddrinfo_fail_cb() argument
45 ASSERT_NULL(res); in getaddrinfo_fail_cb()
46 uv_freeaddrinfo(res); /* Should not crash. */ in getaddrinfo_fail_cb()
53 struct addrinfo* res) { in getaddrinfo_basic_cb() argument
57 uv_freeaddrinfo(res); in getaddrinfo_basic_cb()
63 struct addrinfo* res) { in getaddrinfo_cuncurrent_cb() argument
78 uv_freeaddrinfo(res); in getaddrinfo_cuncurrent_cb()
H A Dbenchmark-getaddrinfo.c45 struct addrinfo* res) { in getaddrinfo_cb() argument
52 uv_freeaddrinfo(res); in getaddrinfo_cb()
H A Dtest-thread.c57 struct addrinfo* res);
80 struct addrinfo* res) { in getaddrinfo_cb() argument
86 uv_freeaddrinfo(res); in getaddrinfo_cb()
H A Dtest-threadpool-cancel.c135 struct addrinfo* res) { in getaddrinfo_cb() argument
137 ASSERT_NULL(res); in getaddrinfo_cb()
138 uv_freeaddrinfo(res); /* Should not crash. */ in getaddrinfo_cb()
H A Dtest-metrics.c302 struct addrinfo* res) { in fs_addrinfo_cb() argument
H A Dtest-fs.c1612 int res; in TEST_IMPL() local
1620 res = uv_fs_fstat(NULL, &req, fd, NULL); in TEST_IMPL()
1621 ASSERT_OK(res); in TEST_IMPL()
/libuv/docs/code/dns/
H A Dmain.c43 void on_resolved(uv_getaddrinfo_t *resolver, int status, struct addrinfo *res) { in on_resolved() argument
50 uv_ip4_name((struct sockaddr_in*) res->ai_addr, addr, 16); in on_resolved()
57 uv_tcp_connect(connect_req, socket, (const struct sockaddr*) res->ai_addr, on_connect); in on_resolved()
59 uv_freeaddrinfo(res); in on_resolved()
/libuv/src/unix/
H A Daix-common.c61 int res; in uv_exepath() local
83 res = getargs(&pi, sizeof(pi), args, sizeof(args)); in uv_exepath()
85 if (res < 0) in uv_exepath()
H A Dsunos.c384 ssize_t res; in uv_exepath() local
392 res = *size - 1; in uv_exepath()
393 if (res > 0) in uv_exepath()
394 res = readlink(buf, buffer, res); in uv_exepath()
396 if (res == -1) in uv_exepath()
399 buffer[res] = '\0'; in uv_exepath()
400 *size = res; in uv_exepath()
H A Dfs.c628 struct dirent* res; in uv__fs_readdir() local
639 res = readdir(dir->dir); in uv__fs_readdir()
641 if (res == NULL) { in uv__fs_readdir()
647 if (strcmp(res->d_name, ".") == 0 || strcmp(res->d_name, "..") == 0) in uv__fs_readdir()
651 dirent->name = uv__strdup(res->d_name); in uv__fs_readdir()
656 dirent->type = uv__fs_get_dirent_type(res); in uv__fs_readdir()
H A Dos390.c156 int res; in uv_exepath() local
163 res = getexe(args, sizeof(args)); in uv_exepath()
164 if (res < 0) in uv_exepath()
H A Dlinux.c193 int32_t res; member
1193 if (e->res == -EOPNOTSUPP) { in uv__poll_io_uring()
1199 req->result = e->res; in uv__poll_io_uring()
1323 if (cqe->res == 0) in uv__epoll_ctl_flush()
1336 if (cqe->res != -EEXIST) in uv__epoll_ctl_flush()
/libuv/docs/src/
H A Ddns.rst17 .. c:type:: void (*uv_getaddrinfo_cb)(uv_getaddrinfo_t* req, int status, struct addrinfo* res)
85 * status == 0, the res argument points to a valid `struct addrinfo`, or
86 * status < 0, the res argument is NULL. See the UV_EAI_* constants.
/libuv/include/uv/
H A Dtree.h404 struct type *res = NULL; \
409 res = tmp; \
417 return (res); \
/libuv/include/
H A Duv.h348 struct addrinfo* res);
/libuv/
H A DChangeLog3254 * zos: use stckf builtin for high-res timer (jBarz)

Completed in 86 milliseconds