/openthread-3.4.0/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-3.4.0/examples/platforms/simulation/ |
D | diag.c | 82 otEXPECT_ACTION(aGpio == SIM_GPIO, error = OT_ERROR_INVALID_ARGS); in otPlatDiagGpioSet() 93 otEXPECT_ACTION((aGpio == SIM_GPIO) && (aValue != NULL), error = OT_ERROR_INVALID_ARGS); in otPlatDiagGpioGet() 104 otEXPECT_ACTION(aGpio == SIM_GPIO, error = OT_ERROR_INVALID_ARGS); in otPlatDiagGpioSetMode() 115 otEXPECT_ACTION((aGpio == SIM_GPIO) && (aMode != NULL), error = OT_ERROR_INVALID_ARGS); in otPlatDiagGpioGetMode() 130 error = OT_ERROR_INVALID_ARGS); in otPlatDiagRadioSetRawPowerSetting() 145 …ION((aRawPowerSetting != NULL) && (aRawPowerSettingLength != NULL), error = OT_ERROR_INVALID_ARGS); in otPlatDiagRadioGetRawPowerSetting() 147 …tEXPECT_ACTION((sRawPowerSettingLength <= *aRawPowerSettingLength), error = OT_ERROR_INVALID_ARGS); in otPlatDiagRadioGetRawPowerSetting()
|
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-3.4.0/src/cli/ |
D | cli_srp_client.cpp | 53 VerifyOrExit(len + 1 <= aDestSize, error = OT_ERROR_INVALID_ARGS); in CopyString() 134 VerifyOrExit(aArgs[2].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 138 VerifyOrExit(len + 1 <= size, error = OT_ERROR_INVALID_ARGS); in Process() 154 VerifyOrExit(aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 224 VerifyOrExit(aArgs[3].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 232 VerifyOrExit(aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 267 VerifyOrExit(aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 305 VerifyOrExit(!aArgs[2].IsEmpty() && aArgs[3].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 343 VerifyOrExit(aArgs[2].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 442 VerifyOrExit(aArgs[9].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessServiceAdd() [all …]
|
D | cli_br.cpp | 61 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 82 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 115 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 144 ExitNow(error = OT_ERROR_INVALID_ARGS); in ParsePrefixTypeArgs() 147 VerifyOrExit(aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ParsePrefixTypeArgs() 372 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 480 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process()
|
D | cli.cpp | 361 VerifyOrExit(!aArg.IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ParseJoinerDiscerner() 368 VerifyOrExit(aDiscerner.mLength > 0 && aDiscerner.mLength <= 64, error = OT_ERROR_INVALID_ARGS); in ParseJoinerDiscerner() 408 VerifyOrExit(factor == msFactor, error = OT_ERROR_INVALID_ARGS); in ParsePingInterval() 415 ExitNow(error = OT_ERROR_INVALID_ARGS); in ParsePingInterval() 445 error = OT_ERROR_INVALID_ARGS; in ParsePreference() 483 VerifyOrExit(!aArg.IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ParseToIp6Address() 949 VerifyOrExit(aArgs[4].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 1042 VerifyOrExit(aArgs[4].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessBackboneRouterMgmtMlr() 1241 ExitNow(error = OT_ERROR_INVALID_ARGS); in ProcessBackboneRouterLocal() 1433 error = OT_ERROR_INVALID_ARGS; in Process() [all …]
|
D | cli_tcp.cpp | 170 ExitNow(error = OT_ERROR_INVALID_ARGS); in Process() 185 error = OT_ERROR_INVALID_ARGS); in Process() 242 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 283 VerifyOrExit(aArgs[2].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 308 VerifyOrExit(aArgs[2].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 335 VerifyOrExit(!aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 336 VerifyOrExit(aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 390 VerifyOrExit(mBenchmarkBytesTotal != 0, error = OT_ERROR_INVALID_ARGS); in Process() 392 VerifyOrExit(aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 433 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() [all …]
|
D | cli_network_data.cpp | 176 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 216 error = OT_ERROR_INVALID_ARGS; in Process() 382 error = OT_ERROR_INVALID_ARGS; in Process() 433 error = OT_ERROR_INVALID_ARGS; in Process() 480 VerifyOrExit(aArgs[0] == "check", error = OT_ERROR_INVALID_ARGS); in Process() 747 otError error = OT_ERROR_INVALID_ARGS; in Process() 784 ExitNow(error = OT_ERROR_INVALID_ARGS); in Process()
|
D | cli_dataset.cpp | 146 otError error = OT_ERROR_INVALID_ARGS; in Process() 222 error = OT_ERROR_INVALID_ARGS; in Process() 246 error = OT_ERROR_INVALID_ARGS; in Process() 397 otError error = OT_ERROR_INVALID_ARGS; in Process() 771 VerifyOrExit(!arg->IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 830 ExitNow(error = OT_ERROR_INVALID_ARGS); in Process() 878 error = OT_ERROR_INVALID_ARGS; in Process() 955 ExitNow(error = OT_ERROR_INVALID_ARGS); in Process() 1016 error = OT_ERROR_INVALID_ARGS; in Process() 1068 VerifyOrExit(!aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() [all …]
|
D | cli_coap_secure.cpp | 99 VerifyOrExit(aArgs[0].GetLength() < kMaxUriLength, error = OT_ERROR_INVALID_ARGS); in Process() 137 … VerifyOrExit(aArgs[0].GetLength() < sizeof(mResourceContent), error = OT_ERROR_INVALID_ARGS); in Process() 163 VerifyOrExit(aArgs[0] == "true", error = OT_ERROR_INVALID_ARGS); in Process() 229 VerifyOrExit(!aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessRequest() 230 VerifyOrExit(aArgs[0].GetLength() < sizeof(coapUri), error = OT_ERROR_INVALID_ARGS); in ProcessRequest() 399 VerifyOrExit(!aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 402 VerifyOrExit(length <= sizeof(mPsk), error = OT_ERROR_INVALID_ARGS); in Process() 407 VerifyOrExit(length <= sizeof(mPskId), error = OT_ERROR_INVALID_ARGS); in Process() 465 ExitNow(error = aArgs[0].IsEmpty() ? OT_ERROR_INVALID_ARGS : OT_ERROR_NONE); in Process()
|
D | cli_srp_server.cpp | 48 otError error = OT_ERROR_INVALID_ARGS; in Process() 186 VerifyOrExit(aArgs[2].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 214 VerifyOrExit(aArgs[4].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 228 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 293 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process()
|
D | cli_udp.cpp | 72 VerifyOrExit(aArgs[2].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 95 VerifyOrExit(aArgs[2].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 171 VerifyOrExit(!aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 183 VerifyOrExit(!aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process()
|
D | cli_commissioner.cpp | 134 VerifyOrExit(!aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 159 VerifyOrExit(!aArgs[2].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 188 error = OT_ERROR_INVALID_ARGS; in Process() 232 ExitNow(error = OT_ERROR_INVALID_ARGS); in Process() 249 VerifyOrExit(!aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 294 ExitNow(error = OT_ERROR_INVALID_ARGS); in Process()
|
D | cli_joiner.cpp | 47 otError error = OT_ERROR_INVALID_ARGS; in Process() 157 VerifyOrExit(!aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process()
|
D | cli.hpp | 304 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessGet() 317 VerifyOrExit(aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessSet() 331 VerifyOrExit(aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessSet() 631 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessGet() 642 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessGet()
|
D | cli_coap.cpp | 159 VerifyOrExit(aArgs[0].GetLength() < kMaxUriLength, error = OT_ERROR_INVALID_ARGS); in Process() 202 … VerifyOrExit(aArgs[0].GetLength() < sizeof(mResourceContent), error = OT_ERROR_INVALID_ARGS); in Process() 291 ExitNow(error = OT_ERROR_INVALID_ARGS); in Process() 308 error = OT_ERROR_INVALID_ARGS); in Process() 376 VerifyOrExit(!aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessRequest() 377 VerifyOrExit(aArgs[1].GetLength() < sizeof(coapUri), error = OT_ERROR_INVALID_ARGS); in ProcessRequest() 587 ExitNow(error = aArgs[0].IsEmpty() ? OT_ERROR_INVALID_ARGS : OT_ERROR_NONE); in Process()
|
/openthread-3.4.0/tools/ot-fct/ |
D | cli.cpp | 101 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessTargetPowerTable() 129 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessRegionDomainTable() 219 VerifyOrExit(!arg->IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessCalibrationTable() 231 error = OT_ERROR_INVALID_ARGS); in ProcessCalibrationTable() 241 VerifyOrExit(!arg->IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessCalibrationTable() 254 error = OT_ERROR_INVALID_ARGS; in ProcessCalibrationTable() 261 error = OT_ERROR_INVALID_ARGS; in ProcessCalibrationTable() 270 error = OT_ERROR_INVALID_ARGS; in ProcessCalibrationTable()
|
/openthread-3.4.0/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 | config_file.cpp | 61 VerifyOrExit((aKey != nullptr) && (aValue != nullptr), error = OT_ERROR_INVALID_ARGS); in Get() 124 VerifyOrExit((aKey != nullptr) && (aValue != nullptr), error = OT_ERROR_INVALID_ARGS); in Add() 158 VerifyOrExit(aKey != nullptr, error = OT_ERROR_INVALID_ARGS); in Clear()
|
D | udp.cpp | 264 VerifyOrExit(aUdpSocket->mSockName.mPort != 0, error = OT_ERROR_INVALID_ARGS); in otPlatUdpBind() 358 VerifyOrExit(aUdpSocket->mHandle != nullptr, error = OT_ERROR_INVALID_ARGS); in otPlatUdpConnect() 423 VerifyOrExit(aUdpSocket->mHandle != nullptr, error = OT_ERROR_INVALID_ARGS); in otPlatUdpSend() 427 VerifyOrExit(len == otMessageRead(aMessage, 0, payload, len), error = OT_ERROR_INVALID_ARGS); in otPlatUdpSend() 462 VerifyOrExit(aUdpSocket->mHandle != nullptr, error = OT_ERROR_INVALID_ARGS); in otPlatUdpJoinMulticastGroup() 502 VerifyOrExit(aUdpSocket->mHandle != nullptr, error = OT_ERROR_INVALID_ARGS); in otPlatUdpLeaveMulticastGroup()
|
/openthread-3.4.0/include/openthread/ |
D | error.h | 98 OT_ERROR_INVALID_ARGS = 7, enumerator
|
/openthread-3.4.0/src/lib/platform/ |
D | exit_code.h | 127 (aError == OT_ERROR_INVALID_ARGS ? OT_EXIT_INVALID_ARGUMENTS : OT_EXIT_FAILURE))
|
/openthread-3.4.0/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-3.4.0/src/ncp/ |
D | ncp_base.cpp | 104 case OT_ERROR_INVALID_ARGS: in ThreadErrorToSpinelStatus() 1279 VerifyOrExit(count != 0, parseError = OT_ERROR_INVALID_ARGS); in CommandHandler_PEEK() 1283 VerifyOrExit(mAllowPeekDelegate(address, count), parseError = OT_ERROR_INVALID_ARGS); in CommandHandler_PEEK() 1313 VerifyOrExit(count != 0, parseError = OT_ERROR_INVALID_ARGS); in CommandHandler_POKE() 1314 VerifyOrExit(count <= dataLen, parseError = OT_ERROR_INVALID_ARGS); in CommandHandler_POKE() 1318 VerifyOrExit(mAllowPokeDelegate(address, count), parseError = OT_ERROR_INVALID_ARGS); in CommandHandler_POKE() 1447 error = OT_ERROR_INVALID_ARGS; in HandlePropertySet() 1570 VerifyOrExit(channel <= 31, error = OT_ERROR_INVALID_ARGS); in DecodeChannelMask() 1672 VerifyOrExit(HasOnly1BitSet(mScanChannelMask), error = OT_ERROR_INVALID_ARGS); in HandlePropertySet() 2025 ExitNow(error = OT_ERROR_INVALID_ARGS); in HandlePropertySet() [all …]
|
D | ncp_base_radio.cpp | 493 VerifyOrExit(keyIdMode == Mac::Frame::kKeyIdMode1, error = OT_ERROR_INVALID_ARGS); in HandlePropertySet() 498 VerifyOrExit(keySize == sizeof(otMacKey), error = OT_ERROR_INVALID_ARGS); in HandlePropertySet() 501 VerifyOrExit(keySize == sizeof(otMacKey), error = OT_ERROR_INVALID_ARGS); in HandlePropertySet() 504 VerifyOrExit(keySize == sizeof(otMacKey), error = OT_ERROR_INVALID_ARGS); in HandlePropertySet()
|