Home
last modified time | relevance | path

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

/frameworks/base/libs/protoutil/tests/
DEncodedBuffer_test.cpp22 constexpr size_t TEST_CHUNK_HALF_SIZE = TEST_CHUNK_SIZE / 2; variable
36 for (size_t i = 0; i < TEST_CHUNK_HALF_SIZE; i++) { in TEST()
39 EXPECT_EQ(buffer->size(), TEST_CHUNK_HALF_SIZE); in TEST()
40 expectPointer(buffer->wp(), TEST_CHUNK_HALF_SIZE); in TEST()
41 EXPECT_EQ(buffer->currentToWrite(), TEST_CHUNK_HALF_SIZE); in TEST()
45 EXPECT_EQ(buffer->size(), TEST_CHUNK_SIZE + TEST_CHUNK_HALF_SIZE); in TEST()
46 expectPointer(buffer->wp(), TEST_CHUNK_SIZE + TEST_CHUNK_HALF_SIZE); in TEST()
47 EXPECT_EQ(buffer->currentToWrite(), TEST_CHUNK_HALF_SIZE); in TEST()
51 for (size_t i = 0; i < TEST_CHUNK_HALF_SIZE; i++) { in TEST()