Home
last modified time | relevance | path

Searched refs:format1 (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/security/
DIdentity.java115 String format1 = pk1.getFormat(); in checkKeysEqual() local
118 || (((format2 = pk2.getFormat()) != null) ^ (format1 != null)) in checkKeysEqual()
119 || ((format1 != null) && !format1.equals(format2))) { in checkKeysEqual()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DMessageFormatTest.java46 private MessageFormat format1, format2, format3; field in MessageFormatTest
115 MessageFormat f1 = (MessageFormat) format1.clone(); in test_setFormatILjava_text_Format()
201 result = format1.parse(sToParse); in test_parseLjava_lang_String()
222 MessageFormat f1 = (MessageFormat) format1.clone(); in test_setFormats$Ljava_text_Format()
539 MessageFormat format1 = new MessageFormat("{0}"); in test_equalsLjava_lang_Object() local
541 assertTrue("Should not be equal", !format1.equals(format2)); in test_equalsLjava_lang_Object()
543 assertTrue("Should be equal", format1.equals(format2)); in test_equalsLjava_lang_Object()
545 format1.setFormat(0, DateFormat.getTimeInstance()); in test_equalsLjava_lang_Object()
547 assertTrue("Should be equal2", format1.equals(format2)); in test_equalsLjava_lang_Object()
609 Format[] formats = format1.getFormats(); in test_getFormats()
[all …]
DDecimalFormatTest.java776 DecimalFormat format1 = new DecimalFormat(); in testConstructor_noArg() local
777 format1.applyPattern("'$'1000.0000"); in testConstructor_noArg()
781 format2.equals(format1)); in testConstructor_noArg()
784 format3.equals(format1)); in testConstructor_noArg()
787 !format4.equals(format1)); in testConstructor_noArg()
796 DecimalFormat format1 = new DecimalFormat(); in testConstructor_string() local
797 format1.applyPattern("'$'0000.0000"); in testConstructor_string()
799 format.equals(format1)); in testConstructor_string()
835 DecimalFormat format1 = new DecimalFormat("'$'1000.0000", dfs); in testConstructor_stringAndSymbols() local
840 format2.equals(format1)); in testConstructor_stringAndSymbols()
[all …]