Home
last modified time | relevance | path

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

/third_party/libuv/src/unix/
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()
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()
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()
/third_party/libuv/src/win/
Dutil.c69 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/
Dtest-process-title.c62 TEST_IMPL(process_title) { in TEST_IMPL() argument
Dtest-list.h267 TEST_DECLARE (process_title)
855 TEST_ENTRY (process_title)
/third_party/libuv/
DChangeLog1520 * 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š)