Home
last modified time | relevance | path

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

/openthread-2.7.6/src/ncp/
Dncp_hdlc.cpp256 size_t dataLen = bufLength; in HandleFrame() local
257 if (SpinelEncrypter::DecryptInbound(buf, kRxBufferSize, &dataLen)) in HandleFrame()
259 super_t::HandleReceive(buf, dataLen); in HandleFrame()
Dncp_base_mtd.cpp1123 uint16_t dataLen; in HandlePropertyInsert() local
1128 SuccessOrExit(error = mDecoder.ReadDataWithLen(data, dataLen)); in HandlePropertyInsert()
1130 VerifyOrExit((dataLen <= sizeof(cfg.mServiceData)), error = OT_ERROR_INVALID_ARGS); in HandlePropertyInsert()
1131 memcpy(cfg.mServiceData, data, dataLen); in HandlePropertyInsert()
1134 cfg.mServiceDataLength = static_cast<uint8_t>(dataLen); in HandlePropertyInsert()
1138 SuccessOrExit(error = mDecoder.ReadDataWithLen(data, dataLen)); in HandlePropertyInsert()
1140 VerifyOrExit((dataLen <= sizeof(cfg.mServerConfig.mServerData)), error = OT_ERROR_INVALID_ARGS); in HandlePropertyInsert()
1141 memcpy(cfg.mServerConfig.mServerData, data, dataLen); in HandlePropertyInsert()
1144 cfg.mServerConfig.mServerDataLength = static_cast<uint8_t>(dataLen); in HandlePropertyInsert()
Dncp_base.cpp1309 uint16_t dataLen; in CommandHandler_POKE() local
1313 SuccessOrExit(parseError = mDecoder.ReadData(dataPtr, dataLen)); in CommandHandler_POKE()
1316 VerifyOrExit(count <= dataLen, parseError = OT_ERROR_INVALID_ARGS); in CommandHandler_POKE()
/openthread-2.7.6/tests/unit/
Dtest_spinel_encoder.cpp113 spinel_size_t dataLen; in TestEncoder() local
156 &utf_1, &utf_2, &dataPtr, &dataLen); in TestEncoder()
178 VerifyOrQuit(dataLen == sizeof(kData)); in TestEncoder()
222 &u8, &dataPtr, &dataLen, &i16); in TestEncoder()
/openthread-2.7.6/src/core/mac/
Dmac.cpp2466 uint8_t dataLen = 0; in ProcessEnhAckProbing() local
2470 dataLen = enhAckProbingIe->GetLength() - sizeof(VendorIeHeader); in ProcessEnhAckProbing()
2471 VerifyOrExit(dataLen <= kEnhAckProbingIeMaxLen); in ProcessEnhAckProbing()
2473 Get<LinkMetrics::LinkMetrics>().ProcessEnhAckIeData(data, dataLen, aNeighbor); in ProcessEnhAckProbing()