Home
last modified time | relevance | path

Searched refs:setDefault (Results 1 – 25 of 100) sorted by relevance

1234

/external/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java73 setDefault(Appendable.class, new StringBuilder()); in setCommonDefaults()
74 setDefault(CharSequence.class, ""); in setCommonDefaults()
75 setDefault(Class.class, Class.class); in setCommonDefaults()
76 setDefault(Collection.class, Collections.emptySet()); in setCommonDefaults()
77 setDefault(Comparable.class, 0); in setCommonDefaults()
78 setDefault(Comparator.class, Collections.reverseOrder()); in setCommonDefaults()
79 setDefault(Function.class, Functions.identity()); in setCommonDefaults()
80 setDefault(Integer.class, 0); in setCommonDefaults()
81 setDefault(Iterable.class, Collections.emptySet()); in setCommonDefaults()
82 setDefault(Iterator.class, Iterators.emptyIterator()); in setCommonDefaults()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DBstTesting.java163 tester.setDefault(BstNode.class, node); in defaultNullPointerTester()
164 tester.setDefault(BstSide.class, LEFT); in defaultNullPointerTester()
165 tester.setDefault(BstNodeFactory.class, nodeFactory); in defaultNullPointerTester()
166 tester.setDefault(BstBalancePolicy.class, balancePolicy); in defaultNullPointerTester()
167 tester.setDefault(BstPathFactory.class, pathFactory); in defaultNullPointerTester()
168 tester.setDefault(BstPath.class, pathFactory.initialPath(node)); in defaultNullPointerTester()
169 tester.setDefault(BstInOrderPath.class, pathFactory.initialPath(node)); in defaultNullPointerTester()
170 tester.setDefault(Object.class, 'a'); in defaultNullPointerTester()
171 tester.setDefault(GeneralRange.class, GeneralRange.all(Ordering.natural())); in defaultNullPointerTester()
172 tester.setDefault(BstAggregate.class, countAggregate); in defaultNullPointerTester()
[all …]
DSortedListsTest.java124 tester.setDefault(Function.class, Functions.identity()); in testNulls()
125 tester.setDefault(List.class, LIST_WITH_DUPS); in testNulls()
126 tester.setDefault(Comparable.class, 2); in testNulls()
127 tester.setDefault(KeyPresentBehavior.class, KeyPresentBehavior.ANY_PRESENT); in testNulls()
128 tester.setDefault(KeyAbsentBehavior.class, KeyAbsentBehavior.NEXT_HIGHER); in testNulls()
DRangeNonGwtTest.java33 tester.setDefault(BoundType.class, BoundType.OPEN); in testNullPointers()
34 tester.setDefault(Comparable.class, 0); in testNullPointers()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DLocaleTest.java125 Locale.setDefault(l); in test_getDefault()
127 Locale.setDefault(org); in test_getDefault()
175 Locale.setDefault(locale); in test_getDisplayLanguage()
178 Locale.setDefault(defaultLocale); in test_getDisplayLanguage()
333 Locale.setDefault(l); in test_setDefaultLjava_util_Locale()
335 Locale.setDefault(org); in test_setDefaultLjava_util_Locale()
338 Locale.setDefault(new Locale("tr", "")); in test_setDefaultLjava_util_Locale()
341 Locale.setDefault(org); in test_setDefaultLjava_util_Locale()
407 Locale.setDefault(Locale.US); in setUp()
417 Locale.setDefault(defaultLocale); in tearDown()
DCurrencyTest.java121 Locale.setDefault(Locale.US); in test_getSymbol()
128 Locale.setDefault(new Locale("ko", "KR")); in test_getSymbol()
137 Locale.setDefault(new Locale("kr", "KR")); in test_getSymbol()
148 Locale.setDefault(Locale.US); in test_getSymbolLjava_util_Locale()
166 Locale.setDefault(new Locale("ja", "JP")); in test_getSymbolLjava_util_Locale()
170 Locale.setDefault(Locale.US); in test_getSymbolLjava_util_Locale()
221 Locale.setDefault(new Locale("ja", "JP")); in test_getSymbolLjava_util_Locale()
272 Locale.setDefault(Locale.US); in test_getSymbolLjava_util_Locale()
285 Locale.setDefault(new Locale("da", "DK")); in test_getSymbolLjava_util_Locale()
325 Locale.setDefault(defaultLocale); in setUp()
DTimeZoneTest.java164 TimeZone.setDefault(zone); in test_setDefaultLjava_util_TimeZone()
166 TimeZone.setDefault(null); in test_setDefaultLjava_util_TimeZone()
200 TimeZone.setDefault(TimeZone.getTimeZone("America/Toronto")); in test_GetTimezoneOffset()
DDateTest.java460 TimeZone.setDefault(TimeZone.getTimeZone("EST")); in test_toString()
467 TimeZone.setDefault(tz); in test_toString()
471 TimeZone.setDefault(TimeZone.getTimeZone("MST")); in test_toString()
503 TimeZone.setDefault(defaultTimeZone); in tearDown()
/external/llvm/include/llvm/CodeGen/
DMachineScheduler.h81 static void setDefault(ScheduleDAGCtor C) { in setDefault() function
82 Registry.setDefault((MachinePassCtor)C); in setDefault()
84 static void setDefault(StringRef Name) { in setDefault() function
85 Registry.setDefault(Name); in setDefault()
DRegAllocRegistry.h54 static void setDefault(FunctionPassCtor C) { in setDefault() function
55 Registry.setDefault((MachinePassCtor)C); in setDefault()
DSchedulerRegistry.h58 static void setDefault(FunctionPassCtor C) { in setDefault() function
59 Registry.setDefault((MachinePassCtor)C); in setDefault()
DMachinePassRegistry.h101 void setDefault(MachinePassCtor C) { Default = C; } in setDefault() function
102 void setDefault(StringRef Name);
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
DSequenceTest.java75 setDefault(Boolean.TRUE, 0); in setUp()
76 setDefault(defaultList, 1); in setUp()
174 setDefault(Boolean.TRUE, 0); in testVerify()
175 setDefault(defaultList, 1); in testVerify()
203 setDefault(Boolean.TRUE, 0); in testEncodeDefault()
221 setDefault(new byte[] { 0x01 }, 0); in testEncodeDefault()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTimestampTest.java201 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testSetTimelong()
219 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetTime()
257 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetDate()
270 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetHours()
283 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetMinutes()
296 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetSeconds()
310 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString()
342 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString1()
413 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testToString()
429 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString()
[all …]
DTimeTest.java101 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString()
117 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString()
142 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testSetTime()
308 TimeZone.setDefault(defaultTimeZone); in tearDown()
DDateTest.java246 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString()
278 TimeZone.setDefault(TimeZone.getTimeZone(timeZoneName)); in testSetTimelong()
392 TimeZone.setDefault(defaultTimeZone); in tearDown()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DCookieHandlerTest.java43 CookieHandler.setDefault(rc1); in test_SetDefault_java_net_cookieHandler()
45 CookieHandler.setDefault(rc2); in test_SetDefault_java_net_cookieHandler()
47 CookieHandler.setDefault(null); in test_SetDefault_java_net_cookieHandler()
DResponseCacheTest.java47 ResponseCache.setDefault(rc1); in test_SetDefaultLjava_net_ResponseCache_Normal()
49 ResponseCache.setDefault(rc2); in test_SetDefaultLjava_net_ResponseCache_Normal()
51 ResponseCache.setDefault(null); in test_SetDefaultLjava_net_ResponseCache_Normal()
DAuthenticatorTest.java79 Authenticator.setDefault(mock); in test_requestPasswordAuthentication_InetAddress_int_String_String_String()
91 Authenticator.setDefault(mock); in test_requestPasswordAuthentication_String_InetAddress_int_String_String_String()
167 Authenticator.setDefault(new Authenticator() { in test_setDefault()
175 Authenticator.setDefault(new Authenticator() { in test_setDefault()
DHttpCookieTest.java587 Locale.setDefault(Locale.FRENCH); in test_Parse_locale()
594 Locale.setDefault(Locale.GERMAN); in test_Parse_locale()
601 Locale.setDefault(Locale.KOREA); in test_Parse_locale()
609 Locale.setDefault(Locale.TAIWAN); in test_Parse_locale()
617 Locale.setDefault(Locale.ITALIAN); in test_Parse_locale()
970 Locale.setDefault(Locale.ENGLISH);
975 Locale.setDefault(locale);
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/
DPluginFlyoutPreferences.java48 m_store.setDefault(m_dockLocationKey, location); in initializeDefaults()
49 m_store.setDefault(m_stateKey, state); in initializeDefaults()
50 m_store.setDefault(m_widthKey, width); in initializeDefaults()
/external/icu4c/test/intltest/
Ditformat.cpp78 TimeZone::setDefault(*tz); in runIndexedTest()
81 Locale::setDefault( Locale::getEnglish(), status ); in runIndexedTest()
141 Locale::setDefault( saveDefaultLocale, status ); in runIndexedTest()
/external/llvm/lib/CodeGen/
DMachinePassRegistry.cpp22 void MachinePassRegistry::setDefault(StringRef Name) { in setDefault() function in MachinePassRegistry
31 setDefault(Ctor); in setDefault()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DExecutionListTest.java87 tester.setDefault(Executor.class, sameThreadExecutor()); in testNulls()
88 tester.setDefault(Runnable.class, DO_NOTHING); in testNulls()
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DZipEntryTest.java367 TimeZone.setDefault(TimeZone.getTimeZone("EST")); in test_setTimeJ()
371 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in test_setTimeJ()
375 TimeZone.setDefault(TimeZone.getTimeZone("EST")); in test_setTimeJ()
386 TimeZone.setDefault(zone); in test_setTimeJ()

1234