Home
last modified time | relevance | path

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

/external/openthread/src/cli/
Dcli_commissioner.cpp53 SuccessOrExit(error = aArgs[2].ParseAsUint16(period)); in Process()
73 SuccessOrExit(error = aArgs[2].ParseAsUint16(period)); in Process()
74 SuccessOrExit(error = aArgs[3].ParseAsUint16(scanDuration)); in Process()
257 SuccessOrExit(error = aArgs->ParseAsUint16(dataset.mLocator)); in Process()
263 SuccessOrExit(error = aArgs->ParseAsUint16(dataset.mSessionId)); in Process()
279 SuccessOrExit(error = aArgs->ParseAsUint16(dataset.mJoinerUdpPort)); in Process()
309 SuccessOrExit(error = aArgs[0].ParseAsUint16(panId)); in Process()
Dcli_udp.cpp84 SuccessOrExit(error = aArgs[1].ParseAsUint16(sockaddr.mPort)); in ProcessBind()
99 SuccessOrExit(error = aArgs[1].ParseAsUint16(sockaddr.mPort)); in ProcessConnect()
147 SuccessOrExit(error = aArgs[1].ParseAsUint16(messageInfo.mPeerPort)); in ProcessSend()
160 SuccessOrExit(error = aArgs[1].ParseAsUint16(payloadLength)); in ProcessSend()
Dcli_srp_client.cpp370 SuccessOrExit(error = aArgs[3].ParseAsUint16(entry->mService.mPort)); in ProcessServiceAdd()
408 SuccessOrExit(error = aArgs[3].ParseAsUint16(entry->mService.mPort)); in ProcessServiceAdd()
412 SuccessOrExit(error = aArgs[4].ParseAsUint16(entry->mService.mPriority)); in ProcessServiceAdd()
417 SuccessOrExit(error = aArgs[5].ParseAsUint16(entry->mService.mWeight)); in ProcessServiceAdd()
516 SuccessOrExit(error = aArgs[1].ParseAsUint16(serverSockAddr.mPort)); in Process()
Dcli_dataset.cpp236 SuccessOrExit(error = aArgs[0].ParseAsUint16(sDataset.mChannel)); in Process()
412 SuccessOrExit(error = aArgs[0].ParseAsUint16(sDataset.mPanId)); in Process()
508 SuccessOrExit(error = arg->ParseAsUint16(dataset.mPanId)); in Process()
514 SuccessOrExit(error = arg->ParseAsUint16(dataset.mChannel)); in Process()
752 SuccessOrExit(error = aArgs->ParseAsUint16(policy.mRotationTime)); in ParseSecurityPolicy()
Dcli_tcp.cpp165 SuccessOrExit(error = aArgs[1].ParseAsUint16(sockaddr.mPort)); in ProcessBind()
182 SuccessOrExit(error = aArgs[1].ParseAsUint16(sockaddr.mPort)); in ProcessConnect()
295 SuccessOrExit(error = aArgs[1].ParseAsUint16(sockaddr.mPort)); in ProcessListen()
Dcli_network_data.cpp224 SuccessOrExit(error = aArgs[2].ParseAsUint16(port)); in Process()
248 SuccessOrExit(error = aArgs[3].ParseAsUint16(port)); in Process()
Dcli.cpp873 SuccessOrExit(error = arg->ParseAsUint16(config.mReregistrationDelay)); in ProcessBackboneRouterLocal()
1248 SuccessOrExit(error = aArgs[0].ParseAsUint16(childId)); in Process()
1825 SuccessOrExit(error = aArgs[1].ParseAsUint16(aConfig->mServerSockAddr.mPort)); in GetDnsConfig()
3351 SuccessOrExit(error = aArgs[0].ParseAsUint16(period)); in Process()
3352 SuccessOrExit(error = aArgs[1].ParseAsUint16(xtalThreshold)); in Process()
3523 SuccessOrExit(error = aArgs[1].ParseAsUint16(config.mSize)); in Process()
3528 SuccessOrExit(error = aArgs[2].ParseAsUint16(config.mCount)); in Process()
4090 SuccessOrExit(error = aArgs[0].ParseAsUint16(routerId)); in Process()
4167 SuccessOrExit(error = aArgs->ParseAsUint16(scanDuration)); in Process()
4291 SuccessOrExit(error = aArgs[2].ParseAsUint16(port)); in Process()
Dcli_history.cpp62 if (aArgs->ParseAsUint16(aNumEntries) == OT_ERROR_NONE) in ParseArgs()
Dcli_coap_secure.cpp398 SuccessOrExit(error = aArgs[1].ParseAsUint16(sockaddr.mPort)); in ProcessConnect()
/external/openthread/src/core/utils/
Dparse_cmdline.hpp82 otError ParseAsUint16(const char *aString, uint16_t &aUint16);
390 …otError ParseAsUint16(uint16_t &aUint16) const { return CmdLineParser::ParseAsUint16(mString, aUin… in ParseAsUint16() function in ot::Utils::CmdLineParser::Arg
639 return ParseAsUint16(aValue); in ParseAs()
Dparse_cmdline.cpp145 Error ParseAsUint16(const char *aString, uint16_t &aUint16) in ParseAsUint16() function
/external/openthread/tests/unit/
Dtest_cmd_line_parser.cpp46 using ot::Utils::CmdLineParser::ParseAsUint16;
236 VerifyParser<uint16_t, ParseAsUint16>(kUint16TestCases, "ParseAsUint16", "0x%04x"); in TestParsingInts()