Searched refs:numAddresses (Results 1 – 4 of 4) sorted by relevance
/openthread-latest/tests/unit/ |
D | test_child.cpp | 106 uint8_t numAddresses; in TestChildIp6Address() local 127 numAddresses = 0; in TestChildIp6Address() 130 addresses[numAddresses] = sInstance->Get<Mle::MleRouter>().GetMeshLocalEid(); in TestChildIp6Address() 131 addresses[numAddresses].SetIid(meshLocalIid); in TestChildIp6Address() 133 numAddresses++; in TestChildIp6Address() 137 … VerifyOrQuit(numAddresses < kMaxChildIp6Addresses, "Too many IPv6 addresses in the unit test"); in TestChildIp6Address() 138 SuccessOrQuit(addresses[numAddresses++].FromString(ip6Address)); in TestChildIp6Address() 152 for (uint8_t index = 0; index < numAddresses; index++) in TestChildIp6Address() 166 for (uint8_t index = 0; index < numAddresses; index++) in TestChildIp6Address() 177 for (uint8_t index = 0; index < numAddresses; index++) in TestChildIp6Address() [all …]
|
/openthread-latest/src/cli/ |
D | cli_srp_client.cpp | 342 uint8_t numAddresses = 0; in Process() local 362 VerifyOrExit(numAddresses < arrayLength, error = OT_ERROR_NO_BUFS); in Process() 363 SuccessOrExit(error = arg->ParseAsIp6Address(addresses[numAddresses])); in Process() 364 numAddresses++; in Process() 367 … SuccessOrExit(error = otSrpClientSetHostAddresses(GetInstancePtr(), addresses, numAddresses)); in Process() 369 memcpy(hostAddressArray, addresses, numAddresses * sizeof(hostAddressArray[0])); in Process() 370 … IgnoreError(otSrpClientSetHostAddresses(GetInstancePtr(), hostAddressArray, numAddresses)); in Process()
|
D | cli.cpp | 4157 uint8_t numAddresses = 0; in Process() local 4161 while (aArgs->ParseAsIp6Address(addresses[numAddresses]) == OT_ERROR_NONE) in Process() 4164 numAddresses++; in Process() 4166 if (numAddresses == OT_ARRAY_LENGTH(addresses)) in Process() 4178 VerifyOrExit(aArgs->IsEmpty() && (numAddresses > 0), error = OT_ERROR_INVALID_ARGS); in Process() 4180 … SuccessOrExit(error = otIp6RegisterMulticastListeners(GetInstancePtr(), addresses, numAddresses, in Process()
|
/openthread-latest/src/ncp/ |
D | ncp_base_mtd.cpp | 3878 uint8_t numAddresses = 0; in HandlePropertySet() local 3887 VerifyOrExit(numAddresses < kSrpClientMaxHostAddresses, error = OT_ERROR_NO_BUFS); in HandlePropertySet() 3889 SuccessOrExit(error = mDecoder.ReadIp6Address(addresses[numAddresses])); in HandlePropertySet() 3890 numAddresses++; in HandlePropertySet() 3898 SuccessOrExit(error = otSrpClientSetHostAddresses(mInstance, addresses, numAddresses)); in HandlePropertySet() 3902 SuccessOrAssert(error = otSrpClientSetHostAddresses(mInstance, hostAddressArray, numAddresses)); in HandlePropertySet()
|