/third_party/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-spawn.c | 49 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 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-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()
|
/third_party/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 | 73 /* 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 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()
|
/third_party/node/deps/uv/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 | 76 /* 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 D | ibmi.c | 506 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 D | aix.c | 873 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 D | Gfind_proc_info-lsb.c | 528 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 D | test_embed.py | 70 exepath = builddir 72 exepath = os.path.join(builddir, 'Programs') 73 self.test_exe = exe = os.path.join(exepath, exename)
|