/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 | 98 set_errno(-err); in file_truncate64() 147 set_errno(EBADF); in ftruncate64() 165 set_errno(EBADF); in ftruncate64()
|
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_pwrite.c | 94 set_errno(errcode); in file_pwrite() 142 set_errno(-ret); in pwrite() 148 set_errno(EBADF); in pwrite()
|
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_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_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 | 84 set_errno(EBADF); in file_dup() 93 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 | 109 set_errno(errcode); in file_pread64() 158 set_errno(EBADF); in pread64()
|
D | fs_pwrite64.c | 109 set_errno(errcode); in file_pwrite64() 162 set_errno(EBADF); in pwrite64()
|
D | fs_unlink.c | 151 set_errno(-ret); in do_unlink() 199 set_errno(-ret); in unlinkat()
|
/third_party/boost/libs/chrono/test/clock/ |
D | clock_pass.cpp | 66 Clock::set_errno(err); in check_clock_now_err() 74 Clock::set_errno(0); in check_clock_now_err() 81 Clock::set_errno(err); in check_clock_now_ec_err() 86 Clock::set_errno(0); in check_clock_now_ec_err() 93 Clock::set_errno(err); in check_clock_now_throws_err() 102 Clock::set_errno(0); in check_clock_now_throws_err()
|
/third_party/lwip/src/core/distributed_net/ |
D | distributed_net_core.c | 119 set_errno(EPERM); in distributed_net_sendto() 128 set_errno(EPERM); in distributed_net_sendto() 164 set_errno(EPERM); in distributed_net_sendmsg() 173 set_errno(EPERM); in distributed_net_sendmsg() 202 set_errno(ENOMEM); in distributed_net_recvfrom() 229 set_errno(EINVAL); in distributed_net_recvfrom()
|
D | udp_transmit.c | 45 set_errno(EMSGSIZE); in get_msg_data_len() 50 set_errno(EMSGSIZE); in get_msg_data_len() 61 set_errno(EMSGSIZE); in udp_transmit_sendto() 112 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/NuttX/fs/mount/ |
D | fs_umount.c | 181 set_errno(-ret); in umount() 189 set_errno(ENOSYS); in umount2()
|