Home
last modified time | relevance | path

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

/external/chromium/base/
Dpickle.cc115 if (!IteratorHasRoomFor(*iter, sizeof(*result))) in ReadInt()
132 if (!IteratorHasRoomFor(*iter, sizeof(*result))) in ReadLong()
148 if (!IteratorHasRoomFor(*iter, sizeof(*result))) in ReadSize()
165 if (!IteratorHasRoomFor(*iter, sizeof(*result))) in ReadUInt16()
179 if (!IteratorHasRoomFor(*iter, sizeof(*result))) in ReadUInt32()
193 if (!IteratorHasRoomFor(*iter, sizeof(*result))) in ReadInt64()
207 if (!IteratorHasRoomFor(*iter, sizeof(*result))) in ReadUInt64()
222 if (!IteratorHasRoomFor(*iter, len)) in ReadString()
241 if (!IteratorHasRoomFor(*iter, len * sizeof(wchar_t))) in ReadWString()
257 if (!IteratorHasRoomFor(*iter, len * sizeof(char16))) in ReadString16()
[all …]
Dpickle_unittest.cc197 EXPECT_FALSE(pickle.IteratorHasRoomFor(iter, 1)); in TEST()
199 EXPECT_TRUE(pickle.IteratorHasRoomFor(iter, 0)); in TEST()
200 EXPECT_TRUE(pickle.IteratorHasRoomFor(iter, 1)); in TEST()
201 EXPECT_FALSE(pickle.IteratorHasRoomFor(iter, -1)); in TEST()
202 EXPECT_TRUE(pickle.IteratorHasRoomFor(iter, sizeof(int) * 2)); in TEST()
203 EXPECT_FALSE(pickle.IteratorHasRoomFor(iter, (sizeof(int) * 2) + 1)); in TEST()
Dpickle.h163 bool IteratorHasRoomFor(const void* iter, int len) const { in IteratorHasRoomFor() function
/external/chromium/net/spdy/
Dspdy_frame_builder.cc40 if (!IteratorHasRoomFor(*iter, sizeof(*result))) in ReadUInt16()
54 if (!IteratorHasRoomFor(*iter, sizeof(*result))) in ReadUInt32()
70 if (!IteratorHasRoomFor(*iter, len)) in ReadString()
85 if (!IteratorHasRoomFor(*iter, length)) in ReadBytes()
Dspdy_frame_builder.h105 bool IteratorHasRoomFor(const void* iter, int len) const { in IteratorHasRoomFor() function