Searched refs:frameBuffer (Results 1 – 2 of 2) sorted by relevance
79 Spinel::FrameBuffer<kBufferSize> frameBuffer; in TestHdlcFrameBuffer() local83 VerifyOrQuit(frameBuffer.IsEmpty(), "after constructor"); in TestHdlcFrameBuffer()84 VerifyOrQuit(frameBuffer.GetLength() == 0, "after constructor"); in TestHdlcFrameBuffer()86 SuccessOrQuit(WriteToBuffer(sOpenThreadText, frameBuffer)); in TestHdlcFrameBuffer()88 VerifyOrQuit(frameBuffer.GetLength() == sizeof(sOpenThreadText) - 1); in TestHdlcFrameBuffer()89 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sOpenThreadText, frameBuffer.GetLength()) == 0); in TestHdlcFrameBuffer()91 VerifyOrQuit(frameBuffer.CanWrite(1)); in TestHdlcFrameBuffer()92 VerifyOrQuit(!frameBuffer.IsEmpty()); in TestHdlcFrameBuffer()94 SuccessOrQuit(WriteToBuffer(sHelloText, frameBuffer)); in TestHdlcFrameBuffer()95 VerifyOrQuit(frameBuffer.GetLength() == sizeof(sOpenThreadText) + sizeof(sHelloText) - 2); in TestHdlcFrameBuffer()[all …]
1562 uint8_t frameBuffer[kReadLength]; in DecompressFrom() local1566 frameLength = aMessage.ReadBytes(aOffset, frameBuffer, sizeof(frameBuffer)); in DecompressFrom()1567 frameData.Init(frameBuffer, frameLength); in DecompressFrom()