• Home
  • Raw
  • Download

Lines Matching refs:currentPos

41     UChar* currentPos;  member
174 if(buf->currentPos<buf->bufLimit){ in ucbuf_fillucbuf()
175 offset = (int32_t)(buf->bufLimit-buf->currentPos); in ucbuf_fillucbuf()
176 memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar)); in ucbuf_fillucbuf()
311 buf->currentPos = pTarget; in ucbuf_fillucbuf()
328 if(buf->currentPos>=buf->bufLimit){ in ucbuf_getc()
338 return *(buf->currentPos++); in ucbuf_getc()
348 if(buf->currentPos+1>=buf->bufLimit){ in ucbuf_getc32()
357 if(U16_IS_LEAD(*(buf->currentPos))){ in ucbuf_getc32()
358 retVal=U16_GET_SUPPLEMENTARY(buf->currentPos[0],buf->currentPos[1]); in ucbuf_getc32()
359 buf->currentPos+=2; in ucbuf_getc32()
361 retVal = *(buf->currentPos++); in ucbuf_getc32()
369 return ((UCHARBUF*) context)->currentPos[offset]; in _charAt()
382 if (buf->currentPos >=buf->bufLimit-2) { in ucbuf_getcx32()
387 if (buf->currentPos < buf->bufLimit) { in ucbuf_getcx32()
388 c1 = *(buf->currentPos)++; in ucbuf_getcx32()
393 c2 = *(buf->currentPos); in ucbuf_getcx32()
401 length = (int32_t)(buf->bufLimit - buf->currentPos); in ucbuf_getcx32()
427 u_UCharsToChars( buf->currentPos, context, len); in ucbuf_getcx32()
434 buf->currentPos += offset; in ucbuf_getcx32()
512 buf->currentPos=buf->buffer; in ucbuf_open()
542 if(buf->currentPos!=buf->buffer){ in ucbuf_ungetc()
543 if(*(buf->currentPos-1)==c){ in ucbuf_ungetc()
544 buf->currentPos--; in ucbuf_ungetc()
580 buf->currentPos=buf->buffer; in ucbuf_rewind()
716 UChar* temp = buf->currentPos; in ucbuf_readline()
728 if(temp>=buf->bufLimit && buf->currentPos == buf->buffer){ in ucbuf_readline()
743 *len = (int32_t)(temp++ - buf->currentPos); in ucbuf_readline()
744 savePos = buf->currentPos; in ucbuf_readline()
745 buf->currentPos = temp; in ucbuf_readline()
751 *len = (int32_t)(temp - buf->currentPos); in ucbuf_readline()
752 savePos = buf->currentPos; in ucbuf_readline()
753 buf->currentPos = temp; in ucbuf_readline()
764 if(buf->currentPos==buf->bufLimit){ in ucbuf_readline()
769 *len = (int32_t)(temp++ - buf->currentPos); in ucbuf_readline()
770 savePos = buf->currentPos; in ucbuf_readline()
771 buf->currentPos = temp; in ucbuf_readline()
776 *len = (int32_t)(temp - buf->currentPos); in ucbuf_readline()
777 savePos = buf->currentPos; in ucbuf_readline()
778 buf->currentPos = temp; in ucbuf_readline()