Searched refs:frameBuffer (Results 1 – 2 of 2) sorted by relevance
78 Hdlc::FrameBuffer<kBufferSize> frameBuffer; in TestHdlcFrameBuffer() local82 VerifyOrQuit(frameBuffer.IsEmpty(), "after constructor"); in TestHdlcFrameBuffer()83 VerifyOrQuit(frameBuffer.GetLength() == 0, "after constructor"); in TestHdlcFrameBuffer()85 SuccessOrQuit(WriteToBuffer(sOpenThreadText, frameBuffer)); in TestHdlcFrameBuffer()87 VerifyOrQuit(frameBuffer.GetLength() == sizeof(sOpenThreadText) - 1); in TestHdlcFrameBuffer()88 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sOpenThreadText, frameBuffer.GetLength()) == 0); in TestHdlcFrameBuffer()90 VerifyOrQuit(frameBuffer.CanWrite(1)); in TestHdlcFrameBuffer()91 VerifyOrQuit(!frameBuffer.IsEmpty()); in TestHdlcFrameBuffer()93 SuccessOrQuit(WriteToBuffer(sHelloText, frameBuffer)); in TestHdlcFrameBuffer()94 VerifyOrQuit(frameBuffer.GetLength() == sizeof(sOpenThreadText) + sizeof(sHelloText) - 2); in TestHdlcFrameBuffer()[all …]
1586 uint8_t frameBuffer[kReadLength]; in DecompressFrom() local1590 frameLength = aMessage.ReadBytes(aOffset, frameBuffer, sizeof(frameBuffer)); in DecompressFrom()1591 frameData.Init(frameBuffer, frameLength); in DecompressFrom()