/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | MemberIdsSection.java | 37 int idx = 0; 40 ((MemberIdItem) i).setIndex(idx); 41 idx++;
|
H A D | ClassDefsSection.java | 133 int idx = 0; 144 idx = orderItems0(type, idx, sz - idx); 153 * @param idx {@code >= 0;} the next index to assign 158 private int orderItems0(Type type, int idx, int maxDepth) { argument 162 return idx; 174 idx = orderItems0(superclass, idx, maxDepth); 180 idx [all...] |
H A D | TypeIdItem.java | 63 int idx = file.getStringIds().indexOf(descriptor); 67 out.annotate(4, " descriptor_idx: " + Hex.u4(idx)); 70 out.writeInt(idx);
|
H A D | ProtoIdsSection.java | 133 int idx = 0; 136 ((ProtoIdItem) i).setIndex(idx); 137 idx++;
|
/dalvik/dx/src/com/android/dx/util/ |
H A D | Bits.java | 55 * @param idx {@code >= 0, < getMax(set);} which bit 58 public static boolean get(int[] bits, int idx) { argument 59 int arrayIdx = idx >> 5; 60 int bit = 1 << (idx & 0x1f); 68 * @param idx {@code >= 0, < getMax(set);} which bit 71 public static void set(int[] bits, int idx, boolean value) { argument 72 int arrayIdx = idx >> 5; 73 int bit = 1 << (idx & 0x1f); 86 * @param idx {@code >= 0, < getMax(set);} which bit 88 public static void set(int[] bits, int idx) { argument 100 clear(int[] bits, int idx) argument 166 findFirst(int[] bits, int idx) argument 193 findFirst(int value, int idx) argument [all...] |
H A D | BitIntSet.java | 102 private int idx = Bits.findFirst(bits, 0); 106 return idx >= 0; 115 int ret = idx; 117 idx = Bits.findFirst(bits, idx+1);
|
H A D | ListIntSet.java | 110 private int idx = 0; 114 return idx < ints.size(); 123 return ints.get(idx++);
|
/dalvik/vm/ |
H A D | PointerSet.h | 77 int idx; local 78 if (!dvmPointerSetHas(pSet, ptr, &idx)) 79 idx = -1; 80 return idx;
|
H A D | Hash.h | 185 int idx; member in struct:HashIter 188 int i = pIter->idx +1; 195 pIter->idx = i; 199 pIter->idx = -1; 203 return (pIter->idx >= pIter->pHashTable->tableSize); 206 assert(pIter->idx >= 0 && pIter->idx < pIter->pHashTable->tableSize); 207 return pIter->pHashTable->pEntries[pIter->idx].data;
|
H A D | IndirectRefTable.c | 95 * Make sure that the entry at "idx" is correctly paired with "iref". 97 static bool checkEntry(IndirectRefTable* pRef, IndirectRef iref, int idx) argument 99 Object* obj = pRef->table[idx]; 100 IndirectRef checkRef = dvmObjectToIndirectRef(pRef, obj, idx, pRef->kind); 229 int idx = dvmIndirectRefToIndex(iref); local 235 if (idx >= topIndex) { 238 idx, topIndex); 242 Object* obj = pRef->table[idx]; 247 if (!checkEntry(pRef, iref, idx)) 278 int idx local [all...] |
/dalvik/vm/native/ |
H A D | java_security_AccessController.c | 76 int idx, subIdx = 0; local 77 for (idx = 2; idx < length; idx++) { 78 const Method* meth = methods[idx]; 87 while (++idx < length && dvmIsReflectionMethod(methods[idx])) 89 length = idx; // stomp length to end loop 90 meth = methods[idx];
|
H A D | dalvik_system_VMStack.c | 112 unsigned int idx; local 113 for (idx = kSkip; (int) idx < methodCount && size < maxSize; idx++) { 114 const Method* meth = methods[idx]; 154 for (idx = kSkip; (int) idx < methodCount; idx++) { 155 if (dvmIsReflectionMethod(methods[idx])) { 159 (Object *)methods[idx] [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
H A D | OneLocalsArray.java | 106 public void set(int idx, TypeBearer type) { argument 116 if (idx < 0) { 117 throw new IndexOutOfBoundsException("idx < 0"); 122 locals[idx + 1] = null; 125 locals[idx] = type; 127 if (idx != 0) { 128 TypeBearer prev = locals[idx - 1]; 130 locals[idx - 1] = null; 141 public void invalidate(int idx) { argument 143 locals[idx] 147 getOrNull(int idx) argument 152 get(int idx) argument 163 getCategory1(int idx) argument 179 getCategory2(int idx) argument 243 throwSimException(int idx, String msg) argument [all...] |
H A D | ByteBlockList.java | 56 int idx = indexOfLabel(label); 58 if (idx < 0) { 63 return get(idx);
|
H A D | LocalsArray.java | 83 * @param idx {@code >= 0, < getMaxLocals();} which local 84 * @param type {@code non-null;} new type for the local at {@code idx} 86 public abstract void set(int idx, TypeBearer type); argument 101 * @param idx {@code >= 0, < getMaxLocals();} which local 103 public abstract void invalidate(int idx); argument 109 * @param idx {@code >= 0, < getMaxLocals();} which local 112 public abstract TypeBearer getOrNull(int idx); argument 119 * @param idx {@code >= 0, < getMaxLocals();} which local 121 * @throws SimException thrown if {@code idx} is valid, but 124 public abstract TypeBearer get(int idx); argument 137 getCategory1(int idx) argument 149 getCategory2(int idx) argument [all...] |
H A D | BytecodeArray.java | 314 int idx = bytes.getUnsignedByte(offset + 1); 315 Constant cst = pool.get(idx); 322 int idx = bytes.getUnsignedShort(offset + 1); 323 Constant cst = pool.get(idx); 330 int idx = bytes.getUnsignedShort(offset + 1); 331 Constant cst = pool.get(idx); 336 int idx = bytes.getUnsignedByte(offset + 1); 337 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx, 342 int idx = bytes.getUnsignedByte(offset + 1); 343 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx, 1178 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument 1282 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument 1351 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument [all...] |
H A D | LocalsArraySet.java | 196 public void set(int idx, TypeBearer type) { argument 199 primary.set(idx, type); 203 la.set(idx, type); 216 public void invalidate(int idx) { argument 219 primary.invalidate(idx); 223 la.invalidate(idx); 230 public TypeBearer getOrNull(int idx) { argument 231 return primary.getOrNull(idx); 236 public TypeBearer get(int idx) { argument 237 return primary.get(idx); 242 getCategory1(int idx) argument 248 getCategory2(int idx) argument [all...] |
/dalvik/vm/analysis/ |
H A D | DexVerify.c | 303 u4 idx; local 306 idx = decInsn.vB; // 2nd item 307 if (idx >= pDvmDex->pHeader->typeIdsSize) { 309 idx, pDvmDex->pHeader->typeIdsSize); 313 classDescriptor = dexStringByTypeIdx(pDvmDex->pDexFile, idx); 333 u4 idx; local 336 idx = decInsn.vC; // 3rd item 337 if (idx >= pDvmDex->pHeader->typeIdsSize) { 339 idx, pDvmDex->pHeader->typeIdsSize); 343 classDescriptor = dexStringByTypeIdx(pDvmDex->pDexFile, idx); 373 u4 idx; local 397 u4 idx; local [all...] |
/dalvik/libdex/ |
H A D | DexFile.h | 597 DEX_INLINE const DexStringId* dexGetStringId(const DexFile* pDexFile, u4 idx) { argument 598 assert(idx < pDexFile->pHeader->stringIdsSize); 599 return &pDexFile->pStringIds[idx]; 602 DEX_INLINE const char* dexStringById(const DexFile* pDexFile, u4 idx) { argument 603 const DexStringId* pStringId = dexGetStringId(pDexFile, idx); 609 const char* dexStringAndSizeById(const DexFile* pDexFile, u4 idx, 613 DEX_INLINE const DexTypeId* dexGetTypeId(const DexFile* pDexFile, u4 idx) { argument 614 assert(idx < pDexFile->pHeader->typeIdsSize); 615 return &pDexFile->pTypeIds[idx]; 622 DEX_INLINE const char* dexStringByTypeIdx(const DexFile* pDexFile, u4 idx) { argument 628 dexGetMethodId(const DexFile* pDexFile, u4 idx) argument 634 dexGetFieldId(const DexFile* pDexFile, u4 idx) argument 640 dexGetProtoId(const DexFile* pDexFile, u4 idx) argument 659 dexGetClassDef(const DexFile* pDexFile, u4 idx) argument 683 dexGetTypeItem(const DexTypeList* pList, u4 idx) argument 690 dexTypeListGetIdx(const DexTypeList* pList, u4 idx) argument 922 dexGetParameterAnnotationSetRef( const DexAnnotationSetRefList* pList, u4 idx) argument 937 dexGetAnnotationOff( const DexAnnotationSetItem* pAnnoSet, u4 idx) argument 945 dexGetAnnotationItem( const DexFile* pDexFile, const DexAnnotationSetItem* pAnnoSet, u4 idx) argument [all...] |
/dalvik/vm/mterp/c/ |
H A D | header.c | 158 static inline s8 getLongFromArray(const u4* ptr, int idx) argument 163 ptr += idx; 169 memcpy(&val, &ptr[idx], 8); 172 return *((s8*) &ptr[idx]); 177 static inline void putLongToArray(u4* ptr, int idx, s8 val) argument 182 ptr += idx; 187 memcpy(&ptr[idx], &val, 8); 189 *((s8*) &ptr[idx]) = val; 194 static inline double getDoubleFromArray(const u4* ptr, int idx) argument 199 ptr += idx; 213 putDoubleToArray(u4* ptr, int idx, double dval) argument [all...] |
/dalvik/dx/src/com/android/dx/rop/cst/ |
H A D | CstInteger.java | 64 int idx = (value & 0x7fffffff) % cache.length; 65 CstInteger obj = cache[idx]; 72 cache[idx] = obj;
|
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
H A D | Main.java | 162 int idx; 164 for (idx = 0; idx < args.length; idx++) { 165 String arg = args[idx]; 185 if (idx != args.length - 1) { 189 mInputFileName = args[idx];
|
H A D | DexData.java | 315 private String classNameFromTypeIndex(int idx) { argument 316 return mStrings[mTypeIds[idx].descriptorIdx]; 323 private String[] argArrayFromProtoIndex(int idx) { argument 324 ProtoIdItem protoId = mProtoIds[idx]; 338 private String returnTypeFromProtoIndex(int idx) { argument 339 ProtoIdItem protoId = mProtoIds[idx]; 369 int idx = 0; 372 classRefs[idx++] = sparseRefs[i]; 375 assert idx == count; 500 int idx; [all...] |
/dalvik/vm/interp/ |
H A D | Jit.c | 554 u4 idx = dvmJitHash(dPC); local 557 while ((gDvmJit.pJitEntryTable[idx].u.info.chain != chainEndMarker) && 558 (gDvmJit.pJitEntryTable[idx].dPC != dPC)) { 559 idx = gDvmJit.pJitEntryTable[idx].u.info.chain; 562 if (gDvmJit.pJitEntryTable[idx].dPC != dPC) { 578 if (gDvmJit.pJitEntryTable[idx].dPC != NULL) { 580 while (gDvmJit.pJitEntryTable[idx].u.info.chain != chainEndMarker) { 581 if (gDvmJit.pJitEntryTable[idx].dPC == dPC) { 585 return &gDvmJit.pJitEntryTable[idx]; 967 int idx = dvmJitHash(pc); local 989 int idx = dvmJitHash(dPC); local [all...] |
/dalvik/vm/oo/ |
H A D | Array.c | 29 static ClassObject* createPrimitiveClass(int idx); 557 int idx; local 561 idx = PRIM_BOOLEAN; 564 idx = PRIM_CHAR; 567 idx = PRIM_FLOAT; 570 idx = PRIM_DOUBLE; 573 idx = PRIM_BYTE; 576 idx = PRIM_SHORT; 579 idx = PRIM_INT; 582 idx 619 createPrimitiveClass(int idx) argument [all...] |