/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | BlockingDeque.java | 603 int size(); method in interface:BlockingDeque
|
/libcore/luni/src/main/java/libcore/util/ |
H A D | BasicLruCache.java | 95 while (map.size() > maxSize) {
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldByteArrayOutputStreamTest.java | 40 assertEquals("Test 1: Failed to create stream;", 0, bos.size());
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | CookiesTest.java | 49 assertEquals(1, cookies.size());
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | AbstractCollectionTest.java | 35 m.values().toArray(new Integer[m.size()]);
|
H A D | HashMapTest.java | 83 assertEquals(3, map.size());
|
H A D | OldAndroidHashMapTest.java | 35 assertEquals(4, map.size()); 53 assertEquals(0, map.size()); 68 assertEquals(0, map.size()); 103 assertEquals(0, map.size());
|
/libcore/luni/src/test/java/tests/support/ |
H A D | ThreadPool.java | 55 while (taskQueue.size() == 0) {
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Collection.java | 141 int size(); method in interface:Collection 201 * specified array and the size of this collection.
|
H A D | List.java | 121 int size(); method in interface:List 178 * the size of this list. 333 * (<tt>index < 0 || index > size()</tt>) 394 * lists have the same size, and all corresponding pairs of elements in 435 * (<tt>index < 0 || index >= size()</tt>) 455 * (<tt>index < 0 || index >= size()</tt>) 476 * (<tt>index < 0 || index > size()</tt>) 491 * (<tt>index < 0 || index >= size()</tt>) 561 * ({@code index < 0 || index > size()}) 591 * those that change the size o [all...] |
/libcore/ojluni/src/main/java/sun/net/www/http/ |
H A D | ChunkedInputStream.java | 36 * size indicator. Optionally the last chunk can be followed by trailers 64 * The size, in bytes, of the chunk that is currently being read. 65 * This size is only valid if the current position in the underlying 98 * read. It may contain bytes representing chunk-size, chunk-data, or 129 * Maximum chunk header size of 2KB + 2 bytes for CRLF 135 * chunk-size [ chunk-extension ] CRLF 180 * Ensures there is <code>size</code> bytes available in 185 private void ensureRawAvailable(int size) { argument 186 if (rawCount + size > rawData.length) { 188 if (used + size > rawDat [all...] |
H A D | KeepAliveCache.java | 195 for (i = 0; i < v.size(); i++) { 206 if (v.size() == 0) { 216 } while (size() > 0); 273 if (size() >= KeepAliveCache.getMaxConnections()) {
|
/libcore/ojluni/src/main/java/sun/security/ssl/ |
H A D | OutputRecord.java | 71 * SSL record size. It allocates the header bytes directly. 75 OutputRecord(byte type, int size) { argument 76 super(size); 90 * Get the size of the buffer we need for records of the specified 278 throw new SSLException("output record size too small: " 343 if (heldRecordBuffer != null && heldRecordBuffer.size() > 0) { 344 int heldLen = heldRecordBuffer.size();
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | CertificatePolicySet.java | 89 for (int i = 0; i < ids.size(); i++) {
|
/libcore/ojluni/src/main/native/ |
H A D | Inet4AddressImpl.c | 72 jint size; local 87 size = 60*1024; 88 setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &size, sizeof(size));
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
H A D | LoggingTestCase.java | 56 result.setParameters(list.toArray(new Object[list.size()]));
|
H A D | StreamTestDataProvider.java | 126 int size = 5; 127 for (int i = 0; i < (1 << size) - 2; i++) { 128 Integer[] content = new Integer[size]; 129 for (int e = 0; e < size; e++) { 159 spliterators.add(splitDescr("Iterators.s(Arrays.s(array).iterator(), size):" + name,
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
H A D | LoggingTestCase.java | 56 result.setParameters(list.toArray(new Object[list.size()]));
|
H A D | StreamTestDataProvider.java | 129 int size = 5; 130 for (int i = 0; i < (1 << size) - 2; i++) { 131 Integer[] content = new Integer[size]; 132 for (int e = 0; e < size; e++) { 162 spliterators.add(splitDescr("Iterators.s(Arrays.s(array).iterator(), size):" + name,
|
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | DOMTestCase.java | 232 * Asserts that the length of the collection is the expected size. 237 * expected size 249 * Asserts that the length of the collection is the expected size. 254 * expected size 266 * Asserts that the length of the collection is the expected size. 271 * expected size 378 List upperd = new ArrayList(expected.size()); 951 * Gets the size of the collection 955 * @return size of collection 957 public int size(Collectio method in class:DOMTestCase 968 public int size(NamedNodeMap collection) { method in class:DOMTestCase 979 public int size(NodeList collection) { method in class:DOMTestCase [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | BufferedReaderTest.java | 299 int size = 2, pos = 0; 301 char[] contents = new char[size]; 304 if (pos >= size) 310 if (pos >= size) 313 if (toRead > (size - pos)) 314 toRead = size - pos; 321 return size - pos > 0;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | NetworkInterfaceTest.java | 108 for (int i = 0; i < notOkAddresses.size(); i++) { 131 for (int i = 0; i < okAddresses.size(); i++) { 158 for (int i = 0; i < notOkAddresses.size(); i++) { 168 for (int i = 0; i < okAddresses.size(); i++) { 358 netif.getInterfaceAddresses().size());
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
H A D | SSLSessionContextTest.java | 51 int size = Collections.list(s.getIds()).size(); 53 assertEquals(0, size); 55 assertEquals(expected, size); 210 assertTrue(uniqueCipherSuites.size() >= 3);
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
H A D | XmlSupport.java | 117 for (int i=ancestors.size()-1; i >= 0; i--) { 333 prefsKids = new Preferences[xmlKids.size() - 1]; 336 for (int i=1; i < xmlKids.size(); i++) { 342 for (int i=1; i < xmlKids.size(); i++) 354 for (int i=0, numEntries = entries.size(); i < numEntries; i++) {
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
H A D | FlagOpTest.java | 112 FlagDeclaringOp[] opsArray = ops.toArray(new FlagDeclaringOp[ops.size()]); 151 FlagDeclaringOp[] opsArray = ops.toArray(new FlagDeclaringOp[ops.size()]); 185 IntermediateTestOp[] opsArray = ops.toArray(new IntermediateTestOp[ops.size()]); 221 IntermediateTestOp[] opsArray = ops.toArray(new IntermediateTestOp[ops.size()]); 247 IntermediateTestOp[] opsArray = ops.toArray(new IntermediateTestOp[ops.size()]);
|