Home
last modified time | relevance | path

Searched refs:ssize_t (Results 1 – 25 of 85) sorted by relevance

1234

/bionic/libc/include/bits/fortify/
Dunistd.h34 ssize_t __pread_chk(int, void*, size_t, off_t, size_t) __INTRODUCED_IN(23);
35 ssize_t __pread_real(int, void*, size_t, off_t) __RENAME(pread);
37 ssize_t __pread64_chk(int, void*, size_t, off64_t, size_t) __INTRODUCED_IN(23);
38 ssize_t __pread64_real(int, void*, size_t, off64_t) __RENAME(pread64);
40 ssize_t __pwrite_chk(int, const void*, size_t, off_t, size_t) __INTRODUCED_IN(24);
41 ssize_t __pwrite_real(int, const void*, size_t, off_t) __RENAME(pwrite);
43 ssize_t __pwrite64_chk(int, const void*, size_t, off64_t, size_t) __INTRODUCED_IN(24);
44 ssize_t __pwrite64_real(int, const void*, size_t, off64_t) __RENAME(pwrite64);
46 ssize_t __read_chk(int, void*, size_t, size_t) __INTRODUCED_IN(21);
47 ssize_t __write_chk(int, const void*, size_t, size_t) __INTRODUCED_IN(24);
[all …]
Dsocket.h33 extern ssize_t __sendto_chk(int, const void*, size_t, size_t, int, const struct sockaddr*,
35 ssize_t __recvfrom_chk(int, void*, size_t, size_t, int, struct sockaddr*,
41 ssize_t recvfrom(int fd, void* const buf __pass_object_size0, size_t len, int flags, struct sockadd… in recvfrom()
56 ssize_t sendto(int fd, const void* const buf __pass_object_size0, size_t len, int flags, const stru… in sendto()
71 ssize_t recv(int socket, void* const buf __pass_object_size0, size_t len, int flags) in recv()
79 ssize_t send(int socket, const void* const buf __pass_object_size0, size_t len, int flags) in send()
/bionic/libc/include/sys/
Duio.h38 ssize_t readv(int __fd, const struct iovec* __iov, int __count);
39 ssize_t writev(int __fd, const struct iovec* __iov, int __count);
42 ssize_t preadv(int __fd, const struct iovec* __iov, int __count, off_t __offset) __RENAME_IF_FILE_O…
43 ssize_t pwritev(int __fd, const struct iovec* __iov, int __count, off_t __offset) __RENAME_IF_FILE_…
44 ssize_t preadv64(int __fd, const struct iovec* __iov, int __count, off64_t __offset) __INTRODUCED_I…
45 ssize_t pwritev64(int __fd, const struct iovec* __iov, int __count, off64_t __offset) __INTRODUCED_…
49 ssize_t process_vm_readv(pid_t __pid, const struct iovec* __local_iov, unsigned long __local_iov_co…
50 ssize_t process_vm_writev(pid_t __pid, const struct iovec* __local_iov, unsigned long __local_iov_c…
Dxattr.h82 ssize_t fgetxattr(int __fd, const char* __name, void* __value, size_t __size);
91 ssize_t getxattr(const char* __path, const char* __name, void* __value, size_t __size);
101 ssize_t lgetxattr(const char* __path, const char* __name, void* __value, size_t __size);
111 ssize_t flistxattr(int __fd, char* __list, size_t __size);
120 ssize_t listxattr(const char* __path, char* __list, size_t __size);
130 ssize_t llistxattr(const char* __path, char* __list, size_t __size);
Dsendfile.h43 ssize_t sendfile(int __out_fd, int __in_fd, off_t* __offset, size_t __count) __RENAME(sendfile64) _…
53 ssize_t sendfile(int __out_fd, int __in_fd, off_t* __offset, size_t __count);
60 ssize_t sendfile64(int __out_fd, int __in_fd, off64_t* __offset, size_t __count) __INTRODUCED_IN(21…
Dsocket.h306 __socketcall ssize_t recvmsg(int __fd, struct msghdr* __msg, int __flags);
308 __socketcall ssize_t sendmsg(int __fd, const struct msghdr* __msg, int __flags);
314 ssize_t recv(int __fd, void* __buf, size_t __n, int __flags);
315 ssize_t send(int __fd, const void* __buf, size_t __n, int __flags);
317 __socketcall ssize_t sendto(int __fd, const void* __buf, size_t __n, int __flags, const struct sock…
318 __socketcall ssize_t recvfrom(int __fd, void* __buf, size_t __n, int __flags, struct sockaddr* __sr…
/bionic/libc/include/
Dunistd.h222 ssize_t readlink(const char* __path, char* __buf, size_t __buf_size);
223 ssize_t readlinkat(int __dir_fd, const char* __path, char* __buf, size_t __buf_size)
238 ssize_t read(int __fd, void* __buf, size_t __count);
239 ssize_t write(int __fd, const void* __buf, size_t __count);
251 ssize_t pread(int __fd, void* __buf, size_t __count, off_t __offset) __RENAME(pread64);
252 ssize_t pwrite(int __fd, const void* __buf, size_t __count, off_t __offset) __RENAME(pwrite64);
257 ssize_t pread(int __fd, void* __buf, size_t __count, off_t __offset);
258 ssize_t pwrite(int __fd, const void* __buf, size_t __count, off_t __offset);
264 ssize_t pread64(int __fd, void* __buf, size_t __count, off64_t __offset);
265 ssize_t pwrite64(int __fd, const void* __buf, size_t __count, off64_t __offset);
[all …]
Dfcntl.h152 ssize_t splice(int __in_fd, off64_t* __in_offset, int __out_fd, off64_t* __out_offset, size_t __len…
166 ssize_t tee(int __in_fd, int __out_fd, size_t __length, unsigned int __flags) __INTRODUCED_IN(21);
180 ssize_t vmsplice(int __fd, const struct iovec* __iov, size_t __count, unsigned int __flags) __INTRO…
235 ssize_t readahead(int __fd, off64_t __offset, size_t __length);
/bionic/libc/bionic/
Dlegacy_32_bit_support.cpp64 ssize_t pread(int fd, void* buf, size_t byte_count, off_t offset) { in pread()
69 ssize_t pwrite(int fd, const void* buf, size_t byte_count, off_t offset) { in pwrite()
77 ssize_t preadv(int fd, const struct iovec* ios, int count, off_t offset) { in preadv()
80 ssize_t preadv64(int fd, const struct iovec* ios, int count, off64_t offset) { in preadv64()
83 ssize_t pwritev(int fd, const struct iovec* ios, int count, off_t offset) { in pwritev()
86 ssize_t pwritev64(int fd, const struct iovec* ios, int count, off64_t offset) { in pwritev64()
Dpthread_setname_np.cpp68 ssize_t n = TEMP_FAILURE_RETRY(read(fd, buf, buf_size)); in pthread_getname_np()
80 if (n == static_cast<ssize_t>(buf_size)) return ERANGE; in pthread_getname_np()
101 ssize_t n = TEMP_FAILURE_RETRY(write(fd, thread_name, thread_name_len)); in pthread_setname_np()
105 if (n != static_cast<ssize_t>(thread_name_len)) return EIO; in pthread_setname_np()
Dflistxattr.cpp38 extern "C" ssize_t __flistxattr(int, char*, size_t);
40 ssize_t flistxattr(int fd, char *list, size_t size) { in flistxattr()
42 ssize_t result = __flistxattr(fd, list, size); in flistxattr()
Dfgetxattr.cpp38 extern "C" ssize_t __fgetxattr(int, const char*, void*, size_t);
40 ssize_t fgetxattr(int fd, const char *name, void *value, size_t size) { in fgetxattr()
42 ssize_t result = __fgetxattr(fd, name, value, size); in fgetxattr()
Dfortify.cpp178 ssize_t __pread64_chk(int fd, void* buf, size_t count, off64_t offset, size_t buf_size) { in __pread64_chk()
184 ssize_t __pread_chk(int fd, void* buf, size_t count, off_t offset, size_t buf_size) { in __pread_chk()
190 ssize_t __pwrite64_chk(int fd, const void* buf, size_t count, off64_t offset, in __pwrite64_chk()
197 ssize_t __pwrite_chk(int fd, const void* buf, size_t count, off_t offset, in __pwrite_chk()
204 ssize_t __read_chk(int fd, void* buf, size_t count, size_t buf_size) { in __read_chk()
210 ssize_t __readlinkat_chk(int dirfd, const char* path, char* buf, size_t size, size_t buf_size) { in __readlinkat_chk()
216 ssize_t __readlink_chk(const char* path, char* buf, size_t size, size_t buf_size) { in __readlink_chk()
222 ssize_t __recvfrom_chk(int socket, void* buf, size_t len, size_t buf_size, in __recvfrom_chk()
228 ssize_t __sendto_chk(int socket, const void* buf, size_t len, size_t buflen, in __sendto_chk()
451 ssize_t __write_chk(int fd, const void* buf, size_t count, size_t buf_size) { in __write_chk()
Drecvmsg.cpp36 extern "C" ssize_t __recvmsg(int __fd, struct msghdr* __msg, int __flags);
68 ssize_t recvmsg(int __fd, struct msghdr* __msg, int __flags) { in recvmsg()
69 ssize_t rc = __recvmsg(__fd, __msg, __flags); in recvmsg()
DNetdClientDispatch.cpp32 extern "C" __socketcall ssize_t __sendmsg(int, const msghdr*, unsigned int);
69 ssize_t sendmsg(int fd, const struct msghdr* msg, int flags) { in sendmsg()
73 ssize_t sendto(int fd, const void* buf, size_t n, int flags, in sendto()
/bionic/libc/
DSYSCALLS.TXT43 ssize_t readahead(int, off64_t, size_t) all
92 ssize_t read(int, void*, size_t) all
93 ssize_t write(int, const void*, size_t) all
94 ssize_t pread64(int, void*, size_t, off64_t) lp32
95 ssize_t pread64|pread(int, void*, size_t, off_t) lp64
96 ssize_t pwrite64(int, void*, size_t, off64_t) lp32
97 ssize_t pwrite64|pwrite(int, void*, size_t, off_t) lp64
103 ssize_t __preadv64:preadv(int, const struct iovec*, int, long, long) lp32
104 ssize_t preadv|preadv64(int, const struct iovec*, int, off_t) lp64
105 ssize_t __pwritev64:pwritev(int, const struct iovec*, int, long, long) lp32
[all …]
/bionic/tests/headers/posix/
Dsys_socket_h.c133 TYPE(ssize_t); in sys_socket_h()
142 FUNCTION(recv, ssize_t (*f)(int, void*, size_t, int)); in sys_socket_h()
143 FUNCTION(recvfrom, ssize_t (*f)(int, void*, size_t, int, struct sockaddr*, socklen_t*)); in sys_socket_h()
144 FUNCTION(send, ssize_t (*f)(int, const void*, size_t, int)); in sys_socket_h()
145 FUNCTION(sendmsg, ssize_t (*f)(int, const struct msghdr*, int)); in sys_socket_h()
146 FUNCTION(sendto, ssize_t (*f)(int, const void*, size_t, int, const struct sockaddr*, socklen_t)); in sys_socket_h()
Dsys_uio_h.c38 TYPE(ssize_t); in sys_uio_h()
41 FUNCTION(readv, ssize_t (*f)(int, const struct iovec*, int)); in sys_uio_h()
42 FUNCTION(writev, ssize_t (*f)(int, const struct iovec*, int)); in sys_uio_h()
Dunistd_h.c281 TYPE(ssize_t); in unistd_h()
347 FUNCTION(pread, ssize_t (*f)(int, void*, size_t, off_t)); in unistd_h()
348 FUNCTION(pwrite, ssize_t (*f)(int, const void*, size_t, off_t)); in unistd_h()
349 FUNCTION(read, ssize_t (*f)(int, void*, size_t)); in unistd_h()
350 FUNCTION(readlink, ssize_t (*f)(const char*, char*, size_t)); in unistd_h()
351 FUNCTION(readlinkat, ssize_t (*f)(int, const char*, char*, size_t)); in unistd_h()
363 FUNCTION(swab, void (*f)(const void*, void*, ssize_t)); in unistd_h()
375 FUNCTION(write, ssize_t (*f)(int, const void*, size_t)); in unistd_h()
Dsys_msg_h.c60 TYPE(ssize_t); in sys_msg_h()
65 FUNCTION(msgrcv, ssize_t (*f)(int, void*, size_t, long, int)); in sys_msg_h()
/bionic/tools/versioner/tests/preprocessor_file_offset_bits/headers/
Dfoo.h6 typedef int ssize_t; typedef
24 ssize_t pread(int __fd, void* __buf, size_t __count, off_t __offset) __RENAME(pread64)
27 ssize_t pread(int __fd, void* __buf, size_t __count, off_t __offset);
/bionic/tools/versioner/tests/preprocessor_file_offset_bits/expected/
Dfoo.h6 typedef int ssize_t; typedef
26 ssize_t pread(int __fd, void* __buf, size_t __count, off_t __offset) __RENAME(pread64)
31 ssize_t pread(int __fd, void* __buf, size_t __count, off_t __offset);
/bionic/libc/private/
Dgrp_pwd.h41 ssize_t getgrent_idx;
49 ssize_t getpwent_idx;
/bionic/tests/
Dsys_sendfile_test.cpp35 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count); in TEST()
54 ssize_t rc = sendfile64(dst_file.fd, src_file.fd, &offset, count); in TEST()
Dsys_mman_test.cpp52 #define STR_SSIZE(str) static_cast<ssize_t>(sizeof(str))
166 ASSERT_EQ(static_cast<ssize_t>(pagesize), read(tf.fd, buf, pagesize)); in TEST()
169 ASSERT_EQ(static_cast<ssize_t>(pagesize), read(tf.fd, buf, pagesize)); in TEST()
172 ASSERT_EQ(static_cast<ssize_t>(pagesize), read(tf.fd, buf, pagesize)); in TEST()
183 ASSERT_EQ(static_cast<ssize_t>(pagesize), write(tempfile.fd, buf, pagesize)); in TEST()

1234