Home
last modified time | relevance | path

Searched refs:dirPath (Results 1 – 25 of 28) sorted by relevance

12

/third_party/typescript/src/compiler/
DresolutionCache.ts79 dirPath: Path; property
100 export function canWatchDirectory(dirPath: Path) {
101 const rootLength = getRootLength(dirPath);
102 if (dirPath.length === rootLength) {
107 let nextDirectorySeparator = dirPath.indexOf(directorySeparator, rootLength);
113 let pathPartForUserCheck = dirPath.substring(rootLength, nextDirectorySeparator + 1);
114 …const isNonDirectorySeparatorRoot = rootLength > 1 || dirPath.charCodeAt(0) !== CharacterCodes.sla…
116 dirPath.search(/[a-zA-Z]:/) !== 0 && // Non dos style paths
118 … nextDirectorySeparator = dirPath.indexOf(directorySeparator, nextDirectorySeparator + 1);
124 …pathPartForUserCheck = dirPath.substring(rootLength + pathPartForUserCheck.length, nextDirectorySe…
[all …]
Dsys.ts320 const dirPath = getDirectoryPath(filePath) || "."; constant
321 const watcher = dirWatchers.get(dirPath) ||
322 createDirectoryWatcher(getDirectoryPath(fileName) || ".", dirPath, fallbackOptions);
328 dirWatchers.delete(dirPath);
338 …function createDirectoryWatcher(dirName: string, dirPath: string, fallbackOptions: WatchOptions | …
359 dirWatchers.set(dirPath, watcher);
502 const dirPath = toCanonicalFilePath(dirName) as Path; constant
503 let directoryWatcher = cache.get(dirPath);
514 invokeCallbacks(dirPath, fileName);
517 updateChildWatches(dirName, dirPath, options);
[all …]
DwatchUtilities.ts147 function directoryExists(dirPath: string): boolean {
148 const path = toPath(dirPath);
149 …dReadDirectoryResult.has(ensureTrailingDirectorySeparator(path)) || host.directoryExists!(dirPath);
152 function createDirectory(dirPath: string) {
153 const path = toPath(dirPath);
155 const baseFileName = getBaseNameOfFileName(dirPath);
159 host.createDirectory!(dirPath);
Dpath.ts865 export function isNodeModulesDirectory(dirPath: Path) {
866 return endsWith(dirPath, "/node_modules");
869 export function isOHModulesDirectory(dirPath: Path) {
870 return endsWith(dirPath, "/oh_modules");
Dprogram.ts3770 const dirPath = host.toPath(dir); constant
3771 const dirPathWithTrailingDirectorySeparator = `${dirPath}${directorySeparator}`;
3774 declDirPath => dirPath === declDirPath ||
3778 startsWith(dirPath, `${declDirPath}/`)
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ant/
DCleanOutputDirectoryTask.java154 Path dirPath = root.resolve(dirInfo.name); in execute() local
155 if (!Files.exists(dirPath)) { in execute()
158 checkBuild(Files.isDirectory(dirPath), "'%s' is not a directory", dirPath); in execute() local
163 try (Stream<Path> files = Files.list(dirPath)) { in execute()
165 .filter(p -> couldDelete(p, dirPath, dirInfo)) in execute()
171 throw new BuildException("Error processing directory: " + dirPath, e); in execute()
/third_party/node/test/parallel/
Dtest-fs-watch.js20 get dirPath() { return join(tmpdir.path, this.dirName); } getter in WatchTestCase
21 get filePath() { return join(this.dirPath, this.fileName); }
46 fs.mkdirSync(testCase.dirPath);
Dtest-fs-promises-watch.js21 get dirPath() { return join(tmpdir.path, this.dirName); } getter in WatchTestCase
22 get filePath() { return join(this.dirPath, this.fileName); }
46 fs.mkdirSync(testCase.dirPath);
/third_party/flutter/flutter/packages/flutter_tools/lib/src/commands/
Dide_config.dart237 final String dirPath = fs.path.normalize(
241 final String error = _validateFlutterDir(dirPath, flutterRoot: flutterRoot);
246 printStatus('Updating IDE configuration for Flutter tree at $dirPath...');
248 generatedCount += _renderTemplate(_ideName, dirPath, <String, dynamic>{
260 int _renderTemplate(String templateName, String dirPath, Map<String, dynamic> context) {
263 fs.directory(dirPath),
272 String _validateFlutterDir(String dirPath, { String flutterRoot }) {
273 final FileSystemEntityType type = fs.typeSync(dirPath);
279 return "Invalid project root dir: '$dirPath' - refers to a link.";
Dcreate.dart741 String _validateProjectDir(String dirPath, { String flutterRoot, bool overwrite = false }) {
742 if (fs.path.isWithin(flutterRoot, dirPath)) {
744 "Target directory '$dirPath' is within the Flutter SDK at '$flutterRoot'.";
749 if (fs.isFileSync(dirPath)) {
750 return "Invalid project name: '$dirPath' - refers to an existing file."
757 final FileSystemEntityType type = fs.typeSync(dirPath);
763 return "Invalid project name: '$dirPath' - file exists.";
766 return "Invalid project name: '$dirPath' - refers to a link.";
/third_party/node/tools/
Dlint-sh.js22 function* findScriptFilesRecursively(dirPath) { argument
23 const entries = readdirSync(dirPath, { withFileTypes: true });
26 const path = join(dirPath, entry.name);
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeFilePath.cpp259 FilePath dirPath = FilePath::normalize(path); in createDirectory() local
260 FilePath parentPath (dirPath.getDirName()); in createDirectory()
262 if (dirPath.exists()) in createDirectory()
/third_party/flutter/flutter/packages/flutter_tools/lib/src/base/
Dfile_system.dart57 final String dirPath = fs.path.dirname(filePath);
58 if (fs.isDirectorySync(dirPath))
61 fs.directory(dirPath).createSync(recursive: true);
63 throwToolExit('Failed to create directory "$dirPath": ${e.osError.message}');
/third_party/typescript/src/testRunner/unittests/tsserver/
DresolutionCache.ts477 …edLocationResolutionTrace(host: TestServerHost, expectedTrace: string[], dirPath: string, module: …
479 forEachAncestorDirectory(dirPath, dirPath => {
480 if (dirPath === cacheLocation) {
484 const directory = useNodeModules ? combinePaths(dirPath, nodeModules) : dirPath;
/third_party/openh264/codec/build/iOS/enc/encDemo/encDemo/
Dmain.m63 for (NSString * dirPath in dirPathArray) {
65 tmpPath = [tmpPath stringByAppendingString:dirPath];
/third_party/python/Mac/BuildScript/
Dbuild-installer.py1676 dirPath = os.path.normpath(os.path.dirname(__file__))
1677 toolPath = os.path.join(dirPath, "seticon.app/Contents/MacOS/seticon")
1678 …if not os.path.exists(toolPath) or os.stat(toolPath).st_mtime < os.stat(dirPath + '/seticon.m').st…
1681 appPath = os.path.join(dirPath, "seticon.app/Contents/MacOS")
1685 shellQuote(toolPath), shellQuote(dirPath)))
/third_party/node/lib/internal/modules/esm/
Dresolve.js275 const dirPath = fileURLToPath(search);
276 const pkgJsonPath = resolve(dirPath, 'package.json');
282 const mainUrl = pathToFileURL(resolve(dirPath, main));
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/
Dangle_deqp_gtest.cpp201 Optional<std::string> FindFileFromPath(const char *dirPath, const char *filePath) in FindFileFromPath() argument
204 strstr << dirPath << filePath; in FindFileFromPath()
/third_party/typescript/src/harness/
DharnessIO.ts60 const dirPath = pathModule.dirname(path); constant
62 return dirPath === path ? undefined : dirPath;
/third_party/vk-gl-cts/scripts/android/
Dbuild_apk.py287 def getFiles (dirPath): argument
288 for root, dirs, files in os.walk(dirPath):
/third_party/typescript/lib/
DtypingsInstaller.js6203 function isNodeModulesDirectory(dirPath) { argument
6204 return ts.endsWith(dirPath, "/node_modules");
6465 var dirPath = ts.getDirectoryPath(filePath) || ".";
6466 var watcher = dirWatchers.get(dirPath) ||
6467 … createDirectoryWatcher(ts.getDirectoryPath(fileName) || ".", dirPath, fallbackOptions);
6473 dirWatchers.delete(dirPath);
6482 function createDirectoryWatcher(dirName, dirPath, fallbackOptions) { argument
6500 dirWatchers.set(dirPath, watcher);
6590 var dirPath = toCanonicalFilePath(dirName);
6591 var directoryWatcher = cache.get(dirPath);
[all …]
Dtsc.js3707 function isNodeModulesDirectory(dirPath) { argument
3708 return ts.endsWith(dirPath, "/node_modules");
3938 var dirPath = ts.getDirectoryPath(filePath) || ".";
3939 var watcher = dirWatchers.get(dirPath) ||
3940 … createDirectoryWatcher(ts.getDirectoryPath(fileName) || ".", dirPath, fallbackOptions);
3946 dirWatchers.delete(dirPath);
3955 function createDirectoryWatcher(dirName, dirPath, fallbackOptions) { argument
3970 dirWatchers.set(dirPath, watcher);
4042 var dirPath = toCanonicalFilePath(dirName);
4043 var directoryWatcher = cache.get(dirPath);
[all …]
Dtsserver.js6214 function isNodeModulesDirectory(dirPath) { argument
6215 return ts.endsWith(dirPath, "/node_modules");
6476 var dirPath = ts.getDirectoryPath(filePath) || ".";
6477 var watcher = dirWatchers.get(dirPath) ||
6478 … createDirectoryWatcher(ts.getDirectoryPath(fileName) || ".", dirPath, fallbackOptions);
6484 dirWatchers.delete(dirPath);
6493 function createDirectoryWatcher(dirName, dirPath, fallbackOptions) { argument
6511 dirWatchers.set(dirPath, watcher);
6601 var dirPath = toCanonicalFilePath(dirName);
6602 var directoryWatcher = cache.get(dirPath);
[all …]
DtypescriptServices.js6408 function isNodeModulesDirectory(dirPath) { argument
6409 return ts.endsWith(dirPath, "/node_modules");
6670 var dirPath = ts.getDirectoryPath(filePath) || ".";
6671 var watcher = dirWatchers.get(dirPath) ||
6672 … createDirectoryWatcher(ts.getDirectoryPath(fileName) || ".", dirPath, fallbackOptions);
6678 dirWatchers.delete(dirPath);
6687 function createDirectoryWatcher(dirName, dirPath, fallbackOptions) { argument
6705 dirWatchers.set(dirPath, watcher);
6795 var dirPath = toCanonicalFilePath(dirName);
6796 var directoryWatcher = cache.get(dirPath);
[all …]
Dtsserverlibrary.js6408 function isNodeModulesDirectory(dirPath) { argument
6409 return ts.endsWith(dirPath, "/node_modules");
6670 var dirPath = ts.getDirectoryPath(filePath) || ".";
6671 var watcher = dirWatchers.get(dirPath) ||
6672 … createDirectoryWatcher(ts.getDirectoryPath(fileName) || ".", dirPath, fallbackOptions);
6678 dirWatchers.delete(dirPath);
6687 function createDirectoryWatcher(dirName, dirPath, fallbackOptions) { argument
6705 dirWatchers.set(dirPath, watcher);
6795 var dirPath = toCanonicalFilePath(dirName);
6796 var directoryWatcher = cache.get(dirPath);
[all …]

12