Home
last modified time | relevance | path

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

/openthread-3.4.0/src/core/backbone_router/
Dmulticast_listeners_table.cpp80 mCallback.InvokeIfSet(MapEnum(Listener::kEventAdded), &aAddress); in Add()
106 mCallback.InvokeIfSet(MapEnum(Listener::kEventRemoved), &aAddress); in Remove()
135 mCallback.InvokeIfSet(MapEnum(Listener::kEventRemoved), &address); in Expire()
270 mCallback.Invoke(MapEnum(Listener::kEventRemoved), &mListeners[i].GetAddress()); in Clear()
287 mCallback.Invoke(MapEnum(Listener::kEventAdded), &mListeners[i].GetAddress()); in SetCallback()
Dndproxy_table.cpp144 mCallback.InvokeIfSet(MapEnum(NdProxy::kCleared), nullptr); in Clear()
280 mCallback.Invoke(MapEnum(aEvent), &dua); in TriggerCallback()
/openthread-3.4.0/src/core/api/
Djoiner_api.cpp64 return MapEnum(AsCoreType(aInstance).Get<MeshCoP::Joiner>().GetState()); in otJoinerGetState()
98 return MeshCoP::Joiner::StateToString(MapEnum(aState)); in otJoinerStateToString()
Dcoap_api.cpp53 AsCoapMessage(aMessage).Init(MapEnum(aType), MapEnum(aCode)); in otCoapMessageInit()
61 response.Init(MapEnum(aType), MapEnum(aCode)); in otCoapMessageInitResponse()
144 …SetCode(otMessage *aMessage, otCoapCode aCode) { AsCoapMessage(aMessage).SetCode(MapEnum(aCode)); } in otCoapMessageSetCode()
Dsrp_server_api.cpp54 return MapEnum(AsCoreType(aInstance).Get<Srp::Server>().GetState()); in otSrpServerGetState()
61 return MapEnum(AsCoreType(aInstance).Get<Srp::Server>().GetAddressMode()); in otSrpServerGetAddressMode()
66 return AsCoreType(aInstance).Get<Srp::Server>().SetAddressMode(MapEnum(aMode)); in otSrpServerSetAddressMode()
Dborder_agent_api.cpp54 return MapEnum(AsCoreType(aInstance).Get<MeshCoP::BorderAgent>().GetState()); in otBorderAgentGetState()
Dnat64_api.cpp110 return MapEnum(AsCoreType(aInstance).Get<Nat64::Translator>().GetState()); in otNat64GetTranslatorState()
117 …return MapEnum(AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().GetNat64PrefixManagerStat… in otNat64GetPrefixManagerState()
Dnetwork_time_api.cpp49 return MapEnum(AsCoreType(aInstance).Get<TimeSync>().GetTime(*aNetworkTime)); in otNetworkTimeGet()
Ddns_server_api.cpp81 return MapEnum(Dns::ServiceDiscovery::Server::GetQueryTypeAndName(aQuery, *aNameOutput)); in otDnssdGetQueryTypeAndName()
Dlink_metrics_api.cpp88 return initiator.SendMgmtRequestEnhAckProbing(AsCoreType(aDestination), MapEnum(aEnhAckFlags), in otLinkMetricsConfigEnhAckProbing()
Dborder_routing_api.cpp57 return MapEnum(AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().GetState()); in otBorderRoutingGetState()
Dudp_api.cpp65 …eType(aInstance).Get<Ip6::Udp>().Bind(AsCoreType(aSocket), AsCoreType(aSockName), MapEnum(aNetif)); in otUdpBind()
Dbackbone_router_ftd_api.cpp53 return MapEnum(AsCoreType(aInstance).Get<BackboneRouter::Local>().GetState()); in otBackboneRouterGetState()
Dsrp_client_api.cpp174 return Srp::Client::ItemStateToString(MapEnum(aItemState)); in otSrpClientItemStateToString()
Dcommissioner_api.cpp182 return MapEnum(AsCoreType(aInstance).Get<MeshCoP::Commissioner>().GetState()); in otCommissionerGetState()
Dlink_api.cpp195 return MapEnum(AsCoreType(aInstance).Get<Mac::Filter>().GetMode()); in otLinkFilterGetAddressMode()
200 AsCoreType(aInstance).Get<Mac::Filter>().SetMode(MapEnum(aMode)); in otLinkFilterSetAddressMode()
Dthread_api.cpp307 return MapEnum(AsCoreType(aInstance).Get<Mle::MleRouter>().GetRole()); in otThreadGetDeviceRole()
310 const char *otThreadDeviceRoleToString(otDeviceRole aRole) { return Mle::RoleToString(MapEnum(aRole… in otThreadDeviceRoleToString()
/openthread-3.4.0/src/core/common/
Das_core_type.hpp141 template <typename EnumType> const typename MappedEnum<EnumType>::Type MapEnum(EnumType aValue) in MapEnum() function
/openthread-3.4.0/src/core/thread/
Dmle_types.cpp106 PowerSupply powerSupply = MapEnum(mPowerSupply); in CalculateLeaderWeight()
Daddress_resolver.cpp132 aInfo.mState = MapEnum(EntryInfo::kStateCached); in GetNextCacheEntry()
147 aInfo.mState = MapEnum(EntryInfo::kStateSnooped); in GetNextCacheEntry()
151 aInfo.mState = MapEnum(EntryInfo::kStateQuery); in GetNextCacheEntry()
155 aInfo.mState = MapEnum(EntryInfo::kStateRetryQuery); in GetNextCacheEntry()
/openthread-3.4.0/src/core/net/
Dudp6.cpp125 error = otPlatUdpJoinMulticastGroup(this, MapEnum(aNetifIdentifier), &aAddress); in JoinNetifMulticastGroup()
142 error = otPlatUdpLeaveMulticastGroup(this, MapEnum(aNetifIdentifier), &aAddress); in LeaveNetifMulticastGroup()
201 SuccessOrExit(error = otPlatUdpBindToNetif(&aSocket, MapEnum(aNetifIdentifier))); in Bind()
Ddns_dso.cpp78 AsCoreType(aConnection).HandleDisconnected(MapEnum(aMode)); in otPlatDsoHandleDisconnected()
212 otPlatDsoDisconnect(this, MapEnum(aMode)); in Disconnect()
Dsrp_client.cpp76 mState = MapEnum(aState); in SetState()
153 mState = MapEnum(aState); in SetState()
/openthread-3.4.0/src/core/meshcop/
Dcommissioner.cpp99 mStateCallback.InvokeIfSet(MapEnum(mState)); in SetState()
128 mJoinerCallback.Invoke(MapEnum(aEvent), &joinerInfo, noJoinerId ? nullptr : &joinerId); in SignalJoinerEvent()
/openthread-3.4.0/src/core/utils/
Dhistory_tracker.cpp75 entry->mRole = MapEnum(Get<Mle::Mle>().GetRole()); in RecordNetworkInfo()