Home | History | Annotate | Download | only in toolutil

Lines Matching refs:buffer

40     UChar* buffer;
80 /* convert and ignore initial U+FEFF, and the buffer overflow */
159 /* fill the uchar buffer */
172 pTarget = buf->buffer;
173 /* check if we arrived here without exhausting the buffer*/
176 memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar));
244 context[len]= 0 ; /* null terminate the buffer */
253 /* null terminate the buffer */
261 /* null terminate the buffer */
381 /* Fill the buffer if it is empty */
386 /* Get the next character in the buffer */
400 /* Determine the amount of data in the buffer */
407 /* fill the buffer */
409 length = (int32_t)(buf->bufLimit - buf->buffer);
426 context[len]= 0 ; /* null terminate the buffer */
433 /* Update the current buffer position */
437 * c1 and not consume the buffer
506 buf->buffer=(UChar*) uprv_malloc(U_SIZEOF_UCHAR * buf->bufCapacity );
507 if (buf->buffer == NULL) {
512 buf->currentPos=buf->buffer;
513 buf->bufLimit=buf->buffer;
533 * begining of buffer and the uchar to unget
534 * is from the previous buffer. Need to implement
540 * if not at the begining of buffer
542 if(buf->currentPos!=buf->buffer){
549 /* ungetc failed - beginning of buffer. */
553 /* frees the resources of UChar* buffer */
556 uprv_free(buf->buffer);
557 buf->buffer = NULL;
580 buf->currentPos=buf->buffer;
581 buf->bufLimit=buf->buffer;
596 /* convert and ignore initial U+FEFF, and the buffer overflow */
619 return (int32_t)(buf->bufLimit - buf->buffer);
634 *len = (int32_t)(buf->bufLimit - buf->buffer);
635 return buf->buffer;
728 if(temp>=buf->bufLimit && buf->currentPos == buf->buffer){
759 * buffer so we can safely return pointers