• Home
  • Raw
  • Download

Lines Matching refs:currentPos

43     UChar* currentPos;  member
176 if(buf->currentPos<buf->bufLimit){ in ucbuf_fillucbuf()
177 offset = (int32_t)(buf->bufLimit-buf->currentPos); in ucbuf_fillucbuf()
178 memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar)); in ucbuf_fillucbuf()
312 buf->currentPos = pTarget; in ucbuf_fillucbuf()
329 if(buf->currentPos>=buf->bufLimit){ in ucbuf_getc()
339 return *(buf->currentPos++); in ucbuf_getc()
349 if(buf->currentPos+1>=buf->bufLimit){ in ucbuf_getc32()
358 if(U16_IS_LEAD(*(buf->currentPos))){ in ucbuf_getc32()
359 retVal=U16_GET_SUPPLEMENTARY(buf->currentPos[0],buf->currentPos[1]); in ucbuf_getc32()
360 buf->currentPos+=2; in ucbuf_getc32()
362 retVal = *(buf->currentPos++); in ucbuf_getc32()
370 return ((UCHARBUF*) context)->currentPos[offset]; in _charAt()
383 if (buf->currentPos >=buf->bufLimit-2) { in ucbuf_getcx32()
388 if (buf->currentPos < buf->bufLimit) { in ucbuf_getcx32()
389 c1 = *(buf->currentPos)++; in ucbuf_getcx32()
394 c2 = *(buf->currentPos); in ucbuf_getcx32()
402 length = (int32_t)(buf->bufLimit - buf->currentPos); in ucbuf_getcx32()
428 u_UCharsToChars( buf->currentPos, context, len); in ucbuf_getcx32()
435 buf->currentPos += offset; in ucbuf_getcx32()
513 buf->currentPos=buf->buffer; in ucbuf_open()
543 if(buf->currentPos!=buf->buffer){ in ucbuf_ungetc()
544 if(*(buf->currentPos-1)==c){ in ucbuf_ungetc()
545 buf->currentPos--; in ucbuf_ungetc()
581 buf->currentPos=buf->buffer; in ucbuf_rewind()
717 UChar* temp = buf->currentPos; in ucbuf_readline()
729 if(temp>=buf->bufLimit && buf->currentPos == buf->buffer){ in ucbuf_readline()
744 *len = (int32_t)(temp++ - buf->currentPos); in ucbuf_readline()
745 savePos = buf->currentPos; in ucbuf_readline()
746 buf->currentPos = temp; in ucbuf_readline()
752 *len = (int32_t)(temp - buf->currentPos); in ucbuf_readline()
753 savePos = buf->currentPos; in ucbuf_readline()
754 buf->currentPos = temp; in ucbuf_readline()
765 if(buf->currentPos==buf->bufLimit){ in ucbuf_readline()
770 *len = (int32_t)(temp++ - buf->currentPos); in ucbuf_readline()
771 savePos = buf->currentPos; in ucbuf_readline()
772 buf->currentPos = temp; in ucbuf_readline()
777 *len = (int32_t)(temp - buf->currentPos); in ucbuf_readline()
778 savePos = buf->currentPos; in ucbuf_readline()
779 buf->currentPos = temp; in ucbuf_readline()