Home
last modified time | relevance | path

Searched refs:readLines (Results 1 – 25 of 71) sorted by relevance

123

/external/caliper/caliper/src/test/java/com/google/caliper/bridge/
DLogMessageParserTest.java57 List<String> lines = Resources.readLines( in gcPatten_jdk6()
65 List<String> lines = Resources.readLines( in gcPatten_jdk7()
86 List<String> lines = Resources.readLines( in jitPattern_jdk6()
94 List<String> lines = Resources.readLines( in jitPattern_jdk7()
102 List<String> lines = Resources.readLines( in vmOptionPattern_jdk6()
110 List<String> lines = Resources.readLines( in vmOptionPattern_jdk7()
/external/guava/guava/src/com/google/common/io/
DResources.java124 public static <T> T readLines(URL url, Charset charset, LineProcessor<T> callback) in readLines() method in Resources
126 return asCharSource(url, charset).readLines(callback); in readLines()
142 public static List<String> readLines(URL url, Charset charset) throws IOException { in readLines() method in Resources
145 return readLines( in readLines()
DCharSource.java321 public ImmutableList<String> readLines() throws IOException {
354 public <T> T readLines(LineProcessor<T> processor) throws IOException {
360 return CharStreams.readLines(reader, processor);
591 public ImmutableList<String> readLines() {
596 public <T> T readLines(LineProcessor<T> processor) throws IOException {
DFiles.java554 public static List<String> readLines(File file, Charset charset) throws IOException { in readLines() method in Files
558 .readLines( in readLines()
592 static <T> T readLines(File file, Charset charset, LineProcessor<T> callback) throws IOException { in readLines() method
593 return asCharSource(file, charset).readLines(callback); in readLines()
DCharStreams.java197 public static List<String> readLines(Readable r) throws IOException { in readLines() method in CharStreams
218 public static <T> T readLines(Readable readable, LineProcessor<T> processor) throws IOException { in readLines() method in CharStreams
/external/guava/android/guava/src/com/google/common/io/
DResources.java124 public static <T> T readLines(URL url, Charset charset, LineProcessor<T> callback) in readLines() method in Resources
126 return asCharSource(url, charset).readLines(callback); in readLines()
142 public static List<String> readLines(URL url, Charset charset) throws IOException { in readLines() method in Resources
145 return readLines( in readLines()
DCharSource.java275 public ImmutableList<String> readLines() throws IOException { in readLines() method in CharSource
308 public <T> T readLines(LineProcessor<T> processor) throws IOException { in readLines() method in CharSource
314 return CharStreams.readLines(reader, processor); in readLines()
517 public ImmutableList<String> readLines() { in readLines() method in CharSource
522 public <T> T readLines(LineProcessor<T> processor) throws IOException { in readLines() method in CharSource
DFiles.java554 public static List<String> readLines(File file, Charset charset) throws IOException { in readLines() method in Files
558 .readLines( in readLines()
592 static <T> T readLines(File file, Charset charset, LineProcessor<T> callback) throws IOException { in readLines() method
593 return asCharSource(file, charset).readLines(callback); in readLines()
DCharStreams.java197 public static List<String> readLines(Readable r) throws IOException { in readLines() method in CharStreams
218 public static <T> T readLines(Readable readable, LineProcessor<T> processor) throws IOException { in readLines() method in CharStreams
/external/okio/samples/src/jvmMain/kotlin/okio/samples/
DReadFileLineByLine.kt24 fun readLines(file: File) { in <lambda>() method
38 readLines(File("../README.md")) in main()
/external/okio/samples/src/jvmMain/java/okio/samples/
DReadFileLineByLine.java26 readLines(new File("../README.md")); in run()
29 public void readLines(File file) throws IOException { in readLines() method in ReadFileLineByLine
/external/dokka/runners/gradle-integration-tests/src/test/kotlin/org/jetbrains/dokka/gradle/
DAbstractDokkaAndroidGradleTest.kt8 …override val pluginClasspath: List<File> = androidPluginClasspathData.toFile().readLines().map { F… in <lambda>()
16 val lines = it.readLines().map { it.trim() } in <lambda>()
/external/kotlinx.atomicfu/atomicfu-gradle-plugin/src/test/kotlin/kotlinx/atomicfu/plugin/gradle/
DMppProjectTest.kt29 … .readLines().asSequence().flatMapTo(HashSet()) { File(it).walk().filter(File::isFile) } in <lambda>()
31 … .readLines().asSequence().flatMapTo(HashSet()) { File(it).walk().filter(File::isFile) } in <lambda>()
DJsProjectTest.kt25 … .readLines().asSequence().flatMap { File(it).walk().filter(File::isFile) }.toHashSet() in <lambda>()
/external/kotlinc/lib/
Dkotlin-stdlib-jdk7.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/kotlin-stdlib- ...
/external/guava/android/guava-tests/test/com/google/common/io/
DCharStreamsTest.java45 List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc")); in testReadLines()
72 CharStreams.readLines(r, alwaysFalse).intValue()); in testReadLines_withLineProcessor()
94 CharStreams.readLines(r, alwaysTrue).intValue()); in testReadLines_withLineProcessor()
115 assertEquals(2, CharStreams.readLines(r, conditional).intValue()); in testReadLines_withLineProcessor()
DCharSourceTester.java154 assertExpectedLines(source.readLines()); in testReadLines_toList()
174 source.readLines( in testReadLines_withProcessor()
195 source.readLines( in testReadLines_withProcessor_stopsOnFalse()
DResourcesTest.java73 assertEquals(ImmutableList.of(I18N), Resources.readLines(resource, Charsets.UTF_8)); in testReadLines()
94 Resources.readLines(resource, Charsets.US_ASCII, collectAndLowercaseAndTrim); in testReadLines_withLineProcessor()
DCharSourceTest.java124 assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), lines.readLines()); in testReadLines_toList()
131 lines.readLines( in testReadLines_withProcessor()
153 lines.readLines( in testReadLines_withProcessor_stopsOnFalse()
/external/guava/guava-tests/test/com/google/common/io/
DCharStreamsTest.java45 List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc")); in testReadLines()
72 CharStreams.readLines(r, alwaysFalse).intValue()); in testReadLines_withLineProcessor()
94 CharStreams.readLines(r, alwaysTrue).intValue()); in testReadLines_withLineProcessor()
115 assertEquals(2, CharStreams.readLines(r, conditional).intValue()); in testReadLines_withLineProcessor()
DCharSourceTester.java163 assertExpectedLines(source.readLines()); in testReadLines_toList()
183 source.readLines( in testReadLines_withProcessor()
204 source.readLines( in testReadLines_withProcessor_stopsOnFalse()
DResourcesTest.java73 assertEquals(ImmutableList.of(I18N), Resources.readLines(resource, Charsets.UTF_8)); in testReadLines()
94 Resources.readLines(resource, Charsets.US_ASCII, collectAndLowercaseAndTrim); in testReadLines_withLineProcessor()
/external/mockito/src/main/java/org/mockito/internal/configuration/plugins/
DPluginFileReader.java14 for(String line: IOUtil.readLines(input)) { in readPluginClass()
/external/mockito/src/test/java/org/mockito/internal/util/io/
DIOUtilTest.java35 assertEquals(asList("foo", "", "bar"), IOUtil.readLines(new FileInputStream(file))); in writes_reads_files()
/external/mockito/src/main/java/org/mockito/internal/util/io/
DIOUtil.java34 public static Collection<String> readLines(InputStream is) { in readLines() method in IOUtil

123