/bionic/libc/include/sys/ |
D | xattr.h | 42 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);
|
D | sendfile.h | 37 extern ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count); 38 extern ssize_t sendfile64(int out_fd, int in_fd, off64_t* offset, size_t count);
|
D | socket.h | 288 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()
|
D | types.h | 138 typedef __kernel_ssize_t ssize_t; typedef
|
/bionic/libc/include/ |
D | unistd.h | 121 extern ssize_t readlink(const char*, char*, size_t); 122 extern ssize_t readlinkat(int, const char*, char*, size_t); 137 extern ssize_t read(int, void *, size_t); 138 extern ssize_t write(int, const void *, size_t); 139 extern ssize_t pread(int, void *, size_t, off_t); 140 extern ssize_t pread64(int, void *, size_t, off64_t); 141 extern ssize_t pwrite(int, const void *, size_t, off_t); 142 extern ssize_t pwrite64(int, const void *, size_t, off64_t); 200 extern ssize_t __read_chk(int, void*, size_t, size_t); 203 extern ssize_t __read_real(int, void*, size_t) __RENAME(read); [all …]
|
D | fcntl.h | 79 extern ssize_t splice(int, off64_t*, int, off64_t*, size_t, unsigned int); 80 extern ssize_t tee(int, int, size_t, unsigned int); 82 extern ssize_t vmsplice(int, const struct iovec*, size_t, unsigned int);
|
D | stdio.h | 233 ssize_t getdelim(char ** __restrict, size_t * __restrict, int, 235 ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict);
|
/bionic/libc/bionic/ |
D | pthread_setname_np.cpp | 74 ssize_t n = TEMP_FAILURE_RETRY(write(fd, thread_name, thread_name_len)); in pthread_setname_np() 79 } else if (n != static_cast<ssize_t>(thread_name_len)) { in pthread_setname_np()
|
D | readlink.cpp | 33 ssize_t readlink(const char* path, char* buf, size_t size) { in readlink()
|
D | send.cpp | 31 ssize_t send(int socket, const void* buf, size_t len, int flags) { in send()
|
D | recv.cpp | 32 ssize_t recv(int socket, void *buf, size_t len, int flags) { in recv()
|
D | __read_chk.cpp | 33 extern "C" ssize_t __read_chk(int fd, void* buf, size_t count, size_t buf_size) { in __read_chk()
|
D | __recvfrom_chk.cpp | 35 ssize_t __recvfrom_chk(int socket, void* buf, size_t len, size_t buflen, in __recvfrom_chk()
|
D | legacy_32_bit_support.cpp | 83 ssize_t pread(int fd, void* buf, size_t byte_count, off_t offset) { in pread() 88 ssize_t pwrite(int fd, const void* buf, size_t byte_count, off_t offset) { in pwrite()
|
D | pty.cpp | 92 ssize_t count = readlink(path, buf, len); in ttyname_r()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | getline.c | 33 ssize_t
|
D | getdelim.c | 44 ssize_t
|
/bionic/tests/ |
D | sys_sendfile_test.cpp | 34 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()
|
D | fcntl_test.cpp | 166 ssize_t bytes_read = splice(in, 0, pipe_fds[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); in TEST() 169 …ssize_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()
|
D | sys_mman_test.cpp | 51 #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()
|
D | stdio_test.cpp | 170 ssize_t read_char_count; in TEST() 221 ASSERT_EQ(sizeof(ssize_t), sizeof(long int)); in TEST() 222 ASSERT_EQ(sizeof(ssize_t), sizeof(size_t)); in TEST() 226 ssize_t v = 1; in TEST()
|
/bionic/libc/ |
D | SYSCALLS.TXT | 41 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(int, const char*, void*, size_t) all 127 ssize_t flistxattr(int, char*, size_t) all 157 ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count) arm,mips,x86 [all …]
|
/bionic/linker/tests/ |
D | linker_allocator_test.cpp | 31 ssize_t value;
|
/bionic/linker/ |
D | linker_allocator.cpp | 71 ssize_t offset = reinterpret_cast<uint8_t*>(block) - page->bytes; in free()
|
D | linker_phdr.cpp | 145 ssize_t rc = TEMP_FAILURE_RETRY(pread64(fd_, &header_, sizeof(header_), file_offset_)); in ReadElfHeader() 540 ssize_t file_offset = 0; in phdr_table_serialize_gnu_relro() 549 ssize_t size = seg_page_end - seg_page_start; in phdr_table_serialize_gnu_relro() 551 ssize_t written = TEMP_FAILURE_RETRY(write(fd, reinterpret_cast<void*>(seg_page_start), size)); in phdr_table_serialize_gnu_relro()
|