/dalvik/hit/src/com/android/hit/ |
H A D | Heap.java | 79 root.mIndex = mRoots.size(); 114 int count = theClass.mInstances.size(); 124 int count = theClass.mSubclasses.size(); 135 int size = 0; 138 size += instance.getCompositeSize(); 141 if (size > 0) { 143 + ", composite " + size);
|
H A D | ClassObj.java | 63 int size = Types.getTypeSize(type); 68 if (size == 4) { 97 dis.skipBytes(size); 205 int size = Types.getTypeSize(type); 210 if (size == 4) { 222 dis.skipBytes(size);
|
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
H A D | MappedByteBufferTest.java | 97 fileChannelRead.size()); 104 fileChannelR.size()); 115 FileChannel.MapMode.READ_WRITE, 0, fileChannelReadWrite.size()); 123 FileChannel.MapMode.READ_WRITE, 0, fileChannelRW.size()); 147 fileChannelRead.size()); 154 FileChannel.MapMode.READ_WRITE, 0, fileChannelReadWrite.size()); 173 capacity = (int) fc.size();
|
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | CertificateRequest.java | 101 int size = in.readUint8(); 102 certificate_types = new byte[size]; 103 in.read(certificate_types, 0, size); 104 size = in.readUint16(); 105 certificate_authorities = new X500Principal[size]; 109 while (totalPrincipalsLength < size) { 110 principalLength = in.readUint16(); // encoded X500Principal size 115 certificate_authorities = new X500Principal[principals.size()];
|
H A D | ClientSessionContext.java | 50 boolean remove = maximumSize > 0 && size() > maximumSize; 83 new SSLSession[sessions.size()]); 90 int size = sessions.size(); 91 if (size > maximumSize) { 92 int removals = size - maximumSize;
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/dom3/ |
H A D | NamespaceSupport.java | 65 * <prefix, uri>. The default size can be set to anything
76 // NOTE: The constructor depends on the initial context size
82 * index of declared namespace bindings and runs to the size of the
276 private int size = 0;
field in class:NamespaceSupport.Prefixes 281 public Prefixes(String [] prefixes, int size) {
argument 283 this.size = size;
290 return (counter< size);
297 if (counter< size){
305 for (int i=0;i<size; [all...] |
/dalvik/libcore/archive/src/main/java/java/util/zip/ |
H A D | ZipOutputStream.java | 129 if (currentEntry.size != crc.tbytes) { 141 writeLong(out, currentEntry.size = def.getTotalIn()); 206 if (entries.size() == 0) { 212 int cdirSize = cDir.size(); 217 writeShort(cDir, entries.size()); // Number of entries 218 writeShort(cDir, entries.size()); // Number of entries 255 if (ze.size == -1 && ze.compressedSize == -1) { 259 if (ze.size != ze.compressedSize && ze.compressedSize != -1 260 && ze.size != -1) { 298 if (currentEntry.size [all...] |
H A D | GZIPInputStream.java | 71 * underlying stream. Set the internal buffer size to {@code size}. 75 * @param size 76 * the internal read buffer size. 80 public GZIPInputStream(InputStream is, int size) throws IOException { argument 81 super(is, new Inflater(true), size); 193 int size = inf.getRemaining(); 196 int copySize = (size > trailerSize) ? trailerSize : size; 198 System.arraycopy(buf, len - size, [all...] |
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
H A D | AbstractCollectionTest.java | 53 public int size() { 54 fail("size should not get called"); 91 public int size() { 92 fail("size should not get called"); 126 public int size() { 127 fail("size should not get called"); 153 public int size() { 196 public int size() { 197 fail("size should not get called"); 244 public int size() { [all...] |
H A D | LinkedHashMapTest.java | 63 return size() > 5; 74 public int size() { method in class:LinkedHashMapTest.MockMapNull 93 assertEquals("Created incorrect LinkedHashMap", 0, hm2.size()); 108 assertEquals("Created incorrect LinkedHashMap", 0, hm2.size()); 134 assertEquals("Created incorrect LinkedHashMap", 0, hm2.size()); 283 assertTrue("Returned set of incorrect size", hm.size() == s.size()); 304 assertTrue("Returned set of incorrect size()", s.size() [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/ |
H A D | X509CertPathImpl.java | 107 int size = certs.size(); 108 certificates = new ArrayList(size); 109 for (int i=0; i<size; i++) { 187 for (int i=0; i<certs.size(); i++) { 244 for (int i=0; i<certs.size(); i++) { 328 int size = encodings.size(); 329 List certificates = new ArrayList(size); 330 for (int i=0; i<size; [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | HashtableTest.java | 74 assertEquals("Created incorrect hashtable", 0, h.size()); 90 assertEquals("Created incorrect hashtable", 0, h.size()); 117 assertEquals("Created incorrect hashtable", 0, h.size()); 200 assertEquals("Hashtable was not cleared", 0, h.size()); 220 assertTrue("Clone different size than original", h.size() == htfull 221 .size()); 329 assertEquals("All keys not retrieved", 10, ht10.size()); 520 int size; 521 if ((size [all...] |
H A D | ConcurrentModTest.java | 57 assertEquals(2, sub.size()); 80 al.get(al.size()+1); 107 assertEquals(2, sub.size()); 143 assertEquals(2, sub.size()); 179 assertEquals(2, sub.size()); 202 sub.remove(sub.size() + 1); 217 public int size() { 251 assertEquals(2, sub.size()); 285 public int size() { 309 public int size() { [all...] |
H A D | LinkedHashMapTest.java | 54 return size() > 5; 65 public int size() { method in class:LinkedHashMapTest.MockMapNull 84 assertEquals("Created incorrect LinkedHashMap", 0, hm2.size()); 99 assertEquals("Created incorrect LinkedHashMap", 0, hm2.size()); 126 assertEquals("Created incorrect LinkedHashMap", 0, hm2.size()); 289 assertTrue("Returned set of incorrect size", hm.size() == s.size()); 330 assertTrue("Returned set of incorrect size()", s.size() [all...] |
H A D | WeakHashMapTest.java | 42 public int size(){ method in class:WeakHashMapTest.MockMap 180 assertEquals("Size should be 0", 0, map.size()); 280 + entrySet.size(), entrySet.size() == 100); 299 } while (count <= 5 && entrySet.size() == 100); 303 + entrySet.size(), entrySet.size() == 99); 343 assertEquals("null key was removed", 1, map.size()); 359 assertEquals("Size should be 0", 0, map.size()); 389 assertEquals("Size should be 99 after remove", 99, whm.size()); [all...] |
H A D | EnumSetTest.java | 197 assertEquals("Size of enumSet should be 64", 64, enumSet.size()); //$NON-NLS-1$ 207 assertEquals("Should be equal", 64, enumSet.size()); //$NON-NLS-1$ 215 assertEquals(65, hugeEnumSet.size()); 222 assertEquals(65, hugeEnumSet.size()); 270 assertEquals("Size should be 1:", 1, set.size()); //$NON-NLS-1$ 274 assertEquals("Size should be 1:", 1, set.size()); //$NON-NLS-1$ 278 assertEquals("Size should be 2:", 2, set.size()); //$NON-NLS-1$ 336 assertEquals(2, hugeSet.size()); 353 assertEquals("Size should be 0:", 0, set.size()); //$NON-NLS-1$ 375 assertEquals("Size should be 2:", 2, set.size()); // [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | AbstractMap.java | 47 * @see #size() 132 if (size() != map.size()) { 209 * @see #size() 212 return size() == 0; 231 public int size() { 232 return AbstractMap.this.size(); 342 public int size() { method in class:AbstractMap 343 return entrySet().size(); 357 StringBuilder buffer = new StringBuilder(size() * 2 [all...] |
H A D | Vector.java | 45 * The number of elements or the size of the vector. 57 * negative the size will be doubled if an increase is needed. 111 this(collection.size(), 0); 119 private E[] newElementArray(int size) { argument 120 return (E[]) new Object[size]; 126 * increasing their index by 1. If the location is equal to the size of this 134 * if {@code location < 0 || location > size()}. 136 * @see #size 164 * or higher than {@code location} have their index increased by the size of 173 * if {@code location < 0} or {@code location > size()} 933 public synchronized int size() { method in class:Vector [all...] |
H A D | HashMap.java | 70 * constructor). It is never written to, and replaced on first put. Its size 103 transient int size; field in class:HashMap 112 * The table is rehashed when its size exceeds this threshold. 198 this(capacityForInitSize(map.size())); 214 * Returns an appropriate capacity for the specified initial size. Does 218 static int capacityForInitSize(int size) { argument 219 int result = (size >> 1) + size; // Multiply by 3/2 to allow for growth 246 result.size = 0; 271 * @see #size() 282 @Override public int size() { method in class:HashMap 908 public int size() { method in class:HashMap.KeySet 931 public int size() { method in class:HashMap.Values 961 public int size() { method in class:HashMap.EntrySet [all...] |
/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/ |
H A D | Array.java | 428 * if the array of dimensions is of size zero, or exceeds the 455 * reproduces the effect of {@code new componentType[size]}. 459 * @param size 467 * if {@code size < 0} 471 public static Object newInstance(Class<?> componentType, int size) argument 474 return createObjectArray(componentType, size); 477 return new boolean[size]; 480 return new byte[size]; 483 return new char[size]; 486 return new short[size]; [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
H A D | TwoKeyHashMap.java | 43 private int size; field in class:TwoKeyHashMap 117 size = 0; 146 size++; 171 size++; 174 if (size > threshold) { 207 // The maximum array size is reached, increased loadFactor 247 return size == 0; 253 public int size() { method in class:TwoKeyHashMap 254 return size; 359 public int size() { method in class:TwoKeyHashMap.EntrySetImpl 531 public int size() { method in class:TwoKeyHashMap.ValuesCollectionImpl [all...] |
/dalvik/dx/src/com/android/dx/dex/code/form/ |
H A D | Form3rc.java | 49 int size = regs.size(); 54 switch (size) { 64 RegisterSpec lastReg = regs.get(size - 1); 122 int sz = regs.size(); 156 int sz = regs.size();
|
/dalvik/dx/src/com/android/dx/ssa/back/ |
H A D | IdenticalBlockCombiner.java | 61 int szBlocks = blocks.size(); 77 int szPreds = preds.size(); 84 || iBlock.getSuccessors().size() > 1 97 if (jBlock.getSuccessors().size() == 1 141 int szBetas = betaLabels.size(); 147 int szPreds = preds.size();
|
/dalvik/libcore/xml/src/main/java/org/apache/xpath/functions/ |
H A D | FuncExtFunction.java | 90 int nArgs = m_argVec.size(); 138 if (n >= 0 && n < m_argVec.size()) 151 return m_argVec.size(); 193 int nArgs = m_argVec.size(); 285 for (int i = 0; i < m_argVec.size(); i++) 305 int nArgs = m_argVec.size();
|
/dalvik/dx/src/com/android/dx/cf/code/ |
H A D | LineNumberList.java | 26 /** {@code non-null;} zero-size instance */ 44 int sz1 = list1.size(); 45 int sz2 = list2.size(); 81 * @param n {@code >= 0, < size();} which element 95 * @param n {@code >= 0, < size();} which element 117 int sz = size();
|