Home
last modified time | relevance | path

Searched defs:first (Results 1 – 25 of 97) sorted by relevance

1234

/libcore/ojluni/src/test/java/util/WeakHashMap/
DGCDuringIteration.java113 void checkIterator(final Iterator<Map.Entry<Foo, Integer>> it, int first) { in checkIterator()
149 int first = firstValue(map); in test() local
154 equal(map.size(), first); in test() local
159 int first = firstValue(map); in test() local
175 int first = firstValue(map); in test() local
181 equal(firstValue(map), first); in test() local
190 int first = firstValue(map); in test() local
199 equal(firstValue(map), first); in test() local
208 int first = firstValue(map); in test() local
212 equal(map.size(), first+1); in test() local
[all …]
/libcore/luni/src/test/java/libcore/java/util/random/
DRandomGeneratorFactoryTest.java159 private static void checkNextBoolean(RandomGenerator first, RandomGenerator second) { in checkNextBoolean()
169 private static void checkNextInt(RandomGenerator first, RandomGenerator second) { in checkNextInt()
179 private static void checkNextLong(RandomGenerator first, RandomGenerator second) { in checkNextLong()
189 private static void checkNextDouble(RandomGenerator first, RandomGenerator second) { in checkNextDouble()
199 private static void checkInts(RandomGenerator first, RandomGenerator second) { in checkInts()
208 private static void checkLongs(RandomGenerator first, RandomGenerator second) { in checkLongs()
217 private static void checkDoubles(RandomGenerator first, RandomGenerator second) { in checkDoubles()
/libcore/ojluni/src/test/java/net/SocketOptions/
DSupportedOptionsSet.java51 static void first() throws IOException { in first() method in SupportedOptionsSet
57 Set<?> first = s.supportedOptions(); in first() local
76 Set<?> first = ss.supportedOptions(); in second() local
/libcore/luni/src/test/java/libcore/java/lang/
DThreadGroupTest.java46 Thread first = createHangThread(group); in interrupt_shouldInterruptAllThreadsInAGroup() local
62 Thread first = createHangThread(parentGroup); in interrupt_shouldInterruptThreadsInSubgroups() local
78 Thread first = createHangThread(parentGroup); in interrupt_shouldNotInterruptThreadsInParentGroup() local
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestDateTimeFormatterBuilderWithLocale.java142 final long first = 1L; in test_appendText_mapTextLookup() local
153 assertEquals(ta.getLong(ChronoField.YEAR_OF_ERA), first); in test_appendText_mapTextLookup() local
154 assertEquals(ta.getLong(ChronoField.MONTH_OF_YEAR), first); in test_appendText_mapTextLookup() local
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DRangeTest.java47 Integer first = Stream.iterate(0, i -> i + 1).filter(i -> i > 10000).findFirst().get(); in testInfiniteRangeFindFirst() local
143 int first = IntStream.iterate(0, i -> i + 1).filter(i -> i > 10000).findFirst().getAsInt(); in testIntInfiniteRangeFindFirst() local
226 … long first = LongStream.iterate(0, i -> i + 1).filter(i -> i > 10000).findFirst().getAsLong(); in testLongInfiniteRangeFindFirst() local
/libcore/ojluni/src/test/java/util/Map/
DLockStep.java66 Map first = maps.get(0); in mapsEqual() local
78 Map first = maps.get(0); in removeLastTwo() local
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DObjectIdentifier.java123 private static void checkFirstComponent(int first) throws java.io.IOException { in checkFirstComponent()
127 private static void checkFirstComponent(java.math.BigInteger first) throws java.io.IOException { in checkFirstComponent()
131 private static void checkSecondComponent(int first, int second) throws java.io.IOException { in checkSecondComponent()
135 private static void checkSecondComponent(int first, java.math.BigInteger second) in checkSecondComponent()
/libcore/ojluni/src/main/java/java/nio/file/
DPaths.java83 public static Path get(String first, String... more) { in get()
DFileSystem.java295 public abstract Path getPath(String first, String... more); in getPath()
/libcore/ojluni/src/main/java/sun/security/util/
DObjectIdentifier.java149 int first = 0, second; in ObjectIdentifier() local
629 private static void checkFirstComponent(int first) throws IOException { in checkFirstComponent()
635 private static void checkFirstComponent(BigInteger first) throws IOException { in checkFirstComponent()
642 private static void checkSecondComponent(int first, int second) throws IOException { in checkSecondComponent()
648 private static void checkSecondComponent(int first, BigInteger second) throws IOException { in checkSecondComponent()
/libcore/ojluni/src/main/java/java/util/concurrent/
DDelayQueue.java194 E first = q.peek(); in poll() local
215 E first = q.peek(); in take() local
260 E first = q.peek(); in poll() local
/libcore/ojluni/src/main/java/java/util/
DSortedSet.java213 E first(); in first() method
/libcore/ojluni/src/main/java/java/text/
DCharacterIterator.java122 public char first(); in first() method
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestExampleCode.java105 ChronoLocalDate first = now1 in test_chronoPackageExample() local
158 ThaiBuddhistDate first = now1 in test_calendarPackageExample() local
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DCleaner.java62 private static sun.misc.Cleaner first; field in Cleaner
/libcore/ojluni/src/main/java/jdk/internal/ref/
DCleaner.java72 private static Cleaner first = null; field in Cleaner
/libcore/ojluni/src/test/java/nio/file/Path/
DPathOps.java43 private PathOps(String first, String... more) { in PathOps()
204 static PathOps test(String first, String... more) { in test()
493 static PathOps testOf(String first) { in testOf()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixUriUtils.java160 private static long lowMask(char first, char last) { in lowMask()
171 private static long highMask(char first, char last) { in highMask()
/libcore/ojluni/src/main/java/sun/misc/
DCleaner.java71 static private Cleaner first = null; field in Cleaner
/libcore/metrictests/memory/apps/src/libcore/heapdumper/
DActions.java80 String first = m.group(1); in run() local
/libcore/ojluni/annotations/flagged_api/java/util/
DSortedSet.annotated.java40 public E first(); in first() method
/libcore/ojluni/src/main/java/java/util/stream/
DStreams.java326 T first; field in Streams.StreamBuilderImpl
422 int first; field in Streams.IntStreamBuilderImpl
513 long first; field in Streams.LongStreamBuilderImpl
604 double first; field in Streams.DoubleStreamBuilderImpl
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DAbstractQueuedSynchronizer.java1143 Thread first = null, w; Node h, s; in getFirstQueuedThread() local
1233 Thread first = null; Node h, s; in hasQueuedPredecessors() local
1448 private void doSignal(ConditionNode first, boolean all) { in doSignal()
1471 ConditionNode first = firstWaiter; in signal() local
1486 ConditionNode first = firstWaiter; in signalAll() local
DAbstractQueuedLongSynchronizer.java777 Thread first = null, w; Node h, s; in getFirstQueuedThread() local
867 Thread first = null; Node h, s; in hasQueuedPredecessors() local
1082 private void doSignal(ConditionNode first, boolean all) { in doSignal()
1105 ConditionNode first = firstWaiter; in signal() local
1120 ConditionNode first = firstWaiter; in signalAll() local

1234