Lines Matching refs:exepath
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 + len); in TEST_IMPL()
1443 exepath[len] = 0; in TEST_IMPL()
1444 snprintf(path, sizeof(path), "PATH=%s", exepath); in TEST_IMPL()
1836 for (len = strlen(exepath); in TEST_IMPL()
1837 exepath[len - 1] != '/' && exepath[len - 1] != '\\'; in TEST_IMPL()
1839 strcpy(file, exepath + len); in TEST_IMPL()
1840 exepath[len] = 0; in TEST_IMPL()
1842 strcpy(path + 5, exepath); in TEST_IMPL()
2087 exepath_size = sizeof(exepath) - 2; in TEST_IMPL()
2088 ASSERT_OK(uv_exepath(exepath, &exepath_size)); in TEST_IMPL()
2089 exepath[exepath_size] = '\0'; in TEST_IMPL()
2092 sep = strrchr(exepath, '/'); in TEST_IMPL()
2094 sep = strrchr(exepath, '\\'); in TEST_IMPL()
2103 options.cwd = exepath; in TEST_IMPL()