/illumos-gate/usr/src/cmd/sort/ |
H A D | fields.h | 65 extern ssize_t field_convert_alpha(field_t *, line_rec_t *, vchar_t, 66 ssize_t, ssize_t, ssize_t); 67 extern ssize_t field_convert_alpha_simple(field_t *, line_rec_t *, vchar_t, 68 ssize_t, ssize_t, ssize_t); 69 extern ssize_t field_convert_month(field_t *, line_rec_t *, vchar_t, 70 ssize_t, ssize_t, ssize_t); 71 extern ssize_t field_convert_numeric(field_t *, line_rec_t *, vchar_t, 72 ssize_t, ssize_t, ssize_t); 74 extern int collated(line_rec_t *, line_rec_t *, ssize_t, flag_t); 75 extern ssize_t field_convert(field_t *, line_rec_t *, flag_t, vchar_t); [all …]
|
H A D | fields.c | 362 static ssize_t 368 ssize_t field = is_end ? F->f_end_field : F->f_start_field; in field_boundary() 369 ssize_t offset = is_end ? F->f_end_offset : F->f_start_offset; in field_boundary() 370 ssize_t ret; in field_boundary() 397 field_delimit(field_t *F, line_rec_t *L, ssize_t *start, ssize_t *end) in field_delimit() 407 static ssize_t 413 ssize_t field = is_end ? F->f_end_field : F->f_start_field; in field_boundary_wide() 414 ssize_t offset = is_end ? F->f_end_offset : F->f_start_offset; in field_boundary_wide() 415 ssize_t ret; in field_boundary_wide() 442 field_delimit_wide(field_t *F, line_rec_t *L, ssize_t *start, ssize_t *end) in field_delimit_wide() [all …]
|
H A D | internal.c | 48 offset_is_algorithm(line_rec_t **X, ssize_t n, in offset_is_algorithm() argument 49 int (*collate_fcn)(line_rec_t *, line_rec_t *, ssize_t, flag_t), in offset_is_algorithm() 50 ssize_t depth, flag_t coll_flags) in offset_is_algorithm() 52 ssize_t i; in offset_is_algorithm() 70 ssize_t j = i; in offset_is_algorithm() 87 tqs_algorithm(line_rec_t **X, ssize_t n, in tqs_algorithm() argument 88 int (*collate_fcn)(line_rec_t *, line_rec_t *, ssize_t, flag_t), in tqs_algorithm() 91 ssize_t l; /* boundary of left partition */ in tqs_algorithm() 92 ssize_t le; /* boundary of left equal partition */ in tqs_algorithm() 93 ssize_t r; /* boundary of right partition */ in tqs_algorithm() [all …]
|
H A D | types.h | 60 ssize_t l_data_length; 61 ssize_t l_collate_length; 62 ssize_t l_collate_bufsize; 87 ssize_t (*f_convert)(struct field *, line_rec_t *, 88 vchar_t, ssize_t, ssize_t, ssize_t); 95 ssize_t f_start_offset; 98 ssize_t f_end_offset; 137 ssize_t s_array_size; 138 ssize_t s_cur_index; 173 ssize_t (*sop_fetch)(struct stream *); [all …]
|
/illumos-gate/usr/src/lib/libkvm/ |
H A D | kvm.h | 55 extern ssize_t kvm_read(kvm_t *, uintptr_t, void *, size_t); 56 extern ssize_t kvm_kread(kvm_t *, uintptr_t, void *, size_t); 57 extern ssize_t kvm_uread(kvm_t *, uintptr_t, void *, size_t); 58 extern ssize_t kvm_aread(kvm_t *, uintptr_t, void *, size_t, struct as *); 59 extern ssize_t kvm_pread(kvm_t *, uint64_t, void *, size_t); 60 extern ssize_t kvm_write(kvm_t *, uintptr_t, const void *, size_t); 61 extern ssize_t kvm_kwrite(kvm_t *, uintptr_t, const void *, size_t); 62 extern ssize_t kvm_uwrite(kvm_t *, uintptr_t, const void *, size_t); 63 extern ssize_t kvm_awrite(kvm_t *, uintptr_t, const void *, size_t, 65 extern ssize_t kvm_pwrite(kvm_t *, uint64_t, const void *, size_t); [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfread.c | 30 ssize_t sfread(Sfio_t* f, Void_t* buf, size_t n) in sfread() 32 ssize_t sfread(f,buf,n) in sfread() 39 reg ssize_t r; 43 SFMTXENTER(f, (ssize_t)(-1)); 49 SFMTXRETURN(f, (ssize_t)(n == 0 ? 0 : -1) ); 54 SFMTXRETURN(f, (ssize_t)(-1)); 59 SFMTXRETURN(f, (ssize_t)(-1)); 65 SFMTXRETURN(f, (ssize_t)(-1)); 86 SFMTXRETURN(f, (ssize_t)n); 92 { if(r > (ssize_t)n) [all …]
|
H A D | sfwrite.c | 30 ssize_t sfwrite(Sfio_t* f, const Void_t* buf, size_t n) in sfwrite() 32 ssize_t sfwrite(f,buf,n) in sfwrite() 39 reg ssize_t w; 43 SFMTXENTER(f, (ssize_t)(-1)); 48 SFMTXRETURN(f, (ssize_t)(n == 0 ? 0 : -1) ); 53 SFMTXRETURN(f, (ssize_t)(-1)); 57 SFMTXRETURN(f, (ssize_t)(-1)); 64 reg ssize_t r; 98 { if(w > (ssize_t)n) 99 w = (ssize_t)n; [all …]
|
H A D | sfwr.c | 34 static ssize_t sfoutput(Sfio_t* f, char* buf, size_t n) in sfoutput() 36 static ssize_t sfoutput(f,buf,n) in sfoutput() 42 reg ssize_t s, w, wr; 48 { if((ssize_t)n < _Sfpage) /* no hole possible */ 52 else while((ssize_t)n >= _Sfpage) 92 { if((ssize_t)n < _Sfpage) 117 s = (ssize_t)n <= _Sfpage ? 1 : _Sfpage; 128 ssize_t sfwr(Sfio_t* f, const Void_t* buf, size_t n, Sfdisc_t* disc) in sfwr() 130 ssize_t sfwr(f,buf,n,disc) in sfwr() 137 reg ssize_t w; [all …]
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socktpi_impl.h | 75 extern mblk_t *soallocproto1(const void *, ssize_t, ssize_t, int, cred_t *); 76 extern void soappendmsg(mblk_t *, const void *, ssize_t); 77 extern mblk_t *soallocproto2(const void *, ssize_t, const void *, ssize_t, 78 ssize_t, int, cred_t *); 79 extern mblk_t *soallocproto3(const void *, ssize_t, const void *, ssize_t, 80 const void *, ssize_t, ssize_t, int, cred_t *);
|
/illumos-gate/usr/src/lib/libscf/inc/ |
H A D | libscf.h | 483 ssize_t scf_limit(uint32_t code); 520 ssize_t scf_value_get_astring(const scf_value_t *, char *, size_t); 521 ssize_t scf_value_get_ustring(const scf_value_t *, char *, size_t); 522 ssize_t scf_value_get_opaque(const scf_value_t *, void *, size_t); 532 ssize_t scf_value_get_as_string(const scf_value_t *, char *, size_t); 533 ssize_t scf_value_get_as_string_typed(const scf_value_t *, scf_type_t, 579 ssize_t scf_scope_get_name(const scf_scope_t *, char *, size_t); 581 ssize_t scf_scope_to_fmri(const scf_scope_t *, char *, size_t); 587 ssize_t scf_service_get_name(const scf_service_t *, char *, size_t); 588 ssize_t scf_service_to_fmri(const scf_service_t *, char *, size_t); [all …]
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | sockstream.c | 41 ssize_t 42 stream_read(int fd, void *buf, ssize_t nbytes) in stream_read() 45 ssize_t len = 0; in stream_read() 46 ssize_t n; in stream_read() 65 ssize_t 66 stream_write(int fd, const void *buf, ssize_t nbytes) in stream_write() 69 ssize_t len = 0; in stream_write() 70 ssize_t n; in stream_write()
|
H A D | net_backends_priv.h | 55 ssize_t (*send)(struct net_backend *be, const struct iovec *iov, 63 ssize_t (*peek_recvlen)(struct net_backend *be); 72 ssize_t (*recv)(struct net_backend *be, const struct iovec *iov, 143 ssize_t bbuflen; 147 ssize_t tap_send(struct net_backend *be, const struct iovec *iov, int io 149 ssize_t tap_recv(struct net_backend *be, const struct iovec *iov, int io 151 ssize_t tap_peek_recvlen(struct net_backend *be); 153 ssize_t tap_recv(struct net_backend *be, const struct iovec *iov, int io
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | net.h | 102 ssize_t sendether(struct iodesc *d, void *pkt, size_t len, 104 ssize_t readether(struct iodesc *, void **, void **, time_t, u_int16_t *); 106 ssize_t sendip(struct iodesc *, void *, size_t, uint8_t); 107 ssize_t readip(struct iodesc *, void **, void **, time_t, uint8_t); 108 ssize_t sendudp(struct iodesc *, void *, size_t); 109 ssize_t readudp(struct iodesc *, void **, void **, time_t); 110 ssize_t sendrecv(struct iodesc *, 111 ssize_t (*)(struct iodesc *, void *, size_t), 113 ssize_t (*)(struct iodesc *, void **, void **, time_t,
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_modapi.h | 207 extern ssize_t mdb_vread(void *, size_t, uintptr_t); 208 extern ssize_t mdb_vwrite(const void *, size_t, uintptr_t); 210 extern ssize_t mdb_aread(void *, size_t, uintptr_t, void *); 211 extern ssize_t mdb_awrite(const void *, size_t, uintptr_t, void *); 213 extern ssize_t mdb_fread(void *, size_t, uintptr_t); 214 extern ssize_t mdb_fwrite(const void *, size_t, uintptr_t); 216 extern ssize_t mdb_pread(void *, size_t, uint64_t); 217 extern ssize_t mdb_pwrite(const void *, size_t, uint64_t); 219 extern ssize_t mdb_readstr(char *, size_t, uintptr_t); 220 extern ssize_t mdb_writestr(const char *, uintptr_t); [all …]
|
H A D | mdb_target.h | 153 extern ssize_t mdb_tgt_aread(mdb_tgt_t *, mdb_tgt_as_t, 156 extern ssize_t mdb_tgt_awrite(mdb_tgt_t *, mdb_tgt_as_t, 159 extern ssize_t mdb_tgt_vread(mdb_tgt_t *, void *, size_t, uintptr_t); 160 extern ssize_t mdb_tgt_vwrite(mdb_tgt_t *, const void *, size_t, uintptr_t); 161 extern ssize_t mdb_tgt_pread(mdb_tgt_t *, void *, size_t, physaddr_t); 162 extern ssize_t mdb_tgt_pwrite(mdb_tgt_t *, const void *, size_t, physaddr_t); 163 extern ssize_t mdb_tgt_fread(mdb_tgt_t *, void *, size_t, uintptr_t); 164 extern ssize_t mdb_tgt_fwrite(mdb_tgt_t *, const void *, size_t, uintptr_t); 165 extern ssize_t mdb_tgt_ioread(mdb_tgt_t *, void *, size_t, uintptr_t); 166 extern ssize_t mdb_tgt_iowrite(mdb_tgt_t *, const void *, size_t, uintptr_t); [all …]
|
H A D | mdb_kb.h | 56 ssize_t (*kb_kread)(void *, uintptr_t, void *, size_t); 57 ssize_t (*kb_kwrite)(void *, uintptr_t, const void *, size_t); 58 ssize_t (*kb_aread)(void *, uintptr_t, void *, size_t, struct as *); 59 ssize_t (*kb_awrite)(void *, uintptr_t, const void *, 61 ssize_t (*kb_pread)(void *, uint64_t, void *, size_t); 62 ssize_t (*kb_pwrite)(void *, uint64_t, const void *, size_t);
|
H A D | mdb_kb_kvm.c | 62 .kb_kread = (ssize_t (*)())kvm_kread, in libkvm_kb_ops() 63 .kb_kwrite = (ssize_t (*)())kvm_kwrite, in libkvm_kb_ops() 64 .kb_aread = (ssize_t (*)())kvm_aread, in libkvm_kb_ops() 65 .kb_awrite = (ssize_t (*)())kvm_awrite, in libkvm_kb_ops() 66 .kb_pread = (ssize_t (*)())kvm_pread, in libkvm_kb_ops() 67 .kb_pwrite = (ssize_t (*)())kvm_pwrite, in libkvm_kb_ops()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | uio.h | 103 ssize_t uio_resid; /* residual count */ 129 ssize_t uio_resid; /* residual count */ 134 ssize_t uioa_mbytes; /* bytes that have been uioamove()ed */ 161 ssize_t xu_a_mbytes; 243 void uio_prefaultpages(ssize_t, uio_t *); 257 extern ssize_t readv(int, const struct iovec *, int); 258 extern ssize_t writev(int, const struct iovec *, int); 285 extern ssize_t preadv(int, const struct iovec *, int, off_t); 286 extern ssize_t pwritev(int, const struct iovec *, int, off_t); 295 extern ssize_t preadv64(int, const struct iovec *, int, off64_t); [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | utf8_conv.c | 73 static ssize_t 141 ssize_t len; in krb5int_utf8s_to_ucs2s() 170 ssize_t len; in krb5int_utf8cs_to_ucs2s() 198 ssize_t len; in krb5int_utf8s_to_ucs2les() 228 ssize_t len; in krb5int_utf8cs_to_ucs2les() 260 static ssize_t 262 size_t count, ssize_t ucs2len, int little_endian) in k5_ucs2s_to_utf8s() 334 ssize_t len; in krb5int_ucs2s_to_utf8s() 365 ssize_t len; in krb5int_ucs2les_to_utf8s() 396 ssize_t len; in krb5int_ucs2cs_to_utf8s() [all …]
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | scalls.c | 511 ssize_t 514 extern ssize_t __read(int, void *, size_t); in read() 515 ssize_t rv; in read() 520 ssize_t 523 extern ssize_t __write(int, const void *, size_t); in write() 524 ssize_t rv; in write() 809 ssize_t 812 extern ssize_t __msgrcv(int, void *, size_t, long, int); in msgrcv() 813 ssize_t rv; in msgrcv() 911 ssize_t [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | sfio.h | 47 typedef ssize_t (*Sfread_f)_ARG_((Sfio_t*, Void_t*, size_t, Sfdisc_t*)); typedef 48 typedef ssize_t (*Sfwrite_f)_ARG_((Sfio_t*, const Void_t*, size_t, Sfdisc_t*)); typedef 77 ssize_t size; /* object size */ 84 ssize_t n_str; /* length of t_str */ 208 extern ssize_t _Sfi; 209 extern ssize_t _Sfmaxr; 239 extern Void_t* sfreserve _ARG_((Sfio_t*, ssize_t, int)); 250 extern ssize_t sfread _ARG_((Sfio_t*, Void_t*, size_t)); 251 extern ssize_t sfwrite _ARG_((Sfio_t*, const Void_t*, size_t)); 256 extern ssize_t sfputr _ARG_((Sfio_t*, const char*, int)); [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | strl.c | 61 ssize_t size; 63 register ssize_t i; 107 ssize_t size; 109 register ssize_t i, j, o; 152 ssize_t len; 154 register ssize_t i, j, o; 212 sm_strlcpyn(char *dst, ssize_t len, int n, ...) in sm_strlcpyn() 216 ssize_t len; 221 register ssize_t i, j; 305 ssize_t size;
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | interface.c | 50 static ssize_t (*Read)() = read, 58 static ssize_t tread(int, char *, unsigned); 59 static ssize_t twrite(int, char *, unsigned); 73 ssize_t (*IN_read)(); /* read function */ 74 ssize_t (*IN_write)(); /* write function */ 154 static ssize_t 159 return ((ssize_t)t_rcv(fd, buf, nbytes, &rcvflags)); in tread() 166 static ssize_t 189 return ((ssize_t)t_snd(fd, buf, nbytes, 0)); in twrite() 195 return ((ssize_t)(ret >= 0 ? (i + ret) : ret)); in twrite() [all …]
|
/illumos-gate/usr/src/lib/libsendfile/common/ |
H A D | sendfile.c | 42 ssize_t 57 return ((ssize_t)rval.sys_rval1); in _sendfilev() 60 ssize_t 82 return ((ssize_t)rval.sys_rval1); in _sendfile() 90 ssize_t 106 return ((ssize_t)rval.sys_rval1); in _sendfilev64() 109 ssize_t 131 return ((ssize_t)rval.sys_rval1); in _sendfile64()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/ |
H A D | getdelim.c | 26 ssize_t 29 ssize_t m; in getdelim() 30 ssize_t n; in getdelim() 31 ssize_t k; in getdelim() 32 ssize_t p; in getdelim() 37 STDIO_INT(f, "getdelim", ssize_t, (char**, size_t*, int, Sfio_t*), (sp, np, delim, f)) in getdelim() 92 ssize_t
|