Home
last modified time | relevance | path

Searched refs:lineIterator (Results 1 – 12 of 12) sorted by relevance

/external/google-java-format/core/src/test/java/com/google/googlejavaformat/
DNewlinesTest.java48 assertThat(ImmutableList.copyOf(Newlines.lineIterator("foo\nbar\n"))) in lines()
50 assertThat(ImmutableList.copyOf(Newlines.lineIterator("foo\nbar"))) in lines()
53 assertThat(ImmutableList.copyOf(Newlines.lineIterator("foo\rbar\r"))) in lines()
55 assertThat(ImmutableList.copyOf(Newlines.lineIterator("foo\rbar"))) in lines()
58 assertThat(ImmutableList.copyOf(Newlines.lineIterator("foo\r\nbar\r\n"))) in lines()
60 assertThat(ImmutableList.copyOf(Newlines.lineIterator("foo\r\nbar"))) in lines()
90 Iterator<String> it = Newlines.lineIterator("foo\nbar\n"); in terminalLine()
100 it = Newlines.lineIterator("foo\nbar"); in terminalLine()
/external/apache-commons-io/src/test/java/org/apache/commons/io/
DLineIteratorTest.java120 try (LineIterator iterator = FileUtils.lineIterator(testFile, encoding)) { in doTestFileWithSpecifiedLines()
145 try (LineIterator iterator = FileUtils.lineIterator(testFile, encoding)) {
230 … assertThrows(UnsupportedCharsetException.class, () -> FileUtils.lineIterator(testFile, encoding));
236 assertThrows(NoSuchFileException.class, () -> FileUtils.lineIterator(testFile, UTF_8)); in testMissingFile()
244 final LineIterator iterator = FileUtils.lineIterator(testFile); in testNextLineOnlyDefaultEncoding()
255 final LineIterator iterator = FileUtils.lineIterator(testFile, encoding); in testNextLineOnlyNullEncoding()
266 final LineIterator iterator = FileUtils.lineIterator(testFile, encoding); in testNextLineOnlyUtf8Encoding()
277 try (LineIterator iterator = FileUtils.lineIterator(testFile, encoding)) { in testNextOnly()
321 try (LineIterator iterator = FileUtils.lineIterator(testFile, encoding)) { in testValidEncoding()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/
DNewlines.java101 public static Iterator<String> lineIterator(String input) { in lineIterator() method in Newlines
/external/ktfmt/core/src/main/java/com/facebook/ktfmt/kdoc/
DKDocCommentsHelper.kt52 val it = Newlines.lineIterator(text) in rewrite()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DJavaCommentsHelper.java50 Iterator<String> it = Newlines.lineIterator(text); in rewrite()
DJavaInput.java275 setLines(ImmutableList.copyOf(Newlines.lineIterator(text))); in JavaInput()
391 Iterator<String> it = Newlines.lineIterator(originalTokText); in buildToks()
DStringWrapper.java363 Iterator<String> it = Newlines.lineIterator(input); in longLines()
/external/apache-commons-io/src/main/java/org/apache/commons/io/
DIOUtils.java1754 public static LineIterator lineIterator(final InputStream input, final Charset charset) { in lineIterator() method in IOUtils
1792 public static LineIterator lineIterator(final InputStream input, final String charsetName) { in lineIterator() method in IOUtils
1793 return lineIterator(input, Charsets.toCharset(charsetName)); in lineIterator()
1825 public static LineIterator lineIterator(final Reader reader) { in lineIterator() method in IOUtils
DFileUtils.java2111 public static LineIterator lineIterator(final File file) throws IOException { in lineIterator() method in FileUtils
2112 return lineIterator(file, null); in lineIterator()
2152 …public static LineIterator lineIterator(final File file, final String charsetName) throws IOExcept… in lineIterator() method in FileUtils
2156 return IOUtils.lineIterator(inputStream, charsetName); in lineIterator()
/external/ktfmt/core/src/main/java/com/facebook/ktfmt/format/
DKotlinInput.kt53 setLines(ImmutableList.copyOf(Newlines.lineIterator(text)))
/external/apache-commons-io/
DRELEASE-NOTES.txt35 lineIterator(java.io.InputStream, Charset)
36 lineIterator(java.io.InputStream, String)
1140 - lineIterator(File)
1276 - FileUtils.lineIterator
1277 IOUtils.lineIterator
/external/apache-commons-io/src/changes/
Drelease-notes.vm1170 - lineIterator(File)
1306 - FileUtils.lineIterator
1307 IOUtils.lineIterator