Lines Matching full:datasize
415 int32_t dataSize; in ufile_fill_uchar_buffer() local
425 dataSize = (int32_t)(str->fLimit - str->fPos); in ufile_fill_uchar_buffer()
426 if (f->fFileno == 0 && dataSize > 0) { in ufile_fill_uchar_buffer()
432 if(dataSize != 0) { in ufile_fill_uchar_buffer()
433 u_memmove(f->fUCBuffer, str->fPos, dataSize); /* not accessing beyond memory */ in ufile_fill_uchar_buffer()
438 availLength = UFILE_UCHARBUFFER_SIZE - dataSize; in ufile_fill_uchar_buffer()
462 myTarget = f->fUCBuffer + dataSize; in ufile_fill_uchar_buffer()
491 int32_t dataSize; in u_fgets() local
514 dataSize = (int32_t)(str->fLimit - str->fPos); in u_fgets()
517 if (dataSize == 0) in u_fgets()
524 while (dataSize > 0 && count < n) { in u_fgets()
528 if (dataSize < (n - count)) { in u_fgets()
581 dataSize = (int32_t)(str->fLimit - str->fPos); in u_fgets()
700 int32_t dataSize; in u_file_read() local
707 dataSize = (int32_t)(str->fLimit - str->fPos); in u_file_read()
708 if (dataSize <= 0) { in u_file_read()
711 dataSize = (int32_t)(str->fLimit - str->fPos); in u_file_read()
715 if (dataSize > (count - read)) { in u_file_read()
716 dataSize = count - read; in u_file_read()
720 memcpy(chars + read, str->fPos, dataSize * sizeof(UChar)); in u_file_read()
723 read += dataSize; in u_file_read()
726 str->fPos += dataSize; in u_file_read()
728 while (dataSize != 0 && read < count); in u_file_read()