Home
last modified time | relevance | path

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

1234567

/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.java957 set(SPECIAL_FORMAT);
960 set(PACKED_SWITCH_PAYLOAD);
961 set(SPARSE_SWITCH_PAYLOAD);
962 set(FILL_ARRAY_DATA_PAYLOAD);
965 set(NOP);
966 set(MOVE);
967 set(MOVE_FROM16);
968 set(MOVE_16);
969 set(MOVE_WIDE);
970 set(MOVE_WIDE_FROM16);
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DDops.java951 set(SPECIAL_FORMAT);
954 set(NOP);
955 set(MOVE);
956 set(MOVE_FROM16);
957 set(MOVE_16);
958 set(MOVE_WIDE);
959 set(MOVE_WIDE_FROM16);
960 set(MOVE_WIDE_16);
961 set(MOVE_OBJECT);
962 set(MOVE_OBJECT_FROM16);
[all …]
/dalvik/dx/src/com/android/dx/dex/code/
DDops.java962 set(SPECIAL_FORMAT);
965 set(NOP);
966 set(MOVE);
967 set(MOVE_FROM16);
968 set(MOVE_16);
969 set(MOVE_WIDE);
970 set(MOVE_WIDE_FROM16);
971 set(MOVE_WIDE_16);
972 set(MOVE_OBJECT);
973 set(MOVE_OBJECT_FROM16);
[all …]
/dalvik/dx/etc/
DmainDexClasses.bat20 set java_exe=
25 set baserules="%~dp0\mainDexClasses.rules"
26 set extrarules="%~dp0\mainDexClassesNoAapt.rules"
29 set jarfile=dx.jar
30 set "frameworkdir=%~dp0"
32 set "frameworkdir=%frameworkdir:~0,-1%"
34 set "frameworkdir=%~dp0lib"
37 set "frameworkdir=%~dp0..\framework"
40 set "jarpath=%frameworkdir%\%jarfile%"
42 set "shrinkedAndroidJar=%SHRINKED_ANDROID_JAR%
[all …]
Ddx.bat22 REM and set up progdir to be the fully-qualified pathname of its directory.
23 set prog=%~f0
26 set java_exe=
31 set jarfile=dx.jar
32 set "frameworkdir=%~dp0"
34 set "frameworkdir=%frameworkdir:~0,-1%"
37 set "frameworkdir=%~dp0lib"
40 set "frameworkdir=%~dp0..\framework"
44 set "jarpath=%frameworkdir%\%jarfile%"
46 set javaOpts=
[all …]
/dalvik/dx/src/com/android/dx/ssa/
DDeadCodeRemover.java110 worklist.set(source.getReg()); in run()
175 private boolean isCircularNoSideEffect(int regV, BitSet set) { in isCircularNoSideEffect() argument
176 if ((set != null) && set.get(regV)) { in isCircularNoSideEffect()
186 if (set == null) { in isCircularNoSideEffect()
187 set = new BitSet(regCount); in isCircularNoSideEffect()
191 set.set(regV); in isCircularNoSideEffect()
197 || !isCircularNoSideEffect(result.getReg(), set)) { in isCircularNoSideEffect()
245 noSideEffectRegs.set(insn.getResult().getReg()); in visitMoveInsn()
253 noSideEffectRegs.set(phi.getResult().getReg()); in visitPhiInsn()
261 noSideEffectRegs.set(result.getReg()); in visitNonMoveInsn()
DSsaBasicBlock.java244 insns.set(insns.size() - 1, newInsn); in replaceLastInsn()
420 newPred.successors.set(index) ; in insertNewPredecessor()
427 predecessors.set(newPred.index); in insertNewPredecessor()
461 newSucc.predecessors.set(this.index); in insertNewSuccessor()
462 newSucc.successors.set(other.index) ; in insertNewSuccessor()
469 successorList.set(i, newSucc.index); in insertNewSuccessor()
477 successors.set(newSucc.index); in insertNewSuccessor()
480 other.predecessors.set(newSucc.index); in insertNewSuccessor()
481 other.predecessors.set(index, successors.get(other.index)); in insertNewSuccessor()
499 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/dex/code/form/
DForm12x.java120 bits.set(0, unsignedFitsInNibble(r0)); in compatibleRegs()
121 bits.set(1, unsignedFitsInNibble(r1)); in compatibleRegs()
126 bits.set(0, false); in compatibleRegs()
127 bits.set(1, false); in compatibleRegs()
130 bits.set(0, dstRegComp); in compatibleRegs()
131 bits.set(1, dstRegComp); in compatibleRegs()
134 bits.set(2, unsignedFitsInNibble(regs.get(2).getReg())); in compatibleRegs()
/dalvik/dx/src/com/android/dx/rop/code/
DRegisterSpecList.java40 result.set(0, spec); in make()
54 result.set(0, spec0); in make()
55 result.set(1, spec1); in make()
70 result.set(0, spec0); in make()
71 result.set(1, spec1); in make()
72 result.set(2, spec2); in make()
89 result.set(0, spec0); in make()
90 result.set(1, spec1); in make()
91 result.set(2, spec2); in make()
92 result.set(3, spec3); in make()
[all …]
/dalvik/dx/tests/125-main-dex-list/
Dexpected.txt1 warning: [options] bootstrap class path not set in conjunction with -source 1.6
3 warning: [options] bootstrap class path not set in conjunction with -source 1.6
/dalvik/dx/tests/131-perf/
Dexpected.txt1 warning: [options] bootstrap class path not set in conjunction with -source 1.6
4 warning: [options] bootstrap class path not set in conjunction with -source 1.6
/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/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.java71 public void set(int n, ByteBlock bb) { in set() method in ByteBlockList
72 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()
/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/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/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/dx/src/com/android/dx/command/annotool/
DMain.java114 EnumSet<ElementType> set = eTypes.clone(); in parse() local
116 set.remove(ElementType.TYPE); in parse()
117 set.remove(ElementType.PACKAGE); in parse()
118 if (!set.isEmpty()) { in parse()

1234567