Home
last modified time | relevance | path

Searched refs:isWhitespace (Results 1 – 24 of 24) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DCharacterTest.java1436 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/
DKXmlParser.java157 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/
DIsBlank.java62 IntStream.range(1, 0xFFFF).filter(c -> Character.isWhitespace(c)) in testWhitespace()
DIndent.java87 if (ch != ' ' && ch != '\t' && !Character.isWhitespace(ch)) { in indexOfNonWhitespace()
DStrip.java82 IntStream.range(1, 0xFFFF).filter(c -> Character.isWhitespace(c)) in testWhitespace()
/libcore/benchmarks/src/benchmarks/regression/
DCharacterBenchmark.java256 Character.isWhitespace(chars[ch]); in timeIsWhitespace()
262 Character.isWhitespace((int) chars[ch]); in timeIsWhitespace()
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlPullParser.java691 boolean isWhitespace() throws XmlPullParserException; in isWhitespace() method
/libcore/luni/src/test/java/libcore/java/lang/
DCharacterTest.java273 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()
DStringTest.java808 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/
DCharset_TestGenerator.java129 return Character.isLetterOrDigit(code) || Character.isWhitespace(code); in isAccepted()
/libcore/ojluni/src/main/java/java/util/
DProperties.java434 } 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/
DStringLatin1.java569 if (ch != ' ' && ch != '\t' && !Character.isWhitespace(ch)) { in indexOfNonWhitespace()
582 if (ch != ' ' && ch != '\t' && !Character.isWhitespace(ch)) { in lastIndexOfNonWhitespace()
DStringUTF16.java932 if (codepoint != ' ' && codepoint != '\t' && !Character.isWhitespace(codepoint)) {
954 if (codepoint != ' ' && codepoint != '\t' && !Character.isWhitespace(codepoint)) {
DCharacter.java11222 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/
DHeapCategorization.java251 if (Character.isWhitespace(c)) { in categorizeInternedString()
/libcore/luni/src/test/java/libcore/xml/
DPullParserTest.java466 assertEquals(true, parser.isWhitespace()); in testWhitespaceUsingNextToken()
470 assertEquals(true, parser.isWhitespace()); in testWhitespaceUsingNextToken()
474 assertEquals(true, parser.isWhitespace()); in testWhitespaceUsingNextToken()
DXmlPullParserFactoryTest.java314 public boolean isWhitespace() throws XmlPullParserException { in isWhitespace() method in XmlPullParserFactoryTest.XmlPullParserStub
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DCharacter.annotated.java179 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/
DCharacter.java385 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/
DCharacter.annotated.java183 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/
DAVA.java973 if (!Character.isWhitespace(c)) { in toRFC2253CanonicalString()
/libcore/ojluni/src/main/java/java/util/logging/
DLogManager.java1372 if (Character.isWhitespace(hands.charAt(end))) { in parseClassNames()
/libcore/ojluni/src/test/java/util/regex/
DRegExTest.java1016 check("{javaWhitespace}", c, Character.isWhitespace(c)); in javaCharClassTest()
1046 check("{javaWhitespace}", c, Character.isWhitespace(c)); in javaCharClassTest()
/libcore/api/
Dcurrent.txt2499 method public static boolean isWhitespace(char);
2500 method public static boolean isWhitespace(int);
21889 method public boolean isWhitespace() throws org.xmlpull.v1.XmlPullParserException;