/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | GregorianCalendarTest.java | 48 GregorianCalendar gc = new GregorianCalendar(1972, Calendar.OCTOBER, 13); in test_ConstructorIII() local 50 1972, gc.get(Calendar.YEAR)); in test_ConstructorIII() 52 gc.get(Calendar.MONTH) == Calendar.OCTOBER); in test_ConstructorIII() 53 assertEquals("Incorrect calendar constructed 3", 13, gc in test_ConstructorIII() 55 assertTrue("Incorrect calendar constructed 4", gc.getTimeZone().equals( in test_ConstructorIII() 65 GregorianCalendar gc = new GregorianCalendar(1972, Calendar.OCTOBER, in test_ConstructorIIIII() local 68 1972, gc.get(Calendar.YEAR)); in test_ConstructorIIIII() 70 gc.get(Calendar.MONTH) == Calendar.OCTOBER); in test_ConstructorIIIII() 71 assertEquals("Incorrect calendar constructed", 13, gc in test_ConstructorIIIII() 73 assertEquals("Incorrect calendar constructed", 7, gc.get(Calendar.HOUR)); in test_ConstructorIIIII() [all …]
|
D | WeakHashMapTest.java | 242 System.gc(); in test_putLjava_lang_ObjectLjava_lang_Object() 243 System.gc(); in test_putLjava_lang_ObjectLjava_lang_Object() 317 System.gc(); in test_keySet() 318 System.gc(); in test_keySet() 343 System.gc(); in test_keySet_hasNext() 344 System.gc(); in test_keySet_hasNext() 395 System.gc(); in test_values() 396 System.gc(); in test_values()
|
D | SimpleTimeZoneTest.java | 405 GregorianCalendar gc = new GregorianCalendar(1998, Calendar.JUNE, 11); in test_inDaylightTimeLjava_util_Date() local 407 assertTrue("Returned incorrect daylight value1", zone.inDaylightTime(gc in test_inDaylightTimeLjava_util_Date() 409 gc = new GregorianCalendar(1998, Calendar.NOVEMBER, 11); in test_inDaylightTimeLjava_util_Date() 411 .inDaylightTime(gc.getTime()))); in test_inDaylightTimeLjava_util_Date() 412 gc = new GregorianCalendar(zone); in test_inDaylightTimeLjava_util_Date() 413 gc.set(1999, Calendar.APRIL, 4, 1, 59, 59); in test_inDaylightTimeLjava_util_Date() 415 .inDaylightTime(gc.getTime()))); in test_inDaylightTimeLjava_util_Date() 416 Date date = new Date(gc.getTime().getTime() + 1000); in test_inDaylightTimeLjava_util_Date() 419 gc.set(1999, Calendar.OCTOBER, 31, 1, 0, 0); in test_inDaylightTimeLjava_util_Date() 421 .inDaylightTime(gc.getTime()))); in test_inDaylightTimeLjava_util_Date() [all …]
|
D | DateTest.java | 33 GregorianCalendar gc = new GregorianCalendar(1998, Calendar.OCTOBER, in test_Constructor() local 35 long oldTime = gc.getTime().getTime(); in test_Constructor()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | XMLGregorianCalendar.java | 688 XMLGregorianCalendar gc = this; in hashCode() local 690 gc = this.normalize(); in hashCode() 692 return gc.getYear() in hashCode() 693 + gc.getMonth() in hashCode() 694 + gc.getDay() in hashCode() 695 + gc.getHour() in hashCode() 696 + gc.getMinute() in hashCode() 697 + gc.getSecond(); in hashCode()
|
/libcore/support/src/test/java/libcore/java/lang/ref/ |
D | FinalizationTester.java | 31 Runtime.getRuntime().gc(); in induceFinalization()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ExpensiveObjectsBenchmark.java | 145 GregorianCalendar gc = new GregorianCalendar(); in timeClonedGregorianCalendar() local 147 gc.clone(); in timeClonedGregorianCalendar()
|
/libcore/benchmarks/src/benchmarks/ |
D | ReferenceGetBenchmark.java | 55 Runtime.getRuntime().gc(); in timeNonPreservedWeakReferenceGet()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | RuntimeTest.java | 106 r.gc(); in test_runFinalization()
|
D | ProcessTest.java | 33 System.gc(); in test_55017()
|
D | ProcessManagerTest.java | 173 rt.gc(); in stuff()
|
D | SystemTest.java | 273 System.gc(); in test_runFinalization()
|
/libcore/dalvik/src/test/java/dalvik/system/ |
D | CloseGuardMonitor.java | 86 runtime.gc(); in run()
|
/libcore/luni/src/test/java/libcore/java/lang/ref/ |
D | FinalizeTest.java | 141 System.gc(); in createChainedFinalizer()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
D | PhantomReferenceTest.java | 61 Runtime.getRuntime().gc(); in test_gcInteraction()
|
D | ReferenceTest.java | 301 System.gc(); in test_finalizeReferenceInteraction()
|
/libcore/support/src/test/java/tests/security/ |
D | MessageDigestTest.java | 68 System.gc(); in tearDown()
|
/libcore/luni/src/main/java/java/lang/ |
D | System.java | 642 public static void gc() { in gc() method in System 653 Runtime.getRuntime().gc(); in gc() 1046 Runtime.getRuntime().gc(); in runFinalization()
|
D | Runtime.java | 300 public native void gc(); in gc() method in Runtime
|
/libcore/luni/src/main/java/java/util/ |
D | Date.java | 675 GregorianCalendar gc = new GregorianCalendar(gmtZone); in toGMTString() local 676 gc.setTimeInMillis(milliseconds); in toGMTString()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldSystemTest.java | 264 System.gc(); in test_gc()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | DeflaterTest.java | 192 System.gc(); in test_finalize()
|