Home
last modified time | relevance | path

Searched refs:set_errno (Results 1 – 25 of 74) 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.c101 set_errno(-err); in file_truncate64()
150 set_errno(EBADF); in ftruncate64()
168 set_errno(EBADF); in ftruncate64()
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_pwrite.c94 set_errno(errcode); in file_pwrite()
142 set_errno(-ret); in pwrite()
148 set_errno(EBADF); in pwrite()
Dfs_pread.c94 set_errno(errcode); in file_pread()
138 set_errno(-ret); in pread()
144 set_errno(EBADF); in pread()
Dfs_truncate.c84 set_errno(err); in file_truncate()
133 set_errno(EBADF); in ftruncate()
152 set_errno(EBADF); in ftruncate()
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.c87 set_errno(EBADF); in file_dup()
96 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.c112 set_errno(errcode); in file_pread64()
161 set_errno(EBADF); in pread64()
Dfs_pwrite64.c112 set_errno(errcode); in file_pwrite64()
165 set_errno(EBADF); in pwrite64()
Dfs_unlink.c151 set_errno(-ret); in do_unlink()
199 set_errno(-ret); in unlinkat()
/third_party/lwip/src/core/distributed_net/
Ddistributed_net_core.c128 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()
Dudp_transmit.c50 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/
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/lwip/src/api/
Dsockets.c291 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/
Dfs_umount.c245 set_errno(-ret); in umount()
253 set_errno(ENOSYS); in umount2()

123