Home
last modified time | relevance | path

Searched refs:Interpreter (Results 1 – 16 of 16) sorted by relevance

/openthread-3.6.0/src/cli/
Dcli.cpp97 Interpreter *Interpreter::sInterpreter = nullptr;
98 static OT_DEFINE_ALIGNED_VAR(sInterpreterRaw, sizeof(Interpreter), uint64_t);
100 Interpreter::Interpreter(Instance *aInstance, otCliOutputCallback aCallback, void *aContext) in Interpreter() function in ot::Cli::Interpreter
164 otIp6SetReceiveCallback(GetInstancePtr(), &Interpreter::HandleIp6Receive, this); in Interpreter()
171 void Interpreter::OutputResult(otError aError) in OutputResult()
204 const char *Interpreter::LinkModeToString(const otLinkModeConfig &aLinkMode, char (&aStringBuffer)[… in LinkModeToString()
234 template <> otError Interpreter::Process<Cmd("diag")>(Arg aArgs[]) in Process()
251 template <> otError Interpreter::Process<Cmd("version")>(Arg aArgs[]) in Process()
292 template <> otError Interpreter::Process<Cmd("reset")>(Arg aArgs[]) in Process()
324 void Interpreter::ProcessLine(char *aBuf) in ProcessLine()
[all …]
Dcli.hpp111 class Interpreter : public OutputImplementer, public Output class
140 explicit Interpreter(Instance *aInstance, otCliOutputCallback aCallback, void *aContext);
148 static Interpreter &GetInterpreter(void) in GetInterpreter()
277 static Interpreter *sInterpreter;
290 using Command = CommandEntry<Interpreter>;
604 template <> inline constexpr const char *Interpreter::FormatStringFor<uint8_t>(void) { return "%u";… in FormatStringFor()
606 template <> inline constexpr const char *Interpreter::FormatStringFor<uint16_t>(void) { return "%u"… in FormatStringFor()
608 template <> inline constexpr const char *Interpreter::FormatStringFor<uint32_t>(void) { return "%lu… in FormatStringFor()
610 template <> inline constexpr const char *Interpreter::FormatStringFor<int8_t>(void) { return "%d"; } in FormatStringFor()
612 template <> inline constexpr const char *Interpreter::FormatStringFor<int16_t>(void) { return "%d";… in FormatStringFor()
[all …]
Dcli_br.cpp236 OutputLine(" prf:%s", Interpreter::PreferenceToString(preference)); in Process()
368 OutputLine(" prf:%s", Interpreter::PreferenceToString(preference)); in Process()
427 OutputFormat("route-prf:%s, ", Interpreter::PreferenceToString(entry.mRoutePreference)); in Process()
458 …if (Interpreter::GetInterpreter().ProcessEnableDisable(aArgs, otBorderRoutingDhcp6PdSetEnabled) ==… in Process()
558Interpreter::PreferenceToString(otBorderRoutingGetRouteInfoOptionPreference(GetInstancePtr()))); in Process()
587 SuccessOrExit(error = Interpreter::ParsePreference(aArgs[0], preference)); in Process()
611 …OutputLine("%s", Interpreter::PreferenceToString(otBorderRoutingGetRoutePreference(GetInstancePtr(… in Process()
640 SuccessOrExit(error = Interpreter::ParsePreference(aArgs[0], preference)); in Process()
674 Interpreter::GetInterpreter().OutputBorderRouterCounters(); in Process()
Dcli_history.cpp177 Interpreter::AddressOriginToString(info->mAddressOrigin), info->mScope, in Process()
184 Interpreter::AddressOriginToString(info->mAddressOrigin), info->mScope, in Process()
291 Interpreter::AddressOriginToString(info->mAddressOrigin)); in Process()
371 char linkModeString[Interpreter::kLinkModeStringSize]; in Process()
406 Interpreter::LinkModeToString(mode, linkModeString); in Process()
650 char linkModeString[Interpreter::kLinkModeStringSize]; in Process()
677Interpreter::LinkModeToString(info->mMode, linkModeString), info->mRloc16, ToUlong(info->mPartitio… in Process()
1344Interpreter::PreferenceToString(info->mPrefix.mPreference), info->mPrefix.mRloc16); in Process()
1433 Interpreter::PreferenceToString(info->mRoute.mPreference), info->mRoute.mRloc16); in Process()
Dcli_network_data.cpp120 OutputLine(" %s %04x", Interpreter::PreferenceToString(aConfig.mPreference), aConfig.mRloc16); in OutputPrefix()
158 OutputLine(" %s %04x", Interpreter::PreferenceToString(aConfig.mPreference), aConfig.mRloc16); in OutputRoute()
346 SuccessOrExit(error = Interpreter::ParsePrefix(aArgs + 1, config)); in Process()
367 SuccessOrExit(error = Interpreter::ParseRoute(aArgs + 1, config)); in Process()
390 SuccessOrExit(error = Interpreter::ParseRoute(aArgs + 2, config)); in Process()
496 error = Interpreter::ParseJoinerDiscerner(aArgs[1], discerner); in Process()
Dcli_srp_client.cpp92 SuccessOrExit(error = Interpreter::ParseEnableOrDisable(aArgs[0], enable)); in Process()
176 error = Interpreter::ParseEnableOrDisable(aArgs[0], mCallbackEnabled); in Process()
458 …return Interpreter::GetInterpreter().ProcessGetSet(aArgs, otSrpClientGetLeaseInterval, otSrpClient… in Process()
480 return Interpreter::GetInterpreter().ProcessGetSet(aArgs, otSrpClientGetKeyLeaseInterval, in Process()
671 …error = Interpreter::GetInterpreter().ProcessEnableDisable(aArgs + 1, otSrpClientIsServiceKeyRecor… in Process()
937 return Interpreter::GetInterpreter().ProcessGetSet(aArgs, otSrpClientGetTtl, otSrpClientSetTtl); in Process()
Dcli_udp.cpp139 …error = Interpreter::ParseToIp6Address(GetInstancePtr(), aArgs[0], sockaddr.mAddress, nat64Synthes… in Process()
274 …SuccessOrExit(error = Interpreter::ParseToIp6Address(GetInstancePtr(), aArgs[0], messageInfo.mPeer… in Process()
364 error = Interpreter::ParseEnableOrDisable(aArgs[0], mLinkSecurityEnabled); in Process()
Dcli_ping.cpp99 SuccessOrExit(error = Interpreter::GetInterpreter().ParseToIp6Address( in Process()
251 void PingSender::OutputResult(otError aError) { Interpreter::GetInterpreter().OutputResult(aError);… in OutputResult()
Dcli_dns.cpp97 SuccessOrExit(error = Interpreter::ParseEnableOrDisable(aArgs[0], enable)); in Process()
408 void Dns::OutputResult(otError aError) { Interpreter::GetInterpreter().OutputResult(aError); } in OutputResult()
425 …SuccessOrExit(error = Interpreter::ParseToIp6Address(GetInstancePtr(), aArgs[0], aConfig->mServerS… in GetDnsConfig()
682 …error = Interpreter::GetInterpreter().ProcessEnableDisable(aArgs + 1, otDnssdUpstreamQueryIsEnable… in Process()
Dcli_joiner.cpp111 SuccessOrExit(Interpreter::ParseJoinerDiscerner(aArgs[0], discerner)); in Process()
Dcli_bbr.cpp293 return Interpreter::GetInterpreter().ProcessGetSet(aArgs, otBackboneRouterGetRegistrationJitter, in Process()
Dcli_link_metrics.cpp525 void LinkMetrics::OutputResult(otError aError) { Interpreter::GetInterpreter().OutputResult(aError)… in OutputResult()
Dcli_srp_server.cpp124 return Interpreter::GetInterpreter().ProcessEnableDisable(aArgs, otSrpServerIsAutoEnableMode, in Process()
Dcli_commissioner.cpp144 error = Interpreter::ParseJoinerDiscerner(aArgs[1], discerner); in Process()
Dcli_tcp.cpp385 …error = Interpreter::ParseToIp6Address(GetInstancePtr(), aArgs[0], sockaddr.mAddress, nat64Synthes… in Process()
/openthread-3.6.0/third_party/mbedtls/repo/
DCMakeLists.txt90 find_package(Python3 COMPONENTS Interpreter)