Searched refs:exepath (Results 1 – 13 of 13) sorted by relevance
/libuv/test/ |
H A D | test-process-title.c | 90 char exepath[1024]; in TEST_IMPL() local 99 exepath_size = sizeof(exepath) - 1; in TEST_IMPL() 100 ASSERT_OK(uv_exepath(exepath, &exepath_size)); in TEST_IMPL() 101 exepath[exepath_size] = '\0'; in TEST_IMPL() 109 args[0] = exepath; in TEST_IMPL() 116 options.file = exepath; in TEST_IMPL()
|
H A D | benchmark-spawn.c | 34 static char exepath[1024]; variable 110 args[0] = exepath; in spawn() 113 options.file = exepath; in spawn() 143 r = uv_exepath(exepath, &exepath_size); in BENCHMARK_IMPL() 145 exepath[exepath_size] = '\0'; in BENCHMARK_IMPL()
|
H A D | test-stdio-over-pipes.c | 29 static char exepath[1024]; variable 64 int r = uv_exepath(exepath, &exepath_size); in init_process_options() 66 exepath[exepath_size] = '\0'; in init_process_options() 67 args[0] = exepath; in init_process_options() 70 options.file = exepath; in init_process_options()
|
H A D | test-spawn.c | 49 static char exepath[1024]; variable 163 exepath[exepath_size] = '\0'; in init_process_options() 164 args[0] = exepath; in init_process_options() 169 options.file = exepath; in init_process_options() 1409 exepath); in TEST_IMPL() 1438 exepath[len - 1] != '/' && exepath[len - 1] != '\\'; in TEST_IMPL() 1442 exepath + len); in TEST_IMPL() 1443 exepath[len] = 0; in TEST_IMPL() 1837 exepath[len - 1] != '/' && exepath[len - 1] != '\\'; in TEST_IMPL() 1840 exepath[len] = 0; in TEST_IMPL() [all …]
|
H A D | test-ref.c | 405 char exepath[256]; in TEST_IMPL() local 410 exepath_size = sizeof(exepath); in TEST_IMPL() 412 r = uv_exepath(exepath, &exepath_size); in TEST_IMPL() 415 argv[0] = exepath; in TEST_IMPL() 416 options.file = exepath; in TEST_IMPL()
|
H A D | test-ipc.c | 285 char exepath[1024]; in spawn_helper() local 294 exepath_size = sizeof(exepath); in spawn_helper() 295 r = uv_exepath(exepath, &exepath_size); in spawn_helper() 298 exepath[exepath_size] = '\0'; in spawn_helper() 299 args[0] = exepath; in spawn_helper() 304 options.file = exepath; in spawn_helper()
|
/libuv/src/unix/ |
H A D | hurd.c | 42 string_t exepath; in uv_exepath() local 51 err = proc_get_exe(getproc(), getpid(), exepath); in uv_exepath() 57 copied = uv__strscpy(buffer, exepath, *size); in uv_exepath()
|
H A D | darwin.c | 69 char exepath[PATH_MAX + 1]; in uv_exepath() local 76 exepath_size = sizeof(exepath); in uv_exepath() 77 if (_NSGetExecutablePath(exepath, &exepath_size)) in uv_exepath() 80 if (realpath(exepath, abspath) != abspath) in uv_exepath()
|
H A D | ibmi.c | 511 char exepath[UV__PATH_MAX]; in uv_setup_args() local 517 size = sizeof(exepath); in uv_setup_args() 518 if (uv__search_path(argv[0], exepath, &size) == 0) { in uv_setup_args() 521 original_exepath = uv__strdup(exepath); in uv_setup_args()
|
H A D | aix.c | 889 char exepath[UV__PATH_MAX]; in uv_setup_args() local 906 size = sizeof(exepath); in uv_setup_args() 907 if (uv__search_path(argv[0], exepath, &size) == 0) { in uv_setup_args() 910 original_exepath = uv__strdup(exepath); in uv_setup_args()
|
/libuv/ |
H A D | Makefile.am | 421 src/unix/procfs-exepath.c \ 488 src/unix/procfs-exepath.c \ 503 src/unix/procfs-exepath.c \
|
H A D | CMakeLists.txt | 276 src/unix/procfs-exepath.c 331 src/unix/procfs-exepath.c 448 src/unix/procfs-exepath.c
|
H A D | ChangeLog | 1641 * test: canonicalize argv[0] in exepath test (Ben Noordhuis) 3421 * unix: factor out reusable procfs exepath impl (Brad King)
|
Completed in 34 milliseconds