/third_party/typescript/src/compiler/ |
D | resolutionCache.ts | 79 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 …]
|
D | sys.ts | 320 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 …]
|
D | watchUtilities.ts | 147 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);
|
D | path.ts | 865 export function isNodeModulesDirectory(dirPath: Path) { 866 return endsWith(dirPath, "/node_modules"); 869 export function isOHModulesDirectory(dirPath: Path) { 870 return endsWith(dirPath, "/oh_modules");
|
D | program.ts | 3770 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/ |
D | CleanOutputDirectoryTask.java | 154 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/ |
D | test-fs-watch.js | 20 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);
|
D | test-fs-promises-watch.js | 21 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/ |
D | ide_config.dart | 237 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.";
|
D | create.dart | 741 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/ |
D | lint-sh.js | 22 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/ |
D | deFilePath.cpp | 259 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/ |
D | file_system.dart | 57 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/ |
D | resolutionCache.ts | 477 …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/ |
D | main.m | 63 for (NSString * dirPath in dirPathArray) { 65 tmpPath = [tmpPath stringByAppendingString:dirPath];
|
/third_party/python/Mac/BuildScript/ |
D | build-installer.py | 1676 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/ |
D | resolve.js | 275 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/ |
D | angle_deqp_gtest.cpp | 201 Optional<std::string> FindFileFromPath(const char *dirPath, const char *filePath) in FindFileFromPath() argument 204 strstr << dirPath << filePath; in FindFileFromPath()
|
/third_party/typescript/src/harness/ |
D | harnessIO.ts | 60 const dirPath = pathModule.dirname(path); constant 62 return dirPath === path ? undefined : dirPath;
|
/third_party/vk-gl-cts/scripts/android/ |
D | build_apk.py | 287 def getFiles (dirPath): argument 288 for root, dirs, files in os.walk(dirPath):
|
/third_party/typescript/lib/ |
D | typingsInstaller.js | 6203 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 …]
|
D | tsc.js | 3707 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 …]
|
D | tsserver.js | 6214 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 …]
|
D | typescriptServices.js | 6408 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 …]
|
D | tsserverlibrary.js | 6408 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 …]
|