Lines Matching refs:mEnd
45 , mEnd(0) in Decoder()
65 mEnd = mLength; in Reset()
99 VerifyOrExit(mIndex + sizeof(uint8_t) <= mEnd, error = OT_ERROR_PARSE); in ReadUint8()
123 VerifyOrExit(mIndex + sizeof(uint16_t) <= mEnd, error = OT_ERROR_PARSE); in ReadUint16()
149 VerifyOrExit(mIndex + sizeof(uint32_t) <= mEnd, error = OT_ERROR_PARSE); in ReadUint32()
176 VerifyOrExit(mIndex + sizeof(uint64_t) <= mEnd, error = OT_ERROR_PARSE); in ReadUint64()
207 parsedLen = spinel_packed_uint_decode(&mFrame[mIndex], mEnd - mIndex, &uint); in ReadUintPacked()
222 VerifyOrExit(mIndex + aSize <= mEnd, error = OT_ERROR_PARSE); in ReadItem()
303 VerifyOrExit(mIndex + sizeof(uint8_t) <= mEnd, error = OT_ERROR_PARSE); in ReadUtf8()
305 len = StringLength(reinterpret_cast<const char *>(&mFrame[mIndex]), mEnd - mIndex); in ReadUtf8()
306 VerifyOrExit(len < static_cast<uint16_t>(mEnd - mIndex), error = OT_ERROR_PARSE); in ReadUtf8()
319 aDataLen = mEnd - mIndex; in ReadData()
345 VerifyOrExit(structLen <= mEnd - mIndex, error = OT_ERROR_PARSE); in OpenStruct()
347 mPrevEnd[mNumOpenStructs] = mEnd; in OpenStruct()
348 mEnd = (mIndex + structLen); in OpenStruct()
372 mIndex = mEnd; in CloseStruct()
373 mEnd = mPrevEnd[mNumOpenStructs]; in CloseStruct()
382 mSavedEnd = mEnd; in SavePosition()
393 mEnd = mSavedEnd; in ResetToSaved()