Home
last modified time | relevance | path

Searched refs:TEXT (Results 1 – 7 of 7) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DBreakIteratorTest.java29 private static final String TEXT = "a\u0308abc def, gh-12i?jkl.mno?"; field in BreakIteratorTest
74 iterator.setText(TEXT); in testCurrent()
80 iterator.setText(TEXT); in testFirst()
90 iterator.setText(TEXT); in testFollowing()
97 assertEquals(BreakIterator.DONE, iterator.following(TEXT.length())); in testFollowing()
106 iterator.setText(TEXT); in testIsBoundary()
115 assertTrue(iterator.isBoundary(TEXT.length())); in testIsBoundary()
120 iterator.setText(TEXT); in testLast()
121 assertEquals(TEXT.length(), iterator.last()); in testLast()
129 iterator.setText(TEXT); in testNextint()
[all …]
/libcore/luni/src/test/java/libcore/xml/
DPullParserTest.java55 assertEquals(XmlPullParser.TEXT, parser.next()); in testUnterminatedEntityWithRelaxed()
120 assertEquals(XmlPullParser.TEXT, parser.next()); in testCharacterReferenceOfUtf16Surrogates()
130 assertEquals(XmlPullParser.TEXT, parser.next()); in testCharacterReferenceOfLastUtf16Surrogate()
163 assertEquals(XmlPullParser.TEXT, parser.next()); in testLineEndings()
193 assertEquals(XmlPullParser.TEXT, parser.next()); in testCustomEntitiesUsingNext()
204 assertEquals(XmlPullParser.TEXT, parser.nextToken()); in testCustomEntitiesUsingNextToken()
209 assertEquals(XmlPullParser.TEXT, parser.nextToken()); in testCustomEntitiesUsingNextToken()
220 assertEquals(XmlPullParser.TEXT, parser.next()); in testCustomEntitiesAreNotEvaluated()
233 assertEquals(XmlPullParser.TEXT, parser.next()); in testMissingEntitiesWithRelaxed()
309 assertEquals(XmlPullParser.TEXT, parser.next()); in testGreaterThanInText()
[all …]
DPullParserDtdTest.java65 assertEquals(XmlPullParser.TEXT, parser.next()); in testGeneralAndParameterEntityWithTheSameName()
77 assertEquals(XmlPullParser.TEXT, parser.next()); in testInternalEntities()
99 assertEquals(XmlPullParser.TEXT, parser.next()); in testExternalAndInternalDtd()
111 assertEquals(XmlPullParser.TEXT, parser.next()); in testInternalEntitiesAreParsed()
123 assertEquals(XmlPullParser.TEXT, parser.next()); in testFoolishlyRecursiveInternalEntities()
143 assertEquals(XmlPullParser.TEXT, parser.next()); in testExpansionOfEntityAndCharacterReferences()
160 assertEquals(XmlPullParser.TEXT, parser.next()); in testGeneralEntitiesAreStoredUnresolved()
172 assertEquals(XmlPullParser.TEXT, parser.nextToken()); in testStructuredEntityAndNextToken()
179 assertEquals(XmlPullParser.TEXT, parser.nextToken()); in testStructuredEntityAndNextToken()
185 assertEquals(XmlPullParser.TEXT, parser.nextToken()); in testStructuredEntityAndNextToken()
[all …]
/libcore/xml/src/main/java/com/android/org/kxml2/io/
DKXmlParser.java387 readEntity(entityTextBuilder, true, throwOnResolveFailure, ValueContext.TEXT); in next()
392 case TEXT: in next()
393 text = readValue('<', !justOneToken, throwOnResolveFailure, ValueContext.TEXT); in next()
431 if (depth == 0 && (type == ENTITY_REF || type == TEXT || type == CDSECT)) { in next()
449 if (text != null && !text.isEmpty() && peek < TEXT) { in next()
450 type = TEXT; in next()
1045 return inDeclaration ? PARAMETER_ENTITY_REF : TEXT; in peekType()
1047 return TEXT; in peekType()
1297 TEXT, enumConstant
1338 if (valueContext == ValueContext.TEXT && text != null) { in readValue()
[all …]
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlPullParser.java232 int TEXT = 4; field
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderImpl.java227 } else if (token == XmlPullParser.TEXT || token == XmlPullParser.CDSECT) { in parse()
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/
DDriver.java404 case XmlPullParser.TEXT: in parseSubTree()