Home
last modified time | relevance | path

Searched refs:exepath (Results 1 - 16 of 16) sorted by relevance

/third_party/libuv/test/
H A Dtest-process-title.c90 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 Dbenchmark-spawn.c34 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 Dtest-spawn.c49 static char exepath[1024]; variable
161 int r = uv_exepath(exepath, &exepath_size); in init_process_options()
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()
1437 for (len = strlen(exepath), file_len = 0; in TEST_IMPL()
1438 exepath[len - 1] != '/' && exepath[len - 1] != '\\'; in TEST_IMPL()
1442 exepath in TEST_IMPL()
[all...]
H A Dtest-stdio-over-pipes.c29 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 Dtest-ref.c405 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 Dtest-ipc.c285 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()
/third_party/libuv/src/unix/
H A Dhurd.c42 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 Ddarwin.c73 /* realpath(exepath) may be > PATH_MAX so double it to be on the safe side. */ in uv_exepath()
75 char exepath[PATH_MAX + 1]; in uv_exepath() local
82 exepath_size = sizeof(exepath); in uv_exepath()
83 if (_NSGetExecutablePath(exepath, &exepath_size)) in uv_exepath()
86 if (realpath(exepath, abspath) != abspath) in uv_exepath()
H A Dibmi.c511 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 Daix.c889 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()
/third_party/node/deps/uv/src/unix/
H A Dhurd.c42 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 Ddarwin.c76 /* realpath(exepath) may be > PATH_MAX so double it to be on the safe side. */ in uv_exepath()
78 char exepath[PATH_MAX + 1]; in uv_exepath() local
85 exepath_size = sizeof(exepath); in uv_exepath()
86 if (_NSGetExecutablePath(exepath, &exepath_size)) in uv_exepath()
89 if (realpath(exepath, abspath) != abspath) in uv_exepath()
H A Dibmi.c506 char exepath[UV__PATH_MAX]; in uv_setup_args() local
512 size = sizeof(exepath); in uv_setup_args()
513 if (uv__search_path(argv[0], exepath, &size) == 0) { in uv_setup_args()
516 original_exepath = uv__strdup(exepath); in uv_setup_args()
H A Daix.c873 char exepath[UV__PATH_MAX]; in uv_setup_args() local
890 size = sizeof(exepath); in uv_setup_args()
891 if (uv__search_path(argv[0], exepath, &size) == 0) { in uv_setup_args()
894 original_exepath = uv__strdup(exepath); in uv_setup_args()
/third_party/libunwind/libunwind/src/dwarf/
H A DGfind_proc_info-lsb.c528 char exepath[PATH_MAX]; in Elf_W() local
532 tdep_get_exe_image_path(exepath); in Elf_W()
533 file = exepath; in Elf_W()
/third_party/python/Lib/test/
H A Dtest_embed.py70 exepath = builddir
72 exepath = os.path.join(builddir, 'Programs')
73 self.test_exe = exe = os.path.join(exepath, exename)

Completed in 15 milliseconds