Searched refs:process_title (Results 1 – 7 of 7) sorted by relevance
/third_party/libuv/src/unix/ |
D | bsd-proctitle.c | 31 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()
|
D | os390-proctitle.c | 30 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()
|
D | proctitle.c | 37 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()
|
/third_party/libuv/src/win/ |
D | util.c | 69 static char *process_title; variable 431 uv__free(process_title); in uv_set_process_title() 432 process_title = uv__strdup(title); in uv_set_process_title() 450 if (uv__convert_utf16_to_utf8(title_w, -1, &process_title) != 0) in uv__get_process_title() 470 if (!process_title && uv__get_process_title() == -1) { in uv_get_process_title() 475 assert(process_title); in uv_get_process_title() 476 len = strlen(process_title) + 1; in uv_get_process_title() 483 memcpy(buffer, process_title, len); in uv_get_process_title()
|
/third_party/libuv/test/ |
D | test-process-title.c | 62 TEST_IMPL(process_title) { in TEST_IMPL() argument
|
D | test-list.h | 267 TEST_DECLARE (process_title) 855 TEST_ENTRY (process_title)
|
/third_party/libuv/ |
D | ChangeLog | 1520 * core,bsd: refactor process_title functions (Santiago Gimeno) 3105 * test: skip process_title for AIX (Imran Iqbal) 5226 * test: fix process_title failing on linux (Miroslav Bajtoš) 5228 * test, sunos: disable process_title test (Miroslav Bajtoš)
|