Home
last modified time | relevance | path

Searched refs:exepath (Results 1 – 24 of 24) sorted by relevance

/third_party/libuv/test/
Dtest-process-title.c90 char exepath[1024]; in TEST_IMPL() local
99 exepath_size = sizeof(exepath) - 1; in TEST_IMPL()
100 ASSERT(0 == 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()
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()
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()
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()
Dtest-spawn.c46 static char exepath[1024]; variable
158 int r = uv_exepath(exepath, &exepath_size); in init_process_options()
160 exepath[exepath_size] = '\0'; in init_process_options()
161 args[0] = exepath; in init_process_options()
166 options.file = exepath; in init_process_options()
1661 for (len = strlen(exepath); in TEST_IMPL()
1662 exepath[len - 1] != '/' && exepath[len - 1] != '\\'; in TEST_IMPL()
1664 strcpy(file, exepath + len); in TEST_IMPL()
1665 exepath[len] = 0; in TEST_IMPL()
1667 strcpy(path + 5, exepath); in TEST_IMPL()
[all …]
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/node/deps/uv/src/unix/
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()
Ddarwin.c78 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()
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()
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/libuv/src/unix/
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()
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()
Ddarwin.c78 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()
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/libuv/
DBUILD.gn271 "src/unix/procfs-exepath.c",
286 "src/unix/procfs-exepath.c",
296 "src/unix/procfs-exepath.c",
DMakefile.am408 src/unix/procfs-exepath.c \
481 src/unix/procfs-exepath.c \
497 src/unix/procfs-exepath.c \
DCMakeLists.txt222 src/unix/procfs-exepath.c
285 src/unix/procfs-exepath.c
DChangeLog838 * test: canonicalize argv[0] in exepath test (Ben Noordhuis)
2618 * unix: factor out reusable procfs exepath impl (Brad King)
/third_party/node/deps/uv/
Duv.gyp249 'src/unix/procfs-exepath.c',
265 'src/unix/procfs-exepath.c',
DMakefile.am408 src/unix/procfs-exepath.c \
481 src/unix/procfs-exepath.c \
497 src/unix/procfs-exepath.c \
DCMakeLists.txt222 src/unix/procfs-exepath.c
285 src/unix/procfs-exepath.c
DChangeLog838 * test: canonicalize argv[0] in exepath test (Ben Noordhuis)
2618 * unix: factor out reusable procfs exepath impl (Brad King)
/third_party/libunwind/src/dwarf/
DGfind_proc_info-lsb.c528 char exepath[PATH_MAX]; in dwarf_find_eh_frame_section() local
532 tdep_get_exe_image_path(exepath); in dwarf_find_eh_frame_section()
533 file = exepath; in dwarf_find_eh_frame_section()
/third_party/python/Lib/test/
Dtest_embed.py60 exepath = os.path.dirname(sys.executable)
62 exepath = os.path.join(basepath, "Programs")
63 self.test_exe = exe = os.path.join(exepath, exename)