/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | CharacterTest.java | 1436 assertTrue("space returned false", Character.isWhitespace('\n')); 1437 assertFalse("non-space returned true", Character.isWhitespace('T')); 1444 assertTrue(Character.isWhitespace((int) '\n')); 1445 assertFalse(Character.isWhitespace((int) 'T')); 1447 assertTrue(Character.isWhitespace(0x0009)); 1448 assertTrue(Character.isWhitespace(0x000A)); 1449 assertTrue(Character.isWhitespace(0x000B)); 1450 assertTrue(Character.isWhitespace(0x000C)); 1451 assertTrue(Character.isWhitespace(0x000D)); 1452 assertTrue(Character.isWhitespace(0x001C)); [all …]
|
/libcore/xml/src/main/java/com/android/org/kxml2/io/ |
D | KXmlParser.java | 157 private boolean isWhitespace; field in KXmlParser 357 isWhitespace = true; in next() 394 if (depth == 0 && isWhitespace) { in next() 557 isWhitespace = true; in readXmlDeclaration() 1377 isWhitespace &= (c <= ' '); in readValue() 1401 isWhitespace = false; // TODO: what if the entity resolves to whitespace? in readValue() 1410 isWhitespace = false; in readValue() 1417 isWhitespace = false; in readValue() 1900 } else if (isWhitespace) { in getPositionDescription() 1943 public boolean isWhitespace() throws XmlPullParserException { in isWhitespace() method in KXmlParser [all …]
|
/libcore/ojluni/src/test/java/lang/String/ |
D | IsBlank.java | 62 IntStream.range(1, 0xFFFF).filter(c -> Character.isWhitespace(c)) in testWhitespace()
|
D | Indent.java | 87 if (ch != ' ' && ch != '\t' && !Character.isWhitespace(ch)) { in indexOfNonWhitespace()
|
D | Strip.java | 82 IntStream.range(1, 0xFFFF).filter(c -> Character.isWhitespace(c)) in testWhitespace()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | CharacterBenchmark.java | 256 Character.isWhitespace(chars[ch]); in timeIsWhitespace() 262 Character.isWhitespace((int) chars[ch]); in timeIsWhitespace()
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlPullParser.java | 691 boolean isWhitespace() throws XmlPullParserException; in isWhitespace() method
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | CharacterTest.java | 273 assertTrue(Character.isWhitespace(i)); in test_isWhitespace_against_icu4c() 276 assertEquals("Failed for character " + i, m.invoke(null, i), Character.isWhitespace(i)); in test_isWhitespace_against_icu4c()
|
D | StringTest.java | 808 IntStream.range(1, Character.MAX_CODE_POINT).filter(Character::isWhitespace) in testStrip_allWhitespaces() 825 IntStream.range(1, 0xFFFF).filter(Character::isWhitespace) in testIsBlank_allWhitespaces()
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | Charset_TestGenerator.java | 129 return Character.isLetterOrDigit(code) || Character.isWhitespace(code); in isAccepted()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Properties.java | 434 } else if (Character.isWhitespace(c) && !precedingBackslash) { in load0() 449 if (!Character.isWhitespace(c)) { in load0() 523 if (Character.isWhitespace(c)) { in readLine()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StringLatin1.java | 569 if (ch != ' ' && ch != '\t' && !Character.isWhitespace(ch)) { in indexOfNonWhitespace() 582 if (ch != ' ' && ch != '\t' && !Character.isWhitespace(ch)) { in lastIndexOfNonWhitespace()
|
D | StringUTF16.java | 932 if (codepoint != ' ' && codepoint != '\t' && !Character.isWhitespace(codepoint)) { 954 if (codepoint != ' ' && codepoint != '\t' && !Character.isWhitespace(codepoint)) {
|
D | Character.java | 11222 public static boolean isWhitespace(char ch) { in isWhitespace() method in Character 11223 return isWhitespace((int)ch); in isWhitespace() 11259 public static boolean isWhitespace(int codePoint) { in isWhitespace() method in Character
|
/libcore/metrictests/memory/host/src/libcore/heapmetrics/ |
D | HeapCategorization.java | 251 if (Character.isWhitespace(c)) { in categorizeInternedString()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | PullParserTest.java | 466 assertEquals(true, parser.isWhitespace()); in testWhitespaceUsingNextToken() 470 assertEquals(true, parser.isWhitespace()); in testWhitespaceUsingNextToken() 474 assertEquals(true, parser.isWhitespace()); in testWhitespaceUsingNextToken()
|
D | XmlPullParserFactoryTest.java | 314 public boolean isWhitespace() throws XmlPullParserException { in isWhitespace() method in XmlPullParserFactoryTest.XmlPullParserStub
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Character.annotated.java | 179 public static boolean isWhitespace(char ch) { throw new RuntimeException("Stub!"); } in isWhitespace() method in Character 181 public static boolean isWhitespace(int codePoint) { throw new RuntimeException("Stub!"); } in isWhitespace() method in Character
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Character.java | 385 public static boolean isWhitespace(char ch) { in isWhitespace() method in Character 389 public static boolean isWhitespace(int codePoint) { in isWhitespace() method in Character
|
/libcore/ojluni/annotations/flagged_api/java/lang/ |
D | Character.annotated.java | 183 public static boolean isWhitespace(char ch) { throw new RuntimeException("Stub!"); } in isWhitespace() method in Character 185 public static boolean isWhitespace(int codePoint) { throw new RuntimeException("Stub!"); } in isWhitespace() method in Character
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | AVA.java | 973 if (!Character.isWhitespace(c)) { in toRFC2253CanonicalString()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | LogManager.java | 1372 if (Character.isWhitespace(hands.charAt(end))) { in parseClassNames()
|
/libcore/ojluni/src/test/java/util/regex/ |
D | RegExTest.java | 1016 check("{javaWhitespace}", c, Character.isWhitespace(c)); in javaCharClassTest() 1046 check("{javaWhitespace}", c, Character.isWhitespace(c)); in javaCharClassTest()
|
/libcore/api/ |
D | current.txt | 2499 method public static boolean isWhitespace(char); 2500 method public static boolean isWhitespace(int); 21889 method public boolean isWhitespace() throws org.xmlpull.v1.XmlPullParserException;
|