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.java82 * @param idx {@code >= 0, < getMaxLocals();} which local
83 * @param type {@code non-null;} new type for the local at {@code idx}
85 public abstract void set(int idx, TypeBearer type); argument
100 * @param idx {@code >= 0, < getMaxLocals();} which local
102 public abstract void invalidate(int idx); argument
108 * @param idx {@code >= 0, < getMaxLocals();} which local
111 public abstract TypeBearer getOrNull(int idx); argument
118 * @param idx {@code >= 0, < getMaxLocals();} which local
120 * @throws SimException thrown if {@code idx} is valid, but
123 public abstract TypeBearer get(int idx); argument
136 getCategory1(int idx) argument
148 getCategory2(int idx) argument
[all...]
H A DLocalsArraySet.java194 public void set(int idx, TypeBearer type) { argument
197 primary.set(idx, type);
201 la.set(idx, type);
214 public void invalidate(int idx) { argument
217 primary.invalidate(idx);
221 la.invalidate(idx);
228 public TypeBearer getOrNull(int idx) { argument
229 return primary.getOrNull(idx);
234 public TypeBearer get(int idx) { argument
235 return primary.get(idx);
240 getCategory1(int idx) argument
246 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.java105 public void set(int idx, TypeBearer type) { argument
115 if (idx < 0) {
116 throw new IndexOutOfBoundsException("idx < 0");
121 locals[idx + 1] = null;
124 locals[idx] = type;
126 if (idx != 0) {
127 TypeBearer prev = locals[idx - 1];
129 locals[idx - 1] = null;
140 public void invalidate(int idx) { argument
142 locals[idx]
146 getOrNull(int idx) argument
151 get(int idx) argument
162 getCategory1(int idx) argument
178 getCategory2(int idx) argument
242 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.java320 int idx = bytes.getUnsignedByte(offset + 1);
321 Constant cst = pool.get(idx);
328 int idx = bytes.getUnsignedShort(offset + 1);
329 Constant cst = pool.get(idx);
336 int idx = bytes.getUnsignedShort(offset + 1);
337 Constant cst = pool.get(idx);
342 int idx = bytes.getUnsignedByte(offset + 1);
343 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx,
348 int idx = bytes.getUnsignedByte(offset + 1);
349 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx,
1201 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument
1306 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument
1378 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument
[all...]
H A DSimulator.java548 int idx, Type type, int value) {
566 localVariables.pcAndIndexToLocal(localOffset, idx);
583 machine.localArg(frame, idx);
593 machine.localTarget(idx, localType, item);
599 machine.localArg(frame, idx);
600 machine.localTarget(idx, localType, item);
547 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.java247 * @param idx which constant
250 private Constant parse0(int idx, BitSet wasUtf8) { argument
251 Constant cst = pool.getOrNull(idx);
256 int at = offsets[idx];
263 wasUtf8.set(idx);
343 ex.addContext("...while parsing cst " + Hex.u2(idx) +
348 pe.addContext("...while parsing cst " + Hex.u2(idx) +
353 pool.set(idx, cst);
/dalvik/dx/src/com/android/dx/dex/file/
H A DClassDefsSection.java132 int idx = 0;
143 idx = orderItems0(type, idx, sz - idx);
152 * @param idx {@code >= 0;} the next index to assign
157 private int orderItems0(Type type, int idx, int maxDepth) { argument
161 return idx;
173 idx = orderItems0(superclass, idx, maxDepth);
179 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.java76 int idx, Type type, int value) {
77 String idxStr = (length <= 3) ? Hex.u1(idx) : Hex.u2(idx);
75 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];
424 unsigned int idx; local
439 unsigned int idx; local
756 unsigned int idx; local
808 unsigned int idx; local
[all...]

Completed in 394 milliseconds

123