Searched refs:CmdLineParser (Results 1 – 14 of 14) sorted by relevance
/openthread-latest/src/core/utils/ |
D | parse_cmdline.hpp | 47 namespace CmdLineParser { namespace 366 …otError ParseAsUint8(uint8_t &aUint8) const { return CmdLineParser::ParseAsUint8(mString, aUint8);… in ParseAsUint8() 378 …otError ParseAsUint16(uint16_t &aUint16) const { return CmdLineParser::ParseAsUint16(mString, aUin… in ParseAsUint16() 390 …otError ParseAsUint32(uint32_t &aUint32) const { return CmdLineParser::ParseAsUint32(mString, aUin… in ParseAsUint32() 402 …otError ParseAsUint64(uint64_t &aUint64) const { return CmdLineParser::ParseAsUint64(mString, aUin… in ParseAsUint64() 415 otError ParseAsInt8(int8_t &aInt8) const { return CmdLineParser::ParseAsInt8(mString, aInt8); } in ParseAsInt8() 428 …otError ParseAsInt16(int16_t &aInt16) const { return CmdLineParser::ParseAsInt16(mString, aInt16);… in ParseAsInt16() 441 …otError ParseAsInt32(int32_t &aInt32) const { return CmdLineParser::ParseAsInt32(mString, aInt32);… in ParseAsInt32() 453 otError ParseAsBool(bool &aBool) const { return CmdLineParser::ParseAsBool(mString, aBool); } in ParseAsBool() 466 return CmdLineParser::ParseAsIp6Address(mString, aAddress); in ParseAsIp6Address() [all …]
|
D | parse_cmdline.cpp | 45 namespace CmdLineParser { namespace
|
/openthread-latest/src/posix/platform/ |
D | power.cpp | 56 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint8(str, mChannelStart)); in FromString() 59 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint8(str, mChannelEnd)); in FromString() 62 SuccessOrExit(error = Utils::CmdLineParser::ParseAsInt16(str, mTargetPower)); in FromString() 82 …SuccessOrExit(error = ot::Utils::CmdLineParser::ParseAsHexString(aRawPowerSetting, length, mData)); in Set() 105 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint8(str, mChannelStart)); in FromString() 108 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint8(str, mChannelEnd)); in FromString() 111 SuccessOrExit(error = Utils::CmdLineParser::ParseAsInt16(str, mActualPower)); in FromString()
|
D | configuration.cpp | 142 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint32(str, channelMask)); in GetChannelMask()
|
D | radio.cpp | 750 …error = ot::Utils::CmdLineParser::ParseAsHexString(rawPowerSetting, *aRawPowerSettingLength, aRawP… in otPlatDiagRadioGetPowerSettings() 803 …SuccessOrExit(error = ot::Utils::CmdLineParser::ParseAsHexString(str, *aRawPowerSettingLength, aRa… in otPlatDiagRadioGetRawPowerSetting()
|
/openthread-latest/tools/ot-fct/ |
D | cli.hpp | 67 void ProcessCommand(Utils::CmdLineParser::Arg aArgs[]); 91 otError (Cli::*mCommand)(Utils::CmdLineParser::Arg aArgs[]); 98 otError ProcessCalibrationTable(Utils::CmdLineParser::Arg aArgs[]); 99 otError ProcessTargetPowerTable(Utils::CmdLineParser::Arg aArgs[]); 100 otError ProcessRegionDomainTable(Utils::CmdLineParser::Arg aArgs[]);
|
D | cli.cpp | 94 otError Cli::ProcessTargetPowerTable(Utils::CmdLineParser::Arg aArgs[]) in ProcessTargetPowerTable() 120 otError Cli::ProcessRegionDomainTable(Utils::CmdLineParser::Arg aArgs[]) in ProcessRegionDomainTable() 168 SuccessOrExit(error = Utils::CmdLineParser::ParseAsInt16(start, actualPower)); in ParseNextCalibratedPower() 179 otError Cli::ProcessCalibrationTable(Utils::CmdLineParser::Arg aArgs[]) in ProcessCalibrationTable() 211 for (Utils::CmdLineParser::Arg *arg = &aArgs[1]; !arg->IsEmpty(); arg++) in ProcessCalibrationTable() 220 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint8(subString, channel)); in ProcessCalibrationTable() 225 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint8(subString, channel)); in ProcessCalibrationTable() 274 void Cli::ProcessCommand(Utils::CmdLineParser::Arg aArgs[]) in ProcessCommand() 294 Utils::CmdLineParser::Arg args[kMaxArgs + 1]; in ProcessLine() 296 SuccessOrExit(ot::Utils::CmdLineParser::ParseCmd(aLine, args, kMaxArgs)); in ProcessLine()
|
D | main.cpp | 44 ot::Utils::CmdLineParser::Arg args[kMaxArgs + 1]; in main()
|
/openthread-latest/tests/unit/ |
D | test_cmd_line_parser.cpp | 42 using Utils::CmdLineParser::ParseAsBool; 43 using Utils::CmdLineParser::ParseAsHexString; 44 using Utils::CmdLineParser::ParseAsHexStringSegment; 45 using Utils::CmdLineParser::ParseAsInt16; 46 using Utils::CmdLineParser::ParseAsInt32; 47 using Utils::CmdLineParser::ParseAsInt8; 48 using Utils::CmdLineParser::ParseAsUint16; 49 using Utils::CmdLineParser::ParseAsUint32; 50 using Utils::CmdLineParser::ParseAsUint64; 51 using Utils::CmdLineParser::ParseAsUint8;
|
/openthread-latest/src/core/diags/ |
D | factory_diags.cpp | 90 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint8(aArgs[0], channel)); in ProcessChannel() 106 SuccessOrExit(error = Utils::CmdLineParser::ParseAsInt8(aArgs[0], power)); in ProcessPower() 131 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint32(aArgs[1], number)); in ProcessEcho() 249 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint8(aArgs[0], maxCsmaBackoffs)); 261 … SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint8(aArgs[0], rxChannelAfterTxDone)); 270 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint32(aArgs[0], txDelay)); 279 SuccessOrExit(error = Utils::CmdLineParser::ParseAsInt8(aArgs[0], txPower)); 287 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint8(aArgs[0], maxFrameRetries)); 309 SuccessOrExit(error = Utils::CmdLineParser::ParseAsHexString(aArgs[0], size, mTxPacket->mPsdu)); 342 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint8(aArgs[0], channel)); [all …]
|
/openthread-latest/src/cli/ |
D | cli_udp.cpp | 412 error = ot::Utils::CmdLineParser::ParseAsHexStringSegment(aHexString, length, buf); in PrepareHexStringPayload()
|
D | cli_utils.hpp | 119 typedef ot::Utils::CmdLineParser::Arg Arg; ///< An argument
|
D | cli_utils.cpp | 531 … SuccessOrExit(error = ot::Utils::CmdLineParser::ParseAsUint8(separator + 1, aDiscerner.mLength)); in ParseJoinerDiscerner()
|
D | cli.cpp | 304 error = ot::Utils::CmdLineParser::ParseCmd(aLine, args, kMaxArgs); in ProcessLine()
|