/dalvik/dx/src/com/android/dx/dex/code/ |
H A D | StdCatchBuilder.java | 82 int size = blocks.size(); 84 for (int i = 0; i < size; i++) { 87 if (catches.size() != 0) { 99 int size = blocks.size(); 101 for (int i = 0; i < size; i++) { 104 int catchSize = catches.size(); 146 if (currentHandlers.size() == 0) { 171 if (currentHandlers.size() ! [all...] |
H A D | CatchTable.java | 35 * @param size {@code >= 0;} the size of the table 37 public CatchTable(int size) { argument 38 super(size); 46 * @param n {@code >= 0, < size();} which index 56 * @param n {@code >= 0, < size();} which index 70 int thisSize = size(); 71 int otherSize = other.size();
|
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | CatchStructs.java | 40 * the size of a {@code try_item}: a {@code uint} 61 * length of the handlers header (encoded size), if known; used for 95 * Gets the size of the tries list, in entries. 97 * @return {@code >= 0;} the tries list size 101 return table.size(); 123 int size = table.size(); 131 for (int i = 0; i < size; i++) { 135 if (handlerOffsets.size() > 65535) { 142 // Write out the handlers "header" consisting of its size i 306 annotateAndConsumeHandlers(CatchHandlerList handlers, int offset, int size, String prefix, PrintWriter printTo, AnnotatedOutput annotateTo) argument [all...] |
H A D | ProtoIdItem.java | 31 /** size of instances when written out to a file, in bytes */ 60 this.parameterTypes = (parameters.size() == 0) ? null 72 int size = parameters.size(); 73 StringBuilder sb = new StringBuilder(size + 1); 77 for (int i = 0; i < size; i++) { 140 int size = params.size(); 142 for (int i = 0; i < size; i++) {
|
/dalvik/dx/src/com/android/dx/rop/code/ |
H A D | RegisterSpecSet.java | 38 /** {@code >= -1;} size of the set or {@code -1} if not yet calculated */ 39 private int size; field in class:RegisterSpecSet 51 this.size = 0; 65 if ((len != otherSpecs.length) || (size() != otherSet.size())) { 130 * @return {@code >= 0;} the maximum size 137 * Gets the current size of this instance. 139 * @return {@code >= 0;} the size 141 public int size() { method in class:RegisterSpecSet 142 int result = size; [all...] |
H A D | BasicBlockList.java | 39 * @param size the size of the list 41 public BasicBlockList(int size) { argument 42 super(size); 63 * @param n {@code >= 0, < size();} which index 73 * @param n {@code >= 0, < size();} which index 108 int sz = size(); 114 result += one.getInsns().size(); 128 int sz = size(); 135 int insnsSz = insns.size(); [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | MiniEnumSet.java | 27 private int size; field in class:MiniEnumSet 99 public int size() { method in class:MiniEnumSet 100 return size; 106 size = 0; 119 size++; 140 size = Long.bitCount(newBits); 187 size = Long.bitCount(newBits); 200 if (size > 0) { 213 size = Long.bitCount(newBits); 234 size [all...] |
H A D | LinkedHashSet.java | 79 super(new LinkedHashMap<E, HashSet<E>>(collection.size() < 6 ? 11 80 : collection.size() * 2));
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
H A D | ThreadLocal.java | 172 private int size; field in class:ThreadLocal.Values 188 this.size = 0; 198 this.size = fromParent.size; 240 size--; 241 fromParent.size--; 266 if (size == 0) { 292 size--; 308 if (tombstones + size < maximumLoad) { 315 // same size an [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | AbstractSequentialListTest.java | 57 public int size() { method in class:AbstractSequentialListTest.ASLT 58 return l.size(); 167 public int size() { 200 public int size() { 257 public int size() { 277 public int size() { 336 public int size() { 385 asl.get(asl.size() + 1); 417 public int size() { 432 public int size() { [all...] |
H A D | VectorTest.java | 69 assertEquals("Vector creation failed", 0, v.size()); 86 assertEquals("Vector creation failed", 0, v.size()); 122 assertEquals("Wrong size", 4, grow.size()); 148 assertTrue("Vector is not correct size", 149 myVector.size() == objArray.length); 178 assertEquals("Wrong size after add", 101, tVector.size()); 185 assertEquals("Wrong size after add", 102, tVector.size()); [all...] |
H A D | ArrayListTest.java | 74 assertEquals("Incorrect arrayList created", 0, al.size()); 96 assertTrue("arrayList created from collection has incorrect size", al 97 .size() == objArray.length); 142 alist.add(alist.size() + 1, null); 162 assertTrue("Failed to add Object", alist.get(alist.size() - 1) == o); 164 assertNull("Failed to add null", alist.get(alist.size() - 1)); 180 assertEquals("Returned incorrect size after adding to existing list", 181 200, alist.size()); 198 assertTrue("Incorrect size: " + alist.size(), alis [all...] |
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/midi/ |
H A D | MidiSystem.java | 81 for (int i = 0; i < deviceProviders.size(); i++) { 105 for (int i = 0; i < deviceProviders.size(); i++) { 112 MidiDevice.Info[] temp = new MidiDevice.Info[infos.size()]; 122 if (fileReaderProviders.size() == 0) { 144 if (fileReaderProviders.size() == 0) { 166 if (fileReaderProviders.size() == 0) { 187 if (fileWriterProviders.size() == 0) { 208 if (fileWriterProviders.size() == 0) { 239 if (defaultDevice.size() != 0) { 243 for (int i = 0; i < deviceProviders.size(); [all...] |
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
H A D | MappedByteBufferFactory.java | 53 long size, int offset) throws Exception { 55 * Spec points out explicitly that the size of map should be no greater 59 new Integer((int) size), new Integer(offset), 52 getBuffer(PlatformAddress addr, int mapmode, long size, int offset) argument
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ |
H A D | DERConstructedSet.java | 33 for (int i = 0; i != v.size(); i++) 47 return size();
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/generators/ |
H A D | DSAParametersGenerator.java | 15 private int size; field in class:DSAParametersGenerator 25 * @param size size of the key (range 2^512 -> 2^1024 - 64 bit increments) 30 int size, 34 this.size = size; 75 int n = (size - 1) / 160; 76 byte[] w = new byte[size / 8]; 139 if (p.testBit(size - 1)) 160 BigInteger h = new BigInteger(size, rando 29 init( int size, int certainty, SecureRandom random) argument [all...] |
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | ServerKeyExchange.java | 113 int size = in.readUint16(); 114 bytes1 = in.read(size); 117 size = in.readUint16(); 118 bytes2 = in.read(size); 122 size = in.readUint16(); 123 bytes3 = in.read(size); 132 size = in.readUint16(); 133 hash = in.read(size);
|
/dalvik/libcore/xml/src/main/java/org/apache/xpath/axes/ |
H A D | IteratorPool.java | 75 DTMIterator result = (DTMIterator)m_freeStack.remove(m_freeStack.size() - 1); 104 DTMIterator result = (DTMIterator)m_freeStack.remove(m_freeStack.size() - 1);
|
/dalvik/tests/062-character-encodings/src/ |
H A D | Main.java | 16 if ((aliases != null) && (aliases.size() != 0)) { 17 ArrayList<String> list = new ArrayList<String>(aliases.size());
|
/dalvik/libcore/luni/src/main/native/ |
H A D | org_apache_harmony_luni_platform_OSMemory.cpp | 66 static jint harmony_nio_mallocImpl(JNIEnv *_env, jobject _this, jint size) { argument 68 gIDCache.method_trackExternalAllocation, (jlong) size); 70 LOGW("External allocation of %d bytes was rejected\n", size); 75 LOGV("OSMemory alloc %d\n", size); 76 void *returnValue = malloc(size + sizeof(jlong)); 83 * Tuck a copy of the size at the head of the buffer. We need this 87 *adjptr++ = size; 98 jint size = *--adjptr; local 99 LOGV("OSMemory free %d\n", size); 101 gIDCache.method_trackExternalFree, (jlong) size); 429 harmony_nio_mmapImpl(JNIEnv* env, jobject, jint fd, jlong offset, jlong size, jint mapMode) argument 463 harmony_nio_unmapImpl(JNIEnv *_env, jobject _this, jint address, jlong size) argument 473 harmony_nio_loadImpl(JNIEnv *_env, jobject _this, jint address, jlong size) argument 496 harmony_nio_isLoadedImpl(JNIEnv *_env, jobject _this, jint address, jlong size) argument 533 harmony_nio_flushImpl(JNIEnv *_env, jobject _this, jint address, jlong size) argument [all...] |
/dalvik/dx/src/com/android/dx/cf/attrib/ |
H A D | AttExceptions.java | 55 return 8 + exceptions.size() * 2;
|
H A D | AttInnerClasses.java | 53 return 8 + innerClasses.size() * 8;
|
H A D | AttLineNumberTable.java | 54 return 8 + 4 * lineNumbers.size();
|
H A D | BaseLocalVariables.java | 54 return 8 + localVariables.size() * 10;
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
H A D | CstArray.java | 108 * @param size the size of the list 110 public List(int size) { argument 111 super(size); 116 int thisSize = size(); 117 int otherSize = other.size(); 143 * @param n {@code >= 0, < size();} which index 153 * @param n {@code >= 0, < size();} which index
|