/libcore/ojluni/src/main/java/java/text/ |
D | FieldPosition.java | 97 private Format.Field attribute; 123 public FieldPosition(Format.Field attribute) { in FieldPosition() 143 public FieldPosition(Format.Field attribute, int fieldID) { in FieldPosition() 156 public Format.Field getFieldAttribute() { in getFieldAttribute() 214 Format.FieldDelegate getFieldDelegate() { in getFieldDelegate() 263 private boolean matchesField(Format.Field attribute) { in matchesField() 275 private boolean matchesField(Format.Field attribute, int field) { in matchesField() 288 private class Delegate implements Format.FieldDelegate { 296 public void formatted(Format.Field attr, Object value, int start, in formatted() 305 public void formatted(int fieldID, Format.Field attr, Object value, in formatted()
|
D | DontCareFieldPosition.java | 37 private final Format.FieldDelegate noDelegate = new Format.FieldDelegate() { 38 public void formatted(Format.Field attr, Object value, int start, 41 public void formatted(int fieldID, Format.Field attr, Object value, 50 Format.FieldDelegate getFieldDelegate() { in getFieldDelegate()
|
D | MessageFormat.java | 351 public class MessageFormat extends Format { 543 Format fmt = formats[i]; in toPattern() 621 public void setFormatsByArgumentIndex(Format[] newFormats) { in setFormatsByArgumentIndex() 652 public void setFormats(Format[] newFormats) { in setFormats() 680 public void setFormatByArgumentIndex(int argumentIndex, Format newFormat) { in setFormatByArgumentIndex() 705 public void setFormat(int formatElementIndex, Format newFormat) { in setFormat() 732 public Format[] getFormatsByArgumentIndex() { in getFormatsByArgumentIndex() 739 Format[] resultArray = new Format[maximumArgumentNumber + 1]; in getFormatsByArgumentIndex() 762 public Format[] getFormats() { in getFormats() 763 Format[] resultArray = new Format[maxOffset + 1]; in getFormats() [all …]
|
D | Format.java | 134 public abstract class Format implements Serializable, Cloneable { class 143 protected Format() { in Format() method in Format 393 public void formatted(Format.Field attr, Object value, int start, in formatted() 407 public void formatted(int fieldID, Format.Field attr, Object value, in formatted()
|
D | CharacterIteratorFieldDelegate.java | 36 class CharacterIteratorFieldDelegate implements Format.FieldDelegate { 56 public void formatted(Format.Field attr, Object value, int start, int end, in formatted() 95 public void formatted(int fieldID, Format.Field attr, Object value, in formatted()
|
/libcore/ojluni/src/main/java/sun/invoke/util/ |
D | Wrapper.java | 30 …BOOLEAN( Boolean.class, "Boolean", boolean.class, "boolean", 'Z', new boolean[0], Format.unsign… 33 …BYTE ( Byte.class, "Byte", byte.class, "byte", 'B', new byte[0], Format.signed… 34 …SHORT ( Short.class, "Short", short.class, "short", 'S', new short[0], Format.signed… 35 …CHAR (Character.class, "Character", char.class, "char", 'C', new char[0], Format.unsign… 36 …INT ( Integer.class, "Integer", int.class, "int", 'I', new int[0], Format.signed… 37 …LONG ( Long.class, "Long", long.class, "long", 'J', new long[0], Format.signed… 38 …FLOAT ( Float.class, "Float", float.class, "float", 'F', new float[0], Format.floati… 39 …DOUBLE ( Double.class, "Double", double.class, "double", 'D', new double[0], Format.floati… 40 …OBJECT ( Object.class, "Object", Object.class, "Object", 'L', new Object[0], Format.other(… 42 …VOID ( Void.class, "Void", void.class, "void", 'V', null, Format.other(… [all …]
|
/libcore/ojluni/src/test/java/text/Format/MessageFormat/ |
D | MessageFormatsByArgumentIndex.java | 30 package test.java.text.Format.MessageFormat; 33 import java.text.Format; 42 Format[] subformats; in main() 101 private static void checkSubformatLength(Format[] subformats, int expected) { in checkSubformatLength() 107 private static void checkSubformat(Format[] subformats, int index, Format expected) { in checkSubformat() 108 Format subformat = subformats[index]; in checkSubformat()
|
D | Bug6481179.java | 30 package test.java.text.Format.MessageFormat;
|
D | Bug7003643.java | 31 package test.java.text.Format.MessageFormat;
|
D | bug4492719.java | 32 package test.java.text.Format.MessageFormat;
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldFormatTest.java | 22 import java.text.Format; 29 private class MockFormat extends Format { 55 Format fm = new MockFormat(); in test_clone() 56 Format fmc = (Format) fm.clone(); in test_clone()
|
D | OldFormatFieldTest.java | 20 import java.text.Format; 24 private class MockFormatField extends Format.Field {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | MessageFormatTest.java | 30 import java.text.Format; 123 Format[] formats = f1.getFormats(); in test_setFormatILjava_text_Format() 126 Format[] correctFormats = new Format[] { in test_setFormatILjava_text_Format() 231 Format[] correctFormats = new Format[] { in test_setFormats$Ljava_text_Format() 240 Format[] formats = f1.getFormats(); in test_setFormats$Ljava_text_Format() 323 Format[] formats = format.getFormats(); in test_ConstructorLjava_lang_String() 537 Format[] formats = clone.getFormats(); in test_clone() 613 Format[] formats = format1.getFormats(); in test_getFormats() 614 Format[] correctFormats = new Format[] { in test_getFormats() 629 correctFormats = new Format[] { NumberFormat.getCurrencyInstance(), in test_getFormats() [all …]
|
D | Support_Format.java | 22 import java.text.Format; 37 protected void t_FormatWithField(int count, Format format, Object object, in t_FormatWithField() 38 String text, Format.Field field, int begin, int end) { in t_FormatWithField() 58 …protected void t_Format(int count, Object object, Format format, Vector<FieldContainer> expectedRe… in t_Format()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Format.java | 22 import java.text.Format; 36 protected void t_FormatWithField(int count, Format format, Object object, in t_FormatWithField() 37 String text, Format.Field field, int begin, int end) { in t_FormatWithField() 59 protected void t_Format(int count, Object object, Format format, in t_Format()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatter.java | 73 import java.text.Format; 759 Format format = test.toFormat(); in test_toFormat_format() 767 Format format = test.toFormat(); in test_toFormat_format_null() 774 Format format = test.toFormat(); in test_toFormat_format_notTemporal() 782 Format format = test.toFormat(); in test_toFormat_parseObject_String() 791 Format format = test.toFormat(); in test_toFormat_parseObject_String_parseError() 804 Format format = test.toFormat(); in test_toFormat_parseObject_String_parseErrorLongText() 818 Format format = test.toFormat(); in test_toFormat_parseObject_String_null() 826 Format format = test.toFormat(); in test_toFormat_parseObject_StringParsePosition() 838 Format format = test.toFormat(); in test_toFormat_parseObject_StringParsePosition_parseError() [all …]
|
/libcore/ojluni/src/test/java/text/Format/DecimalFormat/ |
D | GoldenFormattedValues.java | 24 package test.java.text.Format.DecimalFormat;
|
D | SetGroupingSizeTest.java | 32 package test.java.text.Format.DecimalFormat;
|
D | Bug8165466.java | 32 package test.java.text.Format.DecimalFormat;
|
/libcore/ojluni/src/test/java/text/Format/NumberFormat/ |
D | DFSDeserialization142.java | 29 package test.java.text.Format.NumberFormat;
|
D | DFSSerialization142.java | 30 package test.java.text.Format.NumberFormat;
|
D | SerializationSaveTest.java | 30 package test.java.text.Format.NumberFormat.SerializationSaveTest;
|
D | DFSExponential.java | 33 package test.java.text.Format.NumberFormat;
|
D | SerializationLoadTest.java | 34 package test.java.text.Format.NumberFormat.SerializationLoadTest;
|
/libcore/ojluni/src/test/java/text/Format/ChoiceFormat/ |
D | Bug4387255.java | 30 package test.java.text.Format.ChoiceFormat;
|