Searched defs:index (Results 1 - 25 of 51) sorted by relevance

123

/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DIndexedItem.java20 * An item in a Dalvik file which is referenced by index.
23 /** {@code >= -1;} assigned index of the item, or {@code -1} if not
25 private int index; field in class:IndexedItem
28 * Constructs an instance. The index is initially unassigned.
31 index = -1;
35 * Gets whether or not this instance has been assigned an index.
37 * @return {@code true} iff this instance has been assigned an index
40 return (index >= 0);
44 * Gets the item index.
46 * @return {@code >= 0;} the index
64 setIndex(int index) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DIndexedItem.java20 * An item in a Dalvik file which is referenced by index.
23 /** {@code >= -1;} assigned index of the item, or {@code -1} if not
25 private int index; field in class:IndexedItem
28 * Constructs an instance. The index is initially unassigned.
31 index = -1;
35 * Gets whether or not this instance has been assigned an index.
37 * @return {@code true} iff this instance has been assigned an index
40 return (index >= 0);
44 * Gets the item index.
46 * @return {@code >= 0;} the index
64 setIndex(int index) argument
[all...]
/dalvik/dx/src/com/android/dx/io/instructions/
H A DZeroRegisterDecodedInstruction.java29 int index, IndexType indexType, int target, long literal) {
30 super(format, opcode, index, indexType, target, literal);
28 ZeroRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal) argument
H A DOneRegisterDecodedInstruction.java32 int index, IndexType indexType, int target, long literal,
34 super(format, opcode, index, indexType, target, literal);
31 OneRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a) argument
H A DRegisterRangeDecodedInstruction.java36 int index, IndexType indexType, int target, long literal,
38 super(format, opcode, index, indexType, target, literal);
35 RegisterRangeDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int registerCount) argument
H A DTwoRegisterDecodedInstruction.java35 int index, IndexType indexType, int target, long literal,
37 super(format, opcode, index, indexType, target, literal);
34 TwoRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b) argument
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...]
/dalvik/dx/tests/118-find-usages/
H A DFoo.java49 @Override public T get(int index) { argument
/dalvik/vm/alloc/
H A DHeapBitmapInlines.h31 const size_t index = HB_OFFSET_TO_INDEX(offset); local
36 assert(index < hb->bitsLen / sizeof(*hb->bits));
42 unsigned long *p = hb->bits + index;
47 hb->bits[index] |= mask;
50 hb->bits[index] &= ~mask;
H A DHeapBitmap.cpp87 const size_t index = HB_OFFSET_TO_INDEX(offset); local
88 return index < hb->bitsLen / sizeof(*hb->bits);
/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/dexgen/src/com/android/dexgen/dex/code/
H A DCstInsn.java32 * {@code >= -1;} the constant pool index for {@link #constant}, or
35 private int index; field in class:CstInsn
38 * {@code >= -1;} the constant pool index for the class reference in
45 * initially unknown ({@code -1}) as is the constant pool index.
63 this.index = -1;
73 if (index >= 0) {
74 result.setIndex(index);
90 if (index >= 0) {
91 result.setIndex(index);
111 * Gets the constant's index
141 setIndex(int index) argument
188 setClassIndex(int index) argument
[all...]
/dalvik/dx/src/com/android/dx/command/grep/
H A DGrep.java57 @Override protected void visitString(int type, int index) {
58 encounterString(index);
63 private void encounterString(int index) { argument
64 if (stringIds.contains(index)) {
65 out.println(location() + " " + dex.strings().get(index));
/dalvik/dx/src/com/android/dx/dex/code/
H A DCstInsn.java32 * {@code >= -1;} the constant pool index for {@link #constant}, or
35 private int index; field in class:CstInsn
38 * {@code >= -1;} the constant pool index for the class reference in
45 * initially unknown ({@code -1}) as is the constant pool index.
63 this.index = -1;
73 if (index >= 0) {
74 result.setIndex(index);
90 if (index >= 0) {
91 result.setIndex(index);
111 * Gets the constant's index
141 setIndex(int index) argument
188 setClassIndex(int index) argument
[all...]
/dalvik/dx/src/com/android/dx/ssa/
H A DLocalVariableInfo.java75 * the given index.
77 * @param index {@code >= 0;} the block index
80 public void setStarts(int index, RegisterSpecSet specs) { argument
88 blockStarts[index] = specs;
91 throw new IllegalArgumentException("bogus index");
97 * given index. If there was not already an associated set, then this
102 * @param index {@code >= 0;} the block index
109 public boolean mergeStarts(int index, RegisterSpecSe argument
139 getStarts(int index) argument
166 mutableCopyOfStarts(int index) argument
243 getStarts0(int index) argument
[all...]
H A DNormalSsaInsn.java55 * @param index {@code >=0;} index of source to change
58 public final void changeOneSource(int index, RegisterSpec newSpec) { argument
64 newSources.set(i, i == index ? newSpec : origSources.get(i));
69 RegisterSpec origSpec = origSources.get(index);
H A DEscapeAnalysis.java119 * Finds the index in the lattice for a particular register.
123 * @return index of the register or size of the lattice if it wasn't found.
410 // For array puts, check for a constant array index
448 // For array gets, check for a constant array index
526 * A mapping between this register and the corresponding array index is
566 int index;
579 index = indexReg.getIntBits();
580 if (index < length) {
581 source = newRegs.get(index);
586 // Throw an exception if the index i
735 insertExceptionThrow(SsaInsn insn, RegisterSpec index, HashSet<SsaInsn> deletedInsns) argument
[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/dx/src/com/android/dx/cf/code/
H A DLocalVariableList.java69 * any element whose {name, index, start, length} matches an
117 * Sets the item at the given index.
131 * Sets the item at the given index.
143 * @param index {@code >= 0;} the variable's local index
146 CstString descriptor, CstString signature, int index) {
147 set0(n, new Item(startPc, length, name, descriptor, signature, index));
176 * and local index, if any. <b>Note:</b> In standard classfiles, a
181 * @param index {@code >= 0;} the local variable index
145 set(int n, int startPc, int length, CstString name, CstString descriptor, CstString signature, int index) argument
185 pcAndIndexToLocal(int pc, int index) argument
219 private final int index; field in class:LocalVariableList.Item
235 Item(int startPc, int length, CstString name, CstString descriptor, CstString signature, int index) argument
352 matchesPcAndIndex(int pc, int index) argument
[all...]
/dalvik/libdex/
H A DDexClass.h37 u4 fieldIdx; /* index to a field_id_item */
43 u4 methodIdx; /* index to a method_id_item */
138 u4 index = *lastIndex + readUnsignedLeb128(pData); local
141 pField->fieldIdx = index;
142 *lastIndex = index;
154 u4 index = *lastIndex + readUnsignedLeb128(pData); local
158 pMethod->methodIdx = index;
159 *lastIndex = index;
/dalvik/vm/
H A DIndirectRefTable.cpp158 u4 index = extractIndex(iref); local
159 if (index >= topIndex) {
161 ALOGE("JNI ERROR (app bug): accessed stale %s reference %p (index %d in a table of size %d)",
162 indirectRefKindToString(kind_), iref, index, topIndex);
167 Object* obj = table_[index].obj;
176 if (serial != table_[index].serial) {
204 * If the entry is not between the current top index and the bottom index
225 u4 index; local
227 index
[all...]
/dalvik/dx/src/com/android/dx/io/
H A DEncodedValueReader.java128 protected void visitString(int type, int index) {} argument
129 protected void visitType(int type, int index) {} argument
130 protected void visitField(int type, int index) {} argument
131 protected void visitMethod(int type, int index) {} argument

Completed in 3219 milliseconds

123