Searched refs:keys (Results 1 - 7 of 7) sorted by relevance

/dalvik/dx/src/com/android/dx/io/instructions/
H A DSparseSwitchPayloadDecodedInstruction.java26 private final int[] keys; field in class:SparseSwitchPayloadDecodedInstruction
38 int opcode, int[] keys, int[] targets) {
41 if (keys.length != targets.length) {
42 throw new IllegalArgumentException("keys/targets length mismatch");
45 this.keys = keys;
55 return keys;
37 SparseSwitchPayloadDecodedInstruction(InstructionCodec format, int opcode, int[] keys, int[] targets) argument
H A DInstructionCodec.java644 int[] keys = new int[size];
648 keys[i] = in.readInt();
656 this, opcodeUnit, keys, targets);
662 int[] keys = payload.getKeys();
669 for (int key : keys) {
/dalvik/vm/compiler/codegen/x86/
H A DNcgHelper.cpp67 s4 dvmNcgHandleSparseSwitch(const s4* keys, u2 size, s4 testVal) argument
70 const s4* entries = keys + size;
73 s4 k = s4FromSwitchData(&keys[i]);
87 s4 dvmJitHandleSparseSwitch(const s4* keys, u2 size, s4 testVal) argument
89 const s4* entries = keys + size;
92 s4 k = s4FromSwitchData(&keys[i]);
H A DLowerJump.cpp1189 const s4* keys = NULL; local
1202 const s4* keys = (const s4*) switchData; local
1203 assert(((u4)keys & 0x3) == 0);
1209 //dvmNcgHandleSparseSwitch: keys, size, testVal
1213 /* "keys" is constant for JIT
1215 move_imm_to_mem(OpndSize_32, (int)keys, 0, PhysicalReg_ESP, true);
1219 //if testVal is in keys, return the corresponding target
/dalvik/vm/interp/
H A DInterp.cpp1054 const s4* keys; local
1061 * int keys[size] keys, sorted low-to-high; 32-bit aligned
1076 /* The keys are guaranteed to be aligned on a 32-bit boundary;
1079 keys = (const s4*) switchData;
1080 assert(((u4)keys & 0x3) == 0);
1085 entries = keys + size;
1089 * Binary-search through the array of keys, which are guaranteed to
1097 s4 foundVal = s4FromSwitchData(&keys[mid]);
/dalvik/vm/compiler/codegen/mips/
H A DCodegenDriver.cpp2929 const int *keys; local
2938 * int keys[size] keys, sorted low-to-high; 32-bit aligned
2947 /* The keys are guaranteed to be aligned on a 32-bit boundary;
2950 keys = (const int*) &switchData[2];
2951 assert(((u4)keys & 0x3) == 0);
2956 entries = keys + size;
2960 * Run through the list of keys, which are guaranteed to
2968 int k = keys[i];
2975 int k = (unsigned int)keys[
[all...]
/dalvik/vm/compiler/codegen/arm/
H A DCodegenDriver.cpp2842 const int *keys; local
2851 * int keys[size] keys, sorted low-to-high; 32-bit aligned
2860 /* The keys are guaranteed to be aligned on a 32-bit boundary;
2863 keys = (const int*) &switchData[2];
2864 assert(((u4)keys & 0x3) == 0);
2869 entries = keys + size;
2873 * Run through the list of keys, which are guaranteed to
2880 int k = keys[i];

Completed in 137 milliseconds