Home
last modified time | relevance | path

Searched refs:mid (Results 1 – 5 of 5) sorted by relevance

/dalvik/vm/
DPointerSet.cpp207 int hi, lo, mid; in dvmPointerSetHas() local
209 lo = mid = 0; in dvmPointerSetHas()
214 mid = (lo + hi) / 2; in dvmPointerSetHas()
215 const void* listVal = pSet->list[mid]; in dvmPointerSetHas()
218 lo = mid + 1; in dvmPointerSetHas()
220 hi = mid - 1; in dvmPointerSetHas()
223 *pIndex = mid; in dvmPointerSetHas()
229 *pIndex = mid; in dvmPointerSetHas()
DCheckJni.cpp609 jmethodID mid = va_arg(ap, jmethodID); in check() local
610 std::string name(dvmHumanReadableMethod((Method*) mid, true)); in check()
613 StringAppendF(&msg, " (%p)", mid); in check()
/dalvik/vm/interp/
DInterp.cpp1095 int mid = (lo + hi) >> 1; in dvmInterpHandleSparseSwitch() local
1097 s4 foundVal = s4FromSwitchData(&keys[mid]); in dvmInterpHandleSparseSwitch()
1099 hi = mid - 1; in dvmInterpHandleSparseSwitch()
1101 lo = mid + 1; in dvmInterpHandleSparseSwitch()
1104 testVal, mid, s4FromSwitchData(&entries[mid])); in dvmInterpHandleSparseSwitch()
1105 return s4FromSwitchData(&entries[mid]); in dvmInterpHandleSparseSwitch()
/dalvik/vm/analysis/
DRegisterMap.cpp942 int hi, lo, mid; in dvmRegisterMapGetLine() local
948 mid = (hi + lo) / 2; in dvmRegisterMapGetLine()
949 data = pMap->data + lineWidth * mid; in dvmRegisterMapGetLine()
956 lo = mid + 1; in dvmRegisterMapGetLine()
958 hi = mid - 1; in dvmRegisterMapGetLine()
/dalvik/tools/dmtracedump/
DTraceDump.c1104 int hi, lo, mid; in lookupMethod() local
1111 mid = (hi + lo) / 2; in lookupMethod()
1113 id = pKeys->methods[mid].methodId; in lookupMethod()
1115 return &pKeys->methods[mid]; in lookupMethod()
1117 lo = mid + 1; in lookupMethod()
1119 hi = mid - 1; in lookupMethod()