Home
last modified time | relevance | path

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

/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.java127 public static <T> T readLines(URL url, Charset charset, in readLines() method in Resources
129 return asCharSource(url, charset).readLines(callback); in readLines()
147 public static List<String> readLines(URL url, Charset charset) in readLines() method in Resources
151 return readLines(url, charset, new LineProcessor<List<String>>() { in readLines()
DCharSource.java187 public ImmutableList<String> readLines() throws IOException { in readLines() method in CharSource
219 public <T> T readLines(LineProcessor<T> processor) throws IOException { in readLines() method in CharSource
225 return CharStreams.readLines(reader, processor); in readLines()
386 public ImmutableList<String> readLines() {
391 public <T> T readLines(LineProcessor<T> processor) throws IOException {
DCharStreams.java116 public static List<String> readLines(Readable r) throws IOException { in readLines() method in CharStreams
136 public static <T> T readLines( in readLines() method in CharStreams
DFiles.java531 public static List<String> readLines(File file, Charset charset) in readLines() method in Files
535 return readLines(file, charset, new LineProcessor<List<String>>() { in readLines()
562 public static <T> T readLines(File file, Charset charset, in readLines() method
564 return asCharSource(file, charset).readLines(callback); in readLines()
/external/guava/guava-tests/test/com/google/common/io/
DCharStreamsTest.java63 List<String> lines = CharStreams.readLines( in testReadLines()
86 CharStreams.readLines(r, alwaysFalse).intValue()); in testReadLines_withLineProcessor()
103 CharStreams.readLines(r, alwaysTrue).intValue()); in testReadLines_withLineProcessor()
121 assertEquals(2, CharStreams.readLines(r, conditional).intValue()); in testReadLines_withLineProcessor()
DCharSourceTester.java138 assertExpectedLines(source.readLines()); in testReadLines_toList()
146 List<String> list = source.readLines(new LineProcessor<List<String>>() { in testReadLines_withProcessor()
165 List<String> list = source.readLines(new LineProcessor<List<String>>() { in testReadLines_withProcessor_stopsOnFalse()
DResourcesTest.java73 Resources.readLines(resource, Charsets.UTF_8)); in testReadLines()
92 List<String> result = Resources.readLines(resource, Charsets.US_ASCII, in testReadLines_withLineProcessor()
DCharSourceTest.java119 assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), lines.readLines()); in testReadLines_toList()
125 List<String> list = lines.readLines(new LineProcessor<List<String>>() { in testReadLines_withProcessor()
145 List<String> list = lines.readLines(new LineProcessor<List<String>>() { in testReadLines_withProcessor_stopsOnFalse()
DFilesTest.java503 assertTrue(Files.readLines(temp, Charsets.UTF_8).isEmpty()); in testLineReading()
514 Files.readLines(temp, Charsets.UTF_8)); in testLineReading()
535 assertThat(Files.readLines(temp, Charsets.UTF_8, collect)).isEmpty(); in testReadLines_withLineProcessor()
543 Files.readLines(temp, Charsets.UTF_8, collect); in testReadLines_withLineProcessor()
564 Files.readLines(temp, Charsets.UTF_8, collectNonEmptyLines); in testReadLines_withLineProcessor()
DSourceSinkTester.java102 }.readLines(); in getLines() method in SourceSinkTester
DFilesSimplifyPathTest.java299 for (String line : Resources.readLines(url, UTF_8)) { in doExtensiveTest()
/external/mockito/src/main/java/org/mockito/internal/configuration/plugins/
DPluginFileReader.java14 for(String line: IOUtil.readLines(input)) { in readPluginClass()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DTypeLocator.java130 String[] lines = readLines(path); in readTypeLocators()
142 static String[] readLines(Path path) { in readLines() method in TypeLocator
DBodyDeclarationLocators.java215 return createLocatorsFromStrings(TypeLocator.readLines(path)); in readBodyDeclarationLocators()
/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/catch2/scripts/
DupdateDocumentToC.py42 def readLines(in_file): function
324 removeToC(readLines(input_file)),
/external/mockito/src/main/java/org/mockito/internal/util/io/
DIOUtil.java34 public static Collection<String> readLines(InputStream is) { in readLines() method in IOUtil
/external/okhttp/okio/okio/src/test/java/okio/
DReadUtf8LineTest.java93 @Test public void readLines() throws IOException {
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DEnvironmentGetter.java104 List<String> lines = Files.readLines(new File(file), Charset.defaultCharset()); in propertiesFromLinuxFile()
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DNormalizerPerformanceTest.java25 fileLines = readLines(fileName, encoding, bulk_mode); in setup()
DPerfTest.java749 protected String[] readLines(String filename, String srcEncoding, boolean bulkMode) { in readLines() method in PerfTest