Home
last modified time | relevance | path

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

/external/libchrome/base/
Dpickle.cc33 const char* read_from = GetReadPointerAndAdvance<Type>(); in ReadBuiltinType()
53 inline const char* PickleIterator::GetReadPointerAndAdvance() { in GetReadPointerAndAdvance() function in base::PickleIterator
63 const char* PickleIterator::GetReadPointerAndAdvance(int num_bytes) { in GetReadPointerAndAdvance() function in base::PickleIterator
74 inline const char* PickleIterator::GetReadPointerAndAdvance( in GetReadPointerAndAdvance() function in base::PickleIterator
81 return GetReadPointerAndAdvance(num_bytes); in GetReadPointerAndAdvance()
125 const char* read_from = GetReadPointerAndAdvance<float>(); in ReadFloat()
137 const char* read_from = GetReadPointerAndAdvance<double>(); in ReadDouble()
148 const char* read_from = GetReadPointerAndAdvance(len); in ReadString()
160 const char* read_from = GetReadPointerAndAdvance(len); in ReadStringPiece()
172 const char* read_from = GetReadPointerAndAdvance(len, sizeof(char16)); in ReadString16()
[all …]
Dpickle.h79 return !!GetReadPointerAndAdvance(num_bytes); in SkipBytes()
93 const char* GetReadPointerAndAdvance();
97 const char* GetReadPointerAndAdvance(int num_bytes);
101 const char* GetReadPointerAndAdvance(int num_elements,
108 FRIEND_TEST_ALL_PREFIXES(PickleTest, GetReadPointerAndAdvance);
Dpickle_unittest.cc373 TEST(PickleTest, GetReadPointerAndAdvance) { in TEST() argument
377 EXPECT_FALSE(iter.GetReadPointerAndAdvance(1)); in TEST()
383 EXPECT_TRUE(PickleIterator(pickle).GetReadPointerAndAdvance(0)); in TEST()
384 EXPECT_TRUE(PickleIterator(pickle).GetReadPointerAndAdvance(1)); in TEST()
385 EXPECT_FALSE(PickleIterator(pickle).GetReadPointerAndAdvance(-1)); in TEST()
386 EXPECT_TRUE(PickleIterator(pickle).GetReadPointerAndAdvance(bytes)); in TEST()
387 EXPECT_FALSE(PickleIterator(pickle).GetReadPointerAndAdvance(bytes + 1)); in TEST()
388 EXPECT_FALSE(PickleIterator(pickle).GetReadPointerAndAdvance(INT_MAX)); in TEST()
389 EXPECT_FALSE(PickleIterator(pickle).GetReadPointerAndAdvance(INT_MIN)); in TEST()