Searched refs:size (Results 176 - 200 of 412) sorted by relevance

1234567891011>>

/libcore/luni/src/main/java/java/util/
H A DWeakHashMap.java52 private static <K, V> Entry<K, V>[] newEntryArray(int size) { argument
53 return new Entry[size];
245 this(map.size() < 6 ? 11 : map.size() * 2);
253 * @see #size()
297 public int size() {
298 return WeakHashMap.this.size();
361 public int size() {
362 return WeakHashMap.this.size();
400 * "wrapper object" over the iterator of map's entrySet(). The size metho
703 public int size() { method in class:WeakHashMap
[all...]
H A DList.java31 * location. If the location is equal to the size of this {@code List}, the object
32 * is added at the end. If the location is smaller than the size of this
48 * if {@code location < 0 || location > size()}
87 * if {@code location < 0 || location > size()}
116 * @see #size
162 * if {@code location < 0 || location >= size()}
190 * @see #size
233 * if {@code location < 0 || location > size()}
247 * if {@code location < 0 || location >= size()}
289 * specified object. This operation does not change the size o
313 public int size(); method in interface:List
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/
H A DX509CertFactoryImpl.java155 if (result.size() == 0) {
176 if (result.size() == 0) {
196 if (result.size() != 0) {
296 if (result.size() == 0) {
317 if (result.size() == 0) {
336 if (result.size() != 0) {
514 int size = 1024; // the size of the buffer containing Base64 data
515 byte[] buff = new byte[size];
523 if (index == size) {
[all...]
/libcore/libart/src/main/java/java/lang/reflect/
H A DProxy.java127 if (interfacesSet.size() != interfaces.length) {
165 ArtMethod[] methodsArray = new ArtMethod[methods.size()];
169 Class<?>[][] exceptionsArray = exceptions.toArray(new Class<?>[exceptions.size()][]);
325 List<Class<?>[]> exceptions = new ArrayList<Class<?>[]>(methods.size());
327 for (int i = 0; i < methods.size(); ) {
364 return intersection.toArray(new Class<?>[intersection.size()]);
/libcore/luni/src/main/java/java/nio/
H A DSelectorImpl.java225 while (pollFds.size() < mutableKeys.size() + 1) {
242 for (int i = 1; i < pollFds.size(); ++i) {
305 if (cancelledKeys.size() > 0) {
386 public int size() { method in class:SelectorImpl.UnaddableSet
387 return set.size();
/libcore/crypto/src/main/java/org/conscrypt/
H A DClientSessionContext.java42 public int size() { method in class:ClientSessionContext
43 return sessionsByHostAndPort.size();
H A DOpenSSLX509CertificateFactory.java87 if (items.size() == 0) {
99 if (certs.size() == 0) {
327 final List<X509Certificate> filtered = new ArrayList<X509Certificate>(certificates.size());
328 for (int i = 0; i < certificates.size(); i++) {
/libcore/luni/src/test/java/tests/org/w3c/dom/
H A DDOMImplementationHasFeature.java92 for (int indexN10063 = 0; indexN10063 < featuresXML.size(); indexN10063++) {
99 for (int indexN1007C = 0; indexN1007C < featuresCore.size(); indexN1007C++) {
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
H A DdocumentcreateattributeNS03.java96 for (int indexN1005A = 0; indexN1005A < qualifiedNames.size(); indexN1005A++) {
H A DdocumentcreateattributeNS04.java91 for (int indexN1004E = 0; indexN1004E < qualifiedNames.size(); indexN1004E++) {
H A Ddomimplementationcreatedocument03.java106 for (int indexN1006B = 0; indexN1006B < qualifiedNames.size(); indexN1006B++) {
H A Ddomimplementationcreatedocumenttype02.java104 for (int indexN10077 = 0; indexN10077 < qualifiedNames.size(); indexN10077++) {
H A Ddomimplementationcreatedocumenttype04.java102 for (int indexN10073 = 0; indexN10073 < qualifiedNames.size(); indexN10073++) {
H A Delementsetattributens04.java82 for (int indexN10058 = 0; indexN10058 < qualifiedNames.size(); indexN10058++) {
H A Dnodesetprefix05.java81 for (int indexN10050 = 0; indexN10050 < prefixValues.size(); indexN10050++) {
/libcore/json/src/main/java/org/json/
H A DJSONStringer.java194 stack.remove(stack.size() - 1);
209 return stack.get(stack.size() - 1);
216 stack.set(stack.size() - 1, topOfStack);
359 for (int i = 0; i < stack.size(); i++) {
/libcore/luni/src/main/java/java/util/concurrent/
H A DBlockingDeque.java596 public int size(); method in interface:BlockingDeque
/libcore/luni/src/main/java/java/util/zip/
H A DZipInputStream.java200 currentEntry.size = ((long) Memory.peekInt(hdrBuf, EXTLEN, ByteOrder.LITTLE_ENDIAN)) & 0xffffffffL;
205 if (currentEntry.compressedSize != inB || currentEntry.size != out) {
302 int csize = (int) currentEntry.size;
347 return (currentEntry == null || inRead < currentEntry.size) ? 1 : 0;
/libcore/luni/src/main/java/libcore/util/
H A DBasicLruCache.java83 while (map.size() > maxSize) {
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
H A DCRLDistributionPoints.java72 if ((distributionPoints == null) || (distributionPoints.size() == 0)) {
/libcore/luni/src/test/java/libcore/java/io/
H A DOldByteArrayOutputStreamTest.java40 assertEquals("Test 1: Failed to create stream;", 0, bos.size());
/libcore/luni/src/test/java/libcore/java/util/
H A DAbstractCollectionTest.java35 m.values().toArray(new Integer[m.size()]);
H A DOldAndroidHashMapTest.java35 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/api/org/xml/sax/helpers/
H A DNamespaceSupportTest.java169 prefixes.size() == 0);
173 prefixes.contains("xml") && prefixes.size() == 1);
177 prefixes.size() == 0);
316 return prefixes.size();
/libcore/luni/src/test/java/tests/support/
H A DThreadPool.java55 while (taskQueue.size() == 0) {

Completed in 1199 milliseconds

1234567891011>>