/dalvik/dx/src/com/android/dx/merge/ |
D | InstructionTransformer.java | 67 public void visit(DecodedInstruction[] all, DecodedInstruction one) { in visit() argument 68 mappedInstructions[mappedAt++] = one; in visit() 74 public void visit(DecodedInstruction[] all, DecodedInstruction one) { in visit() argument 75 int stringId = one.getIndex(); in visit() 77 boolean isJumbo = (one.getOpcode() == Opcodes.CONST_STRING_JUMBO); in visit() 79 mappedInstructions[mappedAt++] = one.withIndex(mappedId); in visit() 85 public void visit(DecodedInstruction[] all, DecodedInstruction one) { in visit() argument 86 int fieldId = one.getIndex(); in visit() 88 boolean isJumbo = (one.getOpcode() == Opcodes.CONST_STRING_JUMBO); in visit() 90 mappedInstructions[mappedAt++] = one.withIndex(mappedId); in visit() [all …]
|
/dalvik/dx/src/com/android/dx/io/ |
D | CodeReader.java | 98 DecodedInstruction one = decodedInstructions[i]; in visitAll() local 99 if (one == null) { in visitAll() 103 callVisit(decodedInstructions, one); in visitAll() 113 private void callVisit(DecodedInstruction[] all, DecodedInstruction one) { in callVisit() argument 116 switch (OpcodeInfo.getIndexType(one.getOpcode())) { in callVisit() 130 visitor.visit(all, one); in callVisit() 135 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 | 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()
|
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/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/file/ |
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 | 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 | 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/file/ |
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 | 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 | DexFile.java | 646 Section one = sections[i]; in toDex0() local 647 if ((one == callSiteIds || one == methodHandles) && one.items().isEmpty()) { in toDex0() 656 int placedAt = one.setFileOffset(offset); in toDex0() 662 if (one == map) { in toDex0() 672 if (one instanceof MixedItemSection) { in toDex0() 677 ((MixedItemSection) one).placeItems(); in toDex0() 680 offset = placedAt + one.writeSize(); in toDex0() 700 final Section one = sections[i]; in toDex0() local 701 if ((one == callSiteIds || one == methodHandles) && one.items().isEmpty()) { in toDex0() 704 final int zeroCount = one.getFileOffset() - out.getCursor(); in toDex0() [all …]
|
/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()
|
D | Form45cc.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/code/form/ |
D | Form35c.java | 161 RegisterSpec one = regs.get(i); in wordCount() local 162 result += one.getCategory(); in wordCount() 169 if (!unsignedFitsInNibble(one.getReg() + one.getCategory() - 1)) { in wordCount() 198 RegisterSpec one = orig.get(i); in explicitize() local 199 result.set(wordAt, one); in explicitize() 200 if (one.getCategory() == 2) { in explicitize() 202 RegisterSpec.make(one.getReg() + 1, Type.VOID)); in explicitize()
|
D | Form45cc.java | 171 RegisterSpec one = regs.get(i); in wordCount() local 172 result += one.getCategory(); in wordCount() 179 if (!unsignedFitsInNibble(one.getReg() + one.getCategory() - 1)) { in wordCount() 208 RegisterSpec one = orig.get(i); in explicitize() local 209 result.set(wordAt, one); in explicitize() 210 if (one.getCategory() == 2) { in explicitize() 212 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()
|
/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/cf/ |
D | CfTranslator.java | 201 Field one = fields.get(i); in processFields() local 203 CstFieldRef field = new CstFieldRef(thisClass, one.getNat()); in processFields() 204 int accessFlags = one.getAccessFlags(); in processFields() 207 TypedConstant constVal = one.getConstantValue(); in processFields() 219 AttributeTranslator.getAnnotations(one.getAttributes()); in processFields() 225 String msg = "...while processing " + one.getName().toHuman() + in processFields() 226 " " + one.getDescriptor().toHuman(); in processFields() 284 Method one = methods.get(i); in processMethods() local 286 CstMethodRef meth = new CstMethodRef(thisClass, one.getNat()); in processMethods() 287 int accessFlags = one.getAccessFlags(); in processMethods() [all …]
|
/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/cf/direct/ |
D | ClassPathOpener.java | 264 for (ZipEntry one : entriesList) { in processArchive() 265 final boolean isDirectory = one.isDirectory(); in processArchive() 267 String path = one.getName(); in processArchive() 271 InputStream in = zip.getInputStream(one); in processArchive() 285 any |= consumer.processFileBytes(path, one.getTime(), bytes); in processArchive()
|