Lines Matching refs:sHexText
58 static const uint8_t sHexText[] = "0123456789abcdef"; variable
187 SuccessOrQuit(WriteToBuffer(sHexText, frameBuffer)); in TestHdlcMultiFrameBuffer()
188 VerifyOrQuit(frameBuffer.GetLength() == sizeof(sHexText) - 1); in TestHdlcMultiFrameBuffer()
189 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sHexText, frameBuffer.GetLength()) == 0); in TestHdlcMultiFrameBuffer()
214 VerifyOrQuit(length == sizeof(sHexText) - 1, "GetNextSavedFrame() length is incorrect"); in TestHdlcMultiFrameBuffer()
215 …VerifyOrQuit(memcmp(frame, sHexText, length) == 0, "GetNextSavedFrame() frame content is incorrect… in TestHdlcMultiFrameBuffer()
247 VerifyOrQuit(length == sizeof(sHexText) - 1, "GetNextSavedFrame() length is incorrect"); in TestHdlcMultiFrameBuffer()
248 …VerifyOrQuit(memcmp(frame, sHexText, length) == 0, "GetNextSavedFrame() frame content is incorrect… in TestHdlcMultiFrameBuffer()
294 SuccessOrQuit(WriteToBuffer(sHexText, frameBuffer)); in TestHdlcMultiFrameBuffer()
306 VerifyOrQuit(frameBuffer.GetLength() == sizeof(sHexText) - 1, "after ClearSavedFrames()"); in TestHdlcMultiFrameBuffer()
307 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sHexText, frameBuffer.GetLength()) == 0); in TestHdlcMultiFrameBuffer()
315 VerifyOrQuit(length == sizeof(sHexText) - 1, "GetNextSavedFrame() length is incorrect"); in TestHdlcMultiFrameBuffer()
316 …VerifyOrQuit(memcmp(frame, sHexText, length) == 0, "GetNextSavedFrame() frame content is incorrect… in TestHdlcMultiFrameBuffer()
410 memcpy(frame, sHexText, sizeof(sHexText)); in TestHdlcMultiFrameBuffer()
411 VerifyOrQuit(frameBuffer.SetLength(sizeof(sHexText)) == OT_ERROR_NONE); in TestHdlcMultiFrameBuffer()
412 VerifyOrQuit(frameBuffer.GetLength() == sizeof(sHexText)); in TestHdlcMultiFrameBuffer()