Home
last modified time | relevance | path

Searched refs:set_errno (Results 1 – 25 of 65) sorted by relevance

123

/third_party/NuttX/fs/vfs/
Dfs_read.c100 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()
Dfs_write.c105 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()
Dfs_truncate64.c98 set_errno(-err); in file_truncate64()
147 set_errno(EBADF); in ftruncate64()
165 set_errno(EBADF); in ftruncate64()
Dfs_pread.c94 set_errno(errcode); in file_pread()
138 set_errno(-ret); in pread()
144 set_errno(EBADF); in pread()
Dfs_pwrite.c94 set_errno(errcode); in file_pwrite()
142 set_errno(-ret); in pwrite()
148 set_errno(EBADF); in pwrite()
Dfs_truncate.c84 set_errno(err); in file_truncate()
133 set_errno(EBADF); in ftruncate()
152 set_errno(EBADF); in ftruncate()
Dfs_poll.c231 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()
Dfs_sendfile.c122 set_errno(ENOMEM); in sendfile()
166 set_errno(errcode); in sendfile()
228 set_errno(errcode); in sendfile()
Dfs_dup2.c66 set_errno(EBADF); /* When net_dupsd2 is still closed,errno should set */ in dup2()
73 set_errno(EBADF); in dup2()
Dfs_dup.c82 set_errno(EBADF); /* When net_dupsd is still closed,errno should set */ in dup()
91 set_errno(EBADF); in dup()
Dfs_fcntl.c230 set_errno(err); in file_vfcntl()
309 set_errno(ret); in fcntl()
369 set_errno(reval); in fcntl64()
Dfs_dupfd.c84 set_errno(EBADF); in file_dup()
93 set_errno(EMFILE); in file_dup()
Dfs_select.c110 set_errno(EINVAL); in do_select()
148 set_errno(ENOMEM); in do_select()
179 set_errno(EINVAL); in do_select()
Dfs_pread64.c109 set_errno(errcode); in file_pread64()
158 set_errno(EBADF); in pread64()
Dfs_pwrite64.c109 set_errno(errcode); in file_pwrite64()
162 set_errno(EBADF); in pwrite64()
Dfs_unlink.c151 set_errno(-ret); in do_unlink()
199 set_errno(-ret); in unlinkat()
/third_party/boost/libs/chrono/test/clock/
Dclock_pass.cpp66 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/
Ddistributed_net_core.c119 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()
Dudp_transmit.c45 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/
Dtest_errno.py23 self.assertEqual(set_errno(32), errno.ENOENT)
27 set_errno(0)
43 set_errno(0)
/third_party/NuttX/fs/dirent/
Dfs_readdir.c107 set_errno(ret); in __readdir()
111 set_errno(ENOENT); in __readdir()
175 set_errno(old_err); in readdir()
Dfs_rewinddir.c58 set_errno(EBADF); in rewinddir()
75 set_errno(ENOSYS); in rewinddir()
Dfs_seekdir.c129 set_errno(EBADF); in seekdir()
135 set_errno(EINVAL); in seekdir()
/third_party/lwip/src/include/lwip/priv/
Dsockets_priv.h94 #ifndef set_errno
95 #define set_errno(err) do { if (err) { errno = (err); } } while(0) macro
/third_party/NuttX/fs/mount/
Dfs_umount.c181 set_errno(-ret); in umount()
189 set_errno(ENOSYS); in umount2()

123