Home
last modified time | relevance | path

Searched refs:OT_ERROR_INVALID_ARGS (Results 1 – 25 of 35) sorted by relevance

12

/openthread-2.7.6/tests/unit/
Dtest_cmd_line_parser.cpp108 {"a", OT_ERROR_INVALID_ARGS, false}, // Error case: Incorrect char in TestParsingInts()
109 {"-1", OT_ERROR_INVALID_ARGS, false}, // Error case: Negative value in TestParsingInts()
110 {"", OT_ERROR_INVALID_ARGS, false}, // Empty string indicate end of the list in TestParsingInts()
132 {"-5", OT_ERROR_INVALID_ARGS, 0}, // Error case: Negative value. in TestParsingInts()
133 {"0y", OT_ERROR_INVALID_ARGS, 0}, // Error case: Incorrect prefix. in TestParsingInts()
134 {"0x7g", OT_ERROR_INVALID_ARGS, 0}, // Error case: Bad hex char. in TestParsingInts()
135 {"0xaaa", OT_ERROR_INVALID_ARGS, 0}, // Error case: Out or range. in TestParsingInts()
136 {"256", OT_ERROR_INVALID_ARGS, 0}, // Error case: Out of range (max value + 1) in TestParsingInts()
137 {"12e", OT_ERROR_INVALID_ARGS, 0}, // Error case: Extra char. in TestParsingInts()
138 {"", OT_ERROR_INVALID_ARGS, 0} // Empty string indicates end of the list in TestParsingInts()
[all …]
/openthread-2.7.6/src/cli/
Dcli_tcp.cpp91 VerifyOrExit(aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessInit()
95 error = OT_ERROR_INVALID_ARGS); in ProcessInit()
141 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessDeinit()
166 VerifyOrExit(aArgs[2].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessBind()
183 VerifyOrExit(aArgs[2].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessConnect()
202 VerifyOrExit(!aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessSend()
205 VerifyOrExit(aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessSend()
229 VerifyOrExit(mBenchmarkBytesTotal != 0, error = OT_ERROR_INVALID_ARGS); in ProcessBenchmark()
231 VerifyOrExit(aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessBenchmark()
265 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessSendEnd()
[all …]
Dcli_srp_client.cpp55 VerifyOrExit(len + 1 <= aDestSize, error = OT_ERROR_INVALID_ARGS); in CopyString()
170 VerifyOrExit(aArgs[2].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessHost()
174 VerifyOrExit(len + 1 <= size, error = OT_ERROR_INVALID_ARGS); in ProcessHost()
190 VerifyOrExit(aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessHost()
251 VerifyOrExit(aArgs[3].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessHost()
259 VerifyOrExit(aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessHost()
296 VerifyOrExit(aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessServer()
337 VerifyOrExit(!aArgs[2].IsEmpty() && aArgs[3].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessService()
376 VerifyOrExit(aArgs[2].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessService()
461 VerifyOrExit(aArgs[7].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessServiceAdd()
[all …]
Dcli_dataset.cpp160 otError error = OT_ERROR_INVALID_ARGS; in ProcessInit()
193 otError error = OT_ERROR_INVALID_ARGS; in ProcessActive()
217 otError error = OT_ERROR_INVALID_ARGS; in ProcessPending()
312 otError error = OT_ERROR_INVALID_ARGS; in ProcessCommit()
514 VerifyOrExit(!arg->IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessMgmtSetCommand()
573 ExitNow(error = OT_ERROR_INVALID_ARGS); in ProcessMgmtSetCommand()
589 error = OT_ERROR_INVALID_ARGS; in ProcessMgmtSetCommand()
666 ExitNow(error = OT_ERROR_INVALID_ARGS); in ProcessMgmtGetCommand()
682 error = OT_ERROR_INVALID_ARGS; in ProcessMgmtGetCommand()
706 VerifyOrExit(!aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessPskc()
[all …]
Dcli.cpp283 VerifyOrExit(!aArg.IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ParseJoinerDiscerner()
290 VerifyOrExit(aDiscerner.mLength > 0 && aDiscerner.mLength <= 64, error = OT_ERROR_INVALID_ARGS); in ParseJoinerDiscerner()
330 VerifyOrExit(factor == msFactor, error = OT_ERROR_INVALID_ARGS); in ParsePingInterval()
337 ExitNow(error = OT_ERROR_INVALID_ARGS); in ParsePingInterval()
494 VerifyOrExit(aArgs[4].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessBackboneRouter()
548 VerifyOrExit(aArgs[4].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessBackboneRouterMgmtMlr()
643 ExitNow(error = OT_ERROR_INVALID_ARGS); in ProcessBackboneRouterLocal()
833 ExitNow(error = OT_ERROR_INVALID_ARGS); in ProcessChannel()
899 ExitNow(error = OT_ERROR_INVALID_ARGS); in ProcessChannel()
1056 otError error = OT_ERROR_INVALID_ARGS; in ProcessChildSupervision()
[all …]
Dcli_udp.cpp85 VerifyOrExit(aArgs[2].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessBind()
100 VerifyOrExit(aArgs[2].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessConnect()
167 VerifyOrExit(!aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessSend()
179 VerifyOrExit(!aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessSend()
271 otError error = OT_ERROR_INVALID_ARGS; in Process()
Dcli_commissioner.cpp105 VerifyOrExit(!aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessJoiner()
130 VerifyOrExit(!aArgs[2].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessJoiner()
160 error = OT_ERROR_INVALID_ARGS; in ProcessJoiner()
204 ExitNow(error = OT_ERROR_INVALID_ARGS); in ProcessMgmtGet()
221 VerifyOrExit(!aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessMgmtSet()
266 ExitNow(error = OT_ERROR_INVALID_ARGS); in ProcessMgmtSet()
Dcli_coap_secure.cpp113 VerifyOrExit(aArgs[0].GetLength() < kMaxUriLength, error = OT_ERROR_INVALID_ARGS); in ProcessResource()
151 … VerifyOrExit(aArgs[0].GetLength() < sizeof(mResourceContent), error = OT_ERROR_INVALID_ARGS); in ProcessSet()
177 VerifyOrExit(aArgs[0] == "true", error = OT_ERROR_INVALID_ARGS); in ProcessStart()
252 VerifyOrExit(!aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessRequest()
253 VerifyOrExit(aArgs[0].GetLength() < sizeof(coapUri), error = OT_ERROR_INVALID_ARGS); in ProcessRequest()
422 VerifyOrExit(!aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessPsk()
425 VerifyOrExit(length <= sizeof(mPsk), error = OT_ERROR_INVALID_ARGS); in ProcessPsk()
430 VerifyOrExit(length <= sizeof(mPskId), error = OT_ERROR_INVALID_ARGS); in ProcessPsk()
462 otError error = OT_ERROR_INVALID_ARGS; in Process()
Dcli_network_data.cpp267 error = OT_ERROR_INVALID_ARGS; in ProcessPublish()
297 error = OT_ERROR_INVALID_ARGS; in ProcessUnpublish()
328 VerifyOrExit(aArgs[0] == "check", error = OT_ERROR_INVALID_ARGS); in ProcessSteeringData()
409 otError error = OT_ERROR_INVALID_ARGS; in ProcessShow()
Dcli_joiner.cpp49 otError error = OT_ERROR_INVALID_ARGS; in ProcessDiscerner()
108 VerifyOrExit(!aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessStart()
Dcli_srp_server.cpp144 VerifyOrExit(aArgs[4].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessLease()
158 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessHost()
223 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessService()
Dcli_coap.cpp174 VerifyOrExit(aArgs[0].GetLength() < kMaxUriLength, error = OT_ERROR_INVALID_ARGS); in ProcessResource()
217 … VerifyOrExit(aArgs[0].GetLength() < sizeof(mResourceContent), error = OT_ERROR_INVALID_ARGS); in ProcessSet()
307 ExitNow(error = OT_ERROR_INVALID_ARGS); in ProcessParameters()
324 error = OT_ERROR_INVALID_ARGS); in ProcessParameters()
404 VerifyOrExit(!aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessRequest()
405 VerifyOrExit(aArgs[1].GetLength() < sizeof(coapUri), error = OT_ERROR_INVALID_ARGS); in ProcessRequest()
581 otError error = OT_ERROR_INVALID_ARGS; in Process()
/openthread-2.7.6/src/posix/platform/
Dentropy.cpp101 VerifyOrExit(aOutput && aOutputLength, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet()
126 VerifyOrExit(aOutput && aOutputLength, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet()
Dudp.cpp276 VerifyOrExit(aUdpSocket->mSockName.mPort != 0, error = OT_ERROR_INVALID_ARGS); in otPlatUdpBind()
370 VerifyOrExit(aUdpSocket->mHandle != nullptr, error = OT_ERROR_INVALID_ARGS); in otPlatUdpConnect()
435 VerifyOrExit(aUdpSocket->mHandle != nullptr, error = OT_ERROR_INVALID_ARGS); in otPlatUdpSend()
439 VerifyOrExit(len == otMessageRead(aMessage, 0, payload, len), error = OT_ERROR_INVALID_ARGS); in otPlatUdpSend()
474 VerifyOrExit(aUdpSocket->mHandle != nullptr, error = OT_ERROR_INVALID_ARGS); in otPlatUdpJoinMulticastGroup()
514 VerifyOrExit(aUdpSocket->mHandle != nullptr, error = OT_ERROR_INVALID_ARGS); in otPlatUdpLeaveMulticastGroup()
Dhdlc_interface.cpp159 VerifyOrExit(mSockFd != -1, error = OT_ERROR_INVALID_ARGS); in Init()
165 VerifyOrExit(mSockFd != -1, error = OT_ERROR_INVALID_ARGS); in Init()
171 ExitNow(error = OT_ERROR_INVALID_ARGS); in Init()
/openthread-2.7.6/examples/platforms/simulation/
Dentropy.c99 otEXPECT_ACTION(aOutput && aOutputLength, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet()
124 otEXPECT_ACTION(aOutput && aOutputLength, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet()
/openthread-2.7.6/include/openthread/
Derror.h98 OT_ERROR_INVALID_ARGS = 7, enumerator
/openthread-2.7.6/src/lib/platform/
Dexit_code.h123 (aError == OT_ERROR_INVALID_ARGS ? OT_EXIT_INVALID_ARGUMENTS : OT_EXIT_FAILURE))
/openthread-2.7.6/src/ncp/
Dncp_base_radio.cpp481 VerifyOrExit(keyIdMode == Mac::Frame::kKeyIdMode1, error = OT_ERROR_INVALID_ARGS); in HandlePropertySet()
486 VerifyOrExit(keySize == sizeof(otMacKey), error = OT_ERROR_INVALID_ARGS); in HandlePropertySet()
489 VerifyOrExit(keySize == sizeof(otMacKey), error = OT_ERROR_INVALID_ARGS); in HandlePropertySet()
492 VerifyOrExit(keySize == sizeof(otMacKey), error = OT_ERROR_INVALID_ARGS); in HandlePropertySet()
Dncp_base.cpp110 case OT_ERROR_INVALID_ARGS: in ThreadErrorToSpinelStatus()
1281 VerifyOrExit(count != 0, parseError = OT_ERROR_INVALID_ARGS); in CommandHandler_PEEK()
1285 VerifyOrExit(mAllowPeekDelegate(address, count), parseError = OT_ERROR_INVALID_ARGS); in CommandHandler_PEEK()
1315 VerifyOrExit(count != 0, parseError = OT_ERROR_INVALID_ARGS); in CommandHandler_POKE()
1316 VerifyOrExit(count <= dataLen, parseError = OT_ERROR_INVALID_ARGS); in CommandHandler_POKE()
1320 VerifyOrExit(mAllowPokeDelegate(address, count), parseError = OT_ERROR_INVALID_ARGS); in CommandHandler_POKE()
1449 error = OT_ERROR_INVALID_ARGS; in HandlePropertySet()
1558 VerifyOrExit(channel <= 31, error = OT_ERROR_INVALID_ARGS); in DecodeChannelMask()
1660 VerifyOrExit(HasOnly1BitSet(mScanChannelMask), error = OT_ERROR_INVALID_ARGS); in HandlePropertySet()
2018 ExitNow(error = OT_ERROR_INVALID_ARGS); in HandlePropertySet()
[all …]
Dchanged_props_set.cpp168 return didFind ? OT_ERROR_NONE : OT_ERROR_INVALID_ARGS; in EnablePropertyFilter()
/openthread-2.7.6/src/lib/spinel/
Dspinel_buffer.cpp399 VerifyOrExit(aMessage != nullptr, error = OT_ERROR_INVALID_ARGS); in InFrameFeedMessage()
441 VerifyOrExit(aPosition.mSegmentHead == mWriteSegmentHead, error = OT_ERROR_INVALID_ARGS); in InFrameOverwrite()
446 VerifyOrExit(distance + aDataBufferLength <= segmentLength, error = OT_ERROR_INVALID_ARGS); in InFrameOverwrite()
489 VerifyOrExit(aPosition.mSegmentHead == mWriteSegmentHead, error = OT_ERROR_INVALID_ARGS); in InFrameReset()
493 VerifyOrExit(offset < segmentLength, error = OT_ERROR_INVALID_ARGS); in InFrameReset()
/openthread-2.7.6/examples/platforms/cc2538/
Dentropy.c92 otEXPECT_ACTION(aOutput, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet()
/openthread-2.7.6/src/core/common/
Derror.hpp63 constexpr Error kErrorInvalidArgs = OT_ERROR_INVALID_ARGS;
/openthread-2.7.6/examples/platforms/utils/
Dlink_metrics.cpp192 VerifyOrExit(aExtAddress != nullptr, error = OT_ERROR_INVALID_ARGS); in otLinkMetricsConfigureEnhAckProbing()

12