Home
last modified time | relevance | path

Searched refs:lineLength (Results 1 – 3 of 3) sorted by relevance

/libcore/benchmarks/src/benchmarks/regression/
DScannerBenchmark.java55 private LineLength lineLength; field in ScannerBenchmark
65 data = new byte[lineLength.getMax() * linesCount]; in setUp()
69 append(makeString(lineLength.get())); in setUp()
/libcore/ojluni/src/main/java/java/util/
DBase64.java132 public static Encoder getMimeEncoder(int lineLength, byte[] lineSeparator) { in getMimeEncoder() argument
141 lineLength &= ~0b11; in getMimeEncoder()
142 if (lineLength <= 0) { in getMimeEncoder()
145 return new Encoder(false, lineSeparator, lineLength, true); in getMimeEncoder()
/libcore/luni/src/test/java/libcore/java/util/
DBase64Test.java1076 private static String wrapLines(String lineSeparator, String s, int lineLength) { in wrapLines() argument
1077 return String.join(lineSeparator, breakLines(s, lineLength)); in wrapLines()
1084 private static List<String> breakLines(String longString, int lineLength) { in breakLines() argument
1086 for (int pos = 0; pos < longString.length(); pos += lineLength) { in breakLines()
1087 lines.add(longString.substring(pos, Math.min(longString.length(), pos + lineLength))); in breakLines()