Home
last modified time | relevance | path

Searched refs:writeLines (Results 1 – 18 of 18) sorted by relevance

/external/guava/guava/src/com/google/common/io/
DCharSink.java115 public void writeLines(Iterable<? extends CharSequence> lines) throws IOException { in writeLines() method in CharSink
116 writeLines(lines, System.getProperty("line.separator")); in writeLines()
125 public void writeLines(Iterable<? extends CharSequence> lines, String lineSeparator) in writeLines() method in CharSink
127 writeLines(lines.iterator(), lineSeparator); in writeLines()
139 public void writeLines(Stream<? extends CharSequence> lines) throws IOException { in writeLines() method in CharSink
140 writeLines(lines, System.getProperty("line.separator")); in writeLines()
151 public void writeLines(Stream<? extends CharSequence> lines, String lineSeparator) in writeLines() method in CharSink
153 writeLines(lines.iterator(), lineSeparator); in writeLines()
156 private void writeLines(Iterator<? extends CharSequence> lines, String lineSeparator) in writeLines() method in CharSink
/external/guava/guava-tests/test/com/google/common/io/
DCharSinkTester.java105 sink.writeLines(lines); in testWriteLines_systemDefaultSeparator()
112 sink.writeLines(lines, separator); in testWriteLines_specificSeparator()
119 sink.writeLines(lines.stream()); in testWriteLinesStream_systemDefaultSeparator()
126 sink.writeLines(lines.stream(), separator); in testWriteLinesStream_specificSeparator()
DCharSinkTest.java82 sink.writeLines(ImmutableList.of("foo", "bar", "baz"), "\n"); in testWriteLines_withSpecificSeparator()
87 sink.writeLines(ImmutableList.of("foo", "bar", "baz")); in testWriteLines_withDefaultSeparator()
93 sink.writeLines(ImmutableList.of("foo", "bar", "baz").stream()); in testWriteLines_stream()
99 sink.writeLines(ImmutableList.of("foo", "bar", "baz").stream(), "!"); in testWriteLines_stream_separator()
/external/apache-commons-io/src/test/java/org/apache/commons/io/
DIOUtilsWriteTest.java527 IOUtils.writeLines(list, "*", out); in testWriteLines_OutputStream()
546 IOUtils.writeLines(list, "*", out, StandardCharsets.UTF_8.name()); in testWriteLines_OutputStream_Encoding()
561 IOUtils.writeLines(null, "*", out, "US-ASCII"); in testWriteLines_OutputStream_Encoding_nullData()
577 IOUtils.writeLines(list, "*", out, (String) null); in testWriteLines_OutputStream_Encoding_nullEncoding()
595 IOUtils.writeLines(list, null, out, "US-ASCII"); in testWriteLines_OutputStream_Encoding_nullSeparator()
608 … assertThrows(NullPointerException.class, () -> IOUtils.writeLines(list, "*", null, "US-ASCII")); in testWriteLines_OutputStream_Encoding_nullStream()
616 IOUtils.writeLines(null, "*", out); in testWriteLines_OutputStream_nullData()
631 IOUtils.writeLines(list, null, out); in testWriteLines_OutputStream_nullSeparator()
644 …assertThrows(NullPointerException.class, () -> IOUtils.writeLines(list, "*", (OutputStream) null)); in testWriteLines_OutputStream_nullStream()
658 IOUtils.writeLines(list, "*", writer); in testWriteLines_Writer()
[all …]
DLineIteratorTest.java73 FileUtils.writeLines(file, lines); in createLinesFile()
88 FileUtils.writeLines(file, encoding, lines); in createLinesFile()
DFileUtilsTest.java2830 FileUtils.writeLines(file, "US-ASCII", list);
2845 FileUtils.writeLines(file, linesToAppend, false);
2860 FileUtils.writeLines(file, linesToAppend, true);
2877 FileUtils.writeLines(file, "US-ASCII", list, "*");
2891 FileUtils.writeLines(file, "US-ASCII", list, null);
2903 FileUtils.writeLines(file, "US-ASCII", null, "*");
2914 FileUtils.writeLines(file, linesToAppend, null, false);
2929 FileUtils.writeLines(file, linesToAppend, null, true);
2945 FileUtils.writeLines(file, null, linesToAppend, null, false);
2960 FileUtils.writeLines(file, null, linesToAppend, null, true);
[all …]
/external/guava/android/guava/src/com/google/common/io/
DCharSink.java112 public void writeLines(Iterable<? extends CharSequence> lines) throws IOException { in writeLines() method in CharSink
113 writeLines(lines, System.getProperty("line.separator")); in writeLines()
122 public void writeLines(Iterable<? extends CharSequence> lines, String lineSeparator) in writeLines() method in CharSink
/external/apache-commons-io/src/main/java/org/apache/commons/io/
DFileUtils.java3307 public static void writeLines(final File file, final Collection<?> lines) throws IOException { in writeLines() method in FileUtils
3308 writeLines(file, null, lines, null, false); in writeLines()
3323 …public static void writeLines(final File file, final Collection<?> lines, final boolean append) th… in writeLines() method in FileUtils
3324 writeLines(file, null, lines, null, append); in writeLines()
3338 …public static void writeLines(final File file, final Collection<?> lines, final String lineEnding)… in writeLines() method in FileUtils
3339 writeLines(file, null, lines, lineEnding, false); in writeLines()
3355 …public static void writeLines(final File file, final Collection<?> lines, final String lineEnding,… in writeLines() method in FileUtils
3356 writeLines(file, null, lines, lineEnding, append); in writeLines()
3375 …public static void writeLines(final File file, final String charsetName, final Collection<?> lines… in writeLines() method in FileUtils
3376 writeLines(file, charsetName, lines, null, false); in writeLines()
[all …]
DIOUtils.java3612 public static void writeLines(final Collection<?> lines, final String lineEnding, in writeLines() method in IOUtils
3614 writeLines(lines, lineEnding, output, Charset.defaultCharset()); in writeLines()
3630 …public static void writeLines(final Collection<?> lines, String lineEnding, final OutputStream out… in writeLines() method in IOUtils
3668 public static void writeLines(final Collection<?> lines, final String lineEnding, in writeLines() method in IOUtils
3670 writeLines(lines, lineEnding, output, Charsets.toCharset(charsetName)); in writeLines()
3684 public static void writeLines(final Collection<?> lines, String lineEnding, in writeLines() method in IOUtils
/external/deqp/scripts/khr_util/
Dformat.py90 def writeLines (filename, lines): function
100 writeLines(filename, chain([header], source))
/external/guava/android/guava-tests/test/com/google/common/io/
DCharSinkTest.java82 sink.writeLines(ImmutableList.of("foo", "bar", "baz"), "\n"); in testWriteLines_withSpecificSeparator()
87 sink.writeLines(ImmutableList.of("foo", "bar", "baz")); in testWriteLines_withDefaultSeparator()
DCharSinkTester.java106 sink.writeLines(lines); in testWriteLines_systemDefaultSeparator()
113 sink.writeLines(lines, separator); in testWriteLines_specificSeparator()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/xml/
DXMLCoverageWriter.java81 writeLines(s, element); in writeSourceFile()
105 private static void writeLines(final ISourceNode source, in writeLines() method in XMLCoverageWriter
/external/rappor/bin/
Ddecode_dist.R127 writeLines(m, con = metrics_json_path)
Ddecode_assoc.R421 writeLines(toJSON(metrics), con = metrics_json_path)
/external/rappor/pipeline/
Dmetric_status.R304 writeLines(lines, con = meta_path)
/external/apache-commons-io/
DRELEASE-NOTES.txt627 o IO-329: FileUtils.writeLines uses unbuffered IO. Thanks to tivv.
1142 - writeLines(File, Collection)
1143 - writeLines(File, Collection, String)
1151 - FileUtils.writeLines
1381 - IOUtils - writeLines(Collection,lineEnding,OutputStream) [36214]
1382 - writeLines(Collection,lineEnding,OutputStream,encoding)
1383 - writeLines(Collection,lineEnding,Writer)
1410 - FileUtils - writeLines(File,encoding,List)
1411 writeLines(File,encoding,List,lineEnding)
/external/apache-commons-io/src/changes/
Drelease-notes.vm657 o IO-329: FileUtils.writeLines uses unbuffered IO. Thanks to tivv.
1172 - writeLines(File, Collection)
1173 - writeLines(File, Collection, String)
1181 - FileUtils.writeLines
1411 - IOUtils - writeLines(Collection,lineEnding,OutputStream) [36214]
1412 - writeLines(Collection,lineEnding,OutputStream,encoding)
1413 - writeLines(Collection,lineEnding,Writer)
1440 - FileUtils - writeLines(File,encoding,List)
1441 writeLines(File,encoding,List,lineEnding)