Searched refs:aArg (Results 1 – 12 of 12) sorted by relevance
/openthread-latest/tests/nexus/platform/ |
D | nexus_utils.hpp | 74 #define _Stringize(aArg) _Stringize2(aArg) argument 75 #define _Stringize2(aArg) #aArg argument
|
/openthread-latest/tests/unit/ |
D | test_util.h | 78 #define _Stringize(aArg) _Stringize2(aArg) argument 79 #define _Stringize2(aArg) #aArg argument
|
/openthread-latest/src/cli/ |
D | cli_utils.cpp | 430 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 …]
|
D | cli_utils.hpp | 528 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);
|
D | cli_ping.cpp | 156 otError PingSender::ParsePingInterval(const Arg &aArg, uint32_t &aInterval) in ParsePingInterval() argument 159 const char *string = aArg.GetCString(); in ParsePingInterval()
|
D | cli_ping.hpp | 77 otError ParsePingInterval(const Arg &aArg, uint32_t &aInterval);
|
D | cli_dns.cpp | 495 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()
|
D | cli_dns.hpp | 104 otError ParseDnsServiceMode(const Arg &aArg, otDnsServiceMode &aMode) const;
|
D | cli_mdns.hpp | 121 static otError ParseStartOrStop(const Arg &aArg, bool &aIsStart);
|
D | cli_dataset.hpp | 121 otError ParseTlvs(Arg &aArg, otOperationalDatasetTlvs &aDatasetTlvs);
|
D | cli_dataset.cpp | 540 otError Dataset::ParseTlvs(Arg &aArg, otOperationalDatasetTlvs &aDatasetTlvs) in ParseTlvs() argument 546 SuccessOrExit(error = aArg.ParseAsHexString(length, aDatasetTlvs.mTlvs)); in ParseTlvs()
|
D | cli_mdns.cpp | 605 otError Mdns::ParseStartOrStop(const Arg &aArg, bool &aIsStart) in ParseStartOrStop() argument 609 if (aArg == "start") in ParseStartOrStop() 613 else if (aArg == "stop") in ParseStartOrStop()
|