Searched refs:frameLen (Results 1 – 3 of 3) sorted by relevance
/openthread-3.4.0/tests/unit/ |
D | test_spinel_encoder.cpp | 63 uint16_t frameLen; in TestEncoder() local 144 SuccessOrQuit(ReadFrame(ncpBuffer, frame, frameLen)); in TestEncoder() 145 DumpBuffer("Frame", frame, frameLen); in TestEncoder() 148 frame, static_cast<spinel_size_t>(frameLen), in TestEncoder() 158 VerifyOrQuit(parsedLen == frameLen); in TestEncoder() 199 SuccessOrQuit(ReadFrame(ncpBuffer, frame, frameLen)); in TestEncoder() 200 DumpBuffer("Frame", frame, frameLen); in TestEncoder() 203 frame, static_cast<spinel_size_t>(frameLen), in TestEncoder() 210 VerifyOrQuit(parsedLen == frameLen); in TestEncoder() 218 parsedLen = spinel_datatype_unpack(frame, static_cast<spinel_size_t>(frameLen), in TestEncoder() [all …]
|
D | test_spinel_decoder.cpp | 48 spinel_ssize_t frameLen; in TestDecoder() local 107 frameLen = spinel_datatype_pack( in TestDecoder() 119 DumpBuffer("Packed Spinel Frame", buffer, static_cast<uint16_t>(frameLen)); in TestDecoder() 121 decoder.Init(buffer, static_cast<uint16_t>(frameLen)); in TestDecoder() 124 VerifyOrQuit(decoder.GetLength() == frameLen); in TestDecoder() 127 VerifyOrQuit(decoder.GetRemainingLength() == frameLen); in TestDecoder() 143 VerifyOrQuit(decoder.GetRemainingLength() == frameLen - decoder.GetReadLength()); in TestDecoder() 159 VerifyOrQuit(decoder.GetReadLength() == frameLen); in TestDecoder() 198 VerifyOrQuit(decoder.GetLength() == frameLen); in TestDecoder() 200 VerifyOrQuit(decoder.GetRemainingLength() == frameLen); in TestDecoder() [all …]
|
/openthread-3.4.0/src/ncp/ |
D | ncp_base_mtd.cpp | 2254 uint16_t frameLen = 0; in HandlePropertySet() local 2260 SuccessOrExit(error = mDecoder.ReadDataWithLen(framePtr, frameLen)); in HandlePropertySet() 2267 message = otIp6NewMessageFromBuffer(mInstance, framePtr, frameLen, nullptr); in HandlePropertySet() 3287 uint16_t frameLen = 0; in HandlePropertySet() local 3294 SuccessOrExit(error = mDecoder.ReadDataWithLen(framePtr, frameLen)); in HandlePropertySet() 3301 message = otIp6NewMessageFromBuffer(mInstance, framePtr, frameLen, &msgSettings); in HandlePropertySet() 4397 uint16_t frameLen = 0; in HandlePropertySet() local 4408 SuccessOrExit(error = mDecoder.ReadDataWithLen(framePtr, frameLen)); in HandlePropertySet() 4413 SuccessOrExit(error = otMessageAppend(message, framePtr, static_cast<uint16_t>(frameLen))); in HandlePropertySet()
|