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