Home | History | Annotate | Download | only in io

Lines Matching refs:buffer

91             uprv_free(file->fTranslit->buffer);
92 file->fTranslit->buffer=NULL;
110 file->fTranslit->buffer = NULL;
147 memmove(f->fTranslit->buffer, f->fTranslit->buffer + f->fTranslit->pos,
153 /* Calculate new buffer size needed */
158 if(f->fTranslit->buffer == NULL)
160 f->fTranslit->buffer = (UChar*)uprv_malloc(newlen * sizeof(UChar));
164 f->fTranslit->buffer = (UChar*)uprv_realloc(f->fTranslit->buffer, newlen * sizeof(UChar));
167 if (f->fTranslit->buffer == NULL) {
174 u_strncpy(f->fTranslit->buffer + f->fTranslit->length,
189 f->fTranslit->buffer, /* because we shifted */
196 /* Transliterated is [buffer..pos.start) */
201 return f->fTranslit->buffer;
209 f->fTranslit->buffer,
223 return f->fTranslit->buffer;
266 if(f->fTranslit->buffer)
268 uprv_free(f->fTranslit->buffer);
426 /* shift the buffer if it isn't empty */
432 /* record how much buffer space is available */
435 /* Determine the # of codepage bytes needed to fill our UChar buffer */
499 /* fill the buffer if needed */
508 /* determine the amount of data in the buffer */
515 /* otherwise, iteratively fill the buffer and copy */
544 possible newline combinations even across buffer
559 possible newline combinations even across buffer
563 /* update the current buffer position */
572 /* refill the buffer */
575 /* determine the amount of data in the buffer */
590 /* if we have an available character in the buffer, return it */
596 /* otherwise, fill the buffer and return the next character */
624 /* Fill the buffer if it is empty */
630 /* Get the next character in the buffer */
667 /* if we're at the beginning of the buffer, sorry! */
701 /* determine the amount of data in the buffer */
704 /* fill the buffer */
714 /* copy the current data in the buffer */
720 /* update the current buffer position */