Home
last modified time | relevance | path

Searched refs:service (Results 1 – 14 of 14) sorted by relevance

/libuv/src/win/
H A Dgetnameinfo.c44 WCHAR service[NI_MAXSERV]; in uv__getnameinfo_work() local
53 service, in uv__getnameinfo_work()
54 ARRAY_SIZE(service), in uv__getnameinfo_work()
68 size = sizeof(req->service); in uv__getnameinfo_work()
69 ret = uv__copy_utf16_to_utf8(service, -1, req->service, &size); in uv__getnameinfo_work()
82 char* service; in uv__getnameinfo_done() local
86 host = service = NULL; in uv__getnameinfo_done()
93 service = req->service; in uv__getnameinfo_done()
97 req->getnameinfo_cb(req, req->retcode, host, service); in uv__getnameinfo_done()
H A Dgetaddrinfo.c67 const WCHAR* service,
90 err = GetAddrInfoW(req->node, req->service, hints, &req->addrinfow); in uv__getaddrinfo_work()
244 const char* service, in uv_getaddrinfo() argument
255 if (req == NULL || (node == NULL && service == NULL)) { in uv_getaddrinfo()
278 if (service != NULL) { in uv_getaddrinfo()
279 rc = uv_wtf8_length_as_utf16(service); in uv_getaddrinfo()
311 if (service != NULL) { in uv_getaddrinfo()
312 req->service = (WCHAR*) ((char*) req->alloc + serviceoff); in uv_getaddrinfo()
313 uv_wtf8_to_utf16(service, req->service, servicesize); in uv_getaddrinfo()
315 req->service = NULL; in uv_getaddrinfo()
/libuv/src/unix/
H A Dgetaddrinfo.c103 err = getaddrinfo(req->hostname, req->service, req->hints, &req->addrinfo); in uv__getaddrinfo_work()
117 else if (req->service) in uv__getaddrinfo_done()
118 uv__free(req->service); in uv__getaddrinfo_done()
125 req->service = NULL; in uv__getaddrinfo_done()
142 const char* service, in uv_getaddrinfo() argument
152 if (req == NULL || (hostname == NULL && service == NULL)) in uv_getaddrinfo()
173 service_len = service ? strlen(service) + 1 : 0; in uv_getaddrinfo()
185 req->service = NULL; in uv_getaddrinfo()
197 if (service) { in uv_getaddrinfo()
198 req->service = memcpy(buf + len, service, service_len); in uv_getaddrinfo()
H A Dgetnameinfo.c49 req->service, in uv__getnameinfo_work()
50 sizeof(req->service), in uv__getnameinfo_work()
58 char* service; in uv__getnameinfo_done() local
62 host = service = NULL; in uv__getnameinfo_done()
69 service = req->service; in uv__getnameinfo_done()
73 req->getnameinfo_cb(req, req->retcode, host, service); in uv__getnameinfo_done()
/libuv/test/
H A Dtest-getnameinfo.c40 const char* service) { in getnameinfo_req() argument
44 ASSERT_NOT_NULL(service); in getnameinfo_req()
87 ASSERT_NE(req.service[0], '\0'); in TEST_IMPL()
H A Dtest-threadpool-cancel.c145 const char* service) { in getnameinfo_cb() argument
148 ASSERT_NULL(service); in getnameinfo_cb()
/libuv/docs/src/
H A Ddns.rst27 … (*uv_getnameinfo_cb)(uv_getnameinfo_t* req, int status, const char* hostname, const char* service)
60 .. c:member:: char[NI_MAXSERV] uv_getnameinfo_t.service
62 Char array containing the resulting service. It's null terminated.
72 …_t* req, uv_getaddrinfo_cb getaddrinfo_cb, const char* node, const char* service, const struct add…
76 Either node or service may be NULL but not both.
H A Derrors.rst84 unknown node or service
96 service not available for socket type
/libuv/include/uv/
H A Dunix.h344 char* service; \
354 char service[NI_MAXSERV]; \
H A Dwin.h593 WCHAR* service; \
607 char service[NI_MAXSERV]; \
/libuv/docs/src/guide/
H A Dnetworking.rst232 useful to allow your service to bind to IP addresses when it starts.
H A Dutilities.rst77 which runs every X seconds, or your network service might send a heartbeat to
/libuv/include/
H A Duv.h352 const char* service);
988 const char* service,
/libuv/
H A DChangeLog4345 * doc: document uv_getnameinfo_t.{host|service} (Saúl Ibarra Corretgé)

Completed in 30 milliseconds