Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/dalvik/dx/src/com/android/dx/dex/code/form/
DForm23x.java47 return regs.get(0).regString() + ", " + regs.get(1).regString() + in insnArgString()
48 ", " + regs.get(2).regString(); in insnArgString()
71 unsignedFitsInByte(regs.get(0).getReg()) && in isCompatible()
72 unsignedFitsInByte(regs.get(1).getReg()) && in isCompatible()
73 unsignedFitsInByte(regs.get(2).getReg()); in isCompatible()
82 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); in compatibleRegs()
83 bits.set(1, unsignedFitsInByte(regs.get(1).getReg())); in compatibleRegs()
84 bits.set(2, unsignedFitsInByte(regs.get(2).getReg())); in compatibleRegs()
93 opcodeUnit(insn, regs.get(0).getReg()), in writeTo()
94 codeUnit(regs.get(1).getReg(), regs.get(2).getReg())); in writeTo()
DForm12x.java56 return regs.get(sz - 2).regString() + ", " + in insnArgString()
57 regs.get(sz - 1).regString(); in insnArgString()
86 rs1 = regs.get(0); in isCompatible()
87 rs2 = regs.get(1); in isCompatible()
95 rs1 = regs.get(1); in isCompatible()
96 rs2 = regs.get(2); in isCompatible()
97 if (rs1.getReg() != regs.get(0).getReg()) { in isCompatible()
117 bits.set(0, unsignedFitsInNibble(regs.get(0).getReg())); in compatibleRegs()
118 bits.set(1, unsignedFitsInNibble(regs.get(1).getReg())); in compatibleRegs()
135 makeByte(regs.get(sz - 2).getReg(), in writeTo()
[all …]
DForm22x.java47 return regs.get(0).regString() + ", " + regs.get(1).regString(); in insnArgString()
70 unsignedFitsInByte(regs.get(0).getReg()) && in isCompatible()
71 unsignedFitsInShort(regs.get(1).getReg()); in isCompatible()
80 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); in compatibleRegs()
81 bits.set(1, unsignedFitsInShort(regs.get(1).getReg())); in compatibleRegs()
90 opcodeUnit(insn, regs.get(0).getReg()), in writeTo()
91 (short) regs.get(1).getReg()); in writeTo()
DForm32x.java47 return regs.get(0).regString() + ", " + regs.get(1).regString(); in insnArgString()
69 unsignedFitsInShort(regs.get(0).getReg()) && in isCompatible()
70 unsignedFitsInShort(regs.get(1).getReg()); in isCompatible()
79 bits.set(0, unsignedFitsInShort(regs.get(0).getReg())); in compatibleRegs()
80 bits.set(1, unsignedFitsInShort(regs.get(1).getReg())); in compatibleRegs()
91 (short) regs.get(0).getReg(), in writeTo()
92 (short) regs.get(1).getReg()); in writeTo()
DForm22t.java47 return regs.get(0).regString() + ", " + regs.get(1).regString() + in insnArgString()
70 unsignedFitsInNibble(regs.get(0).getReg()) && in isCompatible()
71 unsignedFitsInNibble(regs.get(1).getReg()))) { in isCompatible()
85 bits.set(0, unsignedFitsInNibble(regs.get(0).getReg())); in compatibleRegs()
86 bits.set(1, unsignedFitsInNibble(regs.get(1).getReg())); in compatibleRegs()
107 makeByte(regs.get(0).getReg(), regs.get(1).getReg())), in writeTo()
DForm22c.java50 return regs.get(0).regString() + ", " + regs.get(1).regString() + in insnArgString()
76 unsignedFitsInNibble(regs.get(0).getReg()) && in isCompatible()
77 unsignedFitsInNibble(regs.get(1).getReg()))) { in isCompatible()
99 bits.set(0, unsignedFitsInNibble(regs.get(0).getReg())); in compatibleRegs()
100 bits.set(1, unsignedFitsInNibble(regs.get(1).getReg())); in compatibleRegs()
112 makeByte(regs.get(0).getReg(), regs.get(1).getReg())), in writeTo()
DForm22s.java51 return regs.get(0).regString() + ", " + regs.get(1).regString() in insnArgString()
74 unsignedFitsInNibble(regs.get(0).getReg()) && in isCompatible()
75 unsignedFitsInNibble(regs.get(1).getReg()))) { in isCompatible()
97 bits.set(0, unsignedFitsInNibble(regs.get(0).getReg())); in compatibleRegs()
98 bits.set(1, unsignedFitsInNibble(regs.get(1).getReg())); in compatibleRegs()
111 makeByte(regs.get(0).getReg(), regs.get(1).getReg())), in writeTo()
DForm22b.java51 return regs.get(0).regString() + ", " + regs.get(1).regString() + in insnArgString()
74 unsignedFitsInByte(regs.get(0).getReg()) && in isCompatible()
75 unsignedFitsInByte(regs.get(1).getReg()))) { in isCompatible()
97 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); in compatibleRegs()
98 bits.set(1, unsignedFitsInByte(regs.get(1).getReg())); in compatibleRegs()
110 opcodeUnit(insn, regs.get(0).getReg()), in writeTo()
111 codeUnit(regs.get(1).getReg(), value & 0xff)); in writeTo()
DForm21c.java52 return regs.get(0).regString() + ", " + cstString(insn); in insnArgString()
83 reg = regs.get(0); in isCompatible()
91 reg = regs.get(0); in isCompatible()
92 if (reg.getReg() != regs.get(1).getReg()) { in isCompatible()
125 boolean compat = unsignedFitsInByte(regs.get(0).getReg()); in compatibleRegs()
130 if (regs.get(0).getReg() == regs.get(1).getReg()) { in compatibleRegs()
146 opcodeUnit(insn, regs.get(0).getReg()), in writeTo()
DForm31c.java52 return regs.get(0).regString() + ", " + cstString(insn); in insnArgString()
83 reg = regs.get(0); in isCompatible()
91 reg = regs.get(0); in isCompatible()
92 if (reg.getReg() != regs.get(1).getReg()) { in isCompatible()
120 boolean compat = unsignedFitsInByte(regs.get(0).getReg()); in compatibleRegs()
125 if (regs.get(0).getReg() == regs.get(1).getReg()) { in compatibleRegs()
140 write(out, opcodeUnit(insn, regs.get(0).getReg()), cpi); in writeTo()
DForm21h.java51 return regs.get(0).regString() + ", " + literalBitsString(value); in insnArgString()
62 (regs.get(0).getCategory() == 1) ? 32 : 64); in insnCommentString()
77 unsignedFitsInByte(regs.get(0).getReg()))) { in isCompatible()
91 if (regs.get(0).getCategory() == 1) { in isCompatible()
106 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); in compatibleRegs()
118 if (regs.get(0).getCategory() == 1) { in writeTo()
124 write(out, opcodeUnit(insn, regs.get(0).getReg()), bits); in writeTo()
/dalvik/dexgen/src/com/android/dexgen/dex/code/form/
DForm23x.java45 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()
DForm12x.java55 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()
DForm22x.java45 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()
DForm32x.java45 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()
DForm22t.java45 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()
DForm22c.java49 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()
106 makeByte(regs.get(0).getReg(), regs.get(1).getReg())), in writeTo()
/dalvik/dx/src/com/android/dx/util/
DListIntSet.java71 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/util/
DListIntSet.java71 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/cf/code/
DSwitchList.java77 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/src/com/android/dx/cf/iface/
DStdAttributeList.java37 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/
DInsnList.java43 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/
DInsnList.java43 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/dexgen/src/com/android/dexgen/rop/
DStdAttributeList.java37 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/tests/115-merge/com/android/dx/merge/
DDexMergeTest.java81 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 …]

12345678910>>...14