Searched refs:lines (Results 1 – 10 of 10) sorted by relevance
90 String[] lines = text.split("\\r?\\n"); in truncate() local92 for (int i = 0; i < maxLines && i < lines.length; i++) { in truncate()93 ret.append(lines[i]); in truncate()96 if (lines.length > maxLines) { in truncate()98 ret.append(lines.length - maxLines); in truncate()
205 List<String> lines = Files.readAllLines(outputFile.toPath(), Charset.defaultCharset()); in testRun() local206 assertEquals(NUMBER_OF_COLLECTIONS, lines.size() - 1); in testRun()207 assertEquals(lines.get(0), ScheduledRunCollectionListener.TIME_SERIES_HEADER); in testRun()208 for (int i = 1; i != lines.size(); ++i) { in testRun()210 Matcher m = p.matcher(lines.get(i)); in testRun()
186 String[] lines = baos.toString().split(System.lineSeparator()); in dumpScreen() local187 for (String line : lines) { in dumpScreen()
62 String[] lines = baos.toString().split("\\r?\\n"); in open() local63 for (String line : lines) { in open()
86 String[] lines = baos.toString().split("\\r?\\n"); in open() local87 for (String line : lines) { in open()
169 String[] lines = baos.toString().split("\\r?\\n"); in open() local170 for (String line : lines) { in open()
162 String[] lines = block.split("\n"); in getStatPairs() local163 for (int j = 0; j < lines.length; j++) { in getStatPairs()164 Matcher keyValueMatcher = KEY_VALUE_PATTERN.matcher(lines[j].trim()); in getStatPairs()
151 public Double parse(String lines) { in parse() argument152 Matcher matcher = mPattern.matcher(lines); in parse()
130 String[] lines = rawOutput.split(LINE_SEPARATOR); in parseMetrics() local132 for (String line : lines) { in parseMetrics()
148 String[] lines = dumpsysWifi.split("\n"); in getDumpsysWifiLastScanResults() local152 for (String line : lines) { in getDumpsysWifiLastScanResults()