• Home
  • Raw
  • Download

Lines Matching refs:start

73         api->start=api->index=api->limit=0;  in initIndexes()
78 api->start=api->index=api->limit=uni->capacity; in initIndexes()
83 api->start=api->index=api->limit=uni->capacity/2; in initIndexes()
95 int32_t start, limit; in reallocArrays() local
105 start=api->start; in reallocArrays()
113 uprv_memcpy(states+delta+start, uni->states+start, (limit-start+1)*4); in reallocArrays()
114 uprv_memcpy(chars+delta+start, uni->chars+start, (limit-start)*4); in reallocArrays()
116 api->start=start+delta; in reallocArrays()
121 uprv_memcpy(states+start, uni->states+start, (limit-start+1)*4); in reallocArrays()
122 uprv_memcpy(chars+start, uni->chars+start, (limit-start)*4); in reallocArrays()
138 if(srcIndex>api->start) { in moveContentsTowardStart()
146 api->start=destIndex=0; in moveContentsTowardStart()
161 int32_t srcIndex, destIndex, start; in moveContentsTowardEnd() local
163 start=api->start; in moveContentsTowardEnd()
168 while(srcIndex>start && states[srcIndex]==UITER_NO_STATE) { in moveContentsTowardEnd()
179 while(srcIndex>start) { in moveContentsTowardEnd()
184 api->start=destIndex; in moveContentsTowardEnd()
223 api->start=api->index=api->limit=limit=0; in readNext()
264 int32_t start, capacity, room; in readPrevious() local
267 start=api->start; in readPrevious()
270 if(room>start) { in readPrevious()
273 api->index=start=api->start; in readPrevious()
279 if(uni->state!=uni->states[start]) { in readPrevious()
280 uiter_setState(iter, uni->states[start], &errorCode); in readPrevious()
288 room=unorm_previous(iter, uni->chars, start, uni->mode, 0, TRUE, NULL, &errorCode); in readPrevious()
292 uni->states[capacity]=uni->states[start]; in readPrevious()
293 api->start=api->index=api->limit=start=capacity; in readPrevious()
302 start=api->start; in readPrevious()
306 uiter_setState(iter, uni->states[start], &errorCode); in readPrevious()
307 room=unorm_previous(iter, uni->chars, start, uni->mode, 0, TRUE, NULL, &errorCode); in readPrevious()
318 uni->chars[--start]=uni->chars[--room]; in readPrevious()
320 uni->states[start]=UITER_NO_STATE; in readPrevious()
322 uni->states[start]=uni->state=uiter_getState(iter); in readPrevious()
324 api->start=start; in readPrevious()
359 api->start=api->index=api->limit=0; in unormIteratorMove()
365 api->index=api->start; in unormIteratorMove()
375 api->start=api->index=api->limit=uni->capacity; in unormIteratorMove()
411 delta=pos-api->start; /* remainder beyond buffered text */ in unormIteratorMove()
418 api->index=api->start; in unormIteratorMove()
425 if(api->index==api->start && !uni->hasPrevious) { in unormIteratorMove()
439 return api->index>api->start || ((UNormIterator *)api)->hasPrevious; in unormIteratorHasPrevious()
472 if( api->index>api->start || in unormIteratorPrevious()
518 for(i=api->start; i<api->limit; ++i) { in unormIteratorSetState()