Home
last modified time | relevance | path

Searched refs:set (Results 1 – 25 of 152) 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.java965 set(SPECIAL_FORMAT);
968 set(PACKED_SWITCH_PAYLOAD);
969 set(SPARSE_SWITCH_PAYLOAD);
970 set(FILL_ARRAY_DATA_PAYLOAD);
973 set(NOP);
974 set(MOVE);
975 set(MOVE_FROM16);
976 set(MOVE_16);
977 set(MOVE_WIDE);
978 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.java970 set(SPECIAL_FORMAT);
973 set(NOP);
974 set(MOVE);
975 set(MOVE_FROM16);
976 set(MOVE_16);
977 set(MOVE_WIDE);
978 set(MOVE_WIDE_FROM16);
979 set(MOVE_WIDE_16);
980 set(MOVE_OBJECT);
981 set(MOVE_OBJECT_FROM16);
[all …]
/dalvik/dx/etc/
DmainDexClasses.bat22 set JAVA_EXE=java.exe
27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
29 echo Please set the JAVA_HOME variable in your environment to match the
34 set JAVA_HOME=%JAVA_HOME:"=%
35 set JAVA_EXE=%JAVA_HOME%/bin/java.exe
40 echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 echo Please set the JAVA_HOME variable in your environment to match the
47 set baserules="%~dp0\mainDexClasses.rules"
48 set extrarules="%~dp0\mainDexClassesNoAapt.rules"
51 set jarfile=dx.jar
[all …]
Ddx.bat22 REM and set up progdir to be the fully-qualified pathname of its directory.
23 set prog=%~f0
28 set JAVA_EXE=java.exe
33 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
35 echo Please set the JAVA_HOME variable in your environment to match the
40 set JAVA_HOME=%JAVA_HOME:"=%
41 set JAVA_EXE=%JAVA_HOME%/bin/java.exe
46 echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
48 echo Please set the JAVA_HOME variable in your environment to match the
53 set jarfile=dx.jar
[all …]
/dalvik/dx/src/com/android/dx/ssa/
DDeadCodeRemover.java110 worklist.set(source.getReg()); in run()
178 private boolean isCircularNoSideEffect(int regV, BitSet set) { in isCircularNoSideEffect() argument
179 if ((set != null) && set.get(regV)) { in isCircularNoSideEffect()
189 if (set == null) { in isCircularNoSideEffect()
190 set = new BitSet(regCount); in isCircularNoSideEffect()
194 set.set(regV); in isCircularNoSideEffect()
200 || !isCircularNoSideEffect(result.getReg(), set)) { in isCircularNoSideEffect()
249 noSideEffectRegs.set(insn.getResult().getReg()); in visitMoveInsn()
258 noSideEffectRegs.set(phi.getResult().getReg()); in visitPhiInsn()
267 noSideEffectRegs.set(result.getReg()); in visitNonMoveInsn()
DSsaBasicBlock.java238 insns.set(insns.size() - 1, newInsn); in replaceLastInsn()
414 newPred.successors.set(index) ; in insertNewPredecessor()
421 predecessors.set(newPred.index); in insertNewPredecessor()
455 newSucc.predecessors.set(this.index); in insertNewSuccessor()
456 newSucc.successors.set(other.index) ; in insertNewSuccessor()
463 successorList.set(i, newSucc.index); in insertNewSuccessor()
471 successors.set(newSucc.index); in insertNewSuccessor()
474 other.predecessors.set(newSucc.index); in insertNewSuccessor()
475 other.predecessors.set(index, successors.get(other.index)); in insertNewSuccessor()
493 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/src/com/android/dx/cf/code/
DBootstrapMethodsList.java55 public void set(int n, Item item) { in set() method in BootstrapMethodsList
71 public void set(int n, CstType declaringClass, CstMethodHandle bootstrapMethodHandle, in set() method in BootstrapMethodsList
73 set(n, new Item(declaringClass, bootstrapMethodHandle, arguments)); in set()
97 result.set(i, list1.get(i)); in concat()
101 result.set(sz1 + i, list2.get(i)); in concat()
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
DRopper.java268 retBlocks.set(retBlock); in addRetBlock()
277 callerBlocks.set(label); in addCallerBlock()
330 Bits.set(workSet, label); in mergeToSuccessors()
711 bbl.set(i, result.get(i)); in getRopMethod()
731 Bits.set(workSet, 0); in doit()
960 insns.set(i, insn); in processBlock()
994 il.set(0, extraInsn); in processBlock()
997 il.set(1, new PlainInsn(Rops.GOTO, in processBlock()
1015 successors.set(primarySuccListIndex, label); in processBlock()
1046 il.set(i, insns.get(i)); in processBlock()
[all …]
DBasicBlocker.java329 result.set(i, bbs[i]); in getBlockList()
347 Bits.set(workSet, 0); in doit()
348 Bits.set(blockSet, 0); in doit()
370 Bits.set(blockSet, start); in doit()
371 Bits.set(blockSet, end); in doit()
388 Bits.set(workSet, offset); in addWorkIfNecessary()
392 Bits.set(blockSet, offset); in addWorkIfNecessary()
406 Bits.set(liveSet, offset); in visitCommon()
423 Bits.set(blockSet, offset + length); in visitCommon()
/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/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/cst/
DCstCallSite.java44 list.set(0, bootstrapHandle); in make()
45 list.set(1, nat.getName()); in make()
46 list.set(2, new CstProtoRef(Prototype.fromDescriptor(nat.getDescriptor().getString()))); in make()
49 list.set(i + 3, optionalArguments.get(i)); in make()
/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/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/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