/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlSerializer.java | 290 XmlSerializer text (String text) in text() argument 296 XmlSerializer text (char [] buf, int start, int len) in text() method 299 void cdsect (String text) in cdsect() 301 void entityRef (String text) throws IOException, in entityRef() 303 void processingInstruction (String text) in processingInstruction() 305 void comment (String text) in comment() 307 void docdecl (String text) in docdecl() 309 void ignorableWhitespace (String text) in ignorableWhitespace()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | CollationElementIteratorTest.java | 46 String text = "abc"; in testGetOffset() local 60 String text = "abc"; in testNext() local 86 String text = "abc"; in testPrevious() local 112 String text = "abc"; in testReset() local 130 String text = "cha"; in testGetMaxExpansion() local 143 String text = "\u00e6"; in testPrimaryOrder() local 155 String text = "a\u00e0"; in testSecondaryOrder() local 168 String text = "abAB"; in testTertiaryOrder() local 186 String text = "cha"; in testSetOffset() local 197 String text = "caa"; in testSetTextString() local [all …]
|
D | RuleBasedCollatorTest.java | 146 String text = "cha"; in testGetCollationElementIteratorCharacterIterator() local 165 String text = "\u00fcb"; in testGetCollationElementIteratorCharacterIterator() local 220 String text = "abc"; in testCollationKey() local
|
/libcore/ojluni/src/main/java/java/text/ |
D | StringCharacterIterator.java | 54 private String text; field in StringCharacterIterator 65 public StringCharacterIterator(String text) in StringCharacterIterator() 76 public StringCharacterIterator(String text, int pos) in StringCharacterIterator() 90 public StringCharacterIterator(String text, int begin, int end, int pos) { in StringCharacterIterator() 115 public void setText(String text) { in setText()
|
D | IcuIteratorWrapper.java | 320 protected static final void checkOffset(int offset, CharacterIterator text) { in checkOffset() 334 CharacterIterator text = getText(); in following() local 350 CharacterIterator text = getText(); in preceding() local 364 CharacterIterator text = getText(); in isBoundary() local
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKChronoPrinterParser.java | 121 public void test_parseValid_caseSensitive(String text, Chronology expected) { in test_parseValid_caseSensitive() 130 public void test_parseValid_caseSensitive_lowercaseRejected(String text, Chronology expected) { in test_parseValid_caseSensitive_lowercaseRejected() 139 public void test_parseValid_caseInsensitive(String text, Chronology expected) { in test_parseValid_caseInsensitive() 159 public void test_parseInvalid(String text) { in test_parseInvalid()
|
D | TCKZoneIdPrinterParser.java | 211 …public void test_parseSuccess_plain(String text, int expectedIndex, int expectedErrorIndex, ZoneId… in test_parseSuccess_plain() 214 … assertEquals(pos.getErrorIndex(), expectedErrorIndex, "Incorrect error index parsing: " + text); in test_parseSuccess_plain() local 215 assertEquals(pos.getIndex(), expectedIndex, "Incorrect index parsing: " + text); in test_parseSuccess_plain() local 217 …ssertEquals(parsed.query(TemporalQueries.zoneId()), expected, "Incorrect zoneId parsing: " + text); in test_parseSuccess_plain() local 218 … assertEquals(parsed.query(TemporalQueries.offset()), null, "Incorrect offset parsing: " + text); in test_parseSuccess_plain() local 219 … assertEquals(parsed.query(TemporalQueries.zone()), expected, "Incorrect zone parsing: " + text); in test_parseSuccess_plain() local 226 …public void test_parseSuccess_prefix(String text, int expectedIndex, int expectedErrorIndex, ZoneI… in test_parseSuccess_prefix() 243 …public void test_parseSuccess_suffix(String text, int expectedIndex, int expectedErrorIndex, ZoneI… in test_parseSuccess_suffix() 259 …public void test_parseSuccess_caseSensitive(String text, int expectedIndex, int expectedErrorIndex… in test_parseSuccess_caseSensitive() 282 …public void test_parseSuccess_caseInsensitive(String text, int expectedIndex, int expectedErrorInd… in test_parseSuccess_caseInsensitive()
|
D | TCKLocalizedPrinterParser.java | 147 String text = old.format(oldDate); in test_date_print() local 159 String text = old.format(oldDate); in test_date_parse() local 200 String text = old.format(oldDate); in test_time_print() local 212 String text = old.format(oldDate); in test_time_parse() local
|
D | TCKLocalizedFieldParser.java | 98 …public void test_parse_textField(String pattern, String text, int pos, int expectedPos, long expec… in test_parse_textField() 149 …public void test_parse_textLocalDate(String pattern, String text, int pos, int expectedPos, LocalD… in test_parse_textLocalDate() 186 …public void test_parse_WeekBasedYear(String pattern, String text, int pos, int expectedPos, LocalD… in test_parse_WeekBasedYear()
|
D | TCKDateTimeTextPrinting.java | 143 String text = f.format(dt); in test_appendText2arg_format() local 153 String text = f.format(dt); in test_appendText1arg_format() local
|
D | TCKPadPrinterParser.java | 130 …public void test_parseStrict(String text, int expectedIndex, int expectedErrorIndex, Number expect… in test_parseStrict() 171 …public void test_parseLenient(String text, int expectedIndex, int expectedErrorIndex, Number expec… in test_parseLenient()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeParsing.java | 137 …public void test_parse_instantZones_ZDT(DateTimeFormatter formatter, String text, ZonedDateTime ex… in test_parse_instantZones_ZDT() 143 …public void test_parse_instantZones_LDT(DateTimeFormatter formatter, String text, ZonedDateTime ex… in test_parse_instantZones_LDT() 149 …public void test_parse_instantZones_Instant(DateTimeFormatter formatter, String text, ZonedDateTim… in test_parse_instantZones_Instant() 155 …public void test_parse_instantZones_supported(DateTimeFormatter formatter, String text, ZonedDateT… in test_parse_instantZones_supported() 176 …public void test_parse_instantNoZone_ZDT(DateTimeFormatter formatter, String text, Instant expecte… in test_parse_instantNoZone_ZDT() 182 …public void test_parse_instantNoZone_LDT(DateTimeFormatter formatter, String text, Instant expecte… in test_parse_instantNoZone_LDT() 188 …public void test_parse_instantNoZone_Instant(DateTimeFormatter formatter, String text, Instant exp… in test_parse_instantNoZone_Instant() 194 …public void test_parse_instantNoZone_supported(DateTimeFormatter formatter, String text, Instant e… in test_parse_instantNoZone_supported()
|
D | TestNonIsoFormatter.java | 163 String text = dtf.format(date); in test_formatLocalizedDate() local 169 ChronoLocalDate expected, String text) { in test_parseLocalizedText() 179 public void test_parseInvalidText(String text) { in test_parseInvalidText() 189 String text = dtf.format(chrono.dateNow()); in test_chronoNames() local
|
D | TestCharLiteralParser.java | 105 String text, int pos, int expectedPos) { in test_parse_success() 129 public void test_parse_error(char c, String text, int pos, Class<?> expected) { in test_parse_error()
|
D | TestStringLiteralParser.java | 108 …public void test_parse_success(String s, boolean caseSensitive, String text, int pos, int expected… in test_parse_success() 132 public void test_parse_error(String s, String text, int pos, Class<?> expected) { in test_parse_error()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatter.java | 1774 public TemporalAccessor parse(CharSequence text) { in parse() 1815 public TemporalAccessor parse(CharSequence text, ParsePosition position) { in parse() 1847 public <T> T parse(CharSequence text, TemporalQuery<T> query) { in parse() 1890 public TemporalAccessor parseBest(CharSequence text, TemporalQuery<?>... queries) { in parseBest() 1913 private DateTimeParseException createError(CharSequence text, RuntimeException ex) { in createError() 1937 private TemporalAccessor parseResolved0(final CharSequence text, final ParsePosition position) { in parseResolved0() 1997 public TemporalAccessor parseUnresolved(CharSequence text, ParsePosition position) { in parseUnresolved() 2005 private DateTimeParseContext parseUnresolved0(CharSequence text, ParsePosition position) { in parseUnresolved0() 2121 public Object parseObject(String text) throws ParseException { in parseObject() 2135 public Object parseObject(String text, ParsePosition pos) { in parseObject()
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | StringTokenIterator.java | 34 private String text; field in StringTokenIterator 43 public StringTokenIterator(String text, String dlms) { in StringTokenIterator() 102 public StringTokenIterator setText(String text) { in setText()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | EqualsHashCodeBenchmark.java | 27 @Override Object newInstance(String text) throws Exception { in URI() 32 @Override Object newInstance(String text) throws Exception { in URL() 36 abstract Object newInstance(String text) throws Exception; in newInstance()
|
D | BreakIteratorBenchmark.java | 40 final String text; field in BreakIteratorBenchmark.Text 42 Text(Locale locale, String text) { in Text() 48 @Param private Text text; field in BreakIteratorBenchmark
|
/libcore/luni/src/test/java/libcore/xml/ |
D | XmlPullParserFactoryTest.java | 198 public XmlSerializer text(String text) throws IOException { in text() method in XmlPullParserFactoryTest.XmlSerializerStub 202 public XmlSerializer text(char[] buf, int start, int len) throws IOException { in text() method in XmlPullParserFactoryTest.XmlSerializerStub 206 public void cdsect(String text) throws IOException { in cdsect() 209 public void entityRef(String text) throws IOException { in entityRef() 212 public void processingInstruction(String text) throws IOException { in processingInstruction() 215 public void comment(String text) throws IOException { in comment() 218 public void docdecl(String text) throws IOException { in docdecl() 221 public void ignorableWhitespace(String text) throws IOException { in ignorableWhitespace()
|
D | SimpleParserTest.java | 52 private StringBuffer text; field in SimpleParserTest 200 final StringBuilder text = new StringBuilder(); in testEntityResolver() local
|
D | KxmlSerializerTest.java | 120 Text text = (Text) root.getFirstChild(); in testSpeakNoEvilMonkeys() local 216 String text = ""; in testCdataWithTerminatorInside() local
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | ErrorManager.java | 90 String text = "java.util.logging.ErrorManager: " + code; in error() local
|
/libcore/xml/src/main/java/com/android/org/kxml2/io/ |
D | KXmlSerializer.java | 563 public XmlSerializer text(String text) throws IOException { in text() argument 570 public XmlSerializer text(char[] text, int start, int len) in text() argument
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldLineNumberInputStreamTest.java | 27 …final String text = "0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\… field in OldLineNumberInputStreamTest
|