Lines Matching refs:pathext
2136 char_u *pathext = NULL; in executable_exists() local
2154 pathext = mch_getenv("PATHEXT"); in executable_exists()
2155 if (pathext == NULL) in executable_exists()
2156 pathext = (char_u *)".com;.exe;.bat;.cmd"; in executable_exists()
2164 p = pathext; in executable_exists()
2191 if (pathext == NULL) in executable_exists()
2192 pathext = (char_u *)"."; in executable_exists()
2196 pathextbuf = alloc(STRLEN(pathext) + 3); in executable_exists()
2203 STRCAT(pathextbuf, pathext); in executable_exists()
2204 pathext = pathextbuf; in executable_exists()
2260 p = pathext; in executable_exists()