Lines Matching refs:mData
59 :mData(p),
66 mData->setDataPosition(mBegin);
73 const size_t end = mData->dataPosition();
75 mData->setDataPosition(mBegin);
76 mData->writeInt32(end - mBegin);
77 mData->setDataPosition(end);
86 ok = ok && mData->writeInt32(-1) == OK;
87 ok = ok && mData->writeInt32(kMetaMarker) == OK;
97 const size_t begin = mData->dataPosition();
101 ok = ok && mData->writeInt32(4 * sizeof(int32_t)) == OK;
102 ok = ok && mData->writeInt32(key) == OK;
103 ok = ok && mData->writeInt32(BOOLEAN_VAL) == OK;
104 ok = ok && mData->writeInt32(val ? 1 : 0) == OK;
106 mData->setDataPosition(begin);
117 const size_t begin = mData->dataPosition();
121 ok = ok && mData->writeInt32(4 * sizeof(int32_t)) == OK;
122 ok = ok && mData->writeInt32(key) == OK;
123 ok = ok && mData->writeInt32(INTEGER_VAL) == OK;
124 ok = ok && mData->writeInt32(val) == OK;
126 mData->setDataPosition(begin);
141 size_t curr = mData->dataPosition();
143 mData->setDataPosition(mBegin);
148 size_t pos = mData->dataPosition();
149 size_t size = mData->readInt32();
154 if (mData->readInt32() == key) {
159 mData->setDataPosition(pos + size);
162 mData->setDataPosition(curr);