/third_party/typescript/src/services/refactors/ |
D | moveToNewFile.ts | 59 …function doChange(oldFile: SourceFile, program: Program, toMove: ToMove, changes: textChanges.Chan… 61 const usage = getUsageInfo(oldFile, toMove.all, checker); 63 const currentDirectory = getDirectoryPath(oldFile.fileName); 64 const extension = extensionFromPath(oldFile.fileName); 69 …hanges.createNewFile(oldFile, combinePaths(currentDirectory, newFileNameWithExtension), getNewStat… 71 …addNewFileToTsconfig(program, changes, oldFile.fileName, newFileNameWithExtension, hostGetCanonica… 132 …oldFile: SourceFile, usage: UsageInfo, changes: textChanges.ChangeTracker, toMove: ToMove, program… 135 const prologueDirectives = takeWhile(oldFile.statements, isPrologueDirective); 136 …if (oldFile.externalModuleIndicator === undefined && oldFile.commonJsModuleIndicator === undefined… 137 deleteMovedStatements(oldFile, toMove.ranges, changes); [all …]
|
/third_party/lzma/CPP/Windows/ |
D | FileDir.cpp | 220 bool MyMoveFile(CFSTR oldFile, CFSTR newFile) in MyMoveFile() argument 225 if (::MoveFile(fs2fas(oldFile), fs2fas(newFile))) in MyMoveFile() 231 IF_USE_MAIN_PATH_2(oldFile, newFile) in MyMoveFile() 233 if (::MoveFileW(fs2us(oldFile), fs2us(newFile))) in MyMoveFile() 240 if (GetSuperPaths(oldFile, newFile, d1, d2, USE_MAIN_PATH_2)) in MyMoveFile() 928 static BOOL My_CopyFile(CFSTR oldFile, CFSTR newFile) in My_CopyFile() argument 935 if (!inFile.Open(oldFile)) in My_CopyFile() 955 bool MyMoveFile(CFSTR oldFile, CFSTR newFile) in MyMoveFile() argument 957 int res = rename(oldFile, newFile); in MyMoveFile() 963 if (My_CopyFile(oldFile, newFile) == FALSE) in MyMoveFile() [all …]
|
/third_party/skia/infra/bots/task_drivers/compile_wasm_gm_tests/ |
D | compile_wasm_gm_tests.go | 98 oldFile := filepath.Join(workDir, name) 100 if err := os.Rename(oldFile, newFile); err != nil { 101 return td.FailStep(ctx, skerr.Wrapf(err, "copying %s to %s", oldFile, newFile))
|
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
D | ReportAPI.java | 92 String oldFile = null; in main() local 100 oldFile = args[++i]; in main() 112 new ReportAPI(oldFile, newFile, internal).writeReport(outFile, html, internal); in main() 133 ReportAPI(String oldFile, String newFile, boolean internal) { in ReportAPI() argument 134 this(APIData.read(oldFile, internal), APIData.read(newFile, internal)); in ReportAPI()
|
/third_party/typescript/src/testRunner/unittests/ |
D | reuseProgramStructure.ts | 110 let oldFile = oldProgram.getSourceFile(t.name) as SourceFileWithText; 111 if (oldFile && oldFile.redirectInfo) { 112 oldFile = oldFile.redirectInfo.unredirected; 114 if (oldFile && oldFile.sourceText!.getVersion() === t.text.getVersion()) { 115 return oldFile;
|
/third_party/node/deps/npm/test/lib/commands/ |
D | shrinkwrap.js | 37 const oldFile = resolve(npm.prefix, 'package-lock.json') constant 39 t.notOk(fs.existsSync(oldFile), 'package-lock is always deleted')
|
/third_party/typescript/src/services/ |
D | textChanges.ts | 301 …private readonly newFiles: { readonly oldFile: SourceFile | undefined, readonly fileName: string, … 950 for (const { oldFile, fileName, statements } of this.newFiles) { constant 951 …changes.push(changesToText.newFileChanges(oldFile, fileName, statements, this.newLineCharacter, th… 956 …public createNewFile(oldFile: SourceFile | undefined, fileName: string, statements: readonly (Stat… 957 this.newFiles.push({ oldFile, fileName, statements }); 1062 …export function newFileChanges(oldFile: SourceFile | undefined, fileName: string, statements: read… 1063 …const text = newFileChangesWorker(oldFile, getScriptKindFromFileName(fileName), statements, newLin… 1067 …export function newFileChangesWorker(oldFile: SourceFile | undefined, scriptKind: ScriptKind, stat… 1069 …ts.map(s => s === SyntaxKind.NewLineTrivia ? "" : getNonformattedText(s, oldFile, newLineCharacter…
|
/third_party/vk-gl-cts/scripts/ |
D | check_swiftshader_runtime.py | 480 newFile, oldFile = ARGS.files variable 481 compareRuns(str(newFile), str(oldFile))
|
/third_party/typescript/src/compiler/ |
D | program.ts | 1735 const modifiedSourceFiles: { oldFile: SourceFile, newFile: SourceFile }[] = []; 1844 modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile }); 1851 modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile }); 1862 const modifiedFiles = modifiedSourceFiles.map(f => f.oldFile); 1863 for (const oldFile of oldSourceFiles) { constant 1864 if (!contains(modifiedFiles, oldFile)) { 1865 for (const moduleName of oldFile.ambientModuleNames) { 1866 ambientModuleNameToUnmodifiedFileName.set(moduleName, oldFile.fileName); 1871 for (const { oldFile: oldSourceFile, newFile: newSourceFile } of modifiedSourceFiles) { constant 1912 oldFilesByNameMap.forEach((oldFile, path) => { [all …]
|
/third_party/typescript/lib/ |
D | tsc.js | 101567 modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile }); property 101571 modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile }); property 101578 var modifiedFiles = modifiedSourceFiles.map(function (f) { return f.oldFile; }); 101580 var oldFile = oldSourceFiles_3[_c]; 101581 if (!ts.contains(modifiedFiles, oldFile)) { 101582 for (var _d = 0, _e = oldFile.ambientModuleNames; _d < _e.length; _d++) { 101584 ambientModuleNameToUnmodifiedFileName.set(moduleName, oldFile.fileName); 101589 … var _g = modifiedSourceFiles_1[_f], oldSourceFile = _g.oldFile, newSourceFile = _g.newFile; 101624 oldFilesByNameMap.forEach(function (oldFile, path) { argument 101625 if (!oldFile) { [all …]
|
D | typingsInstaller.js | 122426 modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile }); property 122432 modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile }); property 122440 var modifiedFiles = modifiedSourceFiles.map(function (f) { return f.oldFile; }); 122442 var oldFile = oldSourceFiles_3[_c]; 122443 if (!ts.contains(modifiedFiles, oldFile)) { 122444 for (var _d = 0, _e = oldFile.ambientModuleNames; _d < _e.length; _d++) { 122446 ambientModuleNameToUnmodifiedFileName.set(moduleName, oldFile.fileName); 122452 … var _g = modifiedSourceFiles_1[_f], oldSourceFile = _g.oldFile, newSourceFile = _g.newFile; 122490 oldFilesByNameMap.forEach(function (oldFile, path) { argument 122491 if (!oldFile) { [all …]
|
/third_party/node/doc/api/ |
D | fs.md | 3929 rename('oldFile.txt', 'newFile.txt', (err) => {
|