/dalvik/dexgen/src/com/android/dexgen/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);
|
/dalvik/dexgen/src/com/android/dexgen/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);
|
/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);
|
/dalvik/opcode-gen/ |
H A D | opcode-gen.awk | 286 function defineOpcode(line, count, parts, idx) { 287 # locals: count, parts, idx 290 idx = parseHex(parts[1]); 291 if (idx < 0) return -1; 294 hex[idx] = parts[1]; 295 name[idx] = parts[2]; 296 format[idx] = parts[3]; 297 hasResult[idx] = (parts[4] == "n") ? "false" : "true"; 298 indexType[idx] = parts[5]; 299 flags[idx] [all...] |
/dalvik/vm/ |
H A D | BitVector.cpp | 153 unsigned int idx; 155 for (idx = 0; idx < (numBits >> 5); idx++) { 156 pBits->storage[idx] = -1; 160 pBits->storage[idx] = (1 << remNumBits) - 1; 238 unsigned int idx; 239 for (idx = 0; idx < dest->storageSize; idx [all...] |
H A D | PointerSet.h | 76 int idx; local 77 if (!dvmPointerSetHas(pSet, ptr, &idx)) 78 idx = -1; 79 return idx;
|
H A D | ReferenceTable.cpp | 268 for (int idx = count - 1; idx >= first; --idx) { 269 const Object* ref = refs[idx]; 274 ALOGW(" %5d: cleared jweak", idx); 280 ALOGW(" %5d: %p (raw) (%zd bytes)", idx, ref, size); 307 ALOGW(" %5d: %p %s%s", idx, ref, className.c_str(), extras.c_str()); 335 size_t idx; local 337 for (idx = 1; idx < coun [all...] |
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;
|
/dalvik/dx/src/com/android/dx/cf/code/ |
H A D | OneLocalsArray.java | 105 public void set(int idx, TypeBearer type) { argument 115 if (idx < 0) { 116 throw new IndexOutOfBoundsException("idx < 0"); 121 locals[idx + 1] = null; 124 locals[idx] = type; 126 if (idx != 0) { 127 TypeBearer prev = locals[idx - 1]; 129 locals[idx - 1] = null; 140 public void invalidate(int idx) { argument 142 locals[idx] 146 getOrNull(int idx) argument 151 get(int idx) argument 162 getCategory1(int idx) argument 178 getCategory2(int idx) argument 242 throwSimException(int idx, String msg) argument [all...] |
H A D | ByteBlockList.java | 55 int idx = indexOfLabel(label); 57 if (idx < 0) { 62 return get(idx);
|
H A D | LocalsArray.java | 82 * @param idx {@code >= 0, < getMaxLocals();} which local 83 * @param type {@code non-null;} new type for the local at {@code idx} 85 public abstract void set(int idx, TypeBearer type); argument 100 * @param idx {@code >= 0, < getMaxLocals();} which local 102 public abstract void invalidate(int idx); argument 108 * @param idx {@code >= 0, < getMaxLocals();} which local 111 public abstract TypeBearer getOrNull(int idx); argument 118 * @param idx {@code >= 0, < getMaxLocals();} which local 120 * @throws SimException thrown if {@code idx} is valid, but 123 public abstract TypeBearer get(int idx); argument 136 getCategory1(int idx) argument 148 getCategory2(int idx) argument [all...] |
H A D | BytecodeArray.java | 320 int idx = bytes.getUnsignedByte(offset + 1); 321 Constant cst = pool.get(idx); 328 int idx = bytes.getUnsignedShort(offset + 1); 329 Constant cst = pool.get(idx); 336 int idx = bytes.getUnsignedShort(offset + 1); 337 Constant cst = pool.get(idx); 342 int idx = bytes.getUnsignedByte(offset + 1); 343 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx, 348 int idx = bytes.getUnsignedByte(offset + 1); 349 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx, 1201 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument 1306 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument 1378 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument [all...] |
/dalvik/vm/analysis/ |
H A D | VfyBasicBlock.cpp | 40 unsigned int idx = 0; local 48 if (idx < addrBufSize) { 49 addrBuf[idx] = handler->address; 51 idx++; 54 return idx; 72 static VfyBasicBlock* allocVfyBasicBlock(VerifierData* vdata, u4 idx) argument 245 unsigned int idx; local 250 for (idx = 0; idx < vdata->insnsSize; idx 307 u4 idx, blockStartAddr; local 536 unsigned int idx; local [all...] |
H A D | Liveness.cpp | 48 for (u4 idx = 0; idx < vdata->insnsSize; ) { 49 widths[idx] = insnWidth; 50 insnWidth = dvmInsnGetWidth(vdata->insnFlags, idx); 51 idx += insnWidth; 121 for (u4 idx = 0; idx < vdata->insnsSize; idx++) { 122 VfyBasicBlock* block = vdata->basicBlocks[idx]; 424 unsigned int idx; local 439 unsigned int idx; local 756 unsigned int idx; local 808 unsigned int idx; local [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | ClassDefsSection.java | 132 int idx = 0; 143 idx = orderItems0(type, idx, sz - idx); 152 * @param idx {@code >= 0;} the next index to assign 157 private int orderItems0(Type type, int idx, int maxDepth) { argument 161 return idx; 173 idx = orderItems0(superclass, idx, maxDepth); 179 idx [all...] |
H A D | MemberIdsSection.java | 47 int idx = 0; 54 ((MemberIdItem) i).setIndex(idx); 55 idx++;
|
H A D | TypeIdItem.java | 61 int idx = file.getStringIds().indexOf(descriptor); 65 out.annotate(4, " descriptor_idx: " + Hex.u4(idx)); 68 out.writeInt(idx);
|
/dalvik/libdex/ |
H A D | DexFile.h | 624 DEX_INLINE const DexStringId* dexGetStringId(const DexFile* pDexFile, u4 idx) { argument 625 assert(idx < pDexFile->pHeader->stringIdsSize); 626 return &pDexFile->pStringIds[idx]; 629 DEX_INLINE const char* dexStringById(const DexFile* pDexFile, u4 idx) { argument 630 const DexStringId* pStringId = dexGetStringId(pDexFile, idx); 636 const char* dexStringAndSizeById(const DexFile* pDexFile, u4 idx, 640 DEX_INLINE const DexTypeId* dexGetTypeId(const DexFile* pDexFile, u4 idx) { argument 641 assert(idx < pDexFile->pHeader->typeIdsSize); 642 return &pDexFile->pTypeIds[idx]; 649 DEX_INLINE const char* dexStringByTypeIdx(const DexFile* pDexFile, u4 idx) { argument 655 dexGetMethodId(const DexFile* pDexFile, u4 idx) argument 661 dexGetFieldId(const DexFile* pDexFile, u4 idx) argument 667 dexGetProtoId(const DexFile* pDexFile, u4 idx) argument 686 dexGetClassDef(const DexFile* pDexFile, u4 idx) argument 710 dexGetTypeItem(const DexTypeList* pList, u4 idx) argument 717 dexTypeListGetIdx(const DexTypeList* pList, u4 idx) argument 924 dexGetParameterAnnotationSetRef( const DexAnnotationSetRefList* pList, u4 idx) argument 939 dexGetAnnotationOff( const DexAnnotationSetItem* pAnnoSet, u4 idx) argument 947 dexGetAnnotationItem( const DexFile* pDexFile, const DexAnnotationSetItem* pAnnoSet, u4 idx) argument [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
H A D | CstInteger.java | 64 int idx = (value & 0x7fffffff) % cache.length; 65 CstInteger obj = cache[idx]; 72 cache[idx] = obj;
|
/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/vm/mterp/c/ |
H A D | header.cpp | 148 static inline s8 getLongFromArray(const u4* ptr, int idx) argument 153 ptr += idx; 159 memcpy(&val, &ptr[idx], 8); 165 static inline void putLongToArray(u4* ptr, int idx, s8 val) argument 170 ptr += idx; 175 memcpy(&ptr[idx], &val, 8); 180 static inline double getDoubleFromArray(const u4* ptr, int idx) argument 185 ptr += idx; 191 memcpy(&dval, &ptr[idx], 8); 197 static inline void putDoubleToArray(u4* ptr, int idx, doubl argument [all...] |