Lines Matching refs:bytes
632 int64_t bytes = 0; in Crc32c() local
634 while (bytes < 500 * 1048576) { in Crc32c()
637 bytes += size; in Crc32c()
642 thread->stats.AddBytes(bytes); in Crc32c()
665 int64_t bytes = 0; in SnappyCompress() local
669 while (ok && bytes < 1024 * 1048576) { // Compress 1G in SnappyCompress()
672 bytes += input.size(); in SnappyCompress()
681 (produced * 100.0) / bytes); in SnappyCompress()
683 thread->stats.AddBytes(bytes); in SnappyCompress()
692 int64_t bytes = 0; in SnappyUncompress() local
694 while (ok && bytes < 1024 * 1048576) { // Compress 1G in SnappyUncompress()
697 bytes += input.size(); in SnappyUncompress()
705 thread->stats.AddBytes(bytes); in SnappyUncompress()
754 int64_t bytes = 0; in DoWrite() local
762 bytes += value_size_ + strlen(key); in DoWrite()
771 thread->stats.AddBytes(bytes); in DoWrite()
777 int64_t bytes = 0; in ReadSequential() local
779 bytes += iter->key().size() + iter->value().size(); in ReadSequential()
784 thread->stats.AddBytes(bytes); in ReadSequential()
790 int64_t bytes = 0; in ReadReverse() local
792 bytes += iter->key().size() + iter->value().size(); in ReadReverse()
797 thread->stats.AddBytes(bytes); in ReadReverse()