Home
last modified time | relevance | path

Searched refs:yield (Results 1 – 25 of 94) sorted by relevance

1234

/libcore/ojluni/src/test/java/util/Collections/
DViewSynch.java55 Thread.yield(); in main()
75 Thread.yield(); in equals()
/libcore/jsr166-tests/src/test/java/jsr166/
DThreadLocalTest.java74 Thread.yield(); in run()
79 Thread.yield(); in run()
DLockSupportTest.java157 Thread.yield(); in testParkAfterUnpark()
233 Thread.yield(); in testParkAfterInterrupt()
324 Thread.yield(); in testGetBlocker()
DAtomicStampedReferenceTest.java107 Thread.yield(); in testCompareAndSetInMultipleThreads()
127 Thread.yield(); in testCompareAndSetInMultipleThreads2()
DAtomicMarkableReferenceTest.java107 Thread.yield(); in testCompareAndSetInMultipleThreads()
127 Thread.yield(); in testCompareAndSetInMultipleThreads2()
DLinkedTransferQueueTest.java823 Thread.yield(); in testTransfer3()
828 Thread.yield(); in testTransfer3()
853 Thread.yield(); in testTransfer4()
876 Thread.yield(); in testTransfer5()
917 Thread.yield(); in testTryTransfer3()
941 Thread.yield();
1022 Thread.yield();
DAtomicBooleanTest.java90 while (!ai.compareAndSet(false, true)) Thread.yield(); in testCompareAndSetInMultipleThreads()
DSynchronousQueueTest.java578 Thread.yield();
602 while ((drained = q.drainTo(l, 1)) == 0) Thread.yield();
605 while ((drained = q.drainTo(l, 1)) == 0) Thread.yield();
DAtomicReferenceTest.java90 Thread.yield(); in testCompareAndSetInMultipleThreads()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadLocalTest.java98 Thread.yield(); in run()
103 Thread.yield(); in run()
DLockSupportTest.java181 Thread.yield(); in testParkAfterUnpark()
257 Thread.yield(); in testParkAfterInterrupt()
348 Thread.yield(); in testGetBlocker()
DAtomicMarkableReferenceTest.java130 Thread.yield(); in testCompareAndSetInMultipleThreads()
150 Thread.yield(); in testCompareAndSetInMultipleThreads2()
DAtomicStampedReferenceTest.java130 Thread.yield(); in testCompareAndSetInMultipleThreads()
150 Thread.yield(); in testCompareAndSetInMultipleThreads2()
DLinkedTransferQueueTest.java838 Thread.yield(); in testTransfer3()
843 Thread.yield(); in testTransfer3()
868 Thread.yield(); in testTransfer4()
890 Thread.yield(); in testTransfer5()
931 Thread.yield(); in testTryTransfer3()
955 Thread.yield();
1036 Thread.yield();
DExecutorCompletionServiceTest.java142 Thread.yield(); in testPoll1()
162 Thread.yield(); in testPoll2()
DAtomicBooleanTest.java113 while (!ai.compareAndSet(false, true)) Thread.yield(); in testCompareAndSetInMultipleThreads()
DSynchronousQueueTest.java598 Thread.yield();
622 while ((drained = q.drainTo(l, 1)) == 0) Thread.yield();
625 while ((drained = q.drainTo(l, 1)) == 0) Thread.yield();
/libcore/ojluni/src/main/java/java/util/
DJapaneseImperialCalendar.java1102 yield Math.max(LEAST_MAX_VALUES[YEAR], d.getYear()); in getMaximum()
1308 yield month;
1325 yield (int) (transition - gcal.getFixedDate(d));
1328 yield (int) (gcal.getFixedDate(d) - transition);
1334 yield (int) (fd - jan1) + 1;
1342 yield (int) (fd2 - fd1);
1344 yield jcal.getYearLength(date);
1353 yield getWeekNumber(jan1, fd);
1370 yield getWeekNumber(jan1, nextJan1st);
1384 yield 53;
[all …]
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DTestUtils.java48 Thread.yield(); in waitWhileTrueOrTimeout()
DForkJoinPoolTest.java68 Thread.yield(); in testGetRunningThreadCount()
/libcore/ojluni/src/main/java/java/util/concurrent/
DFutureTask.java333 Thread.yield(); // wait out pending interrupt in handlePossibleCancellationInterrupt()
415 Thread.yield(); in awaitDone()
DExchanger.java391 Thread.yield(); // two yields per wait in arenaExchange()
495 Thread.yield(); in slotExchange()
/libcore/ojluni/src/main/java/java/lang/runtime/
DObjectMethods.java350 yield makeEquals(recordClass, getterList); in bootstrap()
355 yield makeHashCode(recordClass, getterList); in bootstrap()
363 yield makeToString(recordClass, getterList, nameList); in bootstrap()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DStringReaderTest.java168 Thread.yield(); in test_synchronization()
/libcore/ojluni/src/main/java/java/lang/
DMath.java2691 yield powerOfTwoD(exp); in ulp()
2696 yield Double.longBitsToDouble(1L << in ulp()
2738 yield powerOfTwoF(exp); in ulp()
2743 yield Float.intBitsToFloat(1 << in ulp()

1234