/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ |
D | PriorityQueueTest.java | 54 assertEquals(0, new PriorityQueue(SIZE).size()); in testConstructor1() 84 Integer[] ints = new Integer[SIZE]; in testConstructor4() 96 Integer[] ints = new Integer[SIZE]; in testConstructor5() 97 for (int i = 0; i < SIZE-1; ++i) in testConstructor5() 110 Integer[] ints = new Integer[SIZE]; in testConstructor6() 111 for (int i = 0; i < SIZE; ++i) in testConstructor6() 114 for (int i = 0; i < SIZE; ++i) in testConstructor6() 126 PriorityQueue q = new PriorityQueue(SIZE, cmp); in testConstructor7() 128 Integer[] ints = new Integer[SIZE]; in testConstructor7() 129 for (int i = 0; i < SIZE; ++i) in testConstructor7() [all …]
|
D | ArrayBlockingQueueTest.java | 43 assertEquals(SIZE, new ArrayBlockingQueue(SIZE).remainingCapacity()); in testConstructor1() 73 Integer[] ints = new Integer[SIZE]; in testConstructor4() 74 ArrayBlockingQueue q = new ArrayBlockingQueue(SIZE, false, Arrays.asList(ints)); in testConstructor4() 85 Integer[] ints = new Integer[SIZE]; in testConstructor5() 86 for (int i = 0; i < SIZE-1; ++i) in testConstructor5() 88 ArrayBlockingQueue q = new ArrayBlockingQueue(SIZE, false, Arrays.asList(ints)); in testConstructor5() 99 Integer[] ints = new Integer[SIZE]; in testConstructor6() 100 for (int i = 0; i < SIZE; ++i) in testConstructor6() 113 Integer[] ints = new Integer[SIZE]; in testConstructor7() 114 for (int i = 0; i < SIZE; ++i) in testConstructor7() [all …]
|
D | PriorityBlockingQueueTest.java | 58 assertEquals(NOCAP, new PriorityBlockingQueue(SIZE).remainingCapacity()); in testConstructor1() 88 Integer[] ints = new Integer[SIZE]; in testConstructor4() 100 Integer[] ints = new Integer[SIZE]; in testConstructor5() 101 for (int i = 0; i < SIZE-1; ++i) in testConstructor5() 114 Integer[] ints = new Integer[SIZE]; in testConstructor6() 115 for (int i = 0; i < SIZE; ++i) in testConstructor6() 118 for (int i = 0; i < SIZE; ++i) in testConstructor6() 130 PriorityBlockingQueue q = new PriorityBlockingQueue(SIZE, cmp); in testConstructor7() 132 Integer[] ints = new Integer[SIZE]; in testConstructor7() 133 for (int i = 0; i < SIZE; ++i) in testConstructor7() [all …]
|
D | LinkedBlockingQueueTest.java | 47 assertEquals(SIZE, new LinkedBlockingQueue(SIZE).remainingCapacity()); in testConstructor1() 78 Integer[] ints = new Integer[SIZE]; in testConstructor4() 90 Integer[] ints = new Integer[SIZE]; in testConstructor5() 91 for (int i = 0; i < SIZE-1; ++i) in testConstructor5() 104 Integer[] ints = new Integer[SIZE]; in testConstructor6() 105 for (int i = 0; i < SIZE; ++i) in testConstructor6() 108 for (int i = 0; i < SIZE; ++i) in testConstructor6() 133 LinkedBlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity() 134 for (int i = 0; i < SIZE; ++i) { in testRemainingCapacity() 136 assertEquals(SIZE-i, q.size()); in testRemainingCapacity() [all …]
|
D | ConcurrentLinkedQueueTest.java | 63 Integer[] ints = new Integer[SIZE]; in testConstructor4() 75 Integer[] ints = new Integer[SIZE]; in testConstructor5() 76 for (int i = 0; i < SIZE-1; ++i) in testConstructor5() 89 Integer[] ints = new Integer[SIZE]; in testConstructor6() 90 for (int i = 0; i < SIZE; ++i) in testConstructor6() 93 for (int i = 0; i < SIZE; ++i) in testConstructor6() 117 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testSize() 118 for (int i = 0; i < SIZE; ++i) { in testSize() 119 assertEquals(SIZE-i, q.size()); in testSize() 122 for (int i = 0; i < SIZE; ++i) { in testSize() [all …]
|
D | LinkedListTest.java | 62 Integer[] ints = new Integer[SIZE]; in testConstructor6() 63 for (int i = 0; i < SIZE; ++i) in testConstructor6() 66 for (int i = 0; i < SIZE; ++i) in testConstructor6() 90 LinkedList q = populatedQueue(SIZE); in testSize() 91 for (int i = 0; i < SIZE; ++i) { in testSize() 92 assertEquals(SIZE-i, q.size()); in testSize() 95 for (int i = 0; i < SIZE; ++i) { in testSize() 127 for (int i = 0; i < SIZE; ++i) { in testAdd() 151 Integer[] ints = new Integer[SIZE]; in testAddAll5() 152 for (int i = 0; i < SIZE; ++i) in testAddAll5() [all …]
|
D | DelayQueueTest.java | 157 PDelay[] ints = new PDelay[SIZE]; in testConstructor4() 169 PDelay[] ints = new PDelay[SIZE]; in testConstructor5() 170 for (int i = 0; i < SIZE-1; ++i) in testConstructor5() 183 PDelay[] ints = new PDelay[SIZE]; in testConstructor6() 184 for (int i = 0; i < SIZE; ++i) in testConstructor6() 187 for (int i = 0; i < SIZE; ++i) in testConstructor6() 213 DelayQueue q = populatedQueue(SIZE); in testRemainingCapacity() 214 for (int i = 0; i < SIZE; ++i) { in testRemainingCapacity() 216 assertEquals(SIZE-i, q.size()); in testRemainingCapacity() 219 for (int i = 0; i < SIZE; ++i) { in testRemainingCapacity() [all …]
|
D | AtomicIntegerArrayTest.java | 30 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); in testConstructor() 31 for (int i = 0; i < SIZE; ++i) in testConstructor() 63 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); in testIndexing() 65 ai.get(SIZE); in testIndexing() 73 ai.set(SIZE, 0); in testIndexing() 86 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); in testGetSet() 87 for (int i = 0; i < SIZE; ++i) { in testGetSet() 101 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); in testCompareAndSet() 102 for (int i = 0; i < SIZE; ++i) { in testCompareAndSet() 142 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); in testWeakCompareAndSet() [all …]
|
D | AtomicLongArrayTest.java | 28 AtomicLongArray ai = new AtomicLongArray(SIZE); in testConstructor() 29 for (int i = 0; i < SIZE; ++i) in testConstructor() 61 AtomicLongArray ai = new AtomicLongArray(SIZE); in testIndexing() 63 ai.get(SIZE); in testIndexing() 71 ai.set(SIZE, 0); in testIndexing() 84 AtomicLongArray ai = new AtomicLongArray(SIZE); in testGetSet() 85 for (int i = 0; i < SIZE; ++i) { in testGetSet() 99 AtomicLongArray ai = new AtomicLongArray(SIZE); in testCompareAndSet() 100 for (int i = 0; i < SIZE; ++i) { in testCompareAndSet() 140 AtomicLongArray ai = new AtomicLongArray(SIZE); in testWeakCompareAndSet() [all …]
|
D | AtomicReferenceArrayTest.java | 29 AtomicReferenceArray<Integer> ai = new AtomicReferenceArray<Integer>(SIZE); in testConstructor() 30 for (int i = 0; i < SIZE; ++i) { in testConstructor() 64 AtomicReferenceArray<Integer> ai = new AtomicReferenceArray<Integer>(SIZE); in testIndexing() 66 ai.get(SIZE); in testIndexing() 74 ai.set(SIZE, null); in testIndexing() 87 AtomicReferenceArray ai = new AtomicReferenceArray(SIZE); in testGetSet() 88 for (int i = 0; i < SIZE; ++i) { in testGetSet() 102 AtomicReferenceArray ai = new AtomicReferenceArray(SIZE); in testCompareAndSet() 103 for (int i = 0; i < SIZE; ++i) { in testCompareAndSet() 143 AtomicReferenceArray ai = new AtomicReferenceArray(SIZE); in testWeakCompareAndSet() [all …]
|
D | CopyOnWriteArrayListTest.java | 49 Integer[] ints = new Integer[SIZE]; in testConstructor2() 50 for (int i = 0; i < SIZE-1; ++i) in testConstructor2() 53 for (int i = 0; i < SIZE; ++i) in testConstructor2() 61 Integer[] ints = new Integer[SIZE]; in testConstructor3() 62 for (int i = 0; i < SIZE-1; ++i) in testConstructor3() 65 for (int i = 0; i < SIZE; ++i) in testConstructor3() 101 CopyOnWriteArrayList full = populatedArray(SIZE); in testAddIfAbsent() 103 assertEquals(SIZE, full.size()); in testAddIfAbsent() 110 CopyOnWriteArrayList full = populatedArray(SIZE); in testAddIfAbsent2() 119 CopyOnWriteArrayList full = populatedArray(SIZE); in testClear() [all …]
|
D | AbstractQueueTest.java | 151 Integer[] ints = new Integer[SIZE]; in testAddAll2() 164 Integer[] ints = new Integer[SIZE]; in testAddAll3() 165 for (int i = 0; i < SIZE-1; ++i) in testAddAll3() 178 Integer[] ints = new Integer[SIZE]; in testAddAll4() 179 for (int i = 0; i < SIZE; ++i) in testAddAll4()
|
D | CopyOnWriteArraySetTest.java | 46 Integer[] ints = new Integer[SIZE]; in testConstructor3() 47 for (int i = 0; i < SIZE-1; ++i) in testConstructor3() 50 for (int i = 0; i < SIZE; ++i) in testConstructor3() 277 CopyOnWriteArraySet q = populatedSet(SIZE); in testSerialization()
|
D | JSR166TestCase.java | 331 static final int SIZE = 20; field in JSR166TestCase
|
D | ReentrantLockTest.java | 361 for(int i = 1; i <= SIZE; i++) { in testGetHoldCount() 365 for(int i = SIZE; i > 0; i--) { in testGetHoldCount()
|
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
D | FileChannelTest.java | 949 final long SIZE = 200; in test_lockJJZ_Shared() local 950 fileLock = readOnlyFileChannel.lock(POSITION, SIZE, true); in test_lockJJZ_Shared() 957 assertEquals(SIZE, fileLock.size()); in test_lockJJZ_Shared() 971 final long SIZE = 200; in test_lockJJZ_NotShared() local 972 fileLock = writeOnlyFileChannel.lock(POSITION, SIZE, false); in test_lockJJZ_NotShared() 977 assertEquals(SIZE, fileLock.size()); in test_lockJJZ_NotShared() 991 final long SIZE = Long.MAX_VALUE; in test_lockJJZ_Long_MAX_VALUE() local 992 fileLock = readOnlyFileChannel.lock(POSITION, SIZE, true); in test_lockJJZ_Long_MAX_VALUE() 996 assertEquals(SIZE, fileLock.size()); in test_lockJJZ_Long_MAX_VALUE() 1011 final long SIZE = 200; in test_lockJJZ_Overlapping() local [all …]
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
D | Short.java | 51 public static final int SIZE = 16; field in Short
|
D | Byte.java | 50 public static final int SIZE = 8; field in Byte
|
D | Float.java | 79 public static final int SIZE = 32; field in Float
|
D | Double.java | 82 public static final int SIZE = 64; field in Double
|
D | Long.java | 66 public static final int SIZE = 64; field in Long
|
D | Integer.java | 56 public static final int SIZE = 32; field in Integer
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x501/ |
D | AttributeTypeAndValue.java | 114 private static final int SIZE; field in AttributeTypeAndValue 136 SIZE = 10; 137 KNOWN_OIDS = new ObjectIdentifier[SIZE][CAPACITY];
|
/dalvik/libcore/awt-kernel/src/main/java/java/awt/font/ |
D | TextAttribute.java | 149 public static final TextAttribute SIZE = new TextAttribute("size"); //$NON-NLS-1$ field in TextAttribute
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
D | HexStringParser.java | 325 return Long.SIZE - leadingZeros; in countBitsLength()
|