Home | History | Annotate | Download | only in toolutil

Lines Matching refs:currentPos

40     UChar* currentPos;
173 if(buf->currentPos<buf->bufLimit){
174 offset = (int32_t)(buf->bufLimit-buf->currentPos);
175 memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar));
310 buf->currentPos = pTarget;
327 if(buf->currentPos>=buf->bufLimit){
337 return *(buf->currentPos++);
347 if(buf->currentPos+1>=buf->bufLimit){
356 if(UTF_IS_LEAD(*(buf->currentPos))){
357 retVal=UTF16_GET_PAIR_VALUE(buf->currentPos[0],buf->currentPos[1]);
358 buf->currentPos+=2;
360 retVal = *(buf->currentPos++);
368 return ((UCHARBUF*) context)->currentPos[offset];
381 if (buf->currentPos >=buf->bufLimit-2) {
386 if (buf->currentPos < buf->bufLimit) {
387 c1 = *(buf->currentPos)++;
392 c2 = *(buf->currentPos);
400 length = (int32_t)(buf->bufLimit - buf->currentPos);
426 u_UCharsToChars( buf->currentPos, context, len);
433 buf->currentPos += offset;
511 buf->currentPos=buf->buffer;
538 /* decrement currentPos pointer
541 if(buf->currentPos!=buf->buffer){
542 if(*(buf->currentPos-1)==c){
543 buf->currentPos--;
579 buf->currentPos=buf->buffer;
715 UChar* temp = buf->currentPos;
727 if(temp>=buf->bufLimit && buf->currentPos == buf->buffer){
742 *len = (int32_t)(temp++ - buf->currentPos);
743 savePos = buf->currentPos;
744 buf->currentPos = temp;
750 *len = (int32_t)(temp - buf->currentPos);
751 savePos = buf->currentPos;
752 buf->currentPos = temp;
763 if(buf->currentPos==buf->bufLimit){
768 *len = (int32_t)(temp++ - buf->currentPos);
769 savePos = buf->currentPos;
770 buf->currentPos = temp;
775 *len = (int32_t)(temp - buf->currentPos);
776 savePos = buf->currentPos;
777 buf->currentPos = temp;