Lines Matching refs:mData
41 varint = mData.readRawVarint();
52 bytesToWrite = mData.readRawVarint();
61 mData.rp()->move(bytesToWrite);
64 mProto.writeRawByte(mData.next());
78 if (!mData.hasNext() || parentPolicy == NULL) return BAD_VALUE;
79 uint32_t fieldTag = mData.readRawVarint();
87 size_t currentAt = mData.rp()->pos();
90 (int)(get_varint_size(fieldTag) + mData.rp()->pos() - currentAt));
94 uint32_t msgSize = mData.readRawVarint();
95 size_t start = mData.rp()->pos();
97 while (mData.rp()->pos() - start != msgSize) {
107 : mPolicy(policy), mData(data), mProto(), mSize(0) {}
115 if (spec.CheckPremission(mPolicy)) mSize = mData.size();
118 while (mData.hasNext()) {
122 if (mData.bytesRead() != mData.size()) return BAD_VALUE;
124 mData.rp()->rewind(); // rewind the read pointer back to beginning after the strip.
137 EncodedBuffer::iterator iter = size() == mData.size() ? mData : mProto.data();