Lines Matching refs:mData

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