Home
last modified time | relevance | path

Searched refs:ssize_t (Results 1 – 25 of 35) 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.h37 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);
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()
Dtypes.h138 typedef __kernel_ssize_t ssize_t; typedef
/bionic/libc/include/
Dunistd.h121 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 …]
Dfcntl.h79 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);
Dstdio.h233 ssize_t getdelim(char ** __restrict, size_t * __restrict, int,
235 ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict);
/bionic/libc/bionic/
Dpthread_setname_np.cpp74 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()
Dreadlink.cpp33 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__read_chk.cpp33 extern "C" ssize_t __read_chk(int fd, void* buf, size_t count, size_t buf_size) { in __read_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.cpp83 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()
Dpty.cpp92 ssize_t count = readlink(path, buf, len); in ttyname_r()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dgetline.c33 ssize_t
Dgetdelim.c44 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()
Dstdio_test.cpp170 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/
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(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/
Dlinker_allocator_test.cpp31 ssize_t value;
/bionic/linker/
Dlinker_allocator.cpp71 ssize_t offset = reinterpret_cast<uint8_t*>(block) - page->bytes; in free()
Dlinker_phdr.cpp145 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()

12