Home
last modified time | relevance | path

Searched refs:kBlockSizes (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc129 static const int kBlockSizes[]; member in google::protobuf::io::__anonf574de1c0111::IoTest
133 const int IoTest::kBlockSizes[] = {-1, 1, 2, 5, 7, 10, 23, 64}; member in google::protobuf::io::__anonf574de1c0111::IoTest
134 const int IoTest::kBlockSizeCount = GOOGLE_ARRAYSIZE(IoTest::kBlockSizes);
283 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
287 ArrayInputStream input(buffer, size, kBlockSizes[j]); in TEST_F()
306 new ArrayOutputStream(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
314 buffer + pos, kBufferSize - pos, kBlockSizes[i]); in TEST_F()
323 new ArrayInputStream(buffer, size, kBlockSizes[j]); in TEST_F()
352 int gzip_buffer_size = kBlockSizes[z]; in TEST_F()
355 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
[all …]
Dcoded_stream_unittest.cc151 const int kBlockSizes[] = {1, 2, 3, 5, 7, 13, 32, 1024}; variable
192 TEST_2D(CodedStreamTest, ReadVarint32, kVarintCases, kBlockSizes) { in TEST_2D() argument
207 TEST_2D(CodedStreamTest, ReadTag, kVarintCases, kBlockSizes) { in TEST_2D() argument
303 TEST_2D(CodedStreamTest, ReadVarint64, kVarintCases, kBlockSizes) { in TEST_2D() argument
318 TEST_2D(CodedStreamTest, WriteVarint32, kVarintCases, kBlockSizes) { in TEST_2D() argument
340 TEST_2D(CodedStreamTest, WriteVarint64, kVarintCases, kBlockSizes) { in TEST_2D() argument
366 kSignExtendedVarintCases, kBlockSizes) { in TEST_2D() argument
438 TEST_2D(CodedStreamTest, ReadVarint32Error, kVarintErrorCases, kBlockSizes) { in TEST_2D() argument
448 TEST_2D(CodedStreamTest, ReadVarint64Error, kVarintErrorCases, kBlockSizes) { in TEST_2D() argument
528 TEST_2D(CodedStreamTest, ReadLittleEndian32, kFixed32Cases, kBlockSizes) { in TEST_2D() argument
[all …]
Dtokenizer_unittest.cc177 const int kBlockSizes[] = {1, 2, 3, 5, 7, 13, 32, 1024}; variable
249 TEST_2D(TokenizerTest, SimpleTokens, kSimpleTokenCases, kBlockSizes) { in TEST_2D() argument
292 TEST_1D(TokenizerTest, FloatSuffix, kBlockSizes) { in TEST_1D() argument
423 TEST_2D(TokenizerTest, MultipleTokens, kMultiTokenCases, kBlockSizes) { in TEST_2D() argument
479 TEST_1D(TokenizerTest, ShCommentStyle, kBlockSizes) { in TEST_1D() argument
675 TEST_2D(TokenizerTest, DocComments, kDocCommentCases, kBlockSizes) { in TEST_2D() argument
951 TEST_2D(TokenizerTest, Errors, kErrorCases, kBlockSizes) { in TEST_2D() argument
976 TEST_1D(TokenizerTest, BackUpOnDestruction, kBlockSizes) { in TEST_1D() argument