Lines Matching refs:aArg
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()
552 else if (aArg == "low") in ParsePreference()
590 otError Utils::ParseToIp6Address(otInstance *aInstance, const Arg &aArg, otIp6Address &aAddress, bo… in ParseToIp6Address() argument
594 VerifyOrExit(!aArg.IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ParseToIp6Address()
595 error = aArg.ParseAsIp6Address(aAddress); in ParseToIp6Address()
604 SuccessOrExit(aArg.ParseAsIp4Address(ip4Address)); in ParseToIp6Address()