Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DCharacterTest.java1422 assertTrue("space returned false", Character.isWhitespace('\n'));
1423 assertFalse("non-space returned true", Character.isWhitespace('T'));
1430 assertTrue(Character.isWhitespace((int) '\n'));
1431 assertFalse(Character.isWhitespace((int) 'T'));
1433 assertTrue(Character.isWhitespace(0x0009));
1434 assertTrue(Character.isWhitespace(0x000A));
1435 assertTrue(Character.isWhitespace(0x000B));
1436 assertTrue(Character.isWhitespace(0x000C));
1437 assertTrue(Character.isWhitespace(0x000D));
1438 assertTrue(Character.isWhitespace(0x001C));
[all …]
/libcore/xml/src/main/java/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/xml/src/main/java/org/xmlpull/v1/
DXmlPullParser.java691 boolean isWhitespace() throws XmlPullParserException; in isWhitespace() method
/libcore/benchmarks/src/benchmarks/regression/
DCharacterBenchmark.java256 Character.isWhitespace(chars[ch]); in timeIsWhitespace()
262 Character.isWhitespace((int) chars[ch]); in timeIsWhitespace()
/libcore/ojluni/src/main/java/java/util/
DProperties.java365 else if (Character.isWhitespace(c) && !precedingBackslash) { in load0()
379 if (!Character.isWhitespace(c)) { in load0()
460 if (Character.isWhitespace(c)) { in readLine()
/libcore/luni/src/test/java/libcore/java/nio/charset/
DCharset_TestGenerator.java129 return Character.isLetterOrDigit(code) || Character.isWhitespace(code); in isAccepted()
/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()
/libcore/luni/src/test/java/libcore/xml/
DXmlPullParserFactoryTest.java290 public boolean isWhitespace() throws XmlPullParserException { in isWhitespace() method in XmlPullParserFactoryTest.XmlPullParserStub
DPullParserTest.java466 assertEquals(true, parser.isWhitespace()); in testWhitespaceUsingNextToken()
470 assertEquals(true, parser.isWhitespace()); in testWhitespaceUsingNextToken()
474 assertEquals(true, parser.isWhitespace()); in testWhitespaceUsingNextToken()
/libcore/ojluni/src/main/java/java/lang/
DCharacter.java6922 public static boolean isWhitespace(char ch) { in isWhitespace() method in Character
6923 return isWhitespace((int)ch); in isWhitespace()
6954 public static boolean isWhitespace(int codePoint) { in isWhitespace() method in Character
/libcore/ojluni/src/main/java/sun/security/x509/
DAVA.java968 if (!Character.isWhitespace(c)) { in toRFC2253CanonicalString()
/libcore/ojluni/src/main/java/java/util/logging/
DLogManager.java1378 if (Character.isWhitespace(hands.charAt(end))) { in parseClassNames()