Home
last modified time | relevance | path

Searched refs:namebuf (Results 1 – 3 of 3) sorted by relevance

/libuv/src/unix/
H A Dthread.c906 char namebuf[UV_PTHREAD_MAX_NAMELEN_NP]; in uv__thread_setname() local
907 strncpy(namebuf, name, sizeof(namebuf) - 1); in uv__thread_setname()
908 namebuf[sizeof(namebuf) - 1] = '\0'; in uv__thread_setname()
909 int err = pthread_setname_np(namebuf); in uv__thread_setname()
916 char namebuf[UV_PTHREAD_MAX_NAMELEN_NP]; in uv__thread_setname() local
917 strncpy(namebuf, name, sizeof(namebuf) - 1); in uv__thread_setname()
918 namebuf[sizeof(namebuf) - 1] = '\0'; in uv__thread_setname()
924 strncpy(namebuf, name, sizeof(namebuf) - 1); in uv__thread_setname()
925 namebuf[sizeof(namebuf) - 1] = '\0'; in uv__thread_setname()
932 strncpy(namebuf, name, sizeof(namebuf) - 1); in uv__thread_setname()
[all …]
/libuv/src/win/
H A Dthread.c285 char namebuf[UV_PTHREAD_MAX_NAMELEN_NP]; in uv_thread_setname() local
290 strncpy(namebuf, name, sizeof(namebuf) - 1); in uv_thread_setname()
291 namebuf[sizeof(namebuf) - 1] = '\0'; in uv_thread_setname()
294 err = uv__convert_utf8_to_utf16(namebuf, &namew); in uv_thread_setname()
/libuv/test/
H A Dtest-pipe-getsockname.c124 char namebuf[256]; in TEST_IMPL() local
130 snprintf(namebuf, sizeof(namebuf), "%s-oob", TEST_PIPENAME); in TEST_IMPL()
150 r = uv_pipe_bind2(&pipe_server, namebuf, namelen, 0); in TEST_IMPL()
196 namebuf, in TEST_IMPL()

Completed in 12 milliseconds