Home
last modified time | relevance | path

Searched refs:mWriteFrameStart (Results 1 – 3 of 3) sorted by relevance

/openthread-3.7.0/src/lib/spinel/
Dmulti_frame_buffer.hpp204 mWriteFrameStart = mBuffer; in Clear()
264 if (mWriteFrameStart + kHeaderSize + aSkipLength <= GetArrayEnd(mBuffer)) in SetSkipLength()
266 LittleEndian::WriteUint16(aSkipLength, mWriteFrameStart + kHeaderSkipLengthOffset); in SetSkipLength()
281 …uint16_t GetSkipLength(void) const { return LittleEndian::ReadUint16(mWriteFrameStart + kHeaderSki… in GetSkipLength()
289 uint8_t *GetFrame(void) const { return mWriteFrameStart + kHeaderSize + GetSkipLength(); } in GetFrame()
319 …LittleEndian::WriteUint16(GetSkipLength() + GetLength(), mWriteFrameStart + kHeaderTotalLengthOffs… in SaveFrame()
320 mWriteFrameStart = mWritePointer; in SaveFrame()
347 bool HasSavedFrame(void) const { return (mWriteFrameStart != mBuffer); } in HasSavedFrame()
370 if (HasSavedFrame() && (aFrame != mWriteFrameStart)) in GetNextSavedFrame()
398 uint16_t len = static_cast<uint16_t>(mWriteFrameStart - mBuffer); in ClearSavedFrames()
[all …]
Dspinel_buffer.cpp70 mWriteFrameStart[kPriorityLow] = mBuffer; in Clear()
71 mWriteFrameStart[kPriorityHigh] = GetUpdatedBufPtr(mBuffer, 1, kBackward); in Clear()
235 if (newTail != mWriteFrameStart[(mWriteDirection == kForward) ? kBackward : kForward]) in InFrameAppend()
259 if (mWriteFrameStart[mWriteDirection] == mWriteSegmentHead) in InFrameBeginSegment()
316 mWriteSegmentHead = mWriteSegmentTail = mWriteFrameStart[mWriteDirection]; in InFrameDiscard()
358 mWriteSegmentHead = mWriteSegmentTail = mWriteFrameStart[mWriteDirection]; in InFrameBegin()
515 mWriteFrameTag = mWriteFrameStart[mWriteDirection]; in InFrameEnd()
518 mWriteFrameStart[mWriteDirection] = mWriteSegmentHead; in InFrameEnd()
542 …ame(Priority aPriority) const { return mReadFrameStart[aPriority] != mWriteFrameStart[aPriority]; } in HasFrame()
566 EXPECT(mReadSegmentHead != mWriteFrameStart[mReadDirection], error = OT_ERROR_NOT_FOUND); in OutFramePrepareSegment()
[all …]
Dspinel_buffer.hpp633 uint8_t *mWriteFrameStart[kNumPrios]; // Pointer to start of current frame being written. member in ot::Spinel::Buffer