Lines Matching refs:pos2
45 int32_t i, pos1, pos2, middle, length; in compareIterators() local
50 pos2=iter2->getIndex(iter2, UITER_LENGTH); in compareIterators()
51 if(length!=pos2) { in compareIterators()
52 log_err("%s->getIndex(length)=%d != %d=%s->getIndex(length)\n", n1, length, pos2, n2); in compareIterators()
65 pos2=iter2->move(iter2, middle, UITER_ZERO); in compareIterators()
66 if(pos2!=middle) { in compareIterators()
67 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n2, middle, pos2); in compareIterators()
110 pos2=iter2->move(iter2, 0, UITER_START); in compareIterators()
111 if(pos2<0) { in compareIterators()
145 pos2=iter2->move(iter2, middle, UITER_ZERO); in compareIterators()
146 if(pos2!=middle) { in compareIterators()
147 … log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n2, middle, pos2); in compareIterators()
158 pos2=iter2->move(iter2, 1, UITER_ZERO); in compareIterators()
159 if(pos2!=1) { in compareIterators()
160 log_err("%s->move(from middle %d to 1)=%d does not move to 1\n", n2, middle, pos2); in compareIterators()
175 pos2=iter2->move(iter2, 0, UITER_LIMIT); in compareIterators()
176 if(pos2<0) { in compareIterators()