Home
last modified time | relevance | path

Searched refs:writeFile (Results 1 – 25 of 108) sorted by relevance

12345

/external/antlr/tool/src/test/java/org/antlr/test/
DTestCompositeGrammars.java56 writeFile(tmpdir, "S.g", slave); in testDelegatorInvokesDelegateRule()
76 writeFile(tmpdir, "S.g", slave); in testDelegatorInvokesDelegateRuleWithArgs()
96 writeFile(tmpdir, "S.g", slave); in testDelegatorInvokesDelegateRuleWithReturnStruct()
116 writeFile(tmpdir, "S.g", slave); in testDelegatorAccessesDelegateMembers()
133 writeFile(tmpdir, "S.g", slave); in testDelegatorInvokesFirstVersionOfDelegateRule()
137 writeFile(tmpdir, "T.g", slave2); in testDelegatorInvokesFirstVersionOfDelegateRule()
155 writeFile(tmpdir, "S.g", slave); in testDelegatesSeeSameTokenType()
161 writeFile(tmpdir, "T.g", slave2); in testDelegatesSeeSameTokenType()
195 writeFile(tmpdir, "S.g", slave); in testDelegatesSeeSameTokenType2()
201 writeFile(tmpdir, "T.g", slave2); in testDelegatesSeeSameTokenType2()
[all …]
DBaseTest.java167 writeFile(tmpdir, fileName, grammarStr); in antlr()
223 writeFile(tmpdir, "input", input); in execLexer()
249 writeFile(tmpdir, "input", input); in execParser()
319 writeFile(tmpdir, "input", input); in execTreeParser()
642 protected void writeFile(String dir, String fileName, String content) { in writeFile() method in BaseTest
699 writeFile(tmpdir, "Test.java", outputFileST.render()); in writeTestFile()
721 writeFile(tmpdir, "Test.java", outputFileST.render()); in writeLexerTestFile()
776 writeFile(tmpdir, "Test.java", outputFileST.render()); in writeTreeTestFile()
828 writeFile(tmpdir, "Test.java", outputFileST.render()); in writeTreeAndTreeTestFile()
879 writeFile(tmpdir, "Test.java", outputFileST.render()); in writeTemplateTestFile()
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Dftrace_agent.py15 def writeFile(path, data): member in FtraceAgentIo
163 self._fio.writeFile(FT_BUFFER_SIZE,
165 self._fio.writeFile(FT_CLOCK, 'global')
166 self._fio.writeFile(FT_TRACER, 'nop')
167 self._fio.writeFile(FT_OVERWRITE, "0")
179 self._fio.writeFile(FT_TRACE, '')
180 self._fio.writeFile(FT_TRACE_ON, '1')
191 self._fio.writeFile(FT_TRACE_ON, '0')
200 self._fio.writeFile(FT_BUFFER_SIZE, "1")
254 self._fio.writeFile(path, "1")
[all …]
/external/javassist/src/test/javassist/
DJvstTest2.java40 cc.writeFile(); in testInsertAt()
68 cc.writeFile(); in testInsertLocal()
108 cc.writeFile(); in testStaticMember()
148 cc.writeFile(); in testStaticMember2()
164 cc.writeFile(); in testSuperCall()
178 intf.writeFile(); in testSetSuper()
179 cc2.writeFile(); in testSetSuper()
180 cc.writeFile(); in testSetSuper()
195 cc.writeFile(); in testReplaceClassName()
222 cc.writeFile(); in testCodeGen()
[all …]
DJvstTest.java48 cc.writeFile(); in testDefreeze()
145 cc.writeFile(); in testFieldInit()
165 cc.writeFile(); in testFieldInit2()
209 cc.writeFile(); in testCalleeBefore()
227 cc.writeFile(); in testCalleeAfter()
255 cc.writeFile(); in testCalleeAfter2()
270 cc.writeFile(); in testCalleeAfter3()
282 cc.writeFile(); in testCalleeCatch()
310 cc.writeFile(); in testProceed()
354 cc.writeFile(); in testProceed2()
[all …]
DJvstTest5.java30 cc.writeFile(); in testDollarClassInStaticMethod()
44 cc.writeFile(); in testSuperDefaultMethodCall()
54 cc.writeFile(); in testTypeAnno()
65 cc.writeFile(); in testJIRA241()
103 cc.writeFile(); in testJIRA242()
112 cc.writeFile(); in testJIRA249()
134 cc.writeFile(); in testInnerClassAttributeRemove()
144 cc.writeFile(); in testJIRA248()
172 cc.writeFile(); in testJIRA256()
187 cc.writeFile(); in testJIRA250()
[all …]
DJvstTest3.java158 cc.writeFile(); in testInnerClassMethod()
195 cc.writeFile(); in testReplaceNew()
226 cc.writeFile(); in testPublicInner()
227 jp.writeFile(); in testPublicInner()
271 cc2.writeFile(); in testConstructorToMethod()
377 cc.writeFile(); in testRecursiveReplace()
411 cc.writeFile(); in testRecursiveReplace2()
434 cc.writeFile(); in testMethodLookup()
584 cc.writeFile(); in testMethodRedirect2()
634 cc.writeFile(); in testTransformRead()
[all …]
DJvstTest4.java33 cc.writeFile(); in testInsertLocalVars()
48 cc.writeFile(); in testCodeConv()
64 cc.writeFile(); in testCodeConv2()
95 cc.writeFile(); in testInsGap()
131 cc.writeFile(); in testRename()
135 cc2.writeFile(); in testRename()
145 cc.writeFile(); in testRename2()
163 cc.writeFile(); in testJIRA93()
176 cc.writeFile(); in testNewRemover()
282 sub.writeFile(); in testClassFileWriter2()
[all …]
DBench.java54 cc.writeFile(); in testProceed()
82 cc.writeFile();
102 cc.writeFile();
/external/conscrypt/platform/src/test/java/org/conscrypt/ct/
DCTLogStoreImplTest.java98 File testFile = writeFile(LOGS_SERIALIZED[0]); in test_loadLog()
137 writeFile(log0File, LOGS_SERIALIZED[0]); in test_getKnownLog()
138 writeFile(log1File, LOGS_SERIALIZED[1]); in test_getKnownLog()
139 writeFile(log3File, ""); in test_getKnownLog()
155 writeFile(log1File, ""); in test_getKnownLog()
156 writeFile(log4File, LOGS_SERIALIZED[4]); in test_getKnownLog()
175 private File writeFile(String contents) throws IOException { in writeFile() method in CTLogStoreImplTest
178 writeFile(file, contents); in writeFile()
182 private static void writeFile(File file, String contents) throws FileNotFoundException { in writeFile() method in CTLogStoreImplTest
/external/conscrypt/repackaged/platform/src/test/java/com/android/org/conscrypt/ct/
DCTLogStoreImplTest.java102 File testFile = writeFile(LOGS_SERIALIZED[0]); in test_loadLog()
141 writeFile(log0File, LOGS_SERIALIZED[0]); in test_getKnownLog()
142 writeFile(log1File, LOGS_SERIALIZED[1]); in test_getKnownLog()
143 writeFile(log3File, ""); in test_getKnownLog()
159 writeFile(log1File, ""); in test_getKnownLog()
160 writeFile(log4File, LOGS_SERIALIZED[4]); in test_getKnownLog()
179 private File writeFile(String contents) throws IOException { in writeFile() method in CTLogStoreImplTest
182 writeFile(file, contents); in writeFile()
186 private static void writeFile(File file, String contents) throws FileNotFoundException { in writeFile() method in CTLogStoreImplTest
/external/dagger2/java/dagger/android/internal/proguard/
DProguardProcessor.java72 writeFile(filer, "com.android.tools/proguard", errorProneRule); in generate()
73 writeFile(filer, "com.android.tools/r8", errorProneRule + androidInjectionKeysRule); in generate()
74 writeFile(filer, "proguard", errorProneRule); in generate()
77 private static void writeFile(Filer filer, String intermediatePath, String contents) { in writeFile() method in ProguardProcessor
/external/javassist/src/test/javassist/bytecode/
DStackMapTest.java111 cc.writeFile("rebuild"); in main()
148 cc.writeFile(); in testRebuild()
184 cc.writeFile(); in testRebuild2()
204 cc.writeFile(); in testRebuild3()
243 cc.writeFile(); in testRebuildArray()
303 cc.writeFile(); in testRebuildConstructor()
330 cc.writeFile(); in testRebuildConstructor2()
357 cc.writeFile(); in testSwitchCase()
397 cc.writeFile(); in testSwitchCase2()
437 cc.writeFile(); in testSwitchCase3()
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
DCopySubdivisionsIntoMain.java137 writeFile(MAIN_TARGET_DIR, localeId, mainFileOut); in doAfter()
143 writeFile(SUBDIVISION_TARGET_DIR, localeId, subdivisionFile); in doAfter()
190 writeFile(MAIN_TARGET_DIR, fileName, cldrFile); in doBefore()
199 writeFile(CLDRPaths.SUBDIVISIONS_DIRECTORY, fileName, sd); in doBefore()
204 private static void writeFile(String directory, String fileName, CLDRFile cldrFile) { in writeFile() method in CopySubdivisionsIntoMain
/external/testng/src/main/java/org/testng/
DConverter.java74 writeFile(newFile, Yaml.toYaml(suite).toString()); in run()
78 writeFile(newFile, suite.toXml()); in run()
92 private void writeFile(File newFile, String content) throws IOException { in writeFile() method in Converter
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DWriterMachO.cpp30 llvm::Error writeFile(const lld::File &file, StringRef path) override { in writeFile() function in lld::mach_o::MachOWriter
40 if (auto ec = yamlWriter->writeFile(file, "-")) in writeFile()
/external/python/cpython2/Lib/test/
Dtest_mhlib.py34 def writeFile(fname, contents): function
50 writeFile(_mhprofile, "".join(contents))
54 writeFile(os.path.join(_mhpath, "context"),
59 writeFile(os.path.join(_mhpath, folder, ".mh_sequences"),
67 writeFile(os.path.join(_mhpath, folder, str(n)), contents)
/external/testng/src/main/java/org/testng/reporters/
DSuiteHTMLReporter.java102 Utils.writeFile(getOutputDirectory(xmlSuite), TESTNG_XML, sb.toString()); in generateXmlFile()
171 Utils.writeFile(m_outputDirectory, "index.html", sb.toString()); in generateIndex()
191 Utils.writeFile(getOutputDirectory(xmlSuite), METHODS_NOT_RUN, sb2.toString()); in generateExcludedMethodsReport()
209 Utils.writeFile(getOutputDirectory(xmlSuite), REPORTER_OUTPUT, sb.toString()); in generateReporterOutput()
227 Utils.writeFile(getOutputDirectory(xmlSuite), CLASSES, sb.toString()); in generateClasses()
534 Utils.writeFile(getOutputDirectory(xmlSuite), GROUPS, sb.toString()); in generateMethodsAndGroups()
547 Utils.writeFile(getOutputDirectory(xmlSuite), "index.html", index.toString()); in generateIndex()
561 Utils.writeFile(getOutputDirectory(xmlSuite), "main.html", index.toString()); in generateMain()
669 Utils.writeFile(getOutputDirectory(xmlSuite), "toc.html", tableOfContents.toString()); in generateTableOfContents()
732 …Utils.writeFile(getOutputDirectory(xmlSuite), testContext.getName() + ".properties", sb.toString()… in generateSuites()
/external/llvm-project/lld/lib/Core/
DLinkingContext.cpp26 llvm::Error LinkingContext::writeFile(const File &linkedFile) const { in writeFile() function in lld::LinkingContext
27 return this->writer().writeFile(linkedFile, _outputPath); in writeFile()
/external/toolchain-utils/compiler_wrapper/
Dcros_host_config_test.go26 ctx.writeFile(gomaPath, "")
56 ctx.writeFile(gomaPath, "")
Dcros_hardened_config_test.go45 ctx.writeFile(gomaPath, "")
70 ctx.writeFile(gomaPath, "")
85 ctx.writeFile(gomaPath, "")
224 ctx.writeFile(filepath.Join(ctx.tempDir, "/pathenv/x86_64-cros-linux-gnu-gcc"), "")
261 ctx.writeFile(filepath.Join(ctx.tempDir, "/pathenv/x86_64-cros-linux-gnu-clang"), "")
Dandroid_config_test.go35 ctx.writeFile(gomaPath, "")
41 ctx.writeFile(filepath.Join(ctx.tempDir, "/pathenv/clang"), "")
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DDiskLruCacheTest.java321 writeFile(cleanFile0, "A"); in openWithDirtyKeyDeletesAllFilesForThatKey()
322 writeFile(cleanFile1, "B"); in openWithDirtyKeyDeletesAllFilesForThatKey()
323 writeFile(dirtyFile0, "C"); in openWithDirtyKeyDeletesAllFilesForThatKey()
324 writeFile(dirtyFile1, "D"); in openWithDirtyKeyDeletesAllFilesForThatKey()
386 writeFile(getCleanFile("k1", 0), "A"); in openWithTruncatedLineDiscardsThatLine()
387 writeFile(getCleanFile("k1", 1), "B"); in openWithTruncatedLineDiscardsThatLine()
1290 public void writeFile(File file, String content) throws Exception { in writeFile() method in DiskLruCacheTest
1327 writeFile(getCleanFile("g1", 0), "A"); in generateSomeGarbageFiles()
1328 writeFile(getCleanFile("g1", 1), "B"); in generateSomeGarbageFiles()
1329 writeFile(getCleanFile("g2", 0), "C"); in generateSomeGarbageFiles()
[all …]
/external/deqp/scripts/
Dgen_android_bp.py27 from build.common import DEQP_DIR, writeFile
152 writeFile(os.path.join(DEQP_DIR, "AndroidGen.bp"), androidBpText)
/external/javassist/sample/vector/
DVectorAssistant.java99 vec.writeFile(); in makeSubclass()
128 vec.writeFile(); in makeSubclass2()

12345