/AliOS-Things-master/components/posix/src/ |
A D | semaphore.c | 21 errno = EINVAL; in sem_init() 27 errno = ENOTSUP; in sem_init() 33 errno = -ret; in sem_init() 44 errno = EINVAL; in sem_open() 48 errno = ENOSYS; in sem_open() 58 errno = EINVAL; in sem_wait() 64 errno = -ret; in sem_wait() 86 errno = -ret; in sem_trywait() 154 errno = ENOSYS; in sem_getvalue() 166 errno = ENOSYS; in sem_close() [all …]
|
A D | sched.c | 56 errno = ESRCH; in sched_setscheduler() 62 errno = EINVAL; in sched_setscheduler() 68 errno = EINVAL; in sched_setscheduler() 103 errno = ESRCH; in sched_getscheduler() 109 errno = EINVAL; in sched_getscheduler() 126 errno = ESRCH; in sched_setparam() 137 errno = EINVAL; in sched_setparam() 175 errno = ESRCH; in sched_getparam() 211 errno = -ret; in sched_get_priority_max() 230 errno = -ret; in sched_get_priority_min() [all …]
|
A D | dirent.c | 14 errno = EINVAL; in opendir() 36 errno = EINVAL; in readdir() 76 errno = EINVAL; in scandir() 86 errno = ENOMEM; in scandir() 96 errno = ENOMEM; in scandir() 107 errno = ENOMEM; in scandir()
|
A D | time.c | 15 errno = EINVAL; in clock_getres() 30 errno = EINVAL; in clock_gettime() 43 errno = EINVAL; in clock_gettime() 57 errno = EINVAL; in clock_settime() 118 errno = EINVAL; in nanosleep()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/sendfile/ |
A D | sendfile.c | 38 if((EAGAIN != errno) && (EINTR != errno) && (EINPROGRESS != errno)) { in sendfile() 57 if (((writelen < 0)&&(EAGAIN != errno) && (EINTR != errno) && (EINPROGRESS != errno)) in sendfile() 66 if (((writelen < 0)&&(EAGAIN != errno) && (EINTR != errno) && (EINPROGRESS != errno)) in sendfile() 142 LWIP_DEBUGF( SENDFILE_DEBUG, ("connect failed: %s", strerror(errno))); in sendfile_client() 150 LWIP_DEBUGF( SENDFILE_DEBUG, ("write failed: %s", strerror(errno))); in sendfile_client() 159 LWIP_DEBUGF( SENDFILE_DEBUG, ("recv failed: %s", strerror(errno))); in sendfile_client() 178 if((ret < 0) && ((EAGAIN != errno) && (EINTR != errno) && (EINPROGRESS != errno))) { in sendfile_client() 244 LWIP_DEBUGF( SENDFILE_DEBUG, ("unable to create socket: %s", strerror(errno))); in sendfile_server_thread() 264 LWIP_DEBUGF( SENDFILE_DEBUG, ("listen failed: %s", strerror(errno))); in sendfile_server_thread() 273 LWIP_DEBUGF( SENDFILE_DEBUG, ("accept failed: %s", strerror(errno))); in sendfile_server_thread() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/mfs/ |
A D | mfs_file.c | 146 errno = EMFILE; in mfs_open() 154 errno = EINVAL; in mfs_open() 169 errno = EINVAL; in mfs_open() 215 errno = EINVAL; in mfs_open() 250 errno = EBADF; in mfs_lseek() 255 errno = EINVAL; in mfs_lseek() 336 errno = EBADF; in mfs_read() 376 errno = EBADF; in mfs_write() 432 errno = EBADF; in mfs_size() 463 errno = EBADF; in mfs_map() [all …]
|
/AliOS-Things-master/components/epoll/src/ |
A D | epoll.c | 14 errno = EINVAL; in aos_epoll_create() 25 errno = EINVAL; in aos_epoll_create1() 33 errno = -ret; in aos_epoll_create1() 45 errno = -ret; in aos_epoll_create1() 59 errno = EINVAL; in aos_epoll_ctl() 70 errno = -ret; in aos_epoll_ctl() 83 errno = EINVAL; in aos_epoll_wait() 93 errno = -ret; in aos_epoll_wait()
|
A D | device.c | 123 errno = EBADF; in epoll_delete_event_cb() 131 errno = -ret; in epoll_delete_event_cb() 145 errno = ENOMEM; in epoll_open() 171 errno = ENOMEM; in epoll_open() 252 errno = EEXIST; in epoll_control() 257 errno = ENOMEM; in epoll_control() 262 errno = EINVAL; in epoll_control() 276 errno = -ret; in epoll_control() 433 errno = EINVAL; in epoll_ioctl() 442 errno = EINVAL; in epoll_ioctl() [all …]
|
/AliOS-Things-master/components/cli/src/iobox/ |
A D | mv.c | 63 if (ret < 0 && errno != EXDEV) { in mv_main() 64 aos_cli_printf("rename %s to %s failed - %s\n", from, to, strerror(errno)); in mv_main() 72 aos_cli_printf("open %s failed - %s\n", from, strerror(errno)); in mv_main() 78 aos_cli_printf("open %s failed - %s\n", to, strerror(errno)); in mv_main() 84 aos_cli_printf("read %s failed - %s\n", from, strerror(errno)); in mv_main() 90 aos_cli_printf("write %s failed - %s\n", to, strerror(errno)); in mv_main() 97 aos_cli_printf("unlink %s failed - %s\n", from, strerror(errno)); in mv_main()
|
A D | cat.c | 36 aos_cli_printf("stat %s failed - %s\n", file, strerror(errno)); in cat_main() 42 aos_cli_printf("open %s failed - %s\n", file, strerror(errno)); in cat_main() 52 aos_cli_printf("read %s failed - %s\n", file, strerror(errno)); in cat_main() 58 aos_cli_printf("write %s failed - %s\n", file, strerror(errno)); in cat_main()
|
/AliOS-Things-master/components/py_engine/engine/lib/libm/ |
A D | wf_lgamma.c | 62 errno = EDOM; 64 errno = EDOM; 71 errno = ERANGE; 73 errno = ERANGE; 77 errno = exc.err;
|
/AliOS-Things-master/components/mbedtls/platform/aos/library/ |
A D | net_sockets.c | 233 if (errno == EINTR) in mbedtls_net_connect() 252 int err = errno; in net_would_block() 259 errno = err; in net_would_block() 263 switch( errno = err ) in net_would_block() 311 if( errno == EPIPE || errno == ECONNRESET ) in mbedtls_net_recv() 314 if( errno == EINTR ) in mbedtls_net_recv() 346 if( errno == EINTR ) in mbedtls_net_recv_timeout() 370 if( errno == EPIPE || errno == ECONNRESET ) in mbedtls_net_send() 373 if( errno == EINTR ) in mbedtls_net_send()
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | usocket_tcp_basic.py | 4 import usocket as socket, uerrno as errno namespace 7 import socket, errno 17 print("ENOTCONN:", er.args[0] == errno.ENOTCONN)
|
A D | usocket_udp_nonblock.py | 4 import usocket as socket, uerrno as errno namespace 7 import socket, errno 20 print("EAGAIN:", er.args[0] == errno.EAGAIN)
|
A D | uselect_poll_basic.py | 2 import usocket as socket, uselect as select, uerrno as errno namespace 5 import socket, select, errno 36 assert e.args[0] == errno.ENOENT
|
/AliOS-Things-master/components/ota/2ndboot/updater/ |
A D | ota_nbpatch.c | 37 OTA_LOG_I("open old err:%d\n",errno); in ota_patch_init() 51 OTA_LOG_I("read old err:%d ret:%d rsize:%d \n",errno, ret, read_size); in ota_patch_init() 60 OTA_LOG_I("open old err:%d\n",errno); in ota_patch_init() 84 OTA_LOG_I("read patch err:%d ret:%d rsize:%d \n",errno, ret, read_size); in ota_patch_init() 101 OTA_LOG_I("open name err:%d\n",errno); in ota_patch_dump_flash() 112 OTA_LOG_I("write name err:%d\n",errno); in ota_patch_dump_flash()
|
/AliOS-Things-master/components/mbedtls/platform/yoc/ |
A D | net_sockets.c | 200 int error = errno; in net_would_block() 206 errno = error; in net_would_block() 210 switch ( errno = error ) { in net_would_block() 349 if( errno == EPIPE || errno == ECONNRESET ) in mbedtls_net_recv() 352 if( errno == EINTR ) in mbedtls_net_recv() 390 if( errno == EINTR ) in mbedtls_net_recv_timeout() 412 if( errno == EPIPE || errno == ECONNRESET ) in mbedtls_net_send() 415 if( errno == EINTR ) in mbedtls_net_send()
|
/AliOS-Things-master/components/osal_aos/include/aos/ |
A D | osal_debug.h | 43 #define except_process(err) aos_except_process(errno, SHORT_FILE, __LINE__, \ 49 #define except_process(err) aos_except_process(errno, NULL, 0, NULL, \ 111 #define aos_check(X, errno) \ argument 114 except_process(errno); \ 130 except_process(errno); \ 152 except_process(errno); \ 443 void aos_except_process(int errno, const char *file, int line, const char *func_name, void *caller);
|
/AliOS-Things-master/components/SDL2/src/thread/pthread/ |
A D | SDL_syssem.c | 96 } while (retval < 0 && errno == EINTR); in SDL_SemWait() 157 } while (retval < 0 && errno == EINTR); in SDL_SemWaitTimeout() 160 if (errno == ETIMEDOUT) { in SDL_SemWaitTimeout() 163 SDL_SetError("sem_timedwait returned an error: %s", strerror(errno)); in SDL_SemWaitTimeout()
|
/AliOS-Things-master/components/SDL2/src/audio/esd/ |
A D | SDL_esdaudio.c | 130 if (kill(this->hidden->parent, 0) < 0 && errno == ESRCH) { in ESD_WaitDevice() 152 if ((written < 0) && ((errno == 0) || (errno == EAGAIN))) { in ESD_PlayDevice() 156 ((errno == 0) || (errno == EAGAIN) || (errno == EINTR))); in ESD_PlayDevice()
|
/AliOS-Things-master/components/netmgr/activation/ |
A D | activation.c | 299 ACTIVATION_ERR("getaddrinfo failed, errno=%d\n", errno); in activation_report() 307 ACTIVATION_ERR("socket create failed, errno=%d\n", errno); in activation_report() 315 ACTIVATION_ERR("socket connect failed, errno=%d\n", errno); in activation_report() 327 ACTIVATION_ERR("socket send failed, errno=%d\n", errno); in activation_report() 334 if((errno != EINTR) && (errno != EAGAIN) && (errno != EWOULDBLOCK)) { in activation_report() 335 ACTIVATION_ERR("socket recv result failed errno=%d\n", errno); in activation_report()
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | stream.h | 130 #define mp_is_nonblocking_error(errno) ((errno) == MP_EAGAIN || (errno) == MP_EWOULDBLOCK) argument 132 #define mp_is_nonblocking_error(errno) (0) argument
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | net_sockets.c | 284 int err = errno; in net_would_block() 291 errno = err; in net_would_block() 295 switch( errno = err ) in net_would_block() 561 if( errno == EPIPE || errno == ECONNRESET ) in mbedtls_net_recv() 564 if( errno == EINTR ) in mbedtls_net_recv() 607 if( errno == EINTR ) in mbedtls_net_recv_timeout() 641 if( errno == EPIPE || errno == ECONNRESET ) in mbedtls_net_send() 644 if( errno == EINTR ) in mbedtls_net_send()
|
/AliOS-Things-master/components/posix/src/internal/ |
A D | common.h | 10 #define CHECK_AOS_RET(ret) do {if ((ret) < 0) {errno = -(ret); return -1; } } while (0) 11 #define CHECK_POSIX_PARAM(param) do {if ((param) == NULL) {errno = EINVAL; return -1; } } while (0)
|
/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | errno1.py | 20 errno = uerrno variable 21 print(errno.__name__)
|