/openthread-2.7.6/tests/unit/ |
D | test_cmd_line_parser.cpp | 108 {"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/ |
D | cli_tcp.cpp | 91 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 …]
|
D | cli_srp_client.cpp | 55 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 …]
|
D | cli_dataset.cpp | 160 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 …]
|
D | cli.cpp | 283 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 …]
|
D | cli_udp.cpp | 85 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()
|
D | cli_commissioner.cpp | 105 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()
|
D | cli_coap_secure.cpp | 113 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()
|
D | cli_network_data.cpp | 267 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()
|
D | cli_joiner.cpp | 49 otError error = OT_ERROR_INVALID_ARGS; in ProcessDiscerner() 108 VerifyOrExit(!aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessStart()
|
D | cli_srp_server.cpp | 144 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()
|
D | cli_coap.cpp | 174 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/ |
D | entropy.cpp | 101 VerifyOrExit(aOutput && aOutputLength, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet() 126 VerifyOrExit(aOutput && aOutputLength, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet()
|
D | udp.cpp | 276 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()
|
D | hdlc_interface.cpp | 159 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/ |
D | entropy.c | 99 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/ |
D | error.h | 98 OT_ERROR_INVALID_ARGS = 7, enumerator
|
/openthread-2.7.6/src/lib/platform/ |
D | exit_code.h | 123 (aError == OT_ERROR_INVALID_ARGS ? OT_EXIT_INVALID_ARGUMENTS : OT_EXIT_FAILURE))
|
/openthread-2.7.6/src/ncp/ |
D | ncp_base_radio.cpp | 481 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()
|
D | ncp_base.cpp | 110 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 …]
|
D | changed_props_set.cpp | 168 return didFind ? OT_ERROR_NONE : OT_ERROR_INVALID_ARGS; in EnablePropertyFilter()
|
/openthread-2.7.6/src/lib/spinel/ |
D | spinel_buffer.cpp | 399 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/ |
D | entropy.c | 92 otEXPECT_ACTION(aOutput, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet()
|
/openthread-2.7.6/src/core/common/ |
D | error.hpp | 63 constexpr Error kErrorInvalidArgs = OT_ERROR_INVALID_ARGS;
|
/openthread-2.7.6/examples/platforms/utils/ |
D | link_metrics.cpp | 192 VerifyOrExit(aExtAddress != nullptr, error = OT_ERROR_INVALID_ARGS); in otLinkMetricsConfigureEnhAckProbing()
|