Home
last modified time | relevance | path

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

/openthread-3.4.0/tests/unit/
Dtest_spinel_encoder.cpp64 spinel_ssize_t parsedLen; in TestEncoder() local
147 parsedLen = spinel_datatype_unpack( in TestEncoder()
158 VerifyOrQuit(parsedLen == frameLen); in TestEncoder()
202 parsedLen = spinel_datatype_unpack( in TestEncoder()
210 VerifyOrQuit(parsedLen == frameLen); in TestEncoder()
218 parsedLen = spinel_datatype_unpack(frame, static_cast<spinel_size_t>(frameLen), in TestEncoder()
224 VerifyOrQuit(parsedLen == frameLen); in TestEncoder()
260 parsedLen = spinel_datatype_unpack( in TestEncoder()
267 VerifyOrQuit(parsedLen == frameLen); in TestEncoder()
298 parsedLen = spinel_datatype_unpack( in TestEncoder()
[all …]
/openthread-3.4.0/src/lib/spinel/
Dspinel_decoder.cpp204 spinel_ssize_t parsedLen; in ReadUintPacked() local
207 parsedLen = spinel_packed_uint_decode(&mFrame[mIndex], mEnd - mIndex, &uint); in ReadUintPacked()
208 VerifyOrExit(parsedLen > 0, error = OT_ERROR_PARSE); in ReadUintPacked()
210 mIndex += parsedLen; in ReadUintPacked()