Lines Matching refs:block_count

73                                          int block_count) {
77 for (int i = 0; i < block_count; i++) {
119 int block_count) {
122 if (block_count != buffer_count) {
123 DVLOG(1) << __FUNCTION__ << " : block_count (" << block_count
131 for (int i = 0; i < block_count; i++) {
174 int block_count) {
188 block_count);
194 int block_count,
197 const BlockInfo* const block_info_end = block_info_ptr + block_count;
335 int block_count = arraysize(kBlockInfo);
338 // but the last byte of the cluster (except when N==|block_count|, just parse
342 for (int i = 0; i < block_count; ++i) {
348 // last full block. Don't |exceed block_count| blocks though.
349 int blocks_in_cluster = std::min(i + 2, block_count);
353 bool parse_full_cluster = i == (block_count - 1);
375 int block_count = arraysize(kDefaultBlockInfo);
376 scoped_ptr<Cluster> cluster(CreateCluster(0, kDefaultBlockInfo, block_count));
384 ASSERT_TRUE(VerifyBuffers(parser_, kDefaultBlockInfo, block_count - 1));
390 ASSERT_TRUE(VerifyBuffers(parser_, kDefaultBlockInfo, block_count));
394 int block_count = arraysize(kDefaultBlockInfo);
395 scoped_ptr<Cluster> cluster(CreateCluster(0, kDefaultBlockInfo, block_count));
399 ASSERT_TRUE(VerifyBuffers(parser_, kDefaultBlockInfo, block_count));
403 int block_count = arraysize(kDefaultBlockInfo);
404 scoped_ptr<Cluster> cluster(CreateCluster(0, kDefaultBlockInfo, block_count));
437 block_count));
450 int block_count = arraysize(kBlockInfo);
468 ASSERT_TRUE(VerifyBuffers(parser_, kBlockInfo, block_count));
479 int block_count = arraysize(kBlockInfo);
480 scoped_ptr<Cluster> cluster(CreateCluster(0, kBlockInfo, block_count));
484 ASSERT_TRUE(VerifyBuffers(parser_, kBlockInfo, block_count));
730 int block_count = arraysize(kBlockInfo);
731 scoped_ptr<Cluster> cluster(CreateCluster(0, kBlockInfo, block_count));
753 int block_count = arraysize(kBlockInfo);
754 scoped_ptr<Cluster> cluster(CreateCluster(0, kBlockInfo, block_count));
763 ASSERT_TRUE(VerifyBuffers(parser_, kBlockInfo, block_count - 1));
770 ASSERT_TRUE(VerifyBuffers(parser_, kBlockInfo, block_count));
899 int block_count = arraysize(kBlockInfo);
900 scoped_ptr<Cluster> cluster(CreateCluster(0, kBlockInfo, block_count));
908 ASSERT_TRUE(VerifyBuffers(parser_, kBlockInfo, block_count - 1));
915 ASSERT_TRUE(VerifyBuffers(parser_, kBlockInfo, block_count));
934 int block_count = arraysize(kBlockInfo);
935 scoped_ptr<Cluster> cluster(CreateCluster(0, kBlockInfo, block_count));
938 ASSERT_TRUE(VerifyBuffers(parser_, kBlockInfo, block_count));
950 int block_count = arraysize(kBlockInfo);
951 scoped_ptr<Cluster> cluster(CreateCluster(0, kBlockInfo, block_count));
954 ASSERT_TRUE(VerifyBuffers(parser_, kBlockInfo, block_count));