Home
last modified time | relevance | path

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

12345678910>>...25

/external/compiler-rt/test/msan/Linux/
Dxattr.cc22 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);
25 ssize_t getxattr(const char *path, const char *name, void *value, size_t size);
26 ssize_t lgetxattr(const char *path, const char *name, void *value, 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()
[all …]
/external/jemalloc/test/unit/
Dmallctl.c168 TEST_MALLCTL_OPT(ssize_t, lg_dirty_mult, always); in TEST_BEGIN()
169 TEST_MALLCTL_OPT(ssize_t, decay_time, always); in TEST_BEGIN()
182 TEST_MALLCTL_OPT(ssize_t, lg_prof_sample, prof); in TEST_BEGIN()
184 TEST_MALLCTL_OPT(ssize_t, lg_prof_interval, prof); in TEST_BEGIN()
357 ssize_t lg_dirty_mult, orig_lg_dirty_mult, prev_lg_dirty_mult; in TEST_BEGIN()
358 size_t sz = sizeof(ssize_t); in TEST_BEGIN()
367 &lg_dirty_mult, sizeof(ssize_t)), EFAULT, in TEST_BEGIN()
372 &lg_dirty_mult, sizeof(ssize_t)), EFAULT, in TEST_BEGIN()
376 lg_dirty_mult < (ssize_t)(sizeof(size_t) << 3); prev_lg_dirty_mult in TEST_BEGIN()
378 ssize_t old_lg_dirty_mult; in TEST_BEGIN()
[all …]
Dutil.c293 TEST("_-1234_", "_%zd_", ((ssize_t)-1234)); in TEST_BEGIN()
294 TEST("_1234_", "_%zd_", ((ssize_t)1234)); in TEST_BEGIN()
295 TEST("_-1234_", "_%zi_", ((ssize_t)-1234)); in TEST_BEGIN()
296 TEST("_1234_", "_%zi_", ((ssize_t)1234)); in TEST_BEGIN()
297 TEST("_01234_", "_%#zo_", ((ssize_t)01234)); in TEST_BEGIN()
298 TEST("_1234_", "_%zu_", ((ssize_t)1234)); in TEST_BEGIN()
299 TEST("_0x1234abc_", "_%#zx_", ((ssize_t)0x1234abc)); in TEST_BEGIN()
300 TEST("_0X1234ABC_", "_%#zX_", ((ssize_t)0x1234ABC)); in TEST_BEGIN()
/external/elfutils/lib/
Dsystem.h72 static inline ssize_t __attribute__ ((unused))
75 ssize_t recvd = 0; in pwrite_retry()
79 ssize_t ret = TEMP_FAILURE_RETRY (pwrite (fd, buf + recvd, len - recvd, in pwrite_retry()
91 static inline ssize_t __attribute__ ((unused))
94 ssize_t recvd = 0; in write_retry()
98 ssize_t ret = TEMP_FAILURE_RETRY (write (fd, buf + recvd, len - recvd)); in write_retry()
109 static inline ssize_t __attribute__ ((unused))
112 ssize_t recvd = 0; in pread_retry()
116 ssize_t ret = TEMP_FAILURE_RETRY (pread (fd, buf + recvd, len - recvd, in pread_retry()
/external/vboot_reference/futility/
Ddump_kernel_config_lib.c27 typedef ssize_t (*ReadFullyFn)(void *ctx, void *buf, size_t count);
29 static ssize_t ReadFullyWithRead(void *ctx, void *buf, size_t count) in ReadFullyWithRead()
31 ssize_t nr_read = 0; in ReadFullyWithRead()
34 ssize_t to_read = count - nr_read; in ReadFullyWithRead()
35 ssize_t chunk = read(fd, buf + nr_read, to_read); in ReadFullyWithRead()
47 static ssize_t ReadFullyWithMtdRead(void *ctx, void *buf, size_t count) in ReadFullyWithMtdRead()
58 ssize_t nr_skipped = 0; in SkipWithRead()
60 ssize_t to_read = count - nr_skipped; in SkipWithRead()
85 ssize_t to_skip = key_block.key_block_size - sizeof(key_block); in FindKernelConfigFromStream()
/external/bison/m4/
Dssize_t.m41 # ssize_t.m4 serial 5 (gettext-0.18.2)
8 dnl Test whether ssize_t is defined.
12 AC_CACHE_CHECK([for ssize_t], [gt_cv_ssize_t],
16 [[int x = sizeof (ssize_t *) + sizeof (ssize_t);
20 AC_DEFINE([ssize_t], [int], definition
/external/curl/lib/
Dsendf.h63 ssize_t *n);
65 ssize_t Curl_recv_plain(struct connectdata *conn, int num, char *buf,
67 ssize_t Curl_send_plain(struct connectdata *conn, int num,
73 ssize_t *n);
78 ssize_t *written);
84 ssize_t *written);
Dwarnless.c262 ssize_t curlx_uztosz(size_t uznum) in curlx_uztosz()
270 return (ssize_t)(uznum & (size_t) SSIZE_MAX); in curlx_uztosz()
300 int curlx_sztosi(ssize_t sznum) in curlx_sztosi()
311 return (int)(sznum & (ssize_t) CURL_MASK_SINT); in curlx_sztosi()
345 return (int)((ssize_t) s); in curlx_sktosi()
354 return (curl_socket_t)((ssize_t) i); in curlx_sitosk()
361 ssize_t curlx_read(int fd, void *buf, size_t count) in curlx_read()
363 return (ssize_t)read(fd, buf, curlx_uztoui(count)); in curlx_read()
366 ssize_t curlx_write(int fd, const void *buf, size_t count) in curlx_write()
368 return (ssize_t)write(fd, buf, curlx_uztoui(count)); in curlx_write()
Dsocks.c55 ssize_t buffersize, /* max amount to read */ in Curl_blockread_all()
56 ssize_t *n) /* amount bytes read */ in Curl_blockread_all()
58 ssize_t nread; in Curl_blockread_all()
59 ssize_t allread = 0; in Curl_blockread_all()
217 ssize_t actualread; in Curl_SOCKS4()
218 ssize_t written; in Curl_SOCKS4()
219 ssize_t hostnamelen = 0; in Curl_SOCKS4()
230 hostnamelen = (ssize_t)strlen(hostname) + 1; /* length including NUL */ in Curl_SOCKS4()
247 hostnamelen = (ssize_t)strlen(hostname) + 1; in Curl_SOCKS4()
372 ssize_t actualread;
[all …]
Dsendf.c172 ssize_t bytes_written; in Curl_sendf()
224 ssize_t *written) in Curl_write()
226 ssize_t bytes_written; in Curl_write()
253 ssize_t Curl_send_plain(struct connectdata *conn, int num, in Curl_send_plain()
257 ssize_t bytes_written = swrite(sockfd, mem, len); in Curl_send_plain()
297 ssize_t *written) in Curl_write_plain()
299 ssize_t bytes_written; in Curl_write_plain()
310 ssize_t Curl_recv_plain(struct connectdata *conn, int num, char *buf, in Curl_recv_plain()
314 ssize_t nread = sread(sockfd, buf, len); in Curl_recv_plain()
517 ssize_t *n) in Curl_read_plain()
[all …]
Dpingpong.c162 ssize_t bytes_written; in Curl_pp_vsendf()
218 if(bytes_written != (ssize_t)write_len) { in Curl_pp_vsendf()
269 ssize_t perline; /* count bytes per line */ in Curl_pp_readresp()
271 ssize_t gotbytes; in Curl_pp_readresp()
284 perline = (ssize_t)(ptr-pp->linestart_resp); in Curl_pp_readresp()
298 gotbytes = (ssize_t)pp->cache_size; in Curl_pp_readresp()
339 ssize_t i; in Curl_pp_readresp()
340 ssize_t clipamount = 0; in Curl_pp_readresp()
474 ssize_t written; in Curl_pp_flushsend()
481 if(written != (ssize_t)pp->sendleft) { in Curl_pp_flushsend()
/external/libchrome/base/posix/
Dunix_domain_socket_linux.h43 static ssize_t RecvMsg(int fd,
52 static ssize_t RecvMsgWithPid(int fd,
77 static ssize_t SendRecvMsg(int fd,
85 static ssize_t SendRecvMsgWithFlags(int fd,
94 static ssize_t RecvMsgWithFlags(int fd,
Dunix_domain_socket_linux.cc80 const ssize_t r = HANDLE_EINTR(sendmsg(fd, &msg, flags)); in SendMsg()
81 const bool ret = static_cast<ssize_t>(length) == r; in SendMsg()
87 ssize_t UnixDomainSocket::RecvMsg(int fd, in RecvMsg()
95 ssize_t UnixDomainSocket::RecvMsgWithPid(int fd, in RecvMsgWithPid()
104 ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd, in RecvMsgWithFlags()
129 const ssize_t r = HANDLE_EINTR(recvmsg(fd, &msg, flags)); in RecvMsgWithFlags()
189 ssize_t UnixDomainSocket::SendRecvMsg(int fd, in SendRecvMsg()
200 ssize_t UnixDomainSocket::SendRecvMsgWithFlags(int fd, in SendRecvMsgWithFlags()
227 const ssize_t reply_len = RecvMsgWithFlags( in SendRecvMsgWithFlags()
/external/libchrome/base/strings/
Dsafe_sprintf.h27 typedef __int64 ssize_t; typedef
29 typedef long ssize_t;
207 BASE_EXPORT ssize_t SafeSNPrintf(char* buf, size_t sz, const char* fmt,
221 ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt, Args... args) { in SafeSNPrintf()
229 ssize_t SafeSPrintf(char (&buf)[N], const char* fmt, Args... args) { in SafeSPrintf()
237 BASE_EXPORT ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt);
239 inline ssize_t SafeSPrintf(char (&buf)[N], const char* fmt) { in SafeSPrintf()
/external/mksh/src/
Dshf.c52 ssize_t bsize = in shf_open()
129 ssize_t bsize = in shf_fdopen()
164 ssize_t bsize = in shf_reopen()
196 shf_sopen(char *buf, ssize_t bsize, int sflags, struct shf *shf) in shf_sopen()
361 ssize_t n, ntowrite = shf->wp - shf->buf; in shf_emptybuf()
406 ssize_t n; in shf_fillbuf()
449 ssize_t
450 shf_read(char *buf, ssize_t bsize, struct shf *shf) in shf_read()
452 ssize_t ncopy, orig_bsize = bsize; in shf_read()
485 shf_getse(char *buf, ssize_t bsize, struct shf *shf) in shf_getse()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dimager.c37 typedef int ssize_t; typedef
66 ssize_t actual; in ext2fs_image_inode_write()
118 if (actual != (ssize_t) (fs->blocksize * d)) { in ext2fs_image_inode_write()
145 ssize_t actual; in ext2fs_image_inode_read()
168 if (actual != (ssize_t) (fs->blocksize * c)) { in ext2fs_image_inode_read()
194 ssize_t actual; in ext2fs_image_super_write()
211 if (actual != (ssize_t) fs->blocksize) { in ext2fs_image_super_write()
225 if (actual != (ssize_t) (fs->blocksize * fs->desc_blocks)) { in ext2fs_image_super_write()
244 ssize_t actual, size; in ext2fs_image_super_read()
287 ssize_t actual; in ext2fs_image_bitmap_write()
[all …]
/external/clang/test/Analysis/
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()
/external/google-breakpad/src/common/tests/
Dfile_utils.cc64 ssize_t bytes_read = HANDLE_EINTR(read(infile, buffer, sizeof(buffer))); in CopyFile()
72 ssize_t bytes_written_per_read = 0; in CopyFile()
74 ssize_t bytes_written_partial = HANDLE_EINTR(write( in CopyFile()
99 bool ReadFile(const char* path, void* buffer, ssize_t* buffer_size) { in ReadFile()
132 ssize_t bytes_written_partial = 0; in WriteFile()
/external/libedit/src/
Dchartype.c81 ssize_t used = 0; in ct_encode_string()
92 used = (ssize_t)(conv->csize - (size_t)(dst - conv->cbuff)); in ct_encode_string()
142 ssize_t bytes; in ct_decode_argv()
160 bytes = (ssize_t)mbstowcs(p, argv[i], bufspace); in ct_decode_argv()
191 protected ssize_t
194 ssize_t l = 0; in ct_encode_char()
214 ssize_t used = 0; in ct_visual_string()
288 protected ssize_t
312 if ((ssize_t)len < ct_visual_width(c)) in ct_visual_char()
/external/ceres-solver/include/ceres/internal/
Dfixed_array.h73 typedef __int64 ssize_t; typedef
75 typedef __int32 ssize_t;
78 template <typename T, ssize_t inline_elements = -1>
163 template <class T, ssize_t S>
177 template <class T, ssize_t S>
/external/libchrome/sandbox/linux/services/
Dnamespace_utils.cc49 const ssize_t len = in WriteToIdMapFile()
51 const ssize_t rc = HANDLE_EINTR(write(fd, mapping, len)); in WriteToIdMapFile()
112 const ssize_t len = sizeof(kDeny) - 1; in DenySetgroups()
113 const ssize_t rc = HANDLE_EINTR(write(fd, kDeny, len)); in DenySetgroups()
/external/libcap/libcap/include/sys/
Dcapability.h99 extern ssize_t cap_size(cap_t);
100 extern ssize_t cap_copy_ext(void *, cap_t, ssize_t);
105 extern char * cap_to_text(cap_t, ssize_t *);
/external/elfutils/libdwelf/
Dlibdwelf.h56 extern ssize_t dwelf_dwarf_gnu_debugaltlink (Dwarf *dwarf,
66 extern ssize_t dwelf_elf_gnu_build_id (Elf *elf, const void **build_idp);
73 extern ssize_t dwelf_scn_gnu_compressed_size (Elf_Scn *scn);
/external/curl/tests/server/
Dsockfilt.c274 static ssize_t read_wincon(int fd, void *buf, size_t count) in read_wincon()
306 static ssize_t write_wincon(int fd, const void *buf, size_t count) in write_wincon()
346 static ssize_t fullread(int filedes, void *buffer, size_t nbytes) in fullread()
349 ssize_t rc; in fullread()
350 ssize_t nread = 0; in fullread()
392 static ssize_t fullwrite(int filedes, const void *buffer, size_t nbytes) in fullwrite()
395 ssize_t wc; in fullwrite()
396 ssize_t nwrite = 0; in fullwrite()
440 ssize_t nread = fullread(fileno(stdin), buffer, nbytes); in read_stdin()
441 if(nread != (ssize_t)nbytes) { in read_stdin()
[all …]
/external/dhcpcd-6.8.2/
Ddhcp-common.c125 ssize_t
133 return (ssize_t)snprintf(str, len, "%s-%s", in dhcp_vendor()
269 ssize_t
351 return (ssize_t)count; in decode_rfc3397()
427 ssize_t
522 return (ssize_t)bytes; in print_string()
548 return (ssize_t)opt->len; in dhcp_optlen()
550 return (ssize_t)dl; in dhcp_optlen()
560 return (ssize_t)(dl - (dl % sz)); in dhcp_optlen()
561 return (ssize_t)sz; in dhcp_optlen()
[all …]

12345678910>>...25