Home
last modified time | relevance | path

Searched refs:indexOfNonWhitespace (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/lang/String/
DIndent.java72 … stream = stream.map(s -> s.substring(Math.min(-adjust, indexOfNonWhitespace(s)))); in testIndent()
83 public static int indexOfNonWhitespace(String s) { in indexOfNonWhitespace() method in Indent
/libcore/ojluni/src/main/java/java/lang/
DString.java3494 return indexOfNonWhitespace() == length(); in isBlank()
3584 stream = stream.map(s -> s.substring(Math.min(-n, s.indexOfNonWhitespace()))); in indent()
3589 private int indexOfNonWhitespace() { in indexOfNonWhitespace() method in String
3595 return StringUTF16.indexOfNonWhitespace(this); in indexOfNonWhitespace()
3708 int firstNonWhitespace = line.indexOfNonWhitespace(); in stripIndent()
3722 int leadingWhitespace = line.indexOfNonWhitespace(); in outdent()
DStringLatin1.java564 public static int indexOfNonWhitespace(byte[] value) { in indexOfNonWhitespace() method in StringLatin1
591 int left = indexOfNonWhitespace(value); in strip()
600 int left = indexOfNonWhitespace(value); in stripLeading()
DStringUTF16.java923 public static int indexOfNonWhitespace(String value) {
970 int left = indexOfNonWhitespace(value);
986 int left = indexOfNonWhitespace(value);