Home | History | Annotate | Download | only in vm

Lines Matching refs:nearby

119     int nearby;
121 if (dvmPointerSetHas(pSet, ptr, &nearby))
144 assert(nearby == 0);
150 if (nearby != 0 && ptr < pSet->list[nearby-1]) {
151 //ALOGD("nearby-1=%d %p, inserting %p at -1",
152 // nearby-1, pSet->list[nearby-1], ptr);
153 nearby--;
154 } else if (ptr < pSet->list[nearby]) {
155 //ALOGD("nearby=%d %p, inserting %p at +0",
156 // nearby, pSet->list[nearby], ptr);
158 //ALOGD("nearby+1=%d %p, inserting %p at +1",
159 // nearby+1, pSet->list[nearby+1], ptr);
160 nearby++;
166 if (nearby != pSet->count) {
168 memmove(&pSet->list[nearby+1], &pSet->list[nearby],
169 (pSet->count - nearby) * sizeof(pSet->list[0]));
173 pSet->list[nearby] = ptr;
203 * this returns a negative index for a nearby element.