/openthread-latest/src/posix/platform/ |
D | udp.cpp | 157 error = (errno == EINVAL) ? OT_ERROR_INVALID_STATE : OT_ERROR_FAILED; in transmitPacket() 213 return rval > 0 ? OT_ERROR_NONE : OT_ERROR_FAILED; in receivePacket() 226 VerifyOrExit(fd >= 0, error = OT_ERROR_FAILED); in otPlatUdpSocket() 244 VerifyOrExit(0 == close(fd), error = OT_ERROR_FAILED); in otPlatUdpClose() 270 …(0 == bind(fd, reinterpret_cast<struct sockaddr *>(&sin6), sizeof(sin6)), error = OT_ERROR_FAILED); in otPlatUdpBind() 275 …it(0 == setsockopt(fd, IPPROTO_IPV6, IPV6_RECVHOPLIMIT, &on, sizeof(on)), error = OT_ERROR_FAILED); in otPlatUdpBind() 276 …xit(0 == setsockopt(fd, IPPROTO_IPV6, IPV6_RECVPKTINFO, &on, sizeof(on)), error = OT_ERROR_FAILED); in otPlatUdpBind() 280 if (error == OT_ERROR_FAILED) in otPlatUdpBind() 300 …erifyOrExit(setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, nullptr, 0) == 0, error = OT_ERROR_FAILED); in otPlatUdpBindToNetif() 304 error = OT_ERROR_FAILED); in otPlatUdpBindToNetif() [all …]
|
D | utils.cpp | 67 VerifyOrExit(file != nullptr, error = OT_ERROR_FAILED); in ExecuteCommand() 79 VerifyOrExit(exitCode == 0, error = OT_ERROR_FAILED); in ExecuteCommand()
|
D | entropy.cpp | 104 VerifyOrExit(file != nullptr, error = OT_ERROR_FAILED); in otPlatEntropyGet() 107 VerifyOrExit(readLength == aOutputLength, error = OT_ERROR_FAILED); in otPlatEntropyGet()
|
D | settings.cpp | 440 VerifyOrExit(offset == 0 && size >= 0, error = OT_ERROR_FAILED); in PlatformSettingsDelete() 449 VerifyOrExit(rval == sizeof(key), error = OT_ERROR_FAILED); in PlatformSettingsDelete() 452 VerifyOrExit(rval == sizeof(length), error = OT_ERROR_FAILED); in PlatformSettingsDelete() 460 … VerifyOrExit(offset == lseek(sSettingsFd, length, SEEK_CUR), error = OT_ERROR_FAILED); in PlatformSettingsDelete() 467 … VerifyOrExit(offset == lseek(sSettingsFd, length, SEEK_CUR), error = OT_ERROR_FAILED); in PlatformSettingsDelete() 478 VerifyOrExit(rval == sizeof(key), error = OT_ERROR_FAILED); in PlatformSettingsDelete() 481 VerifyOrExit(rval == sizeof(length), error = OT_ERROR_FAILED); in PlatformSettingsDelete() 499 else if (error == OT_ERROR_FAILED) in PlatformSettingsDelete()
|
D | hdlc_interface.cpp | 158 VerifyOrExit(mSockFd != -1, error = OT_ERROR_FAILED); in Init() 164 VerifyOrExit(mSockFd != -1, error = OT_ERROR_FAILED); in Init() 170 ExitNow(error = OT_ERROR_FAILED); in Init() 444 error = OT_ERROR_FAILED; in WaitForWritable() 763 error = OT_ERROR_FAILED; in ResetConnection()
|
D | multicast_routing.cpp | 168 ? OT_ERROR_FAILED in UpdateMldReport() 274 VerifyOrExit(nr >= static_cast<int>(sizeof(struct mrt6msg)), error = OT_ERROR_FAILED); in ProcessMulticastRouterMessages() 340 error = OT_ERROR_FAILED); in AddMulticastForwardingCache() 376 : OT_ERROR_FAILED; in UnblockInboundMulticastForwardingCache() 605 : OT_ERROR_FAILED; in RemoveMulticastForwardingCache()
|
D | spinel_manager.cpp | 105 DieNow(OT_ERROR_FAILED); in CreateSpinelInterface() 128 DieNow(OT_ERROR_FAILED); in CreateSpinelInterface()
|
D | mdns_socket.cpp | 494 otError error = OT_ERROR_FAILED; in OpenIp4Socket() 544 error = OT_ERROR_FAILED; in OpenIp4Socket() 586 otError error = OT_ERROR_FAILED; in OpenIp6Socket() 625 error = OT_ERROR_FAILED; in OpenIp6Socket() 700 error = OT_ERROR_FAILED; in SetSocketOptionValue()
|
D | radio.cpp | 115 DieNow(OT_ERROR_FAILED); in ProcessRadioUrl() 192 … VerifyOrDie((error == OT_ERROR_NONE) || (error == OT_ERROR_NOT_IMPLEMENTED), OT_ERROR_FAILED); in ProcessMaxPowerTable() 660 VerifyOrExit((str = strtok(output, "\r")) != nullptr, error = OT_ERROR_FAILED); in otPlatDiagGpioGet() 692 VerifyOrExit((str = strtok(output, "\r")) != nullptr, error = OT_ERROR_FAILED); in otPlatDiagGpioGetMode() 704 error = OT_ERROR_FAILED; in otPlatDiagGpioGetMode() 741 …it(sscanf(output, fmt, &targetPower, &actualPower, rawPowerSetting) == 3, error = OT_ERROR_FAILED); in otPlatDiagRadioGetPowerSettings() 795 VerifyOrExit((str = strtok(output, "\r")) != nullptr, error = OT_ERROR_FAILED); in otPlatDiagRadioGetRawPowerSetting()
|
D | misc.cpp | 72 error = OT_ERROR_FAILED; in otPlatSetMcuPowerState()
|
D | infra_if.cpp | 231 VerifyOrExit(mInfraIfIcmp6Socket >= 0, error = OT_ERROR_FAILED); in SendIcmp6Nd() 276 ExitNow(error = OT_ERROR_FAILED); in SendIcmp6Nd() 282 ExitNow(error = OT_ERROR_FAILED); in SendIcmp6Nd() 784 ExitNow(error = OT_ERROR_FAILED); in DiscoverNat64Prefix()
|
D | netif.cpp | 587 error = OT_ERROR_FAILED; in UpdateMulticast() 610 VerifyOrExit(ioctl(sIpFd, SIOCGIFFLAGS, &ifr) == 0, perror("ioctl"); error = OT_ERROR_FAILED); in SetLinkState() 620 … VerifyOrExit(ioctl(sIpFd, SIOCSIFFLAGS, &ifr) == 0, perror("ioctl"); error = OT_ERROR_FAILED); in SetLinkState() 1087 VerifyOrExit(write(sTunFd, packet, length) == length, perror("write"); error = OT_ERROR_FAILED); in processReceive() 1217 VerifyOrExit(rval > 0, error = OT_ERROR_FAILED); in processTransmit() 1609 error = OT_ERROR_FAILED; in processNetifAddrEvent() 2106 VerifyOrExit(ioctl(sIpFd, SIOCIFDESTROY, &ifr) == 0, perror("ioctl"); error = OT_ERROR_FAILED);
|
/openthread-latest/src/lib/spinel/ |
D | spinel_helper.cpp | 50 ret = OT_ERROR_FAILED; in SpinelStatusToOtError() 108 ret = OT_ERROR_FAILED; in SpinelStatusToOtError()
|
/openthread-latest/examples/platforms/simulation/ |
D | entropy.c | 102 otEXPECT_ACTION(file != NULL, error = OT_ERROR_FAILED); in otPlatEntropyGet() 105 otEXPECT_ACTION(readLength == aOutputLength, error = OT_ERROR_FAILED); in otPlatEntropyGet()
|
D | misc.c | 99 error = OT_ERROR_FAILED; in otPlatSetMcuPowerState()
|
D | uart.c | 291 return posix_logfile ? OT_ERROR_NONE : OT_ERROR_FAILED; in otPlatDebugUart_logfile()
|
D | infra_if.c | 186 otError error = OT_ERROR_FAILED; in otPlatInfraIfSendIcmp6Nd()
|
/openthread-latest/examples/platforms/utils/ |
D | uart_rtt.c | 59 otError error = OT_ERROR_FAILED; in otPlatUartEnable() 92 …CT_ACTION(SEGGER_RTT_Write(UART_RTT_BUFFER_INDEX, aBuf, aBufLength) != 0, error = OT_ERROR_FAILED); in otPlatUartSend()
|
D | debug_uart.c | 119 return OT_ERROR_FAILED; in otPlatDebugUart_logfile()
|
/openthread-latest/src/ncp/ |
D | ncp_hdlc.cpp | 356 otError status = OT_ERROR_FAILED; in OutFrameBegin() 372 status = OT_ERROR_FAILED; in OutFrameBegin() 377 status = OT_ERROR_FAILED; in OutFrameBegin()
|
/openthread-latest/src/core/border_router/ |
D | infra_if.cpp | 219 return OT_ERROR_FAILED; in otPlatInfraIfSendIcmp6Nd() 222 OT_TOOL_WEAK otError otPlatInfraIfDiscoverNat64Prefix(uint32_t) { return OT_ERROR_FAILED; } in otPlatInfraIfDiscoverNat64Prefix()
|
/openthread-latest/include/openthread/ |
D | error.h | 68 OT_ERROR_FAILED = 1, enumerator
|
/openthread-latest/src/core/common/ |
D | error.hpp | 57 constexpr Error kErrorFailed = OT_ERROR_FAILED;
|
/openthread-latest/tests/unit/ |
D | test_platform.cpp | 209 VerifyOrExit(file != nullptr, error = OT_ERROR_FAILED); in otPlatEntropyGet() 215 error = OT_ERROR_FAILED; in otPlatEntropyGet() 484 return OT_ERROR_FAILED; in otPlatInfraIfSendIcmp6Nd() 487 OT_TOOL_WEAK otError otPlatInfraIfDiscoverNat64Prefix(uint32_t) { return OT_ERROR_FAILED; } in otPlatInfraIfDiscoverNat64Prefix()
|
/openthread-latest/tests/fuzz/ |
D | fuzzer_platform.cpp | 653 return OT_ERROR_FAILED; in otPlatInfraIfSendIcmp6Nd() 660 return OT_ERROR_FAILED; in otPlatInfraIfDiscoverNat64Prefix()
|