Lines Matching refs:bytesWrittenTotal
748 size_t bytesWrittenTotal = 0;
752 void *const currentTarget = (void *)((char *)target + bytesWrittenTotal);
753 const size_t bytesToWrite = count - bytesWrittenTotal;
763 bytesWrittenTotal += bytesWrittenMore;
764 if (bytesWrittenTotal >= count)
780 size_t bytesWrittenTotal = 0;
788 void *const currentTarget = (void *)((char *)target + bytesWrittenTotal);
789 const size_t bytesToWrite = count - bytesWrittenTotal;
794 bytesWrittenTotal += bytesWrittenMore;
795 if (bytesWrittenTotal >= count)
812 size_t bytesWrittenTotal = 0;
814 while (bytesWrittenTotal < count) {
818 for (; (i < sizeof(random32)) && (bytesWrittenTotal < count);
819 i++, bytesWrittenTotal++) {
821 ((uint8_t *)target)[bytesWrittenTotal] = random8;
845 size_t bytesWrittenTotal = 0;
847 while (bytesWrittenTotal < count) {
854 for (; (i < sizeof(random32)) && (bytesWrittenTotal < count);
855 i++, bytesWrittenTotal++) {
857 ((uint8_t *)target)[bytesWrittenTotal] = random8;