Home
last modified time | relevance | path

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

/dalvik/vm/
DPointerSet.c207 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()
/dalvik/dx/src/junit/runner/
DSorter.java20 String mid= (String)values.elementAt((left + right) / 2); in sortStrings() local
22 while (((String)(values.elementAt(left))).compareTo(mid) < 0) in sortStrings()
24 while (mid.compareTo((String)(values.elementAt(right))) < 0) in sortStrings()
/dalvik/vm/interp/
DInterp.c834 int mid = (lo + hi) >> 1; in dvmInterpHandleSparseSwitch() local
836 s4 foundVal = s4FromSwitchData(&keys[mid]); in dvmInterpHandleSparseSwitch()
838 hi = mid - 1; in dvmInterpHandleSparseSwitch()
840 lo = mid + 1; in dvmInterpHandleSparseSwitch()
843 testVal, mid, s4FromSwitchData(&entries[mid])); in dvmInterpHandleSparseSwitch()
844 return s4FromSwitchData(&entries[mid]); in dvmInterpHandleSparseSwitch()
/dalvik/vm/analysis/
DRegisterMap.c940 int hi, lo, mid; in dvmRegisterMapGetLine() local
946 mid = (hi + lo) / 2; in dvmRegisterMapGetLine()
947 data = pMap->data + lineWidth * mid; in dvmRegisterMapGetLine()
954 lo = mid + 1; in dvmRegisterMapGetLine()
956 hi = mid - 1; in dvmRegisterMapGetLine()
/dalvik/tools/dmtracedump/
DTraceDump.c1168 int hi, lo, mid; in lookupMethod() local
1187 mid = (hi + lo) / 2; in lookupMethod()
1189 id = pKeys->methods[mid].methodId; in lookupMethod()
1192 pKeys->methodCache[hashedId] = mid; in lookupMethod()
1193 return &pKeys->methods[mid]; in lookupMethod()
1195 lo = mid + 1; in lookupMethod()
1197 hi = mid - 1; in lookupMethod()