Home | History | Annotate | Download | only in io

Lines Matching refs:dataSize

410     int32_t     dataSize;
420 dataSize = (int32_t)(str->fLimit - str->fPos);
421 if (f->fFileno == 0 && dataSize > 0) {
427 if(dataSize != 0) {
428 uprv_memmove(f->fUCBuffer, str->fPos, dataSize * sizeof(UChar)); /* not accessing beyond memory */
433 availLength = UFILE_UCHARBUFFER_SIZE - dataSize;
457 myTarget = f->fUCBuffer + dataSize;
486 int32_t dataSize;
509 dataSize = (int32_t)(str->fLimit - str->fPos);
512 if (dataSize == 0)
519 while (dataSize > 0 && count < n) {
523 if (dataSize < (n - count)) {
576 dataSize = (int32_t)(str->fLimit - str->fPos);
695 int32_t dataSize;
702 dataSize = (int32_t)(str->fLimit - str->fPos);
703 if (dataSize <= 0) {
706 dataSize = (int32_t)(str->fLimit - str->fPos);
710 if (dataSize > (count - read)) {
711 dataSize = count - read;
715 memcpy(chars + read, str->fPos, dataSize * sizeof(UChar));
718 read += dataSize;
721 str->fPos += dataSize;
723 while (dataSize != 0 && read < count);