Searched refs:GetFrame (Results 1 – 8 of 8) sorted by relevance
/openthread-latest/src/lib/spinel/ |
D | multi_frame_buffer.hpp | 170 uint8_t *GetFrame(void) { return mBuffer; } in GetFrame() function in ot::Spinel::FrameBuffer 220 bool HasFrame(void) const { return (mWritePointer != GetFrame()); } in HasFrame() 235 if (GetFrame() + aLength <= GetArrayEnd(mBuffer)) in SetLength() 237 mWritePointer = GetFrame() + aLength; in SetLength() 251 uint16_t GetLength(void) const { return static_cast<uint16_t>(mWritePointer - GetFrame()); } in GetLength() 269 mWritePointer = GetFrame(); in SetSkipLength() 294 uint8_t *GetFrame(void) const { return mWriteFrameStart + kHeaderSize + GetSkipLength(); } in GetFrame() function in ot::Spinel::MultiFrameBuffer 302 …t16_t GetFrameMaxLength(void) const { return static_cast<uint16_t>(mBuffer + kSize - GetFrame()); } in GetFrameMaxLength() 342 mWritePointer = GetFrame(); in DiscardFrame()
|
D | spinel_driver.cpp | 279 LogSpinelFrame(mRxFrameBuffer.GetFrame(), mRxFrameBuffer.GetLength(), false); in HandleReceivedFrame() 280 …unpacked = spinel_datatype_unpack(mRxFrameBuffer.GetFrame(), mRxFrameBuffer.GetLength(), "C", &hea… in HandleReceivedFrame() 294 mReceivedFrameHandler(mRxFrameBuffer.GetFrame(), mRxFrameBuffer.GetLength(), header, shouldSave, in HandleReceivedFrame()
|
D | spinel_decoder.hpp | 82 const uint8_t *GetFrame(void) const { return mFrame; } in GetFrame() function in ot::Spinel::Decoder
|
/openthread-latest/tests/unit/ |
D | test_hdlc.cpp | 89 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sOpenThreadText, frameBuffer.GetLength()) == 0); in TestHdlcFrameBuffer() 99 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sOpenThreadText, frameBuffer.GetLength()) == 0); in TestHdlcFrameBuffer() 109 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sMottoText, frameBuffer.GetLength()) == 0); in TestHdlcFrameBuffer() 151 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sMottoText, frameBuffer.GetLength()) == 0); in TestSpinelMultiFrameBuffer() 161 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sHelloText, frameBuffer.GetLength()) == 0); in TestSpinelMultiFrameBuffer() 171 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sOpenThreadText, frameBuffer.GetLength()) == 0); in TestSpinelMultiFrameBuffer() 181 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sMottoText, frameBuffer.GetLength()) == 0); in TestSpinelMultiFrameBuffer() 190 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sHexText, frameBuffer.GetLength()) == 0); in TestSpinelMultiFrameBuffer() 200 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sOpenThreadText, frameBuffer.GetLength()) == 0); in TestSpinelMultiFrameBuffer() 225 VerifyOrQuit(memcmp(frameBuffer.GetFrame(), sOpenThreadText, frameBuffer.GetLength()) == 0, in TestSpinelMultiFrameBuffer() [all …]
|
D | test_spinel_decoder.cpp | 123 VerifyOrQuit(decoder.GetFrame() == &buffer[0]); in TestDecoder() 197 VerifyOrQuit(decoder.GetFrame() == &buffer[0]); in TestDecoder() 356 VerifyOrQuit(decoder.GetFrame() == &buffer[0]); in TestDecoder()
|
/openthread-latest/src/ncp/ |
D | ncp_hdlc.cpp | 251 int rval = mSendCallback(mHdlcBuffer.GetFrame(), len); in EncodeAndSend() 292 uint8_t *buf = mRxBuffer.GetFrame(); in HandleFrame()
|
/openthread-latest/src/posix/platform/ |
D | hdlc_interface.cpp | 222 error = Write(encoderBuffer.GetFrame(), encoderBuffer.GetLength()); in SendFrame()
|
D | spi_interface.cpp | 450 spiRxFrameBuffer = mRxFrameBuffer->GetFrame() - kSpiFrameHeaderSize; in PushPullSpi()
|