Home
last modified time | relevance | path

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

12

/bionic/libc/include/sys/
Dxattr.h42 extern ssize_t fgetxattr(int fd, const char *name, void *value, size_t size);
43 extern ssize_t getxattr(const char *path, const char *name, void *value, size_t size);
44 extern ssize_t lgetxattr(const char *path, const char *name, void *value, size_t size);
46 extern ssize_t listxattr(const char *path, char *list, size_t size);
47 extern ssize_t llistxattr(const char *path, char *list, size_t size);
48 extern ssize_t flistxattr(int fd, char *list, size_t size);
Dsendfile.h38 extern ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count) __RENAME(sendfile64);
40 extern ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count);
42 extern ssize_t sendfile64(int out_fd, int in_fd, off64_t* offset, size_t count);
Duio.h41 ssize_t process_vm_readv(pid_t, const struct iovec*, unsigned long, const struct iovec*, unsigned l…
42 ssize_t process_vm_writev(pid_t, const struct iovec*, unsigned long, const struct iovec*, unsigned …
Dsocket.h288 extern ssize_t send(int, const void*, size_t, int);
289 extern ssize_t recv(int, void*, size_t, int);
291 __socketcall ssize_t sendto(int, const void*, size_t, int, const struct sockaddr*, socklen_t);
292 __socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
295 extern ssize_t __recvfrom_chk(int, void*, size_t, size_t, int, const struct sockaddr*, socklen_t*);
296 extern ssize_t __recvfrom_real(int, void*, size_t, int, const struct sockaddr*, socklen_t*) __RENAM…
301 ssize_t recvfrom(int fd, void* buf, size_t len, int flags, const struct sockaddr* src_addr, socklen… in recvfrom()
322 ssize_t recv(int socket, void* buf, size_t len, int flags) { in recv()
/bionic/libc/include/
Dunistd.h139 extern ssize_t readlink(const char*, char*, size_t);
140 extern ssize_t readlinkat(int, const char*, char*, size_t);
151 extern ssize_t read(int, void *, size_t);
152 extern ssize_t write(int, const void *, size_t);
165 extern ssize_t pread(int, void *, size_t, off_t) __RENAME(pread64);
166 extern ssize_t pwrite(int, const void *, size_t, off_t) __RENAME(pwrite64);
171 extern ssize_t pread(int, void *, size_t, off_t);
172 extern ssize_t pwrite(int, const void *, size_t, off_t);
177 extern ssize_t pread64(int, void *, size_t, off64_t);
178 extern ssize_t pwrite64(int, const void *, size_t, off64_t);
[all …]
Dfcntl.h67 extern ssize_t splice(int, off64_t*, int, off64_t*, size_t, unsigned int);
68 extern ssize_t tee(int, int, size_t, unsigned int);
70 extern ssize_t vmsplice(int, const struct iovec*, size_t, unsigned int);
/bionic/libc/bionic/
Dfgetxattr.cpp36 extern "C" ssize_t ___fgetxattr(int, const char*, void*, size_t);
38 ssize_t fgetxattr(int fd, const char *name, void *value, size_t size) { in fgetxattr()
40 ssize_t result = ___fgetxattr(fd, name, value, size); in fgetxattr()
Dpthread_setname_np.cpp72 ssize_t n = TEMP_FAILURE_RETRY(write(fd, thread_name, thread_name_len)); in pthread_setname_np()
77 } else if (n != static_cast<ssize_t>(thread_name_len)) { in pthread_setname_np()
Dreadlink.cpp36 ssize_t readlink(const char* path, char* buf, size_t size) { in readlink()
Dsend.cpp31 ssize_t send(int socket, const void* buf, size_t len, int flags) { in send()
Drecv.cpp32 ssize_t recv(int socket, void *buf, size_t len, int flags) { in recv()
D__readlink_chk.cpp33 extern "C" ssize_t __readlink_chk(const char* path, char* buf, size_t size, size_t buf_size) { in __readlink_chk()
D__read_chk.cpp33 extern "C" ssize_t __read_chk(int fd, void* buf, size_t count, size_t buf_size) { in __read_chk()
D__readlinkat_chk.cpp33 extern "C" ssize_t __readlinkat_chk(int dirfd, const char* path, char* buf, size_t size, size_t buf… in __readlinkat_chk()
D__pread64_chk.cpp33 extern "C" ssize_t __pread64_chk(int fd, void* buf, size_t count, off64_t offset, size_t buf_size) { in __pread64_chk()
D__pread_chk.cpp33 extern "C" ssize_t __pread_chk(int fd, void* buf, size_t count, off_t offset, size_t buf_size) { in __pread_chk()
D__recvfrom_chk.cpp35 ssize_t __recvfrom_chk(int socket, void* buf, size_t len, size_t buflen, in __recvfrom_chk()
Dlegacy_32_bit_support.cpp71 ssize_t pread(int fd, void* buf, size_t byte_count, off_t offset) { in pread()
76 ssize_t pwrite(int fd, const void* buf, size_t byte_count, off_t offset) { in pwrite()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dgetline.c33 ssize_t
/bionic/tests/
Dsys_sendfile_test.cpp34 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count); in TEST()
53 ssize_t rc = sendfile64(dst_file.fd, src_file.fd, &offset, count); in TEST()
Dfcntl_test.cpp166 ssize_t bytes_read = splice(in, 0, pipe_fds[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); in TEST()
169ssize_t bytes_written = splice(pipe_fds[0], NULL, tf.fd, 0, bytes_read, SPLICE_F_MORE | SPLICE_F_M… in TEST()
186 ssize_t bytes_written = vmsplice(pipe_fds[1], v, sizeof(v)/sizeof(iovec), 0); in TEST()
215 ssize_t bytes_read = splice(in, 0, pipe1[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); in TEST()
220 ssize_t bytes_teed = tee(pipe1[0], pipe2[1], SIZE_MAX, 0); in TEST()
Dsys_mman_test.cpp51 #define STR_SSIZE(str) static_cast<ssize_t>(sizeof(str))
165 ASSERT_EQ(static_cast<ssize_t>(pagesize), read(tf.fd, buf, pagesize)); in TEST()
168 ASSERT_EQ(static_cast<ssize_t>(pagesize), read(tf.fd, buf, pagesize)); in TEST()
171 ASSERT_EQ(static_cast<ssize_t>(pagesize), read(tf.fd, buf, pagesize)); in TEST()
182 ASSERT_EQ(static_cast<ssize_t>(pagesize), write(tempfile.fd, buf, pagesize)); in TEST()
/bionic/tools/relocation_packer/src/
Delf_file.h80 ssize_t hole_size,
88 ssize_t hole_size,
/bionic/libc/
DSYSCALLS.TXT41 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) arm,mips,x86
95 ssize_t pread64|pread(int, void*, size_t, off_t) arm64,mips64,x86_64
96 ssize_t pwrite64(int, void*, size_t, off64_t) arm,mips,x86
97 ssize_t pwrite64|pwrite(int, void*, size_t, off_t) arm64,mips64,x86_64
126 ssize_t ___fgetxattr:fgetxattr(int, const char*, void*, size_t) all
127 ssize_t flistxattr(int, char*, size_t) all
156 ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count) arm,mips,x86
[all …]
/bionic/libc/stdio/
Dfread.c127 ssize_t bytes_read = (*fp->_read)(fp->_cookie, dst, total); in fread()

12