/dalvik/dx/src/com/android/dx/dex/code/form/ |
D | Form23x.java | 46 return regs.get(0).regString() + ", " + regs.get(1).regString() + in insnArgString() 47 ", " + regs.get(2).regString(); in insnArgString() 70 unsignedFitsInByte(regs.get(0).getReg()) && in isCompatible() 71 unsignedFitsInByte(regs.get(1).getReg()) && in isCompatible() 72 unsignedFitsInByte(regs.get(2).getReg()); in isCompatible() 81 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); in compatibleRegs() 82 bits.set(1, unsignedFitsInByte(regs.get(1).getReg())); in compatibleRegs() 83 bits.set(2, unsignedFitsInByte(regs.get(2).getReg())); in compatibleRegs() 92 opcodeUnit(insn, regs.get(0).getReg()), in writeTo() 93 codeUnit(regs.get(1).getReg(), regs.get(2).getReg())); in writeTo()
|
D | Form12x.java | 55 return regs.get(sz - 2).regString() + ", " + in insnArgString() 56 regs.get(sz - 1).regString(); in insnArgString() 85 rs1 = regs.get(0); in isCompatible() 86 rs2 = regs.get(1); in isCompatible() 94 rs1 = regs.get(1); in isCompatible() 95 rs2 = regs.get(2); in isCompatible() 96 if (rs1.getReg() != regs.get(0).getReg()) { in isCompatible() 115 int r0 = regs.get(0).getReg(); in compatibleRegs() 116 int r1 = regs.get(1).getReg(); in compatibleRegs() 134 bits.set(2, unsignedFitsInNibble(regs.get(2).getReg())); in compatibleRegs() [all …]
|
D | Form32x.java | 46 return regs.get(0).regString() + ", " + regs.get(1).regString(); in insnArgString() 68 unsignedFitsInShort(regs.get(0).getReg()) && in isCompatible() 69 unsignedFitsInShort(regs.get(1).getReg()); in isCompatible() 78 bits.set(0, unsignedFitsInShort(regs.get(0).getReg())); in compatibleRegs() 79 bits.set(1, unsignedFitsInShort(regs.get(1).getReg())); in compatibleRegs() 90 (short) regs.get(0).getReg(), in writeTo() 91 (short) regs.get(1).getReg()); in writeTo()
|
D | Form22x.java | 46 return regs.get(0).regString() + ", " + regs.get(1).regString(); in insnArgString() 69 unsignedFitsInByte(regs.get(0).getReg()) && in isCompatible() 70 unsignedFitsInShort(regs.get(1).getReg()); in isCompatible() 79 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); in compatibleRegs() 80 bits.set(1, unsignedFitsInShort(regs.get(1).getReg())); in compatibleRegs() 89 opcodeUnit(insn, regs.get(0).getReg()), in writeTo() 90 (short) regs.get(1).getReg()); in writeTo()
|
D | Form22t.java | 46 return regs.get(0).regString() + ", " + regs.get(1).regString() + in insnArgString() 69 unsignedFitsInNibble(regs.get(0).getReg()) && in isCompatible() 70 unsignedFitsInNibble(regs.get(1).getReg()))) { in isCompatible() 84 bits.set(0, unsignedFitsInNibble(regs.get(0).getReg())); in compatibleRegs() 85 bits.set(1, unsignedFitsInNibble(regs.get(1).getReg())); in compatibleRegs() 106 makeByte(regs.get(0).getReg(), regs.get(1).getReg())), in writeTo()
|
D | Form22c.java | 49 return regs.get(0).regString() + ", " + regs.get(1).regString() + in insnArgString() 75 unsignedFitsInNibble(regs.get(0).getReg()) && in isCompatible() 76 unsignedFitsInNibble(regs.get(1).getReg()))) { in isCompatible() 98 bits.set(0, unsignedFitsInNibble(regs.get(0).getReg())); in compatibleRegs() 99 bits.set(1, unsignedFitsInNibble(regs.get(1).getReg())); in compatibleRegs() 111 makeByte(regs.get(0).getReg(), regs.get(1).getReg())), in writeTo()
|
D | Form22b.java | 50 return regs.get(0).regString() + ", " + regs.get(1).regString() + in insnArgString() 73 unsignedFitsInByte(regs.get(0).getReg()) && in isCompatible() 74 unsignedFitsInByte(regs.get(1).getReg()))) { in isCompatible() 96 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); in compatibleRegs() 97 bits.set(1, unsignedFitsInByte(regs.get(1).getReg())); in compatibleRegs() 109 opcodeUnit(insn, regs.get(0).getReg()), in writeTo() 110 codeUnit(regs.get(1).getReg(), value & 0xff)); in writeTo()
|
D | Form22s.java | 50 return regs.get(0).regString() + ", " + regs.get(1).regString() in insnArgString() 73 unsignedFitsInNibble(regs.get(0).getReg()) && in isCompatible() 74 unsignedFitsInNibble(regs.get(1).getReg()))) { in isCompatible() 96 bits.set(0, unsignedFitsInNibble(regs.get(0).getReg())); in compatibleRegs() 97 bits.set(1, unsignedFitsInNibble(regs.get(1).getReg())); in compatibleRegs() 110 makeByte(regs.get(0).getReg(), regs.get(1).getReg())), in writeTo()
|
D | Form21c.java | 51 return regs.get(0).regString() + ", " + cstString(insn); in insnArgString() 82 reg = regs.get(0); in isCompatible() 90 reg = regs.get(0); in isCompatible() 91 if (reg.getReg() != regs.get(1).getReg()) { in isCompatible() 124 boolean compat = unsignedFitsInByte(regs.get(0).getReg()); in compatibleRegs() 129 if (regs.get(0).getReg() == regs.get(1).getReg()) { in compatibleRegs() 145 opcodeUnit(insn, regs.get(0).getReg()), in writeTo()
|
D | Form31c.java | 51 return regs.get(0).regString() + ", " + cstString(insn); in insnArgString() 82 reg = regs.get(0); in isCompatible() 90 reg = regs.get(0); in isCompatible() 91 if (reg.getReg() != regs.get(1).getReg()) { in isCompatible() 119 boolean compat = unsignedFitsInByte(regs.get(0).getReg()); in compatibleRegs() 124 if (regs.get(0).getReg() == regs.get(1).getReg()) { in compatibleRegs() 139 write(out, opcodeUnit(insn, regs.get(0).getReg()), cpi); in writeTo()
|
D | Form21h.java | 50 return regs.get(0).regString() + ", " + literalBitsString(value); in insnArgString() 61 (regs.get(0).getCategory() == 1) ? 32 : 64); in insnCommentString() 76 unsignedFitsInByte(regs.get(0).getReg()))) { in isCompatible() 90 if (regs.get(0).getCategory() == 1) { in isCompatible() 105 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); in compatibleRegs() 117 if (regs.get(0).getCategory() == 1) { in writeTo() 123 write(out, opcodeUnit(insn, regs.get(0).getReg()), bits); in writeTo()
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/form/ |
D | Form23x.java | 45 return regs.get(0).regString() + ", " + regs.get(1).regString() + in insnArgString() 46 ", " + regs.get(2).regString(); in insnArgString() 69 unsignedFitsInByte(regs.get(0).getReg()) && in isCompatible() 70 unsignedFitsInByte(regs.get(1).getReg()) && in isCompatible() 71 unsignedFitsInByte(regs.get(2).getReg()); in isCompatible() 85 opcodeUnit(insn, regs.get(0).getReg()), in writeTo() 86 codeUnit(regs.get(1).getReg(), regs.get(2).getReg())); in writeTo()
|
D | Form12x.java | 55 return regs.get(sz - 2).regString() + ", " + in insnArgString() 56 regs.get(sz - 1).regString(); in insnArgString() 85 rs1 = regs.get(0); in isCompatible() 86 rs2 = regs.get(1); in isCompatible() 94 rs1 = regs.get(1); in isCompatible() 95 rs2 = regs.get(2); in isCompatible() 96 if (rs1.getReg() != regs.get(0).getReg()) { in isCompatible() 129 makeByte(regs.get(sz - 2).getReg(), in writeTo() 130 regs.get(sz - 1).getReg()))); in writeTo()
|
D | Form22x.java | 45 return regs.get(0).regString() + ", " + regs.get(1).regString(); in insnArgString() 68 unsignedFitsInByte(regs.get(0).getReg()) && in isCompatible() 69 unsignedFitsInShort(regs.get(1).getReg()); in isCompatible() 83 opcodeUnit(insn, regs.get(0).getReg()), in writeTo() 84 (short) regs.get(1).getReg()); in writeTo()
|
D | Form32x.java | 45 return regs.get(0).regString() + ", " + regs.get(1).regString(); in insnArgString() 67 unsignedFitsInShort(regs.get(0).getReg()) && in isCompatible() 68 unsignedFitsInShort(regs.get(1).getReg()); in isCompatible() 84 (short) regs.get(0).getReg(), in writeTo() 85 (short) regs.get(1).getReg()); in writeTo()
|
D | Form22t.java | 45 return regs.get(0).regString() + ", " + regs.get(1).regString() + in insnArgString() 68 unsignedFitsInNibble(regs.get(0).getReg()) && in isCompatible() 69 unsignedFitsInNibble(regs.get(1).getReg()))) { in isCompatible() 100 makeByte(regs.get(0).getReg(), regs.get(1).getReg())), in writeTo()
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
D | ListIntSet.java | 71 while (j < szOther && o.ints.get(j) < ints.get(i)) { in merge() 72 add(o.ints.get(j++)); in merge() 77 while (i < szThis && o.ints.get(j) >= ints.get(i)) { in merge() 83 add(o.ints.get(j++)); in merge() 123 return ints.get(idx++); in iterator()
|
/dalvik/dx/src/com/android/dx/util/ |
D | ListIntSet.java | 71 while (j < szOther && o.ints.get(j) < ints.get(i)) { in merge() 72 add(o.ints.get(j++)); in merge() 77 while (i < szThis && o.ints.get(j) >= ints.get(i)) { in merge() 83 add(o.ints.get(j++)); in merge() 123 return ints.get(idx++); in iterator()
|
/dalvik/dexgen/src/com/android/dexgen/rop/ |
D | StdAttributeList.java | 37 public Attribute get(int n) { in get() method in StdAttributeList 47 result += get(i).byteLength(); in byteLength() 58 Attribute att = get(i); in findFirst() 74 Attribute att = get(at); in findNext() 86 Attribute att = get(at); in findNext()
|
/dalvik/dx/src/com/android/dx/cf/iface/ |
D | StdAttributeList.java | 37 public Attribute get(int n) { in get() method in StdAttributeList 47 result += get(i).byteLength(); in byteLength() 58 Attribute att = get(i); in findFirst() 74 Attribute att = get(at); in findNext() 86 Attribute att = get(at); in findNext()
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
D | InsnList.java | 43 public Insn get(int n) { in get() method in InsnList 64 return get(size() - 1); in getLast() 76 get(i).accept(visitor); in forEach() 96 if (!get(i).contentEquals(b.get(i))) { in contentEquals()
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | InsnList.java | 43 public Insn get(int n) { in get() method in InsnList 64 return get(size() - 1); in getLast() 76 get(i).accept(visitor); in forEach() 96 if (!get(i).contentEquals(b.get(i))) { in contentEquals()
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | SwitchList.java | 77 return values.get(n); in getValue() 88 return targets.get(n); in getTarget() 98 return targets.get(size); in getDefaultTarget() 172 int defaultTarget = targets.get(sz); in removeSuperfluousDefaults() 176 int target = targets.get(i); in removeSuperfluousDefaults() 180 values.set(at, values.get(i)); in removeSuperfluousDefaults()
|
/dalvik/dx/tests/115-merge/com/android/dx/merge/ |
D | DexMergeTest.java | 81 assertEquals((byte) 1, staticValues.getField("a").get(null)); in testStaticValues() 82 assertEquals((short) 2, staticValues.getField("b").get(null)); in testStaticValues() 83 assertEquals('C', staticValues.getField("c").get(null)); in testStaticValues() 84 assertEquals(0xabcd1234, staticValues.getField("d").get(null)); in testStaticValues() 85 assertEquals(4660046610375530309L,staticValues.getField("e").get(null)); in testStaticValues() 86 assertEquals(0.5f, staticValues.getField("f").get(null)); in testStaticValues() 87 assertEquals(-0.25, staticValues.getField("g").get(null)); in testStaticValues() 88 assertEquals("this is a String", staticValues.getField("h").get(null)); in testStaticValues() 89 assertEquals(String.class, staticValues.getField("i").get(null)); in testStaticValues() 90 assertEquals("[0, 1]", Arrays.toString((int[]) staticValues.getField("j").get(null))); in testStaticValues() [all …]
|
/dalvik/dx/src/com/android/dx/ssa/back/ |
D | IdenticalBlockCombiner.java | 62 BasicBlock b = blocks.get(bindex); in process() 64 if (toDelete.get(b.getLabel())) { in process() 74 int iLabel = preds.get(i); in process() 78 if (toDelete.get(iLabel) in process() 89 int jLabel = preds.get(j); in process() 105 if (toDelete.get(newBlocks.get(i).getLabel())) { in process() 139 int betaLabel = betaLabels.get(i); in combineBlocks() 145 BasicBlock predBlock = newBlocks.labelToBlock(preds.get(j)); in combineBlocks()
|