Home
last modified time | relevance | path

Searched refs:pos1 (Results 1 – 1 of 1) sorted by relevance

/openthread-3.7.0/tests/unit/
Dtest_spinel_buffer.cpp341 Spinel::Buffer::WritePosition pos1, pos2; in TestBuffer() local
786 SuccessOrQuit(ncpBuffer.InFrameGetPosition(pos1)); in TestBuffer()
788 VerifyOrQuit(ncpBuffer.InFrameGetDistance(pos1) == sizeof(sHexText) - index); in TestBuffer()
795 SuccessOrQuit(ncpBuffer.InFrameOverwrite(pos1, sHexText + index, sizeof(sHexText) - index), in TestBuffer()
797 VerifyOrQuit(ncpBuffer.InFrameGetDistance(pos1) == in TestBuffer()
802 VerifyOrQuit(ncpBuffer.InFrameOverwrite(pos1, sHexText, 0) != OT_ERROR_NONE); in TestBuffer()
832 SuccessOrQuit(ncpBuffer.InFrameGetPosition(pos1)); in TestBuffer()
834 VerifyOrQuit(ncpBuffer.InFrameGetDistance(pos1) == sizeof(sHexText) - index); in TestBuffer()
841 SuccessOrQuit(ncpBuffer.InFrameReset(pos1)); in TestBuffer()
846 SuccessOrQuit(ncpBuffer.InFrameReset(pos1)); in TestBuffer()
[all …]