Home
last modified time | relevance | path

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

12345

/llvm-project-15.0.7/compiler-rt/test/msan/Linux/
H A Dxattr.cpp22 ssize_t listxattr(const char *path, char *list, size_t size);
23 ssize_t llistxattr(const char *path, char *list, size_t size);
24 ssize_t flistxattr(int fd, char *list, size_t size);
27 ssize_t fgetxattr(int fd, const char *name, void *value, size_t size);
34 ssize_t listxattr_wrapper(char *buf, size_t size) { in listxattr_wrapper()
38 ssize_t llistxattr_wrapper(char *buf, size_t size) { in llistxattr_wrapper()
42 ssize_t flistxattr_wrapper(char *buf, size_t size) { in flistxattr_wrapper()
46 ssize_t getxattr_wrapper(const char *name, char *buf, size_t size) { in getxattr_wrapper()
58 size_t test_list(ssize_t fun(char*, size_t), char **buf) { in test_list()
63 ssize_t res = fun(*buf, buf_size); in test_list()
[all …]
H A Dprocess_vm_readv.cpp14 typedef ssize_t (*process_vm_readwritev_fn)(pid_t, const iovec *, unsigned long,
51 ssize_t res = process_vm_readv(getpid(), iov_b, 2, iov_a, 2, 0); in main()
H A Dfopencookie.cpp16 static ssize_t cookie_read(void *cookie, char *buf, size_t size) { in cookie_read()
22 static ssize_t cookie_write(void *cookie, const char *buf, size_t size) { in cookie_write()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dstd-c-library-functions.c88 typedef signed long ssize_t; typedef
89 ssize_t read(int, void *, size_t);
90 ssize_t write(int, const void *, size_t);
93 ssize_t x = write(fd, buf, 10); in test_read_write()
97 ssize_t y = read(fd, &glob, sizeof(glob)); in test_read_write()
131 ssize_t getline(char **restrict, size_t *restrict, FILE *restrict);
132 ssize_t getdelim(char **restrict, size_t *restrict, int, FILE *restrict);
136 ssize_t len; in test_getline()
H A Dtaint-tester.cpp7 typedef long ssize_t; typedef
8 ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict);
14 ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict);
21 ssize_t read; in getlineTest()
H A Dstd-c-library-functions-POSIX.c204 typedef size_t ssize_t; typedef
205 ssize_t readlink(const char *restrict path, char *restrict buf, size_t bufsize);
206 ssize_t readlinkat(int fd, const char *restrict path, char *restrict buf, size_t bufsize);
239 ssize_t recvfrom(int socket, void *restrict buffer, size_t length, int flags, __SOCKADDR_ARG addres…
240 ssize_t sendto(int socket, const void *message, size_t length, int flags, __CONST_SOCKADDR_ARG dest…
243 ssize_t recv(int sockfd, void *buf, size_t len, int flags);
245 ssize_t recvmsg(int sockfd, struct msghdr *msg, int flags);
246 ssize_t sendmsg(int sockfd, const struct msghdr *msg, int flags);
249 ssize_t send(int sockfd, const void *buf, size_t len, int flags);
H A Dstd-c-library-functions-POSIX-socket-sockaddr.cpp29 typedef size_t ssize_t; typedef
30 ssize_t recvfrom(int socket, void *buffer, size_t length, int flags, struct sockaddr *address, sock…
31 ssize_t sendto(int socket, const void *message, size_t length, int flags, const struct sockaddr *de…
H A Derrno-stdlibraryfunctions.c13 typedef size_t ssize_t; typedef
14 ssize_t send(int sockfd, const void *buf, size_t len, int flags);
H A Dtaint-tester.c157 typedef long ssize_t; typedef
158 ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict);
165 ssize_t read; in getlineTest()
/llvm-project-15.0.7/compiler-rt/test/tsan/Linux/
H A Dsyscall.h33 ssize_t myread(int fd, void *buf, size_t count) { in myread()
35 ssize_t res = syscall(SYS_read, fd, buf, count); in myread()
40 ssize_t mywrite(int fd, const void *buf, size_t count) { in mywrite()
42 ssize_t res = syscall(SYS_write, fd, buf, count); in mywrite()
/llvm-project-15.0.7/clang/test/Sema/
H A Dformat-strings-fixit-ssize_t.c15 typedef signed long int ssize_t; in test() typedef
16 printf("%f", (ssize_t) 42); in test()
17 ssize_t s; in test()
H A Dattr-bounded.c4 typedef long ssize_t; typedef
8 ssize_t read(int, void *, size_t)
H A Ddarwin-align-cast.c5 typedef __darwin_ssize_t ssize_t; typedef
18 ssize_t sendFileDescriptor(int fd, void *data, size_t nbytes, int sendfd) { in sendFileDescriptor()
/llvm-project-15.0.7/compiler-rt/test/scudo/
H A Dmalloc.cpp16 std::vector<ssize_t> sizes{1, 8, 16, 32, 1024, 32768, in main()
23 for (ssize_t size : sizes) { in main()
25 ssize_t actual_size = size + offset; in main()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/Shared/
H A DSimpleRemoteEPCUtils.cpp141 ssize_t Completed = 0; in readBytes()
142 while (Completed < static_cast<ssize_t>(Size)) { in readBytes()
143 ssize_t Read = ::read(InFD, Dst + Completed, Size - Completed); in readBytes()
171 ssize_t Completed = 0; in writeBytes()
172 while (Completed < static_cast<ssize_t>(Size)) { in writeBytes()
173 ssize_t Written = ::write(OutFD, Src + Completed, Size - Completed); in writeBytes()
/llvm-project-15.0.7/llvm/lib/ObjCopy/COFF/
H A DCOFFObject.h40 ssize_t UniqueId;
88 ssize_t TargetSectionId;
89 ssize_t AssociativeComdatTargetSectionId = 0;
133 const Section *findSection(ssize_t UniqueId) const;
146 DenseMap<ssize_t, Section *> SectionMap;
148 ssize_t NextSectionUniqueId = 1; // Allow a UniqueId 0 to mean undefined.
H A DCOFFObject.cpp77 SectionMap = DenseMap<ssize_t, Section *>(Sections.size()); in updateSections()
85 const Section *Object::findSection(ssize_t UniqueId) const { in findSection()
90 DenseSet<ssize_t> AssociatedSections; in removeSections()
95 DenseSet<ssize_t> RemovedSections; in removeSections()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dsize_t-literal.cpp10 typedef __PTRDIFF_TYPE__ ssize_t; typedef
22 static_assert(is_same<decltype(a1), ssize_t>::value); in SSizeT()
27 static_assert(is_same<decltype(a2), ssize_t>::value); in SSizeT()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Linux/
H A Dnohugepage_test.cpp35 ssize_t size = sizeof(FileContents) - 1; in FileToString()
36 ssize_t res = 0; in FileToString()
38 ssize_t got = read (fd, p, size); in FileToString()
/llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/FreeBSDKernel/tools/
H A Dlibfbsdvmcore-hacks.patch46 +ssize_t
50 + ssize_t cr;
59 + if (cc > (ssize_t)len)
79 +ssize_t xpread(int fd, void *buf, size_t count, off_t offset) {
91 +ssize_t xpread(int fd, void *buf, size_t count, off_t offset);
99 ssize_t fvc_read(fvc_t *, fvc_addr_t, void *, size_t);
100 +ssize_t fvc_write(fvc_t *, fvc_addr_t, const void *, size_t);
101 ssize_t fvc_kerndisp(fvc_t *);
233 if (rd < 0 || rd != (ssize_t)map_len) {
289 .Ft ssize_t
[all …]
/llvm-project-15.0.7/libc/include/llvm-libc-types/
H A Dcookie_io_functions_t.h16 typedef ssize_t cookie_read_function_t(void *, char *, size_t);
17 typedef ssize_t cookie_write_function_t(void *, const char *, size_t);
/llvm-project-15.0.7/llvm/include/llvm-c/
H A DDataTypes.h62 typedef signed __int64 ssize_t; typedef
64 typedef signed int ssize_t; typedef
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_x86_64.cpp28 static std::pair<ssize_t, bool>
31 ssize_t BytesRead; in retryingReadSome()
32 ssize_t TotalBytesRead = 0; in retryingReadSome()
55 ssize_t BytesRead; in readValueFromFile()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/dataflow/
H A DDataFlow.cpp136 ssize_t CurrentFuncGuard = -1; in PrintCoverage()
137 ssize_t CurrentFuncNum = -1; in PrintCoverage()
138 ssize_t NumBlocksInCurrentFunc = -1; in PrintCoverage()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dlinux.cpp158 ssize_t ReadBytes; in getRandom()
166 if (ReadBytes == static_cast<ssize_t>(Length)) in getRandom()
176 return (ReadBytes == static_cast<ssize_t>(Length)); in getRandom()

12345