Home
last modified time | relevance | path

Searched refs:HasFrame (Results 1 – 4 of 4) sorted by relevance

/external/openthread/tests/unit/
Dtest_hdlc.cpp139 VerifyOrQuit(!frameBuffer.HasFrame(), "after constructor"); in TestHdlcMultiFrameBuffer()
154 VerifyOrQuit(!frameBuffer.HasFrame(), "after SaveFrame()"); in TestHdlcMultiFrameBuffer()
164 VerifyOrQuit(!frameBuffer.HasFrame(), "after SaveFrame()"); in TestHdlcMultiFrameBuffer()
174 VerifyOrQuit(!frameBuffer.HasFrame(), "after DiscardFrame()"); in TestHdlcMultiFrameBuffer()
184 VerifyOrQuit(!frameBuffer.HasFrame(), "after DiscardFrame()"); in TestHdlcMultiFrameBuffer()
193 VerifyOrQuit(!frameBuffer.HasFrame(), "after SaveFrame()"); in TestHdlcMultiFrameBuffer()
260 VerifyOrQuit(!frameBuffer.HasFrame(), "after Clear()"); in TestHdlcMultiFrameBuffer()
280 VerifyOrQuit(!frameBuffer.HasFrame(), "after Clear()"); in TestHdlcMultiFrameBuffer()
303 VerifyOrQuit(frameBuffer.HasFrame(), "after ClearSavedFrames()"); in TestHdlcMultiFrameBuffer()
324 VerifyOrQuit(!frameBuffer.HasFrame(), "after all frames are read and discarded"); in TestHdlcMultiFrameBuffer()
[all …]
/external/openthread/src/lib/spinel/
Dspinel_buffer.cpp544 bool Buffer::HasFrame(Priority aPriority) const in HasFrame() function in ot::Spinel::Buffer
551 return !HasFrame(kPriorityHigh) && !HasFrame(kPriorityLow); in IsEmpty()
558 mReadDirection = HasFrame(kPriorityHigh) ? kBackward : kForward; in OutFrameSelectReadDirection()
868 if (!HasFrame(kPriorityHigh) && !InFrameIsWriting(kPriorityHigh)) in UpdateReadWriteStartPointers()
877 if (!HasFrame(kPriorityLow) && !InFrameIsWriting(kPriorityLow)) in UpdateReadWriteStartPointers()
Dspinel_buffer.hpp605 bool HasFrame(Priority aPriority) const;
/external/openthread/src/lib/hdlc/
Dhdlc.hpp231 bool HasFrame(void) const { return (mWritePointer != GetFrame()); } in HasFrame() function in ot::Hdlc::MultiFrameBuffer