Home
last modified time | relevance | path

Searched refs:aArg (Results 1 – 12 of 12) sorted by relevance

/openthread-latest/tests/nexus/platform/
Dnexus_utils.hpp74 #define _Stringize(aArg) _Stringize2(aArg) argument
75 #define _Stringize2(aArg) #aArg argument
/openthread-latest/tests/unit/
Dtest_util.h78 #define _Stringize(aArg) _Stringize2(aArg) argument
79 #define _Stringize2(aArg) #aArg argument
/openthread-latest/src/cli/
Dcli_utils.cpp430 otError Utils::ParseEnableOrDisable(const Arg &aArg, bool &aEnable) in ParseEnableOrDisable() argument
434 if (aArg == "enable") in ParseEnableOrDisable()
438 else if (aArg == "disable") in ParseEnableOrDisable()
520 otError Utils::ParseJoinerDiscerner(Arg &aArg, otJoinerDiscerner &aDiscerner) in ParseJoinerDiscerner() argument
525 VerifyOrExit(!aArg.IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ParseJoinerDiscerner()
527 separator = strstr(aArg.GetCString(), "/"); in ParseJoinerDiscerner()
534 error = aArg.ParseAsUint64(aDiscerner.mValue); in ParseJoinerDiscerner()
540 otError Utils::ParsePreference(const Arg &aArg, otRoutePreference &aPreference) in ParsePreference() argument
544 if (aArg == "high") in ParsePreference()
548 else if (aArg == "med") in ParsePreference()
[all …]
Dcli_utils.hpp528 static otError ParseEnableOrDisable(const Arg &aArg, bool &aEnable);
618 static otError ParsePreference(const Arg &aArg, otRoutePreference &aPreference);
645 const Arg &aArg,
658 static otError ParseJoinerDiscerner(Arg &aArg, otJoinerDiscerner &aDiscerner);
Dcli_ping.cpp156 otError PingSender::ParsePingInterval(const Arg &aArg, uint32_t &aInterval) in ParsePingInterval() argument
159 const char *string = aArg.GetCString(); in ParsePingInterval()
Dcli_ping.hpp77 otError ParsePingInterval(const Arg &aArg, uint32_t &aInterval);
Dcli_dns.cpp495 otError Dns::ParseDnsServiceMode(const Arg &aArg, otDnsServiceMode &aMode) const in ParseDnsServiceMode() argument
499 if (aArg == "def") in ParseDnsServiceMode()
507 if (aArg == kServiceModeStrings[index]) in ParseDnsServiceMode()
Dcli_dns.hpp104 otError ParseDnsServiceMode(const Arg &aArg, otDnsServiceMode &aMode) const;
Dcli_mdns.hpp121 static otError ParseStartOrStop(const Arg &aArg, bool &aIsStart);
Dcli_dataset.hpp121 otError ParseTlvs(Arg &aArg, otOperationalDatasetTlvs &aDatasetTlvs);
Dcli_dataset.cpp540 otError Dataset::ParseTlvs(Arg &aArg, otOperationalDatasetTlvs &aDatasetTlvs) in ParseTlvs() argument
546 SuccessOrExit(error = aArg.ParseAsHexString(length, aDatasetTlvs.mTlvs)); in ParseTlvs()
Dcli_mdns.cpp605 otError Mdns::ParseStartOrStop(const Arg &aArg, bool &aIsStart) in ParseStartOrStop() argument
609 if (aArg == "start") in ParseStartOrStop()
613 else if (aArg == "stop") in ParseStartOrStop()