Lines Matching refs:length
315 uint8_t length = 0; in Process() local
319 VerifyOrExit(static_cast<size_t>(length) < sizeof(tlvs), error = OT_ERROR_NO_BUFS); in Process()
323 tlvs[length++] = OT_MESHCOP_TLV_BORDER_AGENT_RLOC; in Process()
327 tlvs[length++] = OT_MESHCOP_TLV_COMM_SESSION_ID; in Process()
331 tlvs[length++] = OT_MESHCOP_TLV_STEERING_DATA; in Process()
335 tlvs[length++] = OT_MESHCOP_TLV_JOINER_UDP_PORT; in Process()
342 readLength = static_cast<uint16_t>(sizeof(tlvs) - length); in Process()
343 SuccessOrExit(error = aArgs->ParseAsHexString(readLength, tlvs + length)); in Process()
344 length += static_cast<uint8_t>(readLength); in Process()
352 error = otCommissionerSendMgmtGet(GetInstancePtr(), tlvs, static_cast<uint8_t>(length)); in Process()
404 uint16_t length; in Process() local
408 length = sizeof(dataset.mSteeringData.m8); in Process()
409 SuccessOrExit(error = aArgs->ParseAsHexString(length, dataset.mSteeringData.m8)); in Process()
410 dataset.mSteeringData.mLength = static_cast<uint8_t>(length); in Process()
420 uint16_t length; in Process() local
423 length = sizeof(tlvs); in Process()
424 SuccessOrExit(error = aArgs->ParseAsHexString(length, tlvs)); in Process()
425 tlvsLength = static_cast<uint8_t>(length); in Process()