/libcore/support/src/test/java/tests/support/ |
H A D | Support_MessageFormat.java | 20 import java.text.DateFormat; 21 import java.text.MessageFormat; 22 import java.text.NumberFormat; 23 import java.text.MessageFormat.Field; 55 super.text = "On Feb 28, 2005 at 2:20:16 PM, he ate 8 hamburgers and drank 3.5 litres of coke. That was more than enough food!"; 60 // test other format fields that are included in the formatted text 66 // test fields that are not included in the formatted text
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | NumberFormatTest.java | 17 package org.apache.harmony.tests.java.text; 20 import java.text.ChoiceFormat; 21 import java.text.DecimalFormat; 22 import java.text.FieldPosition; 23 import java.text.NumberFormat; 24 import java.text.ParseException; 25 import java.text.ParsePosition; 32 * @tests java.text.NumberFormat#format(java.lang.Object, 33 * java.lang.StringBuffer, java.text.FieldPosition) 118 * @tests java.text [all...] |
H A D | AttributedCharacterIteratorTest.java | 18 package org.apache.harmony.tests.java.text; 20 import java.text.AttributedCharacterIterator; 21 import java.text.AttributedString; 22 import java.text.CharacterIterator; 27 * @tests java.text.AttributedCharacterIterator#current() 47 * @tests java.text.AttributedCharacterIterator#first() 63 * @tests java.text.AttributedCharacterIterator#getBeginIndex() 73 * @tests java.text.AttributedCharacterIterator#getEndIndex() 83 * @tests java.text.AttributedCharacterIterator#getIndex() 100 * @tests java.text [all...] |
H A D | Support_SimpleDateFormat.java | 18 package org.apache.harmony.tests.java.text; 20 import java.text.DateFormat; 21 import java.text.NumberFormat; 22 import java.text.SimpleDateFormat; 23 import java.text.DateFormat.Field; 31 import org.apache.harmony.tests.java.text.Support_Format.FieldContainer; 71 super.text = textBuffer.toString(); 94 // test fields that are not included in the formatted text 100 super.text = "5:19 GMT-05:00"; 105 // test fields that are not included in the formatted text [all...] |
H A D | DataFormatFieldTest.java | 18 package org.apache.harmony.tests.java.text; 27 import java.text.DateFormat; 28 import java.text.DateFormat.Field; 67 * @tests java.text.DateFormat$Field#Field(java.lang.String, int) 83 * @tests java.text.DateFormat$Field#Field(java.lang.String, int) 104 * @tests java.text.DateFormat$Field#getCalendarField() 128 * @tests java.text.DateFormat$Field#ofCalendarField(int) 131 // Test for method static java.text.DateFormat.Field 166 * @tests java.text.DateFormat$Field#readResolve()
|
H A D | BreakIteratorTest.java | 18 package org.apache.harmony.tests.java.text; 20 import java.text.BreakIterator; 21 import java.text.CharacterIterator; 22 import java.text.StringCharacterIterator; 283 * @tests java.text.BreakIterator#getCharacterInstance(Locale)
|
H A D | CollatorTest.java | 17 package org.apache.harmony.tests.java.text; 19 import java.text.Collator; 20 import java.text.ParseException; 21 import java.text.RuleBasedCollator;
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | RuleBasedCollatorICU.java | 13 import java.text.CharacterIterator; 14 import java.text.CollationKey; 15 import java.text.ParseException;
|
H A D | NativeDecimalFormat.java | 22 import java.text.AttributedCharacterIterator; 23 import java.text.AttributedString; 24 import java.text.DecimalFormatSymbols; 25 import java.text.FieldPosition; 26 import java.text.Format; 27 import java.text.NumberFormat; 28 import java.text.ParsePosition; 354 String text; 356 text = new String(formatDigitList(this.address, number.toString(), fpIter)); 359 text [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | OldDecimalFormatTestICU.java | 17 package libcore.java.text; 19 import java.text.DecimalFormat; 20 import java.text.NumberFormat;
|
H A D | OldMessageFormatFieldTest.java | 17 package libcore.java.text; 25 import java.text.MessageFormat;
|
H A D | DateFormatSymbolsTest.java | 17 package libcore.java.text; 23 import java.text.DateFormatSymbols; 24 import java.text.SimpleDateFormat;
|
H A D | DecimalFormatTest.java | 17 package libcore.java.text; 22 import java.text.DecimalFormat; 23 import java.text.DecimalFormatSymbols; 24 import java.text.FieldPosition; 25 import java.text.NumberFormat; 26 import java.text.ParsePosition;
|
H A D | NormalizerTest.java | 17 package libcore.java.text; 19 import java.text.Normalizer;
|
H A D | OldAttributedCharacterIteratorAttributeTest.java | 17 package libcore.java.text; 25 import java.text.AttributedCharacterIterator; 61 * java.text.AttributedCharacterIterator.Attribute#AttributedCharacterIterator.Attribute(java.lang.String) 63 * java.text.AttributedCharacterIterator.Attribute#AttributedCharacterIterator.Attribute(java.lang.String). 74 * java.text.AttributedCharacterIterator.Attribute#equals(java.lang.Object) 76 * java.text.AttributedCharacterIterator.Attribute#equals(java.lang.Object). 101 * java.text.AttributedCharacterIterator.Attribute#getName() Test of 102 * method java.text.AttributedCharacterIterator.Attribute#getName(). 115 * java.text.AttributedCharacterIterator.Attribute#hashCode() 143 * java.text [all...] |
H A D | OldDecimalFormatSymbolsTest.java | 18 package libcore.java.text; 21 import java.text.DecimalFormatSymbols; 41 "serialization/java/text/DecimalFormatSymbols.ser")); 49 assertNotNull("Failed to load /serialization/java/text/" + 67 * java.text.DecimalFormatSymbols#DecimalFormatSymbols(java.util.Locale)
|
/libcore/luni/src/main/java/java/text/ |
H A D | CollationElementIterator.java | 18 package java.text; 169 * decomposable range of source text, the iterator may not return a correct 184 * the beginning of the text. 195 * beginning of the text.
|
H A D | AttributedCharacterIterator.java | 18 package java.text; 38 * Defines keys for text attributes. 60 * For languages that have different reading directions of text (like
|
H A D | BreakIterator.java | 18 package java.text; 25 * Locates boundaries in text. This class defines a protocol for objects that 26 * break up a piece of natural-language text according to a set of criteria. 28 * example, to break a piece of text into words, sentences, or logical 42 * positions where it is legal for a text editor to wrap lines. This is similar 53 * (especially text editors) to treat as characters the units of text that a 54 * user would think of as characters, rather than the units of text that the 62 * <li>The beginning and end of the text are always treated as boundary 70 * text an [all...] |
H A D | FieldPosition.java | 18 package java.text;
|
/libcore/luni/src/main/java/java/util/logging/ |
H A D | Formatter.java | 20 import java.text.MessageFormat; 56 * Notice : if message contains "{0", then java.text.MessageFormat is used. 77 * if the message contains "{0", use java.text.MessageFormat to
|
/libcore/xml/src/main/java/org/kxml2/io/ |
H A D | KXmlParser.java | 115 * capture the raw DTD text while parsing the DTD. 161 private String text; field in class:KXmlParser 340 text = error; 356 text = null; 381 * Return after any text token when we're looking for a single 382 * token. Otherwise concatenate all text between tags. 388 text = entityTextBuilder.toString(); 393 text = readValue('<', !justOneToken, throwOnResolveFailure, ValueContext.TEXT); 400 text = readUntil(END_CDATA, true); 410 text [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
H A D | KxmlSerializerTest.java | 71 serializer.text("5'8\", 5 < 6 & 7 > 3!"); 96 serializer.text("a" + s + "b"); 99 serializer.text("a" + s + "b"); 156 String text = ""; 158 text += children.item(i).getNodeValue(); 160 assertEquals("a]]>b", text);
|
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/ |
H A D | DocumentBuilderImpl.java | 192 * text at the first whitespace character. 194 String text = parser.getText(); 196 int dot = text.indexOf(' '); 198 String target = (dot != -1 ? text.substring(0, dot) : text); 199 String data = (dot != -1 ? text.substring(dot + 1) : ""); 211 * Found a comment. We simply take the token text, but we only 228 * Found a piece of text (possibly encoded as a CDATA section). 229 * That's the easiest case. We simply take it and create a new text node, 230 * or merge with an adjacent text nod 336 appendText(DocumentImpl document, Node parent, int token, String text) argument [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | DOMConfigurationImpl.java | 58 * into adjacent text nodes. 273 * comments, text, CDATA sections and processing instructions. 402 TextImpl text = (TextImpl) node; 403 text = text.minimize(); 404 if (text != null) { 405 checkTextValidity(text.buffer); 466 * Returns true if all of the characters in the text are permitted for use 469 private boolean isValid(CharSequence text) { argument 470 for (int i = 0; i < text [all...] |