Home
last modified time | relevance | path

Searched refs:newFile (Results 1 – 25 of 27) sorted by relevance

12

/third_party/flatbuffers/reflection/
Dgenerate_code.sh20 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/
Dtest-fs-promises-file-handle-readFile.js88 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');
Dtest-fs-promises.js315 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/
Dboost_mpl_preprocess.py29 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/
Dcompile_wasm_gm_tests.go99 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/
DReportAPI.java93 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/
DCommandLineMain.java125 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/
Dfile_system.dart81 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/
Drun-wasm-gm-tests.js189 const newFile = path.join(options.output, md5 + '.png'); constant
190 fs.writeFileSync(newFile, data, {
/third_party/vk-gl-cts/scripts/
Dcheck_swiftshader_runtime.py480 newFile, oldFile = ARGS.files variable
481 compareRuns(str(newFile), str(oldFile))
/third_party/typescript/src/testRunner/unittests/tsbuild/
DwatchMode.ts175 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/
DvirtualFileSystemWithWatch.ts562 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/
Dtest_urllib.py736 newFile = os.fdopen(newFd, "wb")
737 newFile.write(data)
738 newFile.close()
740 try: newFile.close()
/third_party/flutter/flutter/dev/tools/
Ddartdoc.dart325 final File newFile = File(newPath);
327 onFileCopied?.call(entity, newFile);
/third_party/skia/third_party/externals/swiftshader/tests/regres/cmd/regres/
Dmain.go810 newFile, err := os.Create(p)
814 defer newFile.Close()
816 encoder := json.NewEncoder(newFile)
/third_party/typescript/src/compiler/
Dprogram.ts1025 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/
Dproject.ts1141 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/
Dcache.dart547 final File newFile = fs.file(newPath);
548 if (!newFile.existsSync()) {
549 newFile.createSync(recursive: true);
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/
DRBManagerGUI.java1108 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/
Ddeclarations.ts263 … const newFile = factory.updateSourceFile(sourceFile, [factory.createModuleDeclaration( constant
269 return newFile;
/third_party/typescript/lib/
Dtsc.js80789 …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;
DtypingsInstaller.js99067 …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;
Dtsserverlibrary.js99272 …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)) {
Dtsserver.js99078 …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/
Dfs.md3134 rename('oldFile.txt', 'newFile.txt', (err) => {

12