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.java645 int[] keys = new int[size];
649 keys[i] = in.readInt();
657 this, opcodeUnit, keys, targets);
663 int[] keys = payload.getKeys();
670 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.cpp1182 const s4* keys = NULL; local
1195 const s4* keys = (const s4*) switchData; local
1196 assert(((u4)keys & 0x3) == 0);
1202 //dvmNcgHandleSparseSwitch: keys, size, testVal
1206 /* "keys" is constant for JIT
1208 move_imm_to_mem(OpndSize_32, (int)keys, 0, PhysicalReg_ESP, true);
1212 //if testVal is in keys, return the corresponding target
/dalvik/vm/interp/
H A DInterp.cpp1056 const s4* keys; local
1063 * int keys[size] keys, sorted low-to-high; 32-bit aligned
1078 /* The keys are guaranteed to be aligned on a 32-bit boundary;
1081 keys = (const s4*) switchData;
1082 assert(((u4)keys & 0x3) == 0);
1087 entries = keys + size;
1091 * Binary-search through the array of keys, which are guaranteed to
1099 s4 foundVal = s4FromSwitchData(&keys[mid]);
/dalvik/vm/compiler/codegen/mips/
H A DCodegenDriver.cpp2921 const int *keys; local
2930 * int keys[size] keys, sorted low-to-high; 32-bit aligned
2939 /* The keys are guaranteed to be aligned on a 32-bit boundary;
2942 keys = (const int*) &switchData[2];
2943 assert(((u4)keys & 0x3) == 0);
2948 entries = keys + size;
2952 * Run through the list of keys, which are guaranteed to
2960 int k = keys[i];
2967 int k = (unsigned int)keys[
[all...]
/dalvik/vm/compiler/codegen/arm/
H A DCodegenDriver.cpp2847 const int *keys; local
2856 * int keys[size] keys, sorted low-to-high; 32-bit aligned
2865 /* The keys are guaranteed to be aligned on a 32-bit boundary;
2868 keys = (const int*) &switchData[2];
2869 assert(((u4)keys & 0x3) == 0);
2874 entries = keys + size;
2878 * Run through the list of keys, which are guaranteed to
2885 int k = keys[i];

Completed in 2255 milliseconds