Lines Matching refs:Utils

51 const char Utils::kUnknownString[] = "unknown";
63 void Utils::OutputFormat(const char *aFormat, ...) in OutputFormat()
72 void Utils::OutputFormat(uint8_t aIndentSize, const char *aFormat, ...) in OutputFormat()
83 void Utils::OutputLine(const char *aFormat, ...) in OutputLine()
94 void Utils::OutputLine(uint8_t aIndentSize, const char *aFormat, ...) in OutputLine()
107 void Utils::OutputNewLine(void) { OutputFormat("\r\n"); } in OutputNewLine()
109 void Utils::OutputSpaces(uint8_t aCount) { OutputFormat("%*s", aCount, ""); } in OutputSpaces()
111 void Utils::OutputBytes(const uint8_t *aBytes, uint16_t aLength) in OutputBytes()
119 void Utils::OutputBytesLine(const uint8_t *aBytes, uint16_t aLength) in OutputBytesLine()
125 const char *Utils::Uint64ToString(uint64_t aUint64, Uint64StringBuffer &aBuffer) in Uint64ToString()
146 void Utils::OutputUint64(uint64_t aUint64) in OutputUint64()
153 void Utils::OutputUint64Line(uint64_t aUint64) in OutputUint64Line()
159 void Utils::OutputEnabledDisabledStatus(bool aEnabled) { OutputLine(aEnabled ? "Enabled" : "Disable… in OutputEnabledDisabledStatus()
163 void Utils::OutputIp6Address(const otIp6Address &aAddress) in OutputIp6Address()
172 void Utils::OutputIp6AddressLine(const otIp6Address &aAddress) in OutputIp6AddressLine()
178 void Utils::OutputIp6Prefix(const otIp6Prefix &aPrefix) in OutputIp6Prefix()
187 void Utils::OutputIp6PrefixLine(const otIp6Prefix &aPrefix) in OutputIp6PrefixLine()
193 void Utils::OutputIp6Prefix(const otIp6NetworkPrefix &aPrefix) in OutputIp6Prefix()
199 void Utils::OutputIp6PrefixLine(const otIp6NetworkPrefix &aPrefix) in OutputIp6PrefixLine()
205 void Utils::OutputSockAddr(const otSockAddr &aSockAddr) in OutputSockAddr()
214 void Utils::OutputSockAddrLine(const otSockAddr &aSockAddr) in OutputSockAddrLine()
220 void Utils::OutputDnsTxtData(const uint8_t *aTxtData, uint16_t aTxtDataLength) in OutputDnsTxtData()
265 const char *Utils::PercentageToString(uint16_t aValue, PercentageStringBuffer &aBuffer) in PercentageToString()
278 void Utils::OutputFormatV(const char *aFormat, va_list aArguments) { mImplementer.OutputV(aFormat, … in OutputFormatV()
373 void Utils::LogInput(const Arg *aArgs) in LogInput()
386 void Utils::OutputTableHeader(uint8_t aNumColumns, const char *const aTitles[], const uint8_t aWidt… in OutputTableHeader()
415 void Utils::OutputTableSeparator(uint8_t aNumColumns, const uint8_t aWidths[]) in OutputTableSeparator()
430 otError Utils::ParseEnableOrDisable(const Arg &aArg, bool &aEnable) in ParseEnableOrDisable()
450 otError Utils::ProcessEnableDisable(Arg aArgs[], SetEnabledHandler aSetEnabledHandler) in ProcessEnableDisable()
467 otError Utils::ProcessEnableDisable(Arg aArgs[], SetEnabledHandlerFailable aSetEnabledHandler) in ProcessEnableDisable()
484 otError Utils::ProcessEnableDisable(Arg aArgs[], in ProcessEnableDisable()
502 otError Utils::ProcessEnableDisable(Arg aArgs[], in ProcessEnableDisable()
520 otError Utils::ParseJoinerDiscerner(Arg &aArg, otJoinerDiscerner &aDiscerner) in ParseJoinerDiscerner()
531 … SuccessOrExit(error = ot::Utils::CmdLineParser::ParseAsUint8(separator + 1, aDiscerner.mLength)); in ParseJoinerDiscerner()
540 otError Utils::ParsePreference(const Arg &aArg, otRoutePreference &aPreference) in ParsePreference()
564 const char *Utils::PreferenceToString(signed int aPreference) in PreferenceToString()
590 otError Utils::ParseToIp6Address(otInstance *aInstance, const Arg &aArg, otIp6Address &aAddress, bo… in ParseToIp6Address()
614 otError Utils::ParsePrefix(Arg aArgs[], otBorderRouterConfig &aConfig) in ParsePrefix()
688 otError Utils::ParseRoute(Arg aArgs[], otExternalRouteConfig &aConfig) in ParseRoute()
739 const char *Utils::LinkModeToString(const otLinkModeConfig &aLinkMode, char (&aStringBuffer)[kLinkM… in LinkModeToString()
768 const char *Utils::AddressOriginToString(uint8_t aOrigin) in AddressOriginToString()