Searched refs:size (Results 576 - 600 of 628) sorted by relevance

<<212223242526

/libcore/ojluni/src/main/java/sun/security/validator/
H A DPKIXValidator.java315 X509Certificate[] chain = new X509Certificate[list.size() + 1];
/libcore/ojluni/src/main/java/sun/util/calendar/
H A DLocalGregorianCalendar.java182 Era[] eraArray = new Era[eras.size()];
/libcore/ojluni/src/main/java/java/security/cert/
H A DX509CertSelector.java851 if (nameList.size() != 2) {
852 throw new IOException("name list size not 2");
1689 if (nameList.size() != 2) {
1690 throw new IOException("name list size not 2");
2407 List<CertificatePolicyId> policyIDs = new ArrayList<CertificatePolicyId>(policies.size());
/libcore/ojluni/src/main/native/
H A DNetworkInterface.c657 int mask_address_to_mask_length(uint8_t *val, int size) { argument
660 for (byte = 0; byte < size && val[byte] == 0xff; byte++) {
663 if (byte < size) {
/libcore/jsr166-tests/src/test/java/jsr166/
H A DReentrantReadWriteLockTest.java154 assertEquals(threads.length, lock.getWaitingThreads(c).size());
1372 assertEquals(1, lock.getQueuedThreads().size());
1376 assertEquals(2, lock.getQueuedThreads().size());
1383 assertEquals(1, lock.getQueuedThreads().size());
1624 assertEquals(2, lock.getWaitingThreads(c).size());
/libcore/luni/src/main/java/java/util/concurrent/
H A DConcurrentSkipListMap.java63 * <p>Beware that, unlike in most collections, the {@code size}
1369 if (i < preds.size()) {
1470 if (i < preds.size()) {
1567 * map size. Additionally, it is possible for the map to change
1596 * Additionally, it is possible for the size to change during
1603 public int size() { method in class:ConcurrentSkipListMap
2323 // Using size() here would be a pessimization.
2334 public int size() { return m.size(); } method in class:ConcurrentSkipListMap.KeySet
2421 public int size() { retur method in class:ConcurrentSkipListMap.Values
2480 public int size() { method in class:ConcurrentSkipListMap.EntrySet
2813 public int size() { method in class:ConcurrentSkipListMap.SubMap
[all...]
H A DForkJoinTask.java790 invokeAll(tasks.toArray(new ForkJoinTask<?>[tasks.size()]));
797 int last = ts.size() - 1;
H A DLinkedBlockingDeque.java680 * less the current {@code size} of this deque.
776 public int size() { method in class:LinkedBlockingDeque
882 * runtime type of the specified array and the size of this deque.
1102 static final int MAX_BATCH = 1 << 25; // max batch array size;
1105 int batch; // batch size for splits
1107 long est; // size estimate
1110 this.est = queue.size();
/libcore/luni/src/test/java/libcore/java/nio/
H A DBufferTest.java49 private static ByteBuffer allocateMapped(int size) throws Exception { argument
53 raf.setLength(size);
55 MappedByteBuffer result = ch.map(FileChannel.MapMode.READ_WRITE, 0, size);
609 // Check the buffer has an array of the right size.
939 // Element size shifts are the log base 2 of the element size
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
H A DDocumentBuilderTest.java567 assertEquals(0, logger.size());
/libcore/json/src/main/java/org/json/
H A DJSONObject.java195 return nameValuePairs.size();
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DDOMConfigurationImpl.java360 final String[] result = PARAMETERS.keySet().toArray(new String[PARAMETERS.size()]);
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DECDHKeyAgreementTest.java400 providers = filteredProvidersList.toArray(new Provider[filteredProvidersList.size()]);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKeyFactory2Test.java336 return algs.toArray(new String[algs.size()]);
H A DMessageDigest2Test.java451 if (algs.size() == 0) {
H A DSignature2Test.java534 return services.size();
H A DKeyStore2Test.java574 * java.security.KeyStore#size()
577 // Test for method int java.security.KeyStore.size()
586 keyTest.size();
601 assertEquals("the size of the keyStore is not 3", 3, keyTest.size());
/libcore/ojluni/src/main/java/java/lang/
H A DPackage.java563 return pkgs.values().toArray(new Package[pkgs.size()]);
/libcore/ojluni/src/main/java/sun/security/ssl/
H A DSSLSessionImpl.java700 String[] names = new String[v.size()];
723 * Expand the buffer size of both SSL/TLS network packet and
731 * Gets the current size of the largest SSL/TLS packet that is expected
740 * Gets the current size of the largest application data that is
H A DClientHandshaker.java700 int keytypesTmpSize = keytypesTmp.size();
1200 new ArrayList<>(cipherSuites.size() - 1);
/libcore/tzdata/update/src/test/libcore/tzdata/update/
H A DFileUtilsTest.java247 assertEquals(3, lines.size());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DHttpCookieTest.java812 assertEquals(1, list.size());
965 assertEquals(1, list.size());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
H A DCharsetTest.java526 assertEquals(3, c.aliases().size());
543 assertEquals(4, c.aliases().size());
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java500 assertTrue(request.getChunkSizes().size() > 0);
1301 * the fixed chunk size. Instead, we check that chunking takes place
1302 * and we force the chunk size with flushes.
1311 // chunk buffer size (inc. header) the chunkLength has to be >= 8. This enables the flush()
1312 // to dictate the size of the chunks.
2746 assertEquals(4, createdSockets.size());
2792 assertEquals(3, createdSockets.size());
3363 @Override public void setSendBufferSize(int size) throws SocketException { argument
3364 delegate.setSendBufferSize(size);
3367 @Override public void setReceiveBufferSize(int size) throw argument
[all...]
/libcore/ojluni/src/main/java/java/util/stream/
H A DCollectors.java382 if (characteristics.size() == 1)
1562 public int size() {

Completed in 3105 milliseconds

<<212223242526