Home
last modified time | relevance | path

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

123

/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/conscrypt/repackaged/platform/src/test/java/com/android/org/conscrypt/ct/
DCTLogStoreImplTest.java100 File testFile = writeFile(LOGS_SERIALIZED[0]); in test_loadLog()
138 writeFile(log0File, LOGS_SERIALIZED[0]); in test_getKnownLog()
139 writeFile(log1File, LOGS_SERIALIZED[1]); in test_getKnownLog()
140 writeFile(log3File, ""); in test_getKnownLog()
156 writeFile(log1File, ""); in test_getKnownLog()
157 writeFile(log4File, LOGS_SERIALIZED[4]); in test_getKnownLog()
176 private File writeFile(String contents) throws IOException { in writeFile() method in CTLogStoreImplTest
179 writeFile(file, contents); in writeFile()
183 private static void writeFile(File file, String contents) throws FileNotFoundException { in writeFile() method in CTLogStoreImplTest
/external/conscrypt/platform/src/test/java/org/conscrypt/ct/
DCTLogStoreImplTest.java96 File testFile = writeFile(LOGS_SERIALIZED[0]); in test_loadLog()
134 writeFile(log0File, LOGS_SERIALIZED[0]); in test_getKnownLog()
135 writeFile(log1File, LOGS_SERIALIZED[1]); in test_getKnownLog()
136 writeFile(log3File, ""); in test_getKnownLog()
152 writeFile(log1File, ""); in test_getKnownLog()
153 writeFile(log4File, LOGS_SERIALIZED[4]); in test_getKnownLog()
172 private File writeFile(String contents) throws IOException { in writeFile() method in CTLogStoreImplTest
175 writeFile(file, contents); in writeFile()
179 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/cldr/tools/java/org/unicode/cldr/tool/
DCopySubdivisionsIntoMain.java133 writeFile(MAIN_TARGET_DIR, localeId, mainFileOut); in doAfter()
139 writeFile(SUBDIVISION_TARGET_DIR, localeId, subdivisionFile); in doAfter()
182 writeFile(MAIN_TARGET_DIR, locale, cldrFile); in doBefore()
187 private static void writeFile(String directory, String locale, CLDRFile cldrFile) { in writeFile() method in CopySubdivisionsIntoMain
DPivotData.java168 writeFile(newFile); in writePivot()
179 writeFile(newFile); in writePivot()
191 writeFile(newFile); in writePivot()
255 private void writeFile(CLDRFile newFile) throws IOException { in writeFile() method in PivotData
/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/brotli/research/
Ddictionary_generator.cc57 static void writeFile(const char* file, const std::string& content) { in writeFile() function
212 writeFile(argv[dictionaryArg], sieve_generate( in main()
215 writeFile(argv[dictionaryArg], DM_generate( in main()
218 writeFile(argv[dictionaryArg], durchschlag_generate( in main()
/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/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/archive-patcher/integrationtest/src/test/java/com/google/archivepatcher/integrationtest/
DFileByFileV1IntegrationTest.java132 private static void writeFile(File file, byte[] content) throws IOException { in writeFile() method in FileByFileV1IntegrationTest
160 writeFile(oldFile, oldArchiveBytes); in testPatchAndApply()
180 writeFile(newFile, newArchiveBytes); in testPatchAndApply()
/external/deqp/scripts/
Dgen_android_bp.py27 from build.common import DEQP_DIR, writeFile
150 writeFile(os.path.join(DEQP_DIR, "AndroidGen.bp"), androidBpText)
Dmustpass.py363 writeFile(dstFile, "\n".join(filtered) + "\n")
369 writeFile(specFilename, prettifyXML(specXML))
377 writeFile(androidTestFilename, prettifyXML(androidTestXML))
/external/syzkaller/sys/syz-sysgen/
Dsysgen.go252 writeFile(filepath.FromSlash("executor/defs.h"), buf.Bytes())
257 writeFile(filepath.FromSlash("executor/syscalls.h"), buf.Bytes())
269 writeFile(file, src)
272 func writeFile(file string, data []byte) { func
/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/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()
DHDF.java56 boolean writeFile(String filename) throws IOException; in writeFile() method
/external/deqp/framework/qphelper/
Dgen_release_info.py34 def writeFile (filename, data): function
136 writeFile(dstFile, releaseInfo)
/external/deqp/scripts/khr_util/
Dregistry_cache.py104 def writeFile (filename, data): function
119 writeFile(dstPath, data)
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/serializable/
DSerializableChecker.java68 private void writeFile(String className, byte bytes[]) in writeFile() method in SerializableChecker
135 writeFile(className, byteOut.toByteArray()); in visit()
/external/libaom/libaom/tools/
Dinspect-cli.js31 Module.FS.writeFile("/tmp/input.ivf", buffer, { encoding: "binary" });
/external/deqp/external/
Dfetch_sources.py107 writeFile(self.getExtractedChecksumFilePath(), checksum_bytes)
140 writeFile(dstPath, data)
228 writeFile(dstPath, data)

123