Home
last modified time | relevance | path

Searched refs:srcFile (Results 1 – 14 of 14) 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/typescript/src/linter/
DLinterRunner.ts22 export function translateDiag(srcFile: SourceFile, problemInfo: ProblemInfo): Diagnostic {
25 …return makeDiag(severity, LINTER_MSG_CODE_START /*+ problemInfo.ruleTag */, srcFile , problemInfo.…
28 export function runArkTSLinter(tsProgram: Program, host: CompilerHost, srcFile?: SourceFile): Diagn…
39 if(!!srcFile) {
40 srcFiles.push(srcFile);
DUtils.ts1232 const srcFile = sym.declarations[0].getSourceFile(); constant
1233 if (!srcFile) {
1236 const fileName = srcFile.fileName;
1246 const isTs = (ext === '.ts' && !srcFile.isDeclarationFile);
1252 !STANDARD_LIBRARIES.includes(getBaseFileName(srcFile.fileName).toLowerCase());
1267 export function getScriptKind(srcFile: SourceFile): ScriptKind {
1268 const fileName = srcFile.fileName;
1292 const srcFile = sym.declarations[0].getSourceFile(); constant
1293 return srcFile &&
1294 STANDARD_LIBRARIES.includes(getBaseFileName(srcFile.fileName).toLowerCase());
/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.c678 FILE* const srcFile = LZ4IO_openSrcFile(srcFileName); in LZ4IO_compressFilename_extRess() local
679 if (srcFile == NULL) return 1; in LZ4IO_compressFilename_extRess()
681 if (dstFile == NULL) { fclose(srcFile); return 1; } in LZ4IO_compressFilename_extRess()
693 U64 const fileSize = UTIL_getOpenFileSize(srcFile); in LZ4IO_compressFilename_extRess()
700 readSize = fread(srcBuffer, (size_t)1, blockSize, srcFile); in LZ4IO_compressFilename_extRess()
701 if (ferror(srcFile)) END_PROCESS(40, "Error reading %s ", srcFileName); in LZ4IO_compressFilename_extRess()
744 readSize = fread(srcBuffer, (size_t)1, (size_t)blockSize, srcFile); in LZ4IO_compressFilename_extRess()
747 if (ferror(srcFile)) END_PROCESS(47, "Error reading %s ", srcFileName); in LZ4IO_compressFilename_extRess()
759 fclose (srcFile); in LZ4IO_compressFilename_extRess()
1069 FILE* const srcFile, FILE* const dstFile, in LZ4IO_decompressLZ4F() argument
[all …]
/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…
/third_party/typescript/tests/baselines/reference/api/
Dtypescript.d.ts7795 function getScriptKind(srcFile: SourceFile): ScriptKind;
7980 function translateDiag(srcFile: SourceFile, problemInfo: ProblemInfo): Diagnostic;
7981 …function runArkTSLinter(tsProgram: Program, host: CompilerHost, srcFile?: SourceFile): Diagnostic[…
Dtsserverlibrary.d.ts11578 function getScriptKind(srcFile: SourceFile): ScriptKind;
11763 function translateDiag(srcFile: SourceFile, problemInfo: ProblemInfo): Diagnostic;
11764 …function runArkTSLinter(tsProgram: Program, host: CompilerHost, srcFile?: SourceFile): Diagnostic[…