Lines Matching refs:size
26 * Returns 3 if we don't find a match (it's the size of the packed-switch
29 s4 dvmNcgHandlePackedSwitch(const s4* entries, s4 firstKey, u2 size, s4 testVal)
33 if (testVal < firstKey || testVal >= firstKey + size) {
35 testVal, firstKey, firstKey+size-1);
39 assert(testVal - firstKey >= 0 && testVal - firstKey < size);
47 s4 dvmJitHandlePackedSwitch(const s4* entries, s4 firstKey, u2 size, s4 testVal)
49 if (testVal < firstKey || testVal >= firstKey + size) {
51 testVal, firstKey, firstKey+size-1);
64 * Returns 3 if we don't find a match (it's the size of the sparse-switch
67 s4 dvmNcgHandleSparseSwitch(const s4* keys, u2 size, s4 testVal)
70 const s4* entries = keys + size;
72 for (i = 0; i < size; i++) {
87 s4 dvmJitHandleSparseSwitch(const s4* keys, u2 size, s4 testVal)
89 const s4* entries = keys + size;
91 for (i = 0; i < size; i++) {