Searched refs:aNcpBuffer (Results 1 – 5 of 5) sorted by relevance
/external/openthread/tests/unit/ |
D | test_spinel_buffer.cpp | 132 Spinel::Buffer * aNcpBuffer) in FrameAddedCallback() argument 136 VerifyOrQuit(aNcpBuffer != nullptr, "Null Spinel::Buffer in the callback"); in FrameAddedCallback() 139 …VerifyOrQuit(aTag == aNcpBuffer->InFrameGetLastTag(), "InFrameGetLastTag() does not match the tag … in FrameAddedCallback() 149 Spinel::Buffer * aNcpBuffer) in FrameRemovedCallback() argument 153 VerifyOrQuit(aNcpBuffer != nullptr, "Null Spinel::Buffer in the callback"); in FrameRemovedCallback() 163 void ReadAndVerifyContent(Spinel::Buffer &aNcpBuffer, const uint8_t *aContentBuffer, uint16_t aBuff… in ReadAndVerifyContent() argument 167 …VerifyOrQuit(aNcpBuffer.OutFrameHasEnded() == false, "Out frame ended before end of expected conte… in ReadAndVerifyContent() 169 VerifyOrQuit(aNcpBuffer.OutFrameReadByte() == *aContentBuffer++, in ReadAndVerifyContent() 174 void WriteTestFrame1(Spinel::Buffer &aNcpBuffer, Spinel::Buffer::Priority aPriority) in WriteTestFrame1() argument 185 aNcpBuffer.InFrameBegin(aPriority); in WriteTestFrame1() [all …]
|
D | test_spinel_encoder.cpp | 43 otError ReadFrame(Spinel::Buffer &aNcpBuffer, uint8_t *aFrame, uint16_t &aFrameLen) in ReadFrame() argument 47 SuccessOrExit(error = aNcpBuffer.OutFrameBegin()); in ReadFrame() 48 aFrameLen = aNcpBuffer.OutFrameGetLength(); in ReadFrame() 49 VerifyOrExit(aNcpBuffer.OutFrameRead(aFrameLen, aFrame) == aFrameLen, error = OT_ERROR_FAILED); in ReadFrame() 50 SuccessOrExit(error = aNcpBuffer.OutFrameRemove()); in ReadFrame()
|
/external/openthread/src/lib/spinel/ |
D | spinel_encoder.hpp | 61 explicit Encoder(Spinel::Buffer &aNcpBuffer) in Encoder() argument 62 : mNcpBuffer(aNcpBuffer) in Encoder()
|
/external/openthread/src/ncp/ |
D | ncp_base.hpp | 268 Spinel::Buffer * aNcpBuffer);
|
D | ncp_base.cpp | 408 Spinel::Buffer * aNcpBuffer) in HandleFrameRemovedFromNcpBuffer() argument 410 OT_UNUSED_VARIABLE(aNcpBuffer); in HandleFrameRemovedFromNcpBuffer()
|