/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/xml/src/main/java/org/xmlpull/v1/ |
D | XmlSerializer.java | 290 XmlSerializer text (String text) in text() method 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/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKZoneIdPrinterParser.java | 213 … String text, int expectedIndex, int expectedErrorIndex, ZoneId expected, boolean isZoneOffset) in test_ZoneId_parseSuccess_plain() 221 … String text, int expectedIndex, int expectedErrorIndex, ZoneId expected, boolean isZoneOffset) in test_ZoneId_parseSuccess_prefix() 233 … String text, int expectedIndex, int expectedErrorIndex, ZoneId expected, boolean isZoneOffset) in test_ZoneId_parseSuccess_suffix() 241 … String text, int expectedIndex, int expectedErrorIndex, ZoneId expected, boolean isZoneOffset) in test_ZoneId_parseSuccess_caseSensitive() 258 … String text, int expectedIndex, int expectedErrorIndex, ZoneId expected, boolean isZoneOffset) in test_ZoneId_parseSuccess_caseInsensitive() 266 … String text, int expectedIndex, int expectedErrorIndex, ZoneId expected, boolean isZoneOffset) in test_ZoneOrOffsetId_parseSuccess_plain() 274 … String text, int expectedIndex, int expectedErrorIndex, ZoneId expected, boolean isZoneOffset) in test_ZoneOrOffsetId_parseSuccess_prefix() 286 … String text, int expectedIndex, int expectedErrorIndex, ZoneId expected, boolean isZoneOffset) in test_ZoneOrOffsetId_parseSuccess_suffix() 294 … String text, int expectedIndex, int expectedErrorIndex, ZoneId expected, boolean isZoneOffset) in test_ZoneOrOffsetId_parseSuccess_caseSensitive() 310 … String text, int expectedIndex, int expectedErrorIndex, ZoneId expected, boolean isZoneOffset) in test_ZoneOrOffsetIdparseSuccess_caseInsensitive() [all …]
|
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 | TCKLocalizedPrinterParser.java | 149 String text = old.format(oldDate); in test_date_print() local 161 String text = old.format(oldDate); in test_date_parse() local 202 String text = old.format(oldDate); in test_time_print() local 218 String text = old.format(oldDate); in test_time_parse() local
|
D | TCKLocalizedFieldParser.java | 105 …public void test_parse_textField(String pattern, String text, int pos, int expectedPos, long expec… in test_parse_textField() 157 …public void test_parse_textLocalDate(String pattern, String text, int pos, int expectedPos, LocalD… in test_parse_textLocalDate() 194 …public void test_parse_WeekBasedYear(String pattern, String text, int pos, int expectedPos, LocalD… in test_parse_WeekBasedYear() 224 String text, int expected1, int expected2) { in test_adjacentValuePatterns1() 247 TemporalField field3, String text, int expected1, int expected2, int expected3) { in test_adjacentValuePatterns2() 260 String text = "20120720296"; in test_adjacentValuePatterns3() local
|
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/main/java/java/text/ |
D | StringCharacterIterator.java | 55 private String text; field in StringCharacterIterator 66 public StringCharacterIterator(String text) in StringCharacterIterator() 77 public StringCharacterIterator(String text, int pos) in StringCharacterIterator() 91 public StringCharacterIterator(String text, int begin, int end, int pos) { in StringCharacterIterator() 116 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
|
D | SimpleDateFormat.java | 1753 public Date parse(String text, ParsePosition pos) { in parse() 1765 private Date parseInternal(String text, ParsePosition pos) in parseInternal() 1920 private int matchString(String text, int start, int field, String[] data, CalendarBuilder calb) in matchString() 1970 private int matchString(String text, int start, int field, in matchString() 2010 private int matchZoneString(String text, int start, String[] zoneNames) { in matchZoneString() 2059 private int subParseZoneString(String text, int start, CalendarBuilder calb) { in subParseZoneString() 2082 private int subParseZoneStringFromICU(String text, int start, CalendarBuilder calb) { in subParseZoneStringFromICU() 2110 private int subParseZoneStringFromSymbols(String text, int start, CalendarBuilder calb) { in subParseZoneStringFromSymbols() 2190 private int subParseNumericZone(String text, int start, int sign, int count, in subParseNumericZone() 2289 private int subParse(String text, int start, int patternCharIndex, int count, in subParse() [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeParsing.java | 152 …public void test_parse_instantZones_ZDT(DateTimeFormatter formatter, String text, ZonedDateTime ex… in test_parse_instantZones_ZDT() 158 …public void test_parse_instantZones_LDT(DateTimeFormatter formatter, String text, ZonedDateTime ex… in test_parse_instantZones_LDT() 164 …public void test_parse_instantZones_Instant(DateTimeFormatter formatter, String text, ZonedDateTim… in test_parse_instantZones_Instant() 170 …public void test_parse_instantZones_supported(DateTimeFormatter formatter, String text, ZonedDateT… in test_parse_instantZones_supported() 191 …public void test_parse_instantNoZone_ZDT(DateTimeFormatter formatter, String text, Instant expecte… in test_parse_instantNoZone_ZDT() 197 …public void test_parse_instantNoZone_LDT(DateTimeFormatter formatter, String text, Instant expecte… in test_parse_instantNoZone_LDT() 203 …public void test_parse_instantNoZone_Instant(DateTimeFormatter formatter, String text, Instant exp… in test_parse_instantNoZone_Instant() 209 …public void test_parse_instantNoZone_supported(DateTimeFormatter formatter, String text, Instant e… in test_parse_instantNoZone_supported()
|
D | TestNonIsoFormatter.java | 157 String text = dtf.format(date); in test_formatLocalizedDate() local 163 ChronoLocalDate expected, String text) { in test_parseLocalizedText() 173 public void test_parseInvalidText(String text) { in test_parseInvalidText() 183 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/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/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatter.java | 1875 public TemporalAccessor parse(CharSequence text) { in parse() 1916 public TemporalAccessor parse(CharSequence text, ParsePosition position) { in parse() 1948 public <T> T parse(CharSequence text, TemporalQuery<T> query) { in parse() 1991 public TemporalAccessor parseBest(CharSequence text, TemporalQuery<?>... queries) { in parseBest() 2014 private DateTimeParseException createError(CharSequence text, RuntimeException ex) { in createError() 2038 private TemporalAccessor parseResolved0(final CharSequence text, final ParsePosition position) { in parseResolved0() 2098 public TemporalAccessor parseUnresolved(CharSequence text, ParsePosition position) { in parseUnresolved() 2106 private DateTimeParseContext parseUnresolved0(CharSequence text, ParsePosition position) { in parseUnresolved0() 2222 public Object parseObject(String text) throws ParseException { in parseObject() 2236 public Object parseObject(String text, ParsePosition pos) { in parseObject()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | XmlPullParserFactoryTest.java | 198 public XmlSerializer text(String text) throws IOException { in text() argument 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 | 590 public XmlSerializer text(String text) throws IOException { in text() method in KXmlSerializer 597 public XmlSerializer text(char[] text, int start, int len) in text() method in KXmlSerializer
|