Searched refs:index (Results 26 - 50 of 95) sorted by relevance

1234

/dalvik/vm/mterp/mips/
H A DOP_AGET_WIDE.S13 GET_VREG(a1, a3) # a1 <- vCC (requested index)
17 EAS3(a0, a0, a1) # a0 <- arrayObj + index*width
18 bgeu a1, a3, common_errArrayIndex # index >= length, bail
H A DOP_APUT.S12 GET_VREG(a1, a3) # a1 <- vCC (requested index)
17 EASN(a0, a0, a1, $shift) # a0 <- arrayObj + index*width
21 bgeu a1, a3, common_errArrayIndex # index >= length, bail
H A DOP_APUT_OBJECT.S12 GET_VREG(a1, a3) # a1 <- vCC (requested index)
18 EAS2(rOBJ, rINST, a1) # rOBJ <- arrayObj + index*width
19 # compare unsigned index, length
20 bgeu a1, a3, common_errArrayIndex # index >= length, bail
/dalvik/dx/src/com/android/dx/io/instructions/
H A DFiveRegisterDecodedInstruction.java44 int index, IndexType indexType, int target, long literal,
46 super(format, opcode, index, indexType, target, literal);
43 FiveRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b, int c, int d, int e) argument
H A DFourRegisterDecodedInstruction.java41 int index, IndexType indexType, int target, long literal,
43 super(format, opcode, index, indexType, target, literal);
40 FourRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b, int c, int d) argument
H A DThreeRegisterDecodedInstruction.java38 int index, IndexType indexType, int target, long literal,
40 super(format, opcode, index, indexType, target, literal);
37 ThreeRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b, int c) argument
H A DDecodedInstruction.java28 * numeric opcode, an optional index type, and any additional
46 /** constant index argument */
47 private final int index; field in class:DecodedInstruction
49 /** null-ok; index type */
102 int index, IndexType indexType, int target, long literal) {
113 this.index = index;
135 return index;
139 * Gets the index, as a code unit.
142 return (short) index;
101 DecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal) argument
[all...]
H A DInstructionCodec.java154 int index = in.read();
156 this, opcode, index, IndexType.VARIES,
259 int index = in.read();
262 this, opcode, index, indexType,
367 int index = in.read();
370 this, opcode, index, indexType,
389 int index = in.read();
391 this, opcode, index, IndexType.FIELD_OFFSET,
501 int index = in.readInt();
504 this, opcode, index, indexTyp
[all...]
/dalvik/dx/src/com/android/dx/ssa/
H A DSsaBasicBlock.java53 /** {@code non-null;} predecessor set (by block list index) */
56 /** {@code non-null;} successor set (by block list index) */
66 * block list index of primary successor, or {@code -1} for no primary
77 /** our index into parent.getBlock() */
78 private int index; field in class:SsaBasicBlock
116 * @param basicBlockIndex index this block will have
123 this.index = basicBlockIndex;
138 * @param basicBlockIndex index this block will have
319 * @return the block index of this block
322 return index;
[all...]
H A DNormalSsaInsn.java60 * @param index {@code >=0;} index of source to change
63 public final void changeOneSource(int index, RegisterSpec newSpec) { argument
69 newSources.set(i, i == index ? newSpec : origSources.get(i));
74 RegisterSpec origSpec = origSources.get(index);
/dalvik/vm/mterp/armv5te/
H A DOP_AGET_WIDE.S13 GET_VREG(r1, r3) @ r1<- vCC (requested index)
17 add r0, r0, r1, lsl #3 @ r0<- arrayObj + index*width
18 cmp r1, r3 @ compare unsigned index, length
20 b common_errArrayIndex @ index >= length, bail
H A DOP_APUT_WIDE.S13 GET_VREG(r1, r3) @ r1<- vCC (requested index)
17 add r0, r0, r1, lsl #3 @ r0<- arrayObj + index*width
18 cmp r1, r3 @ compare unsigned index, length
21 b common_errArrayIndex @ index >= length, bail
/dalvik/vm/compiler/codegen/x86/
H A DAnalysisO1.cpp1224 ALOGI("insert from entry %d %d: index %d", currentBB->infoBasicBlock[indexToA].regNum,
1382 if reachingDefIndex >= 0, the def is currentInfo.reachingDefs[index]
1716 bool startBeforeRange = false, endBeforeRange = false; //before the index or in the range
2067 int index; local
2069 index = searchCompileTable(LowOpndRegType_virtual | LowOpndRegType_xmm, reg);
2070 if(index >= 0 && compileTable[index].physicalReg != PhysicalReg_Null) {
2075 dumpPartToMem(compileTable[index].physicalReg, reg, false); //dump high of xmm to memory
2076 compileTable[index].physicalReg = PhysicalReg_Null;
2078 index
2135 int index; local
2342 int index = getFreeReg(newType, reg, tIndex); local
2376 int index = searchCompileTable(newType, reg); local
2428 int index = searchVirtualInfoOfBB((LowOpndRegType)(type&MASK_FOR_TYPE), reg, currentBB); local
[all...]
/dalvik/vm/mterp/x86/
H A DOP_APUT_OBJECT.S11 GET_VREG_R %ecx %ecx # ecs<- vCC (requested index)
16 jae common_errArrayIndex # index >= length, bail. Expects
18 # index in ecx
21 * ecx<- index
/dalvik/dx/tests/118-find-usages/
H A DFoo.java49 @Override public T get(int index) { argument
/dalvik/dx/src/com/android/dx/dex/file/
H A DValueEncoder.java157 int index = file.getStringIds().indexOf((CstString) cst);
158 EncodedValueCodec.writeUnsignedIntegralValue(out, type, (long) index);
162 int index = file.getTypeIds().indexOf((CstType) cst);
163 EncodedValueCodec.writeUnsignedIntegralValue(out, type, (long) index);
167 int index = file.getFieldIds().indexOf((CstFieldRef) cst);
168 EncodedValueCodec.writeUnsignedIntegralValue(out, type, (long) index);
172 int index = file.getMethodIds().indexOf((CstMethodRef) cst);
173 EncodedValueCodec.writeUnsignedIntegralValue(out, type, (long) index);
178 int index = file.getFieldIds().indexOf(fieldRef);
179 EncodedValueCodec.writeUnsignedIntegralValue(out, type, (long) index);
[all...]
/dalvik/dx/src/com/android/dx/command/grep/
H A DGrep.java68 private void encounterString(int index) { argument
69 if (stringIds.contains(index)) {
70 out.println(location() + " " + dex.strings().get(index));
/dalvik/vm/
H A DIndirectRefTable.h67 * We need a 16-bit table index and a 2-bit reference type (global, local,
152 * push a local frame, the current top index gets pushed on, and serves
154 * becomes the new top index, and the value stored in the previous frame
161 * bottom index and the count of holes below the bottom.
197 u4 topIndex:16; /* index of first unused entry */
291 * If the entry is not between the current top index and the bottom index
361 static inline IndirectRef toIndirectRef(u4 index, u4 serial, IndirectRefKind kind) { argument
362 assert(index < 65536);
363 return reinterpret_cast<IndirectRef>((serial << 20) | (index <<
[all...]
/dalvik/dexgen/src/com/android/dexgen/util/
H A DLabeledList.java27 * Sparse array indexed by label to FixedSizeList index.
79 * Removes a label from the label-to-index mapping
87 * Adds a label and index to the label-to-index mapping
89 * @param index index of block.
91 protected void addLabelIndex(int label, int index) { argument
98 labelToIndex.set(label, index);
102 * Gets the index of the first item in the list with the given
106 * @return {@code >= -1;} the index o
[all...]
/dalvik/dx/src/com/android/dx/util/
H A DLabeledList.java26 * Sparse array indexed by label to FixedSizeList index;
78 * Removes a label from the label-to-index mapping.
87 * Adds a label and index to the label-to-index mapping.
90 * @param index index of block.
92 private void addLabelIndex(int label, int index) { argument
99 labelToIndex.set(label, index);
103 * Gets the index of the first item in the list with the given
107 * @return {@code >= -1;} the index o
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DValueEncoder.java158 int index = file.getStringIds().indexOf((CstString) cst);
159 writeUnsignedIntegralValue(type, (long) index);
163 int index = file.getTypeIds().indexOf((CstType) cst);
164 writeUnsignedIntegralValue(type, (long) index);
168 int index = file.getFieldIds().indexOf((CstFieldRef) cst);
169 writeUnsignedIntegralValue(type, (long) index);
173 int index = file.getMethodIds().indexOf((CstMethodRef) cst);
174 writeUnsignedIntegralValue(type, (long) index);
179 int index = file.getFieldIds().indexOf(fieldRef);
180 writeUnsignedIntegralValue(type, (long) index);
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DOutputFinisher.java221 * @param at {@code >= 0;} what index to insert at
262 int index = size - which - 1;
266 targetInsn = (TargetInsn) insns.get(index);
279 insns.set(index, targetInsn.withNewTargetAndReversed(newTarget));
307 int index = callback.getIndex(cst);
309 if (index >= 0) {
310 insn.setIndex(index);
316 index = callback.getIndex(definer);
317 if (index >= 0) {
318 insn.setClassIndex(index);
[all...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DOutputFinisher.java230 * @param at {@code >= 0;} what index to insert at
272 int index = size - which - 1;
276 targetInsn = (TargetInsn) insns.get(index);
289 insns.set(index, targetInsn.withNewTargetAndReversed(newTarget));
317 int index = callback.getIndex(cst);
319 if (index >= 0) {
320 insn.setIndex(index);
326 index = callback.getIndex(definer);
327 if (index >= 0) {
328 insn.setClassIndex(index);
[all...]
/dalvik/vm/compiler/codegen/x86/libenc/
H A Denc_base.cpp417 assert(original.index() == decoded.index());
471 // we have index & scale (nb: having index w/o base and w/o scale
474 // the base is ESP (nb: cant have ESP as index)
478 if (base == RegName_Null && op.index() == RegName_Null) {
479 assert(op.scale() == 0); // 'scale!=0' has no meaning without index
488 sib.index = 4; // 100 - none
507 if (op.index() == RegName_Null && getHWRegIndex(op.base()) != getHWRegIndex(REG_STACK)) {
508 assert(op.scale() == 0); // 'scale!=0' has no meaning without index
[all...]
/dalvik/dexdump/
H A DDexDump.cpp704 * representation for the index in the given instruction. This will
715 u4 index; local
718 /* TODO: Make the index *always* be in field B, to simplify this code. */
728 index = pDecInsn->vB;
732 index = pDecInsn->vB;
737 index = pDecInsn->vC;
741 index = 0;
752 outSize = snprintf(buf, bufSize, "<unknown-index>");
759 outSize = snprintf(buf, bufSize, "<no-index>");
766 outSize = snprintf(buf, bufSize, "<index
[all...]

Completed in 855 milliseconds

1234