Searched defs:idx (Results 1 - 25 of 63) sorted by relevance

123

/dalvik/vm/
H A DPointerSet.h76 int idx; local
77 if (!dvmPointerSetHas(pSet, ptr, &idx))
78 idx = -1;
79 return idx;
H A DBitVector.h38 u4 idx; member in struct:BitVectorIterator
H A DHash.h185 int idx; member in struct:HashIter
188 int i = pIter->idx +1;
195 pIter->idx = i;
199 pIter->idx = -1;
203 return (pIter->idx >= pIter->pHashTable->tableSize);
206 assert(pIter->idx >= 0 && pIter->idx < pIter->pHashTable->tableSize);
207 return pIter->pHashTable->pEntries[pIter->idx].data;
H A DReferenceTable.cpp268 for (int idx = count - 1; idx >= first; --idx) {
269 const Object* ref = refs[idx];
274 ALOGW(" %5d: cleared jweak", idx);
280 ALOGW(" %5d: %p (raw) (%zd bytes)", idx, ref, size);
307 ALOGW(" %5d: %p %s%s", idx, ref, className.c_str(), extras.c_str());
335 size_t idx; local
337 for (idx = 1; idx < coun
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
H A DStdConstantPool.java131 * @param idx the bad cpi
135 private static Constant throwInvalid(int idx) { argument
137 Hex.u2(idx));
/dalvik/dx/src/com/android/dx/rop/cst/
H A DStdConstantPool.java131 * @param idx the bad cpi
135 private static Constant throwInvalid(int idx) { argument
137 Hex.u2(idx));
/dalvik/vm/compiler/
H A DCompilerUtility.h47 size_t idx; member in struct:GrowableListIterator
64 intptr_t dvmGrowableListGetElement(const GrowableList *gList, size_t idx);
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DClassDefsSection.java133 int idx = 0;
144 idx = orderItems0(type, idx, sz - idx);
153 * @param idx {@code >= 0;} the next index to assign
158 private int orderItems0(Type type, int idx, int maxDepth) { argument
162 return idx;
174 idx = orderItems0(superclass, idx, maxDepth);
180 idx
[all...]
/dalvik/dexgen/src/com/android/dexgen/util/
H A DBits.java55 * @param idx {@code >= 0, < getMax(set);} which bit
58 public static boolean get(int[] bits, int idx) { argument
59 int arrayIdx = idx >> 5;
60 int bit = 1 << (idx & 0x1f);
68 * @param idx {@code >= 0, < getMax(set);} which bit
71 public static void set(int[] bits, int idx, boolean value) { argument
72 int arrayIdx = idx >> 5;
73 int bit = 1 << (idx & 0x1f);
86 * @param idx {@code >= 0, < getMax(set);} which bit
88 public static void set(int[] bits, int idx) { argument
100 clear(int[] bits, int idx) argument
166 findFirst(int[] bits, int idx) argument
193 findFirst(int value, int idx) argument
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DLocalsArray.java83 * @param idx {@code >= 0, < getMaxLocals();} which local
84 * @param type {@code non-null;} new type for the local at {@code idx}
86 public abstract void set(int idx, TypeBearer type); argument
101 * @param idx {@code >= 0, < getMaxLocals();} which local
103 public abstract void invalidate(int idx); argument
109 * @param idx {@code >= 0, < getMaxLocals();} which local
112 public abstract TypeBearer getOrNull(int idx); argument
119 * @param idx {@code >= 0, < getMaxLocals();} which local
121 * @throws SimException thrown if {@code idx} is valid, but
124 public abstract TypeBearer get(int idx); argument
137 getCategory1(int idx) argument
149 getCategory2(int idx) argument
[all...]
H A DLocalsArraySet.java196 public void set(int idx, TypeBearer type) { argument
199 primary.set(idx, type);
203 la.set(idx, type);
216 public void invalidate(int idx) { argument
219 primary.invalidate(idx);
223 la.invalidate(idx);
230 public TypeBearer getOrNull(int idx) { argument
231 return primary.getOrNull(idx);
236 public TypeBearer get(int idx) { argument
237 return primary.get(idx);
242 getCategory1(int idx) argument
248 getCategory2(int idx) argument
[all...]
H A DMachine.java111 * @param idx {@code >= 0;} the local variable index
113 public void localArg(Frame frame, int idx); argument
200 * @param idx {@code >= 0;} the local variable index
204 public void localTarget(int idx, Type type, LocalItem local); argument
H A DOneLocalsArray.java106 public void set(int idx, TypeBearer type) { argument
116 if (idx < 0) {
117 throw new IndexOutOfBoundsException("idx < 0");
122 locals[idx + 1] = null;
125 locals[idx] = type;
127 if (idx != 0) {
128 TypeBearer prev = locals[idx - 1];
130 locals[idx - 1] = null;
141 public void invalidate(int idx) { argument
143 locals[idx]
147 getOrNull(int idx) argument
152 get(int idx) argument
163 getCategory1(int idx) argument
179 getCategory2(int idx) argument
243 throwSimException(int idx, String msg) argument
[all...]
H A DBaseMachine.java209 public final void localArg(Frame frame, int idx) { argument
211 args[0] = frame.getLocals().get(idx);
213 localIndex = idx;
260 public final void localTarget(int idx, Type type, LocalItem local) { argument
261 localTarget = RegisterSpec.makeLocalOptional(idx, type, local);
H A DBasicBlocker.java99 * The "+1" below is so the idx-past-end is also valid,
188 int idx, Type type, int value) {
187 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument
H A DBytecodeArray.java319 int idx = bytes.getUnsignedByte(offset + 1);
320 Constant cst = pool.get(idx);
327 int idx = bytes.getUnsignedShort(offset + 1);
328 Constant cst = pool.get(idx);
335 int idx = bytes.getUnsignedShort(offset + 1);
336 Constant cst = pool.get(idx);
341 int idx = bytes.getUnsignedByte(offset + 1);
342 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx,
347 int idx = bytes.getUnsignedByte(offset + 1);
348 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx,
1197 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument
1302 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument
1374 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument
[all...]
H A DSimulator.java549 int idx, Type type, int value) {
567 localVariables.pcAndIndexToLocal(localOffset, idx);
584 machine.localArg(frame, idx);
594 machine.localTarget(idx, localType, item);
600 machine.localArg(frame, idx);
601 machine.localTarget(idx, localType, item);
548 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument
/dalvik/dx/src/com/android/dx/cf/cst/
H A DConstantPoolParser.java234 * @param idx which constant
237 private Constant parse0(int idx, BitSet wasUtf8) { argument
238 Constant cst = pool.getOrNull(idx);
243 int at = offsets[idx];
250 wasUtf8.set(idx);
318 ex.addContext("...while parsing cst " + Hex.u2(idx) +
323 pe.addContext("...while parsing cst " + Hex.u2(idx) +
328 pool.set(idx, cst);
/dalvik/dx/src/com/android/dx/dex/file/
H A DClassDefsSection.java133 int idx = 0;
144 idx = orderItems0(type, idx, sz - idx);
153 * @param idx {@code >= 0;} the next index to assign
158 private int orderItems0(Type type, int idx, int maxDepth) { argument
162 return idx;
174 idx = orderItems0(superclass, idx, maxDepth);
180 idx
[all...]
/dalvik/dx/src/com/android/dx/util/
H A DBits.java55 * @param idx {@code >= 0, < getMax(set);} which bit
58 public static boolean get(int[] bits, int idx) { argument
59 int arrayIdx = idx >> 5;
60 int bit = 1 << (idx & 0x1f);
68 * @param idx {@code >= 0, < getMax(set);} which bit
71 public static void set(int[] bits, int idx, boolean value) { argument
72 int arrayIdx = idx >> 5;
73 int bit = 1 << (idx & 0x1f);
86 * @param idx {@code >= 0, < getMax(set);} which bit
88 public static void set(int[] bits, int idx) { argument
100 clear(int[] bits, int idx) argument
166 findFirst(int[] bits, int idx) argument
193 findFirst(int value, int idx) argument
[all...]
/dalvik/vm/native/
H A Djava_lang_VMClassLoader.cpp136 int idx = args[1]; local
143 result = dvmGetBootPathResource(name, idx);
/dalvik/dx/src/com/android/dx/cf/direct/
H A DCodeObserver.java79 int idx, Type type, int value) {
80 String idxStr = (length <= 3) ? Hex.u1(idx) : Hex.u2(idx);
78 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument
/dalvik/vm/compiler/codegen/x86/libenc/
H A Denc_base.cpp164 unsigned idx = *pargsCount; local
165 assert(opnds[idx].is_mem() || opnds[idx].is_reg());
166 if (opnds[idx].is_mem()) {
167 stream = encodeModRM(stream, opnds, idx, odesc, prex);
171 modrm.rm = getHWRegIndex(opnds[idx].reg());
173 if (opnds[idx].need_rex() && needs_rex_r(opnds[idx].reg())) {
190 unsigned idx = *pargsCount; local
192 *stream = (char)lowByte + getHWRegIndex(opnds[idx]
209 unsigned idx = *pargsCount; local
459 encodeModRM(char* stream, const Operands& opnds, unsigned idx, const OpcodeDesc * odesc, Rex * prex) argument
[all...]
/dalvik/dexlist/
H A DDexList.cpp155 void dumpClass(DexFile* pDexFile, int idx) argument
163 pClassDef = dexGetClassDef(pDexFile, idx);
/dalvik/vm/analysis/
H A DLiveness.cpp48 for (u4 idx = 0; idx < vdata->insnsSize; ) {
49 widths[idx] = insnWidth;
50 insnWidth = dvmInsnGetWidth(vdata->insnFlags, idx);
51 idx += insnWidth;
121 for (u4 idx = 0; idx < vdata->insnsSize; idx++) {
122 VfyBasicBlock* block = vdata->basicBlocks[idx];
423 unsigned int idx; local
438 unsigned int idx; local
755 unsigned int idx; local
807 unsigned int idx; local
[all...]

Completed in 366 milliseconds

123