Lines Matching refs:exepath
46 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()
1912 exepath_size = sizeof(exepath) - 2; in TEST_IMPL()
1913 ASSERT_EQ(0, uv_exepath(exepath, &exepath_size)); in TEST_IMPL()
1914 exepath[exepath_size] = '\0'; in TEST_IMPL()
1917 sep = strrchr(exepath, '/'); in TEST_IMPL()
1919 sep = strrchr(exepath, '\\'); in TEST_IMPL()
1928 options.cwd = exepath; in TEST_IMPL()