/libcore/luni/src/test/java/libcore/java/text/ |
D | ChoiceFormatTest.java | 23 ChoiceFormat format = new ChoiceFormat(limits, formats); in testConstructor_doubleArray_StringArray() local 29 ChoiceFormat format = new ChoiceFormat(new double[] { 0 }, new String[] { "" }); in testSetChoices() local 38 private void verifyChoiceFormatCopiesSuppliedArrays(ChoiceFormat format) { in verifyChoiceFormatCopiesSuppliedArrays() 53 ChoiceFormat format = new ChoiceFormat(limits, formats); in testGetLimits() local 65 ChoiceFormat format = new ChoiceFormat(limits, formats); in testGetFormats() local
|
D | OldNumberFormatTest.java | 32 DecimalFormat format = (DecimalFormat) NumberFormat.getIntegerInstance(Locale.US); in test_getIntegerInstanceLjava_util_Locale() local 66 NumberFormat format = NumberFormat.getInstance(); in test_setMaximumIntegerDigits() local 81 NumberFormat format = NumberFormat.getInstance(new Locale("hu", "HU")); in test_setCurrencyLjava_util_Currency() local 287 NumberFormat format = NumberFormat.getCurrencyInstance(); in test_getCurrencyInstance() local 309 NumberFormat format = NumberFormat.getCurrencyInstance(usLocale); in test_getCurrencyInstanceLjava_util_Locale() local 335 NumberFormat format = NumberFormat.getInstance(); in test_getInstance() local 355 NumberFormat format = NumberFormat.getInstance(de_CH); in test_getInstanceLjava_util_Locale() local 373 NumberFormat format = NumberFormat.getNumberInstance(); in test_getNumberInstance() local 393 NumberFormat format = NumberFormat.getNumberInstance(deLocale); in test_getNumberInstanceLjava_util_Locale() local 410 NumberFormat format = NumberFormat.getPercentInstance(); in test_getPercentInstance() local [all …]
|
D | OldDateFormatTest.java | 46 public StringBuffer format(Date date, StringBuffer toAppendTo, in format() method in OldDateFormatTest.MockDateFormat 71 DateFormat format = DateFormat.getInstance(); in test_equalsLjava_lang_Object() local 91 DateFormat format = DateFormat.getDateTimeInstance( in test_formatLjava_util_Date() local 111 DateFormat format = DateFormat.getDateTimeInstance( in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() local 131 DateFormat format = DateFormat.getInstance(); in test_getTimeZone() local 213 … DateFormat format = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, Locale.US); in test_parseLString() local 477 DateFormat format = DateFormat.getInstance(); in test_setTimeZoneLjava_util_TimeZone() local
|
D | OldDecimalFormatTestICU.java | 32 DecimalFormat format; field in OldDecimalFormatTestICU 40 DecimalFormat format = (DecimalFormat) NumberFormat in test_sigDigitPatterns() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | NumberFormatTest.java | 38 DecimalFormat format = (DecimalFormat) NumberFormat in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() local 125 DecimalFormat format = (DecimalFormat) NumberFormat in test_getIntegerInstance() local 153 DecimalFormat format = (DecimalFormat) NumberFormat in test_getIntegerInstanceLjava_util_Locale() local 207 NumberFormat format = NumberFormat.getInstance(new Locale("hu", "HU")); in test_getCurrency() local 224 NumberFormat format = NumberFormat.getInstance(); in test_getMaximumIntegerDigits() local 236 NumberFormat format = NumberFormat.getInstance(new Locale("hu", "HU")); in test_setCurrencyLjava_util_Currency() local
|
D | DecimalFormatTest.java | 79 DecimalFormat format = new DecimalFormat(); in test_parse_integerOnly() local 559 DecimalFormat format = (DecimalFormat) NumberFormat.getInstance(Locale.US); in test_formatObject() local 646 DecimalFormat format = (DecimalFormat) NumberFormat.getInstance(Locale.US); in test_equals() local 682 DecimalFormat format = new DecimalFormat(); in test_setPositivePrefix() local 701 DecimalFormat format = new DecimalFormat(); in test_setPositiveSuffix() local 720 DecimalFormat format = new DecimalFormat(); in test_setNegativePrefix() local 738 DecimalFormat format = new DecimalFormat(); in test_setNegativeSuffix() local 757 DecimalFormat format = new DecimalFormat(); in test_setGroupingUsed() local 811 DecimalFormat format = new DecimalFormat("'$'0000.0000"); in testConstructor_string() local 892 DecimalFormat format = new DecimalFormat("#.#"); in test_applyPattern() local [all …]
|
D | DateFormatTest.java | 34 DateFormat format = DateFormat.getInstance(); in test_clone() local 65 DateFormat format = DateFormat.getInstance(); in test_getCalendar() local 312 DateFormat format = DateFormat.getInstance(); in test_getNumberFormat() local 431 DateFormat format = DateFormat.getInstance(); in test_setCalendarLjava_util_Calendar() local 441 DateFormat format = DateFormat.getInstance(); in test_setNumberFormatLjava_text_NumberFormat() local 451 DateFormat format = DateFormat.getInstance(); in test_parse_LString() local
|
D | MessageFormatTest.java | 50 private void checkSerialization(MessageFormat format) { in checkSerialization() 310 …MessageFormat format = new MessageFormat("Date: {0,date} Currency: {1, number, currency} Integer: … in test_ConstructorLjava_lang_StringLjava_util_Locale() local 318 MessageFormat format = new MessageFormat( in test_ConstructorLjava_lang_String() local 390 MessageFormat format = new MessageFormat("test"); in test_applyPatternLjava_lang_String() local 528 MessageFormat format = new MessageFormat("'{'choice'}'{0}"); in test_clone() local 558 MessageFormat format = new MessageFormat("{1,number,integer}"); in test_format$Ljava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() local 601 MessageFormat format = new MessageFormat(pattern, Locale.US); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() local 841 MessageFormat format = new MessageFormat("date is {0,date,MMM d, yyyy}"); in test_parseLjava_lang_StringLjava_text_ParsePosition() local 878 MessageFormat format = new MessageFormat("date {0,date}"); in test_setLocaleLjava_util_Locale() local 960 final MessageFormat format = new MessageFormat(pattern, Locale.ENGLISH); in test19011159() local
|
D | Support_MessageFormat.java | 51 MessageFormat format = new MessageFormat(pattern, Locale.US); in t_format_with_FieldPosition() local 80 MessageFormat format = new MessageFormat(pattern, Locale.US); in t_formatToCharacterIterator() local
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | SimpleFormatter.java | 62 private static final String format = LoggingSupport.getSimpleFormat(); field in SimpleFormatter 140 public synchronized String format(LogRecord record) { in format() method in SimpleFormatter
|
D | Formatter.java | 62 public abstract String format(LogRecord record); in format() method in Formatter 114 String format = record.getMessage(); in formatMessage() local
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | PublicKeyStub.java | 39 String format = null; field in PublicKeyStub 45 public PublicKeyStub(String algorithm, String format, byte[] encoded) { in PublicKeyStub()
|
D | PrivateKeyStub.java | 36 String format = null; field in PrivateKeyStub 47 public PrivateKeyStub(String algorithm, String format, byte[] encoded) { in PrivateKeyStub()
|
D | CertificateStub.java | 39 String format; field in CertificateStub 44 public CertificateStub(String format, Principal guarantor, Principal principal, PublicKey key){ in CertificateStub()
|
/libcore/support/src/test/java/libcore/java/io/ |
D | NullPrintStream.java | 36 public PrintStream format(String format, Object... args) { return this; } in format() method in NullPrintStream 37 public PrintStream format(Locale l, String format, Object... args) { return this; } in format() method in NullPrintStream 38 public PrintStream printf(String format, Object... args) { return this; } in printf() 39 public PrintStream printf(Locale l, String format, Object... args) { return this; } in printf()
|
/libcore/ojluni/src/main/java/java/security/ |
D | AlgorithmParametersSpi.java | 93 protected abstract void engineInit(byte[] params, String format) in engineInit() 144 protected abstract byte[] engineGetEncoded(String format) in engineGetEncoded()
|
D | KeyRep.java | 103 private String format; field in KeyRep 132 String format, byte[] encoded) { in KeyRep()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/ |
D | AVA.java | 48 AVA(java.io.Reader in, int format) throws java.io.IOException { in AVA() 52 AVA(java.io.Reader in, int format, java.util.Map<java.lang.String, java.lang.String> keywordMap) in AVA() 80 private static sun.security.util.DerValue parseHexString(java.io.Reader in, int format) in parseHexString() 91 java.io.Reader in, int c, int format, java.lang.StringBuilder temp) in parseString() 106 private static boolean isTerminator(int ch, int format) { in isTerminator() 136 int format, java.util.Map<java.lang.String, java.lang.String> oidMap) { in toKeyword()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | AlgorithmParametersSpiTest.java | 57 protected void engineInit(byte[] params, String format){ in engineInit() 65 protected byte[] engineGetEncoded(String format){ in engineGetEncoded()
|
/libcore/ojluni/src/main/java/java/io/ |
D | PrintWriter.java | 803 public PrintWriter printf(String format, Object ... args) { in printf() 854 public PrintWriter printf(Locale l, String format, Object ... args) { in printf() 898 public PrintWriter format(String format, Object ... args) { in format() argument 905 formatter.format(Locale.getDefault(), format, args); in format() local 958 public PrintWriter format(Locale l, String format, Object ... args) { in format() method in PrintWriter
|
D | PrintStream.java | 899 public PrintStream printf(String format, Object ... args) { in printf() 949 public PrintStream printf(Locale l, String format, Object ... args) { in printf() 992 public PrintStream format(String format, Object ... args) { in format() argument 999 formatter.format(Locale.getDefault(), format, args); in format() local 1049 public PrintStream format(Locale l, String format, Object ... args) { in format() method in PrintStream
|
/libcore/support/src/test/java/tests/support/ |
D | Support_MessageFormat.java | 48 MessageFormat format = new MessageFormat(pattern, Locale.US); in t_format_with_FieldPosition() local 75 MessageFormat format = new MessageFormat(pattern, Locale.US); in t_formatToCharacterIterator() local
|
/libcore/ojluni/annotations/sdk/nullability/java/io/ |
D | PrintWriter.annotated.java | 110 …java.lang.@libcore.util.Nullable Object @libcore.util.NonNull ... args) { throw new RuntimeExcepti… in printf() 112 …ter printf(@libcore.util.Nullable java.util.Locale l, @libcore.util.NonNull java.lang.String forma… in printf() 114 …rintWriter format(@libcore.util.NonNull java.lang.String format, java.lang.@libcore.util.Nullable … in format() method in PrintWriter 116 …l public java.io.PrintWriter format(@libcore.util.Nullable java.util.Locale l, @libcore.util.NonNu… in format() method in PrintWriter
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatter.java | 759 Format format = test.toFormat(); in test_toFormat_format() local 767 Format format = test.toFormat(); in test_toFormat_format_null() local 774 Format format = test.toFormat(); in test_toFormat_format_notTemporal() local 782 Format format = test.toFormat(); in test_toFormat_parseObject_String() local 791 Format format = test.toFormat(); in test_toFormat_parseObject_String_parseError() local 804 Format format = test.toFormat(); in test_toFormat_parseObject_String_parseErrorLongText() local 818 Format format = test.toFormat(); in test_toFormat_parseObject_String_null() local 826 Format format = test.toFormat(); in test_toFormat_parseObject_StringParsePosition() local 838 Format format = test.toFormat(); in test_toFormat_parseObject_StringParsePosition_parseError() local 850 Format format = test.toFormat(); in test_toFormat_parseObject_StringParsePosition_nullString() local [all …]
|
/libcore/ojluni/annotations/sdk/nullability/java/text/ |
D | NumberFormat.annotated.java | 54 @libcore.util.NonNull public java.lang.StringBuffer format(@libcore.util.NonNull java.lang.Object n… in format() method in NumberFormat 58 @libcore.util.NonNull public final java.lang.String format(double number) { throw new RuntimeExcept… in format() method in NumberFormat 60 @libcore.util.NonNull public final java.lang.String format(long number) { throw new RuntimeExceptio… in format() method in NumberFormat 62 @libcore.util.NonNull public abstract java.lang.StringBuffer format(double number, @libcore.util.No… in format() method in NumberFormat 64 @libcore.util.NonNull public abstract java.lang.StringBuffer format(long number, @libcore.util.NonN… in format() method in NumberFormat
|