HomeSort by relevance Sort by last modified time
    Searched refs:GetReadPointerAndAdvance (Results 1 - 3 of 3) sorted by null

  /external/libchrome/base/
pickle.h 75 return !!GetReadPointerAndAdvance(num_bytes);
89 const char* GetReadPointerAndAdvance();
93 const char* GetReadPointerAndAdvance(int num_bytes);
97 const char* GetReadPointerAndAdvance(int num_elements,
104 FRIEND_TEST_ALL_PREFIXES(PickleTest, GetReadPointerAndAdvance);
pickle.cc 31 const char* read_from = GetReadPointerAndAdvance<Type>();
51 inline const char* PickleIterator::GetReadPointerAndAdvance() {
61 const char* PickleIterator::GetReadPointerAndAdvance(int num_bytes) {
72 inline const char* PickleIterator::GetReadPointerAndAdvance(
80 return GetReadPointerAndAdvance(num_bytes32);
126 const char* read_from = GetReadPointerAndAdvance<float>();
138 const char* read_from = GetReadPointerAndAdvance<double>();
149 const char* read_from = GetReadPointerAndAdvance(len);
161 const char* read_from = GetReadPointerAndAdvance(len);
173 const char* read_from = GetReadPointerAndAdvance(len, sizeof(char16))
    [all...]
pickle_unittest.cc 378 TEST(PickleTest, GetReadPointerAndAdvance) {
382 EXPECT_FALSE(iter.GetReadPointerAndAdvance(1));
388 EXPECT_TRUE(PickleIterator(pickle).GetReadPointerAndAdvance(0));
389 EXPECT_TRUE(PickleIterator(pickle).GetReadPointerAndAdvance(1));
390 EXPECT_FALSE(PickleIterator(pickle).GetReadPointerAndAdvance(-1));
391 EXPECT_TRUE(PickleIterator(pickle).GetReadPointerAndAdvance(bytes));
392 EXPECT_FALSE(PickleIterator(pickle).GetReadPointerAndAdvance(bytes + 1));
393 EXPECT_FALSE(PickleIterator(pickle).GetReadPointerAndAdvance(INT_MAX));
394 EXPECT_FALSE(PickleIterator(pickle).GetReadPointerAndAdvance(INT_MIN));

Completed in 54 milliseconds