Searched refs:HasFrame (Results 1 – 4 of 4) sorted by relevance
/external/openthread/tests/unit/ |
D | test_hdlc.cpp | 139 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/ |
D | spinel_buffer.cpp | 544 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()
|
D | spinel_buffer.hpp | 605 bool HasFrame(Priority aPriority) const;
|
/external/openthread/src/lib/hdlc/ |
D | hdlc.hpp | 231 bool HasFrame(void) const { return (mWritePointer != GetFrame()); } in HasFrame() function in ot::Hdlc::MultiFrameBuffer
|