Lines Matching refs:mPos
26 mPos = 0; in IStream()
31 memcpy(dest, mData + mPos, numBytes); in loadByteArray()
32 mPos += numBytes; in loadByteArray()
38 mPos = (mPos + 7) & (~7); in loadOffset()
39 tmp = reinterpret_cast<const uint64_t *>(&mData[mPos])[0]; in loadOffset()
40 mPos += sizeof(uint64_t); in loadOffset()
48 const char *s = rsuCopyString((const char *)&mData[mPos], len); in loadString()
49 mPos += len; in loadString()
57 mPos = 0; in OStream()
67 while (mPos + numBytes >= mLength) { in addByteArray()
70 memcpy(mData + mPos, src, numBytes); in addByteArray()
71 mPos += numBytes; in addByteArray()
76 mPos = (mPos + 7) & (~7); in addOffset()
77 if (mPos + sizeof(v) >= mLength) { in addOffset()
80 mData[mPos++] = (uint8_t)(v & 0xff); in addOffset()
81 mData[mPos++] = (uint8_t)((v >> 8) & 0xff); in addOffset()
82 mData[mPos++] = (uint8_t)((v >> 16) & 0xff); in addOffset()
83 mData[mPos++] = (uint8_t)((v >> 24) & 0xff); in addOffset()
84 mData[mPos++] = (uint8_t)((v >> 32) & 0xff); in addOffset()
85 mData[mPos++] = (uint8_t)((v >> 40) & 0xff); in addOffset()
86 mData[mPos++] = (uint8_t)((v >> 48) & 0xff); in addOffset()
87 mData[mPos++] = (uint8_t)((v >> 56) & 0xff); in addOffset()
95 if (mPos + len*sizeof(char) >= mLength) { in addString()
98 char *stringData = reinterpret_cast<char *>(&mData[mPos]); in addString()
100 mPos += len*sizeof(char); in addString()