Lines Matching refs:chunk_length
917 const size_t chunk_length = size_t(i % 16 + 1); in TEST() local
920 writer.WriteVariableWidthU64(val, chunk_length); in TEST()
924 ASSERT_TRUE(reader.ReadVariableWidthU64(&read_val, chunk_length)); in TEST()
926 ASSERT_EQ(val, read_val) << "Chunk length " << chunk_length; in TEST()
933 const size_t chunk_length = size_t(i % 16 + 1); in TEST() local
937 writer.WriteVariableWidthS64(val, chunk_length, zigzag_exponent); in TEST()
942 reader.ReadVariableWidthS64(&read_val, chunk_length, zigzag_exponent)); in TEST()
944 ASSERT_EQ(val, read_val) << "Chunk length " << chunk_length; in TEST()
951 const size_t chunk_length = i % 16 + 1; in TEST() local
954 writer.WriteVariableWidthU32(val, chunk_length); in TEST()
958 ASSERT_TRUE(reader.ReadVariableWidthU32(&read_val, chunk_length)); in TEST()
960 ASSERT_EQ(val, read_val) << "Chunk length " << chunk_length; in TEST()
967 const size_t chunk_length = val % 10 + 1; in TEST() local
970 writer.WriteVariableWidthU16(val, chunk_length); in TEST()
974 ASSERT_TRUE(reader.ReadVariableWidthU16(&read_val, chunk_length)); in TEST()
976 ASSERT_EQ(val, read_val) << "Chunk length " << chunk_length; in TEST()