/third_party/flatbuffers/reflection/ |
D | generate_code.sh | 20 newFile="$tempDir/reflection_generated.h" 24 if [ -f "$newFile" ]; then 25 if ! cmp -s "$originalFile" "$newFile"; then 26 mv $newFile $originalFile 28 rm $newFile
|
/third_party/node/test/parallel/ |
D | test-fs-promises-file-handle-readFile.js | 88 const newFile = path.resolve(tmpDir, 'dogs-running2.txt'); 90 fs.writeFileSync(newFile, buffer); 92 const fileHandle = await open(newFile, 'r'); 109 const newFile = path.resolve(tmpDir, 'dogs-running3.txt'); 110 await writeFile(newFile, Buffer.from('0')); 111 await truncate(newFile, kIoMaxLength + 1); 113 const fileHandle = await open(newFile, 'r');
|
D | test-fs-promises.js | 315 const newFile = path.resolve(tmpDir, 'foo.js'); 318 await writeFile(newFile, 'DAWGS WIN!', 'utf8'); 326 await unlink(newFile); 331 const newFile = path.resolve(tmpDir, 'dogs_running.js'); 332 await writeFile(newFile, 'dogs running', { encoding: null }); 333 const fileExists = fs.existsSync(newFile);
|
/third_party/boost/libs/mpl/preprocessed/ |
D | boost_mpl_preprocess.py | 29 newFile = os.path.join( sourceDir, container, container + str(i+10) + suffix ) 30 … shutil.copyfile( os.path.join( sourceDir, container, container + "20" + suffix ), newFile ) 32 for line in fileinput.input( newFile, inplace=1, mode="rU" ): 43 newFile = os.path.join( sourceDir, container, container + str(i+10) + "_c" + suffix ) 44 … shutil.copyfile( os.path.join( sourceDir, container, container + "20_c" + suffix ), newFile ) 46 for line in fileinput.input( newFile, inplace=1, mode="rU" ):
|
/third_party/skia/infra/bots/task_drivers/compile_wasm_gm_tests/ |
D | compile_wasm_gm_tests.go | 99 newFile := filepath.Join(outAbsPath, 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 | 93 String newFile = null; in main() local 102 newFile = 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/libphonenumber/migrator/src/main/java/com/google/phonenumbers/migrator/ |
D | CommandLineMain.java | 125 String newFile = mr.exportToFile(originalFile.getFileName().toString()); in printFileReport() local 129 …stem.out.println("New numbers file created at: " + System.getProperty("user.dir") + "/" + newFile); in printFileReport()
|
/third_party/flutter/flutter/packages/flutter_tools/lib/src/base/ |
D | file_system.dart | 81 final File newFile = destDir.fileSystem.file(newPath); 82 newFile.writeAsBytesSync(entity.readAsBytesSync()); 83 onFileCopied?.call(entity, newFile);
|
/third_party/skia/tools/run-wasm-gm-tests/ |
D | run-wasm-gm-tests.js | 189 const newFile = path.join(options.output, md5 + '.png'); constant 190 fs.writeFileSync(newFile, data, {
|
/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/testRunner/unittests/tsbuild/ |
D | watchMode.ts | 175 const newFile: File = { constant 239 … return changeFile(newFile.path, newFileContent, "Change to new File and build core"); 250 changeNewFile(newFile.content), 253 changeNewFile(`${newFile.content}
|
/third_party/typescript/src/harness/ |
D | virtualFileSystemWithWatch.ts | 562 const newFile = this.toFsFile({ path: newFullPath, content: file.content }); constant 563 const newPath = newFile.path; 568 this.addFileOrFolderInFolder(baseFolder, newFile);
|
/third_party/python/Lib/test/ |
D | test_urllib.py | 736 newFile = os.fdopen(newFd, "wb") 737 newFile.write(data) 738 newFile.close() 740 try: newFile.close()
|
/third_party/flutter/flutter/dev/tools/ |
D | dartdoc.dart | 325 final File newFile = File(newPath); 327 onFileCopied?.call(entity, newFile);
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/cmd/regres/ |
D | main.go | 810 newFile, err := os.Create(p) 814 defer newFile.Close() 816 encoder := json.NewEncoder(newFile)
|
/third_party/typescript/src/compiler/ |
D | program.ts | 1025 const newFile = getSourceFileByPath(oldSourceFile.resolvedPath); constant 1026 if (shouldCreateNewSourceFile || !newFile || 1028 …(oldSourceFile.resolvedPath === oldSourceFile.path && newFile.resolvedPath !== oldSourceFile.path)… 1430 const modifiedSourceFiles: { oldFile: SourceFile, newFile: SourceFile }[] = []; constant 1536 modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile }); 1543 modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile }); 1563 for (const { oldFile: oldSourceFile, newFile: newSourceFile } of modifiedSourceFiles) { constant
|
/third_party/typescript/src/server/ |
D | project.ts | 1141 const newFile = this.program.getSourceFileByPath(f.resolvedPath); constant 1142 … if (!newFile || (f.resolvedPath === f.path && newFile.resolvedPath !== f.path)) {
|
/third_party/flutter/flutter/packages/flutter_tools/lib/src/ |
D | cache.dart | 547 final File newFile = fs.file(newPath); 548 if (!newFile.existsSync()) { 549 newFile.createSync(recursive: true);
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/ |
D | RBManagerGUI.java | 1108 File newFile = saveFileChooser.getSelectedFile(); in saveResourcesAs() local 1109 String fileName = newFile.getName(); in saveResourcesAs() 1114 rbm.setFileDirectory(newFile.getParentFile()); in saveResourcesAs()
|
/third_party/typescript/src/compiler/transformers/ |
D | declarations.ts | 263 … const newFile = factory.updateSourceFile(sourceFile, [factory.createModuleDeclaration( constant 269 return newFile;
|
/third_party/typescript/lib/ |
D | tsc.js | 80789 …var newFile = factory.updateSourceFile(sourceFile, [factory.createModuleDeclaration([], [factory.c… 80790 return newFile; 87818 var newFile = getSourceFileByPath(oldSourceFile.resolvedPath); 87819 if (shouldCreateNewSourceFile || !newFile || 87820 …(oldSourceFile.resolvedPath === oldSourceFile.path && newFile.resolvedPath !== oldSourceFile.path)… 88190 modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile }); property 88194 modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile }); property 88212 … var _f = modifiedSourceFiles_1[_e], oldSourceFile = _f.oldFile, newSourceFile = _f.newFile;
|
D | typingsInstaller.js | 99067 …var newFile = factory.updateSourceFile(sourceFile, [factory.createModuleDeclaration([], [factory.c… 99068 return newFile; 106917 var newFile = getSourceFileByPath(oldSourceFile.resolvedPath); 106918 if (shouldCreateNewSourceFile || !newFile || 106920 …(oldSourceFile.resolvedPath === oldSourceFile.path && newFile.resolvedPath !== oldSourceFile.path)… 107377 modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile }); property 107383 modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile }); property 107403 … var _f = modifiedSourceFiles_1[_e], oldSourceFile = _f.oldFile, newSourceFile = _f.newFile;
|
D | tsserverlibrary.js | 99272 …var newFile = factory.updateSourceFile(sourceFile, [factory.createModuleDeclaration([], [factory.c… 99273 return newFile; 107122 var newFile = getSourceFileByPath(oldSourceFile.resolvedPath); 107123 if (shouldCreateNewSourceFile || !newFile || 107125 …(oldSourceFile.resolvedPath === oldSourceFile.path && newFile.resolvedPath !== oldSourceFile.path)… 107582 modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile }); property 107588 modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile }); property 107608 … var _f = modifiedSourceFiles_1[_e], oldSourceFile = _f.oldFile, newSourceFile = _f.newFile; 154796 var newFile = this.program.getSourceFileByPath(f.resolvedPath); 154797 … if (!newFile || (f.resolvedPath === f.path && newFile.resolvedPath !== f.path)) {
|
D | tsserver.js | 99078 …var newFile = factory.updateSourceFile(sourceFile, [factory.createModuleDeclaration([], [factory.c… 99079 return newFile; 106928 var newFile = getSourceFileByPath(oldSourceFile.resolvedPath); 106929 if (shouldCreateNewSourceFile || !newFile || 106931 …(oldSourceFile.resolvedPath === oldSourceFile.path && newFile.resolvedPath !== oldSourceFile.path)… 107388 modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile }); property 107394 modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile }); property 107414 … var _f = modifiedSourceFiles_1[_e], oldSourceFile = _f.oldFile, newSourceFile = _f.newFile; 154602 var newFile = this.program.getSourceFileByPath(f.resolvedPath); 154603 … if (!newFile || (f.resolvedPath === f.path && newFile.resolvedPath !== f.path)) {
|
/third_party/node/doc/api/ |
D | fs.md | 3134 rename('oldFile.txt', 'newFile.txt', (err) => {
|