Home
last modified time | relevance | path

Searched refs:set (Results 1 – 25 of 201) sorted by relevance

123456789

/dalvik/dx/junit-tests/com/android/dx/util/
DListIntSetTest.java24 ListIntSet set = new ListIntSet(); in test_basic() local
26 assertEquals(0, set.elements()); in test_basic()
28 set.add(31); in test_basic()
29 set.add(0); in test_basic()
30 set.add(1); in test_basic()
32 assertTrue(set.has(0)); in test_basic()
33 assertTrue(set.has(1)); in test_basic()
34 assertTrue(set.has(31)); in test_basic()
36 assertEquals(3, set.elements()); in test_basic()
38 assertFalse(set.has(2)); in test_basic()
[all …]
DBitIntSetTest.java24 BitIntSet set = new BitIntSet(32); in test_basic() local
26 assertEquals(0, set.elements()); in test_basic()
28 set.add(0); in test_basic()
29 set.add(1); in test_basic()
30 set.add(31); in test_basic()
32 assertTrue(set.has(0)); in test_basic()
33 assertTrue(set.has(1)); in test_basic()
34 assertTrue(set.has(31)); in test_basic()
36 assertEquals(3, set.elements()); in test_basic()
38 assertFalse(set.has(2)); in test_basic()
[all …]
DBitsTest.java76 Bits.set(bits, i, (i % 5) == 0); in test3_get()
89 Bits.set(bits, 0, true); in test1_set1()
90 Bits.set(bits, 3, true); in test1_set1()
91 Bits.set(bits, 6, true); in test1_set1()
92 Bits.set(bits, 3, false); in test1_set1()
93 Bits.set(bits, 35, false); in test1_set1()
94 Bits.set(bits, 38, false); in test1_set1()
95 Bits.set(bits, 42, false); in test1_set1()
96 Bits.set(bits, 38, true); in test1_set1()
107 Bits.set(bits, i, true); in test2_set1()
[all …]
/dalvik/dx/src/com/android/dx/io/
DOpcodeInfo.java941 set(SPECIAL_FORMAT);
944 set(PACKED_SWITCH_PAYLOAD);
945 set(SPARSE_SWITCH_PAYLOAD);
946 set(FILL_ARRAY_DATA_PAYLOAD);
949 set(NOP);
950 set(MOVE);
951 set(MOVE_FROM16);
952 set(MOVE_16);
953 set(MOVE_WIDE);
954 set(MOVE_WIDE_FROM16);
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DDops.java941 set(SPECIAL_FORMAT);
944 set(NOP);
945 set(MOVE);
946 set(MOVE_FROM16);
947 set(MOVE_16);
948 set(MOVE_WIDE);
949 set(MOVE_WIDE_FROM16);
950 set(MOVE_WIDE_16);
951 set(MOVE_OBJECT);
952 set(MOVE_OBJECT_FROM16);
[all …]
/dalvik/dx/src/com/android/dx/dex/code/
DDops.java944 set(SPECIAL_FORMAT);
947 set(NOP);
948 set(MOVE);
949 set(MOVE_FROM16);
950 set(MOVE_16);
951 set(MOVE_WIDE);
952 set(MOVE_WIDE_FROM16);
953 set(MOVE_WIDE_16);
954 set(MOVE_OBJECT);
955 set(MOVE_OBJECT_FROM16);
[all …]
/dalvik/dx/etc/
Ddx.bat22 REM and set up progdir to be the fully-qualified pathname of its directory.
23 set prog=%~f0
30 set java_exe=
34 set jarfile=dx.jar
35 set frameworkdir=
38 set frameworkdir=lib\
41 set frameworkdir=..\framework\
45 set jarpath=%frameworkdir%%jarfile%
47 set javaOpts=
48 set args=
[all …]
/dalvik/dx/src/com/android/dx/ssa/
DDeadCodeRemover.java117 worklist.set(source.getReg()); in run()
182 private boolean isCircularNoSideEffect(int regV, BitSet set) { in isCircularNoSideEffect() argument
183 if ((set != null) && set.get(regV)) { in isCircularNoSideEffect()
193 if (set == null) { in isCircularNoSideEffect()
194 set = new BitSet(regCount); in isCircularNoSideEffect()
198 set.set(regV); in isCircularNoSideEffect()
204 || !isCircularNoSideEffect(result.getReg(), set)) { in isCircularNoSideEffect()
252 noSideEffectRegs.set(insn.getResult().getReg()); in visitMoveInsn()
260 noSideEffectRegs.set(phi.getResult().getReg()); in visitPhiInsn()
268 noSideEffectRegs.set(result.getReg()); in visitNonMoveInsn()
DSsaBasicBlock.java245 insns.set(insns.size() - 1, newInsn); in replaceLastInsn()
421 newPred.successors.set(index) ; in insertNewPredecessor()
428 predecessors.set(newPred.index); in insertNewPredecessor()
462 newSucc.predecessors.set(this.index); in insertNewSuccessor()
463 newSucc.successors.set(other.index) ; in insertNewSuccessor()
470 successorList.set(i, newSucc.index); in insertNewSuccessor()
478 successors.set(newSucc.index); in insertNewSuccessor()
481 other.predecessors.set(newSucc.index); in insertNewSuccessor()
482 other.predecessors.set(index, successors.get(other.index)); in insertNewSuccessor()
500 successors.set(newIndex); in replaceSuccessor()
[all …]
/dalvik/dexgen/src/com/android/dexgen/rop/code/
DRegisterSpecList.java39 result.set(0, spec); in make()
53 result.set(0, spec0); in make()
54 result.set(1, spec1); in make()
69 result.set(0, spec0); in make()
70 result.set(1, spec1); in make()
71 result.set(2, spec2); in make()
88 result.set(0, spec0); in make()
89 result.set(1, spec1); in make()
90 result.set(2, spec2); in make()
91 result.set(3, spec3); in make()
[all …]
/dalvik/dx/src/com/android/dx/rop/code/
DRegisterSpecList.java41 result.set(0, spec); in make()
55 result.set(0, spec0); in make()
56 result.set(1, spec1); in make()
71 result.set(0, spec0); in make()
72 result.set(1, spec1); in make()
73 result.set(2, spec2); in make()
90 result.set(0, spec0); in make()
91 result.set(1, spec1); in make()
92 result.set(2, spec2); in make()
93 result.set(3, spec3); in make()
[all …]
/dalvik/dx/src/com/android/dx/cf/code/
DLineNumberList.java49 result.set(i, list1.get(i)); in concat()
53 result.set(sz1 + i, list2.get(i)); in concat()
84 public void set(int n, Item item) { in set() method in LineNumberList
99 public void set(int n, int startPc, int lineNumber) { in set() method in LineNumberList
DByteBlockList.java72 public void set(int n, ByteBlock bb) { in set() method in ByteBlockList
73 super.set(n, bb); in set()
DBasicBlocker.java318 result.set(i, bbs[i]); in getBlockList()
336 Bits.set(workSet, 0); in doit()
337 Bits.set(blockSet, 0); in doit()
359 Bits.set(blockSet, start); in doit()
360 Bits.set(blockSet, end); in doit()
377 Bits.set(workSet, offset); in addWorkIfNecessary()
381 Bits.set(blockSet, offset); in addWorkIfNecessary()
395 Bits.set(liveSet, offset); in visitCommon()
412 Bits.set(blockSet, offset + length); in visitCommon()
DRopper.java173 retBlocks.set(retBlock); in addRetBlock()
182 callerBlocks.set(label); in addCallerBlock()
235 Bits.set(workSet, label); in mergeToSuccessors()
606 bbl.set(i, result.get(i)); in getRopMethod()
626 Bits.set(workSet, 0); in doit()
858 insns.set(i, insn); in processBlock()
892 il.set(0, extraInsn); in processBlock()
895 il.set(1, new PlainInsn(Rops.GOTO, in processBlock()
913 successors.set(primarySuccListIndex, label); in processBlock()
944 il.set(i, insns.get(i)); in processBlock()
[all …]
DSwitchList.java179 targets.set(at, target); in removeSuperfluousDefaults()
180 values.set(at, values.get(i)); in removeSuperfluousDefaults()
188 targets.set(at, defaultTarget); in removeSuperfluousDefaults()
/dalvik/dexgen/src/com/android/dexgen/rop/
DLineNumberList.java49 result.set(i, list1.get(i)); in concat()
53 result.set(sz1 + i, list2.get(i)); in concat()
84 public void set(int n, Item item) { in set() method in LineNumberList
99 public void set(int n, int startPc, int lineNumber) { in set() method in LineNumberList
/dalvik/dexgen/src/com/android/dexgen/rop/type/
DStdTypeList.java172 result.set(0, type); in make()
185 result.set(0, type0); in make()
186 result.set(1, type1); in make()
200 result.set(0, type0); in make()
201 result.set(1, type1); in make()
202 result.set(2, type2); in make()
218 result.set(0, type0); in make()
219 result.set(1, type1); in make()
220 result.set(2, type2); in make()
221 result.set(3, type3); in make()
[all …]
/dalvik/dx/src/com/android/dx/rop/type/
DStdTypeList.java172 result.set(0, type); in make()
185 result.set(0, type0); in make()
186 result.set(1, type1); in make()
200 result.set(0, type0); in make()
201 result.set(1, type1); in make()
202 result.set(2, type2); in make()
218 result.set(0, type0); in make()
219 result.set(1, type1); in make()
220 result.set(2, type2); in make()
221 result.set(3, type3); in make()
[all …]
/dalvik/dexgen/src/com/android/dexgen/util/
DLabeledList.java83 labelToIndex.set(oldLabel, -1); in removeLabel()
98 labelToIndex.set(label, index); in addLabelIndex()
137 labelToIndex.set(li.getLabel(), i); in rebuildLabelToIndex()
148 protected void set(int n, LabeledItem item) { in set() method in LabeledList
/dalvik/hit/src/com/android/hit/
DInstance.java69 HashSet<Instance> set = new HashSet<Instance>(); in getCompositeSize() local
71 visit(set, null); in getCompositeSize()
75 for (Instance instance: set) { in getCompositeSize()
/dalvik/dx/tests/100-local-mismatch/
Dexpected.txt2 local variable type mismatch: attempt to set or access a value of type int using a local variable o…
4 local variable type mismatch: attempt to set or access a value of type java.lang.Object using a loc…
6 local variable type mismatch: attempt to set or access a value of type int using a local variable o…
8 local variable type mismatch: attempt to set or access a value of type java.lang.String using a loc…
/dalvik/dx/src/com/android/dx/util/
DLabeledList.java83 labelToIndex.set(oldLabel, -1); in removeLabel()
99 labelToIndex.set(label, index); in addLabelIndex()
163 labelToIndex.set(li.getLabel(), i); in rebuildLabelToIndex()
174 protected void set(int n, LabeledItem item) { in set() method in LabeledList
/dalvik/vm/compiler/template/armv5te/
DTEMPLATE_CMPL_FLOAT.S40 ldr pc, .L__aeabi_cfcmple @ cmp <=: C clear if <, Z set if eq
41 bhi .L${opcode}_gt_or_nan @ C set and Z clear, disambiguate
/dalvik/dx/src/com/android/dx/dex/code/form/
DForm23x.java82 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()

123456789