• Home
  • Raw
  • Download

Lines Matching refs:Pickle

43 void VerifyResult(const Pickle& pickle) {  in VerifyResult()
113 Pickle pickle; in TEST()
133 Pickle pickle2(pickle); in TEST()
137 Pickle pickle3; in TEST()
146 Pickle pickle; in TEST()
170 Pickle pickle(buffer.get(), 1); in TEST()
181 Pickle pickle(reinterpret_cast<char*>(buffer), sizeof(buffer)); in TEST()
191 Pickle pickle(reinterpret_cast<char*>(buffer), sizeof(buffer)); in TEST()
199 Pickle pickle; in TEST()
209 Pickle pickle; in TEST()
219 Pickle pickle; in TEST()
228 Pickle pickle; in TEST()
237 struct CustomHeader : base::Pickle::Header { in TEST()
241 Pickle pickle(sizeof(CustomHeader)); in TEST()
250 EXPECT_FALSE(Pickle::PeekNext( in TEST()
257 EXPECT_TRUE(Pickle::PeekNext( in TEST()
265 EXPECT_TRUE(Pickle::PeekNext( in TEST()
273 EXPECT_TRUE(Pickle::PeekNext( in TEST()
282 struct CustomHeader : base::Pickle::Header { in TEST()
299 EXPECT_TRUE(Pickle::PeekNext( in TEST()
310 EXPECT_TRUE(Pickle::PeekNext( in TEST()
319 Pickle pickle; in TEST()
326 EXPECT_EQ(end, Pickle::FindNext(pickle.header_size_, start, end)); in TEST()
327 EXPECT_EQ(nullptr, Pickle::FindNext(pickle.header_size_, start, end - 1)); in TEST()
328 EXPECT_EQ(end, Pickle::FindNext(pickle.header_size_, start, end + 1)); in TEST()
332 size_t header_size = sizeof(Pickle::Header); in TEST()
339 EXPECT_EQ(nullptr, Pickle::FindNext(header_size, start, end)); in TEST()
347 size_t header_size = sizeof(Pickle::Header); in TEST()
352 Pickle::Header* header = reinterpret_cast<Pickle::Header*>(buffer.get()); in TEST()
360 EXPECT_EQ(nullptr, Pickle::FindNext(header_size2, start, end)); 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()
374 Pickle pickle; in TEST()
393 size_t unit = Pickle::kPayloadUnit; in TEST()
402 Pickle pickle; in TEST()
426 struct CustomHeader : Pickle::Header {
435 Pickle pickle(sizeof(CustomHeader)); in TEST()
449 Pickle source; in TEST()
452 Pickle copy_refs_source_buffer(static_cast<const char*>(source.data()), in TEST()
454 Pickle copy; in TEST()
460 Pickle source; in TEST()
471 Pickle str16_pickle; in TEST()
479 Pickle bad_len; in TEST()
487 Pickle pickle; in TEST()
500 Pickle pickle; in TEST()
516 Pickle pickle; in TEST()
521 Pickle pickle2(pickle); in TEST()
530 class TestingPickle : public Pickle {
534 void* ClaimBytes(size_t num_bytes) { return Pickle::ClaimBytes(num_bytes); } in ClaimBytes()