Lines Matching defs:path
175 /* It's a UNC path so ignore cwd */
178 /* It's a full path without drive letter, use cwd's drive letter only */
182 /* It's a relative path with drive letter (ext.g. D:../some/file)
193 /* It's an absolute path with drive letter
207 /* Add a path separator if cwd didn't end with one */
300 * search_path searches the system path for an executable filename -
311 * - Do not search the path if the filename already contains a path (either
315 * then search all path directories.
323 * - The path variable may contain relative paths; relative paths are relative
326 * - Directories in path may or may not end with a trailing backslash.
328 * - CMD does not trim leading/trailing whitespace from path/pathex entries
336 * UNC path support: we are dealing with UNC paths in both the path and the
338 * start a program by specifying an UNC path on the command line) but this is
344 const WCHAR *path) {
380 /* The file has a path inside, don't use path */
388 dir_end = path;
390 /* The file is really only a name; look in cwd first, then scan path */
402 if (dir_end != path || *path == L';') {
409 /* If path is quoted, find quote end */
430 /* Adjust if the path is quoted. */
943 WCHAR* path = NULL, *alloc_path = NULL;
1019 path = find_path(env);
1020 if (path == NULL) {
1034 path = alloc_path;
1036 r = GetEnvironmentVariableW(L"PATH", path, path_len);
1049 path);