Home
last modified time | relevance | path

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

/external/libchrome/base/
Dpickle_unittest.cc348 size_t header_size2 = 2 * header_size; in TEST() local
350 std::unique_ptr<char[]> buffer(new char[header_size2 + payload_received]); in TEST()
353 const char* end = start + header_size2 + payload_received; in TEST()
359 header->payload_size = -(reinterpret_cast<uintptr_t>(start) + header_size2); in TEST()
360 EXPECT_EQ(nullptr, Pickle::FindNext(header_size2, start, end)); in TEST()
362 header->payload_size = -header_size2; in TEST()
363 EXPECT_EQ(nullptr, Pickle::FindNext(header_size2, start, end)); in TEST()
367 EXPECT_EQ(nullptr, Pickle::FindNext(header_size2, start, end)); in TEST()