| /openthread-latest/tools/spi-hdlc-adapter/ |
| D | spi-hdlc-adapter.c | 583 syslog(LOG_ERR, "push_pull_spi:do_spi_xfer: errno=%d (%s)", errno, strerror(errno)); in push_pull_spi() 587 if ((sSpiCsDelay != 0) && (errno == EINVAL)) in push_pull_spi() 885 if (errno == EAGAIN) in push_hdlc() 892 syslog(LOG_ERR, "push_hdlc:write: errno=%d (%s)", errno, strerror(errno)); in push_hdlc() 990 if (errno == EAGAIN) in pull_hdlc() 997 syslog(LOG_ERR, "pull_hdlc:read: errno=%d (%s)", errno, strerror(errno)); in pull_hdlc() 1045 if (errno == EAGAIN) in push_raw() 1052 syslog(LOG_ERR, "push_raw:write: errno=%d (%s)", errno, strerror(errno)); in push_raw() 1085 if (errno == EAGAIN) in pull_raw() 1092 syslog(LOG_ERR, "pull_raw:read: errno=%d (%s)", errno, strerror(errno)); in pull_raw() [all …]
|
| /openthread-latest/src/lib/spinel/ |
| D | spinel.c | 102 #if defined(errno) && SPINEL_PLATFORM_DOESNT_IMPLEMENT_ERRNO_VAR 107 #if !defined(errno) && SPINEL_PLATFORM_DOESNT_IMPLEMENT_ERRNO_VAR 109 #define errno spinel_errno_workaround_ macro 348 require_action(data_len <= SPINEL_MAX_PACK_LENGTH, bail, (ret = -1, errno = EINVAL)); in spinel_datatype_vunpack_() 363 require_action(data_len >= sizeof(uint8_t), bail, (ret = -1, errno = EOVERFLOW)); in spinel_datatype_vunpack_() 380 require_action(data_len >= sizeof(uint8_t), bail, (ret = -1, errno = EOVERFLOW)); in spinel_datatype_vunpack_() 397 require_action(data_len >= sizeof(uint16_t), bail, (ret = -1, errno = EOVERFLOW)); in spinel_datatype_vunpack_() 414 require_action(data_len >= sizeof(uint32_t), bail, (ret = -1, errno = EOVERFLOW)); in spinel_datatype_vunpack_() 431 require_action(data_len >= sizeof(uint64_t), bail, (ret = -1, errno = EOVERFLOW)); in spinel_datatype_vunpack_() 449 … require_action(data_len >= sizeof(spinel_ipv6addr_t), bail, (ret = -1, errno = EOVERFLOW)); in spinel_datatype_vunpack_() [all …]
|
| /openthread-latest/third_party/mbedtls/repo/library/ |
| D | net_sockets.c | 291 int err = errno; in net_would_block() 297 errno = err; in net_would_block() 301 switch (errno = err) { in net_would_block() 563 if (errno == EPIPE || errno == ECONNRESET) { in mbedtls_net_recv() 567 if (errno == EINTR) { in mbedtls_net_recv() 614 if (errno == EINTR) { in mbedtls_net_recv_timeout() 652 if (errno == EPIPE || errno == ECONNRESET) { in mbedtls_net_send() 656 if (errno == EINTR) { in mbedtls_net_send()
|
| D | entropy_poll.c | 161 } else if (errno != ENOSYS) { in mbedtls_platform_entropy_poll()
|
| /openthread-latest/src/lib/platform/ |
| D | exit_code.c | 71 #ifdef errno in otExitCodeToString() 72 retval = strerror(errno); in otExitCodeToString()
|
| /openthread-latest/src/posix/platform/ |
| D | udp.cpp | 157 error = (errno == EINVAL) ? OT_ERROR_INVALID_STATE : OT_ERROR_FAILED; in transmitPacket() 282 ot::Posix::Udp::LogCrit("Failed to bind UDP socket: %s", strerror(errno)); in otPlatUdpBind() 384 … ot::Posix::Udp::LogWarn("Failed to read socket bound device: %s", strerror(errno)); in otPlatUdpConnect() 398 ot::Posix::Udp::LogWarn("Failed to bind to device: %s", strerror(errno)); in otPlatUdpConnect() 410 VerifyOrExit(errno == EAFNOSUPPORT && isDisconnect); in otPlatUdpConnect() 414 aUdpSocket->mPeerName.mPort, strerror(errno)); in otPlatUdpConnect() 491 …VerifyOrExit(setsockopt(fd, IPPROTO_IPV6, IPV6_JOIN_GROUP, &mreq, sizeof(mreq)) == 0 || errno == E… in otPlatUdpJoinMulticastGroup() 497 ot::Posix::Udp::LogCrit("IPV6_JOIN_GROUP failed: %s", strerror(errno)); in otPlatUdpJoinMulticastGroup() 535 …VerifyOrExit(setsockopt(fd, IPPROTO_IPV6, IPV6_LEAVE_GROUP, &mreq, sizeof(mreq)) == 0 || errno == … in otPlatUdpLeaveMulticastGroup() 541 ot::Posix::Udp::LogCrit("IPV6_LEAVE_GROUP failed: %s", strerror(errno)); in otPlatUdpLeaveMulticastGroup()
|
| D | hdlc_interface.cpp | 204 else if ((rval < 0) && (errno != EAGAIN) && (errno != EINTR)) in Read() 255 … VerifyOrDie((errno == EAGAIN) || (errno == EWOULDBLOCK) || (errno == EINTR), OT_EXIT_ERROR_ERRNO); in Write() 340 else if (errno != EINTR) in WaitForFrame() 424 else if ((rval < 0) && (errno != EINTR)) in WaitForWritable() 652 VerifyOrExit(-1 != wait(nullptr) || errno == ECHILD, perror("wait RCP")); in CloseFile()
|
| D | utils.cpp | 81 if (error != OT_ERROR_NONE && errno != 0) in ExecuteCommand() 83 otLogInfoPlat("Got an error when executing command `%s`: `%s`", cmd, strerror(errno)); in ExecuteCommand()
|
| D | daemon.cpp | 102 VerifyOrExit(rval >= 0, LogWarn("Failed to format CLI output: %s", strerror(errno))); in OutputFormatV() 121 LogWarn("Failed to write CLI output: %s", strerror(errno)); in OutputFormatV() 165 LogWarn("Failed to initialize session socket: %s", strerror(errno)); in InitializeSessionSocket() 405 LogWarn("Daemon read: %s", strerror(errno)); in Process()
|
| D | resolver.cpp | 213 LogInfo("Failed to read response from upstream resolver socket: %d", errno); in ForwardResponse() 322 VerifyOrExit(fd >= 0, LogDebg("Failed to create the UDP socket: %s", strerror(errno))); in CreateUdpSocket() 326 …iled to bind the UDP socket to infra interface %s: %s", otSysGetInfraNetifName(), strerror(errno)); in CreateUdpSocket()
|
| D | mdns_socket.cpp | 454 … VerifyOrExit(rval >= 0, LogCrit("recvfrom() for IPv6 socket failed, errno: %s", strerror(errno))); in ReceiveMessage() 464 … VerifyOrExit(rval >= 0, LogCrit("recvfrom() for IPv4 socket failed, errno: %s", strerror(errno))); in ReceiveMessage() 543 LogCrit("bind() to mDNS port for IPv4 socket failed, errno: %s", strerror(errno)); in OpenIp4Socket() 624 LogCrit("bind() to mDNS port for IPv6 socket failed, errno: %s", strerror(errno)); in OpenIp6Socket() 701 LogCrit("Failed to setsockopt(%s) - errno: %s", aOptionName, strerror(errno)); in SetSocketOptionValue()
|
| D | alarm.cpp | 172 otLogWarnPlat("Failed to update microsecond timer: %s", strerror(errno)); in otPlatAlarmMicroStartAt() 191 otLogWarnPlat("Failed to stop microsecond timer: %s", strerror(errno)); in otPlatAlarmMicroStop()
|
| D | netif.cpp | 543 else if (errno != EALREADY) in UpdateUnicast() 546 … Ip6AddressString(aAddressInfo.mAddress).AsCString(), aAddressInfo.mPrefixLength, strerror(errno)); in UpdateUnicast() 569 if ((err != 0) && (errno == EINVAL) && (IN6_IS_ADDR_MC_LINKLOCAL(&mreq.ipv6mr_multiaddr))) in UpdateMulticast() 586 LogWarn("%s failure (%d)", aIsAdded ? "IPV6_JOIN_GROUP" : "IPV6_LEAVE_GROUP", errno); in UpdateMulticast() 685 … VerifyOrExit(errno == EAGAIN || errno == EINTR || errno == EWOULDBLOCK, error = OT_ERROR_BUSY); in AddRoute() 739 … VerifyOrExit(errno == EAGAIN || errno == EINTR || errno == EWOULDBLOCK, error = OT_ERROR_BUSY); in DeleteRoute() 1605 LogWarn("Error (%d) removing stack-addded link-local address %s", errno, in processNetifAddrEvent() 2164 LogWarn("Failed to enable NETLINK_EXT_ACK: %s", strerror(errno)); 2170 LogWarn("Failed to enable NETLINK_CAP_ACK: %s", strerror(errno));
|
| D | infra_if.cpp | 275 LogWarn("failed to send ICMPv6 message: %s", strerror(errno)); in SendIcmp6Nd() 336 LogWarn("failed to get netif addresses: %s", strerror(errno)); in CountAddresses() 383 LogCrit("failed to get netif addresses: %s", strerror(errno)); in HasLinkLocalAddress() 553 LogCrit("Failed to receive netlink message: %s", strerror(errno)); in ReceiveNetLinkMessage() 625 LogWarn("Failed to receive ICMPv6 message: %s", strerror(errno)); in ReceiveIcmp6Message()
|
| D | spi_interface.cpp | 460 LogCrit("PushPullSpi:DoSpiTransfer: errno=%s", strerror(errno)); in PushPullSpi() 463 if ((mSpiCsDelayUs != 0) && (errno == EINVAL)) in PushPullSpi() 770 else if (errno != EINTR) in WaitForFrame() 811 LogWarn("%s: %s", aString, strerror(errno)); in LogError()
|
| /openthread-latest/tools/ot-fct/ |
| D | main.cpp | 76 if ((ret == -1) && (errno != EINTR)) in main() 78 fprintf(stderr, "select: %s\n", strerror(errno)); in main()
|
| /openthread-latest/src/posix/ |
| D | client.cpp | 143 VerifyOrExit((rval == -1) && (errno == EINTR), perror("write"); ret = false); in DoWrite() 176 errno = EINVAL; in ConnectSession() 204 VerifyOrExit(errno != ENOENT); in ReconnectSession()
|
| /openthread-latest/third_party/mbedtls/repo/programs/psa/ |
| D | psa_constant_names.c | 205 if (value < min || (errno == ERANGE && value < 0)) { in process_signed() 209 if (value > max || (errno == ERANGE && value > 0)) { in process_signed() 244 if (value > max || errno == ERANGE) { in process_unsigned()
|
| /openthread-latest/examples/platforms/simulation/ |
| D | ble.c | 208 else if (errno != EINTR && errno != EAGAIN) in platformBleProcess()
|
| D | uart.c | 223 errno = 0; in platformUartProcess() 274 else if (errno != EINTR) in platformUartProcess()
|
| D | logging.c | 62 fprintf(stderr, "Failed to open log file '%s': %s\r\n", aName, strerror(errno)); in platformLoggingSetFileName()
|
| D | simul_utils.c | 45 otLogWarnPlat("%s: %s", aErrorMsg, strerror(errno)); \ 445 else if (errno != EINTR && errno != EAGAIN) in utilsReceiveFromSocket()
|
| D | system.c | 268 else if (errno != EINTR) in otSysProcessDrivers()
|
| /openthread-latest/third_party/mbedtls/repo/tests/suites/ |
| D | helpers.function | 13 #include <errno.h>
|
| D | test_suite_asn1parse.function | 2 #include <errno.h> 379 errno = 0; 382 (errno == ERANGE 467 errno = 0; 470 (errno == ERANGE
|