Home
last modified time | relevance | path

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

12345678910>>...14

/f-stack/freebsd/sys/
H A Dextattr.h86 ssize_t extattr_get_fd(int _fd, int _attrnamespace, const char *_attrname,
88 ssize_t extattr_get_file(const char *_path, int _attrnamespace,
90 ssize_t extattr_get_link(const char *_path, int _attrnamespace,
92 ssize_t extattr_list_fd(int _fd, int _attrnamespace, void *_data,
94 ssize_t extattr_list_file(const char *_path, int _attrnamespace, void *_data,
96 ssize_t extattr_list_link(const char *_path, int _attrnamespace, void *_data,
98 ssize_t extattr_set_fd(int _fd, int _attrnamespace, const char *_attrname,
100 ssize_t extattr_set_file(const char *_path, int _attrnamespace,
102 ssize_t extattr_set_link(const char *_path, int _attrnamespace,
H A Dsbuf.h49 ssize_t s_size; /* size of storage buffer */
50 ssize_t s_len; /* current length of string */
63 ssize_t s_sect_len; /* current length of section */
64 ssize_t s_rec_off; /* current record start offset */
86 int sbuf_setpos(struct sbuf *, ssize_t);
102 ssize_t sbuf_len(struct sbuf *);
105 void sbuf_start_section(struct sbuf *, ssize_t *);
106 ssize_t sbuf_end_section(struct sbuf *, ssize_t, size_t, int);
H A Duio.h44 typedef __ssize_t ssize_t; typedef
59 ssize_t uio_resid; /* remaining bytes to process */
104 ssize_t readv(int, const struct iovec *, int);
105 ssize_t writev(int, const struct iovec *, int);
107 ssize_t preadv(int, const struct iovec *, int, off_t);
108 ssize_t pwritev(int, const struct iovec *, int, off_t);
/f-stack/app/redis-5.0.5/src/
H A Dsyncio.c49 ssize_t syncWrite(int fd, char *ptr, ssize_t size, long long timeout) { in syncWrite()
50 ssize_t nwritten, ret = size; in syncWrite()
85 ssize_t syncRead(int fd, char *ptr, ssize_t size, long long timeout) { in syncRead()
86 ssize_t nread, totread = 0; in syncRead()
125 ssize_t syncReadLine(int fd, char *ptr, ssize_t size, long long timeout) { in syncReadLine()
126 ssize_t nread = 0; in syncReadLine()
H A Danet_ff.c116 static ssize_t (*real_recv)(int, void *, size_t, int);
117 static ssize_t (*real_send)(int, const void *, size_t, int);
120 static ssize_t (*real_write)(int, const void *, size_t );
121 static ssize_t (*real_read)(int, void *, size_t );
122 static ssize_t (*real_readv)(int, const struct iovec *, int);
203 ssize_t
218 ssize_t
309 ssize_t write(int sockfd, const void *buf, size_t count) in write()
323 ssize_t
338 ssize_t read(int sockfd, void *buf, size_t count) in read()
[all …]
/f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/
H A Darena_externs.h10 extern ssize_t opt_dirty_decay_ms;
11 extern ssize_t opt_muzzy_decay_ms;
20 unsigned *nthreads, const char **dss, ssize_t *dirty_decay_ms,
21 ssize_t *muzzy_decay_ms, size_t *nactive, size_t *ndirty, size_t *nmuzzy);
23 const char **dss, ssize_t *dirty_decay_ms, ssize_t *muzzy_decay_ms,
39 ssize_t arena_dirty_decay_ms_get(arena_t *arena);
41 ssize_t arena_muzzy_decay_ms_get(arena_t *arena);
71 ssize_t arena_dirty_decay_ms_default_get(void);
72 bool arena_dirty_decay_ms_default_set(ssize_t decay_ms);
73 ssize_t arena_muzzy_decay_ms_default_get(void);
[all …]
H A Dmalloc_io.h66 static inline ssize_t
79 ssize_t result = (ssize_t)write(fd, buf, in malloc_write_fd()
85 return (ssize_t)result; in malloc_write_fd()
88 static inline ssize_t
93 ssize_t result = read(fd, buf, in malloc_read_fd()
99 return (ssize_t)result; in malloc_read_fd()
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_os.h19 typedef ssize_t (*ngx_recv_pt)(ngx_connection_t *c, u_char *buf, size_t size);
20 typedef ssize_t (*ngx_recv_chain_pt)(ngx_connection_t *c, ngx_chain_t *in,
22 typedef ssize_t (*ngx_send_pt)(ngx_connection_t *c, u_char *buf, size_t size);
46 ssize_t ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size);
47 ssize_t ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *entry, off_t limit);
48 ssize_t ngx_udp_unix_recv(ngx_connection_t *c, u_char *buf, size_t size);
49 ssize_t ngx_unix_send(ngx_connection_t *c, u_char *buf, size_t size);
52 ssize_t ngx_udp_unix_send(ngx_connection_t *c, u_char *buf, size_t size);
75 ssize_t ngx_writev(ngx_connection_t *c, ngx_iovec_t *vec);
/f-stack/app/micro_thread/
H A Dff_hook.h30 ssize_t ff_hook_read(int fd, void *buf, size_t nbyte);
32 ssize_t ff_hook_write(int fd, const void *buf, size_t nbyte);
33 ssize_t ff_hook_sendto(int fd, const void *message, size_t length, int flags, const struct sockaddr…
34 ssize_t ff_hook_recvfrom(int fd, void *buffer, size_t length, int flags, struct sockaddr *address, …
35 ssize_t ff_hook_recv(int fd, void *buffer, size_t length, int flags);
36 ssize_t ff_hook_send(int fd, const void *buf, size_t nbyte, int flags);
H A Dmt_sys_hook.h42 typedef ssize_t (*func_read)(int fildes, void *buf, size_t nbyte);
43 typedef ssize_t (*func_write)(int fildes, const void *buf, size_t nbyte);
44 typedef ssize_t (*func_sendto)(int socket, const void *message, size_t length,
46 typedef ssize_t (*func_recvfrom)(int socket, void *buffer, size_t length,
49 typedef ssize_t (*func_recv)(int socket, void *buffer, size_t length, int flags);
H A Dff_hook.cpp63 ssize_t ff_hook_read(int fd, void *buf, size_t nbyte) in ff_hook_read()
72 ssize_t ff_hook_write(int fd, const void *buf, size_t nbyte) in ff_hook_write()
80 ssize_t ff_hook_sendto(int fd, const void *message, size_t length, int flags, in ff_hook_sendto()
89 ssize_t ff_hook_recvfrom(int fd, void *buffer, size_t length, int flags, in ff_hook_recvfrom()
98 ssize_t ff_hook_recv(int fd, void *buffer, size_t length, int flags) in ff_hook_recv()
106 ssize_t ff_hook_send(int fd, const void *buf, size_t nbyte, int flags) in ff_hook_send()
/f-stack/lib/
H A Dff_api.h87 ssize_t ff_read(int d, void *buf, size_t nbytes);
88 ssize_t ff_readv(int fd, const struct iovec *iov, int iovcnt);
90 ssize_t ff_write(int fd, const void *buf, size_t nbytes);
91 ssize_t ff_writev(int fd, const struct iovec *iov, int iovcnt);
93 ssize_t ff_send(int s, const void *buf, size_t len, int flags);
94 ssize_t ff_sendto(int s, const void *buf, size_t len, int flags,
96 ssize_t ff_sendmsg(int s, const struct msghdr *msg, int flags);
98 ssize_t ff_recv(int s, void *buf, size_t len, int flags);
99 ssize_t ff_recvfrom(int s, void *buf, size_t len, int flags,
101 ssize_t ff_recvmsg(int s, struct msghdr *msg, int flags);
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_file_os.c72 static ssize_t
79 ssize_t rc; in zfs_file_write_impl()
107 ssize_t rc; in zfs_file_write()
137 ssize_t *resid) in zfs_file_pwrite()
139 ssize_t rc; in zfs_file_pwrite()
154 static ssize_t
161 ssize_t rc; in zfs_file_read_impl()
185 zfs_file_read(zfs_file_t *fp, void *buf, size_t count, ssize_t *resid) in zfs_file_read()
188 ssize_t rc; in zfs_file_read()
218 ssize_t *resid) in zfs_file_pread()
[all …]
H A Dzpl_file.c257 static ssize_t
313 static ssize_t
322 ssize_t ret; in zpl_iter_write()
353 static ssize_t
361 ssize_t ret; in zpl_aio_read()
391 static ssize_t
400 ssize_t ret; in zpl_aio_write()
434 static ssize_t
443 static ssize_t
449 static ssize_t
[all …]
/f-stack/app/nginx-1.16.1/src/event/modules/
H A Dngx_ff_module.c108 static ssize_t (*real_recv)(int, void *, size_t, int);
117 static ssize_t (*real_read)(int, void *, size_t);
303 ssize_t
314 ssize_t
327 ssize_t
348 ssize_t
359 ssize_t
460 ssize_t
471 ssize_t
482 ssize_t
[all …]
/f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/
H A Dmallctl.c181 TEST_MALLCTL_OPT(ssize_t, lg_prof_sample, prof); in TEST_BEGIN()
408 size_t sz = sizeof(ssize_t); in TEST_BEGIN()
427 ssize_t old_dirty_decay_ms; in TEST_BEGIN()
440 size_t sz = sizeof(ssize_t); in TEST_BEGIN()
459 ssize_t old_muzzy_decay_ms; in TEST_BEGIN()
611 size_t sz = sizeof(ssize_t); in TEST_BEGIN()
630 ssize_t old_dirty_decay_ms; in TEST_BEGIN()
643 size_t sz = sizeof(ssize_t); in TEST_BEGIN()
662 ssize_t old_muzzy_decay_ms; in TEST_BEGIN()
767 TEST_STATS_ARENAS(ssize_t, dirty_decay_ms); in TEST_BEGIN()
[all …]
H A Dmalloc_io.c239 TEST("_-1234_", "_%zd_", ((ssize_t)-1234)); in TEST_BEGIN()
240 TEST("_1234_", "_%zd_", ((ssize_t)1234)); in TEST_BEGIN()
241 TEST("_-1234_", "_%zi_", ((ssize_t)-1234)); in TEST_BEGIN()
242 TEST("_1234_", "_%zi_", ((ssize_t)1234)); in TEST_BEGIN()
243 TEST("_01234_", "_%#zo_", ((ssize_t)01234)); in TEST_BEGIN()
244 TEST("_1234_", "_%zu_", ((ssize_t)1234)); in TEST_BEGIN()
245 TEST("_0x1234abc_", "_%#zx_", ((ssize_t)0x1234abc)); in TEST_BEGIN()
246 TEST("_0X1234ABC_", "_%#zX_", ((ssize_t)0x1234ABC)); in TEST_BEGIN()
/f-stack/tools/libxo/libxo/
H A Dxo_buf.h31 ssize_t xb_size; /* Size of buffer */
75 static inline ssize_t
82 xo_buf_data (xo_buffer_t *xbp, ssize_t offset) in xo_buf_data()
114 xo_buf_has_room (xo_buffer_t *xbp, ssize_t len) in xo_buf_has_room()
120 ssize_t sz = (xbp->xb_curp + len) - xbp->xb_bufp; in xo_buf_has_room()
139 xo_buf_append (xo_buffer_t *xbp, const char *str, ssize_t len) in xo_buf_append()
154 ssize_t len = strlen(str); in xo_buf_append_str()
H A Dlibxo.c405 static ssize_t
740 static ssize_t
796 static ssize_t
844 static ssize_t
911 static ssize_t
935 static ssize_t
980 static ssize_t
1013 static ssize_t
1067 static ssize_t
2285 ssize_t sz; in xo_set_options()
[all …]
/f-stack/tools/compat/include/sys/
H A Duio.h41 typedef __ssize_t ssize_t; typedef
67 ssize_t uio_resid; /* remaining bytes to process */
116 ssize_t readv(int, const struct iovec *, int);
117 ssize_t writev(int, const struct iovec *, int);
119 ssize_t preadv(int, const struct iovec *, int, off_t);
120 ssize_t pwritev(int, const struct iovec *, int, off_t);
H A Dsocket.h77 typedef __ssize_t ssize_t; typedef
664 ssize_t msg_len; /* message length */
685 ssize_t recv(int, void *, size_t, int);
686 ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict);
687 ssize_t recvmsg(int, struct msghdr *, int);
690 ssize_t recvmmsg(int, struct mmsghdr * __restrict, size_t, int,
693 ssize_t send(int, const void *, size_t, int);
694 ssize_t sendto(int, const void *,
696 ssize_t sendmsg(int, const struct msghdr *, int);
699 ssize_t sendmmsg(int, struct mmsghdr * __restrict, size_t, int);
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_file_os.c80 ssize_t *resid) in zfs_file_write_impl()
82 ssize_t rc; in zfs_file_write_impl()
116 zfs_file_write(zfs_file_t *fp, const void *buf, size_t count, ssize_t *resid) in zfs_file_write()
119 ssize_t rc; in zfs_file_write()
130 ssize_t *resid) in zfs_file_pwrite()
137 ssize_t *resid) in zfs_file_read_impl()
139 ssize_t rc; in zfs_file_read_impl()
168 zfs_file_read(zfs_file_t *fp, void *buf, size_t count, ssize_t *resid) in zfs_file_read()
171 ssize_t rc; in zfs_file_read()
181 ssize_t *resid) in zfs_file_pread()
/f-stack/freebsd/contrib/libsodium/src/libsodium/randombytes/sysrandom/
H A Drandombytes_sysrandom.c106 static ssize_t
110 ssize_t readnb; in safe_read()
115 while ((readnb = read(fd, buf, size)) < (ssize_t) 0 && in safe_read()
117 if (readnb < (ssize_t) 0) { in safe_read()
120 if (readnb == (ssize_t) 0) { in safe_read()
125 } while (size > (ssize_t) 0); in safe_read()
127 return (ssize_t) (buf - (unsigned char *) buf_); in safe_read()
343 safe_read(stream.random_data_source_fd, buf, size) != (ssize_t) size) { in randombytes_sysrandom_buf()
/f-stack/tools/libxo/encoder/csv/
H A Denc_csv.c121 ssize_t c_path_max; /* Depth of c_path[] */
128 ssize_t c_stack_max; /* Maximum stack depth */
130 ssize_t c_stack_depth; /* Current stack depth */
226 csv_path_top (csv_private_t *csv, ssize_t delta) in csv_path_top()
231 ssize_t cur = csv->c_path_cur + delta; in csv_path_top()
341 ssize_t fnum; in csv_emit_record()
496 ssize_t fnum; in csv_leaf_num()
516 ssize_t new_max = csv->c_leaf_max * 2; in csv_leaf_num()
578 ssize_t len = strlen(leafs_raw); in csv_record_leafs()
612 ssize_t len = strlen(path_raw); in csv_record_path()
[all …]
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfs_file.h44 int zfs_file_write(zfs_file_t *fp, const void *buf, size_t len, ssize_t *resid);
46 ssize_t *resid);
47 int zfs_file_read(zfs_file_t *fp, void *buf, size_t len, ssize_t *resid);
49 ssize_t *resid);

12345678910>>...14