Home
last modified time | relevance | path

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

123

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestCompositeGrammars.java54 writeFile(tmpdir, "S.g", slave); in testDelegatorInvokesDelegateRule()
74 writeFile(tmpdir, "S.g", slave); in testDelegatorInvokesDelegateRuleWithArgs()
94 writeFile(tmpdir, "S.g", slave); in testDelegatorInvokesDelegateRuleWithReturnStruct()
114 writeFile(tmpdir, "S.g", slave); in testDelegatorAccessesDelegateMembers()
131 writeFile(tmpdir, "S.g", slave); in testDelegatorInvokesFirstVersionOfDelegateRule()
135 writeFile(tmpdir, "T.g", slave2); in testDelegatorInvokesFirstVersionOfDelegateRule()
153 writeFile(tmpdir, "S.g", slave); in testDelegatesSeeSameTokenType()
159 writeFile(tmpdir, "T.g", slave2); in testDelegatesSeeSameTokenType()
193 writeFile(tmpdir, "S.g", slave); in testDelegatesSeeSameTokenType2()
199 writeFile(tmpdir, "T.g", slave2); in testDelegatesSeeSameTokenType2()
[all …]
DBaseTest.java151 writeFile(tmpdir, fileName, grammarStr); in antlr()
205 writeFile(tmpdir, "input", input); in execLexer()
229 writeFile(tmpdir, "input", input); in execParser()
297 writeFile(tmpdir, "input", input); in execTreeParser()
547 protected void writeFile(String dir, String fileName, String content) { in writeFile() method in BaseTest
604 writeFile(tmpdir, "Test.java", outputFileST.render()); in writeTestFile()
626 writeFile(tmpdir, "Test.java", outputFileST.render()); in writeLexerTestFile()
681 writeFile(tmpdir, "Test.java", outputFileST.render()); in writeTreeTestFile()
733 writeFile(tmpdir, "Test.java", outputFileST.render()); in writeTreeAndTreeTestFile()
784 writeFile(tmpdir, "Test.java", outputFileST.render()); in writeTemplateTestFile()
/external/chromium-trace/catapult/systrace/systrace/agents/
Dftrace_agent.py15 def writeFile(path, data): member in FtraceAgentIo
132 self._fio.writeFile(FT_BUFFER_SIZE, str(self._get_trace_buffer_size()))
134 self._fio.writeFile(FT_CLOCK, 'global')
135 self._fio.writeFile(FT_TRACER, 'nop')
136 self._fio.writeFile(FT_OVERWRITE, "0")
145 self._fio.writeFile(FT_TRACE, '')
150 self._fio.writeFile(FT_TRACE_ON, '1')
166 self._fio.writeFile(FT_TRACE_ON, '0')
192 self._fio.writeFile(FT_BUFFER_SIZE, "1")
241 self._fio.writeFile(path, "1")
[all …]
/external/conscrypt/src/test/java/org/conscrypt/ct/
DCTLogStoreImplTest.java91 File testFile = writeFile(LOGS_SERIALIZED[0]); in test_loadLog()
129 writeFile(log0File, LOGS_SERIALIZED[0]); in test_getKnownLog()
130 writeFile(log1File, LOGS_SERIALIZED[1]); in test_getKnownLog()
131 writeFile(log3File, ""); in test_getKnownLog()
145 writeFile(log1File, ""); in test_getKnownLog()
146 writeFile(log4File, LOGS_SERIALIZED[4]); in test_getKnownLog()
159 private File writeFile(String contents) throws IOException { in writeFile() method in CTLogStoreImplTest
162 writeFile(file, contents); in writeFile()
166 private static void writeFile(File file, String contents) throws FileNotFoundException { in writeFile() method in CTLogStoreImplTest
/external/webrtc/webrtc/tools/rtcbot/
Dtest.js141 writeFile.bind(this)();
143 fs.mkdir("test/reports/", 0777, writeFile.bind(this));
147 function writeFile () { function
148 fs.writeFile("test/reports/" + this.outputFileName_ + "_" +
/external/opencv3/modules/features2d/misc/java/test/
DFASTFeatureDetectorTest.java85 writeFile(filename, "%YAML:1.0\nthreshold: 130\nnonmaxSuppression: 1\n"); in testRead()
92 writeFile(filename, "%YAML:1.0\nthreshold: 150\nnonmaxSuppression: 1\n"); in testRead()
105 writeFile(filename, in testReadYml()
113 writeFile(filename, in testReadYml()
DSURFFeatureDetectorTest.java73writeFile(filename, "%YAML:1.0\nhessianThreshold: 8000.\noctaves: 3\noctaveLayers: 4\nupright: 0\n… in testDetectListOfMatListOfListOfKeyPoint()
100writeFile(filename, "%YAML:1.0\nhessianThreshold: 8000.\noctaves: 3\noctaveLayers: 4\nupright: 0\n… in testDetectMatListOfKeyPoint()
115writeFile(filename, "%YAML:1.0\nhessianThreshold: 8000.\noctaves: 3\noctaveLayers: 4\nupright: 0\n… in testDetectMatListOfKeyPointMat()
140writeFile(filename, "%YAML:1.0\nhessianThreshold: 8000.\noctaves: 3\noctaveLayers: 4\nupright: 0\n… in testRead()
DSURFDescriptorExtractorTest.java34writeFile(filename, "%YAML:1.0\nextended: 1\nhessianThreshold: 100.\nnOctaveLayers: 2\nnOctaves: 4… in setUp()
93 writeFile(filename, "%YAML:1.0\nnOctaves: 4\nnOctaveLayers: 2\nextended: 1\nupright: 0\n"); in testRead()
DFeatures2dTest.java89 writeFile(detectorCfgFile, detectorCfg); in testPTOD()
93 writeFile(extractorCfgFile, extractorCfg); in testPTOD()
/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/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/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()
1216 public void writeFile(File file, String content) throws Exception { in writeFile() method in DiskLruCacheTest
1253 writeFile(getCleanFile("g1", 0), "A"); in generateSomeGarbageFiles()
1254 writeFile(getCleanFile("g1", 1), "B"); in generateSomeGarbageFiles()
1255 writeFile(getCleanFile("g2", 0), "C"); in generateSomeGarbageFiles()
[all …]
/external/deqp/framework/qphelper/
Dgen_release_info.py14 def writeFile (filename, data): function
94 writeFile(dstFile, releaseInfo)
/external/javassist/sample/vector/
DVectorAssistant.java99 vec.writeFile(); in makeSubclass()
128 vec.writeFile(); in makeSubclass2()
/external/deqp/scripts/khr_util/
Dregistry_cache.py67 def writeFile (filename, data): function
82 writeFile(dstPath, data)
/external/compiler-rt/lib/profile/
DInstrProfilingFile.c33 static int writeFile(FILE *File) { in writeFile() function
53 RetVal = writeFile(OutputFile); in writeFileWithName()
/external/javassist/src/main/javassist/
DCtClass.java1296 public void writeFile() in writeFile() method in CtClass
1299 writeFile("."); in writeFile()
1311 public void writeFile(String directoryName) in writeFile() method in CtClass
1358 writeFile(directoryName); in debugWriteFile()
/external/jsilver/src/org/clearsilver/
DDelegatedHdf.java87 public boolean writeFile(String filename) throws IOException { in writeFile() method in DelegatedHdf
88 return getHdf().writeFile(filename); in writeFile()
/external/testng/src/main/java/org/testng/internal/
DUtils.java135 writeFile(outDir, fileName, escapeUnicode(sb), "UTF-8", false /* don't append */); in writeUtf8File()
146 public static void writeFile(@Nullable String outputDir, String fileName, String sb) { in writeFile() method in Utils
149 writeFile(outDir, fileName, sb, null, false /* don't append */); in writeFile()
160 …private static void writeFile(@Nullable File outDir, String fileName, String sb, @Nullable String … in writeFile() method in Utils
175 writeFile(outputFile, sb, encoding, append); in writeFile()
187 …private static void writeFile(File outputFile, String sb, @Nullable String encoding, boolean appen… in writeFile() method in Utils
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/serializable/
DSerializableChecker.java66 private void writeFile(String className, byte bytes[]) in writeFile() method in SerializableChecker
133 writeFile(className, byteOut.toByteArray()); in visit()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DCoverageTest.java66 private void writeFile(String className, byte bytes[]) in writeFile() method in CoverageTest
124 writeFile(name, bytes); in execute()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DCoverageTest.java70 private void writeFile(String className, byte bytes[]) in writeFile() method in CoverageTest
128 writeFile(name, bytes); in execute()
/external/javassist/sample/
DTest.java40 cc.writeFile(); // update the class file in main()
/external/deqp/scripts/
Dmustpass.py409 writeFile(dstFile, "\n".join(filtered) + "\n")
427 writeFile(xmlFilename, prettifyXML(packageXml))
433 writeFile(specFilename, prettifyXML(specXML))
441 writeFile(androidTestFilename, prettifyXML(androidTestXML))
/external/valgrind/VEX/orig_amd64/
DSortedToOrig.hs10 writeFile "test2.orig" x4

123