/dalvik/dx/src/com/android/dx/merge/ |
D | InstructionTransformer.java | 64 public void visit(DecodedInstruction[] all, DecodedInstruction one) { in visit() argument 65 mappedInstructions[mappedAt++] = one; in visit() 70 public void visit(DecodedInstruction[] all, DecodedInstruction one) { in visit() argument 71 int stringId = one.getIndex(); in visit() 73 boolean isJumbo = (one.getOpcode() == Opcodes.CONST_STRING_JUMBO); in visit() 75 mappedInstructions[mappedAt++] = one.withIndex(mappedId); in visit() 80 public void visit(DecodedInstruction[] all, DecodedInstruction one) { in visit() argument 81 int fieldId = one.getIndex(); in visit() 83 boolean isJumbo = (one.getOpcode() == Opcodes.CONST_STRING_JUMBO); in visit() 85 mappedInstructions[mappedAt++] = one.withIndex(mappedId); in visit() [all …]
|
/dalvik/libdex/ |
D | DexUtf.h | 42 unsigned int one, two, three; in dexGetUtf16FromUtf8() local 44 one = *(*pUtf8Ptr)++; in dexGetUtf16FromUtf8() 45 if ((one & 0x80) != 0) { in dexGetUtf16FromUtf8() 48 if ((one & 0x20) != 0) { in dexGetUtf16FromUtf8() 51 return ((one & 0x0f) << 12) | in dexGetUtf16FromUtf8() 56 return ((one & 0x1f) << 6) | in dexGetUtf16FromUtf8() 61 return one; in dexGetUtf16FromUtf8()
|
/dalvik/dx/src/com/android/dx/io/ |
D | CodeReader.java | 84 DecodedInstruction one = decodedInstructions[i]; in visitAll() local 85 if (one == null) { in visitAll() 89 callVisit(decodedInstructions, one); in visitAll() 99 private void callVisit(DecodedInstruction[] all, DecodedInstruction one) { in callVisit() argument 102 switch (OpcodeInfo.getIndexType(one.getOpcode())) { in callVisit() 114 visitor.visit(all, one); in callVisit() 119 void visit(DecodedInstruction[] all, DecodedInstruction one); in visit() argument
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
D | BasicBlockList.java | 112 BasicBlock one = (BasicBlock) getOrNull0(i); in getInstructionCount() local 113 if (one != null) { in getInstructionCount() 114 result += one.getInsns().size(); in getInstructionCount() 132 BasicBlock one = (BasicBlock) getOrNull0(i); in getEffectiveInstructionCount() local 133 if (one != null) { in getEffectiveInstructionCount() 134 InsnList insns = one.getInsns(); in getEffectiveInstructionCount() 178 BasicBlock one = get(i); in forEachInsn() local 179 InsnList insns = one.getInsns(); in forEachInsn() 198 BasicBlock one = (BasicBlock) get0(i); in withRegisterOffset() local 199 if (one != null) { in withRegisterOffset() [all …]
|
D | InsnList.java | 118 Insn one = (Insn) get0(i); in withRegisterOffset() local 119 if (one != null) { in withRegisterOffset() 120 result.set0(i, one.withRegisterOffset(delta)); in withRegisterOffset()
|
D | RegisterSpecList.java | 312 RegisterSpec one = (RegisterSpec) get0(i); in withOffset() local 313 if (one != null) { in withOffset() 314 result.set0(i, one.withOffset(delta)); in withOffset() 346 RegisterSpec one = (RegisterSpec) get0(i); in withSequentialRegisters() local 347 result.set0(i, one.withReg(base)); in withSequentialRegisters() 351 base += one.getCategory(); in withSequentialRegisters()
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | BasicBlockList.java | 112 BasicBlock one = (BasicBlock) getOrNull0(i); in getInstructionCount() local 113 if (one != null) { in getInstructionCount() 114 result += one.getInsns().size(); in getInstructionCount() 132 BasicBlock one = (BasicBlock) getOrNull0(i); in getEffectiveInstructionCount() local 133 if (one != null) { in getEffectiveInstructionCount() 134 InsnList insns = one.getInsns(); in getEffectiveInstructionCount() 177 BasicBlock one = get(i); in forEachInsn() local 178 InsnList insns = one.getInsns(); in forEachInsn() 197 BasicBlock one = (BasicBlock) get0(i); in withRegisterOffset() local 198 if (one != null) { in withRegisterOffset() [all …]
|
D | InsnList.java | 118 Insn one = (Insn) get0(i); in withRegisterOffset() local 119 if (one != null) { in withRegisterOffset() 120 result.set0(i, one.withRegisterOffset(delta)); in withRegisterOffset()
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/form/ |
D | Form35c.java | 142 RegisterSpec one = regs.get(i); in wordCount() local 143 result += one.getCategory(); in wordCount() 150 if (!unsignedFitsInNibble(one.getReg() + one.getCategory() - 1)) { in wordCount() 179 RegisterSpec one = orig.get(i); in explicitize() local 180 result.set(wordAt, one); in explicitize() 181 if (one.getCategory() == 2) { in explicitize() 183 RegisterSpec.make(one.getReg() + 1, Type.VOID)); in explicitize()
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | UniformItemSection.java | 74 for (Item one : items()) { in prepare0() 75 one.addContents(file); in prepare0() 85 for (Item one : items()) { in writeTo0() 86 one.writeTo(file, out); in writeTo0()
|
D | MixedItemSection.java | 278 OffsettedItem one = items.get(i); in prepare0() local 279 one.addContents(file); in prepare0() 309 OffsettedItem one = items.get(i); in placeItems() local 311 int placedAt = one.place(this, outAt); in placeItems() 315 one); in placeItems() 318 outAt = placedAt + one.writeSize(); in placeItems() 321 "...while placing " + one); in placeItems() 336 for (OffsettedItem one : items) { in writeTo0() 345 int alignMask = one.getAlignment() - 1; in writeTo0() 353 one.writeTo(file, out); in writeTo0() [all …]
|
D | DexFile.java | 519 Section one = sections[i]; in toDex0() local 520 int placedAt = one.setFileOffset(offset); in toDex0() 526 if (one == map) { in toDex0() 536 if (one instanceof MixedItemSection) { in toDex0() 541 ((MixedItemSection) one).placeItems(); in toDex0() 544 offset = placedAt + one.writeSize(); in toDex0() 563 Section one = sections[i]; in toDex0() local 564 int zeroCount = one.getFileOffset() - out.getCursor(); in toDex0() 569 out.writeZeroes(one.getFileOffset() - out.getCursor()); in toDex0() 570 one.writeTo(out); in toDex0()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | UniformItemSection.java | 75 for (Item one : items()) { in prepare0() 76 one.addContents(file); in prepare0() 86 for (Item one : items()) { in writeTo0() 87 one.writeTo(file, out); in writeTo0()
|
D | MixedItemSection.java | 279 OffsettedItem one = items.get(i); in prepare0() local 280 one.addContents(file); in prepare0() 310 OffsettedItem one = items.get(i); in placeItems() local 312 int placedAt = one.place(this, outAt); in placeItems() 316 one); in placeItems() 319 outAt = placedAt + one.writeSize(); in placeItems() 322 "...while placing " + one); in placeItems() 337 for (OffsettedItem one : items) { in writeTo0() 346 int alignMask = one.getAlignment() - 1; in writeTo0() 354 one.writeTo(file, out); in writeTo0() [all …]
|
D | DexFile.java | 502 Section one = sections[i]; in toDex0() local 503 int placedAt = one.setFileOffset(offset); in toDex0() 509 if (one == map) { in toDex0() 519 if (one instanceof MixedItemSection) { in toDex0() 524 ((MixedItemSection) one).placeItems(); in toDex0() 527 offset = placedAt + one.writeSize(); in toDex0() 546 Section one = sections[i]; in toDex0() local 547 int zeroCount = one.getFileOffset() - out.getCursor(); in toDex0() 552 out.writeZeroes(one.getFileOffset() - out.getCursor()); in toDex0() 553 one.writeTo(out); in toDex0()
|
/dalvik/dx/src/com/android/dx/dex/code/form/ |
D | Form35c.java | 159 RegisterSpec one = regs.get(i); in wordCount() local 160 result += one.getCategory(); in wordCount() 167 if (!unsignedFitsInNibble(one.getReg() + one.getCategory() - 1)) { in wordCount() 196 RegisterSpec one = orig.get(i); in explicitize() local 197 result.set(wordAt, one); in explicitize() 198 if (one.getCategory() == 2) { in explicitize() 200 RegisterSpec.make(one.getReg() + 1, Type.VOID)); in explicitize()
|
/dalvik/dexgen/src/com/android/dexgen/rop/ |
D | ByteCatchList.java | 107 Item one = get(i); in listFor() local 108 if (one.covers(pc) && typeNotFound(one, resultArr, resultSz)) { in listFor() 109 resultArr[resultSz] = one; in listFor() 142 CstType one = arr[i].getExceptionClass(); in typeNotFound() local 143 if ((one == type) || (one == CstType.OBJECT)) { in typeNotFound()
|
D | LineNumberList.java | 122 Item one = get(i); in pcToLine() local 123 int onePc = one.getStartPc(); in pcToLine() 126 bestLine = one.getLineNumber(); in pcToLine()
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | ByteCatchList.java | 107 Item one = get(i); in listFor() local 108 if (one.covers(pc) && typeNotFound(one, resultArr, resultSz)) { in listFor() 109 resultArr[resultSz] = one; in listFor() 142 CstType one = arr[i].getExceptionClass(); in typeNotFound() local 143 if ((one == type) || (one == CstType.OBJECT)) { in typeNotFound()
|
D | LocalVariableList.java | 164 Item one = (Item) get0(i); in itemToLocal() local 166 if ((one != null) && one.matchesAllButType(item)) { in itemToLocal() 167 return one; in itemToLocal() 189 Item one = (Item) get0(i); in pcAndIndexToLocal() local 191 if ((one != null) && one.matchesPcAndIndex(pc, index)) { in pcAndIndexToLocal() 192 return one; in pcAndIndexToLocal()
|
D | LineNumberList.java | 122 Item one = get(i); in pcToLine() local 123 int onePc = one.getStartPc(); in pcToLine() 126 bestLine = one.getLineNumber(); in pcToLine()
|
/dalvik/dx/src/com/android/dx/dex/code/ |
D | BlockAddresses.java | 131 BasicBlock one = blocks.get(i); in setupArrays() local 132 int label = one.getLabel(); in setupArrays() 133 Insn insn = one.getInsns().get(0); in setupArrays() 137 SourcePosition pos = one.getLastInsn().getPosition(); in setupArrays()
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
D | BlockAddresses.java | 131 BasicBlock one = blocks.get(i); in setupArrays() local 132 int label = one.getLabel(); in setupArrays() 133 Insn insn = one.getInsns().get(0); in setupArrays() 137 SourcePosition pos = one.getLastInsn().getPosition(); in setupArrays()
|
/dalvik/dx/src/com/android/dx/dex/cf/ |
D | CfTranslator.java | 173 Field one = fields.get(i); in processFields() local 175 CstFieldRef field = new CstFieldRef(thisClass, one.getNat()); in processFields() 176 int accessFlags = one.getAccessFlags(); in processFields() 179 TypedConstant constVal = one.getConstantValue(); in processFields() 191 AttributeTranslator.getAnnotations(one.getAttributes()); in processFields() 197 String msg = "...while processing " + one.getName().toHuman() + in processFields() 198 " " + one.getDescriptor().toHuman(); in processFields() 255 Method one = methods.get(i); in processMethods() local 257 CstMethodRef meth = new CstMethodRef(thisClass, one.getNat()); in processMethods() 258 int accessFlags = one.getAccessFlags(); in processMethods() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
D | LabeledList.java | 51 Object one = old.get0(i); in LabeledList() local 52 if (one != null) { in LabeledList() 53 set0(i, one); in LabeledList()
|