Home
last modified time | relevance | path

Searched refs:srcFile (Results 1 – 11 of 11) sorted by relevance

/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/commands/
Dformat_test.dart29 final File srcFile = fs.file(fs.path.join(projectPath, 'lib', 'main.dart'));
30 final String original = srcFile.readAsStringSync();
31 srcFile.writeAsStringSync(original.replaceFirst('main()', 'main( )'));
35 await runner.run(<String>['format', srcFile.path]);
37 final String formatted = srcFile.readAsStringSync();
44 final File srcFile = fs.file(
46 final String nonFormatted = srcFile.readAsStringSync().replaceFirst(
48 srcFile.writeAsStringSync(nonFormatted);
52 await runner.run(<String>['format', '--dry-run', srcFile.path]);
54 final String shouldNotFormatted = srcFile.readAsStringSync();
[all …]
/third_party/lz4/tests/
DcheckFrame.c128 int frameCheck(cRess_t ress, FILE* const srcFile, unsigned bsid, size_t blockSize) in frameCheck() argument
143 readSize = fread(ress.srcBuffer, 1, ress.srcBufferSize, srcFile); in frameCheck()
195 if (ferror(srcFile)) EXM_THROW(26, "Read error"); in frameCheck()
283 FILE *srcFile; in main() local
290 srcFile = fopen(argument, "rb"); in main()
291 if ( srcFile==NULL ) { in main()
295 assert (srcFile != NULL); in main()
296 err = frameCheck(ress, srcFile, bsid, blockSize); in main()
298 fclose(srcFile); in main()
/third_party/vk-gl-cts/scripts/
Dmake_release.py111 def __init__ (self, srcFile, dstFile): argument
113 self.srcFile = srcFile
119 shutil.copyfile(self.srcFile, self.dstFile)
139 def __init__ (self, srcFile, dstFile, replaceVars): argument
141 self.srcFile = srcFile
147 src = readFile(self.srcFile)
192 def __init__ (self, srcFile, dstFile, makeTarget): argument
193 self.srcFile = srcFile
198 fullSrcPath = os.path.normpath(os.path.join(packageBuildInfo.srcBasePath, self.srcFile))
243 srcFile = os.path.normpath(os.path.join(buildRoot, "package", "bin", "dEQP-debug.apk"))
[all …]
/third_party/flutter/flutter/packages/flutter_tools/lib/src/commands/
Dide_config.dart135 final File srcFile = entity;
139 if (_isChildDirectoryOf(_templateDirectory, srcFile) ||
140 _isChildDirectoryOf(_createTemplatesDirectory, srcFile)) {
148 final bool isATrackedIdeaFile = _hasDirectoryInPath(srcFile, '.idea') &&
150 _hasDirectoryInPath(srcFile, 'runConfigurations'));
151 final bool isAnImlOutsideIdea = !isATrackedIdeaFile && srcFile.path.endsWith('.iml');
161 if (_fileIsIdentical(srcFile, finalDestinationFile)) {
182 srcFile.copySync(finalDestinationFile.path);
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DDeprecator.java171 void processFile(File srcFile, File dstFile) { in processFile() argument
173 System.out.println("process '" + srcFile.getPath() + "'"); in processFile()
177 … BufferedReader r = new BufferedReader(new InputStreamReader(new FileInputStream(srcFile))); in processFile()
/third_party/lz4/programs/
Dlz4io.c666 FILE* const srcFile = LZ4IO_openSrcFile(srcFileName); in LZ4IO_compressFilename_extRess() local
667 if (srcFile == NULL) return 1; in LZ4IO_compressFilename_extRess()
669 if (dstFile == NULL) { fclose(srcFile); return 1; } in LZ4IO_compressFilename_extRess()
681 U64 const fileSize = UTIL_getOpenFileSize(srcFile); in LZ4IO_compressFilename_extRess()
688 readSize = fread(srcBuffer, (size_t)1, blockSize, srcFile); in LZ4IO_compressFilename_extRess()
689 if (ferror(srcFile)) EXM_THROW(30, "Error reading %s ", srcFileName); in LZ4IO_compressFilename_extRess()
732 readSize = fread(srcBuffer, (size_t)1, (size_t)blockSize, srcFile); in LZ4IO_compressFilename_extRess()
735 if (ferror(srcFile)) EXM_THROW(37, "Error reading %s ", srcFileName); in LZ4IO_compressFilename_extRess()
747 fclose (srcFile); in LZ4IO_compressFilename_extRess()
1053 FILE* const srcFile, FILE* const dstFile, in LZ4IO_decompressLZ4F() argument
[all …]
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/archrast/
Darchrast.cpp121 std::ifstream srcFile; in EventHandlerApiStats() local
122 srcFile.open(eventsProtoSrcFilename.str().c_str(), std::ios::binary); in EventHandlerApiStats()
123 if (srcFile.is_open()) in EventHandlerApiStats()
128 dstFile << srcFile.rdbuf(); in EventHandlerApiStats()
131 srcFile.close(); in EventHandlerApiStats()
/third_party/typescript/src/testRunner/unittests/tsserver/
DresolutionCache.ts809 const srcFile: File = { constant
836 …const files = [...(useNodeFile ? [nodeFile] : []), electronFile, srcFile, moduleFile, configFile, …
839 … service.openClientFile(srcFile.path, srcFile.content, ScriptKind.TS, tscWatch.projectRoot);
841 … checkWatchedFilesDetailed(host, mapDefined(files, f => f === srcFile ? undefined : f.path), 1);
/third_party/flutter/flutter/packages/flutter_tools/lib/src/base/
Dfile_system.dart71 void copyDirectorySync(Directory srcDir, Directory destDir, [ void onFileCopied(File srcFile, File …
/third_party/vk-gl-cts/scripts/android/
Dbuild_apk.py514 for srcFile in srcFiles:
523 srcFile
/third_party/flutter/flutter/dev/tools/
Ddartdoc.dart315 void copyDirectorySync(Directory srcDir, Directory destDir, [void onFileCopied(File srcFile, File d…