Home
last modified time | relevance | path

Searched refs:process_title (Results 1 – 7 of 7) sorted by relevance

/libuv/src/unix/
H A Dbsd-proctitle.c31 static char* process_title; variable
47 process_title = argc > 0 ? uv__strdup(argv[0]) : NULL; in uv_setup_args()
62 uv__free(process_title); in uv_set_process_title()
63 process_title = new_title; in uv_set_process_title()
81 if (process_title != NULL) { in uv_get_process_title()
82 len = strlen(process_title) + 1; in uv_get_process_title()
89 memcpy(buffer, process_title, len); in uv_get_process_title()
H A Dos390-proctitle.c30 static char* process_title = NULL; variable
71 process_title = uv__strdup(argv[0]); in uv_setup_args()
94 if (process_title != NULL) in uv_set_process_title()
95 uv__free(process_title); in uv_set_process_title()
97 process_title = new_title; in uv_set_process_title()
112 if (args_mem == NULL || process_title == NULL) in uv_get_process_title()
118 len = strlen(process_title); in uv_get_process_title()
125 strcpy(buffer, process_title); in uv_get_process_title()
H A Dproctitle.c37 static struct uv__process_title process_title; variable
90 process_title = pt; in uv_setup_args()
104 pt = &process_title; in uv_set_process_title()
138 if (size <= process_title.len) { in uv_get_process_title()
143 if (process_title.len != 0) in uv_get_process_title()
144 memcpy(buffer, process_title.str, process_title.len + 1); in uv_get_process_title()
146 buffer[process_title.len] = '\0'; in uv_get_process_title()
/libuv/src/win/
H A Dutil.c70 static char *process_title; variable
366 uv__free(process_title); in uv_set_process_title()
367 process_title = uv__strdup(title); in uv_set_process_title()
386 return uv__convert_utf16_to_utf8(title_w, wlen, &process_title); in uv__get_process_title()
404 if (process_title == NULL) { in uv_get_process_title()
412 assert(process_title); in uv_get_process_title()
413 len = strlen(process_title) + 1; in uv_get_process_title()
420 memcpy(buffer, process_title, len); in uv_get_process_title()
/libuv/test/
H A Dtest-process-title.c62 TEST_IMPL(process_title) { in TEST_IMPL() argument
H A Dtest-list.h286 TEST_DECLARE (process_title)
930 TEST_ENTRY (process_title)
/libuv/
H A DChangeLog2451 * core,bsd: refactor process_title functions (Santiago Gimeno)
4036 * test: skip process_title for AIX (Imran Iqbal)
6157 * test: fix process_title failing on linux (Miroslav Bajtoš)
6159 * test, sunos: disable process_title test (Miroslav Bajtoš)

Completed in 31 milliseconds