Lines Matching defs:file
182 /* It's a relative path with drive letter (ext.g. D:../some/file)
314 * - If there's really only a filename, check the current directory for file,
317 * - If filename specified has *any* extension, search for the file with the
333 * file that is not readable/executable; if the spawn fails it will not
342 static WCHAR* search_path(const WCHAR *file,
353 size_t file_len = wcslen(file);
360 || (file_len == 1 && file[0] == L'.')) {
366 for (file_name_start = (WCHAR*)file + file_len;
367 file_name_start > file
373 file_has_dir = file_name_start != file;
380 /* The file has a path inside, don't use path */
382 file, file_name_start - file,
383 file_name_start, file_len - (file_name_start - file),
390 /* The file is really only a name; look in cwd first, then scan path */
392 file, file_len,
441 file, file_len,
958 if (options->file == NULL ||
963 assert(options->file != NULL);
972 err = uv__utf8_to_utf16_alloc(options->file, &application);