/third_party/NuttX/fs/vfs/ |
D | fs_read.c | 100 set_errno(-ret); in file_read() 130 set_errno(EINVAL); in read() 155 set_errno(ENOMEM); in read() 166 set_errno(EFAULT); in read() 178 set_errno(EBADF); in read() 191 set_errno(EBADF); in read() 209 set_errno(EBADF); in read()
|
D | fs_write.c | 105 set_errno(err); in file_write() 181 set_errno(ENOMEM); in write() 187 set_errno(EFAULT); in write() 199 set_errno(EBADF); in write() 214 set_errno(EBADF); in write() 228 set_errno(EBADF); in write()
|
D | fs_truncate64.c | 101 set_errno(-err); in file_truncate64() 150 set_errno(EBADF); in ftruncate64() 168 set_errno(EBADF); in ftruncate64()
|
D | fs_poll.c | 231 set_errno(EBADF); in fdesc_poll() 282 set_errno(EINVAL); in query_fds() 291 set_errno(EBADF); in query_fds() 300 set_errno(-ret); in query_fds() 412 set_errno(ENOMEM); in poll() 509 set_errno(temp); in poll() 513 set_errno(-ret); in poll()
|
D | fs_pwrite.c | 94 set_errno(errcode); in file_pwrite() 142 set_errno(-ret); in pwrite() 148 set_errno(EBADF); in pwrite()
|
D | fs_pread.c | 94 set_errno(errcode); in file_pread() 138 set_errno(-ret); in pread() 144 set_errno(EBADF); in pread()
|
D | fs_truncate.c | 84 set_errno(err); in file_truncate() 133 set_errno(EBADF); in ftruncate() 152 set_errno(EBADF); in ftruncate()
|
D | fs_sendfile.c | 122 set_errno(ENOMEM); in sendfile() 166 set_errno(errcode); in sendfile() 228 set_errno(errcode); in sendfile()
|
D | fs_dup2.c | 66 set_errno(EBADF); /* When net_dupsd2 is still closed,errno should set */ in dup2() 73 set_errno(EBADF); in dup2()
|
D | fs_dup.c | 82 set_errno(EBADF); /* When net_dupsd is still closed,errno should set */ in dup() 91 set_errno(EBADF); in dup()
|
D | fs_fcntl.c | 230 set_errno(err); in file_vfcntl() 309 set_errno(ret); in fcntl() 369 set_errno(reval); in fcntl64()
|
D | fs_dupfd.c | 87 set_errno(EBADF); in file_dup() 96 set_errno(EMFILE); in file_dup()
|
D | fs_select.c | 110 set_errno(EINVAL); in do_select() 148 set_errno(ENOMEM); in do_select() 179 set_errno(EINVAL); in do_select()
|
D | fs_pread64.c | 112 set_errno(errcode); in file_pread64() 161 set_errno(EBADF); in pread64()
|
D | fs_pwrite64.c | 112 set_errno(errcode); in file_pwrite64() 165 set_errno(EBADF); in pwrite64()
|
D | fs_unlink.c | 151 set_errno(-ret); in do_unlink() 199 set_errno(-ret); in unlinkat()
|
/third_party/lwip/src/core/distributed_net/ |
D | distributed_net_core.c | 128 set_errno(EPERM); in distributed_net_sendto() 137 set_errno(EPERM); in distributed_net_sendto() 173 set_errno(EPERM); in distributed_net_sendmsg() 182 set_errno(EPERM); in distributed_net_sendmsg() 211 set_errno(ENOMEM); in distributed_net_recvfrom() 238 set_errno(EINVAL); in distributed_net_recvfrom()
|
D | udp_transmit.c | 50 set_errno(EMSGSIZE); in get_msg_data_len() 55 set_errno(EMSGSIZE); in get_msg_data_len() 66 set_errno(EMSGSIZE); in udp_transmit_sendto() 117 set_errno(ENOMEM); in udp_transmit_sendmsg()
|
/third_party/python/Lib/ctypes/test/ |
D | test_errno.py | 23 self.assertEqual(set_errno(32), errno.ENOENT) 27 set_errno(0) 43 set_errno(0)
|
/third_party/NuttX/fs/dirent/ |
D | fs_readdir.c | 107 set_errno(ret); in __readdir() 111 set_errno(ENOENT); in __readdir() 175 set_errno(old_err); in readdir()
|
D | fs_rewinddir.c | 58 set_errno(EBADF); in rewinddir() 75 set_errno(ENOSYS); in rewinddir()
|
D | fs_seekdir.c | 129 set_errno(EBADF); in seekdir() 135 set_errno(EINVAL); in seekdir()
|
/third_party/lwip/src/include/lwip/priv/ |
D | sockets_priv.h | 94 #ifndef set_errno 95 #define set_errno(err) do { if (err) { errno = (err); } } while(0) macro
|
/third_party/lwip/src/api/ |
D | sockets.c | 291 set_errno(sockerr); \ 494 set_errno(EBADF); in get_socket() 827 set_errno(0); in lwip_close_internal() 1333 set_errno(EOPNOTSUPP); return -1;); in lwip_recvmsg() 1336 set_errno(EMSGSIZE); in lwip_recvmsg() 1791 set_errno(EINVAL); in lwip_socket() 1797 set_errno(ENOBUFS); in lwip_socket() 1805 set_errno(ENFILE); in lwip_socket() 1811 set_errno(0); in lwip_socket() 2057 set_errno(EINVAL); in lwip_select() [all …]
|
/third_party/NuttX/fs/mount/ |
D | fs_umount.c | 245 set_errno(-ret); in umount() 253 set_errno(ENOSYS); in umount2()
|