Home
last modified time | relevance | path

Searched refs:kErrorAlready (Results 1 – 25 of 27) sorted by relevance

12

/openthread-latest/src/core/meshcop/
Dnetwork_name.cpp94 ExitNow(error = kErrorAlready); in Set()
134 case kErrorAlready: in SignalNetworkNameChange()
151 return (error == kErrorAlready) ? kErrorNone : error; in SetDomainName()
158 return (error == kErrorAlready) ? kErrorNone : error; in SetDomainName()
Ddataset_updater.cpp77 VerifyOrExit(!aDataset.IsSubsetOf(activeDataset), error = kErrorAlready); in RequestUpdate()
202 Finish(kErrorAlready); in HandleDatasetChanged()
Dcommissioner.cpp269 VerifyOrExit(mState == kStateDisabled, error = kErrorAlready); in Start()
286 if ((error != kErrorNone) && (error != kErrorAlready)) in Start()
300 VerifyOrExit(mState != kStateDisabled, error = kErrorAlready); in Stop()
326 if (error != kErrorAlready) in Stop()
Dsecure_transport.cpp683 VerifyOrExit(!mIsOpen, error = kErrorAlready); in Open()
741 VerifyOrExit(!mTransportCallback.IsSet(), error = kErrorAlready); in Bind()
756 VerifyOrExit(!mSocket.IsBound(), error = kErrorAlready); in Bind()
757 VerifyOrExit(!mTransportCallback.IsSet(), error = kErrorAlready); in Bind()
Ddataset_manager.cpp444 VerifyOrExit(mNetworkTimestamp < mLocalTimestamp, error = kErrorAlready); in SyncLocalWithLeader()
468 if (error != kErrorAlready) in SyncLocalWithLeader()
480 VerifyOrExit(!mMgmtPending, error = kErrorAlready); in SendSetRequest()
Ddataset_manager_ftd.cpp266 VerifyOrExit(!mLocalTimestamp.IsValid(), error = kErrorAlready); in GenerateLocal()
/openthread-latest/tests/unit/
Dtest_network_name.cpp65 VerifyOrQuit(networkName.Set(MeshCoP::NameData(kName1, sizeof(kName1))) == kErrorAlready, in TestNetworkName()
69 VerifyOrQuit(networkName.Set(MeshCoP::NameData(kName1, sizeof(kName1) - 1)) == kErrorAlready, in TestNetworkName()
81 …VerifyOrQuit(networkName.Set(MeshCoP::NameData(kLongName, sizeof(kLongName) - 1)) == kErrorAlready, in TestNetworkName()
Dtest_linked_list.cpp169 VerifyOrQuit(list.Add(a) == kErrorAlready, "did not detect duplicate"); in TestLinkedList()
170 VerifyOrQuit(list.Add(b) == kErrorAlready, "did not detect duplicate"); in TestLinkedList()
171 VerifyOrQuit(list.Add(d) == kErrorAlready, "did not detect duplicate"); in TestLinkedList()
172 VerifyOrQuit(list.Add(e) == kErrorAlready, "did not detect duplicate"); in TestLinkedList()
Dtest_tcat.cpp136 …rQuit(otBleSecureStart(instance, HandleBleSecureConnect, nullptr, true, nullptr) == kErrorAlready); in TestTcat()
Dtest_child.cpp179 VerifyOrQuit(child.AddIp6Address(addresses[index]) == kErrorAlready, in TestChildIp6Address()
Dtest_mdns.cpp5150 VerifyOrQuit(mdns->StartBrowser(browser2) == kErrorAlready); in TestBrowser()
5600 VerifyOrQuit(mdns->StartSrvResolver(resolver2) == kErrorAlready); in TestSrvResolver()
6030 VerifyOrQuit(mdns->StartTxtResolver(resolver2) == kErrorAlready); in TestTxtResolver()
6523 VerifyOrQuit(mdns->StartIp6AddressResolver(resolver2) == kErrorAlready); in TestIp6AddrResolver()
/openthread-latest/src/core/utils/
Dchannel_manager.cpp197 (aError == kErrorAlready) ? " since current ActiveDataset is more recent" : ""); in HandleDatasetUpdateDone()
300 if ((error == kErrorAbort) || (error == kErrorAlready)) in RequestNetworkChannelSelect()
318 if ((error == kErrorAbort) || (error == kErrorAlready)) in RequestCslChannelSelect()
368 ExitNow(error = kErrorAlready); in RequestChannelSelect()
Dchannel_monitor.cpp73 VerifyOrExit(!IsRunning(), error = kErrorAlready); in Start()
86 VerifyOrExit(IsRunning(), error = kErrorAlready); in Stop()
Djam_detector.cpp64 VerifyOrExit(!mEnabled, error = kErrorAlready); in Start()
82 VerifyOrExit(mEnabled, error = kErrorAlready); in Stop()
/openthread-latest/src/core/thread/
Dchild.cpp195 VerifyOrExit(mMeshLocalIid.IsUnspecified(), error = kErrorAlready); in AddIp6Address()
200 VerifyOrExit(!mIp6Addresses.ContainsMatching(aAddress), error = kErrorAlready); in AddIp6Address()
/openthread-latest/src/core/net/
Dip6_headers.cpp124 VerifyOrExit(size != 0, error = kErrorAlready); in InitToPadHeaderWithSize()
Dnetif.cpp298 VerifyOrExit(!IsMulticastSubscribed(aAddress), error = kErrorAlready); in SubscribeExternalMulticast()
Dsrp_client.cpp782 VerifyOrExit(mServices.FindMatching(aService) == nullptr, error = kErrorAlready); in AddService()
835 VerifyOrExit(mHostInfo.GetState() != kRemoved, error = kErrorAlready); in RemoveHostAndServices()
Dmdns.cpp88 VerifyOrExit(aEnable != mIsEnabled, error = kErrorAlready); in SetEnabled()
4889 VerifyOrExit(callback == nullptr, error = kErrorAlready); in Add()
/openthread-latest/src/core/common/
Derror.hpp78 constexpr Error kErrorAlready = OT_ERROR_ALREADY; variable
Dnotifier.hpp277 error = kErrorAlready; in Update()
Dnotifier.cpp54 VerifyOrExit(!mExternalCallbacks.Contains(newCallback), error = kErrorAlready); in RegisterCallback()
Dlinked_list.hpp285 error = kErrorAlready; in Add()
/openthread-latest/src/core/api/
Dcoap_secure_api.cpp59 Error error = kErrorAlready; in otCoapSecureStartWithMaxConnAttempts()
/openthread-latest/src/core/radio/
Dble_secure.cpp69 VerifyOrExit(mBleState == kStopped, error = kErrorAlready); in Start()

12