/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_unittest.cc | 124 static const int kBlockSizes[]; member in google::protobuf::io::__anon200409330111::IoTest 128 const int IoTest::kBlockSizes[] = {-1, 1, 2, 5, 7, 10, 23, 64}; member in google::protobuf::io::__anon200409330111::IoTest 129 const int IoTest::kBlockSizeCount = GOOGLE_ARRAYSIZE(IoTest::kBlockSizes); 278 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F() 282 ArrayInputStream input(buffer, size, kBlockSizes[j]); in TEST_F() 301 new ArrayOutputStream(buffer, kBufferSize, kBlockSizes[i]); in TEST_F() 309 buffer + pos, kBufferSize - pos, kBlockSizes[i]); in TEST_F() 318 new ArrayInputStream(buffer, size, kBlockSizes[j]); in TEST_F() 347 int gzip_buffer_size = kBlockSizes[z]; in TEST_F() 350 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F() [all …]
|
D | coded_stream_unittest.cc | 145 const int kBlockSizes[] = {1, 2, 3, 5, 7, 13, 32, 1024}; variable 185 TEST_2D(CodedStreamTest, ReadVarint32, kVarintCases, kBlockSizes) { in TEST_2D() argument 200 TEST_2D(CodedStreamTest, ReadTag, kVarintCases, kBlockSizes) { in TEST_2D() argument 296 TEST_2D(CodedStreamTest, ReadVarint64, kVarintCases, kBlockSizes) { in TEST_2D() argument 311 TEST_2D(CodedStreamTest, WriteVarint32, kVarintCases, kBlockSizes) { in TEST_2D() argument 333 TEST_2D(CodedStreamTest, WriteVarint64, kVarintCases, kBlockSizes) { in TEST_2D() argument 359 kSignExtendedVarintCases, kBlockSizes) { in TEST_2D() argument 431 TEST_2D(CodedStreamTest, ReadVarint32Error, kVarintErrorCases, kBlockSizes) { in TEST_2D() argument 441 TEST_2D(CodedStreamTest, ReadVarint64Error, kVarintErrorCases, kBlockSizes) { in TEST_2D() argument 521 TEST_2D(CodedStreamTest, ReadLittleEndian32, kFixed32Cases, kBlockSizes) { in TEST_2D() argument [all …]
|
D | tokenizer_unittest.cc | 176 const int kBlockSizes[] = {1, 2, 3, 5, 7, 13, 32, 1024}; variable 248 TEST_2D(TokenizerTest, SimpleTokens, kSimpleTokenCases, kBlockSizes) { in TEST_2D() argument 291 TEST_1D(TokenizerTest, FloatSuffix, kBlockSizes) { in TEST_1D() argument 422 TEST_2D(TokenizerTest, MultipleTokens, kMultiTokenCases, kBlockSizes) { in TEST_2D() argument 478 TEST_1D(TokenizerTest, ShCommentStyle, kBlockSizes) { in TEST_1D() argument 674 TEST_2D(TokenizerTest, DocComments, kDocCommentCases, kBlockSizes) { in TEST_2D() argument 954 TEST_2D(TokenizerTest, Errors, kErrorCases, kBlockSizes) { in TEST_2D() argument 979 TEST_1D(TokenizerTest, BackUpOnDestruction, kBlockSizes) { in TEST_1D() argument
|