Symbol: size_t
bin/cat/cat.c
238
size_t nbsize;
bin/cat/cat.c
242
static size_t bsize;
bin/chio/chio.c
1008
calloc((size_t)1, sizeof(struct changer_element_status));
bin/chio/chio.c
1045
size_t elem, total_elem;
bin/chio/chio.c
666
calloc((size_t)count, sizeof(struct changer_element_status));
bin/cp/cp.c
264
size_t nlen;
bin/cp/utils.c
138
(p = mmap(NULL, (size_t)fs->st_size, PROT_READ,
bin/cp/utils.c
142
bufp += wcount, wresid -= (size_t)wcount) {
bin/cp/utils.c
58
size_t wresid;
bin/cpdup/cpdup.h
103
void *debug_malloc(size_t bytes, const char *file, int line);
bin/cpdup/cpdup.h
47
size_t strlcpy(char *dst, const char *src, size_t size);
bin/cpdup/hcproto.c
1001
hc_write(struct HostConf *hc, int fd, const void *buf, size_t bytes)
bin/cpdup/hcproto.c
1019
size_t limit = getiolimit();
bin/cpdup/hcproto.c
855
hc_read(struct HostConf *hc, int fd, void *buf, size_t bytes)
bin/cpdup/hcproto.c
892
bytes -= (size_t)x;
bin/cpdup/hcproto.c
901
size_t limit = getiolimit();
bin/cpdup/hcproto.c
918
bytes -= (size_t)x;
bin/cpdup/hcproto.h
103
ssize_t hc_read(struct HostConf *hc, int fd, void *buf, size_t bytes);
bin/cpdup/hcproto.h
104
ssize_t hc_write(struct HostConf *hc, int fd, const void *buf, size_t bytes);
bin/cpdup/md5.c
280
if ((size_t)size > sizeof(buffer))
bin/cpdup/misc.c
118
debug_malloc(size_t bytes, const char *file, int line)
bin/date/date.c
137
size_t tzlen;
bin/date/date.c
84
size_t i;
bin/date/vary.c
431
size_t len;
bin/dd/args.c
186
in.dbsz = out.dbsz = (size_t)res;
bin/dd/args.c
197
cbsz = (size_t)res;
bin/dd/args.c
240
in.dbsz = (size_t)res;
bin/dd/args.c
259
out.dbsz = (size_t)res;
bin/dd/conv.c
102
size_t cnt, maxlen;
bin/dd/conv.c
132
maxlen = MIN(cbsz, (size_t)in.dbcnt);
bin/dd/conv.c
146
if (ch != '\n' && (size_t)in.dbcnt < cbsz) {
bin/dd/conv.c
217
size_t cnt;
bin/dd/conv.c
228
for (inp = in.db; (size_t)in.dbcnt >= cbsz; inp += cbsz, in.dbcnt -= cbsz) {
bin/dd/conv.c
250
size_t cnt;
bin/dd/conv.c
58
size_t cnt;
bin/dd/dd.c
179
if ((in.db = malloc((size_t)out.dbsz + in.dbsz - 1)) == NULL)
bin/dd/dd.c
182
} else if ((in.db = malloc(MAX((size_t)in.dbsz, cbsz) + cbsz)) == NULL ||
bin/dd/dd.c
319
swapbytes(void *v, size_t len)
bin/dd/dd.c
433
swapbytes(in.dbp, (size_t)n);
bin/dd/dd.c
484
size_t cnt, n;
bin/dd/dd.c
556
if ((size_t)nw == n && n == (size_t)out.dbsz)
bin/dd/dd.c
561
if ((size_t) nw != cnt) {
bin/dd/dd.c
72
static void swapbytes(void *, size_t);
bin/dd/dd.c
79
size_t cbsz; /* conversion block size */
bin/dd/dd.c
83
size_t speed = 0; /* maximum speed, in bytes per second */
bin/dd/extern.h
63
extern size_t cbsz;
bin/dd/extern.h
65
extern size_t speed;
bin/dd/position.c
56
size_t sz;
bin/dd/position.c
92
size_t bcnt;
bin/df/df.c
505
size_t miblen;
bin/domainname/domainname.c
64
size_t len = strlen(argv[0]);
bin/echo/echo.c
53
size_t len = strlen(argv[0]);
bin/expr/expr.y
128
size_t i;
bin/expr/expr.y
192
tmp = malloc ((size_t)25);
bin/expr/expr.y
596
if (regexec(&rp, a->u.s, (size_t)2, rm, 0) == 0 && rm[0].rm_so == 0) {
bin/hostname/hostname.c
110
size_t needed;
bin/ls/extern.h
51
size_t len_octal(const char *, int);
bin/ls/ls.c
551
size_t flen, ulen, glen;
bin/ls/ls.c
708
if (flen > (size_t)maxflags)
bin/ls/print.c
541
size_t len;
bin/ls/print.c
551
if (len <= 2 * (size_t)i) {
bin/ls/print.c
617
printsize(size_t width, off_t bytes)
bin/ls/print.c
63
static void printsize(size_t, off_t);
bin/ls/util.c
101
if (clen == (size_t)-2) {
bin/ls/util.c
133
size_t
bin/ls/util.c
138
size_t clen, r;
bin/ls/util.c
143
if (clen == (size_t)-1) {
bin/ls/util.c
150
if (clen == (size_t)-2) {
bin/ls/util.c
170
size_t clen;
bin/ls/util.c
177
goodchar = clen != (size_t)-1 && clen != (size_t)-2;
bin/ls/util.c
191
else if (clen == (size_t)-1)
bin/ls/util.c
204
if (clen == (size_t)-2)
bin/ls/util.c
206
if (clen == (size_t)-1) {
bin/ls/util.c
58
size_t clen;
bin/ls/util.c
63
if (clen == (size_t)-2) {
bin/ls/util.c
67
if (clen == (size_t)-1) {
bin/ls/util.c
89
size_t clen;
bin/ls/util.c
94
if (clen == (size_t)-1) {
bin/mv/mv.c
160
memmove(endp, p, (size_t)len + 1);
bin/mv/mv.c
292
if (bp == NULL && (bp = malloc((size_t)blen)) == NULL) {
bin/mv/mv.c
304
while ((nread = read(from_fd, bp, (size_t)blen)) > 0)
bin/mv/mv.c
305
if (write(to_fd, bp, (size_t)nread) != nread) {
bin/mv/mv.c
74
size_t baselen, len;
bin/pax/extern.h
246
void sub_name (char *, int *, size_t);
bin/pax/options.c
1483
size_t len;
bin/pax/pax.c
221
size_t tdlen;
bin/pax/tables.c
571
sub_name(char *oname, int *onamelen, size_t onamesize)
bin/ps/fmt.c
56
size_t len;
bin/ps/nlist.c
50
size_t oldlen;
bin/ps/print.c
468
static size_t pgsize;
bin/ps/print.c
789
size_t len;
bin/ps/print.c
794
if (len <= (size_t)w) {
bin/ps/ps.c
129
size_t btime_size = sizeof(struct timeval);
bin/ps/ps.c
130
size_t numcpus_size = sizeof(numcpus);
bin/ps/ps.c
482
size_t l;
bin/ps/ps.c
755
size_t len;
bin/ps/ps.c
792
memmove(ns, s, (size_t)(cp - s)); /* copy up to trailing number */
bin/rm/rm.c
547
size_t len;
bin/sh/exec.c
145
isbinary(const char *data, size_t len)
bin/sh/exec.c
217
size_t len, namelen;
bin/sh/exec.c
481
size_t len;
bin/sh/exec.c
568
size_t len;
bin/sh/expand.c
1248
if (nameend == NULL || (size_t)(nameend - p) >= sizeof(name) ||
bin/sh/expand.c
1494
size_t len;
bin/sh/expand.c
1515
size_t len;
bin/sh/expand.c
470
size_t nnl;
bin/sh/expand.c
894
static size_t buflen = 0;
bin/sh/expand.c
896
size_t len, zpos, zlen;
bin/sh/jobs.c
653
size_t namelen;
bin/sh/memalloc.c
110
size_t len;
bin/sh/memalloc.c
196
size_t len;
bin/sh/memalloc.c
340
stputbin(const char *data, size_t len, char *p)
bin/sh/memalloc.c
65
ckmalloc(size_t nbytes)
bin/sh/memalloc.h
51
pointer ckmalloc(size_t);
bin/sh/memalloc.h
62
char *stputbin(const char *data, size_t len, char *p);
bin/sh/memalloc.h
72
#define CHECKSTRSPACE(n, p) { if ((size_t)(sstrend - p) < n) p = makestrspace(n, p); }
bin/sh/miscbltin.c
72
size_t off; /* offset in buf */
bin/sh/miscbltin.c
73
size_t buflen;
bin/sh/options.c
254
size_t len;
bin/sh/output.c
136
size_t clen;
bin/sh/output.c
143
if (clen == (size_t)-2) {
bin/sh/output.c
148
if (clen == (size_t)-1) {
bin/sh/output.c
202
outbin(const void *data, size_t len, struct output *file)
bin/sh/output.h
68
void outbin(const void *, size_t, struct output *);
bin/sh/parser.c
1095
size_t savelen;
bin/sh/parser.c
135
static void getusername(char *, size_t);
bin/sh/parser.c
139
parser_temp_alloc(size_t len)
bin/sh/parser.c
155
parser_temp_realloc(void *ptr, size_t len)
bin/sh/parser.c
1991
getusername(char *name, size_t namelen)
bin/sh/parser.c
2034
size_t homelen;
bin/sh/redir.c
271
size_t len = 0;
bin/sh/redir.c
290
if ((size_t)written == len)
bin/sh/var.c
229
size_t len;
bin/sh/var.c
230
size_t namelen;
bin/sh/var.c
231
size_t vallen;
crypto/libressl/apps/nc/atomicio.c
38
size_t
crypto/libressl/apps/nc/atomicio.c
39
atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n)
crypto/libressl/apps/nc/atomicio.c
42
size_t pos = 0;
crypto/libressl/apps/nc/atomicio.c
63
pos += (size_t)res;
crypto/libressl/apps/nc/atomicio.h
35
size_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
crypto/libressl/apps/nc/atomicio.h
37
#define vwrite (ssize_t (*)(int, void *, size_t))write
crypto/libressl/apps/nc/netcat.c
1149
size_t netinbufpos = 0;
crypto/libressl/apps/nc/netcat.c
1151
size_t stdinbufpos = 0;
crypto/libressl/apps/nc/netcat.c
1338
drainbuf(int fd, unsigned char *buf, size_t *bufpos, struct tls *tls)
crypto/libressl/apps/nc/netcat.c
1364
fillbuf(int fd, unsigned char *buf, size_t *bufpos, struct tls *tls)
crypto/libressl/apps/nc/netcat.c
1366
size_t num = BUFSIZE - *bufpos;
crypto/libressl/apps/nc/netcat.c
153
ssize_t drainbuf(int, unsigned char *, size_t *, struct tls *);
crypto/libressl/apps/nc/netcat.c
154
ssize_t fillbuf(int, unsigned char *, size_t *, struct tls *);
crypto/libressl/apps/nc/netcat.c
1688
size_t len;
crypto/libressl/apps/nc/netcat.c
1731
size_t plen;
crypto/libressl/apps/nc/socks.c
114
char *pw, size_t pwlen)
crypto/libressl/apps/nc/socks.c
183
size_t hlen, wlen;
crypto/libressl/apps/nc/socks.c
185
size_t cnt;
crypto/libressl/apps/nc/socks.c
337
if (r < 0 || (size_t)r >= sizeof(buf))
crypto/libressl/apps/nc/socks.c
354
if (r == -1 || (size_t)r >= sizeof(buf) ||
crypto/libressl/apps/nc/socks.c
360
if (r < 0 || (size_t)r >= sizeof(buf))
crypto/libressl/apps/nc/socks.c
91
proxy_read_line(int fd, char *buf, size_t bufsz)
crypto/libressl/apps/nc/socks.c
93
size_t off;
crypto/libressl/apps/openssl/apps.c
1632
size_t buflen, max_ne;
crypto/libressl/apps/openssl/apps.c
2007
size_t len;
crypto/libressl/apps/openssl/apps.c
2009
size_t i, start = 0;
crypto/libressl/apps/openssl/ca.c
157
static char *bin2hex(unsigned char *, size_t);
crypto/libressl/apps/openssl/ca.c
3021
bin2hex(unsigned char *data, size_t len)
crypto/libressl/apps/openssl/certhash.c
160
static size_t
crypto/libressl/apps/openssl/certhash.c
176
size_t len;
crypto/libressl/apps/openssl/cms.c
142
size_t secret_keyidlen;
crypto/libressl/apps/openssl/cms.c
143
size_t secret_keylen;
crypto/libressl/apps/openssl/cms.c
388
cms_config.secret_keylen = (size_t)ltmp;
crypto/libressl/apps/openssl/cms.c
403
cms_config.secret_keyidlen = (size_t)ltmp;
crypto/libressl/apps/openssl/dgst.c
606
size_t len;
crypto/libressl/apps/openssl/ecparam.c
305
size_t crv_len = 0;
crypto/libressl/apps/openssl/ecparam.c
306
size_t n = 0;
crypto/libressl/apps/openssl/ecparam.c
409
size_t buf_len = 0, tmp_len = 0;
crypto/libressl/apps/openssl/ecparam.c
440
if ((tmp_len = (size_t) BN_num_bytes(ec_p)) > buf_len)
crypto/libressl/apps/openssl/ecparam.c
442
if ((tmp_len = (size_t) BN_num_bytes(ec_a)) > buf_len)
crypto/libressl/apps/openssl/ecparam.c
444
if ((tmp_len = (size_t) BN_num_bytes(ec_b)) > buf_len)
crypto/libressl/apps/openssl/ecparam.c
446
if ((tmp_len = (size_t) BN_num_bytes(ec_gen)) > buf_len)
crypto/libressl/apps/openssl/ecparam.c
448
if ((tmp_len = (size_t) BN_num_bytes(ec_order)) > buf_len)
crypto/libressl/apps/openssl/ecparam.c
450
if ((tmp_len = (size_t) BN_num_bytes(ec_cofactor)) > buf_len)
crypto/libressl/apps/openssl/enc.c
502
if ((size_t)retval >= sizeof buf) {
crypto/libressl/apps/openssl/openssl.c
782
size_t i;
crypto/libressl/apps/openssl/passwd.c
140
size_t passwd_malloc_size = 0;
crypto/libressl/apps/openssl/passwd.c
144
size_t pw_maxlen = 0;
crypto/libressl/apps/openssl/passwd.c
310
size_t passwd_len, salt_len;
crypto/libressl/apps/openssl/passwd.c
41
size_t pw_maxlen, int usecrypt, int use1, int useapr1);
crypto/libressl/apps/openssl/passwd.c
441
size_t pw_maxlen, int usecrypt, int use1, int useapr1)
crypto/libressl/apps/openssl/pkeyutl.c
261
size_t buf_outlen = 0;
crypto/libressl/apps/openssl/pkeyutl.c
343
size_t i;
crypto/libressl/apps/openssl/pkeyutl.c
345
size_t l = (size_t) buf_inlen;
crypto/libressl/apps/openssl/pkeyutl.c
354
rv = EVP_PKEY_verify(pkeyutl_config.ctx, sig, (size_t) siglen,
crypto/libressl/apps/openssl/pkeyutl.c
355
buf_in, (size_t) buf_inlen);
crypto/libressl/apps/openssl/pkeyutl.c
365
(size_t *)&buf_outlen, buf_in, (size_t) buf_inlen);
crypto/libressl/apps/openssl/pkeyutl.c
373
buf_out, (size_t *) & buf_outlen,
crypto/libressl/apps/openssl/pkeyutl.c
374
buf_in, (size_t) buf_inlen);
crypto/libressl/apps/openssl/pkeyutl.c
546
unsigned char *out, size_t * poutlen,
crypto/libressl/apps/openssl/pkeyutl.c
547
unsigned char *in, size_t inlen)
crypto/libressl/apps/openssl/pkeyutl.c
96
unsigned char *out, size_t * poutlen,
crypto/libressl/apps/openssl/pkeyutl.c
97
unsigned char *in, size_t inlen);
crypto/libressl/apps/openssl/req.c
1842
size_t off;
crypto/libressl/apps/openssl/s_apps.h
143
size_t len, SSL *ssl, void *arg);
crypto/libressl/apps/openssl/s_cb.c
363
msg_cb(int write_p, int version, int content_type, const void *buf, size_t len, SSL * ssl, void *arg)
crypto/libressl/apps/openssl/s_cb.c
637
size_t num, i;
crypto/libressl/apps/openssl/sess_id.c
185
size_t ctx_len = strlen(sess_id_config.context);
crypto/libressl/apps/openssl/speed.c
1275
size_t buf_len, nonce_len;
crypto/libressl/apps/openssl/speed.c
1303
size_t buf_len, nonce_len;
crypto/libressl/apps/openssl/speed.c
1332
size_t buf_len, nonce_len;
crypto/libressl/apps/openssl/speed.c
1763
void *(*kdf) (const void *in, size_t inlen, void *out, size_t * xoutlen);
crypto/libressl/apps/openssl/speed.c
223
KDF1_SHA1(const void *in, size_t inlen, void *out, size_t * outlen)
crypto/libressl/apps/openssl/testdsa.h
10
const unsigned char *q, size_t q_size,
crypto/libressl/apps/openssl/testdsa.h
11
const unsigned char *g, size_t g_size);
crypto/libressl/apps/openssl/testdsa.h
212
get_dsa(const unsigned char *priv, size_t priv_size,
crypto/libressl/apps/openssl/testdsa.h
213
const unsigned char *pub, size_t pub_size,
crypto/libressl/apps/openssl/testdsa.h
214
const unsigned char *p_char, size_t p_size,
crypto/libressl/apps/openssl/testdsa.h
215
const unsigned char *q_char, size_t q_size,
crypto/libressl/apps/openssl/testdsa.h
216
const unsigned char *g_char, size_t g_size)
crypto/libressl/apps/openssl/testdsa.h
7
DSA *get_dsa(const unsigned char *priv, size_t priv_size,
crypto/libressl/apps/openssl/testdsa.h
8
const unsigned char *pub, size_t pub_size,
crypto/libressl/apps/openssl/testdsa.h
9
const unsigned char *p, size_t p_size,
crypto/libressl/apps/openssl/x509.c
1344
size_t len;
crypto/libressl/crypto/aes/aes_cbc.c
57
size_t len, const AES_KEY *key, unsigned char *ivec, const int enc)
crypto/libressl/crypto/aes/aes_ige.c
142
((size_t)in|(size_t)out|(size_t)ivec) %
crypto/libressl/crypto/aes/aes_ige.c
80
AES_ige_encrypt(const unsigned char *in, unsigned char *out, size_t length,
crypto/libressl/crypto/aes/aes_ige.c
83
size_t n;
crypto/libressl/crypto/aes/aes_ige.c
84
size_t len;
crypto/libressl/crypto/aes/aes_ige.c
92
((size_t)in|(size_t)out|(size_t)ivec) %
crypto/libressl/crypto/asn1/a_bitstr.c
299
size_t data_len = 0;
crypto/libressl/crypto/asn1/a_enum.c
265
size_t num = 0, slen = 0;
crypto/libressl/crypto/asn1/a_int.c
156
size_t data_len = 0;
crypto/libressl/crypto/asn1/a_int.c
514
asn1_aint_twos_complement(uint8_t *data, size_t data_len)
crypto/libressl/crypto/asn1/a_int.c
527
asn1_aint_keep_twos_padding(const uint8_t *data, size_t data_len)
crypto/libressl/crypto/asn1/a_int.c
529
size_t i;
crypto/libressl/crypto/asn1/a_int.c
550
size_t data_len = 0;
crypto/libressl/crypto/asn1/a_int.c
616
size_t data_len = 0;
crypto/libressl/crypto/asn1/a_int.c
650
size_t data_len = 0;
crypto/libressl/crypto/asn1/a_object.c
179
if (n < 0 || (size_t)n >= sizeof(s))
crypto/libressl/crypto/asn1/a_object.c
330
size_t data_len;
crypto/libressl/crypto/asn1/a_object.c
355
if (out_len <= 0 || (size_t)out_len < data_len) {
crypto/libressl/crypto/asn1/a_object.c
427
size_t data_len;
crypto/libressl/crypto/asn1/a_object.c
462
size_t data_len;
crypto/libressl/crypto/asn1/a_object.c
499
size_t data_len;
crypto/libressl/crypto/asn1/a_object.c
529
size_t data_len;
crypto/libressl/crypto/asn1/a_strex.c
102
if (fwrite(buf, 1, (size_t)len, arg) != (size_t)len)
crypto/libressl/crypto/asn1/a_string.c
163
size_t slen;
crypto/libressl/crypto/asn1/a_string.c
356
size_t num = 0, slen = 0;
crypto/libressl/crypto/asn1/a_time_tm.c
324
ASN1_time_parse(const char *bytes, size_t len, struct tm *tm, int mode)
crypto/libressl/crypto/asn1/asn1_item.c
237
size_t buf_out_len = 0;
crypto/libressl/crypto/asn1/asn1_item.c
414
(size_t)signature->length) <= 0) {
crypto/libressl/crypto/asn1/asn1_item.c
439
size_t want = HEADER_SIZE;
crypto/libressl/crypto/asn1/asn1_item.c
441
size_t off = 0;
crypto/libressl/crypto/asn1/asn1_item.c
442
size_t len = 0;
crypto/libressl/crypto/asn1/asn1_item.c
509
size_t chunk_max = ASN1_CHUNK_INITIAL_SIZE;
crypto/libressl/crypto/asn1/asn1_item.c
524
size_t chunk = want > chunk_max ? chunk_max : want;
crypto/libressl/crypto/asn1/asn1_lib.c
143
size_t *out_length)
crypto/libressl/crypto/asn1/asn1_lib.c
148
size_t length;
crypto/libressl/crypto/asn1/asn1_lib.c
182
size_t length;
crypto/libressl/crypto/asn1/asn1_lib.c
81
size_t *out_length)
crypto/libressl/crypto/asn1/asn1_lib.c
84
size_t length;
crypto/libressl/crypto/asn1/asn1_locl.h
200
size_t *out_length);
crypto/libressl/crypto/asn1/asn1_locl.h
203
size_t *out_length);
crypto/libressl/crypto/asn1/asn1_old_lib.c
77
size_t length;
crypto/libressl/crypto/asn1/tasn_dec.c
1027
size_t length;
crypto/libressl/crypto/asn1/tasn_dec.c
105
asn1_check_tag(CBS *cbs, size_t *out_len, int *out_tag, uint8_t *out_class,
crypto/libressl/crypto/asn1/tasn_dec.c
112
size_t length;
crypto/libressl/crypto/asn1/tasn_dec.c
1165
size_t length;
crypto/libressl/crypto/asn1/tasn_dec.c
185
size_t length;
crypto/libressl/crypto/asn1/tasn_dec.c
235
asn1_find_end(CBS *cbs, size_t length, int indefinite)
crypto/libressl/crypto/asn1/tasn_dec.c
237
size_t eoc_count;
crypto/libressl/crypto/asn1/tasn_dec.c
454
int utype, int constructed, int indefinite, size_t length,
crypto/libressl/crypto/asn1/tasn_dec.c
459
size_t data_len = 0;
crypto/libressl/crypto/asn1/tasn_dec.c
530
size_t length;
crypto/libressl/crypto/asn1/tasn_dec.c
567
size_t length;
crypto/libressl/crypto/asn1/tasn_dec.c
612
size_t length;
crypto/libressl/crypto/asn1/tasn_dec.c
748
size_t length;
crypto/libressl/crypto/asn1/tasn_utl.c
179
size_t data_len = 0;
crypto/libressl/crypto/asn1/x_name.c
640
X509_NAME_get0_der(X509_NAME *nm, const unsigned char **pder, size_t *pderlen)
crypto/libressl/crypto/bio/b_dump.c
154
write_fp(const void *data, size_t len, void *fp)
crypto/libressl/crypto/bio/b_dump.c
172
write_bio(const void *data, size_t len, void *bp)
crypto/libressl/crypto/bio/b_dump.c
73
BIO_dump_cb(int (*cb)(const void *data, size_t len, void *u),
crypto/libressl/crypto/bio/b_dump.c
80
BIO_dump_indent_cb(int (*cb)(const void *data, size_t len, void *u),
crypto/libressl/crypto/bio/b_print.c
82
BIO_snprintf(char *buf, size_t n, const char *format, ...)
crypto/libressl/crypto/bio/b_print.c
97
BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
crypto/libressl/crypto/bio/bio_cb.c
77
size_t p_maxlen;
crypto/libressl/crypto/bio/bio_lib.c
112
*processed = (size_t)ret;
crypto/libressl/crypto/bio/bio_lib.c
323
size_t readbytes = 0;
crypto/libressl/crypto/bio/bio_lib.c
349
readbytes = (size_t)ret;
crypto/libressl/crypto/bio/bio_lib.c
373
size_t writebytes = 0;
crypto/libressl/crypto/bio/bio_lib.c
423
size_t writebytes = 0;
crypto/libressl/crypto/bio/bio_lib.c
467
size_t readbytes = 0;
crypto/libressl/crypto/bio/bio_lib.c
601
size_t
crypto/libressl/crypto/bio/bio_lib.c
607
size_t
crypto/libressl/crypto/bio/bio_lib.c
78
bio_call_callback(BIO *b, int oper, const char *argp, size_t len, int argi,
crypto/libressl/crypto/bio/bio_lib.c
79
long argl, long inret, size_t *processed)
crypto/libressl/crypto/bio/bss_mem.c
204
if ((size_t)out_len > bio_mem_pending(bm))
crypto/libressl/crypto/bio/bss_mem.c
223
size_t buf_len;
crypto/libressl/crypto/bio/bss_mem.c
72
size_t read_offset;
crypto/libressl/crypto/bio/bss_mem.c
75
static size_t
crypto/libressl/crypto/bn/bn_exp.c
640
((unsigned char*)(x_) + (MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH - (((size_t)(x_)) & (MOD_EXP_CTIME_MIN_CACHE_LINE_MASK))))
crypto/libressl/crypto/bn/bn_exp.c
754
void bn_scatter5(const BN_ULONG *inp, size_t num,
crypto/libressl/crypto/bn/bn_exp.c
755
void *table, size_t power);
crypto/libressl/crypto/bn/bn_exp.c
756
void bn_gather5(BN_ULONG *out, size_t num,
crypto/libressl/crypto/bn/bn_exp.c
757
void *table, size_t power);
crypto/libressl/crypto/bn/bn_lcl.h
657
int BN_swap_ct(BN_ULONG swap, BIGNUM *a, BIGNUM *b, size_t nwords);
crypto/libressl/crypto/bn/bn_lib.c
1019
BN_swap_ct(BN_ULONG condition, BIGNUM *a, BIGNUM *b, size_t nwords)
crypto/libressl/crypto/bn/bn_lib.c
620
size_t i, lasti, j, atop, mask;
crypto/libressl/crypto/bn/bn_lib.c
654
for (i = 0, j = 0; j < (size_t)tolen; j++) {
crypto/libressl/crypto/bn/bn_mont.c
241
size_t m;
crypto/libressl/crypto/bn/bn_mont.c
247
m = (0 - (size_t)v);
crypto/libressl/crypto/bn/bn_print.c
149
#define BUF_REMAIN (num+3 - (size_t)(p - buf))
crypto/libressl/crypto/buffer/buffer.c
103
BUF_MEM_grow_clean(BUF_MEM *str, size_t len)
crypto/libressl/crypto/buffer/buffer.c
106
size_t n;
crypto/libressl/crypto/buffer/buffer.c
133
BUF_reverse(unsigned char *out, const unsigned char *in, size_t size)
crypto/libressl/crypto/buffer/buffer.c
135
size_t i;
crypto/libressl/crypto/buffer/buffer.c
97
BUF_MEM_grow(BUF_MEM *str, size_t len)
crypto/libressl/crypto/bytestring/bs_ber.c
103
is_eoc(size_t header_len, CBS *contents)
crypto/libressl/crypto/bytestring/bs_ber.c
129
size_t header_len;
crypto/libressl/crypto/bytestring/bs_ber.c
172
size_t inner_header_len;
crypto/libressl/crypto/bytestring/bs_ber.c
242
CBS_asn1_indefinite_to_definite(CBS *in, uint8_t **out, size_t *out_len)
crypto/libressl/crypto/bytestring/bs_ber.c
32
size_t *out_header_len)
crypto/libressl/crypto/bytestring/bs_ber.c
59
size_t header_len;
crypto/libressl/crypto/bytestring/bs_cbb.c
104
size_t newcap = base->cap * 2;
crypto/libressl/crypto/bytestring/bs_cbb.c
129
cbb_add_u(CBB *cbb, uint32_t v, size_t len_len)
crypto/libressl/crypto/bytestring/bs_cbb.c
132
size_t i;
crypto/libressl/crypto/bytestring/bs_cbb.c
151
CBB_finish(CBB *cbb, uint8_t **out_data, size_t *out_len)
crypto/libressl/crypto/bytestring/bs_cbb.c
188
size_t child_start, i, len;
crypto/libressl/crypto/bytestring/bs_cbb.c
213
size_t len_len = 1; /* total number of length octets */
crypto/libressl/crypto/bytestring/bs_cbb.c
248
size_t extra_bytes = len_len - 1;
crypto/libressl/crypto/bytestring/bs_cbb.c
26
cbb_init(CBB *cbb, uint8_t *buf, size_t cap)
crypto/libressl/crypto/bytestring/bs_cbb.c
291
cbb_add_length_prefixed(CBB *cbb, CBB *out_contents, size_t len_len)
crypto/libressl/crypto/bytestring/bs_cbb.c
362
CBB_add_bytes(CBB *cbb, const uint8_t *data, size_t len)
crypto/libressl/crypto/bytestring/bs_cbb.c
374
CBB_add_space(CBB *cbb, uint8_t **out_data, size_t len)
crypto/libressl/crypto/bytestring/bs_cbb.c
384
CBB_add_u8(CBB *cbb, size_t value)
crypto/libressl/crypto/bytestring/bs_cbb.c
393
CBB_add_u16(CBB *cbb, size_t value)
crypto/libressl/crypto/bytestring/bs_cbb.c
402
CBB_add_u24(CBB *cbb, size_t value)
crypto/libressl/crypto/bytestring/bs_cbb.c
411
CBB_add_u32(CBB *cbb, size_t value)
crypto/libressl/crypto/bytestring/bs_cbb.c
436
size_t i;
crypto/libressl/crypto/bytestring/bs_cbb.c
45
CBB_init(CBB *cbb, size_t initial_capacity)
crypto/libressl/crypto/bytestring/bs_cbb.c
66
CBB_init_fixed(CBB *cbb, uint8_t *buf, size_t len)
crypto/libressl/crypto/bytestring/bs_cbb.c
91
cbb_buffer_add(struct cbb_buffer_st *base, uint8_t **out, size_t len)
crypto/libressl/crypto/bytestring/bs_cbb.c
93
size_t newlen;
crypto/libressl/crypto/bytestring/bs_cbs.c
118
CBS_write_bytes(const CBS *cbs, uint8_t *dst, size_t dst_len, size_t *copied)
crypto/libressl/crypto/bytestring/bs_cbs.c
138
CBS_mem_equal(const CBS *cbs, const uint8_t *data, size_t len)
crypto/libressl/crypto/bytestring/bs_cbs.c
147
cbs_get_u(CBS *cbs, uint32_t *out, size_t len)
crypto/libressl/crypto/bytestring/bs_cbs.c
150
size_t i;
crypto/libressl/crypto/bytestring/bs_cbs.c
232
CBS_get_bytes(CBS *cbs, CBS *out, size_t len)
crypto/libressl/crypto/bytestring/bs_cbs.c
24
CBS_init(CBS *cbs, const uint8_t *data, size_t len)
crypto/libressl/crypto/bytestring/bs_cbs.c
244
cbs_get_length_prefixed(CBS *cbs, CBS *out, size_t len_len)
crypto/libressl/crypto/bytestring/bs_cbs.c
273
cbs_peek_u(CBS *cbs, uint32_t *out, size_t len)
crypto/libressl/crypto/bytestring/bs_cbs.c
276
size_t i;
crypto/libressl/crypto/bytestring/bs_cbs.c
341
size_t *out_header_len)
crypto/libressl/crypto/bytestring/bs_cbs.c
358
size_t *out_header_len, int strict)
crypto/libressl/crypto/bytestring/bs_cbs.c
363
size_t len;
crypto/libressl/crypto/bytestring/bs_cbs.c
384
len = ((size_t) length_byte) + 2;
crypto/libressl/crypto/bytestring/bs_cbs.c
39
cbs_get(CBS *cbs, const uint8_t **p, size_t n)
crypto/libressl/crypto/bytestring/bs_cbs.c
390
const size_t num_bytes = length_byte & 0x7f;
crypto/libressl/crypto/bytestring/bs_cbs.c
445
size_t header_len;
crypto/libressl/crypto/bytestring/bs_cbs.c
496
size_t i, len;
crypto/libressl/crypto/bytestring/bs_cbs.c
51
cbs_peek(CBS *cbs, const uint8_t **p, size_t n)
crypto/libressl/crypto/bytestring/bs_cbs.c
60
size_t
crypto/libressl/crypto/bytestring/bs_cbs.c
67
CBS_skip(CBS *cbs, size_t len)
crypto/libressl/crypto/bytestring/bs_cbs.c
79
size_t
crypto/libressl/crypto/bytestring/bs_cbs.c
86
CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len)
crypto/libressl/crypto/bytestring/bytestring.h
110
int CBS_mem_equal(const CBS *cbs, const uint8_t *data, size_t len);
crypto/libressl/crypto/bytestring/bytestring.h
152
int CBS_get_bytes(CBS *cbs, CBS *out, size_t len);
crypto/libressl/crypto/bytestring/bytestring.h
286
size_t *out_header_len);
crypto/libressl/crypto/bytestring/bytestring.h
358
size_t len;
crypto/libressl/crypto/bytestring/bytestring.h
361
size_t cap;
crypto/libressl/crypto/bytestring/bytestring.h
377
size_t offset;
crypto/libressl/crypto/bytestring/bytestring.h
40
size_t initial_len;
crypto/libressl/crypto/bytestring/bytestring.h
402
int CBB_init(CBB *cbb, size_t initial_capacity);
crypto/libressl/crypto/bytestring/bytestring.h
409
int CBB_init_fixed(CBB *cbb, uint8_t *buf, size_t len);
crypto/libressl/crypto/bytestring/bytestring.h
41
size_t len;
crypto/libressl/crypto/bytestring/bytestring.h
428
int CBB_finish(CBB *cbb, uint8_t **out_data, size_t *out_len);
crypto/libressl/crypto/bytestring/bytestring.h
477
int CBB_add_bytes(CBB *cbb, const uint8_t *data, size_t len);
crypto/libressl/crypto/bytestring/bytestring.h
48
void CBS_init(CBS *cbs, const uint8_t *data, size_t len);
crypto/libressl/crypto/bytestring/bytestring.h
485
int CBB_add_space(CBB *cbb, uint8_t **out_data, size_t len);
crypto/libressl/crypto/bytestring/bytestring.h
491
int CBB_add_u8(CBB *cbb, size_t value);
crypto/libressl/crypto/bytestring/bytestring.h
497
int CBB_add_u16(CBB *cbb, size_t value);
crypto/libressl/crypto/bytestring/bytestring.h
503
int CBB_add_u24(CBB *cbb, size_t value);
crypto/libressl/crypto/bytestring/bytestring.h
509
int CBB_add_u32(CBB *cbb, size_t value);
crypto/libressl/crypto/bytestring/bytestring.h
54
int CBS_skip(CBS *cbs, size_t len);
crypto/libressl/crypto/bytestring/bytestring.h
542
size_t *out_header_len, int strict);
crypto/libressl/crypto/bytestring/bytestring.h
561
int CBS_asn1_indefinite_to_definite(CBS *in, uint8_t **out, size_t *out_len);
crypto/libressl/crypto/bytestring/bytestring.h
64
size_t CBS_len(const CBS *cbs);
crypto/libressl/crypto/bytestring/bytestring.h
69
size_t CBS_offset(const CBS *cbs);
crypto/libressl/crypto/bytestring/bytestring.h
78
int CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len);
crypto/libressl/crypto/bytestring/bytestring.h
96
int CBS_write_bytes(const CBS *cbs, uint8_t *dst, size_t dst_len,
crypto/libressl/crypto/bytestring/bytestring.h
97
size_t *copied);
crypto/libressl/crypto/camellia/cmll_cbc.c
56
Camellia_cbc_encrypt(const unsigned char *in, unsigned char *out, size_t len,
crypto/libressl/crypto/camellia/cmll_cfb.c
120
size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num,
crypto/libressl/crypto/camellia/cmll_cfb.c
130
size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num,
crypto/libressl/crypto/camellia/cmll_cfb.c
139
size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num,
crypto/libressl/crypto/camellia/cmll_ctr.c
57
size_t length, const CAMELLIA_KEY *key,
crypto/libressl/crypto/camellia/cmll_ofb.c
118
size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num)
crypto/libressl/crypto/chacha/chacha.c
100
CRYPTO_xchacha_20(unsigned char *out, const unsigned char *in, size_t len,
crypto/libressl/crypto/chacha/chacha.c
40
ChaCha(ChaCha_ctx *ctx, unsigned char *out, const unsigned char *in, size_t len)
crypto/libressl/crypto/chacha/chacha.c
69
CRYPTO_chacha_20(unsigned char *out, const unsigned char *in, size_t len,
crypto/libressl/crypto/cmac/cm_pmeth.c
110
int_update(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/cmac/cm_pmeth.c
126
cmac_signctx(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
crypto/libressl/crypto/cmac/cmac.c
154
CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen,
crypto/libressl/crypto/cmac/cmac.c
200
CMAC_Update(CMAC_CTX *ctx, const void *in, size_t dlen)
crypto/libressl/crypto/cmac/cmac.c
203
size_t bl;
crypto/libressl/crypto/cmac/cmac.c
212
size_t nleft;
crypto/libressl/crypto/cmac/cmac.c
242
CMAC_Final(CMAC_CTX *ctx, unsigned char *out, size_t *poutlen)
crypto/libressl/crypto/cmac/cmac.c
249
*poutlen = (size_t)bl;
crypto/libressl/crypto/cms/cms_enc.c
209
const EVP_CIPHER *cipher, const unsigned char *key, size_t keylen)
crypto/libressl/crypto/cms/cms_enc.c
228
const unsigned char *key, size_t keylen)
crypto/libressl/crypto/cms/cms_enc.c
79
size_t tkeylen = 0;
crypto/libressl/crypto/cms/cms_env.c
363
size_t eklen;
crypto/libressl/crypto/cms/cms_env.c
428
size_t eklen;
crypto/libressl/crypto/cms/cms_env.c
429
size_t fixlen = 0;
crypto/libressl/crypto/cms/cms_env.c
508
size_t idlen)
crypto/libressl/crypto/cms/cms_env.c
528
static size_t
crypto/libressl/crypto/cms/cms_env.c
548
size_t keylen, unsigned char *id, size_t idlen, ASN1_GENERALIZEDTIME *date,
crypto/libressl/crypto/cms/cms_env.c
580
size_t exp_keylen = aes_wrap_keylen(nid);
crypto/libressl/crypto/cms/cms_env.c
679
size_t keylen)
crypto/libressl/crypto/cms/cms_kari.c
239
cms_kek_cipher(unsigned char **pout, size_t *poutlen, const unsigned char *in,
crypto/libressl/crypto/cms/cms_kari.c
240
size_t inlen, CMS_KeyAgreeRecipientInfo *kari, int enc)
crypto/libressl/crypto/cms/cms_kari.c
244
size_t keklen;
crypto/libressl/crypto/cms/cms_kari.c
267
*poutlen = (size_t)outlen;
crypto/libressl/crypto/cms/cms_kari.c
288
size_t enckeylen;
crypto/libressl/crypto/cms/cms_kari.c
289
size_t ceklen;
crypto/libressl/crypto/cms/cms_kari.c
472
size_t enckeylen;
crypto/libressl/crypto/cms/cms_lcl.h
170
size_t keylen;
crypto/libressl/crypto/cms/cms_lcl.h
256
size_t keylen;
crypto/libressl/crypto/cms/cms_lcl.h
272
size_t passlen;
crypto/libressl/crypto/cms/cms_lcl.h
448
const EVP_CIPHER *cipher, const unsigned char *key, size_t keylen);
crypto/libressl/crypto/cms/cms_pwri.c
223
kek_unwrap_key(unsigned char *out, size_t *outlen, const unsigned char *in,
crypto/libressl/crypto/cms/cms_pwri.c
224
size_t inlen, EVP_CIPHER_CTX *ctx)
crypto/libressl/crypto/cms/cms_pwri.c
226
size_t blocklen = EVP_CIPHER_CTX_block_size(ctx);
crypto/libressl/crypto/cms/cms_pwri.c
265
if (inlen < (size_t)(tmp[0] - 4)) {
crypto/libressl/crypto/cms/cms_pwri.c
269
*outlen = (size_t)tmp[0];
crypto/libressl/crypto/cms/cms_pwri.c
280
kek_wrap_key(unsigned char *out, size_t *outlen, const unsigned char *in,
crypto/libressl/crypto/cms/cms_pwri.c
281
size_t inlen, EVP_CIPHER_CTX *ctx)
crypto/libressl/crypto/cms/cms_pwri.c
283
size_t blocklen = EVP_CIPHER_CTX_block_size(ctx);
crypto/libressl/crypto/cms/cms_pwri.c
284
size_t olen;
crypto/libressl/crypto/cms/cms_pwri.c
335
size_t keylen;
crypto/libressl/crypto/cms/cms_sd.c
647
size_t siglen;
crypto/libressl/crypto/cms/cms_sd.c
716
size_t siglen;
crypto/libressl/crypto/cms/cms_smime.c
240
size_t keylen, BIO *dcont, BIO *out, unsigned int flags)
crypto/libressl/crypto/cms/cms_smime.c
266
const unsigned char *key, size_t keylen, unsigned int flags)
crypto/libressl/crypto/cms/cms_smime.c
748
CMS_decrypt_set1_key(CMS_ContentInfo *cms, unsigned char *key, size_t keylen,
crypto/libressl/crypto/cms/cms_smime.c
749
const unsigned char *id, size_t idlen)
crypto/libressl/crypto/conf/conf_def.c
460
size_t newsize;
crypto/libressl/crypto/cryptlib.c
379
CRYPTO_memcmp(const void *in_a, const void *in_b, size_t len)
crypto/libressl/crypto/cryptlib.c
381
size_t i;
crypto/libressl/crypto/ct/ct_b64.c
78
size_t inlen = strlen(in);
crypto/libressl/crypto/ct/ct_local.h
102
size_t log_id_len;
crypto/libressl/crypto/ct/ct_local.h
110
size_t ext_len;
crypto/libressl/crypto/ct/ct_local.h
114
size_t sig_len;
crypto/libressl/crypto/ct/ct_local.h
129
size_t pkeyhashlen;
crypto/libressl/crypto/ct/ct_local.h
132
size_t ihashlen;
crypto/libressl/crypto/ct/ct_local.h
135
size_t certderlen;
crypto/libressl/crypto/ct/ct_local.h
138
size_t prederlen;
crypto/libressl/crypto/ct/ct_local.h
96
size_t sct_len;
crypto/libressl/crypto/ct/ct_log.c
336
CTLOG_get0_log_id(const CTLOG *log, const uint8_t **log_id, size_t *log_id_len)
crypto/libressl/crypto/ct/ct_log.c
354
size_t log_id_len)
crypto/libressl/crypto/ct/ct_log.c
94
size_t invalid_log_entries;
crypto/libressl/crypto/ct/ct_oct.c
189
o2i_SCT(SCT **psct, const unsigned char **in, size_t len)
crypto/libressl/crypto/ct/ct_oct.c
215
size_t len;
crypto/libressl/crypto/ct/ct_oct.c
263
size_t len;
crypto/libressl/crypto/ct/ct_oct.c
319
o2i_SCT_LIST(STACK_OF(SCT) **out_scts, const unsigned char **pp, size_t len)
crypto/libressl/crypto/ct/ct_oct.c
374
size_t len2;
crypto/libressl/crypto/ct/ct_sct.c
138
SCT_set0_log_id(SCT *sct, unsigned char *log_id, size_t log_id_len)
crypto/libressl/crypto/ct/ct_sct.c
153
SCT_set1_log_id(SCT *sct, const unsigned char *log_id, size_t log_id_len)
crypto/libressl/crypto/ct/ct_sct.c
206
SCT_set0_extensions(SCT *sct, unsigned char *ext, size_t ext_len)
crypto/libressl/crypto/ct/ct_sct.c
215
SCT_set1_extensions(SCT *sct, const unsigned char *ext, size_t ext_len)
crypto/libressl/crypto/ct/ct_sct.c
235
SCT_set0_signature(SCT *sct, unsigned char *sig, size_t sig_len)
crypto/libressl/crypto/ct/ct_sct.c
244
SCT_set1_signature(SCT *sct, const unsigned char *sig, size_t sig_len)
crypto/libressl/crypto/ct/ct_sct.c
275
size_t
crypto/libressl/crypto/ct/ct_sct.c
307
size_t
crypto/libressl/crypto/ct/ct_sct.c
314
size_t
crypto/libressl/crypto/ct/ct_sct_ctx.c
251
ct_public_key_hash(X509_PUBKEY *pkey, unsigned char **hash, size_t *hash_len)
crypto/libressl/crypto/ct/ct_vfy.c
84
size_t data_len;
crypto/libressl/crypto/curve25519/curve25519.c
4661
int ED25519_sign(uint8_t *out_sig, const uint8_t *message, size_t message_len,
crypto/libressl/crypto/curve25519/curve25519.c
4695
int ED25519_verify(const uint8_t *message, size_t message_len,
crypto/libressl/crypto/dh/dh_ameth.c
284
update_buflen(const BIGNUM *b, size_t *pbuflen)
crypto/libressl/crypto/dh/dh_ameth.c
286
size_t i;
crypto/libressl/crypto/dh/dh_ameth.c
290
if (*pbuflen < (i = (size_t)BN_num_bytes(b)))
crypto/libressl/crypto/dh/dh_ameth.c
318
size_t buf_len = 0;
crypto/libressl/crypto/dh/dh_pmeth.c
234
pkey_dh_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen)
crypto/libressl/crypto/dsa/dsa_ameth.c
374
update_buflen(const BIGNUM *b, size_t *pbuflen)
crypto/libressl/crypto/dsa/dsa_ameth.c
376
size_t i;
crypto/libressl/crypto/dsa/dsa_ameth.c
380
if (*pbuflen < (i = (size_t)BN_num_bytes(b)))
crypto/libressl/crypto/dsa/dsa_ameth.c
389
size_t buf_len = 0;
crypto/libressl/crypto/dsa/dsa_ameth.c
598
size_t buf_len = 0;
crypto/libressl/crypto/dsa/dsa_gen.c
100
const unsigned char *seed_in, size_t seed_len, unsigned char *seed_out,
crypto/libressl/crypto/dsa/dsa_gen.c
130
if (seed_len < (size_t)qsize) {
crypto/libressl/crypto/dsa/dsa_gen.c
138
if (seed_len > (size_t)qsize)
crypto/libressl/crypto/dsa/dsa_gen.c
83
size_t qbits;
crypto/libressl/crypto/dsa/dsa_gen.c
99
dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits, const EVP_MD *evpmd,
crypto/libressl/crypto/dsa/dsa_locl.h
113
int dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits,
crypto/libressl/crypto/dsa/dsa_locl.h
114
const EVP_MD *evpmd, const unsigned char *seed_in, size_t seed_len,
crypto/libressl/crypto/dsa/dsa_pmeth.c
131
pkey_dsa_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
crypto/libressl/crypto/dsa/dsa_pmeth.c
132
const unsigned char *tbs, size_t tbslen)
crypto/libressl/crypto/dsa/dsa_pmeth.c
153
pkey_dsa_verify(EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen,
crypto/libressl/crypto/dsa/dsa_pmeth.c
154
const unsigned char *tbs, size_t tbslen)
crypto/libressl/crypto/ec/ec2_mult.c
376
size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx)
crypto/libressl/crypto/ec/ec2_mult.c
380
size_t i;
crypto/libressl/crypto/ec/ec2_oct.c
175
size_t
crypto/libressl/crypto/ec/ec2_oct.c
178
unsigned char *buf, size_t len, BN_CTX * ctx)
crypto/libressl/crypto/ec/ec2_oct.c
180
size_t ret;
crypto/libressl/crypto/ec/ec2_oct.c
184
size_t field_len, i, skip;
crypto/libressl/crypto/ec/ec2_oct.c
293
const unsigned char *buf, size_t len, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec2_oct.c
299
size_t field_len, enc_len;
crypto/libressl/crypto/ec/ec2_smpl.c
745
ec_GF2m_simple_points_make_affine(const EC_GROUP *group, size_t num,
crypto/libressl/crypto/ec/ec2_smpl.c
748
size_t i;
crypto/libressl/crypto/ec/ec_ameth.c
443
size_t buf_len = 0, i;
crypto/libressl/crypto/ec/ec_ameth.c
469
buf_len = (size_t) BN_num_bytes(pub_key);
crypto/libressl/crypto/ec/ec_ameth.c
474
if (priv_key && (i = (size_t) BN_num_bytes(priv_key)) > buf_len)
crypto/libressl/crypto/ec/ec_asn1.c
1383
size_t pub_oct_len;
crypto/libressl/crypto/ec/ec_asn1.c
1428
size_t buf_len = 0, tmp_len;
crypto/libressl/crypto/ec/ec_asn1.c
1442
buf_len = (size_t) BN_num_bytes(a->priv_key);
crypto/libressl/crypto/ec/ec_asn1.c
1575
size_t buf_len = 0;
crypto/libressl/crypto/ec/ec_asn1.c
807
size_t len_1, len_2;
crypto/libressl/crypto/ec/ec_asn1.c
824
len_1 = (size_t) BN_num_bytes(tmp_1);
crypto/libressl/crypto/ec/ec_asn1.c
825
len_2 = (size_t) BN_num_bytes(tmp_2);
crypto/libressl/crypto/ec/ec_asn1.c
900
size_t len = 0;
crypto/libressl/crypto/ec/ec_curve.c
3416
size_t i;
crypto/libressl/crypto/ec/ec_curve.c
3436
size_t
crypto/libressl/crypto/ec/ec_curve.c
3437
EC_get_builtin_curves(EC_builtin_curve * r, size_t nitems)
crypto/libressl/crypto/ec/ec_curve.c
3439
size_t i, min;
crypto/libressl/crypto/ec/ec_curve.c
3484
size_t i;
crypto/libressl/crypto/ec/ec_curve.c
3496
size_t i;
crypto/libressl/crypto/ec/ec_kmeth.c
232
int (*ckey)(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
crypto/libressl/crypto/ec/ec_kmeth.c
233
void *(*KDF) (const void *in, size_t inlen, void *out, size_t *outlen)))
crypto/libressl/crypto/ec/ec_kmeth.c
299
int (**pck)(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
crypto/libressl/crypto/ec/ec_kmeth.c
300
void *(*KDF) (const void *in, size_t inlen, void *out, size_t *outlen)))
crypto/libressl/crypto/ec/ec_lcl.h
148
size_t (*point2oct)(const EC_GROUP *, const EC_POINT *, point_conversion_form_t form,
crypto/libressl/crypto/ec/ec_lcl.h
149
unsigned char *buf, size_t len, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
151
const unsigned char *buf, size_t len, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
165
int (*points_make_affine)(const EC_GROUP *, size_t num, EC_POINT *[], BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
211
size_t seed_len;
crypto/libressl/crypto/ec/ec_lcl.h
306
size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
335
size_t ec_GFp_simple_point2oct(const EC_GROUP *, const EC_POINT *, point_conversion_form_t form,
crypto/libressl/crypto/ec/ec_lcl.h
336
unsigned char *buf, size_t len, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
338
const unsigned char *buf, size_t len, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
346
int ec_GFp_simple_points_make_affine(const EC_GROUP *, size_t num, EC_POINT *[], BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
398
size_t ec_GF2m_simple_point2oct(const EC_GROUP *, const EC_POINT *, point_conversion_form_t form,
crypto/libressl/crypto/ec/ec_lcl.h
399
unsigned char *buf, size_t len, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
401
const unsigned char *buf, size_t len, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
409
int ec_GF2m_simple_points_make_affine(const EC_GROUP *, size_t num, EC_POINT *[], BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
417
size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
423
size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
432
int ec_GFp_nistp224_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
433
int ec_GFp_nistp224_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx);
crypto/libressl/crypto/ec/ec_lcl.h
441
int ec_GFp_nistp256_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
442
int ec_GFp_nistp256_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx);
crypto/libressl/crypto/ec/ec_lcl.h
462
int (*compute_key)(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
crypto/libressl/crypto/ec/ec_lcl.h
463
void *(*KDF) (const void *in, size_t inlen, void *out, size_t *outlen));
crypto/libressl/crypto/ec/ec_lcl.h
481
int ossl_ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
crypto/libressl/crypto/ec/ec_lcl.h
482
void *(*KDF) (const void *in, size_t inlen, void *out, size_t *outlen));
crypto/libressl/crypto/ec/ec_lcl.h
492
int ec_GFp_nistp521_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
493
int ec_GFp_nistp521_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx);
crypto/libressl/crypto/ec/ec_lcl.h
498
void ec_GFp_nistp_points_make_affine_internal(size_t num, void *point_array,
crypto/libressl/crypto/ec/ec_lcl.h
499
size_t felem_size, void *tmp_felems,
crypto/libressl/crypto/ec/ec_lib.c
1162
EC_POINTs_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[],
crypto/libressl/crypto/ec/ec_lib.c
1165
size_t i;
crypto/libressl/crypto/ec/ec_lib.c
1184
size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
473
size_t
crypto/libressl/crypto/ec/ec_lib.c
474
EC_GROUP_set_seed(EC_GROUP * group, const unsigned char *p, size_t len)
crypto/libressl/crypto/ec/ec_lib.c
500
size_t
crypto/libressl/crypto/ec/ec_mult.c
195
compute_wNAF(const BIGNUM * scalar, int w, size_t * ret_len)
crypto/libressl/crypto/ec/ec_mult.c
202
size_t len = 0, j;
crypto/libressl/crypto/ec/ec_mult.c
320
((size_t) \
crypto/libressl/crypto/ec/ec_mult.c
336
size_t num, const EC_POINT * points[], const BIGNUM * scalars[], BN_CTX * ctx)
crypto/libressl/crypto/ec/ec_mult.c
341
size_t totalnum;
crypto/libressl/crypto/ec/ec_mult.c
342
size_t blocksize = 0, numblocks = 0; /* for wNAF splitting */
crypto/libressl/crypto/ec/ec_mult.c
343
size_t pre_points_per_block = 0;
crypto/libressl/crypto/ec/ec_mult.c
344
size_t i, j;
crypto/libressl/crypto/ec/ec_mult.c
348
size_t *wsize = NULL; /* individual window sizes */
crypto/libressl/crypto/ec/ec_mult.c
351
size_t *wNAF_len = NULL;
crypto/libressl/crypto/ec/ec_mult.c
352
size_t max_len = 0;
crypto/libressl/crypto/ec/ec_mult.c
353
size_t num_val;
crypto/libressl/crypto/ec/ec_mult.c
411
pre_points_per_block = (size_t) 1 << (pre_comp->w - 1);
crypto/libressl/crypto/ec/ec_mult.c
450
size_t bits;
crypto/libressl/crypto/ec/ec_mult.c
454
num_val += (size_t) 1 << (wsize[i] - 1);
crypto/libressl/crypto/ec/ec_mult.c
473
size_t tmp_len = 0;
crypto/libressl/crypto/ec/ec_mult.c
590
for (j = 0; j < ((size_t) 1 << (wsize[i] - 1)); j++) {
crypto/libressl/crypto/ec/ec_mult.c
620
for (j = 1; j < ((size_t) 1 << (wsize[i] - 1)); j++) {
crypto/libressl/crypto/ec/ec_mult.c
638
if (wNAF_len[i] > (size_t) k) {
crypto/libressl/crypto/ec/ec_mult.c
731
size_t i, bits, w, pre_points_per_block, blocksize, numblocks,
crypto/libressl/crypto/ec/ec_mult.c
782
pre_points_per_block = (size_t) 1 << (w - 1);
crypto/libressl/crypto/ec/ec_mult.c
809
size_t j;
crypto/libressl/crypto/ec/ec_mult.c
828
size_t k;
crypto/libressl/crypto/ec/ec_mult.c
84
size_t blocksize; /* block size for wNAF splitting */
crypto/libressl/crypto/ec/ec_mult.c
85
size_t numblocks; /* max. number of blocks for which we have
crypto/libressl/crypto/ec/ec_mult.c
87
size_t w; /* window size */
crypto/libressl/crypto/ec/ec_mult.c
91
size_t num; /* numblocks * 2^(w-1) */
crypto/libressl/crypto/ec/ec_oct.c
127
size_t
crypto/libressl/crypto/ec/ec_oct.c
130
unsigned char *buf, size_t len, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_oct.c
161
const unsigned char *buf, size_t len, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_pmeth.c
164
pkey_ec_sign(EVP_PKEY_CTX * ctx, unsigned char *sig, size_t * siglen,
crypto/libressl/crypto/ec/ec_pmeth.c
165
const unsigned char *tbs, size_t tbslen)
crypto/libressl/crypto/ec/ec_pmeth.c
175
} else if (*siglen < (size_t) ECDSA_size(ec)) {
crypto/libressl/crypto/ec/ec_pmeth.c
187
*siglen = (size_t) sltmp;
crypto/libressl/crypto/ec/ec_pmeth.c
193
const unsigned char *sig, size_t siglen,
crypto/libressl/crypto/ec/ec_pmeth.c
194
const unsigned char *tbs, size_t tbslen)
crypto/libressl/crypto/ec/ec_pmeth.c
211
pkey_ec_derive(EVP_PKEY_CTX * ctx, unsigned char *key, size_t * keylen)
crypto/libressl/crypto/ec/ec_pmeth.c
214
size_t outlen;
crypto/libressl/crypto/ec/ec_pmeth.c
250
pkey_ec_kdf_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen)
crypto/libressl/crypto/ec/ec_pmeth.c
254
size_t ktmplen;
crypto/libressl/crypto/ec/ec_pmeth.c
363
dctx->kdf_outlen = (size_t)p1;
crypto/libressl/crypto/ec/ec_pmeth.c
91
size_t kdf_ukmlen;
crypto/libressl/crypto/ec/ec_pmeth.c
93
size_t kdf_outlen;
crypto/libressl/crypto/ec/ec_print.c
129
size_t buf_len = 0, i;
crypto/libressl/crypto/ec/ec_print.c
63
size_t buf_len = 0;
crypto/libressl/crypto/ec/ec_print.c
89
size_t buf_len = 0;
crypto/libressl/crypto/ec/eck_prn.c
148
size_t len, int off);
crypto/libressl/crypto/ec/eck_prn.c
154
size_t buf_len = 0, i;
crypto/libressl/crypto/ec/eck_prn.c
161
size_t seed_len = 0;
crypto/libressl/crypto/ec/eck_prn.c
236
buf_len = (size_t) BN_num_bytes(p);
crypto/libressl/crypto/ec/eck_prn.c
237
if (buf_len < (i = (size_t) BN_num_bytes(a)))
crypto/libressl/crypto/ec/eck_prn.c
239
if (buf_len < (i = (size_t) BN_num_bytes(b)))
crypto/libressl/crypto/ec/eck_prn.c
241
if (buf_len < (i = (size_t) BN_num_bytes(gen)))
crypto/libressl/crypto/ec/eck_prn.c
243
if (buf_len < (i = (size_t) BN_num_bytes(order)))
crypto/libressl/crypto/ec/eck_prn.c
245
if (buf_len < (i = (size_t) BN_num_bytes(cofactor)))
crypto/libressl/crypto/ec/eck_prn.c
328
size_t len, int off)
crypto/libressl/crypto/ec/eck_prn.c
330
size_t i;
crypto/libressl/crypto/ec/ecp_oct.c
200
size_t
crypto/libressl/crypto/ec/ecp_oct.c
202
unsigned char *buf, size_t len, BN_CTX * ctx)
crypto/libressl/crypto/ec/ecp_oct.c
204
size_t ret;
crypto/libressl/crypto/ec/ecp_oct.c
208
size_t field_len, i, skip;
crypto/libressl/crypto/ec/ecp_oct.c
307
const unsigned char *buf, size_t len, BN_CTX * ctx)
crypto/libressl/crypto/ec/ecp_oct.c
313
size_t field_len, enc_len;
crypto/libressl/crypto/ec/ecp_smpl.c
1230
ec_GFp_simple_points_make_affine(const EC_GROUP * group, size_t num, EC_POINT * points[], BN_CTX * ctx)
crypto/libressl/crypto/ec/ecp_smpl.c
1234
size_t pow2 = 0;
crypto/libressl/crypto/ec/ecp_smpl.c
1236
size_t i;
crypto/libressl/crypto/ecdh/ecdh_kdf.c
68
ecdh_KDF_X9_63(unsigned char *out, size_t outlen, const unsigned char *Z,
crypto/libressl/crypto/ecdh/ecdh_kdf.c
69
size_t Zlen, const unsigned char *sinfo, size_t sinfolen, const EVP_MD *md)
crypto/libressl/crypto/ecdh/ecdh_kdf.c
73
size_t mdlen;
crypto/libressl/crypto/ecdh/ech_key.c
106
size_t buflen, len;
crypto/libressl/crypto/ecdh/ech_key.c
166
if (len != (size_t)BN_bn2bin(x, buf + buflen - len)) {
crypto/libressl/crypto/ecdh/ech_key.c
209
ossl_ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
crypto/libressl/crypto/ecdh/ech_key.c
211
void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen))
crypto/libressl/crypto/ecdh/ech_key.c
221
ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
crypto/libressl/crypto/ecdh/ech_key.c
223
void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen))
crypto/libressl/crypto/ecdh/ech_key.c
84
static int ecdh_compute_key(void *out, size_t len, const EC_POINT *pub_key,
crypto/libressl/crypto/ecdh/ech_key.c
86
void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen));
crypto/libressl/crypto/ecdh/ech_key.c
96
ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
crypto/libressl/crypto/ecdh/ech_key.c
98
void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen))
crypto/libressl/crypto/ecdh/ech_locl.h
65
int (*compute_key)(void *key, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
crypto/libressl/crypto/ecdh/ech_locl.h
66
void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen));
crypto/libressl/crypto/ecdh/ech_locl.h
94
int ecdh_KDF_X9_63(unsigned char *out, size_t outlen, const unsigned char *Z,
crypto/libressl/crypto/ecdh/ech_locl.h
95
size_t Zlen, const unsigned char *sinfo, size_t sinfolen, const EVP_MD *md);
crypto/libressl/crypto/engine/eng_openssl.c
258
const unsigned char *in, size_t inl)
crypto/libressl/crypto/engine/eng_openssl.c
336
test_sha1_update(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/err/err.c
888
ERR_error_string_n(unsigned long e, char *buf, size_t len)
crypto/libressl/crypto/err/err_prn.c
110
print_bio(const char *str, size_t len, void *bp)
crypto/libressl/crypto/err/err_prn.c
70
ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u), void *u)
crypto/libressl/crypto/err/err_prn.c
93
print_fp(const char *str, size_t len, void *fp)
crypto/libressl/crypto/evp/digest.c
216
EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/evp/digest.c
238
if ((size_t)ctx->digest->md_size > EVP_MAX_MD_SIZE) {
crypto/libressl/crypto/evp/digest.c
323
EVP_Digest(const void *data, size_t count,
crypto/libressl/crypto/evp/e_aes.c
107
#define MAXBITCHUNK ((size_t)1<<(sizeof(size_t)*8-4))
crypto/libressl/crypto/evp/e_aes.c
121
size_t length, const AES_KEY *key, unsigned char *ivec, int enc);
crypto/libressl/crypto/evp/e_aes.c
125
size_t length, const AES_KEY *key, unsigned char ivec[16], int enc);
crypto/libressl/crypto/evp/e_aes.c
127
size_t len, const AES_KEY *key, const unsigned char ivec[16]);
crypto/libressl/crypto/evp/e_aes.c
129
size_t len, const AES_KEY *key1, const AES_KEY *key2,
crypto/libressl/crypto/evp/e_aes.c
132
size_t len, const AES_KEY *key1, const AES_KEY *key2,
crypto/libressl/crypto/evp/e_aes.c
137
size_t blocks, const AES_KEY *key,
crypto/libressl/crypto/evp/e_aes.c
141
void AES_xts_encrypt(const char *inp, char *out, size_t len,
crypto/libressl/crypto/evp/e_aes.c
143
void AES_xts_decrypt(const char *inp, char *out, size_t len,
crypto/libressl/crypto/evp/e_aes.c
1431
const unsigned char *key, size_t key_len)
crypto/libressl/crypto/evp/e_aes.c
1500
const unsigned char *in, size_t len)
crypto/libressl/crypto/evp/e_aes.c
1570
const unsigned char *in, size_t len)
crypto/libressl/crypto/evp/e_aes.c
178
size_t length, const AES_KEY *key, int enc);
crypto/libressl/crypto/evp/e_aes.c
180
size_t length, const AES_KEY *key, unsigned char *ivec, int enc);
crypto/libressl/crypto/evp/e_aes.c
183
size_t blocks, const void *key, const unsigned char *ivec);
crypto/libressl/crypto/evp/e_aes.c
1855
const unsigned char *in, size_t len)
crypto/libressl/crypto/evp/e_aes.c
186
size_t length, const AES_KEY *key1, const AES_KEY *key2,
crypto/libressl/crypto/evp/e_aes.c
190
size_t length, const AES_KEY *key1, const AES_KEY *key2,
crypto/libressl/crypto/evp/e_aes.c
194
size_t blocks, const void *key, const unsigned char ivec[16],
crypto/libressl/crypto/evp/e_aes.c
198
size_t blocks, const void *key, const unsigned char ivec[16],
crypto/libressl/crypto/evp/e_aes.c
1993
if (!CRYPTO_ccm128_tag(&cctx->ccm, ptr, (size_t)arg))
crypto/libressl/crypto/evp/e_aes.c
2052
const unsigned char *in, size_t len)
crypto/libressl/crypto/evp/e_aes.c
2239
aead_aes_gcm_init(EVP_AEAD_CTX *ctx, const unsigned char *key, size_t key_len,
crypto/libressl/crypto/evp/e_aes.c
2240
size_t tag_len)
crypto/libressl/crypto/evp/e_aes.c
2243
const size_t key_bits = key_len * 8;
crypto/libressl/crypto/evp/e_aes.c
2289
aead_aes_gcm_seal(const EVP_AEAD_CTX *ctx, unsigned char *out, size_t *out_len,
crypto/libressl/crypto/evp/e_aes.c
2290
size_t max_out_len, const unsigned char *nonce, size_t nonce_len,
crypto/libressl/crypto/evp/e_aes.c
2291
const unsigned char *in, size_t in_len, const unsigned char *ad,
crypto/libressl/crypto/evp/e_aes.c
2292
size_t ad_len)
crypto/libressl/crypto/evp/e_aes.c
2296
size_t bulk = 0;
crypto/libressl/crypto/evp/e_aes.c
2331
aead_aes_gcm_open(const EVP_AEAD_CTX *ctx, unsigned char *out, size_t *out_len,
crypto/libressl/crypto/evp/e_aes.c
2332
size_t max_out_len, const unsigned char *nonce, size_t nonce_len,
crypto/libressl/crypto/evp/e_aes.c
2333
const unsigned char *in, size_t in_len, const unsigned char *ad,
crypto/libressl/crypto/evp/e_aes.c
2334
size_t ad_len)
crypto/libressl/crypto/evp/e_aes.c
2339
size_t plaintext_len;
crypto/libressl/crypto/evp/e_aes.c
2340
size_t bulk = 0;
crypto/libressl/crypto/evp/e_aes.c
238
const unsigned char *in, size_t len)
crypto/libressl/crypto/evp/e_aes.c
2461
const unsigned char *in, size_t inlen)
crypto/libressl/crypto/evp/e_aes.c
248
const unsigned char *in, size_t len)
crypto/libressl/crypto/evp/e_aes.c
250
size_t bl = ctx->cipher->block_size;
crypto/libressl/crypto/evp/e_aes.c
431
const unsigned char *in, size_t len)
crypto/libressl/crypto/evp/e_aes.c
450
const unsigned char *in, size_t len)
crypto/libressl/crypto/evp/e_aes.c
452
size_t bl = ctx->cipher->block_size;
crypto/libressl/crypto/evp/e_aes.c
453
size_t i;
crypto/libressl/crypto/evp/e_aes.c
467
const unsigned char *in, size_t len)
crypto/libressl/crypto/evp/e_aes.c
478
const unsigned char *in, size_t len)
crypto/libressl/crypto/evp/e_aes.c
489
const unsigned char *in, size_t len)
crypto/libressl/crypto/evp/e_aes.c
500
const unsigned char *in, size_t len)
crypto/libressl/crypto/evp/e_aes.c
526
const unsigned char *in, size_t len)
crypto/libressl/crypto/evp/e_aes.c
537
ctx->num = (size_t)num;
crypto/libressl/crypto/evp/e_aes.c
92
size_t length, const AES_KEY *key1, const AES_KEY *key2,
crypto/libressl/crypto/evp/e_aes_cbc_hmac_sha1.c
129
void sha1_block_data_order (void *c, const void *p, size_t len);
crypto/libressl/crypto/evp/e_aes_cbc_hmac_sha1.c
132
sha1_update(SHA_CTX *c, const void *data, size_t len)
crypto/libressl/crypto/evp/e_aes_cbc_hmac_sha1.c
135
size_t res;
crypto/libressl/crypto/evp/e_aes_cbc_hmac_sha1.c
170
const unsigned char *in, size_t len)
crypto/libressl/crypto/evp/e_aes_cbc_hmac_sha1.c
174
size_t plen = key->payload_length,
crypto/libressl/crypto/evp/e_aes_cbc_hmac_sha1.c
178
size_t aes_off = 0, blocks;
crypto/libressl/crypto/evp/e_aes_cbc_hmac_sha1.c
248
pmac = (void *)(((size_t)mac.c + 31) & ((size_t)0 - 32));
crypto/libressl/crypto/evp/e_aes_cbc_hmac_sha1.c
258
size_t inp_len, mask, j, i;
crypto/libressl/crypto/evp/e_aes_cbc_hmac_sha1.c
330
size_t c = out[j];
crypto/libressl/crypto/evp/e_aes_cbc_hmac_sha1.c
431
size_t off = out - p;
crypto/libressl/crypto/evp/e_aes_cbc_hmac_sha1.c
71
size_t payload_length; /* AAD length in decrypt case */
crypto/libressl/crypto/evp/e_aes_cbc_hmac_sha1.c
78
#define NO_PAYLOAD_LENGTH ((size_t)-1)
crypto/libressl/crypto/evp/e_aes_cbc_hmac_sha1.c
95
size_t length, const AES_KEY *key, unsigned char *ivec, int enc);
crypto/libressl/crypto/evp/e_aes_cbc_hmac_sha1.c
97
void aesni_cbc_sha1_enc (const void *inp, void *out, size_t blocks,
crypto/libressl/crypto/evp/e_bf.c
105
bf_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_bf.c
107
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_bf.c
125
bf_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_bf.c
127
size_t i, bl;
crypto/libressl/crypto/evp/e_bf.c
143
bf_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_bf.c
145
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_bf.c
87
bf_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_bf.c
89
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_camellia.c
108
camellia_128_cfb128_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
110
size_t chunk = EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_camellia.c
128
camellia_128_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
130
size_t i, bl;
crypto/libressl/crypto/evp/e_camellia.c
146
camellia_128_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
250
camellia_192_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
266
camellia_192_cfb128_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
268
size_t chunk = EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_camellia.c
286
camellia_192_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
288
size_t i, bl;
crypto/libressl/crypto/evp/e_camellia.c
304
camellia_192_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
408
camellia_256_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
424
camellia_256_cfb128_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
426
size_t chunk = EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_camellia.c
444
camellia_256_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
446
size_t i, bl;
crypto/libressl/crypto/evp/e_camellia.c
462
camellia_256_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
566
camellia_128_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
568
size_t chunk = EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_camellia.c
610
camellia_192_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
612
size_t chunk = EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_camellia.c
654
camellia_256_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
656
size_t chunk = EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_camellia.c
699
camellia_128_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
701
size_t chunk = EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_camellia.c
741
camellia_192_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
743
size_t chunk = EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_camellia.c
783
camellia_256_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
785
size_t chunk = EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_camellia.c
92
camellia_128_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_cast.c
105
cast5_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_cast.c
107
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_cast.c
125
cast5_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_cast.c
127
size_t i, bl;
crypto/libressl/crypto/evp/e_cast.c
143
cast5_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_cast.c
145
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_cast.c
87
cast5_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_cast.c
89
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_chacha.c
46
size_t len)
crypto/libressl/crypto/evp/e_chacha20poly1305.c
104
poly1305_pad16(poly1305_state *poly1305, size_t data_len)
crypto/libressl/crypto/evp/e_chacha20poly1305.c
107
size_t pad_len;
crypto/libressl/crypto/evp/e_chacha20poly1305.c
118
const unsigned char *data, size_t data_len)
crypto/libressl/crypto/evp/e_chacha20poly1305.c
126
size_t *out_len, size_t max_out_len, const unsigned char *nonce,
crypto/libressl/crypto/evp/e_chacha20poly1305.c
127
size_t nonce_len, const unsigned char *in, size_t in_len,
crypto/libressl/crypto/evp/e_chacha20poly1305.c
128
const unsigned char *ad, size_t ad_len)
crypto/libressl/crypto/evp/e_chacha20poly1305.c
176
size_t *out_len, size_t max_out_len, const unsigned char *nonce,
crypto/libressl/crypto/evp/e_chacha20poly1305.c
177
size_t nonce_len, const unsigned char *in, size_t in_len,
crypto/libressl/crypto/evp/e_chacha20poly1305.c
178
const unsigned char *ad, size_t ad_len)
crypto/libressl/crypto/evp/e_chacha20poly1305.c
185
size_t plaintext_len;
crypto/libressl/crypto/evp/e_chacha20poly1305.c
233
size_t *out_len, size_t max_out_len, const unsigned char *nonce,
crypto/libressl/crypto/evp/e_chacha20poly1305.c
234
size_t nonce_len, const unsigned char *in, size_t in_len,
crypto/libressl/crypto/evp/e_chacha20poly1305.c
235
const unsigned char *ad, size_t ad_len)
crypto/libressl/crypto/evp/e_chacha20poly1305.c
281
size_t *out_len, size_t max_out_len, const unsigned char *nonce,
crypto/libressl/crypto/evp/e_chacha20poly1305.c
282
size_t nonce_len, const unsigned char *in, size_t in_len,
crypto/libressl/crypto/evp/e_chacha20poly1305.c
283
const unsigned char *ad, size_t ad_len)
crypto/libressl/crypto/evp/e_chacha20poly1305.c
290
size_t plaintext_len;
crypto/libressl/crypto/evp/e_chacha20poly1305.c
376
size_t nonce_len;
crypto/libressl/crypto/evp/e_chacha20poly1305.c
378
size_t tag_len;
crypto/libressl/crypto/evp/e_chacha20poly1305.c
380
size_t ad_len;
crypto/libressl/crypto/evp/e_chacha20poly1305.c
381
size_t in_len;
crypto/libressl/crypto/evp/e_chacha20poly1305.c
432
const unsigned char *in, size_t len)
crypto/libressl/crypto/evp/e_chacha20poly1305.c
50
size_t key_len, size_t tag_len)
crypto/libressl/crypto/evp/e_chacha20poly1305.c
87
const unsigned char *data, size_t data_len)
crypto/libressl/crypto/evp/e_chacha20poly1305.c
89
size_t j = data_len;
crypto/libressl/crypto/evp/e_des.c
100
size_t i, bl;
crypto/libressl/crypto/evp/e_des.c
118
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des.c
120
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_des.c
137
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des.c
139
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_des.c
156
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des.c
158
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_des.c
177
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des.c
180
size_t chunk = LONG_MAX / 8;
crypto/libressl/crypto/evp/e_des.c
181
size_t n;
crypto/libressl/crypto/evp/e_des.c
207
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des.c
209
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_des.c
98
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des3.c
129
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des3.c
131
size_t i, bl;
crypto/libressl/crypto/evp/e_des3.c
149
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des3.c
151
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_des3.c
171
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des3.c
173
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_des3.c
192
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des3.c
194
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_des3.c
215
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des3.c
218
size_t n;
crypto/libressl/crypto/evp/e_des3.c
237
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des3.c
239
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_gost2814789.c
190
gost2814789_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_gost2814789.c
192
size_t i, bl;
crypto/libressl/crypto/evp/e_gost2814789.c
208
gost2814789_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_gost2814789.c
210
size_t chunk = EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_gost2814789.c
229
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_idea.c
102
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_idea.c
104
size_t i, bl;
crypto/libressl/crypto/evp/e_idea.c
124
idea_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_idea.c
126
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_idea.c
142
idea_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_idea.c
144
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_idea.c
160
idea_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_idea.c
162
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_null.c
102
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_null.c
70
const unsigned char *in, size_t inl);
crypto/libressl/crypto/evp/e_rc2.c
107
rc2_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_rc2.c
109
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_rc2.c
127
rc2_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_rc2.c
129
size_t i, bl;
crypto/libressl/crypto/evp/e_rc2.c
145
rc2_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_rc2.c
147
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_rc2.c
89
rc2_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_rc2.c
91
size_t chunk = LONG_MAX & ~0xff;
crypto/libressl/crypto/evp/e_rc4.c
135
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_rc4.c
83
const unsigned char *in, size_t inl);
crypto/libressl/crypto/evp/e_rc4_hmac_md5.c
114
const unsigned char *in, size_t len)
crypto/libressl/crypto/evp/e_rc4_hmac_md5.c
118
size_t rc4_off = 32-1-(key->ks.x&(32-1)), /* 32 is $MOD from rc4_md5-x86_64.pl */
crypto/libressl/crypto/evp/e_rc4_hmac_md5.c
123
size_t plen = key->payload_length;
crypto/libressl/crypto/evp/e_rc4_hmac_md5.c
71
size_t payload_length;
crypto/libressl/crypto/evp/e_rc4_hmac_md5.c
74
#define NO_PAYLOAD_LENGTH ((size_t)-1)
crypto/libressl/crypto/evp/e_rc4_hmac_md5.c
77
MD5_CTX *ctx, const void *inp, size_t blocks);
crypto/libressl/crypto/evp/e_sm4.c
114
sm4_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_sm4.c
116
size_t i, bl;
crypto/libressl/crypto/evp/e_sm4.c
132
sm4_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_sm4.c
237
size_t len)
crypto/libressl/crypto/evp/e_sm4.c
40
sm4_cbc_encrypt(const unsigned char *in, unsigned char *out, size_t len,
crypto/libressl/crypto/evp/e_sm4.c
52
sm4_cfb128_encrypt(const unsigned char *in, unsigned char *out, size_t length,
crypto/libressl/crypto/evp/e_sm4.c
70
sm4_ofb128_encrypt(const unsigned char *in, unsigned char *out, size_t length,
crypto/libressl/crypto/evp/e_sm4.c
78
sm4_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_sm4.c
94
sm4_cfb128_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_sm4.c
96
size_t chunk = EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_xcbc_d.c
121
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_xcbc_d.c
75
const unsigned char *in, size_t inl);
crypto/libressl/crypto/evp/encode.c
151
size_t total = 0;
crypto/libressl/crypto/evp/evp_aead.c
106
EVP_AEAD_CTX_seal(const EVP_AEAD_CTX *ctx, unsigned char *out, size_t *out_len,
crypto/libressl/crypto/evp/evp_aead.c
107
size_t max_out_len, const unsigned char *nonce, size_t nonce_len,
crypto/libressl/crypto/evp/evp_aead.c
108
const unsigned char *in, size_t in_len, const unsigned char *ad,
crypto/libressl/crypto/evp/evp_aead.c
109
size_t ad_len)
crypto/libressl/crypto/evp/evp_aead.c
111
size_t possible_out_len = in_len + ctx->aead->overhead;
crypto/libressl/crypto/evp/evp_aead.c
138
EVP_AEAD_CTX_open(const EVP_AEAD_CTX *ctx, unsigned char *out, size_t *out_len,
crypto/libressl/crypto/evp/evp_aead.c
139
size_t max_out_len, const unsigned char *nonce, size_t nonce_len,
crypto/libressl/crypto/evp/evp_aead.c
140
const unsigned char *in, size_t in_len, const unsigned char *ad,
crypto/libressl/crypto/evp/evp_aead.c
141
size_t ad_len)
crypto/libressl/crypto/evp/evp_aead.c
26
size_t
crypto/libressl/crypto/evp/evp_aead.c
32
size_t
crypto/libressl/crypto/evp/evp_aead.c
38
size_t
crypto/libressl/crypto/evp/evp_aead.c
44
size_t
crypto/libressl/crypto/evp/evp_aead.c
52
const unsigned char *key, size_t key_len, size_t tag_len, ENGINE *impl)
crypto/libressl/crypto/evp/evp_aead.c
96
check_alias(const unsigned char *in, size_t in_len, const unsigned char *out)
crypto/libressl/crypto/evp/evp_enc.c
198
if ((size_t)EVP_CIPHER_CTX_iv_length(ctx) >
crypto/libressl/crypto/evp/evp_enc.c
329
if ((size_t)bl > sizeof(ctx->buf)) {
crypto/libressl/crypto/evp/evp_key.c
143
if ((size_t)nkey > EVP_MAX_KEY_LENGTH) {
crypto/libressl/crypto/evp/evp_key.c
147
if ((size_t)niv > EVP_MAX_IV_LENGTH) {
crypto/libressl/crypto/evp/evp_lib.c
303
EVP_CIPHER_CTX_get_iv(const EVP_CIPHER_CTX *ctx, unsigned char *iv, size_t len)
crypto/libressl/crypto/evp/evp_lib.c
322
EVP_CIPHER_CTX_set_iv(EVP_CIPHER_CTX *ctx, const unsigned char *iv, size_t len)
crypto/libressl/crypto/evp/evp_lib.c
444
int (*update)(EVP_MD_CTX *ctx, const void *data, size_t count))
crypto/libressl/crypto/evp/evp_locl.h
114
int (*update)(EVP_MD_CTX *ctx, const void *data, size_t count);
crypto/libressl/crypto/evp/evp_locl.h
133
int (*update)(EVP_MD_CTX *ctx, const void *data, size_t count);
crypto/libressl/crypto/evp/evp_locl.h
145
const unsigned char *in, size_t inl);/* encrypt/decrypt data */
crypto/libressl/crypto/evp/evp_locl.h
187
#define EVP_MAXCHUNK ((size_t)1<<(sizeof(long)*8-2))
crypto/libressl/crypto/evp/evp_locl.h
228
int (*sign)(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
crypto/libressl/crypto/evp/evp_locl.h
229
const unsigned char *tbs, size_t tbslen);
crypto/libressl/crypto/evp/evp_locl.h
233
const unsigned char *sig, size_t siglen,
crypto/libressl/crypto/evp/evp_locl.h
234
const unsigned char *tbs, size_t tbslen);
crypto/libressl/crypto/evp/evp_locl.h
238
unsigned char *rout, size_t *routlen,
crypto/libressl/crypto/evp/evp_locl.h
239
const unsigned char *sig, size_t siglen);
crypto/libressl/crypto/evp/evp_locl.h
242
int (*signctx)(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
crypto/libressl/crypto/evp/evp_locl.h
250
int (*encrypt)(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
crypto/libressl/crypto/evp/evp_locl.h
251
const unsigned char *in, size_t inlen);
crypto/libressl/crypto/evp/evp_locl.h
254
int (*decrypt)(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
crypto/libressl/crypto/evp/evp_locl.h
255
const unsigned char *in, size_t inlen);
crypto/libressl/crypto/evp/evp_locl.h
258
int (*derive)(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen);
crypto/libressl/crypto/evp/evp_locl.h
281
size_t key_len, size_t tag_len);
crypto/libressl/crypto/evp/evp_locl.h
285
size_t *out_len, size_t max_out_len, const unsigned char *nonce,
crypto/libressl/crypto/evp/evp_locl.h
286
size_t nonce_len, const unsigned char *in, size_t in_len,
crypto/libressl/crypto/evp/evp_locl.h
287
const unsigned char *ad, size_t ad_len);
crypto/libressl/crypto/evp/evp_locl.h
290
size_t *out_len, size_t max_out_len, const unsigned char *nonce,
crypto/libressl/crypto/evp/evp_locl.h
291
size_t nonce_len, const unsigned char *in, size_t in_len,
crypto/libressl/crypto/evp/evp_locl.h
292
const unsigned char *ad, size_t ad_len);
crypto/libressl/crypto/evp/m_gost2814789.c
70
gost2814789_update(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/evp/m_gostr341194.c
72
gostr341194_update(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/evp/m_md4.c
83
update(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/evp/m_md5.c
83
update(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/evp/m_md5_sha1.c
48
md5_sha1_update(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/evp/m_ripemd.c
83
update(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/evp/m_sha1.c
132
update256(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/evp/m_sha1.c
198
update512(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/evp/m_sha1.c
82
update(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/evp/m_sigver.c
132
EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen)
crypto/libressl/crypto/evp/m_sigver.c
190
EVP_DigestSign(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen,
crypto/libressl/crypto/evp/m_sigver.c
191
const unsigned char *tbs, size_t tbslen)
crypto/libressl/crypto/evp/m_sigver.c
202
EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sig, size_t siglen)
crypto/libressl/crypto/evp/m_sigver.c
229
EVP_DigestVerify(EVP_MD_CTX *ctx, const unsigned char *sigret, size_t siglen,
crypto/libressl/crypto/evp/m_sigver.c
230
const unsigned char *tbs, size_t tbslen)
crypto/libressl/crypto/evp/m_sm3.c
37
sm3_update(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/evp/m_streebog.c
69
streebog_update256(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/evp/m_streebog.c
87
streebog_update512(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/evp/m_wp.c
23
update(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/evp/p5_crpt.c
142
if ((size_t)EVP_CIPHER_key_length(cipher) > sizeof(md_tmp)) {
crypto/libressl/crypto/evp/p5_crpt.c
147
if ((size_t)EVP_CIPHER_iv_length(cipher) > 16) {
crypto/libressl/crypto/evp/p_lib.c
282
EVP_PKEY_new_CMAC_key(ENGINE *e, const unsigned char *priv, size_t len,
crypto/libressl/crypto/evp/p_lib.c
333
EVP_PKEY_get0_hmac(const EVP_PKEY *pkey, size_t *len)
crypto/libressl/crypto/evp/p_sign.c
76
size_t sltmp;
crypto/libressl/crypto/evp/p_sign.c
87
sltmp = (size_t)EVP_PKEY_size(pkey);
crypto/libressl/crypto/evp/pmeth_fn.c
103
EVP_PKEY_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
crypto/libressl/crypto/evp/pmeth_fn.c
104
const unsigned char *tbs, size_t tbslen)
crypto/libressl/crypto/evp/pmeth_fn.c
137
EVP_PKEY_verify(EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen,
crypto/libressl/crypto/evp/pmeth_fn.c
138
const unsigned char *tbs, size_t tbslen)
crypto/libressl/crypto/evp/pmeth_fn.c
170
EVP_PKEY_verify_recover(EVP_PKEY_CTX *ctx, unsigned char *rout, size_t *routlen,
crypto/libressl/crypto/evp/pmeth_fn.c
171
const unsigned char *sig, size_t siglen)
crypto/libressl/crypto/evp/pmeth_fn.c
204
EVP_PKEY_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
crypto/libressl/crypto/evp/pmeth_fn.c
205
const unsigned char *in, size_t inlen)
crypto/libressl/crypto/evp/pmeth_fn.c
238
EVP_PKEY_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
crypto/libressl/crypto/evp/pmeth_fn.c
239
const unsigned char *in, size_t inlen)
crypto/libressl/crypto/evp/pmeth_fn.c
333
EVP_PKEY_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *pkeylen)
crypto/libressl/crypto/evp/pmeth_fn.c
71
size_t pksize = (size_t)EVP_PKEY_size(ctx->pkey); \
crypto/libressl/crypto/evp/pmeth_lib.c
404
size_t len;
crypto/libressl/crypto/evp/pmeth_lib.c
536
int (*sign)(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
crypto/libressl/crypto/evp/pmeth_lib.c
537
const unsigned char *tbs, size_t tbslen))
crypto/libressl/crypto/evp/pmeth_lib.c
546
int (*verify)(EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen,
crypto/libressl/crypto/evp/pmeth_lib.c
547
const unsigned char *tbs, size_t tbslen))
crypto/libressl/crypto/evp/pmeth_lib.c
557
unsigned char *sig, size_t *siglen,
crypto/libressl/crypto/evp/pmeth_lib.c
558
const unsigned char *tbs, size_t tbslen))
crypto/libressl/crypto/evp/pmeth_lib.c
567
int (*signctx)(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
crypto/libressl/crypto/evp/pmeth_lib.c
587
int (*encryptfn)(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
crypto/libressl/crypto/evp/pmeth_lib.c
588
const unsigned char *in, size_t inlen))
crypto/libressl/crypto/evp/pmeth_lib.c
597
int (*decrypt)(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
crypto/libressl/crypto/evp/pmeth_lib.c
598
const unsigned char *in, size_t inlen))
crypto/libressl/crypto/evp/pmeth_lib.c
607
int (*derive)(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen))
crypto/libressl/crypto/gost/gost2814789.c
210
size_t len, GOST2814789_KEY *key, unsigned char *ivec, int *num,
crypto/libressl/crypto/gost/gost2814789.c
214
size_t l = 0;
crypto/libressl/crypto/gost/gost2814789.c
220
if (8 % sizeof(size_t) == 0) do { /* always true actually */
crypto/libressl/crypto/gost/gost2814789.c
227
if (((size_t)in | (size_t)out | (size_t)ivec) %
crypto/libressl/crypto/gost/gost2814789.c
228
sizeof(size_t) != 0)
crypto/libressl/crypto/gost/gost2814789.c
233
for (; n < 8; n += sizeof(size_t)) {
crypto/libressl/crypto/gost/gost2814789.c
234
*(size_t*)(out + n) =
crypto/libressl/crypto/gost/gost2814789.c
235
*(size_t*)(ivec + n) ^=
crypto/libressl/crypto/gost/gost2814789.c
236
*(size_t*)(in + n);
crypto/libressl/crypto/gost/gost2814789.c
266
if (8 % sizeof(size_t) == 0) do { /* always true actually */
crypto/libressl/crypto/gost/gost2814789.c
276
if (((size_t)in | (size_t)out | (size_t)ivec) %
crypto/libressl/crypto/gost/gost2814789.c
277
sizeof(size_t) != 0)
crypto/libressl/crypto/gost/gost2814789.c
282
for (; n < 8; n += sizeof(size_t)) {
crypto/libressl/crypto/gost/gost2814789.c
283
size_t t = *(size_t*)(in + n);
crypto/libressl/crypto/gost/gost2814789.c
284
*(size_t*)(out + n) =
crypto/libressl/crypto/gost/gost2814789.c
285
*(size_t*)(ivec + n) ^ t;
crypto/libressl/crypto/gost/gost2814789.c
286
*(size_t*)(ivec + n) = t;
crypto/libressl/crypto/gost/gost2814789.c
353
Gost2814789_cnt_encrypt(const unsigned char *in, unsigned char *out, size_t len,
crypto/libressl/crypto/gost/gost2814789.c
357
size_t l = 0;
crypto/libressl/crypto/gost/gost2814789.c
362
if (8 % sizeof(size_t) == 0) do { /* always true actually */
crypto/libressl/crypto/gost/gost2814789.c
370
if (((size_t)in | (size_t)out | (size_t)ivec) %
crypto/libressl/crypto/gost/gost2814789.c
371
sizeof(size_t) != 0)
crypto/libressl/crypto/gost/gost2814789.c
376
for (; n < 8; n += sizeof(size_t))
crypto/libressl/crypto/gost/gost2814789.c
377
*(size_t *)(out + n) = *(size_t *)(in + n) ^
crypto/libressl/crypto/gost/gost2814789.c
378
*(size_t *)(cnt_buf + n);
crypto/libressl/crypto/gost/gost2814789.c
417
const unsigned char *p, size_t num)
crypto/libressl/crypto/gost/gost2814789.c
455
GOST2814789IMIT(const unsigned char *d, size_t n, unsigned char *md, int nid,
crypto/libressl/crypto/gost/gost89imit_pmeth.c
215
pkey_gost_mac_signctx(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
crypto/libressl/crypto/gost/gost_locl.h
106
extern BIGNUM *GOST_le2bn(const unsigned char *buf, size_t len, BIGNUM *bn);
crypto/libressl/crypto/gost/gostr341001.c
67
GOST_le2bn(const unsigned char *buf, size_t len, BIGNUM *bn)
crypto/libressl/crypto/gost/gostr341001_key.c
293
size_t
crypto/libressl/crypto/gost/gostr341001_pmeth.c
104
unpack_signature_le(const unsigned char *sig, size_t siglen)
crypto/libressl/crypto/gost/gostr341001_pmeth.c
119
pack_signature_le(ECDSA_SIG *s, int order, unsigned char *sig, size_t *siglen)
crypto/libressl/crypto/gost/gostr341001_pmeth.c
233
pkey_gost01_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
crypto/libressl/crypto/gost/gostr341001_pmeth.c
234
const unsigned char *tbs, size_t tbs_len)
crypto/libressl/crypto/gost/gostr341001_pmeth.c
240
size_t size;
crypto/libressl/crypto/gost/gostr341001_pmeth.c
285
pkey_gost01_verify(EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen,
crypto/libressl/crypto/gost/gostr341001_pmeth.c
286
const unsigned char *tbs, size_t tbs_len)
crypto/libressl/crypto/gost/gostr341001_pmeth.c
375
pkey_gost01_decrypt(EVP_PKEY_CTX *pctx, unsigned char *key, size_t *key_len,
crypto/libressl/crypto/gost/gostr341001_pmeth.c
376
const unsigned char *in, size_t in_len)
crypto/libressl/crypto/gost/gostr341001_pmeth.c
450
pkey_gost01_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen)
crypto/libressl/crypto/gost/gostr341001_pmeth.c
479
pkey_gost01_encrypt(EVP_PKEY_CTX *pctx, unsigned char *out, size_t *out_len,
crypto/libressl/crypto/gost/gostr341001_pmeth.c
480
const unsigned char *key, size_t key_len)
crypto/libressl/crypto/gost/gostr341001_pmeth.c
71
unpack_signature_cp(const unsigned char *sig, size_t siglen)
crypto/libressl/crypto/gost/gostr341001_pmeth.c
86
pack_signature_cp(ECDSA_SIG *s, int order, unsigned char *sig, size_t *siglen)
crypto/libressl/crypto/gost/gostr341194.c
120
const unsigned char *b, size_t len)
crypto/libressl/crypto/gost/gostr341194.c
122
size_t i;
crypto/libressl/crypto/gost/gostr341194.c
211
size_t num)
crypto/libressl/crypto/gost/gostr341194.c
259
GOSTR341194(const unsigned char *d, size_t n, unsigned char *md, int nid)
crypto/libressl/crypto/gost/streebog.c
1239
streebog_single_block(STREEBOG_CTX *ctx, const unsigned char *in, size_t num)
crypto/libressl/crypto/gost/streebog.c
1274
size_t num)
crypto/libressl/crypto/gost/streebog.c
1376
STREEBOG512_Update(STREEBOG_CTX *c, const void *_data, size_t len)
crypto/libressl/crypto/gost/streebog.c
1385
size_t n = STREEBOG_CBLOCK - c->num;
crypto/libressl/crypto/gost/streebog.c
1416
STREEBOG256_Update(STREEBOG_CTX *c, const void *data, size_t len)
crypto/libressl/crypto/gost/streebog.c
1449
STREEBOG256(const unsigned char *d, size_t n, unsigned char *md)
crypto/libressl/crypto/gost/streebog.c
1464
STREEBOG512(const unsigned char *d, size_t n, unsigned char *md)
crypto/libressl/crypto/hkdf/hkdf.c
29
HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest,
crypto/libressl/crypto/hkdf/hkdf.c
30
const uint8_t *secret, size_t secret_len, const uint8_t *salt,
crypto/libressl/crypto/hkdf/hkdf.c
31
size_t salt_len, const uint8_t *info, size_t info_len)
crypto/libressl/crypto/hkdf/hkdf.c
34
size_t prk_len;
crypto/libressl/crypto/hkdf/hkdf.c
48
HKDF_extract(uint8_t *out_key, size_t *out_len,
crypto/libressl/crypto/hkdf/hkdf.c
49
const EVP_MD *digest, const uint8_t *secret, size_t secret_len,
crypto/libressl/crypto/hkdf/hkdf.c
50
const uint8_t *salt, size_t salt_len)
crypto/libressl/crypto/hkdf/hkdf.c
69
HKDF_expand(uint8_t *out_key, size_t out_len,
crypto/libressl/crypto/hkdf/hkdf.c
70
const EVP_MD *digest, const uint8_t *prk, size_t prk_len,
crypto/libressl/crypto/hkdf/hkdf.c
71
const uint8_t *info, size_t info_len)
crypto/libressl/crypto/hkdf/hkdf.c
73
const size_t digest_len = EVP_MD_size(digest);
crypto/libressl/crypto/hkdf/hkdf.c
75
size_t n, done = 0;
crypto/libressl/crypto/hkdf/hkdf.c
93
size_t todo;
crypto/libressl/crypto/hmac/hm_pmeth.c
146
int_update(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/libressl/crypto/hmac/hm_pmeth.c
167
hmac_signctx(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
crypto/libressl/crypto/hmac/hm_pmeth.c
182
*siglen = (size_t)hlen;
crypto/libressl/crypto/hmac/hmac.c
104
if (len < 0 || (size_t)len > sizeof(ctx->key)) {
crypto/libressl/crypto/hmac/hmac.c
147
HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len)
crypto/libressl/crypto/hmac/hmac.c
260
size_t n, unsigned char *md, unsigned int *md_len)
crypto/libressl/crypto/hmac/hmac.c
91
if ((size_t)j > sizeof(ctx->key)) {
crypto/libressl/crypto/kdf/hkdf_evp.c
222
size_t *keylen)
crypto/libressl/crypto/kdf/hkdf_evp.c
67
size_t salt_len;
crypto/libressl/crypto/kdf/hkdf_evp.c
69
size_t key_len;
crypto/libressl/crypto/kdf/hkdf_evp.c
71
size_t info_len;
crypto/libressl/crypto/malloc-wrapper.c
22
CRYPTO_set_mem_functions(void *(*m)(size_t), void *(*r)(void *, size_t),
crypto/libressl/crypto/malloc-wrapper.c
29
CRYPTO_set_mem_ex_functions(void *(*m)(size_t, const char *, int),
crypto/libressl/crypto/malloc-wrapper.c
30
void *(*r)(void *, size_t, const char *, int), void (*f)(void *))
crypto/libressl/crypto/malloc-wrapper.c
36
CRYPTO_set_locked_mem_functions(void *(*m)(size_t), void (*f)(void *))
crypto/libressl/crypto/malloc-wrapper.c
42
CRYPTO_set_locked_mem_ex_functions(void *(*m)(size_t, const char *, int),
crypto/libressl/crypto/malloc-wrapper.c
58
CRYPTO_get_mem_functions(void *(**m)(size_t), void *(**r)(void *, size_t),
crypto/libressl/crypto/malloc-wrapper.c
70
CRYPTO_get_mem_ex_functions(void *(**m)(size_t, const char *, int),
crypto/libressl/crypto/malloc-wrapper.c
71
void *(**r)(void *, size_t, const char *, int), void (**f)(void *))
crypto/libressl/crypto/malloc-wrapper.c
82
CRYPTO_get_locked_mem_functions(void *(**m)(size_t), void (**f)(void *))
crypto/libressl/crypto/malloc-wrapper.c
91
CRYPTO_get_locked_mem_ex_functions(void *(**m)(size_t, const char *, int),
crypto/libressl/crypto/md32_common.h
216
HASH_UPDATE(HASH_CTX *c, const void *data_, size_t len)
crypto/libressl/crypto/md32_common.h
221
size_t n;
crypto/libressl/crypto/md32_common.h
280
size_t n = c->num;
crypto/libressl/crypto/md4/md4_dgst.c
86
void md4_block_data_order (MD4_CTX *c, const void *data_, size_t num)
crypto/libressl/crypto/md4/md4_locl.h
66
void md4_block_data_order (MD4_CTX *c, const void *p,size_t num);
crypto/libressl/crypto/md4/md4_one.c
64
unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md)
crypto/libressl/crypto/md5/md5_dgst.c
86
void md5_block_data_order (MD5_CTX *c, const void *data_, size_t num)
crypto/libressl/crypto/md5/md5_locl.h
77
void md5_block_data_order (MD5_CTX *c, const void *p,size_t num);
crypto/libressl/crypto/md5/md5_one.c
64
unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md)
crypto/libressl/crypto/modes/cbc128.c
117
size_t len, const void *key,
crypto/libressl/crypto/modes/cbc128.c
120
size_t n;
crypto/libressl/crypto/modes/cbc128.c
121
union { size_t t[16/sizeof(size_t)]; unsigned char c[16]; } tmp;
crypto/libressl/crypto/modes/cbc128.c
128
((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0) {
crypto/libressl/crypto/modes/cbc128.c
138
} else if (16%sizeof(size_t) == 0) { /* always true */
crypto/libressl/crypto/modes/cbc128.c
140
size_t *out_t=(size_t *)out, *iv_t=(size_t *)iv;
crypto/libressl/crypto/modes/cbc128.c
143
for(n=0; n<16/sizeof(size_t); n++)
crypto/libressl/crypto/modes/cbc128.c
154
((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0) {
crypto/libressl/crypto/modes/cbc128.c
167
} else if (16%sizeof(size_t) == 0) { /* always true */
crypto/libressl/crypto/modes/cbc128.c
169
size_t c, *out_t=(size_t *)out, *ivec_t=(size_t *)ivec;
crypto/libressl/crypto/modes/cbc128.c
170
const size_t *in_t=(const size_t *)in;
crypto/libressl/crypto/modes/cbc128.c
173
for(n=0; n<16/sizeof(size_t); n++) {
crypto/libressl/crypto/modes/cbc128.c
70
size_t len, const void *key,
crypto/libressl/crypto/modes/cbc128.c
73
size_t n;
crypto/libressl/crypto/modes/cbc128.c
78
((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0) {
crypto/libressl/crypto/modes/cbc128.c
90
for(n=0; n<16; n+=sizeof(size_t))
crypto/libressl/crypto/modes/cbc128.c
91
*(size_t*)(out+n) =
crypto/libressl/crypto/modes/cbc128.c
92
*(size_t*)(in+n) ^ *(size_t*)(iv+n);
crypto/libressl/crypto/modes/ccm128.c
105
const unsigned char *aad,size_t alen)
crypto/libressl/crypto/modes/ccm128.c
120
else if (sizeof(alen)==8 && alen>=(size_t)1<<(32%(sizeof(alen)*8))) {
crypto/libressl/crypto/modes/ccm128.c
172
size_t len)
crypto/libressl/crypto/modes/ccm128.c
174
size_t n;
crypto/libressl/crypto/modes/ccm128.c
247
size_t len)
crypto/libressl/crypto/modes/ccm128.c
249
size_t n;
crypto/libressl/crypto/modes/ccm128.c
311
static void ctr64_add (unsigned char *counter,size_t inc)
crypto/libressl/crypto/modes/ccm128.c
312
{ size_t n=8, val=0;
crypto/libressl/crypto/modes/ccm128.c
326
size_t len,ccm128_f stream)
crypto/libressl/crypto/modes/ccm128.c
328
size_t n;
crypto/libressl/crypto/modes/ccm128.c
383
size_t len,ccm128_f stream)
crypto/libressl/crypto/modes/ccm128.c
385
size_t n;
crypto/libressl/crypto/modes/ccm128.c
434
size_t CRYPTO_ccm128_tag(CCM128_CONTEXT *ctx,unsigned char *tag,size_t len)
crypto/libressl/crypto/modes/ccm128.c
77
const unsigned char *nonce,size_t nlen,size_t mlen)
crypto/libressl/crypto/modes/cfb128.c
122
if (16%sizeof(size_t) == 0) do { /* always true actually */
crypto/libressl/crypto/modes/cfb128.c
130
if (((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0)
crypto/libressl/crypto/modes/cfb128.c
135
for (; n<16; n+=sizeof(size_t)) {
crypto/libressl/crypto/modes/cfb128.c
136
size_t t = *(size_t*)(in+n);
crypto/libressl/crypto/modes/cfb128.c
137
*(size_t*)(out+n) = *(size_t*)(ivec+n) ^ t;
crypto/libressl/crypto/modes/cfb128.c
138
*(size_t*)(ivec+n) = t;
crypto/libressl/crypto/modes/cfb128.c
208
size_t bits, const void *key,
crypto/libressl/crypto/modes/cfb128.c
212
size_t n;
crypto/libressl/crypto/modes/cfb128.c
225
size_t length, const void *key,
crypto/libressl/crypto/modes/cfb128.c
229
size_t n;
crypto/libressl/crypto/modes/cfb128.c
67
size_t len, const void *key,
crypto/libressl/crypto/modes/cfb128.c
72
size_t l = 0;
crypto/libressl/crypto/modes/cfb128.c
78
if (16%sizeof(size_t) == 0) do { /* always true actually */
crypto/libressl/crypto/modes/cfb128.c
85
if (((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0)
crypto/libressl/crypto/modes/cfb128.c
90
for (; n<16; n+=sizeof(size_t)) {
crypto/libressl/crypto/modes/cfb128.c
91
*(size_t*)(out+n) =
crypto/libressl/crypto/modes/cfb128.c
92
*(size_t*)(ivec+n) ^= *(size_t*)(in+n);
crypto/libressl/crypto/modes/ctr128.c
116
size_t len, const void *key,
crypto/libressl/crypto/modes/ctr128.c
121
size_t l=0;
crypto/libressl/crypto/modes/ctr128.c
128
if (16%sizeof(size_t) == 0) do { /* always true actually */
crypto/libressl/crypto/modes/ctr128.c
136
if (((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0)
crypto/libressl/crypto/modes/ctr128.c
142
for (; n<16; n+=sizeof(size_t))
crypto/libressl/crypto/modes/ctr128.c
143
*(size_t *)(out+n) =
crypto/libressl/crypto/modes/ctr128.c
144
*(size_t *)(in+n) ^ *(size_t *)(ecount_buf+n);
crypto/libressl/crypto/modes/ctr128.c
191
size_t len, const void *key,
crypto/libressl/crypto/modes/ctr128.c
209
size_t blocks = len/16;
crypto/libressl/crypto/modes/ctr128.c
215
if (sizeof(size_t)>sizeof(unsigned int) && blocks>(1U<<28))
crypto/libressl/crypto/modes/ctr128.c
87
size_t *data, c, n;
crypto/libressl/crypto/modes/ctr128.c
88
data = (size_t *)counter;
crypto/libressl/crypto/modes/ctr128.c
89
n = 16 / sizeof(size_t);
crypto/libressl/crypto/modes/gcm128.c
1000
size_t *out_t=(size_t *)out;
crypto/libressl/crypto/modes/gcm128.c
1001
const size_t *in_t=(const size_t *)in;
crypto/libressl/crypto/modes/gcm128.c
1014
for (i=0; i<16/sizeof(size_t); ++i)
crypto/libressl/crypto/modes/gcm128.c
1071
size_t len)
crypto/libressl/crypto/modes/gcm128.c
1074
size_t i;
crypto/libressl/crypto/modes/gcm128.c
1082
const u8 *inp,size_t len) = ctx->ghash;
crypto/libressl/crypto/modes/gcm128.c
1109
if (16%sizeof(size_t) == 0) do { /* always true actually */
crypto/libressl/crypto/modes/gcm128.c
1125
if (((size_t)in|(size_t)out)%sizeof(size_t) != 0)
crypto/libressl/crypto/modes/gcm128.c
1130
size_t j=GHASH_CHUNK;
crypto/libressl/crypto/modes/gcm128.c
1134
size_t *out_t=(size_t *)out;
crypto/libressl/crypto/modes/gcm128.c
1135
const size_t *in_t=(const size_t *)in;
crypto/libressl/crypto/modes/gcm128.c
1148
for (i=0; i<16/sizeof(size_t); ++i)
crypto/libressl/crypto/modes/gcm128.c
1156
if ((i = (len&(size_t)-16))) {
crypto/libressl/crypto/modes/gcm128.c
1159
size_t *out_t=(size_t *)out;
crypto/libressl/crypto/modes/gcm128.c
1160
const size_t *in_t=(const size_t *)in;
crypto/libressl/crypto/modes/gcm128.c
1173
for (i=0; i<16/sizeof(size_t); ++i)
crypto/libressl/crypto/modes/gcm128.c
1182
size_t *out_t=(size_t *)out;
crypto/libressl/crypto/modes/gcm128.c
1183
const size_t *in_t=(const size_t *)in;
crypto/libressl/crypto/modes/gcm128.c
1196
for (i=0; i<16/sizeof(size_t); ++i) {
crypto/libressl/crypto/modes/gcm128.c
1197
size_t c = in[i];
crypto/libressl/crypto/modes/gcm128.c
1260
size_t len, ctr128_f stream)
crypto/libressl/crypto/modes/gcm128.c
1263
size_t i;
crypto/libressl/crypto/modes/gcm128.c
1270
const u8 *inp,size_t len) = ctx->ghash;
crypto/libressl/crypto/modes/gcm128.c
1327
if ((i = (len&(size_t)-16))) {
crypto/libressl/crypto/modes/gcm128.c
1328
size_t j=i/16;
crypto/libressl/crypto/modes/gcm128.c
1378
size_t len,ctr128_f stream)
crypto/libressl/crypto/modes/gcm128.c
1381
size_t i;
crypto/libressl/crypto/modes/gcm128.c
1388
const u8 *inp,size_t len) = ctx->ghash;
crypto/libressl/crypto/modes/gcm128.c
1447
if ((i = (len&(size_t)-16))) {
crypto/libressl/crypto/modes/gcm128.c
1448
size_t j=i/16;
crypto/libressl/crypto/modes/gcm128.c
1454
size_t k;
crypto/libressl/crypto/modes/gcm128.c
149
size_t rem, n = *xi;
crypto/libressl/crypto/modes/gcm128.c
150
static const size_t rem_8bit[256] = {
crypto/libressl/crypto/modes/gcm128.c
1502
size_t len)
crypto/libressl/crypto/modes/gcm128.c
1543
void CRYPTO_gcm128_tag(GCM128_CONTEXT *ctx, unsigned char *tag, size_t len)
crypto/libressl/crypto/modes/gcm128.c
224
rem = (size_t)Z.lo&0xff;
crypto/libressl/crypto/modes/gcm128.c
327
static const size_t rem_4bit[16] = {
crypto/libressl/crypto/modes/gcm128.c
337
size_t rem, nlo, nhi;
crypto/libressl/crypto/modes/gcm128.c
347
rem = (size_t)Z.lo&0xf;
crypto/libressl/crypto/modes/gcm128.c
364
rem = (size_t)Z.lo&0xf;
crypto/libressl/crypto/modes/gcm128.c
403
const u8 *inp,size_t len)
crypto/libressl/crypto/modes/gcm128.c
407
size_t rem, nlo, nhi;
crypto/libressl/crypto/modes/gcm128.c
421
rem = (size_t)Z.lo&0xf;
crypto/libressl/crypto/modes/gcm128.c
439
rem = (size_t)Z.lo&0xf;
crypto/libressl/crypto/modes/gcm128.c
516
rem = (size_t)Z.lo&0xff;
crypto/libressl/crypto/modes/gcm128.c
534
rem = (size_t)Z.lo&0xf;
crypto/libressl/crypto/modes/gcm128.c
565
void gcm_ghash_4bit(u64 Xi[2],const u128 Htable[16],const u8 *inp,size_t len);
crypto/libressl/crypto/modes/gcm128.c
652
void gcm_ghash_clmul(u64 Xi[2],const u128 Htable[16],const u8 *inp,size_t len);
crypto/libressl/crypto/modes/gcm128.c
657
void gcm_ghash_4bit_mmx(u64 Xi[2],const u128 Htable[16],const u8 *inp,size_t len);
crypto/libressl/crypto/modes/gcm128.c
660
void gcm_ghash_4bit_x86(u64 Xi[2],const u128 Htable[16],const u8 *inp,size_t len);
crypto/libressl/crypto/modes/gcm128.c
668
void gcm_ghash_neon(u64 Xi[2],const u128 Htable[16],const u8 *inp,size_t len);
crypto/libressl/crypto/modes/gcm128.c
71
#define PACK(s) ((size_t)(s)<<(sizeof(size_t)*8-16))
crypto/libressl/crypto/modes/gcm128.c
74
if (sizeof(size_t)==8) { \
crypto/libressl/crypto/modes/gcm128.c
751
void CRYPTO_gcm128_setiv(GCM128_CONTEXT *ctx,const unsigned char *iv,size_t len)
crypto/libressl/crypto/modes/gcm128.c
773
size_t i;
crypto/libressl/crypto/modes/gcm128.c
830
int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx,const unsigned char *aad,size_t len)
crypto/libressl/crypto/modes/gcm128.c
832
size_t i;
crypto/libressl/crypto/modes/gcm128.c
839
const u8 *inp,size_t len) = ctx->ghash;
crypto/libressl/crypto/modes/gcm128.c
865
if ((i = (len&(size_t)-16))) {
crypto/libressl/crypto/modes/gcm128.c
889
size_t len)
crypto/libressl/crypto/modes/gcm128.c
892
size_t i;
crypto/libressl/crypto/modes/gcm128.c
900
const u8 *inp,size_t len) = ctx->ghash;
crypto/libressl/crypto/modes/gcm128.c
927
if (16%sizeof(size_t) == 0) do { /* always true actually */
crypto/libressl/crypto/modes/gcm128.c
941
if (((size_t)in|(size_t)out)%sizeof(size_t) != 0)
crypto/libressl/crypto/modes/gcm128.c
946
size_t j=GHASH_CHUNK;
crypto/libressl/crypto/modes/gcm128.c
949
size_t *out_t=(size_t *)out;
crypto/libressl/crypto/modes/gcm128.c
950
const size_t *in_t=(const size_t *)in;
crypto/libressl/crypto/modes/gcm128.c
963
for (i=0; i<16/sizeof(size_t); ++i)
crypto/libressl/crypto/modes/gcm128.c
972
if ((i = (len&(size_t)-16))) {
crypto/libressl/crypto/modes/gcm128.c
973
size_t j=i;
crypto/libressl/crypto/modes/gcm128.c
976
size_t *out_t=(size_t *)out;
crypto/libressl/crypto/modes/gcm128.c
977
const size_t *in_t=(const size_t *)in;
crypto/libressl/crypto/modes/gcm128.c
990
for (i=0; i<16/sizeof(size_t); ++i)
crypto/libressl/crypto/modes/modes_lcl.h
85
union { u64 u[2]; u32 d[4]; u8 c[16]; size_t t[16/sizeof(size_t)]; }
crypto/libressl/crypto/modes/modes_lcl.h
94
void (*ghash)(u64 Xi[2],const u128 Htable[16],const u8 *inp,size_t len);
crypto/libressl/crypto/modes/ofb128.c
67
size_t len, const void *key,
crypto/libressl/crypto/modes/ofb128.c
72
size_t l=0;
crypto/libressl/crypto/modes/ofb128.c
77
if (16%sizeof(size_t) == 0) do { /* always true actually */
crypto/libressl/crypto/modes/ofb128.c
84
if (((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0)
crypto/libressl/crypto/modes/ofb128.c
89
for (; n<16; n+=sizeof(size_t))
crypto/libressl/crypto/modes/ofb128.c
90
*(size_t*)(out+n) =
crypto/libressl/crypto/modes/ofb128.c
91
*(size_t*)(in+n) ^ *(size_t*)(ivec+n);
crypto/libressl/crypto/modes/xts128.c
110
size_t c;
crypto/libressl/crypto/modes/xts128.c
114
c += ((size_t)tweak.c[i])<<1;
crypto/libressl/crypto/modes/xts128.c
145
size_t c;
crypto/libressl/crypto/modes/xts128.c
149
c += ((size_t)tweak.c[i])<<1;
crypto/libressl/crypto/modes/xts128.c
65
size_t len, int enc)
crypto/libressl/crypto/objects/obj_dat.c
194
return (memcmp(a->data, b->data, (size_t)a->length));
crypto/libressl/crypto/objects/obj_dat.c
683
size_t
crypto/libressl/crypto/pem/pem_lib.c
103
if (l > (size_t)num)
crypto/libressl/crypto/pem/pem_lib.c
104
l = (size_t)num;
crypto/libressl/crypto/pem/pem_lib.c
124
(size_t)MIN_LENGTH);
crypto/libressl/crypto/pem/pem_lib.c
392
if ((size_t)enc->iv_len > sizeof(iv)) {
crypto/libressl/crypto/pem/pem_lib.c
94
size_t l;
crypto/libressl/crypto/pem/pvkfmt.c
811
size_t buflen;
crypto/libressl/crypto/pkcs12/p12_utl.c
107
size_t asclen, u16len, i;
crypto/libressl/crypto/pkcs12/p12_utl.c
113
asclen = u16len = (size_t)unilen / 2;
crypto/libressl/crypto/pkcs12/p12_utl.c
72
size_t ulen, i;
crypto/libressl/crypto/pkcs12/p12_utl.c
78
ulen = (size_t)asclen;
crypto/libressl/crypto/pkcs7/pk7_doit.c
150
size_t eklen;
crypto/libressl/crypto/pkcs7/pk7_doit.c
197
EVP_PKEY *pkey, size_t fixlen)
crypto/libressl/crypto/pkcs7/pk7_doit.c
201
size_t eklen;
crypto/libressl/crypto/pkcs7/pk7_doit.c
868
size_t siglen;
crypto/libressl/crypto/poly1305/poly1305-donna.c
13
const unsigned char *m, size_t bytes);
crypto/libressl/crypto/poly1305/poly1305-donna.c
177
poly1305_update(poly1305_context *ctx, const unsigned char *m, size_t bytes)
crypto/libressl/crypto/poly1305/poly1305-donna.c
180
size_t i;
crypto/libressl/crypto/poly1305/poly1305-donna.c
184
size_t want = (poly1305_block_size - st->leftover);
crypto/libressl/crypto/poly1305/poly1305-donna.c
200
size_t want = (bytes & ~(poly1305_block_size - 1));
crypto/libressl/crypto/poly1305/poly1305-donna.c
225
size_t i = st->leftover;
crypto/libressl/crypto/poly1305/poly1305-donna.c
29
size_t leftover;
crypto/libressl/crypto/poly1305/poly1305-donna.c
84
poly1305_blocks(poly1305_state_internal_t *st, const unsigned char *m, size_t bytes)
crypto/libressl/crypto/poly1305/poly1305.c
29
size_t len)
crypto/libressl/crypto/rc4/rc4_enc.c
126
if ((((size_t)indata & (sizeof(RC4_CHUNK) - 1)) |
crypto/libressl/crypto/rc4/rc4_enc.c
127
((size_t)outdata & (sizeof(RC4_CHUNK) - 1))) == 0 ) {
crypto/libressl/crypto/rc4/rc4_enc.c
73
RC4(RC4_KEY *key, size_t len, const unsigned char *indata,
crypto/libressl/crypto/rc4/rc4_enc.c
78
size_t i;
crypto/libressl/crypto/ripemd/rmd_dgst.c
65
void ripemd160_block_x86(RIPEMD160_CTX *c, unsigned long *p,size_t num);
crypto/libressl/crypto/ripemd/rmd_dgst.c
68
void ripemd160_block(RIPEMD160_CTX *c, unsigned long *p,size_t num);
crypto/libressl/crypto/ripemd/rmd_dgst.c
86
void ripemd160_block_data_order (RIPEMD160_CTX *ctx, const void *p, size_t num)
crypto/libressl/crypto/ripemd/rmd_locl.h
77
void ripemd160_block_data_order (RIPEMD160_CTX *c, const void *p,size_t num);
crypto/libressl/crypto/ripemd/rmd_one.c
64
unsigned char *RIPEMD160(const unsigned char *d, size_t n,
crypto/libressl/crypto/rsa/rsa_ameth.c
411
update_buflen(const BIGNUM *b, size_t *pbuflen)
crypto/libressl/crypto/rsa/rsa_ameth.c
413
size_t i;
crypto/libressl/crypto/rsa/rsa_ameth.c
417
if (*pbuflen < (i = (size_t)BN_num_bytes(b)))
crypto/libressl/crypto/rsa/rsa_ameth.c
429
size_t buf_len = 0;
crypto/libressl/crypto/rsa/rsa_locl.h
91
unsigned int m_len, unsigned char *rm, size_t *prm_len,
crypto/libressl/crypto/rsa/rsa_locl.h
92
const unsigned char *sigbuf, size_t siglen, RSA *rsa);
crypto/libressl/crypto/rsa/rsa_pmeth.c
187
pkey_rsa_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
crypto/libressl/crypto/rsa/rsa_pmeth.c
188
const unsigned char *tbs, size_t tbslen)
crypto/libressl/crypto/rsa/rsa_pmeth.c
195
if (tbslen != (size_t)EVP_MD_size(rctx->md)) {
crypto/libressl/crypto/rsa/rsa_pmeth.c
201
if ((size_t)EVP_PKEY_size(ctx->pkey) < tbslen + 1) {
crypto/libressl/crypto/rsa/rsa_pmeth.c
244
pkey_rsa_verifyrecover(EVP_PKEY_CTX *ctx, unsigned char *rout, size_t *routlen,
crypto/libressl/crypto/rsa/rsa_pmeth.c
245
const unsigned char *sig, size_t siglen)
crypto/libressl/crypto/rsa/rsa_pmeth.c
271
size_t sltmp;
crypto/libressl/crypto/rsa/rsa_pmeth.c
292
pkey_rsa_verify(EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen,
crypto/libressl/crypto/rsa/rsa_pmeth.c
293
const unsigned char *tbs, size_t tbslen)
crypto/libressl/crypto/rsa/rsa_pmeth.c
297
size_t rslen;
crypto/libressl/crypto/rsa/rsa_pmeth.c
303
if (tbslen != (size_t)EVP_MD_size(rctx->md)) {
crypto/libressl/crypto/rsa/rsa_pmeth.c
344
pkey_rsa_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
crypto/libressl/crypto/rsa/rsa_pmeth.c
345
const unsigned char *in, size_t inlen)
crypto/libressl/crypto/rsa/rsa_pmeth.c
371
pkey_rsa_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
crypto/libressl/crypto/rsa/rsa_pmeth.c
372
const unsigned char *in, size_t inlen)
crypto/libressl/crypto/rsa/rsa_pmeth.c
99
size_t oaep_labellen;
crypto/libressl/crypto/rsa/rsa_sign.c
166
freezero(tmps, (size_t)encoded_len);
crypto/libressl/crypto/rsa/rsa_sign.c
180
unsigned char *rm, size_t *prm_len, const unsigned char *sigbuf,
crypto/libressl/crypto/rsa/rsa_sign.c
181
size_t siglen, RSA *rsa)
crypto/libressl/crypto/rsa/rsa_sign.c
186
if (siglen != (size_t)RSA_size(rsa)) {
crypto/libressl/crypto/rsa/rsa_sign.c
238
if ((m_len = EVP_MD_size(md)) > (size_t)decrypt_len) {
crypto/libressl/crypto/rsa/rsa_sign.c
264
freezero(encoded, (size_t)encoded_len);
crypto/libressl/crypto/sha/sha1_one.c
68
unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md)
crypto/libressl/crypto/sha/sha256.c
114
void sha256_block_data_order (SHA256_CTX *ctx, const void *in, size_t num);
crypto/libressl/crypto/sha/sha256.c
152
static void sha256_block_data_order (SHA256_CTX *ctx, const void *in, size_t num)
crypto/libressl/crypto/sha/sha256.c
204
static void sha256_block_data_order (SHA256_CTX *ctx, const void *in, size_t num)
crypto/libressl/crypto/sha/sha256.c
217
sizeof(SHA_LONG)==4 && ((size_t)in%4)==0)
crypto/libressl/crypto/sha/sha256.c
42
unsigned char *SHA224(const unsigned char *d, size_t n, unsigned char *md)
crypto/libressl/crypto/sha/sha256.c
55
unsigned char *SHA256(const unsigned char *d, size_t n, unsigned char *md)
crypto/libressl/crypto/sha/sha256.c
68
int SHA224_Update(SHA256_CTX *c, const void *data, size_t len)
crypto/libressl/crypto/sha/sha512.c
177
int SHA512_Update (SHA512_CTX *c, const void *_data, size_t len)
crypto/libressl/crypto/sha/sha512.c
192
size_t n = sizeof(c->u) - c->num;
crypto/libressl/crypto/sha/sha512.c
209
if ((size_t)data%sizeof(c->u.d[0]) != 0)
crypto/libressl/crypto/sha/sha512.c
228
int SHA384_Update (SHA512_CTX *c, const void *data, size_t len)
crypto/libressl/crypto/sha/sha512.c
234
if ((size_t)data%sizeof(c->u.d[0]) != 0)
crypto/libressl/crypto/sha/sha512.c
241
unsigned char *SHA384(const unsigned char *d, size_t n, unsigned char *md)
crypto/libressl/crypto/sha/sha512.c
254
unsigned char *SHA512(const unsigned char *d, size_t n, unsigned char *md)
crypto/libressl/crypto/sha/sha512.c
359
static void sha512_block_data_order (SHA512_CTX *ctx, const void *in, size_t num)
crypto/libressl/crypto/sha/sha512.c
410
static void sha512_block_data_order (SHA512_CTX *ctx, const void *in, size_t num)
crypto/libressl/crypto/sha/sha512.c
467
static void sha512_block_data_order (SHA512_CTX *ctx, const void *in, size_t num)
crypto/libressl/crypto/sha/sha512.c
94
void sha512_block_data_order (SHA512_CTX *ctx, const void *in, size_t num);
crypto/libressl/crypto/sha/sha512.c
99
size_t n=c->num;
crypto/libressl/crypto/sha/sha_locl.h
190
static void HASH_BLOCK_DATA_ORDER (SHA_CTX *c, const void *p, size_t num)
crypto/libressl/crypto/sha/sha_locl.h
211
sizeof(SHA_LONG)==4 && ((size_t)p%4)==0)
crypto/libressl/crypto/sha/sha_locl.h
375
static void HASH_BLOCK_DATA_ORDER (SHA_CTX *c, const void *p, size_t num)
crypto/libressl/crypto/sha/sha_locl.h
94
void sha1_block_data_order (SHA_CTX *c, const void *p,size_t num);
crypto/libressl/crypto/sm3/sm3.c
40
SM3_block_data_order(SM3_CTX *ctx, const void *p, size_t num)
crypto/libressl/crypto/sm3/sm3_locl.h
43
void SM3_block_data_order(SM3_CTX *c, const void *p, size_t num);
crypto/libressl/crypto/ui/ui_lib.c
392
print_error(const char *str, size_t len, void *arg)
crypto/libressl/crypto/whrlpool/wp_block.c
441
void whirlpool_block(WHIRLPOOL_CTX *ctx,const void *inp,size_t n)
crypto/libressl/crypto/whrlpool/wp_block.c
481
if ((size_t)p & 7)
crypto/libressl/crypto/whrlpool/wp_block.c
608
if ((size_t)p & 7)
crypto/libressl/crypto/whrlpool/wp_block.c
65
void whirlpool_block_mmx(void *,const void *,size_t); \
crypto/libressl/crypto/whrlpool/wp_dgst.c
103
&& ++n<(WHIRLPOOL_COUNTER/sizeof(size_t)));
crypto/libressl/crypto/whrlpool/wp_dgst.c
221
size_t i,j,v;
crypto/libressl/crypto/whrlpool/wp_dgst.c
242
for(i=0;i<WHIRLPOOL_COUNTER/sizeof(size_t);i++)
crypto/libressl/crypto/whrlpool/wp_dgst.c
243
for(v=c->bitlen[i],j=0;j<sizeof(size_t);j++,v>>=8)
crypto/libressl/crypto/whrlpool/wp_dgst.c
256
unsigned char *WHIRLPOOL(const void *inp, size_t bytes,unsigned char *md)
crypto/libressl/crypto/whrlpool/wp_dgst.c
65
int WHIRLPOOL_Update (WHIRLPOOL_CTX *c,const void *_inp,size_t bytes)
crypto/libressl/crypto/whrlpool/wp_dgst.c
71
size_t chunk = ((size_t)1)<<(sizeof(size_t)*8-4);
crypto/libressl/crypto/whrlpool/wp_dgst.c
86
void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c,const void *_inp,size_t bits)
crypto/libressl/crypto/whrlpool/wp_dgst.c
88
size_t n;
crypto/libressl/crypto/whrlpool/wp_locl.h
7
void whirlpool_block(WHIRLPOOL_CTX *,const void *,size_t);
crypto/libressl/crypto/x509/by_dir.c
225
if (strlen(ent->dir) == (size_t)len &&
crypto/libressl/crypto/x509/by_dir.c
226
strncmp(ent->dir, ss, (size_t)len) == 0)
crypto/libressl/crypto/x509/by_dir.c
245
ent->dir = strndup(ss, (size_t)len);
crypto/libressl/crypto/x509/vpm_int.h
69
size_t emaillen;
crypto/libressl/crypto/x509/vpm_int.h
71
size_t iplen; /* Length of IP address */
crypto/libressl/crypto/x509/x509_addr.c
1035
size_t keylen;
crypto/libressl/crypto/x509/x509_addr.c
940
size_t max_len, min_len;
crypto/libressl/crypto/x509/x509_alt.c
620
size_t len = 0;
crypto/libressl/crypto/x509/x509_cmp.c
393
size_t i;
crypto/libressl/crypto/x509/x509_constraints.c
104
size_t i;
crypto/libressl/crypto/x509/x509_constraints.c
1102
size_t nlen = name->af == AF_INET ? 4 : 16;
crypto/libressl/crypto/x509/x509_constraints.c
1103
size_t clen = name->af == AF_INET ? 8 : 32;
crypto/libressl/crypto/x509/x509_constraints.c
1139
size_t i, j;
crypto/libressl/crypto/x509/x509_constraints.c
1184
size_t constraints_count = 0;
crypto/libressl/crypto/x509/x509_constraints.c
146
size_t i;
crypto/libressl/crypto/x509/x509_constraints.c
180
x509_constraints_valid_domain_internal(uint8_t *name, size_t len, int wildcards)
crypto/libressl/crypto/x509/x509_constraints.c
185
size_t i;
crypto/libressl/crypto/x509/x509_constraints.c
241
x509_constraints_valid_domain(uint8_t *name, size_t len)
crypto/libressl/crypto/x509/x509_constraints.c
255
x509_constraints_valid_host(uint8_t *name, size_t len)
crypto/libressl/crypto/x509/x509_constraints.c
272
x509_constraints_valid_sandns(uint8_t *name, size_t len)
crypto/libressl/crypto/x509/x509_constraints.c
312
x509_constraints_parse_mailbox(uint8_t *candidate, size_t len,
crypto/libressl/crypto/x509/x509_constraints.c
318
size_t i, wi = 0;
crypto/libressl/crypto/x509/x509_constraints.c
443
x509_constraints_valid_domain_constraint(uint8_t *constraint, size_t len)
crypto/libressl/crypto/x509/x509_constraints.c
478
x509_constraints_uri_host(uint8_t *uri, size_t len, char **hostpart)
crypto/libressl/crypto/x509/x509_constraints.c
480
size_t i, hostlen = 0;
crypto/libressl/crypto/x509/x509_constraints.c
540
x509_constraints_sandns(char *sandns, size_t dlen, char *constraint, size_t len)
crypto/libressl/crypto/x509/x509_constraints.c
568
x509_constraints_domain(char *domain, size_t dlen, char *constraint, size_t len)
crypto/libressl/crypto/x509/x509_constraints.c
596
x509_constraints_uri(uint8_t *uri, size_t ulen, uint8_t *constraint, size_t len,
crypto/libressl/crypto/x509/x509_constraints.c
629
x509_constraints_ipaddr(uint8_t *address, size_t alen, uint8_t *constraint,
crypto/libressl/crypto/x509/x509_constraints.c
630
size_t len)
crypto/libressl/crypto/x509/x509_constraints.c
633
size_t i;
crypto/libressl/crypto/x509/x509_constraints.c
651
x509_constraints_dirname(uint8_t *dirname, size_t dlen,
crypto/libressl/crypto/x509/x509_constraints.c
652
uint8_t *constraint, size_t len)
crypto/libressl/crypto/x509/x509_constraints.c
668
size_t *len)
crypto/libressl/crypto/x509/x509_constraints.c
736
size_t len = 0;
crypto/libressl/crypto/x509/x509_constraints.c
89
x509_constraints_names_new(size_t names_max)
crypto/libressl/crypto/x509/x509_constraints.c
927
size_t len = 0;
crypto/libressl/crypto/x509/x509_internal.h
110
struct x509_constraints_names *x509_constraints_names_new(size_t names_max);
crypto/libressl/crypto/x509/x509_internal.h
112
size_t *len);
crypto/libressl/crypto/x509/x509_internal.h
114
int x509_constraints_valid_host(uint8_t *name, size_t len);
crypto/libressl/crypto/x509/x509_internal.h
115
int x509_constraints_valid_sandns(uint8_t *name, size_t len);
crypto/libressl/crypto/x509/x509_internal.h
116
int x509_constraints_domain(char *domain, size_t dlen, char *constraint,
crypto/libressl/crypto/x509/x509_internal.h
117
size_t len);
crypto/libressl/crypto/x509/x509_internal.h
118
int x509_constraints_parse_mailbox(uint8_t *candidate, size_t len,
crypto/libressl/crypto/x509/x509_internal.h
121
size_t len);
crypto/libressl/crypto/x509/x509_internal.h
122
int x509_constraints_uri_host(uint8_t *uri, size_t len, char **hostp);
crypto/libressl/crypto/x509/x509_internal.h
123
int x509_constraints_uri(uint8_t *uri, size_t ulen, uint8_t *constraint,
crypto/libressl/crypto/x509/x509_internal.h
124
size_t len, int *error);
crypto/libressl/crypto/x509/x509_internal.h
49
size_t der_len;
crypto/libressl/crypto/x509/x509_internal.h
56
size_t names_count;
crypto/libressl/crypto/x509/x509_internal.h
57
size_t names_len;
crypto/libressl/crypto/x509/x509_internal.h
58
size_t names_max;
crypto/libressl/crypto/x509/x509_internal.h
73
size_t chains_count;
crypto/libressl/crypto/x509/x509_internal.h
78
size_t max_chains; /* Max chains to return */
crypto/libressl/crypto/x509/x509_internal.h
79
size_t max_depth; /* Max chain depth for validation */
crypto/libressl/crypto/x509/x509_internal.h
80
size_t max_sigs; /* Max number of signature checks */
crypto/libressl/crypto/x509/x509_internal.h
81
size_t sig_checks; /* Number of signature checks done */
crypto/libressl/crypto/x509/x509_internal.h
82
size_t error_depth; /* Depth of last error seen */
crypto/libressl/crypto/x509/x509_issuer_cache.c
48
static size_t x509_issuer_cache_count;
crypto/libressl/crypto/x509/x509_issuer_cache.c
49
static size_t x509_issuer_cache_max = X509_ISSUER_CACHE_MAX;
crypto/libressl/crypto/x509/x509_issuer_cache.c
66
x509_issuer_cache_set_max(size_t max)
crypto/libressl/crypto/x509/x509_issuer_cache.h
40
int x509_issuer_cache_set_max(size_t max);
crypto/libressl/crypto/x509/x509_utl.c
1057
X509_check_host(X509 *x, const char *chk, size_t chklen, unsigned int flags,
crypto/libressl/crypto/x509/x509_utl.c
1070
X509_check_email(X509 *x, const char *chk, size_t chklen, unsigned int flags)
crypto/libressl/crypto/x509/x509_utl.c
1082
X509_check_ip(X509 *x, const unsigned char *chk, size_t chklen,
crypto/libressl/crypto/x509/x509_utl.c
1094
size_t iplen;
crypto/libressl/crypto/x509/x509_utl.c
1098
iplen = (size_t)a2i_ipadd(ipout, ipasc);
crypto/libressl/crypto/x509/x509_utl.c
668
typedef int (*equal_fn)(const unsigned char *pattern, size_t pattern_len,
crypto/libressl/crypto/x509/x509_utl.c
669
const unsigned char *subject, size_t subject_len, unsigned int flags);
crypto/libressl/crypto/x509/x509_utl.c
673
skip_prefix(const unsigned char **p, size_t *plen, const unsigned char *subject,
crypto/libressl/crypto/x509/x509_utl.c
674
size_t subject_len, unsigned int flags)
crypto/libressl/crypto/x509/x509_utl.c
677
size_t pattern_len = *plen;
crypto/libressl/crypto/x509/x509_utl.c
713
equal_nocase(const unsigned char *pattern, size_t pattern_len,
crypto/libressl/crypto/x509/x509_utl.c
714
const unsigned char *subject, size_t subject_len, unsigned int flags)
crypto/libressl/crypto/x509/x509_utl.c
728
equal_case(const unsigned char *pattern, size_t pattern_len,
crypto/libressl/crypto/x509/x509_utl.c
729
const unsigned char *subject, size_t subject_len, unsigned int flags)
crypto/libressl/crypto/x509/x509_utl.c
746
equal_email(const unsigned char *a, size_t a_len, const unsigned char *b,
crypto/libressl/crypto/x509/x509_utl.c
747
size_t b_len, unsigned int unused_flags)
crypto/libressl/crypto/x509/x509_utl.c
749
size_t pos = a_len;
crypto/libressl/crypto/x509/x509_utl.c
776
wildcard_match(const unsigned char *prefix, size_t prefix_len,
crypto/libressl/crypto/x509/x509_utl.c
777
const unsigned char *suffix, size_t suffix_len,
crypto/libressl/crypto/x509/x509_utl.c
778
const unsigned char *subject, size_t subject_len, unsigned int flags)
crypto/libressl/crypto/x509/x509_utl.c
832
valid_star(const unsigned char *p, size_t len, unsigned int flags)
crypto/libressl/crypto/x509/x509_utl.c
835
size_t i;
crypto/libressl/crypto/x509/x509_utl.c
911
equal_wildcard(const unsigned char *pattern, size_t pattern_len,
crypto/libressl/crypto/x509/x509_utl.c
912
const unsigned char *subject, size_t subject_len, unsigned int flags)
crypto/libressl/crypto/x509/x509_utl.c
938
unsigned int flags, const char *b, size_t blen, char **peername)
crypto/libressl/crypto/x509/x509_utl.c
971
do_x509_check(X509 *x, const char *chk, size_t chklen, unsigned int flags,
crypto/libressl/crypto/x509/x509_utl.c
976
size_t i;
crypto/libressl/crypto/x509/x509_verify.c
1040
x509_verify_ctx_set_max_depth(struct x509_verify_ctx *ctx, size_t max)
crypto/libressl/crypto/x509/x509_verify.c
1049
x509_verify_ctx_set_max_chains(struct x509_verify_ctx *ctx, size_t max)
crypto/libressl/crypto/x509/x509_verify.c
1058
x509_verify_ctx_set_max_signatures(struct x509_verify_ctx *ctx, size_t max)
crypto/libressl/crypto/x509/x509_verify.c
1090
size_t
crypto/libressl/crypto/x509/x509_verify.c
1097
x509_verify_ctx_chain(struct x509_verify_ctx *ctx, size_t i)
crypto/libressl/crypto/x509/x509_verify.c
1104
size_t
crypto/libressl/crypto/x509/x509_verify.c
166
size_t idx;
crypto/libressl/crypto/x509/x509_verify.c
218
size_t i;
crypto/libressl/crypto/x509/x509_verify.c
304
size_t num_untrusted;
crypto/libressl/crypto/x509/x509_verify.c
385
struct x509_verify_chain *chain, size_t depth)
crypto/libressl/crypto/x509/x509_verify.c
40
size_t depth, int error, int ok);
crypto/libressl/crypto/x509/x509_verify.c
477
size_t depth;
crypto/libressl/crypto/x509/x509_verify.c
639
x509_verify_cert_error(struct x509_verify_ctx *ctx, X509 *cert, size_t depth,
crypto/libressl/crypto/x509/x509_verify.c
759
size_t len;
crypto/libressl/crypto/x509/x509_verify.c
933
size_t depth = 0;
crypto/libressl/crypto/x509/x509_verify.c
971
size_t max_depth;
crypto/libressl/crypto/x509/x509_vfy.c
898
size_t i;
crypto/libressl/crypto/x509/x509_vfy.c
933
size_t i;
crypto/libressl/crypto/x509/x509_vpm.c
105
size_t i;
crypto/libressl/crypto/x509/x509_vpm.c
115
size_t j;
crypto/libressl/crypto/x509/x509_vpm.c
130
const char *name, size_t namelen)
crypto/libressl/crypto/x509/x509_vpm.c
373
x509_param_set1_internal(char **pdest, size_t *pdestlen, const char *src,
crypto/libressl/crypto/x509/x509_vpm.c
374
size_t srclen, int nonul)
crypto/libressl/crypto/x509/x509_vpm.c
525
const char *name, size_t namelen)
crypto/libressl/crypto/x509/x509_vpm.c
535
const char *name, size_t namelen)
crypto/libressl/crypto/x509/x509_vpm.c
557
size_t emaillen)
crypto/libressl/crypto/x509/x509_vpm.c
568
size_t iplen)
crypto/libressl/crypto/x509/x509_vpm.c
584
size_t iplen;
crypto/libressl/crypto/x509/x509_vpm.c
586
iplen = (size_t)a2i_ipadd(ipout, ipasc);
crypto/libressl/crypto/x509/x509_vpm.c
667
size_t idx;
crypto/libressl/crypto/x509/x509_vpm.c
709
size_t idx;
crypto/libressl/crypto/x509/x509_vpm.c
75
size_t emaillen);
crypto/libressl/crypto/x509/x509_vpm.c
77
size_t iplen);
crypto/libressl/include/openssl/aes.h
102
size_t length, const AES_KEY *key, unsigned char *ivec, int *num,
crypto/libressl/include/openssl/aes.h
105
size_t length, const AES_KEY *key, unsigned char *ivec, int *num,
crypto/libressl/include/openssl/aes.h
108
size_t length, const AES_KEY *key, unsigned char *ivec, int *num);
crypto/libressl/include/openssl/aes.h
110
size_t length, const AES_KEY *key, unsigned char ivec[AES_BLOCK_SIZE],
crypto/libressl/include/openssl/aes.h
114
size_t length, const AES_KEY *key, unsigned char *ivec, const int enc);
crypto/libressl/include/openssl/aes.h
97
size_t length, const AES_KEY *key, unsigned char *ivec, const int enc);
crypto/libressl/include/openssl/aes.h
99
size_t length, const AES_KEY *key, unsigned char *ivec, int *num,
crypto/libressl/include/openssl/asn1.h
1197
int ASN1_time_parse(const char *_bytes, size_t _len, struct tm *_tm, int _mode);
crypto/libressl/include/openssl/bio.h
265
size_t len, int argi, long argl, int ret, size_t *processed);
crypto/libressl/include/openssl/bio.h
490
size_t BIO_ctrl_pending(BIO *b);
crypto/libressl/include/openssl/bio.h
491
size_t BIO_ctrl_wpending(BIO *b);
crypto/libressl/include/openssl/bio.h
502
#define BIO_get_write_buf_size(b,size) (size_t)BIO_ctrl(b,BIO_C_GET_WRITE_BUF_SIZE,size,NULL)
crypto/libressl/include/openssl/bio.h
509
size_t BIO_ctrl_get_write_guarantee(BIO *b);
crypto/libressl/include/openssl/bio.h
510
size_t BIO_ctrl_get_read_request(BIO *b);
crypto/libressl/include/openssl/bio.h
623
BIO_dump_cb(int (*cb)(const void *data, size_t len, void *u),
crypto/libressl/include/openssl/bio.h
626
BIO_dump_indent_cb(int (*cb)(const void *data, size_t len, void *u),
crypto/libressl/include/openssl/bio.h
659
BIO_new_bio_pair(BIO **bio1, size_t writebuf1,
crypto/libressl/include/openssl/bio.h
660
BIO **bio2, size_t writebuf2);
crypto/libressl/include/openssl/bio.h
678
BIO_snprintf(char *buf, size_t n, const char *format, ...)
crypto/libressl/include/openssl/bio.h
682
BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
crypto/libressl/include/openssl/bio.h
693
BIO_snprintf(char *buf, size_t n, const char *format, ...)
crypto/libressl/include/openssl/bio.h
697
BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
crypto/libressl/include/openssl/buffer.h
78
size_t length; /* current number of bytes */
crypto/libressl/include/openssl/buffer.h
80
size_t max; /* size of buffer */
crypto/libressl/include/openssl/buffer.h
85
int BUF_MEM_grow(BUF_MEM *str, size_t len);
crypto/libressl/include/openssl/buffer.h
86
int BUF_MEM_grow_clean(BUF_MEM *str, size_t len);
crypto/libressl/include/openssl/buffer.h
90
char * BUF_strndup(const char *str, size_t siz);
crypto/libressl/include/openssl/buffer.h
91
void * BUF_memdup(const void *data, size_t siz);
crypto/libressl/include/openssl/buffer.h
92
void BUF_reverse(unsigned char *out, const unsigned char *in, size_t siz);
crypto/libressl/include/openssl/buffer.h
95
size_t BUF_strlcpy(char *dst, const char *src, size_t siz)
crypto/libressl/include/openssl/buffer.h
97
size_t BUF_strlcat(char *dst, const char *src, size_t siz)
crypto/libressl/include/openssl/camellia.h
101
size_t length, const CAMELLIA_KEY *key,
crypto/libressl/include/openssl/camellia.h
104
size_t length, const CAMELLIA_KEY *key,
crypto/libressl/include/openssl/camellia.h
107
size_t length, const CAMELLIA_KEY *key,
crypto/libressl/include/openssl/camellia.h
110
size_t length, const CAMELLIA_KEY *key,
crypto/libressl/include/openssl/camellia.h
113
size_t length, const CAMELLIA_KEY *key,
crypto/libressl/include/openssl/camellia.h
116
size_t length, const CAMELLIA_KEY *key,
crypto/libressl/include/openssl/chacha.h
45
size_t len);
crypto/libressl/include/openssl/chacha.h
47
void CRYPTO_chacha_20(unsigned char *out, const unsigned char *in, size_t len,
crypto/libressl/include/openssl/chacha.h
49
void CRYPTO_xchacha_20(unsigned char *out, const unsigned char *in, size_t len,
crypto/libressl/include/openssl/cmac.h
73
int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen,
crypto/libressl/include/openssl/cmac.h
75
int CMAC_Update(CMAC_CTX *ctx, const void *data, size_t dlen);
crypto/libressl/include/openssl/cmac.h
76
int CMAC_Final(CMAC_CTX *ctx, unsigned char *out, size_t *poutlen);
crypto/libressl/include/openssl/cms.h
174
size_t keylen, BIO *dcont, BIO *out, unsigned int flags);
crypto/libressl/include/openssl/cms.h
177
const unsigned char *key, size_t keylen, unsigned int flags);
crypto/libressl/include/openssl/cms.h
180
const unsigned char *key, size_t keylen);
crypto/libressl/include/openssl/cms.h
198
size_t keylen, const unsigned char *id, size_t idlen);
crypto/libressl/include/openssl/cms.h
216
unsigned char *key, size_t keylen, unsigned char *id, size_t idlen,
crypto/libressl/include/openssl/cms.h
224
size_t keylen);
crypto/libressl/include/openssl/cms.h
227
const unsigned char *id, size_t idlen);
crypto/libressl/include/openssl/crypto.h
408
int CRYPTO_set_mem_functions(void *(*m)(size_t), void *(*r)(void *, size_t), void (*f)(void *));
crypto/libressl/include/openssl/crypto.h
409
int CRYPTO_set_locked_mem_functions(void *(*m)(size_t), void (*free_func)(void *));
crypto/libressl/include/openssl/crypto.h
410
int CRYPTO_set_mem_ex_functions(void *(*m)(size_t, const char *, int),
crypto/libressl/include/openssl/crypto.h
411
void *(*r)(void *, size_t, const char *, int), void (*f)(void *));
crypto/libressl/include/openssl/crypto.h
412
int CRYPTO_set_locked_mem_ex_functions(void *(*m)(size_t, const char *, int),
crypto/libressl/include/openssl/crypto.h
418
void CRYPTO_get_mem_functions(void *(**m)(size_t), void *(**r)(void *, size_t),
crypto/libressl/include/openssl/crypto.h
420
void CRYPTO_get_locked_mem_functions(void *(**m)(size_t), void (**f)(void *));
crypto/libressl/include/openssl/crypto.h
421
void CRYPTO_get_mem_ex_functions(void *(**m)(size_t, const char *, int),
crypto/libressl/include/openssl/crypto.h
422
void *(**r)(void *, size_t, const char *, int), void (**f)(void *));
crypto/libressl/include/openssl/crypto.h
423
void CRYPTO_get_locked_mem_ex_functions(void *(**m)(size_t, const char *, int),
crypto/libressl/include/openssl/crypto.h
444
void OPENSSL_cleanse(void *ptr, size_t len);
crypto/libressl/include/openssl/crypto.h
509
int CRYPTO_memcmp(const void *a, const void *b, size_t len);
crypto/libressl/include/openssl/ct.h
216
size_t SCT_get0_log_id(const SCT *sct, unsigned char **log_id);
crypto/libressl/include/openssl/ct.h
223
int SCT_set0_log_id(SCT *sct, unsigned char *log_id, size_t log_id_len);
crypto/libressl/include/openssl/ct.h
231
size_t log_id_len);
crypto/libressl/include/openssl/ct.h
263
size_t SCT_get0_extensions(const SCT *sct, unsigned char **ext);
crypto/libressl/include/openssl/ct.h
269
void SCT_set0_extensions(SCT *sct, unsigned char *ext, size_t ext_len);
crypto/libressl/include/openssl/ct.h
277
size_t ext_len);
crypto/libressl/include/openssl/ct.h
284
size_t SCT_get0_signature(const SCT *sct, unsigned char **sig);
crypto/libressl/include/openssl/ct.h
290
void SCT_set0_signature(SCT *sct, unsigned char *sig, size_t sig_len);
crypto/libressl/include/openssl/ct.h
297
size_t sig_len);
crypto/libressl/include/openssl/ct.h
388
size_t len);
crypto/libressl/include/openssl/ct.h
439
SCT *o2i_SCT(SCT **psct, const unsigned char **in, size_t len);
crypto/libressl/include/openssl/ct.h
471
size_t *log_id_len);
crypto/libressl/include/openssl/ct.h
495
const uint8_t *log_id, size_t log_id_len);
crypto/libressl/include/openssl/ec.h
1002
int (*ckey)(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
crypto/libressl/include/openssl/ec.h
1003
void *(*KDF) (const void *in, size_t inlen, void *out, size_t *outlen)));
crypto/libressl/include/openssl/ec.h
1014
int (**pck)(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
crypto/libressl/include/openssl/ec.h
1015
void *(*KDF) (const void *in, size_t inlen, void *out, size_t *outlen)));
crypto/libressl/include/openssl/ec.h
282
size_t EC_GROUP_get_seed_len(const EC_GROUP *);
crypto/libressl/include/openssl/ec.h
283
size_t EC_GROUP_set_seed(EC_GROUP *, const unsigned char *, size_t len);
crypto/libressl/include/openssl/ec.h
405
size_t EC_get_builtin_curves(EC_builtin_curve *r, size_t nitems);
crypto/libressl/include/openssl/ec.h
577
size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *p,
crypto/libressl/include/openssl/ec.h
579
unsigned char *buf, size_t len, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
590
const unsigned char *buf, size_t len, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
659
int EC_POINTs_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
671
int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, size_t num, const EC_POINT *p[], const BIGNUM *m[], BN_CTX *ctx);
crypto/libressl/include/openssl/ecdh.h
95
int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
crypto/libressl/include/openssl/ecdh.h
97
void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen));
crypto/libressl/include/openssl/engine.h
625
typedef void *(*dyn_MEM_malloc_cb)(size_t);
crypto/libressl/include/openssl/engine.h
626
typedef void *(*dyn_MEM_realloc_cb)(void *, size_t);
crypto/libressl/include/openssl/err.h
376
void ERR_error_string_n(unsigned long e, char *buf, size_t len);
crypto/libressl/include/openssl/err.h
380
void ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u),
crypto/libressl/include/openssl/evp.h
1053
size_t len, const EVP_CIPHER *cipher);
crypto/libressl/include/openssl/evp.h
1065
int EVP_PKEY_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
crypto/libressl/include/openssl/evp.h
1066
const unsigned char *tbs, size_t tbslen);
crypto/libressl/include/openssl/evp.h
1068
int EVP_PKEY_verify(EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen,
crypto/libressl/include/openssl/evp.h
1069
const unsigned char *tbs, size_t tbslen);
crypto/libressl/include/openssl/evp.h
1072
size_t *routlen, const unsigned char *sig, size_t siglen);
crypto/libressl/include/openssl/evp.h
1074
int EVP_PKEY_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
crypto/libressl/include/openssl/evp.h
1075
const unsigned char *in, size_t inlen);
crypto/libressl/include/openssl/evp.h
1077
int EVP_PKEY_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
crypto/libressl/include/openssl/evp.h
1078
const unsigned char *in, size_t inlen);
crypto/libressl/include/openssl/evp.h
1082
int EVP_PKEY_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen);
crypto/libressl/include/openssl/evp.h
1118
int (*sign)(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
crypto/libressl/include/openssl/evp.h
1119
const unsigned char *tbs, size_t tbslen));
crypto/libressl/include/openssl/evp.h
1123
int (*verify)(EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen,
crypto/libressl/include/openssl/evp.h
1124
const unsigned char *tbs, size_t tbslen));
crypto/libressl/include/openssl/evp.h
1129
size_t *siglen, const unsigned char *tbs, size_t tbslen));
crypto/libressl/include/openssl/evp.h
1133
int (*signctx)(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
crypto/libressl/include/openssl/evp.h
1143
int (*encryptfn)(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
crypto/libressl/include/openssl/evp.h
1144
const unsigned char *in, size_t inlen));
crypto/libressl/include/openssl/evp.h
1148
int (*decrypt)(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
crypto/libressl/include/openssl/evp.h
1149
const unsigned char *in, size_t inlen));
crypto/libressl/include/openssl/evp.h
1153
int (*derive)(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen));
crypto/libressl/include/openssl/evp.h
1190
size_t EVP_AEAD_key_length(const EVP_AEAD *aead);
crypto/libressl/include/openssl/evp.h
1193
size_t EVP_AEAD_nonce_length(const EVP_AEAD *aead);
crypto/libressl/include/openssl/evp.h
1197
size_t EVP_AEAD_max_overhead(const EVP_AEAD *aead);
crypto/libressl/include/openssl/evp.h
1202
size_t EVP_AEAD_max_tag_len(const EVP_AEAD *aead);
crypto/libressl/include/openssl/evp.h
1230
const unsigned char *key, size_t key_len, size_t tag_len, ENGINE *impl);
crypto/libressl/include/openssl/evp.h
1255
size_t *out_len, size_t max_out_len, const unsigned char *nonce,
crypto/libressl/include/openssl/evp.h
1256
size_t nonce_len, const unsigned char *in, size_t in_len,
crypto/libressl/include/openssl/evp.h
1257
const unsigned char *ad, size_t ad_len);
crypto/libressl/include/openssl/evp.h
1278
size_t *out_len, size_t max_out_len, const unsigned char *nonce,
crypto/libressl/include/openssl/evp.h
1279
size_t nonce_len, const unsigned char *in, size_t in_len,
crypto/libressl/include/openssl/evp.h
1280
const unsigned char *ad, size_t ad_len);
crypto/libressl/include/openssl/evp.h
357
int (*update)(EVP_MD_CTX *ctx, const void *data, size_t count));
crypto/libressl/include/openssl/evp.h
389
unsigned char *iv, size_t len);
crypto/libressl/include/openssl/evp.h
391
const unsigned char *iv, size_t len);
crypto/libressl/include/openssl/evp.h
449
int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, size_t cnt);
crypto/libressl/include/openssl/evp.h
451
int EVP_Digest(const void *data, size_t count, unsigned char *md,
crypto/libressl/include/openssl/evp.h
513
int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen);
crypto/libressl/include/openssl/evp.h
515
int EVP_DigestSign(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen,
crypto/libressl/include/openssl/evp.h
516
const unsigned char *tbs, size_t tbslen);
crypto/libressl/include/openssl/evp.h
521
size_t siglen);
crypto/libressl/include/openssl/evp.h
524
size_t siglen, const unsigned char *tbs, size_t tbslen);
crypto/libressl/include/openssl/evp.h
797
const unsigned char *EVP_PKEY_get0_hmac(const EVP_PKEY *pkey, size_t *len);
crypto/libressl/include/openssl/gost.h
113
int GOST2814789IMIT_Update(GOST2814789IMIT_CTX *c, const void *data, size_t len);
crypto/libressl/include/openssl/gost.h
116
unsigned char *GOST2814789IMIT(const unsigned char *d, size_t n,
crypto/libressl/include/openssl/gost.h
138
int GOSTR341194_Update(GOSTR341194_CTX *c, const void *data, size_t len);
crypto/libressl/include/openssl/gost.h
141
unsigned char *GOSTR341194(const unsigned char *d, size_t n,unsigned char *md, int nid);
crypto/libressl/include/openssl/gost.h
166
int STREEBOG256_Update(STREEBOG_CTX *c, const void *data, size_t len);
crypto/libressl/include/openssl/gost.h
169
unsigned char *STREEBOG256(const unsigned char *d, size_t n,unsigned char *md);
crypto/libressl/include/openssl/gost.h
172
int STREEBOG512_Update(STREEBOG_CTX *c, const void *data, size_t len);
crypto/libressl/include/openssl/gost.h
175
unsigned char *STREEBOG512(const unsigned char *d, size_t n,unsigned char *md);
crypto/libressl/include/openssl/gost.h
190
size_t GOST_KEY_get_size(const GOST_KEY * r);
crypto/libressl/include/openssl/gost.h
81
size_t length, GOST2814789_KEY *key,
crypto/libressl/include/openssl/gost.h
84
size_t length, GOST2814789_KEY *key,
crypto/libressl/include/openssl/hkdf.h
36
int HKDF(uint8_t *out_key, size_t out_len, const struct env_md_st *digest,
crypto/libressl/include/openssl/hkdf.h
37
const uint8_t *secret, size_t secret_len, const uint8_t *salt,
crypto/libressl/include/openssl/hkdf.h
38
size_t salt_len, const uint8_t *info, size_t info_len);
crypto/libressl/include/openssl/hkdf.h
46
int HKDF_extract(uint8_t *out_key, size_t *out_len,
crypto/libressl/include/openssl/hkdf.h
48
size_t secret_len, const uint8_t *salt, size_t salt_len);
crypto/libressl/include/openssl/hkdf.h
56
int HKDF_expand(uint8_t *out_key, size_t out_len,
crypto/libressl/include/openssl/hkdf.h
57
const EVP_MD *digest, const uint8_t *prk, size_t prk_len,
crypto/libressl/include/openssl/hkdf.h
58
const uint8_t *info, size_t info_len);
crypto/libressl/include/openssl/hmac.h
85
int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len);
crypto/libressl/include/openssl/hmac.h
88
const unsigned char *d, size_t n, unsigned char *md, unsigned int *md_len);
crypto/libressl/include/openssl/md4.h
95
int MD4_Update(MD4_CTX *c, const void *data, size_t len);
crypto/libressl/include/openssl/md4.h
97
unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md);
crypto/libressl/include/openssl/md5.h
102
int MD5_Update(MD5_CTX *c, const void *data, size_t len)
crypto/libressl/include/openssl/md5.h
105
unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md)
crypto/libressl/include/openssl/modes.h
102
size_t len);
crypto/libressl/include/openssl/modes.h
105
size_t len);
crypto/libressl/include/openssl/modes.h
108
size_t len, ctr128_f stream);
crypto/libressl/include/openssl/modes.h
111
size_t len, ctr128_f stream);
crypto/libressl/include/openssl/modes.h
113
size_t len);
crypto/libressl/include/openssl/modes.h
114
void CRYPTO_gcm128_tag(GCM128_CONTEXT *ctx, unsigned char *tag, size_t len);
crypto/libressl/include/openssl/modes.h
122
const unsigned char *nonce, size_t nlen, size_t mlen);
crypto/libressl/include/openssl/modes.h
124
const unsigned char *aad, size_t alen);
crypto/libressl/include/openssl/modes.h
126
const unsigned char *inp, unsigned char *out, size_t len);
crypto/libressl/include/openssl/modes.h
128
const unsigned char *inp, unsigned char *out, size_t len);
crypto/libressl/include/openssl/modes.h
130
const unsigned char *inp, unsigned char *out, size_t len,
crypto/libressl/include/openssl/modes.h
133
const unsigned char *inp, unsigned char *out, size_t len,
crypto/libressl/include/openssl/modes.h
135
size_t CRYPTO_ccm128_tag(CCM128_CONTEXT *ctx, unsigned char *tag, size_t len);
crypto/libressl/include/openssl/modes.h
140
const unsigned char *inp, unsigned char *out, size_t len, int enc);
crypto/libressl/include/openssl/modes.h
20
size_t len, const void *key,
crypto/libressl/include/openssl/modes.h
24
size_t blocks, const void *key,
crypto/libressl/include/openssl/modes.h
28
size_t blocks, const void *key,
crypto/libressl/include/openssl/modes.h
32
size_t len, const void *key,
crypto/libressl/include/openssl/modes.h
35
size_t len, const void *key,
crypto/libressl/include/openssl/modes.h
39
size_t len, const void *key,
crypto/libressl/include/openssl/modes.h
44
size_t len, const void *key,
crypto/libressl/include/openssl/modes.h
49
size_t len, const void *key,
crypto/libressl/include/openssl/modes.h
54
size_t len, const void *key,
crypto/libressl/include/openssl/modes.h
58
size_t length, const void *key,
crypto/libressl/include/openssl/modes.h
62
size_t bits, const void *key,
crypto/libressl/include/openssl/modes.h
66
size_t CRYPTO_cts128_encrypt_block(const unsigned char *in, unsigned char *out,
crypto/libressl/include/openssl/modes.h
67
size_t len, const void *key,
crypto/libressl/include/openssl/modes.h
69
size_t CRYPTO_cts128_encrypt(const unsigned char *in, unsigned char *out,
crypto/libressl/include/openssl/modes.h
70
size_t len, const void *key,
crypto/libressl/include/openssl/modes.h
72
size_t CRYPTO_cts128_decrypt_block(const unsigned char *in, unsigned char *out,
crypto/libressl/include/openssl/modes.h
73
size_t len, const void *key,
crypto/libressl/include/openssl/modes.h
75
size_t CRYPTO_cts128_decrypt(const unsigned char *in, unsigned char *out,
crypto/libressl/include/openssl/modes.h
76
size_t len, const void *key,
crypto/libressl/include/openssl/modes.h
79
size_t CRYPTO_nistcts128_encrypt_block(const unsigned char *in, unsigned char *out,
crypto/libressl/include/openssl/modes.h
80
size_t len, const void *key,
crypto/libressl/include/openssl/modes.h
82
size_t CRYPTO_nistcts128_encrypt(const unsigned char *in, unsigned char *out,
crypto/libressl/include/openssl/modes.h
83
size_t len, const void *key,
crypto/libressl/include/openssl/modes.h
85
size_t CRYPTO_nistcts128_decrypt_block(const unsigned char *in, unsigned char *out,
crypto/libressl/include/openssl/modes.h
86
size_t len, const void *key,
crypto/libressl/include/openssl/modes.h
88
size_t CRYPTO_nistcts128_decrypt(const unsigned char *in, unsigned char *out,
crypto/libressl/include/openssl/modes.h
89
size_t len, const void *key,
crypto/libressl/include/openssl/modes.h
97
size_t len);
crypto/libressl/include/openssl/modes.h
99
size_t len);
crypto/libressl/include/openssl/objects.h
1028
size_t OBJ_length(const ASN1_OBJECT *obj);
crypto/libressl/include/openssl/poly1305.h
34
size_t aligner;
crypto/libressl/include/openssl/poly1305.h
42
size_t len);
crypto/libressl/include/openssl/rand.h
99
const char *RAND_file_name(char *file, size_t num);
crypto/libressl/include/openssl/rc4.h
82
void RC4(RC4_KEY *key, size_t len, const unsigned char *indata,
crypto/libressl/include/openssl/ripemd.h
96
int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len);
crypto/libressl/include/openssl/ripemd.h
98
unsigned char *RIPEMD160(const unsigned char *d, size_t n,
crypto/libressl/include/openssl/sha.h
102
int SHA1_Update(SHA_CTX *c, const void *data, size_t len)
crypto/libressl/include/openssl/sha.h
105
unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md)
crypto/libressl/include/openssl/sha.h
126
int SHA224_Update(SHA256_CTX *c, const void *data, size_t len)
crypto/libressl/include/openssl/sha.h
129
unsigned char *SHA224(const unsigned char *d, size_t n,unsigned char *md)
crypto/libressl/include/openssl/sha.h
132
int SHA256_Update(SHA256_CTX *c, const void *data, size_t len)
crypto/libressl/include/openssl/sha.h
135
unsigned char *SHA256(const unsigned char *d, size_t n,unsigned char *md)
crypto/libressl/include/openssl/sha.h
174
int SHA384_Update(SHA512_CTX *c, const void *data, size_t len)
crypto/libressl/include/openssl/sha.h
177
unsigned char *SHA384(const unsigned char *d, size_t n,unsigned char *md)
crypto/libressl/include/openssl/sha.h
180
int SHA512_Update(SHA512_CTX *c, const void *data, size_t len)
crypto/libressl/include/openssl/sha.h
183
unsigned char *SHA512(const unsigned char *d, size_t n,unsigned char *md)
crypto/libressl/include/openssl/sm3.h
46
int SM3_Update(SM3_CTX *c, const void *data, size_t len);
crypto/libressl/include/openssl/ssl.h
1020
int SSL_CTX_set1_groups(SSL_CTX *ctx, const int *groups, size_t groups_len);
crypto/libressl/include/openssl/ssl.h
1023
int SSL_set1_groups(SSL *ssl, const int *groups, size_t groups_len);
crypto/libressl/include/openssl/ssl.h
1207
size_t SSL_SESSION_get_master_key(const SSL_SESSION *ss,
crypto/libressl/include/openssl/ssl.h
1208
unsigned char *out, size_t max_out);
crypto/libressl/include/openssl/ssl.h
1306
int SSL_read_ex(SSL *ssl, void *buf, size_t num, size_t *bytes_read);
crypto/libressl/include/openssl/ssl.h
1307
int SSL_peek_ex(SSL *ssl, void *buf, size_t num, size_t *bytes_peeked);
crypto/libressl/include/openssl/ssl.h
1308
int SSL_write_ex(SSL *ssl, const void *buf, size_t num, size_t *bytes_written);
crypto/libressl/include/openssl/ssl.h
1325
int SSL_read_early_data(SSL *s, void *buf, size_t num, size_t *readbytes);
crypto/libressl/include/openssl/ssl.h
1326
int SSL_write_early_data(SSL *s, const void *buf, size_t num, size_t *written);
crypto/libressl/include/openssl/ssl.h
1498
size_t SSL_get_client_random(const SSL *s, unsigned char *out, size_t max_out);
crypto/libressl/include/openssl/ssl.h
1499
size_t SSL_get_server_random(const SSL *s, unsigned char *out, size_t max_out);
crypto/libressl/include/openssl/ssl.h
1661
size_t secret_len);
crypto/libressl/include/openssl/ssl.h
1673
const uint8_t *data, size_t len);
crypto/libressl/include/openssl/ssl.h
1707
const SSL_CIPHER *cipher, const uint8_t *secret, size_t secret_len);
crypto/libressl/include/openssl/ssl.h
1719
const SSL_CIPHER *cipher, const uint8_t *secret, size_t secret_len);
crypto/libressl/include/openssl/ssl.h
1744
size_t SSL_quic_max_handshake_flight_len(const SSL *ssl,
crypto/libressl/include/openssl/ssl.h
1765
const uint8_t *data, size_t len);
crypto/libressl/include/openssl/ssl.h
1783
size_t params_len);
crypto/libressl/include/openssl/ssl.h
1793
const uint8_t **out_params, size_t *out_params_len);
crypto/libressl/include/openssl/ssl.h
506
int version, int content_type, const void *buf, size_t len, SSL *ssl,
crypto/libressl/include/openssl/ssl.h
509
int content_type, const void *buf, size_t len, SSL *ssl, void *arg));
crypto/libressl/include/openssl/ssl.h
515
int SSL_set_num_tickets(SSL *s, size_t num_tickets);
crypto/libressl/include/openssl/ssl.h
516
size_t SSL_get_num_tickets(const SSL *s);
crypto/libressl/include/openssl/ssl.h
517
int SSL_CTX_set_num_tickets(SSL_CTX *ctx, size_t num_tickets);
crypto/libressl/include/openssl/ssl.h
518
size_t SSL_CTX_get_num_tickets(const SSL_CTX *ctx);
crypto/libressl/include/openssl/ssl.h
650
const unsigned char **id, size_t *idlen, SSL_SESSION **sess);
crypto/libressl/include/openssl/ssl.h
738
size_t SSL_get_finished(const SSL *s, void *buf, size_t count);
crypto/libressl/include/openssl/ssl.h
739
size_t SSL_get_peer_finished(const SSL *s, void *buf, size_t count);
crypto/libressl/include/openssl/tls1.h
315
int SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen,
crypto/libressl/include/openssl/tls1.h
316
const char *label, size_t llen, const unsigned char *p, size_t plen,
crypto/libressl/include/openssl/whrlpool.h
26
size_t bitlen[WHIRLPOOL_COUNTER/sizeof(size_t)];
crypto/libressl/include/openssl/whrlpool.h
31
int WHIRLPOOL_Update (WHIRLPOOL_CTX *c,const void *inp,size_t bytes);
crypto/libressl/include/openssl/whrlpool.h
32
void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c,const void *inp,size_t bits);
crypto/libressl/include/openssl/whrlpool.h
34
unsigned char *WHIRLPOOL(const void *inp,size_t bytes,unsigned char *md);
crypto/libressl/include/openssl/x509.h
564
int X509_NAME_get0_der(X509_NAME *nm, const unsigned char **pder, size_t *pderlen);
crypto/libressl/include/openssl/x509_verify.h
28
int x509_verify_ctx_set_max_depth(X509_VERIFY_CTX *ctx, size_t max);
crypto/libressl/include/openssl/x509_verify.h
29
int x509_verify_ctx_set_max_chains(X509_VERIFY_CTX *ctx, size_t max);
crypto/libressl/include/openssl/x509_verify.h
30
int x509_verify_ctx_set_max_signatures(X509_VERIFY_CTX *ctx, size_t max);
crypto/libressl/include/openssl/x509_verify.h
36
size_t x509_verify_ctx_error_depth(X509_VERIFY_CTX *ctx);
crypto/libressl/include/openssl/x509_verify.h
38
STACK_OF(X509) *x509_verify_ctx_chain(X509_VERIFY_CTX *ctx, size_t chain);
crypto/libressl/include/openssl/x509_verify.h
40
size_t x509_verify(X509_VERIFY_CTX *ctx, X509 *leaf, char *name);
crypto/libressl/include/openssl/x509_vfy.h
443
size_t namelen);
crypto/libressl/include/openssl/x509_vfy.h
445
size_t namelen);
crypto/libressl/include/openssl/x509_vfy.h
450
size_t emaillen);
crypto/libressl/include/openssl/x509_vfy.h
452
size_t iplen);
crypto/libressl/include/openssl/x509v3.h
832
int X509_check_host(X509 *x, const char *chk, size_t chklen,
crypto/libressl/include/openssl/x509v3.h
834
int X509_check_email(X509 *x, const char *chk, size_t chklen,
crypto/libressl/include/openssl/x509v3.h
836
int X509_check_ip(X509 *x, const unsigned char *chk, size_t chklen,
crypto/libressl/include/tls.h
103
size_t _cert_len, const uint8_t *_key, size_t _key_len);
crypto/libressl/include/tls.h
108
size_t _cert_len, const uint8_t *_key, size_t _key_len,
crypto/libressl/include/tls.h
109
const uint8_t *_staple, size_t _staple_len);
crypto/libressl/include/tls.h
114
size_t _len);
crypto/libressl/include/tls.h
118
size_t _len);
crypto/libressl/include/tls.h
122
size_t _len);
crypto/libressl/include/tls.h
128
size_t _len);
crypto/libressl/include/tls.h
132
size_t _cert_len, const uint8_t *_key, size_t _key_len);
crypto/libressl/include/tls.h
136
size_t _cert_len, const uint8_t *_key, size_t _key_len,
crypto/libressl/include/tls.h
137
const uint8_t *_staple, size_t staple_len);
crypto/libressl/include/tls.h
139
const uint8_t *_staple, size_t _len);
crypto/libressl/include/tls.h
162
const unsigned char *_session_id, size_t _len);
crypto/libressl/include/tls.h
165
unsigned char *_key, size_t _keylen);
crypto/libressl/include/tls.h
187
ssize_t tls_read(struct tls *_ctx, void *_buf, size_t _buflen);
crypto/libressl/include/tls.h
188
ssize_t tls_write(struct tls *_ctx, const void *_buf, size_t _buflen);
crypto/libressl/include/tls.h
199
const uint8_t *tls_peer_cert_chain_pem(struct tls *_ctx, size_t *_len);
crypto/libressl/include/tls.h
208
uint8_t *tls_load_file(const char *_file, size_t *_len, char *_password);
crypto/libressl/include/tls.h
209
void tls_unload_file(uint8_t *_buf, size_t len);
crypto/libressl/include/tls.h
212
size_t _size);
crypto/libressl/include/tls.h
85
typedef ssize_t (*tls_read_cb)(struct tls *_ctx, void *_buf, size_t _buflen,
crypto/libressl/include/tls.h
88
size_t _buflen, void *_cb_arg);
crypto/libressl/ssl/bs_cbb.c
104
size_t newcap = base->cap * 2;
crypto/libressl/ssl/bs_cbb.c
129
cbb_add_u(CBB *cbb, uint32_t v, size_t len_len)
crypto/libressl/ssl/bs_cbb.c
132
size_t i;
crypto/libressl/ssl/bs_cbb.c
151
CBB_finish(CBB *cbb, uint8_t **out_data, size_t *out_len)
crypto/libressl/ssl/bs_cbb.c
188
size_t child_start, i, len;
crypto/libressl/ssl/bs_cbb.c
213
size_t len_len = 1; /* total number of length octets */
crypto/libressl/ssl/bs_cbb.c
248
size_t extra_bytes = len_len - 1;
crypto/libressl/ssl/bs_cbb.c
26
cbb_init(CBB *cbb, uint8_t *buf, size_t cap)
crypto/libressl/ssl/bs_cbb.c
291
cbb_add_length_prefixed(CBB *cbb, CBB *out_contents, size_t len_len)
crypto/libressl/ssl/bs_cbb.c
362
CBB_add_bytes(CBB *cbb, const uint8_t *data, size_t len)
crypto/libressl/ssl/bs_cbb.c
374
CBB_add_space(CBB *cbb, uint8_t **out_data, size_t len)
crypto/libressl/ssl/bs_cbb.c
384
CBB_add_u8(CBB *cbb, size_t value)
crypto/libressl/ssl/bs_cbb.c
393
CBB_add_u16(CBB *cbb, size_t value)
crypto/libressl/ssl/bs_cbb.c
402
CBB_add_u24(CBB *cbb, size_t value)
crypto/libressl/ssl/bs_cbb.c
411
CBB_add_u32(CBB *cbb, size_t value)
crypto/libressl/ssl/bs_cbb.c
436
size_t i;
crypto/libressl/ssl/bs_cbb.c
45
CBB_init(CBB *cbb, size_t initial_capacity)
crypto/libressl/ssl/bs_cbb.c
66
CBB_init_fixed(CBB *cbb, uint8_t *buf, size_t len)
crypto/libressl/ssl/bs_cbb.c
91
cbb_buffer_add(struct cbb_buffer_st *base, uint8_t **out, size_t len)
crypto/libressl/ssl/bs_cbb.c
93
size_t newlen;
crypto/libressl/ssl/bs_cbs.c
118
CBS_write_bytes(const CBS *cbs, uint8_t *dst, size_t dst_len, size_t *copied)
crypto/libressl/ssl/bs_cbs.c
138
CBS_mem_equal(const CBS *cbs, const uint8_t *data, size_t len)
crypto/libressl/ssl/bs_cbs.c
147
cbs_get_u(CBS *cbs, uint32_t *out, size_t len)
crypto/libressl/ssl/bs_cbs.c
150
size_t i;
crypto/libressl/ssl/bs_cbs.c
232
CBS_get_bytes(CBS *cbs, CBS *out, size_t len)
crypto/libressl/ssl/bs_cbs.c
24
CBS_init(CBS *cbs, const uint8_t *data, size_t len)
crypto/libressl/ssl/bs_cbs.c
244
cbs_get_length_prefixed(CBS *cbs, CBS *out, size_t len_len)
crypto/libressl/ssl/bs_cbs.c
273
cbs_peek_u(CBS *cbs, uint32_t *out, size_t len)
crypto/libressl/ssl/bs_cbs.c
276
size_t i;
crypto/libressl/ssl/bs_cbs.c
341
size_t *out_header_len)
crypto/libressl/ssl/bs_cbs.c
358
size_t *out_header_len, int strict)
crypto/libressl/ssl/bs_cbs.c
363
size_t len;
crypto/libressl/ssl/bs_cbs.c
384
len = ((size_t) length_byte) + 2;
crypto/libressl/ssl/bs_cbs.c
39
cbs_get(CBS *cbs, const uint8_t **p, size_t n)
crypto/libressl/ssl/bs_cbs.c
390
const size_t num_bytes = length_byte & 0x7f;
crypto/libressl/ssl/bs_cbs.c
445
size_t header_len;
crypto/libressl/ssl/bs_cbs.c
496
size_t i, len;
crypto/libressl/ssl/bs_cbs.c
51
cbs_peek(CBS *cbs, const uint8_t **p, size_t n)
crypto/libressl/ssl/bs_cbs.c
60
size_t
crypto/libressl/ssl/bs_cbs.c
67
CBS_skip(CBS *cbs, size_t len)
crypto/libressl/ssl/bs_cbs.c
79
size_t
crypto/libressl/ssl/bs_cbs.c
86
CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len)
crypto/libressl/ssl/bytestring.h
110
int CBS_mem_equal(const CBS *cbs, const uint8_t *data, size_t len);
crypto/libressl/ssl/bytestring.h
152
int CBS_get_bytes(CBS *cbs, CBS *out, size_t len);
crypto/libressl/ssl/bytestring.h
286
size_t *out_header_len);
crypto/libressl/ssl/bytestring.h
358
size_t len;
crypto/libressl/ssl/bytestring.h
361
size_t cap;
crypto/libressl/ssl/bytestring.h
377
size_t offset;
crypto/libressl/ssl/bytestring.h
40
size_t initial_len;
crypto/libressl/ssl/bytestring.h
402
int CBB_init(CBB *cbb, size_t initial_capacity);
crypto/libressl/ssl/bytestring.h
409
int CBB_init_fixed(CBB *cbb, uint8_t *buf, size_t len);
crypto/libressl/ssl/bytestring.h
41
size_t len;
crypto/libressl/ssl/bytestring.h
428
int CBB_finish(CBB *cbb, uint8_t **out_data, size_t *out_len);
crypto/libressl/ssl/bytestring.h
477
int CBB_add_bytes(CBB *cbb, const uint8_t *data, size_t len);
crypto/libressl/ssl/bytestring.h
48
void CBS_init(CBS *cbs, const uint8_t *data, size_t len);
crypto/libressl/ssl/bytestring.h
485
int CBB_add_space(CBB *cbb, uint8_t **out_data, size_t len);
crypto/libressl/ssl/bytestring.h
491
int CBB_add_u8(CBB *cbb, size_t value);
crypto/libressl/ssl/bytestring.h
497
int CBB_add_u16(CBB *cbb, size_t value);
crypto/libressl/ssl/bytestring.h
503
int CBB_add_u24(CBB *cbb, size_t value);
crypto/libressl/ssl/bytestring.h
509
int CBB_add_u32(CBB *cbb, size_t value);
crypto/libressl/ssl/bytestring.h
54
int CBS_skip(CBS *cbs, size_t len);
crypto/libressl/ssl/bytestring.h
542
size_t *out_header_len, int strict);
crypto/libressl/ssl/bytestring.h
561
int CBS_asn1_indefinite_to_definite(CBS *in, uint8_t **out, size_t *out_len);
crypto/libressl/ssl/bytestring.h
64
size_t CBS_len(const CBS *cbs);
crypto/libressl/ssl/bytestring.h
69
size_t CBS_offset(const CBS *cbs);
crypto/libressl/ssl/bytestring.h
78
int CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len);
crypto/libressl/ssl/bytestring.h
96
int CBS_write_bytes(const CBS *cbs, uint8_t *dst, size_t dst_len,
crypto/libressl/ssl/bytestring.h
97
size_t *copied);
crypto/libressl/ssl/d1_both.c
216
size_t overhead;
crypto/libressl/ssl/d1_both.c
347
(size_t)(s->internal->init_off + s->internal->init_num),
crypto/libressl/ssl/d1_both.c
437
size_t frag_off, frag_len, msg_len;
crypto/libressl/ssl/d1_pkt.c
143
if (((size_t)v1 | (size_t)v2) & 0x7)
crypto/libressl/ssl/d1_pkt.c
299
size_t out_len;
crypto/libressl/ssl/d1_pkt.c
932
size_t out_len;
crypto/libressl/ssl/s3_cbc.c
219
rotated_mac = rotated_mac_buf + ((0 - (size_t)rotated_mac_buf)&63);
crypto/libressl/ssl/s3_cbc.c
380
size_t* md_out_size, const unsigned char header[13],
crypto/libressl/ssl/s3_cbc.c
381
const unsigned char *data, size_t data_plus_mac_size,
crypto/libressl/ssl/s3_cbc.c
382
size_t data_plus_mac_plus_padding_size, const unsigned char *mac_secret,
crypto/libressl/ssl/s3_lib.c
1487
size_t outlen;
crypto/libressl/ssl/s3_lib.c
1594
size_t rlen, wlen;
crypto/libressl/ssl/s3_lib.c
1668
size_t count;
crypto/libressl/ssl/s3_lib.c
1909
s->internal->tlsext_ocsp_resp_len = (size_t)resp_len;
crypto/libressl/ssl/s3_lib.c
1956
SSL_set1_groups(SSL *s, const int *groups, size_t groups_len)
crypto/libressl/ssl/s3_lib.c
2385
SSL_CTX_set1_groups(SSL_CTX *ctx, const int *groups, size_t groups_len)
crypto/libressl/ssl/ssl_asn1.c
194
SSL_SESSION_ticket(SSL_SESSION *ss, unsigned char **out, size_t *out_len)
crypto/libressl/ssl/ssl_asn1.c
209
size_t data_len = 0;
crypto/libressl/ssl/ssl_asn1.c
251
size_t data_len;
crypto/libressl/ssl/ssl_asn1.c
47
SSL_SESSION_encode(SSL_SESSION *s, unsigned char **out, size_t *out_len,
crypto/libressl/ssl/ssl_both.c
154
(size_t)(s->internal->init_off + s->internal->init_num));
crypto/libressl/ssl/ssl_both.c
270
size_t outlen;
crypto/libressl/ssl/ssl_both.c
513
(size_t)s->internal->init_num + SSL3_HM_HEADER_LENGTH);
crypto/libressl/ssl/ssl_both.c
638
size_t len, align, headerlen;
crypto/libressl/ssl/ssl_both.c
668
size_t len, align, headerlen;
crypto/libressl/ssl/ssl_clnt.c
1289
size_t param_len;
crypto/libressl/ssl/ssl_clnt.c
1841
size_t key_len = 0;
crypto/libressl/ssl/ssl_clnt.c
1879
size_t key_len = 0;
crypto/libressl/ssl/ssl_clnt.c
1921
size_t msglen;
crypto/libressl/ssl/ssl_clnt.c
2085
size_t signature_len, hdata_len;
crypto/libressl/ssl/ssl_clnt.c
2154
size_t data_len;
crypto/libressl/ssl/ssl_clnt.c
2227
size_t signature_len;
crypto/libressl/ssl/ssl_clnt.c
2228
size_t hdata_len;
crypto/libressl/ssl/ssl_clnt.c
649
size_t sl;
crypto/libressl/ssl/ssl_clnt.c
759
size_t cookie_len;
crypto/libressl/ssl/ssl_kex.c
242
uint8_t **shared_key, size_t *shared_key_len)
crypto/libressl/ssl/ssl_kex.c
335
size_t ecp_len;
crypto/libressl/ssl/ssl_kex.c
390
uint8_t **shared_key, size_t *shared_key_len)
crypto/libressl/ssl/ssl_kex.c
60
ssl_kex_generate_dhe_params_auto(DH *dh, size_t key_bits)
crypto/libressl/ssl/ssl_lib.c
1051
SSL_read_ex(SSL *s, void *buf, size_t num, size_t *bytes_read)
crypto/libressl/ssl/ssl_lib.c
1094
SSL_peek_ex(SSL *s, void *buf, size_t num, size_t *bytes_peeked)
crypto/libressl/ssl/ssl_lib.c
1139
SSL_write_ex(SSL *s, const void *buf, size_t num, size_t *bytes_written)
crypto/libressl/ssl/ssl_lib.c
1194
SSL_read_early_data(SSL *s, void *buf, size_t num, size_t *readbytes)
crypto/libressl/ssl/ssl_lib.c
1207
SSL_write_early_data(SSL *s, const void *buf, size_t num, size_t *written)
crypto/libressl/ssl/ssl_lib.c
1634
size_t curlen = 0;
crypto/libressl/ssl/ssl_lib.c
1873
SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen,
crypto/libressl/ssl/ssl_lib.c
1874
const char *label, size_t llen, const unsigned char *p, size_t plen,
crypto/libressl/ssl/ssl_lib.c
2336
size_t
crypto/libressl/ssl/ssl_lib.c
2610
size_t
crypto/libressl/ssl/ssl_lib.c
2614
size_t flight_len;
crypto/libressl/ssl/ssl_lib.c
2671
const uint8_t *data, size_t len)
crypto/libressl/ssl/ssl_lib.c
2940
const void *msg_buf, size_t msg_len)
crypto/libressl/ssl/ssl_lib.c
2988
size_t
crypto/libressl/ssl/ssl_lib.c
2989
SSL_get_client_random(const SSL *s, unsigned char *out, size_t max_out)
crypto/libressl/ssl/ssl_lib.c
2991
size_t len = sizeof(s->s3->client_random);
crypto/libressl/ssl/ssl_lib.c
3004
size_t
crypto/libressl/ssl/ssl_lib.c
3005
SSL_get_server_random(const SSL *s, unsigned char *out, size_t max_out)
crypto/libressl/ssl/ssl_lib.c
3007
size_t len = sizeof(s->s3->server_random);
crypto/libressl/ssl/ssl_lib.c
3339
int content_type, const void *buf, size_t len, SSL *ssl, void *arg))
crypto/libressl/ssl/ssl_lib.c
3347
int content_type, const void *buf, size_t len, SSL *ssl, void *arg))
crypto/libressl/ssl/ssl_lib.c
3457
size_t params_len)
crypto/libressl/ssl/ssl_lib.c
3475
size_t *out_params_len)
crypto/libressl/ssl/ssl_lib.c
730
size_t
crypto/libressl/ssl/ssl_lib.c
731
SSL_get_finished(const SSL *s, void *buf, size_t count)
crypto/libressl/ssl/ssl_lib.c
733
size_t ret;
crypto/libressl/ssl/ssl_lib.c
743
size_t
crypto/libressl/ssl/ssl_lib.c
744
SSL_get_peer_finished(const SSL *s, void *buf, size_t count)
crypto/libressl/ssl/ssl_lib.c
746
size_t ret;
crypto/libressl/ssl/ssl_lib.c
787
SSL_set_num_tickets(SSL *s, size_t num_tickets)
crypto/libressl/ssl/ssl_lib.c
794
size_t
crypto/libressl/ssl/ssl_lib.c
801
SSL_CTX_set_num_tickets(SSL_CTX *ctx, size_t num_tickets)
crypto/libressl/ssl/ssl_lib.c
808
size_t
crypto/libressl/ssl/ssl_locl.h
1041
size_t tlsext_ocsp_resp_len;
crypto/libressl/ssl/ssl_locl.h
1046
size_t tlsext_ecpointformatlist_length;
crypto/libressl/ssl/ssl_locl.h
1048
size_t tlsext_supportedgroups_length;
crypto/libressl/ssl/ssl_locl.h
1067
size_t num_tickets; /* Unused, for OpenSSL compatibility */
crypto/libressl/ssl/ssl_locl.h
1103
size_t sid_ctx_length;
crypto/libressl/ssl/ssl_locl.h
1152
size_t len; /* buffer size */
crypto/libressl/ssl/ssl_locl.h
1233
size_t alpn_selected_len;
crypto/libressl/ssl/ssl_locl.h
1237
size_t peer_quic_transport_params_len;
crypto/libressl/ssl/ssl_locl.h
1292
const void *msg_buf, size_t msg_len);
crypto/libressl/ssl/ssl_locl.h
1350
size_t ssl_dhe_params_auto_key_bits(SSL *s);
crypto/libressl/ssl/ssl_locl.h
1357
int SSL_SESSION_ticket(SSL_SESSION *ss, unsigned char **out, size_t *out_len);
crypto/libressl/ssl/ssl_locl.h
1457
int ssl_kex_generate_dhe_params_auto(DH *dh, size_t key_len);
crypto/libressl/ssl/ssl_locl.h
1465
uint8_t **shared_key, size_t *shared_key_len);
crypto/libressl/ssl/ssl_locl.h
1472
uint8_t **shared_key, size_t *shared_key_len);
crypto/libressl/ssl/ssl_locl.h
1482
int tls1_transcript_hash_update(SSL *s, const unsigned char *buf, size_t len);
crypto/libressl/ssl/ssl_locl.h
1483
int tls1_transcript_hash_value(SSL *s, unsigned char *out, size_t len,
crypto/libressl/ssl/ssl_locl.h
1484
size_t *outlen);
crypto/libressl/ssl/ssl_locl.h
1490
int tls1_transcript_append(SSL *s, const unsigned char *buf, size_t len);
crypto/libressl/ssl/ssl_locl.h
1491
int tls1_transcript_data(SSL *s, const unsigned char **data, size_t *len);
crypto/libressl/ssl/ssl_locl.h
1494
int tls1_transcript_record(SSL *s, const unsigned char *buf, size_t len);
crypto/libressl/ssl/ssl_locl.h
1496
int tls1_PRF(SSL *s, const unsigned char *secret, size_t secret_len,
crypto/libressl/ssl/ssl_locl.h
1497
const void *seed1, size_t seed1_len, const void *seed2, size_t seed2_len,
crypto/libressl/ssl/ssl_locl.h
1498
const void *seed3, size_t seed3_len, const void *seed4, size_t seed4_len,
crypto/libressl/ssl/ssl_locl.h
1499
const void *seed5, size_t seed5_len, unsigned char *out, size_t out_len);
crypto/libressl/ssl/ssl_locl.h
1505
int tls1_generate_key_block(SSL *s, uint8_t *key_block, size_t key_block_len);
crypto/libressl/ssl/ssl_locl.h
1506
int tls1_export_keying_material(SSL *s, unsigned char *out, size_t olen,
crypto/libressl/ssl/ssl_locl.h
1507
const char *label, size_t llen, const unsigned char *p, size_t plen,
crypto/libressl/ssl/ssl_locl.h
1514
size_t premaster_secret_len);
crypto/libressl/ssl/ssl_locl.h
1520
const uint8_t **pformats, size_t *pformatslen);
crypto/libressl/ssl/ssl_locl.h
1522
const uint16_t **pgroups, size_t *pgroupslen);
crypto/libressl/ssl/ssl_locl.h
1524
int tls1_set_groups(uint16_t **out_group_ids, size_t *out_group_ids_len,
crypto/libressl/ssl/ssl_locl.h
1525
const int *groups, size_t ngroups);
crypto/libressl/ssl/ssl_locl.h
1526
int tls1_set_group_list(uint16_t **out_group_ids, size_t *out_group_ids_len,
crypto/libressl/ssl/ssl_locl.h
1533
int tls1_count_shared_groups(const SSL *ssl, size_t *out_count);
crypto/libressl/ssl/ssl_locl.h
1534
int tls1_get_shared_group_by_index(const SSL *ssl, size_t index, int *out_nid);
crypto/libressl/ssl/ssl_locl.h
1558
size_t *md_out_size, const unsigned char header[13],
crypto/libressl/ssl/ssl_locl.h
1559
const unsigned char *data, size_t data_plus_mac_size,
crypto/libressl/ssl/ssl_locl.h
1560
size_t data_plus_mac_plus_padding_size, const unsigned char *mac_secret,
crypto/libressl/ssl/ssl_locl.h
471
size_t master_key_length;
crypto/libressl/ssl/ssl_locl.h
475
size_t session_id_length;
crypto/libressl/ssl/ssl_locl.h
481
size_t sid_ctx_length;
crypto/libressl/ssl/ssl_locl.h
507
size_t tlsext_ticklen; /* Session ticket length */
crypto/libressl/ssl/ssl_locl.h
521
size_t tlsext_ecpointformatlist_length;
crypto/libressl/ssl/ssl_locl.h
523
size_t tlsext_supportedgroups_length;
crypto/libressl/ssl/ssl_locl.h
568
size_t cookie_len;
crypto/libressl/ssl/ssl_locl.h
572
size_t transcript_hash_len;
crypto/libressl/ssl/ssl_locl.h
576
size_t legacy_session_id_len;
crypto/libressl/ssl/ssl_locl.h
633
size_t sigalgs_len;
crypto/libressl/ssl/ssl_locl.h
643
size_t finished_len;
crypto/libressl/ssl/ssl_locl.h
645
size_t peer_finished_len;
crypto/libressl/ssl/ssl_locl.h
681
size_t *overhead);
crypto/libressl/ssl/ssl_locl.h
707
uint8_t *buf, size_t buf_len, uint8_t **out, size_t *out_len);
crypto/libressl/ssl/ssl_locl.h
709
uint8_t content_type, const uint8_t *content, size_t content_len,
crypto/libressl/ssl/ssl_locl.h
714
const void *buf, size_t len, SSL *ssl, void *arg);
crypto/libressl/ssl/ssl_locl.h
874
size_t alpn_client_proto_list_len;
crypto/libressl/ssl/ssl_locl.h
876
size_t tlsext_ecpointformatlist_length;
crypto/libressl/ssl/ssl_locl.h
878
size_t tlsext_supportedgroups_length;
crypto/libressl/ssl/ssl_locl.h
881
size_t num_tickets; /* Unused, for OpenSSL compatibility */
crypto/libressl/ssl/ssl_locl.h
904
size_t sid_ctx_length;
crypto/libressl/ssl/ssl_locl.h
941
size_t alpn_client_proto_list_len;
crypto/libressl/ssl/ssl_locl.h
945
size_t quic_transport_params_len;
crypto/libressl/ssl/ssl_packet.c
78
size_t data_len, pad_len, len;
crypto/libressl/ssl/ssl_pkt.c
155
size_t align;
crypto/libressl/ssl/ssl_pkt.c
166
align = (size_t)rb->buf + SSL3_RT_HEADER_LENGTH;
crypto/libressl/ssl/ssl_pkt.c
334
size_t out_len;
crypto/libressl/ssl/ssl_pkt.c
537
size_t align, out_len;
crypto/libressl/ssl/ssl_pkt.c
597
align = (size_t)wb->buf + SSL3_RT_HEADER_LENGTH;
crypto/libressl/ssl/ssl_sess.c
813
size_t
crypto/libressl/ssl/ssl_sess.c
815
size_t max_out)
crypto/libressl/ssl/ssl_sess.c
817
size_t len = ss->master_key_length;
crypto/libressl/ssl/ssl_sigalgs.c
181
const size_t tls13_sigalgs_len = (sizeof(tls13_sigalgs) / sizeof(tls13_sigalgs[0]));
crypto/libressl/ssl/ssl_sigalgs.c
197
const size_t tls12_sigalgs_len = (sizeof(tls12_sigalgs) / sizeof(tls12_sigalgs[0]));
crypto/libressl/ssl/ssl_sigalgs.c
201
size_t *out_len)
crypto/libressl/ssl/ssl_sigalgs.c
229
size_t len;
crypto/libressl/ssl/ssl_sigalgs.c
248
size_t len;
crypto/libressl/ssl/ssl_sigalgs.c
249
size_t i;
crypto/libressl/ssl/ssl_srvr.c
1052
size_t index = SSL3_RANDOM_SIZE - sizeof(tls13_downgrade_12);
crypto/libressl/ssl/ssl_srvr.c
1218
size_t sl;
crypto/libressl/ssl/ssl_srvr.c
1329
size_t key_bits;
crypto/libressl/ssl/ssl_srvr.c
1422
size_t signature_len = 0;
crypto/libressl/ssl/ssl_srvr.c
1424
size_t params_len;
crypto/libressl/ssl/ssl_srvr.c
1594
size_t name_len;
crypto/libressl/ssl/ssl_srvr.c
1628
size_t pms_len = 0;
crypto/libressl/ssl/ssl_srvr.c
1723
size_t key_len = 0;
crypto/libressl/ssl/ssl_srvr.c
1765
size_t key_len = 0;
crypto/libressl/ssl/ssl_srvr.c
1811
size_t outlen;
crypto/libressl/ssl/ssl_srvr.c
1933
size_t hdatalen;
crypto/libressl/ssl/ssl_srvr.c
2318
size_t enc_session_len, enc_session_max_len, hmac_len;
crypto/libressl/ssl/ssl_srvr.c
2319
size_t session_len = 0;
crypto/libressl/ssl/ssl_srvr.c
939
size_t cookie_len;
crypto/libressl/ssl/ssl_tlsext.c
1127
size_t ticklen = s->internal->tlsext_session_ticket->length;
crypto/libressl/ssl/ssl_tlsext.c
203
size_t groups_len;
crypto/libressl/ssl/ssl_tlsext.c
2209
tls_extension_find(uint16_t type, size_t *tls_extensions_idx)
crypto/libressl/ssl/ssl_tlsext.c
2211
size_t i;
crypto/libressl/ssl/ssl_tlsext.c
2226
size_t idx;
crypto/libressl/ssl/ssl_tlsext.c
2250
size_t i;
crypto/libressl/ssl/ssl_tlsext.c
2324
size_t idx;
crypto/libressl/ssl/ssl_tlsext.c
235
size_t groups_len;
crypto/libressl/ssl/ssl_tlsext.c
331
size_t formats_len;
crypto/libressl/ssl/ssl_tlsext.c
881
size_t ext_len;
crypto/libressl/ssl/ssl_tlsext.c
891
size_t id_len;
crypto/libressl/ssl/ssl_transcript.c
146
tls1_transcript_append(SSL *s, const unsigned char *buf, size_t len)
crypto/libressl/ssl/ssl_transcript.c
158
tls1_transcript_data(SSL *s, const unsigned char **data, size_t *len)
crypto/libressl/ssl/ssl_transcript.c
188
tls1_transcript_record(SSL *s, const unsigned char *buf, size_t len)
crypto/libressl/ssl/ssl_transcript.c
28
size_t len;
crypto/libressl/ssl/ssl_transcript.c
64
tls1_transcript_hash_update(SSL *s, const unsigned char *buf, size_t len)
crypto/libressl/ssl/ssl_transcript.c
73
tls1_transcript_hash_value(SSL *s, unsigned char *out, size_t len,
crypto/libressl/ssl/ssl_transcript.c
74
size_t *outlen)
crypto/libressl/ssl/ssl_txt.c
111
size_t i;
crypto/libressl/ssl/t1_enc.c
160
tls1_P_hash(const EVP_MD *md, const unsigned char *secret, size_t secret_len,
crypto/libressl/ssl/t1_enc.c
161
const void *seed1, size_t seed1_len, const void *seed2, size_t seed2_len,
crypto/libressl/ssl/t1_enc.c
162
const void *seed3, size_t seed3_len, const void *seed4, size_t seed4_len,
crypto/libressl/ssl/t1_enc.c
163
const void *seed5, size_t seed5_len, unsigned char *out, size_t out_len)
crypto/libressl/ssl/t1_enc.c
166
size_t A1_len, hmac_len;
crypto/libressl/ssl/t1_enc.c
171
size_t i;
crypto/libressl/ssl/t1_enc.c
247
tls1_PRF(SSL *s, const unsigned char *secret, size_t secret_len,
crypto/libressl/ssl/t1_enc.c
248
const void *seed1, size_t seed1_len, const void *seed2, size_t seed2_len,
crypto/libressl/ssl/t1_enc.c
249
const void *seed3, size_t seed3_len, const void *seed4, size_t seed4_len,
crypto/libressl/ssl/t1_enc.c
250
const void *seed5, size_t seed5_len, unsigned char *out, size_t out_len)
crypto/libressl/ssl/t1_enc.c
253
size_t half_len;
crypto/libressl/ssl/t1_enc.c
289
tls1_generate_key_block(SSL *s, uint8_t *key_block, size_t key_block_len)
crypto/libressl/ssl/t1_enc.c
418
tls1_export_keying_material(SSL *s, unsigned char *out, size_t olen,
crypto/libressl/ssl/t1_enc.c
419
const char *label, size_t llen, const unsigned char *context,
crypto/libressl/ssl/t1_enc.c
420
size_t contextlen, int use_context)
crypto/libressl/ssl/t1_enc.c
423
size_t vallen, currentvalpos;
crypto/libressl/ssl/t1_lib.c
399
size_t *pformatslen)
crypto/libressl/ssl/t1_lib.c
422
size_t *pgroupslen)
crypto/libressl/ssl/t1_lib.c
445
tls1_get_group_lists(const SSL *ssl, const uint16_t **pref, size_t *preflen,
crypto/libressl/ssl/t1_lib.c
446
const uint16_t **supp, size_t *supplen)
crypto/libressl/ssl/t1_lib.c
462
tls1_group_id_present(uint16_t group_id, const uint16_t *list, size_t list_len)
crypto/libressl/ssl/t1_lib.c
464
size_t i;
crypto/libressl/ssl/t1_lib.c
475
tls1_count_shared_groups(const SSL *ssl, size_t *out_count)
crypto/libressl/ssl/t1_lib.c
477
size_t count, preflen, supplen, i;
crypto/libressl/ssl/t1_lib.c
500
tls1_group_by_index(const SSL *ssl, size_t n, int *out_nid,
crypto/libressl/ssl/t1_lib.c
503
size_t count, preflen, supplen, i;
crypto/libressl/ssl/t1_lib.c
525
tls1_get_shared_group_by_index(const SSL *ssl, size_t index, int *out_nid)
crypto/libressl/ssl/t1_lib.c
539
tls1_set_groups(uint16_t **out_group_ids, size_t *out_group_ids_len,
crypto/libressl/ssl/t1_lib.c
540
const int *groups, size_t ngroups)
crypto/libressl/ssl/t1_lib.c
543
size_t i;
crypto/libressl/ssl/t1_lib.c
563
tls1_set_group_list(uint16_t **out_group_ids, size_t *out_group_ids_len,
crypto/libressl/ssl/t1_lib.c
567
size_t ngroups = 0;
crypto/libressl/ssl/t1_lib.c
614
size_t groupslen, i;
crypto/libressl/ssl/t1_lib.c
672
size_t groupslen, formatslen, i;
crypto/libressl/ssl/t1_lib.c
984
size_t sdec_len = 0;
crypto/libressl/ssl/tls12_key_schedule.c
34
size_t key_block_len;
crypto/libressl/ssl/tls12_key_schedule.c
91
size_t mac_key_len = 0, key_len = 0, iv_len = 0;
crypto/libressl/ssl/tls12_key_schedule.c
93
size_t key_block_len = 0;
crypto/libressl/ssl/tls12_lib.c
22
size_t finished_label_len, uint8_t *verify_data, size_t verify_data_len,
crypto/libressl/ssl/tls12_lib.c
23
size_t *out_len)
crypto/libressl/ssl/tls12_lib.c
26
size_t transcript_hash_len;
crypto/libressl/ssl/tls12_lib.c
53
size_t verify_data_len, size_t *out_len)
crypto/libressl/ssl/tls12_lib.c
62
size_t verify_data_len, size_t *out_len)
crypto/libressl/ssl/tls12_lib.c
99
size_t premaster_secret_len)
crypto/libressl/ssl/tls12_record_layer.c
103
size_t *out_eiv_len)
crypto/libressl/ssl/tls12_record_layer.c
1076
size_t buf_len, uint8_t **out, size_t *out_len)
crypto/libressl/ssl/tls12_record_layer.c
1130
uint8_t content_type, const uint8_t *content, size_t content_len, CBB *out)
crypto/libressl/ssl/tls12_record_layer.c
1141
size_t content_len, CBB *out)
crypto/libressl/ssl/tls12_record_layer.c
1145
size_t header_len = 0;
crypto/libressl/ssl/tls12_record_layer.c
1146
size_t enc_record_len, out_len;
crypto/libressl/ssl/tls12_record_layer.c
1196
size_t content_len, CBB *out)
crypto/libressl/ssl/tls12_record_layer.c
1199
size_t block_size, eiv_len, mac_len, pad_len;
crypto/libressl/ssl/tls12_record_layer.c
1202
size_t plain_len = 0;
crypto/libressl/ssl/tls12_record_layer.c
125
size_t *out_block_size)
crypto/libressl/ssl/tls12_record_layer.c
1271
uint8_t content_type, const uint8_t *content, size_t content_len, CBB *cbb)
crypto/libressl/ssl/tls12_record_layer.c
1274
size_t seq_num_len = 0;
crypto/libressl/ssl/tls12_record_layer.c
145
size_t *out_mac_len)
crypto/libressl/ssl/tls12_record_layer.c
228
size_t *overhead)
crypto/libressl/ssl/tls12_record_layer.c
230
size_t block_size, eiv_len, mac_len;
crypto/libressl/ssl/tls12_record_layer.c
35
size_t aead_nonce_len;
crypto/libressl/ssl/tls12_record_layer.c
38
size_t aead_fixed_nonce_len;
crypto/libressl/ssl/tls12_record_layer.c
396
const uint8_t *mac_key, size_t mac_key_len)
crypto/libressl/ssl/tls12_record_layer.c
40
size_t aead_variable_nonce_len;
crypto/libressl/ssl/tls12_record_layer.c
41
size_t aead_tag_len;
crypto/libressl/ssl/tls12_record_layer.c
52
size_t mac_key_len;
crypto/libressl/ssl/tls12_record_layer.c
631
uint16_t epoch, uint8_t *seq_num, size_t seq_num_len)
crypto/libressl/ssl/tls12_record_layer.c
650
size_t *out_len)
crypto/libressl/ssl/tls12_record_layer.c
684
const uint8_t *content, size_t content_len, size_t *out_len)
crypto/libressl/ssl/tls12_record_layer.c
688
size_t header_len = 0;
crypto/libressl/ssl/tls12_record_layer.c
689
size_t mac_len;
crypto/libressl/ssl/tls12_record_layer.c
733
size_t content_len, size_t mac_len, size_t padding_len)
crypto/libressl/ssl/tls12_record_layer.c
736
size_t header_len = 0;
crypto/libressl/ssl/tls12_record_layer.c
738
size_t out_mac_len = 0;
crypto/libressl/ssl/tls12_record_layer.c
772
size_t content_len)
crypto/libressl/ssl/tls12_record_layer.c
775
size_t out_len;
crypto/libressl/ssl/tls12_record_layer.c
788
size_t content_len, size_t *out_len)
crypto/libressl/ssl/tls12_record_layer.c
867
uint8_t content_type, CBS *fragment, uint8_t **out, size_t *out_len)
crypto/libressl/ssl/tls12_record_layer.c
882
size_t *out_len)
crypto/libressl/ssl/tls12_record_layer.c
886
size_t header_len = 0;
crypto/libressl/ssl/tls12_record_layer.c
888
size_t plain_len;
crypto/libressl/ssl/tls12_record_layer.c
952
size_t *out_len)
crypto/libressl/ssl/tls12_record_layer.c
956
size_t block_size, eiv_len;
crypto/libressl/ssl/tls12_record_layer.c
958
size_t mac_len = 0;
crypto/libressl/ssl/tls12_record_layer.c
960
size_t out_mac_len = 0;
crypto/libressl/ssl/tls12_record_layer.c
962
size_t plain_len;
crypto/libressl/ssl/tls12_record_layer.c
963
size_t min_len;
crypto/libressl/ssl/tls13_client.c
1005
size_t transcript_hash_len;
crypto/libressl/ssl/tls13_client.c
1007
size_t verify_data_len;
crypto/libressl/ssl/tls13_client.c
31
size_t groups_len;
crypto/libressl/ssl/tls13_client.c
339
size_t shared_key_len = 0;
crypto/libressl/ssl/tls13_client.c
340
size_t hash_len;
crypto/libressl/ssl/tls13_client.c
637
size_t sig_content_len;
crypto/libressl/ssl/tls13_client.c
720
size_t transcript_hash_len;
crypto/libressl/ssl/tls13_client.c
722
size_t verify_data_len;
crypto/libressl/ssl/tls13_client.c
917
size_t sig_len, sig_content_len;
crypto/libressl/ssl/tls13_handshake.c
253
const size_t handshake_count = sizeof(handshakes) / sizeof(handshakes[0]);
crypto/libressl/ssl/tls13_handshake_msg.c
114
tls13_handshake_msg_read_cb(void *buf, size_t n, void *cb_arg)
crypto/libressl/ssl/tls13_handshake_msg.c
29
size_t data_len;
crypto/libressl/ssl/tls13_internal.h
113
size_t len;
crypto/libressl/ssl/tls13_internal.h
143
int tls13_secret_init(struct tls13_secret *secret, size_t len);
crypto/libressl/ssl/tls13_internal.h
154
const uint8_t *label, size_t label_len, const struct tls13_secret *context);
crypto/libressl/ssl/tls13_internal.h
161
const uint8_t *label, size_t label_len, const struct tls13_secret *context);
crypto/libressl/ssl/tls13_internal.h
164
size_t psk_len, const struct tls13_secret *context);
crypto/libressl/ssl/tls13_internal.h
166
const uint8_t *ecdhe, size_t ecdhe_len, const struct tls13_secret *context);
crypto/libressl/ssl/tls13_internal.h
221
ssize_t tls13_read_handshake_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n);
crypto/libressl/ssl/tls13_internal.h
223
size_t n);
crypto/libressl/ssl/tls13_internal.h
225
ssize_t tls13_peek_application_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n);
crypto/libressl/ssl/tls13_internal.h
226
ssize_t tls13_read_application_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n);
crypto/libressl/ssl/tls13_internal.h
228
size_t n);
crypto/libressl/ssl/tls13_internal.h
327
ssize_t tls13_legacy_wire_read_cb(void *buf, size_t n, void *arg);
crypto/libressl/ssl/tls13_internal.h
328
ssize_t tls13_legacy_wire_write_cb(const void *buf, size_t n, void *arg);
crypto/libressl/ssl/tls13_internal.h
413
size_t len);
crypto/libressl/ssl/tls13_internal.h
430
int tls13_exporter(struct tls13_ctx *ctx, const uint8_t *label, size_t label_len,
crypto/libressl/ssl/tls13_internal.h
431
const uint8_t *context_value, size_t context_value_len, uint8_t *out,
crypto/libressl/ssl/tls13_internal.h
432
size_t out_len);
crypto/libressl/ssl/tls13_key_schedule.c
169
const uint8_t *label, size_t label_len, const struct tls13_secret *context)
crypto/libressl/ssl/tls13_key_schedule.c
173
size_t hkdf_label_len;
crypto/libressl/ssl/tls13_key_schedule.c
215
size_t label_len, const struct tls13_secret *context)
crypto/libressl/ssl/tls13_key_schedule.c
223
uint8_t *psk, size_t psk_len, const struct tls13_secret *context)
crypto/libressl/ssl/tls13_key_schedule.c
264
const uint8_t *ecdhe, size_t ecdhe_len,
crypto/libressl/ssl/tls13_key_schedule.c
27
tls13_secret_init(struct tls13_secret *secret, size_t len)
crypto/libressl/ssl/tls13_key_schedule.c
57
size_t hash_length;
crypto/libressl/ssl/tls13_legacy.c
24
tls13_legacy_wire_read(SSL *ssl, uint8_t *buf, size_t len)
crypto/libressl/ssl/tls13_legacy.c
262
size_t n, sent;
crypto/libressl/ssl/tls13_legacy.c
55
tls13_legacy_wire_read_cb(void *buf, size_t n, void *arg)
crypto/libressl/ssl/tls13_legacy.c
63
tls13_legacy_wire_write(SSL *ssl, const uint8_t *buf, size_t len)
crypto/libressl/ssl/tls13_legacy.c
92
tls13_legacy_wire_write_cb(const void *buf, size_t n, void *arg)
crypto/libressl/ssl/tls13_lib.c
479
size_t hash_len;
crypto/libressl/ssl/tls13_lib.c
547
size_t len)
crypto/libressl/ssl/tls13_lib.c
596
tls13_exporter(struct tls13_ctx *ctx, const uint8_t *label, size_t label_len,
crypto/libressl/ssl/tls13_lib.c
597
const uint8_t *context_value, size_t context_value_len, uint8_t *out,
crypto/libressl/ssl/tls13_lib.c
598
size_t out_len)
crypto/libressl/ssl/tls13_quic.c
23
tls13_quic_wire_read_cb(void *buf, size_t n, void *arg)
crypto/libressl/ssl/tls13_quic.c
33
tls13_quic_wire_write_cb(const void *buf, size_t n, void *arg)
crypto/libressl/ssl/tls13_quic.c
57
tls13_quic_handshake_read_cb(void *buf, size_t n, void *arg)
crypto/libressl/ssl/tls13_quic.c
68
tls13_quic_handshake_write_cb(const void *buf, size_t n, void *arg)
crypto/libressl/ssl/tls13_record.c
107
tls13_record_set_data(struct tls13_record *rec, uint8_t *data, size_t data_len)
crypto/libressl/ssl/tls13_record.c
24
size_t rec_len;
crypto/libressl/ssl/tls13_record.c
26
size_t data_len;
crypto/libressl/ssl/tls13_record.h
58
size_t _data_len);
crypto/libressl/ssl/tls13_record_layer.c
1002
uint8_t *buf, size_t n)
crypto/libressl/ssl/tls13_record_layer.c
101
size_t phh_len;
crypto/libressl/ssl/tls13_record_layer.c
1018
uint8_t *buf, size_t n)
crypto/libressl/ssl/tls13_record_layer.c
1034
uint8_t content_type, const uint8_t *content, size_t content_len)
crypto/libressl/ssl/tls13_record_layer.c
1094
uint8_t content_type, const uint8_t *buf, size_t n)
crypto/libressl/ssl/tls13_record_layer.c
1104
const uint8_t *buf, size_t n)
crypto/libressl/ssl/tls13_record_layer.c
1147
tls13_read_handshake_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n)
crypto/libressl/ssl/tls13_record_layer.c
1157
size_t n)
crypto/libressl/ssl/tls13_record_layer.c
1175
tls13_peek_application_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n)
crypto/libressl/ssl/tls13_record_layer.c
1184
tls13_read_application_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n)
crypto/libressl/ssl/tls13_record_layer.c
1194
size_t n)
crypto/libressl/ssl/tls13_record_layer.c
23
uint8_t content_type, const uint8_t *buf, size_t n);
crypto/libressl/ssl/tls13_record_layer.c
25
uint8_t content_type, const uint8_t *content, size_t content_len);
crypto/libressl/ssl/tls13_record_layer.c
552
size_t content_len = 0;
crypto/libressl/ssl/tls13_record_layer.c
554
size_t out_len;
crypto/libressl/ssl/tls13_record_layer.c
633
uint8_t content_type, const uint8_t *content, size_t content_len)
crypto/libressl/ssl/tls13_record_layer.c
636
size_t data_len = 0;
crypto/libressl/ssl/tls13_record_layer.c
685
uint8_t content_type, const uint8_t *content, size_t content_len)
crypto/libressl/ssl/tls13_record_layer.c
688
size_t data_len = 0, header_len = 0, inner_len = 0;
crypto/libressl/ssl/tls13_record_layer.c
690
size_t enc_record_len;
crypto/libressl/ssl/tls13_record_layer.c
692
size_t out_len;
crypto/libressl/ssl/tls13_record_layer.c
785
uint8_t content_type, const uint8_t *content, size_t content_len)
crypto/libressl/ssl/tls13_record_layer.c
86
size_t wrec_appdata_len;
crypto/libressl/ssl/tls13_record_layer.c
87
size_t wrec_content_len;
crypto/libressl/ssl/tls13_record_layer.c
94
size_t alert_len;
crypto/libressl/ssl/tls13_record_layer.c
950
uint8_t content_type, uint8_t *buf, size_t n, int peek)
crypto/libressl/ssl/tls13_server.c
1038
size_t verify_data_len;
crypto/libressl/ssl/tls13_server.c
377
size_t shared_key_len = 0;
crypto/libressl/ssl/tls13_server.c
378
size_t hash_len;
crypto/libressl/ssl/tls13_server.c
715
size_t sig_len, sig_content_len;
crypto/libressl/ssl/tls13_server.c
797
size_t transcript_hash_len;
crypto/libressl/ssl/tls13_server.c
799
size_t verify_data_len;
crypto/libressl/ssl/tls13_server.c
948
size_t sig_content_len;
crypto/libressl/ssl/tls_buffer.c
119
tls_buffer_set_capacity_limit(struct tls_buffer *buf, size_t limit)
crypto/libressl/ssl/tls_buffer.c
129
tls_buffer_extend(struct tls_buffer *buf, size_t len,
crypto/libressl/ssl/tls_buffer.c
159
tls_buffer_read(struct tls_buffer *buf, uint8_t *rbuf, size_t n)
crypto/libressl/ssl/tls_buffer.c
178
tls_buffer_write(struct tls_buffer *buf, const uint8_t *wbuf, size_t n)
crypto/libressl/ssl/tls_buffer.c
213
tls_buffer_append(struct tls_buffer *buf, const uint8_t *wbuf, size_t n)
crypto/libressl/ssl/tls_buffer.c
234
tls_buffer_finish(struct tls_buffer *buf, uint8_t **out, size_t *out_len)
crypto/libressl/ssl/tls_buffer.c
27
size_t capacity;
crypto/libressl/ssl/tls_buffer.c
28
size_t capacity_limit;
crypto/libressl/ssl/tls_buffer.c
30
size_t len;
crypto/libressl/ssl/tls_buffer.c
31
size_t offset;
crypto/libressl/ssl/tls_buffer.c
34
static int tls_buffer_resize(struct tls_buffer *buf, size_t capacity);
crypto/libressl/ssl/tls_buffer.c
37
tls_buffer_new(size_t init_size)
crypto/libressl/ssl/tls_buffer.c
80
tls_buffer_grow(struct tls_buffer *buf, size_t capacity)
crypto/libressl/ssl/tls_buffer.c
89
tls_buffer_resize(struct tls_buffer *buf, size_t capacity)
crypto/libressl/ssl/tls_content.c
110
const uint8_t *data, size_t data_len)
crypto/libressl/ssl/tls_content.c
122
tls_content_read_internal(struct tls_content *content, uint8_t *buf, size_t n,
crypto/libressl/ssl/tls_content.c
140
tls_content_peek(struct tls_content *content, uint8_t *buf, size_t n)
crypto/libressl/ssl/tls_content.c
146
tls_content_read(struct tls_content *content, uint8_t *buf, size_t n)
crypto/libressl/ssl/tls_content.c
29
size_t len;
crypto/libressl/ssl/tls_content.c
64
tls_content_equal(struct tls_content *content, const uint8_t *buf, size_t n)
crypto/libressl/ssl/tls_content.c
69
size_t
crypto/libressl/ssl/tls_content.c
83
const uint8_t *data, size_t data_len)
crypto/libressl/ssl/tls_content.h
32
int tls_content_equal(struct tls_content *content, const uint8_t *buf, size_t n);
crypto/libressl/ssl/tls_content.h
33
size_t tls_content_remaining(struct tls_content *content);
crypto/libressl/ssl/tls_content.h
38
const uint8_t *data, size_t data_len);
crypto/libressl/ssl/tls_content.h
40
const uint8_t *data, size_t data_len);
crypto/libressl/ssl/tls_content.h
43
ssize_t tls_content_peek(struct tls_content *content, uint8_t *buf, size_t n);
crypto/libressl/ssl/tls_content.h
44
ssize_t tls_content_read(struct tls_content *content, uint8_t *buf, size_t n);
crypto/libressl/ssl/tls_internal.h
43
typedef ssize_t (*tls_read_cb)(void *_buf, size_t _buflen, void *_cb_arg);
crypto/libressl/ssl/tls_internal.h
44
typedef ssize_t (*tls_write_cb)(const void *_buf, size_t _buflen,
crypto/libressl/ssl/tls_internal.h
48
typedef ssize_t (*tls_handshake_read_cb)(void *_buf, size_t _buflen,
crypto/libressl/ssl/tls_internal.h
50
typedef ssize_t (*tls_handshake_write_cb)(const void *_buf, size_t _buflen,
crypto/libressl/ssl/tls_internal.h
61
struct tls_buffer *tls_buffer_new(size_t init_size);
crypto/libressl/ssl/tls_internal.h
64
void tls_buffer_set_capacity_limit(struct tls_buffer *buf, size_t limit);
crypto/libressl/ssl/tls_internal.h
65
ssize_t tls_buffer_extend(struct tls_buffer *buf, size_t len,
crypto/libressl/ssl/tls_internal.h
67
ssize_t tls_buffer_read(struct tls_buffer *buf, uint8_t *rbuf, size_t n);
crypto/libressl/ssl/tls_internal.h
68
ssize_t tls_buffer_write(struct tls_buffer *buf, const uint8_t *wbuf, size_t n);
crypto/libressl/ssl/tls_internal.h
69
int tls_buffer_append(struct tls_buffer *buf, const uint8_t *wbuf, size_t n);
crypto/libressl/ssl/tls_internal.h
71
int tls_buffer_finish(struct tls_buffer *buf, uint8_t **out, size_t *out_len);
crypto/libressl/ssl/tls_internal.h
84
void tls_key_share_set_key_bits(struct tls_key_share *ks, size_t key_bits);
crypto/libressl/ssl/tls_internal.h
95
size_t *shared_key_len);
crypto/libressl/ssl/tls_key_share.c
115
tls_key_share_set_key_bits(struct tls_key_share *ks, size_t key_bits)
crypto/libressl/ssl/tls_key_share.c
32
size_t key_bits;
crypto/libressl/ssl/tls_key_share.c
371
size_t out_len;
crypto/libressl/ssl/tls_key_share.c
407
uint8_t **shared_key, size_t *shared_key_len)
crypto/libressl/ssl/tls_key_share.c
418
uint8_t **shared_key, size_t *shared_key_len)
crypto/libressl/ssl/tls_key_share.c
429
uint8_t **shared_key, size_t *shared_key_len)
crypto/libressl/ssl/tls_key_share.c
456
size_t *shared_key_len)
crypto/libressl/tls/tls.c
335
size_t len;
crypto/libressl/tls/tls.c
583
size_t ca_len = ctx->config->ca_len;
crypto/libressl/tls/tls.c
586
size_t crl_len = ctx->config->crl_len;
crypto/libressl/tls/tls.c
809
tls_read(struct tls *ctx, void *buf, size_t buflen)
crypto/libressl/tls/tls.c
840
tls_write(struct tls *ctx, const void *buf, size_t buflen)
crypto/libressl/tls/tls_client.c
168
size_t session_len = 0;
crypto/libressl/tls/tls_client.c
183
session_len = (size_t)sb.st_size;
crypto/libressl/tls/tls_client.c
193
if (n < 0 || (size_t)n != session_len) {
crypto/libressl/tls/tls_client.c
230
size_t len;
crypto/libressl/tls/tls_client.c
249
len = (size_t)data_len;
crypto/libressl/tls/tls_client.c
279
size_t servername_len;
crypto/libressl/tls/tls_config.c
281
char **alpn_data, size_t *alpn_len)
crypto/libressl/tls/tls_config.c
283
size_t buf_len, i, len;
crypto/libressl/tls/tls_config.c
375
size_t cert_len, const uint8_t *key, size_t key_len,
crypto/libressl/tls/tls_config.c
376
const uint8_t *staple, size_t staple_len)
crypto/libressl/tls/tls_config.c
403
size_t cert_len, const uint8_t *key, size_t key_len)
crypto/libressl/tls/tls_config.c
41
const char *filename, char **buf, size_t *len)
crypto/libressl/tls/tls_config.c
419
size_t cert_len, const uint8_t *key, size_t key_len, const uint8_t *staple,
crypto/libressl/tls/tls_config.c
420
size_t staple_len)
crypto/libressl/tls/tls_config.c
448
tls_config_set_ca_mem(struct tls_config *config, const uint8_t *ca, size_t len)
crypto/libressl/tls/tls_config.c
462
size_t len)
crypto/libressl/tls/tls_config.c
511
size_t len)
crypto/libressl/tls/tls_config.c
557
size_t curves_num = 0;
crypto/libressl/tls/tls_config.c
623
size_t len)
crypto/libressl/tls/tls_config.c
63
*len = (size_t)st.st_size;
crypto/libressl/tls/tls_config.c
646
size_t cert_len, const uint8_t *key, size_t key_len,
crypto/libressl/tls/tls_config.c
647
const uint8_t *staple, size_t staple_len)
crypto/libressl/tls/tls_config.c
670
size_t cert_len, const uint8_t *key, size_t key_len)
crypto/libressl/tls/tls_config.c
686
size_t cert_len, const uint8_t *key, size_t key_len,
crypto/libressl/tls/tls_config.c
687
const uint8_t *staple, size_t staple_len)
crypto/libressl/tls/tls_config.c
70
if (n < 0 || (size_t)n != *len) {
crypto/libressl/tls/tls_config.c
837
size_t len)
crypto/libressl/tls/tls_config.c
845
const unsigned char *session_id, size_t len)
crypto/libressl/tls/tls_config.c
874
unsigned char *key, size_t keylen)
crypto/libressl/tls/tls_conninfo.c
29
tls_hex_string(const unsigned char *in, size_t inlen, char **out,
crypto/libressl/tls/tls_conninfo.c
30
size_t *outlen)
crypto/libressl/tls/tls_conninfo.c
33
size_t i, len;
crypto/libressl/tls/tls_internal.h
102
size_t ecdhecurves_len;
crypto/libressl/tls/tls_internal.h
136
size_t peer_cert_len;
crypto/libressl/tls/tls_internal.h
210
int tls_set_mem(char **_dest, size_t *_destlen, const void *_src,
crypto/libressl/tls/tls_internal.h
211
size_t _srclen);
crypto/libressl/tls/tls_internal.h
220
struct tls_error *_error, const uint8_t *_cert, size_t _len);
crypto/libressl/tls/tls_internal.h
224
struct tls_error *_error, const uint8_t *_key, size_t _len);
crypto/libressl/tls/tls_internal.h
228
struct tls_error *_error, const uint8_t *_staple, size_t _len);
crypto/libressl/tls/tls_internal.h
253
const char *filename, char **buf, size_t *len);
crypto/libressl/tls/tls_internal.h
293
int tls_hex_string(const unsigned char *_in, size_t _inlen, char **_out,
crypto/libressl/tls/tls_internal.h
294
size_t *_outlen);
crypto/libressl/tls/tls_internal.h
316
size_t _cert_len, const uint8_t *_key, size_t _key_len);
crypto/libressl/tls/tls_internal.h
318
const uint8_t *_input, size_t _input_len, int _padding_type,
crypto/libressl/tls/tls_internal.h
319
uint8_t **_out_signature, size_t *_out_signature_len);
crypto/libressl/tls/tls_internal.h
57
size_t cert_len;
crypto/libressl/tls/tls_internal.h
59
size_t key_len;
crypto/libressl/tls/tls_internal.h
61
size_t ocsp_staple_len;
crypto/libressl/tls/tls_internal.h
82
const uint8_t *_input, size_t _input_len, int _padding_type,
crypto/libressl/tls/tls_internal.h
83
uint8_t **_out_signature, size_t *_out_signature_len);
crypto/libressl/tls/tls_internal.h
92
size_t alpn_len;
crypto/libressl/tls/tls_internal.h
95
size_t ca_len;
crypto/libressl/tls/tls_internal.h
99
size_t crl_len;
crypto/libressl/tls/tls_keypair.c
113
struct tls_error *error, const uint8_t *staple, size_t len)
crypto/libressl/tls/tls_keypair.c
79
const uint8_t *cert, size_t len)
crypto/libressl/tls/tls_keypair.c
97
const uint8_t *key, size_t len)
crypto/libressl/tls/tls_ocsp.c
288
size_t size)
crypto/libressl/tls/tls_ocsp.c
456
size_t size)
crypto/libressl/tls/tls_peer.c
90
tls_peer_cert_chain_pem(struct tls *ctx, size_t *size)
crypto/libressl/tls/tls_signer.c
161
size_t cert_len, key_len;
crypto/libressl/tls/tls_signer.c
183
const uint8_t *input, size_t input_len, int padding_type,
crypto/libressl/tls/tls_signer.c
184
uint8_t **out_signature, size_t *out_signature_len)
crypto/libressl/tls/tls_signer.c
227
*out_signature_len = (size_t)signature_len;
crypto/libressl/tls/tls_signer.c
234
const uint8_t *input, size_t input_len, int padding_type,
crypto/libressl/tls/tls_signer.c
235
uint8_t **out_signature, size_t *out_signature_len)
crypto/libressl/tls/tls_signer.c
278
const uint8_t *input, size_t input_len, int padding_type,
crypto/libressl/tls/tls_signer.c
279
uint8_t **out_signature, size_t *out_signature_len)
crypto/libressl/tls/tls_signer.c
314
size_t signature_len = 0;
crypto/libressl/tls/tls_signer.c
390
size_t signature_len = 0;
crypto/libressl/tls/tls_signer.c
82
size_t cert_len, const uint8_t *key, size_t key_len)
crypto/libressl/tls/tls_util.c
133
size_t len;
crypto/libressl/tls/tls_util.c
143
if ((len = strlcpy(buf, u, size)) >= (size_t)size)
crypto/libressl/tls/tls_util.c
150
tls_load_file(const char *name, size_t *len, char *password)
crypto/libressl/tls/tls_util.c
158
size_t size = 0;
crypto/libressl/tls/tls_util.c
173
size = (size_t)st.st_size;
crypto/libressl/tls/tls_util.c
177
if (n < 0 || (size_t)n != size)
crypto/libressl/tls/tls_util.c
222
tls_unload_file(uint8_t *buf, size_t len)
crypto/libressl/tls/tls_util.c
30
memdup(const void *in, size_t len)
crypto/libressl/tls/tls_util.c
41
tls_set_mem(char **dest, size_t *destlen, const void *src, size_t srclen)
crypto/libressl/tls/tls_verify.c
137
if (len < 0 || (size_t)len != strlen(data)) {
crypto/libressl/tls/tls_verify.c
234
(size_t)common_name_len != strlen(common_name)) {
crypto/openssh/addr.c
437
addr_ntop(const struct xaddr *n, char *p, size_t len)
crypto/openssh/addr.h
53
int addr_ntop(const struct xaddr *n, char *p, size_t len);
crypto/openssh/atomicio.c
104
size_t
crypto/openssh/atomicio.c
107
int (*cb)(void *, size_t), void *cb_arg)
crypto/openssh/atomicio.c
109
size_t pos = 0, rem;
crypto/openssh/atomicio.c
119
memcpy(iov, _iov, (size_t)iovcnt * sizeof(*_iov));
crypto/openssh/atomicio.c
147
rem = (size_t)res;
crypto/openssh/atomicio.c
166
if (cb != NULL && cb(cb_arg, (size_t)res) == -1) {
crypto/openssh/atomicio.c
174
size_t
crypto/openssh/atomicio.c
50
size_t
crypto/openssh/atomicio.c
51
atomicio6(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n,
crypto/openssh/atomicio.c
52
int (*cb)(void *, size_t), void *cb_arg)
crypto/openssh/atomicio.c
55
size_t pos = 0;
crypto/openssh/atomicio.c
85
pos += (size_t)res;
crypto/openssh/atomicio.c
86
if (cb != NULL && cb(cb_arg, (size_t)res) == -1) {
crypto/openssh/atomicio.c
95
size_t
crypto/openssh/atomicio.c
96
atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n)
crypto/openssh/atomicio.h
37
size_t
crypto/openssh/atomicio.h
38
atomicio6(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n,
crypto/openssh/atomicio.h
39
int (*cb)(void *, size_t), void *);
crypto/openssh/atomicio.h
40
size_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
crypto/openssh/atomicio.h
42
#define vwrite (ssize_t (*)(int, void *, size_t))write
crypto/openssh/atomicio.h
47
size_t
crypto/openssh/atomicio.h
49
const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
crypto/openssh/atomicio.h
50
size_t atomiciov(ssize_t (*)(int, const struct iovec *, int),
crypto/openssh/auth-krb5.c
250
if (ret < 0 || (size_t)ret >= sizeof(ccname))
crypto/openssh/auth-options.c
208
size_t i;
crypto/openssh/auth-options.c
256
char ***permitsp, size_t *npermitsp, const char **errstrp)
crypto/openssh/auth-options.c
259
size_t npermits = *npermitsp;
crypto/openssh/auth-options.c
331
size_t i, l;
crypto/openssh/auth-options.c
421
l = (size_t)(tmp - opt);
crypto/openssh/auth-options.c
47
dup_strings(char ***dstp, size_t *ndstp, char **src, size_t nsrc)
crypto/openssh/auth-options.c
50
size_t i, j;
crypto/openssh/auth-options.c
706
serialise_array(struct sshbuf *m, char **a, size_t n)
crypto/openssh/auth-options.c
709
size_t i;
crypto/openssh/auth-options.c
733
deserialise_array(struct sshbuf *m, char ***ap, size_t *np)
crypto/openssh/auth-options.c
736
size_t i, n = 0;
crypto/openssh/auth-options.h
57
size_t nenv;
crypto/openssh/auth-options.h
61
size_t npermitopen;
crypto/openssh/auth-options.h
65
size_t npermitlisten;
crypto/openssh/auth-pam.c
1245
size_t len;
crypto/openssh/auth-pam.c
1293
size_t len;
crypto/openssh/auth-pam.c
848
size_t plen;
crypto/openssh/auth-pam.c
851
size_t len, mlen, nmesg = 0;
crypto/openssh/auth-pam.c
966
size_t i, l = wire_password != NULL ? strlen(wire_password) : 0;
crypto/openssh/auth.c
401
if (i < 0 || (size_t)i >= sizeof(ret))
crypto/openssh/auth.c
669
size_t i;
crypto/openssh/auth.h
213
u_char **, size_t *, const u_char *, size_t, const char *);
crypto/openssh/auth2-chall.c
155
size_t len;
crypto/openssh/auth2-gss.c
154
size_t len;
crypto/openssh/auth2-gss.c
219
size_t len;
crypto/openssh/auth2-gss.c
290
size_t len;
crypto/openssh/auth2-gss.c
74
size_t len;
crypto/openssh/auth2-hostbased.c
67
size_t alen, blen, slen;
crypto/openssh/auth2-passwd.c
58
size_t len = 0;
crypto/openssh/auth2-pubkey.c
97
size_t blen, slen;
crypto/openssh/auth2-pubkeyfile.c
226
size_t linesize = 0;
crypto/openssh/auth2-pubkeyfile.c
411
size_t linesize = 0;
crypto/openssh/auth2.c
110
size_t len, n;
crypto/openssh/auth2.c
124
len = (size_t)st.st_size; /* truncate */
crypto/openssh/auth2.c
230
size_t len = ssh_digest_bytes(SSH_DIGEST_SHA512);
crypto/openssh/auth2.c
606
size_t l = strlen(method);
crypto/openssh/auth2.c
638
size_t l = strlen(method);
crypto/openssh/authfd.c
141
size_t l, len;
crypto/openssh/authfd.c
241
size_t blen;
crypto/openssh/authfd.c
338
size_t i;
crypto/openssh/authfd.c
361
size_t i;
crypto/openssh/authfd.c
405
u_char **sigp, size_t *lenp,
crypto/openssh/authfd.c
406
const u_char *data, size_t datalen, const char *alg, u_int compat)
crypto/openssh/authfd.c
410
size_t len = 0;
crypto/openssh/authfd.c
509
struct dest_constraint **dest_constraints, size_t ndest_constraints,
crypto/openssh/authfd.c
510
int cert_only, struct sshkey **certs, size_t ncerts)
crypto/openssh/authfd.c
514
size_t i;
crypto/openssh/authfd.c
590
size_t ndest_constraints)
crypto/openssh/authfd.c
653
size_t blen;
crypto/openssh/authfd.c
687
struct dest_constraint **dest_constraints, size_t ndest_constraints,
crypto/openssh/authfd.c
688
int cert_only, struct sshkey **certs, size_t ncerts)
crypto/openssh/authfd.h
24
size_t nkeys;
crypto/openssh/authfd.h
53
size_t ndest_constraints);
crypto/openssh/authfd.h
59
size_t ndest_constraints,
crypto/openssh/authfd.h
60
int cert_only, struct sshkey **certs, size_t ncerts);
crypto/openssh/authfd.h
64
u_char **sigp, size_t *lenp,
crypto/openssh/authfd.h
65
const u_char *data, size_t datalen, const char *alg, u_int compat);
crypto/openssh/authfile.c
210
size_t linesize = 0;
crypto/openssh/authfile.c
383
size_t linesize = 0;
crypto/openssh/bitmap.c
104
size_t offset;
crypto/openssh/bitmap.c
128
size_t offset;
crypto/openssh/bitmap.c
140
size_t
crypto/openssh/bitmap.c
143
size_t bits;
crypto/openssh/bitmap.c
161
size_t
crypto/openssh/bitmap.c
168
bitmap_to_string(struct bitmap *b, void *p, size_t l)
crypto/openssh/bitmap.c
171
size_t i, j, k, need = bitmap_nbytes(b);
crypto/openssh/bitmap.c
189
bitmap_from_string(struct bitmap *b, const void *p, size_t l)
crypto/openssh/bitmap.c
192
size_t i, offset, shift;
crypto/openssh/bitmap.c
33
size_t len; /* number of words allocated */
crypto/openssh/bitmap.c
34
size_t top; /* index of top word allocated */
crypto/openssh/bitmap.c
85
size_t nlen;
crypto/openssh/bitmap.h
46
size_t bitmap_nbits(struct bitmap *b);
crypto/openssh/bitmap.h
49
size_t bitmap_nbytes(struct bitmap *b);
crypto/openssh/bitmap.h
52
int bitmap_to_string(struct bitmap *b, void *p, size_t l);
crypto/openssh/bitmap.h
55
int bitmap_from_string(struct bitmap *b, const void *p, size_t l);
crypto/openssh/channels.c
209
size_t ntimeouts;
crypto/openssh/channels.c
2108
size_t nr = 0, have, avail, maxlen = CHANNEL_MAX_READ;
crypto/openssh/channels.c
2192
size_t dlen, olen = 0;
crypto/openssh/channels.c
2948
size_t len, plen;
crypto/openssh/channels.c
3022
size_t len;
crypto/openssh/channels.c
3141
size_t have;
crypto/openssh/channels.c
3292
size_t len;
crypto/openssh/channels.c
334
size_t i;
crypto/openssh/channels.c
3402
size_t data_len, win_len;
crypto/openssh/channels.c
3470
size_t data_len;
crypto/openssh/channels.c
348
size_t i;
crypto/openssh/channels.c
5127
is_path_to_xsocket(const char *display, char *path, size_t pathlen)
crypto/openssh/channels.h
94
u_char **, size_t *);
crypto/openssh/cipher-aes.c
72
size_t len)
crypto/openssh/cipher.c
120
size_t nlen, rlen = 0;
crypto/openssh/cipher.c
438
cipher_get_keyiv(struct sshcipher_ctx *cc, u_char *iv, size_t len)
crypto/openssh/cipher.c
465
if ((size_t)evplen != len)
crypto/openssh/cipher.c
478
cipher_set_keyiv(struct sshcipher_ctx *cc, const u_char *iv, size_t len)
crypto/openssh/cipher.c
494
if ((size_t)evplen != len)
crypto/openssh/cipher.h
74
int cipher_get_keyiv(struct sshcipher_ctx *, u_char *, size_t);
crypto/openssh/cipher.h
75
int cipher_set_keyiv(struct sshcipher_ctx *, const u_char *, size_t);
crypto/openssh/clientloop.c
1896
size_t len;
crypto/openssh/clientloop.c
2026
size_t nkeys, nnew, nincomplete; /* total, new keys, incomplete match */
crypto/openssh/clientloop.c
2034
size_t nold;
crypto/openssh/clientloop.c
2046
size_t i;
crypto/openssh/clientloop.c
2091
size_t i;
crypto/openssh/clientloop.c
2173
size_t i;
crypto/openssh/clientloop.c
2201
size_t i;
crypto/openssh/clientloop.c
2240
size_t i;
crypto/openssh/clientloop.c
2333
size_t i, ndone;
crypto/openssh/clientloop.c
2339
size_t siglen;
crypto/openssh/clientloop.c
2436
size_t i, len = 0;
crypto/openssh/clientloop.c
2683
size_t i, j, len;
crypto/openssh/clientloop.c
270
size_t i, dlen;
crypto/openssh/clientloop.c
327
(size_t)r >= sizeof(xdisplay)) {
crypto/openssh/clientloop.c
349
(size_t)r >= sizeof(xauthfile)) {
crypto/openssh/defines.h
630
# define offsetof(type, member) ((size_t) &((type *)0)->member)
crypto/openssh/defines.h
756
int snprintf (char *, size_t, const char *, ...);
crypto/openssh/dh.c
163
size_t linesize = 0;
crypto/openssh/digest-libc.c
157
size_t
crypto/openssh/digest-libc.c
165
size_t
crypto/openssh/digest-libc.c
202
ssh_digest_update(struct ssh_digest_ctx *ctx, const void *m, size_t mlen)
crypto/openssh/digest-libc.c
219
ssh_digest_final(struct ssh_digest_ctx *ctx, u_char *d, size_t dlen)
crypto/openssh/digest-libc.c
249
ssh_digest_memory(int alg, const void *m, size_t mlen, u_char *d, size_t dlen)
crypto/openssh/digest-libc.c
263
ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen)
crypto/openssh/digest-libc.c
54
typedef void md_update_fn(void *mdctx, const u_int8_t *m, size_t mlen);
crypto/openssh/digest-libc.c
65
size_t block_len;
crypto/openssh/digest-libc.c
66
size_t digest_len;
crypto/openssh/digest-libc.c
67
size_t ctx_len;
crypto/openssh/digest-openssl.c
107
size_t
crypto/openssh/digest-openssl.c
145
ssh_digest_update(struct ssh_digest_ctx *ctx, const void *m, size_t mlen)
crypto/openssh/digest-openssl.c
159
ssh_digest_final(struct ssh_digest_ctx *ctx, u_char *d, size_t dlen)
crypto/openssh/digest-openssl.c
185
ssh_digest_memory(int alg, const void *m, size_t mlen, u_char *d, size_t dlen)
crypto/openssh/digest-openssl.c
203
ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen)
crypto/openssh/digest-openssl.c
53
size_t digest_len;
crypto/openssh/digest-openssl.c
99
size_t
crypto/openssh/digest.h
42
size_t ssh_digest_bytes(int alg);
crypto/openssh/digest.h
45
size_t ssh_digest_blocksize(struct ssh_digest_ctx *ctx);
crypto/openssh/digest.h
52
int ssh_digest_memory(int alg, const void *m, size_t mlen,
crypto/openssh/digest.h
53
u_char *d, size_t dlen)
crypto/openssh/digest.h
56
int ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen)
crypto/openssh/digest.h
61
int ssh_digest_update(struct ssh_digest_ctx *ctx, const void *m, size_t mlen)
crypto/openssh/digest.h
65
int ssh_digest_final(struct ssh_digest_ctx *ctx, u_char *d, size_t dlen)
crypto/openssh/dns.c
136
u_char **digest, size_t *digest_len, u_char *rdata, int rdata_len)
crypto/openssh/dns.c
205
size_t hostkey_digest_len;
crypto/openssh/dns.c
210
size_t dnskey_digest_len;
crypto/openssh/dns.c
312
size_t i, rdata_digest_len;
crypto/openssh/dns.c
82
u_char **digest, size_t *digest_len, struct sshkey *key)
crypto/openssh/gss-genr.c
54
size_t len;
crypto/openssh/gss-genr.c
65
ssh_gssapi_check_oid(Gssctxt *ctx, void *data, size_t len)
crypto/openssh/gss-genr.c
74
ssh_gssapi_set_oid_data(Gssctxt *ctx, void *data, size_t len)
crypto/openssh/hmac.c
107
ssh_hmac_final(struct ssh_hmac_ctx *ctx, u_char *d, size_t dlen)
crypto/openssh/hmac.c
109
size_t len;
crypto/openssh/hmac.c
142
hmac_test(void *key, size_t klen, void *m, size_t mlen, u_char *e, size_t elen)
crypto/openssh/hmac.c
145
size_t i;
crypto/openssh/hmac.c
35
size_t buf_len;
crypto/openssh/hmac.c
38
size_t
crypto/openssh/hmac.c
66
ssh_hmac_init(struct ssh_hmac_ctx *ctx, const void *key, size_t klen)
crypto/openssh/hmac.c
68
size_t i;
crypto/openssh/hmac.c
95
ssh_hmac_update(struct ssh_hmac_ctx *ctx, const void *m, size_t mlen)
crypto/openssh/hmac.h
22
size_t ssh_hmac_bytes(int alg);
crypto/openssh/hmac.h
29
int ssh_hmac_init(struct ssh_hmac_ctx *ctx, const void *key, size_t klen)
crypto/openssh/hmac.h
31
int ssh_hmac_update(struct ssh_hmac_ctx *ctx, const void *m, size_t mlen)
crypto/openssh/hmac.h
34
int ssh_hmac_final(struct ssh_hmac_ctx *ctx, u_char *d, size_t dlen)
crypto/openssh/hostfile.c
479
size_t len;
crypto/openssh/hostfile.c
546
size_t nkeys;
crypto/openssh/hostfile.c
555
size_t i;
crypto/openssh/hostfile.c
596
struct sshkey **keys, size_t nkeys, int store_hash, int quiet, int hash_alg)
crypto/openssh/hostfile.c
604
size_t i;
crypto/openssh/hostfile.c
69
extract_salt(const char *s, u_int l, u_char *salt, size_t salt_len)
crypto/openssh/hostfile.c
744
size_t nlen = strlen(names);
crypto/openssh/hostfile.c
770
size_t linesize = 0, l;
crypto/openssh/hostfile.h
56
const char *host, const char *ip, struct sshkey **keys, size_t nkeys,
crypto/openssh/kex-names.c
200
size_t len;
crypto/openssh/kex-names.c
91
size_t nlen, rlen = 0;
crypto/openssh/kex.c
1068
size_t mdsz;
crypto/openssh/kex.c
1241
size_t len, n;
crypto/openssh/kex.c
412
const u_char *val, size_t len, const char *want_ver, u_int flag)
crypto/openssh/kex.c
428
const u_char *value, size_t vlen)
crypto/openssh/kex.c
462
const u_char *value, size_t vlen)
crypto/openssh/kex.c
484
size_t vlen;
crypto/openssh/kex.c
615
size_t dlen;
crypto/openssh/kex.h
173
u_char **, size_t *, const u_char *, size_t, const char *);
crypto/openssh/kex.h
256
const BIGNUM *, const u_char *, size_t,
crypto/openssh/kex.h
257
u_char *, size_t *);
crypto/openssh/kexdh.c
77
size_t klen = 0;
crypto/openssh/kexecdh.c
145
size_t klen = 0;
crypto/openssh/kexgen.c
148
size_t slen, hashlen;
crypto/openssh/kexgen.c
275
size_t slen, hashlen;
crypto/openssh/kexgen.c
58
u_char *hash, size_t *hashlen)
crypto/openssh/kexgex.c
59
const u_char *shared_secret, size_t secretlen,
crypto/openssh/kexgex.c
60
u_char *hash, size_t *hashlen)
crypto/openssh/kexgexc.c
155
size_t slen, hashlen;
crypto/openssh/kexgexs.c
137
size_t slen, hashlen;
crypto/openssh/kexsntrup761x25519.c
167
size_t need;
crypto/openssh/kexsntrup761x25519.c
47
size_t need;
crypto/openssh/kexsntrup761x25519.c
83
size_t need;
crypto/openssh/krl.c
367
plain_key_blob(const struct sshkey *key, u_char **blob, size_t *blen)
crypto/openssh/krl.c
387
revoke_blob(struct revoked_blob_tree *rbt, u_char *blob, size_t len)
crypto/openssh/krl.c
407
size_t len;
crypto/openssh/krl.c
417
revoke_by_hash(struct revoked_blob_tree *target, const u_char *p, size_t len)
crypto/openssh/krl.c
434
ssh_krl_revoke_key_sha1(struct ssh_krl *krl, const u_char *p, size_t len)
crypto/openssh/krl.c
443
ssh_krl_revoke_key_sha256(struct ssh_krl *krl, const u_char *p, size_t len)
crypto/openssh/krl.c
555
size_t len;
crypto/openssh/krl.c
77
size_t len;
crypto/openssh/krl.c
810
format_timestamp(u_int64_t timestamp, char *ts, size_t nts)
crypto/openssh/krl.c
870
size_t blen, nbits;
crypto/openssh/krl.c
983
size_t expected_len)
crypto/openssh/krl.c
986
size_t rlen = 0;
crypto/openssh/krl.h
57
int ssh_krl_revoke_key_sha1(struct ssh_krl *krl, const u_char *p, size_t len);
crypto/openssh/krl.h
58
int ssh_krl_revoke_key_sha256(struct ssh_krl *krl, const u_char *p, size_t len);
crypto/openssh/log.c
180
size_t i;
crypto/openssh/log.c
457
size_t i;
crypto/openssh/log.c
64
static size_t nlog_verbose;
crypto/openssh/loginrec.c
602
size_t len;
crypto/openssh/loginrec.c
622
strncpy(dst, src, (size_t)dstsize);
crypto/openssh/mac.c
166
u_char *digest, size_t dlen)
crypto/openssh/mac.c
211
const u_char *data, size_t dlen,
crypto/openssh/mac.c
212
const u_char *theirmac, size_t mlen)
crypto/openssh/mac.c
87
size_t nlen, rlen = 0;
crypto/openssh/mac.h
48
u_char *, size_t);
crypto/openssh/mac.h
49
int mac_check(struct sshmac *, u_int32_t, const u_char *, size_t,
crypto/openssh/mac.h
50
const u_char *, size_t);
crypto/openssh/match.c
323
size_t len = strlen(proposal) + 1;
crypto/openssh/misc.c
100
size_t i;
crypto/openssh/misc.c
1018
size_t len;
crypto/openssh/misc.c
1183
size_t len;
crypto/openssh/misc.c
1275
size_t len;
crypto/openssh/misc.c
1533
tohex(const void *vp, size_t l)
crypto/openssh/misc.c
1537
size_t i, hl;
crypto/openssh/misc.c
1761
bandwidth_limit_init(struct bwlimit *bw, u_int64_t kbps, size_t buflen)
crypto/openssh/misc.c
1773
bandwidth_limit(struct bwlimit *bw, size_t read_len)
crypto/openssh/misc.c
1825
mktemp_proto(char *s, size_t len)
crypto/openssh/misc.c
1832
if (r > 0 && (size_t)r < len)
crypto/openssh/misc.c
1836
if (r < 0 || (size_t)r >= len)
crypto/openssh/misc.c
2234
uid_t uid, char *err, size_t errlen)
crypto/openssh/misc.c
2298
char *err, size_t errlen)
crypto/openssh/misc.c
2380
size_t i, l = strlen(name);
crypto/openssh/misc.c
2458
size_t l;
crypto/openssh/misc.c
2511
format_absolute_time(uint64_t t, char *buf, size_t len)
crypto/openssh/misc.c
2586
size_t opt_len = strlen(opt);
crypto/openssh/misc.c
2606
size_t i;
crypto/openssh/misc.c
2901
lookup_env_in_list(const char *env, char * const *envs, size_t nenvs)
crypto/openssh/misc.c
2903
size_t i, envlen;
crypto/openssh/misc.c
2916
lookup_setenv_in_list(const char *env, char * const *envs, size_t nenvs)
crypto/openssh/misc.c
3063
size_t sz = 0;
crypto/openssh/misc.c
3079
(size_t)st.st_size < strlen(s) ||
crypto/openssh/misc.c
3084
sz = (size_t)st.st_size;
crypto/openssh/misc.c
969
size_t srclen;
crypto/openssh/misc.h
105
void format_absolute_time(uint64_t, char *, size_t);
crypto/openssh/misc.h
175
size_t buflen;
crypto/openssh/misc.h
182
void bandwidth_limit_init(struct bwlimit *, u_int64_t, size_t);
crypto/openssh/misc.h
183
void bandwidth_limit(struct bwlimit *, size_t);
crypto/openssh/misc.h
187
void mktemp_proto(char *, size_t);
crypto/openssh/misc.h
192
char * const *envs, size_t nenvs);
crypto/openssh/misc.h
194
char * const *envs, size_t nenvs);
crypto/openssh/misc.h
206
char *, size_t);
crypto/openssh/misc.h
208
char *err, size_t errlen);
crypto/openssh/misc.h
89
char *tohex(const void *, size_t);
crypto/openssh/monitor.c
1265
size_t len;
crypto/openssh/monitor.c
1346
size_t len;
crypto/openssh/monitor.c
1414
size_t signaturelen, datalen, bloblen;
crypto/openssh/monitor.c
154
static size_t key_bloblen = 0;
crypto/openssh/monitor.c
1851
size_t len;
crypto/openssh/monitor.c
619
size_t datlen, siglen, alglen;
crypto/openssh/monitor.c
898
size_t plen;
crypto/openssh/monitor_wrap.c
158
size_t mlen = sshbuf_len(m);
crypto/openssh/monitor_wrap.c
263
mm_sshkey_sign(struct ssh *ssh, struct sshkey *key, u_char **sigp, size_t *lenp,
crypto/openssh/monitor_wrap.c
264
const u_char *data, size_t datalen, const char *hostkey_alg,
crypto/openssh/monitor_wrap.c
296
size_t len;
crypto/openssh/monitor_wrap.c
349
size_t len;
crypto/openssh/monitor_wrap.c
559
mm_sshkey_verify(const struct sshkey *key, const u_char *sig, size_t siglen,
crypto/openssh/monitor_wrap.c
560
const u_char *data, size_t datalen, const char *sigalg, u_int compat,
crypto/openssh/monitor_wrap.c
624
mm_pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen)
crypto/openssh/monitor_wrap.c
721
size_t msglen;
crypto/openssh/monitor_wrap.c
92
size_t len;
crypto/openssh/monitor_wrap.h
45
int mm_sshkey_sign(struct ssh *, struct sshkey *, u_char **, size_t *,
crypto/openssh/monitor_wrap.h
46
const u_char *, size_t, const char *, const char *,
crypto/openssh/monitor_wrap.h
58
int mm_sshkey_verify(const struct sshkey *, const u_char *, size_t,
crypto/openssh/monitor_wrap.h
59
const u_char *, size_t, const char *, u_int, struct sshkey_sig_details **);
crypto/openssh/monitor_wrap.h
88
int mm_pty_allocate(int *, int *, char *, size_t);
crypto/openssh/mux.c
1462
mux_client_read(int fd, struct sshbuf *b, size_t need, int timeout_ms)
crypto/openssh/mux.c
1464
size_t have;
crypto/openssh/mux.c
1498
have += (size_t)len;
crypto/openssh/mux.c
1561
size_t need, have;
crypto/openssh/mux.c
252
if (ret <= 0 || (size_t)ret >= sizeof(name)) {
crypto/openssh/mux.c
294
size_t value_len = 0;
crypto/openssh/packet.c
1525
size_t need;
crypto/openssh/packet.c
1804
size_t len;
crypto/openssh/packet.c
1916
size_t rlen;
crypto/openssh/packet.c
1975
sshpkt_fmt_connection_id(struct ssh *ssh, char *s, size_t l)
crypto/openssh/packet.c
201
size_t packet_discard_mac_already;
crypto/openssh/packet.c
2440
size_t keylen, ivlen, maclen;
crypto/openssh/packet.c
2544
size_t ilen, olen;
crypto/openssh/packet.c
2593
sshpkt_put(struct ssh *ssh, const void *v, size_t len)
crypto/openssh/packet.c
2623
sshpkt_put_string(struct ssh *ssh, const void *v, size_t len)
crypto/openssh/packet.c
2666
sshpkt_get(struct ssh *ssh, void *valp, size_t len)
crypto/openssh/packet.c
2690
sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp)
crypto/openssh/packet.c
2696
sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp)
crypto/openssh/packet.c
2702
sshpkt_peek_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp)
crypto/openssh/packet.c
2708
sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp)
crypto/openssh/packet.c
2738
sshpkt_ptr(struct ssh *ssh, size_t *lenp)
crypto/openssh/packet.c
2764
size_t len;
crypto/openssh/packet.c
386
size_t dlen = PACKET_MAX_SIZE;
crypto/openssh/packet.c
407
struct sshmac *mac, size_t mac_already, u_int discard)
crypto/openssh/packet.h
185
int sshpkt_put(struct ssh *ssh, const void *v, size_t len);
crypto/openssh/packet.h
190
int sshpkt_put_string(struct ssh *ssh, const void *v, size_t len);
crypto/openssh/packet.h
196
int sshpkt_get(struct ssh *ssh, void *valp, size_t len);
crypto/openssh/packet.h
200
int sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp);
crypto/openssh/packet.h
201
int sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp);
crypto/openssh/packet.h
202
int sshpkt_peek_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp);
crypto/openssh/packet.h
203
int sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp);
crypto/openssh/packet.h
208
void sshpkt_fmt_connection_id(struct ssh *ssh, char *s, size_t l);
crypto/openssh/packet.h
209
const u_char *sshpkt_ptr(struct ssh *, size_t *lenp);
crypto/openssh/poly1305.c
33
poly1305_auth(unsigned char out[POLY1305_TAGLEN], const unsigned char *m, size_t inlen, const unsigned char key[POLY1305_KEYLEN]) {
crypto/openssh/poly1305.c
39
size_t j;
crypto/openssh/poly1305.h
16
void poly1305_auth(u_char out[POLY1305_TAGLEN], const u_char *m, size_t inlen,
crypto/openssh/readconf.c
1055
size_t len;
crypto/openssh/readconf.c
2449
size_t linesize = 0;
crypto/openssh/readpass.c
54
size_t len;
crypto/openssh/scp.c
1317
size_t nslash;
crypto/openssh/scp.c
1397
size_t amt, nr;
crypto/openssh/scp.c
1667
size_t j, count;
crypto/openssh/scp.c
1675
size_t n, npatterns = 0;
crypto/openssh/scp.c
183
size_t sftp_copy_buflen;
crypto/openssh/scp.c
1831
static size_t cursize;
crypto/openssh/scp.c
1832
size_t need;
crypto/openssh/scp.c
184
size_t sftp_nrequests;
crypto/openssh/scp.c
2229
size_t size;
crypto/openssh/scp.c
431
size_t cnt;
crypto/openssh/scp.c
604
sftp_copy_buflen = (size_t)llv;
crypto/openssh/scp.c
612
sftp_nrequests = (size_t)llv;
crypto/openssh/scp.c
724
scpio(void *_cnt, size_t s)
crypto/openssh/scp.c
767
append(char *cp, char ***ap, size_t *np)
crypto/openssh/scp.c
840
int sel_start, int sel_end, char ***patternsp, size_t *npatternsp)
crypto/openssh/scp.c
843
size_t pattern_len;
crypto/openssh/scp.c
888
brace_expand_one(const char *pattern, char ***patternsp, size_t *npatternsp,
crypto/openssh/scp.c
953
brace_expand(const char *pattern, char ***patternsp, size_t *npatternsp)
crypto/openssh/scp.c
956
size_t i, nactive = 0, ndone = 0;
crypto/openssh/servconf.c
1264
size_t len;
crypto/openssh/servconf.c
2710
size_t linesize = 0;
crypto/openssh/servconf.c
881
size_t miblen = sizeof(mib);
crypto/openssh/serverloop.c
654
size_t blen, slen;
crypto/openssh/session.c
309
size_t i;
crypto/openssh/session.c
381
size_t i;
crypto/openssh/session.c
838
size_t linesize = 0;
crypto/openssh/session.c
884
size_t len;
crypto/openssh/session.c
974
size_t n;
crypto/openssh/sftp-client.c
1109
size_t old_handle_len, new_handle_len;
crypto/openssh/sftp-client.c
116
size_t len;
crypto/openssh/sftp-client.c
123
get_handle(struct sftp_conn *conn, u_int expected_id, size_t *len,
crypto/openssh/sftp-client.c
127
request_enqueue(struct requests *requests, u_int id, size_t len,
crypto/openssh/sftp-client.c
153
sftpio(void *_bwlimit, size_t amount)
crypto/openssh/sftp-client.c
1542
u_int openmode, Attrib *a, u_char **handlep, size_t *handle_lenp)
crypto/openssh/sftp-client.c
1546
size_t handle_len;
crypto/openssh/sftp-client.c
1608
size_t handle_len;
crypto/openssh/sftp-client.c
1694
size_t len;
crypto/openssh/sftp-client.c
2047
size_t handle_len;
crypto/openssh/sftp-client.c
2464
size_t from_handle_len, to_handle_len;
crypto/openssh/sftp-client.c
2526
size_t len;
crypto/openssh/sftp-client.c
2958
size_t len = strlen(p1) + strlen(p2) + 2;
crypto/openssh/sftp-client.c
3005
size_t l = strlen(pathname);
crypto/openssh/sftp-client.c
301
get_handle(struct sftp_conn *conn, u_int expected_id, size_t *len,
crypto/openssh/sftp-client.c
504
size_t vlen;
crypto/openssh/sftp-client.c
708
size_t handle_len;
crypto/openssh/sftp-common.c
135
size_t dlen;
crypto/openssh/sftp-glob.c
141
size_t l;
crypto/openssh/sftp-realpath.c
62
size_t left_len, resolved_len;
crypto/openssh/sftp-server.c
1616
size_t ret;
crypto/openssh/sftp-server.c
507
size_t hlen;
crypto/openssh/sftp-server.c
802
static size_t buflen;
crypto/openssh/sftp-server.c
857
size_t len;
crypto/openssh/sftp-server.c
885
} else if ((size_t)ret == len) {
crypto/openssh/sftp.c
1145
size_t i, j;
crypto/openssh/sftp.c
1200
size_t i, j;
crypto/openssh/sftp.c
1218
if ((size_t)argc >= sizeof(argv) / sizeof(*argv)){
crypto/openssh/sftp.c
1872
complete_ambiguous(const char *word, char **list, size_t count)
crypto/openssh/sftp.c
2078
(size_t)clen > sizeof(ins) - 2)
crypto/openssh/sftp.c
2451
size_t copy_buffer_len = 0;
crypto/openssh/sftp.c
2452
size_t num_requests = 0;
crypto/openssh/sftp.c
2580
copy_buffer_len = (size_t)llv;
crypto/openssh/sftp.c
2588
num_requests = (size_t)llv;
crypto/openssh/sftp.c
381
size_t len;
crypto/openssh/sftp.c
607
size_t i, o, len;
crypto/openssh/sk-api.h
101
struct sk_resident_key ***rks, size_t *nrks);
crypto/openssh/sk-api.h
46
size_t public_key_len;
crypto/openssh/sk-api.h
48
size_t key_handle_len;
crypto/openssh/sk-api.h
50
size_t signature_len;
crypto/openssh/sk-api.h
52
size_t attestation_cert_len;
crypto/openssh/sk-api.h
54
size_t authdata_len;
crypto/openssh/sk-api.h
61
size_t sig_r_len;
crypto/openssh/sk-api.h
63
size_t sig_s_len;
crypto/openssh/sk-api.h
68
size_t slot;
crypto/openssh/sk-api.h
73
size_t user_id_len;
crypto/openssh/sk-api.h
89
int sk_enroll(uint32_t alg, const uint8_t *challenge, size_t challenge_len,
crypto/openssh/sk-api.h
94
int sk_sign(uint32_t alg, const uint8_t *data, size_t data_len,
crypto/openssh/sk-api.h
95
const char *application, const uint8_t *key_handle, size_t key_handle_len,
crypto/openssh/srclimit.c
217
struct penalties_by_addr *by_addr, size_t *npenaltiesp)
crypto/openssh/srclimit.c
246
addr_masklen_ntop(struct xaddr *addr, int masklen, char *s, size_t slen)
crypto/openssh/srclimit.c
248
size_t o;
crypto/openssh/srclimit.c
267
size_t npenalties;
crypto/openssh/srclimit.c
289
if (npenalties >= (size_t)max_sources &&
crypto/openssh/srclimit.c
313
struct penalties_by_addr *by_addr, size_t *npenaltiesp, size_t max_sources)
crypto/openssh/srclimit.c
339
(size_t)penalty_cfg.max_sources4);
crypto/openssh/srclimit.c
342
(size_t)penalty_cfg.max_sources6);
crypto/openssh/srclimit.c
354
size_t *npenaltiesp = NULL;
crypto/openssh/srclimit.c
408
if (*npenaltiesp >= (size_t)max_sources &&
crypto/openssh/srclimit.c
429
if (++(*npenaltiesp) > (size_t)max_sources)
crypto/openssh/srclimit.c
460
struct penalties_by_expiry *by_expiry, size_t npenalties)
crypto/openssh/srclimit.c
68
static size_t npenalties4, npenalties6;
crypto/openssh/ssh-add.c
139
size_t linesize = 0;
crypto/openssh/ssh-add.c
249
size_t ndest_constraints)
crypto/openssh/ssh-add.c
255
size_t i;
crypto/openssh/ssh-add.c
464
struct dest_constraint **dest_constraints, size_t ndest_constraints,
crypto/openssh/ssh-add.c
465
struct sshkey **certs, size_t ncerts)
crypto/openssh/ssh-add.c
502
size_t slen = 0;
crypto/openssh/ssh-add.c
538
size_t i;
crypto/openssh/ssh-add.c
606
struct dest_constraint **dest_constraints, size_t ndest_constraints)
crypto/openssh/ssh-add.c
609
size_t nsrks, i;
crypto/openssh/ssh-add.c
659
struct dest_constraint **dest_constraints, size_t ndest_constraints)
crypto/openssh/ssh-add.c
677
size_t i = 0;
crypto/openssh/ssh-add.c
694
size_t i;
crypto/openssh/ssh-add.c
759
size_t *ndcp, char **hostkey_files)
crypto/openssh/ssh-add.c
822
size_t ndest_constraints = 0, ncerts = 0;
crypto/openssh/ssh-agent.c
1073
size_t elen = 0;
crypto/openssh/ssh-agent.c
1131
size_t elen = 0;
crypto/openssh/ssh-agent.c
1178
struct dest_constraint **dcsp, size_t *ndcsp, int *cert_onlyp,
crypto/openssh/ssh-agent.c
1179
struct sshkey ***certs, size_t *ncerts)
crypto/openssh/ssh-agent.c
1274
struct dest_constraint **dcsp, size_t *ndcsp,
crypto/openssh/ssh-agent.c
1275
int *cert_onlyp, size_t *ncerts, struct sshkey ***certs)
crypto/openssh/ssh-agent.c
131
size_t nsession_ids;
crypto/openssh/ssh-agent.c
1356
size_t ndest_constraints = 0;
crypto/openssh/ssh-agent.c
1469
size_t pwlen;
crypto/openssh/ssh-agent.c
148
size_t ndest_constraints;
crypto/openssh/ssh-agent.c
1534
size_t ndest_constraints)
crypto/openssh/ssh-agent.c
1566
size_t j, ndest_constraints = 0, ncerts = 0;
crypto/openssh/ssh-agent.c
1694
size_t i;
crypto/openssh/ssh-agent.c
2013
after_poll(struct pollfd *pfd, size_t npfd, u_int maxfds)
crypto/openssh/ssh-agent.c
2015
size_t i;
crypto/openssh/ssh-agent.c
204
size_t i;
crypto/openssh/ssh-agent.c
2067
prepare_poll(struct pollfd **pfdp, size_t *npfdp, struct timespec *timeoutp, u_int maxfds)
crypto/openssh/ssh-agent.c
2070
size_t i, j, npfd = 0;
crypto/openssh/ssh-agent.c
2205
size_t len;
crypto/openssh/ssh-agent.c
2209
size_t npfd = 0;
crypto/openssh/ssh-agent.c
244
free_dest_constraints(struct dest_constraint *dcs, size_t ndcs)
crypto/openssh/ssh-agent.c
246
size_t i;
crypto/openssh/ssh-agent.c
281
dup_dest_constraints(const struct dest_constraint *dcs, size_t ndcs)
crypto/openssh/ssh-agent.c
283
size_t i;
crypto/openssh/ssh-agent.c
326
const struct dest_constraint *dcs, size_t ndcs)
crypto/openssh/ssh-agent.c
329
size_t i;
crypto/openssh/ssh-agent.c
417
size_t i;
crypto/openssh/ssh-agent.c
472
size_t i;
crypto/openssh/ssh-agent.c
840
size_t slen = 0;
crypto/openssh/ssh-dss.c
260
u_char **sigp, size_t *lenp,
crypto/openssh/ssh-dss.c
261
const u_char *data, size_t datalen,
crypto/openssh/ssh-dss.c
267
size_t rlen, slen, len, dlen = ssh_digest_bytes(SSH_DIGEST_SHA1);
crypto/openssh/ssh-dss.c
330
const u_char *sig, size_t siglen,
crypto/openssh/ssh-dss.c
331
const u_char *data, size_t dlen, const char *alg, u_int compat,
crypto/openssh/ssh-dss.c
337
size_t len, hlen = ssh_digest_bytes(SSH_DIGEST_SHA1);
crypto/openssh/ssh-ecdsa-sk.c
170
webauthn_check_prepare_hash(const u_char *data, size_t datalen,
crypto/openssh/ssh-ecdsa-sk.c
173
u_char *msghash, size_t msghashlen)
crypto/openssh/ssh-ecdsa-sk.c
235
const u_char *sig, size_t siglen,
crypto/openssh/ssh-ecdsa-sk.c
236
const u_char *data, size_t dlen, const char *alg, u_int compat,
crypto/openssh/ssh-ecdsa-sk.c
56
const u_char *signature, size_t signaturelen,
crypto/openssh/ssh-ecdsa-sk.c
57
const u_char *data, size_t datalen, u_int compat,
crypto/openssh/ssh-ecdsa.c
227
u_char **sigp, size_t *lenp,
crypto/openssh/ssh-ecdsa.c
228
const u_char *data, size_t dlen,
crypto/openssh/ssh-ecdsa.c
235
size_t len, hlen;
crypto/openssh/ssh-ecdsa.c
292
const u_char *sig, size_t siglen,
crypto/openssh/ssh-ecdsa.c
293
const u_char *data, size_t dlen, const char *alg, u_int compat,
crypto/openssh/ssh-ecdsa.c
300
size_t hlen;
crypto/openssh/ssh-ed25519-sk.c
126
const u_char *sig, size_t siglen,
crypto/openssh/ssh-ed25519-sk.c
127
const u_char *data, size_t dlen, const char *alg, u_int compat,
crypto/openssh/ssh-ed25519-sk.c
140
size_t len;
crypto/openssh/ssh-ed25519.c
107
size_t len = 0;
crypto/openssh/ssh-ed25519.c
125
size_t sklen = 0;
crypto/openssh/ssh-ed25519.c
147
u_char **sigp, size_t *lenp,
crypto/openssh/ssh-ed25519.c
148
const u_char *data, size_t datalen,
crypto/openssh/ssh-ed25519.c
152
size_t slen = 0, len;
crypto/openssh/ssh-ed25519.c
206
const u_char *sig, size_t siglen,
crypto/openssh/ssh-ed25519.c
207
const u_char *data, size_t dlen, const char *alg, u_int compat,
crypto/openssh/ssh-ed25519.c
214
size_t len;
crypto/openssh/ssh-keygen.c
140
static size_t ncert_ext;
crypto/openssh/ssh-keygen.c
1497
int print_generic, char * const *opts, size_t nopts)
crypto/openssh/ssh-keygen.c
1503
size_t i;
crypto/openssh/ssh-keygen.c
1664
size_t i;
crypto/openssh/ssh-keygen.c
1755
agent_signer(struct sshkey *key, u_char **sigp, size_t *lenp,
crypto/openssh/ssh-keygen.c
1756
const u_char *data, size_t datalen,
crypto/openssh/ssh-keygen.c
1777
size_t j;
crypto/openssh/ssh-keygen.c
2182
size_t linesize = 0;
crypto/openssh/ssh-keygen.c
2245
hash_to_blob(const char *cp, u_char **blobp, size_t *lenp,
crypto/openssh/ssh-keygen.c
2249
size_t tlen;
crypto/openssh/ssh-keygen.c
2288
size_t blen = 0, linesize = 0;
crypto/openssh/ssh-keygen.c
2522
size_t i, slen, plen = strlen(keypath);
crypto/openssh/ssh-keygen.c
2675
sig_process_opts(char * const *opts, size_t nopts, char **hashalgp,
crypto/openssh/ssh-keygen.c
2678
size_t i;
crypto/openssh/ssh-keygen.c
2719
int argc, char **argv, char * const *opts, size_t nopts)
crypto/openssh/ssh-keygen.c
2802
char * const *opts, size_t nopts)
crypto/openssh/ssh-keygen.c
2893
char * const *opts, size_t nopts)
crypto/openssh/ssh-keygen.c
2941
char * const *opts, size_t nopts)
crypto/openssh/ssh-keygen.c
2945
size_t i, nprincipals = 0;
crypto/openssh/ssh-keygen.c
2966
do_moduli_gen(const char *out_file, char **opts, size_t nopts)
crypto/openssh/ssh-keygen.c
2974
size_t i;
crypto/openssh/ssh-keygen.c
3019
do_moduli_screen(const char *out_file, char **opts, size_t nopts)
crypto/openssh/ssh-keygen.c
3028
size_t i;
crypto/openssh/ssh-keygen.c
3125
sk_suffix(const char *application, const uint8_t *user, size_t userlen)
crypto/openssh/ssh-keygen.c
3128
size_t slen, i;
crypto/openssh/ssh-keygen.c
3165
size_t nsrks, i;
crypto/openssh/ssh-keygen.c
3360
size_t i, nopts = 0;
crypto/openssh/ssh-keygen.c
485
size_t slen;
crypto/openssh/ssh-keygen.c
620
get_line(FILE *fp, char *line, size_t len)
crypto/openssh/ssh-keygen.c
623
size_t pos = 0;
crypto/openssh/ssh-keygen.c
965
size_t linesize = 0;
crypto/openssh/ssh-keyscan.c
470
size_t bufsiz;
crypto/openssh/ssh-keyscan.c
476
if (n < 0 || (size_t)n >= sizeof(buf)) {
crypto/openssh/ssh-keyscan.c
481
if (atomicio(vwrite, s, buf, n) != (size_t)n) {
crypto/openssh/ssh-keyscan.c
683
size_t linesize = 0;
crypto/openssh/ssh-keysign.c
186
size_t slen, dlen;
crypto/openssh/ssh-keysign.c
66
u_char *data, size_t datalen)
crypto/openssh/ssh-keysign.c
72
size_t blen, len;
crypto/openssh/ssh-pkcs11-client.c
110
size_t i;
crypto/openssh/ssh-pkcs11-client.c
127
size_t i;
crypto/openssh/ssh-pkcs11-client.c
187
size_t mlen = sshbuf_len(m);
crypto/openssh/ssh-pkcs11-client.c
245
size_t i;
crypto/openssh/ssh-pkcs11-client.c
258
size_t blen, slen = 0;
crypto/openssh/ssh-pkcs11-client.c
292
if (slen <= (size_t)RSA_size(rsa)) {
crypto/openssh/ssh-pkcs11-client.c
335
size_t blen, slen = 0;
crypto/openssh/ssh-pkcs11-client.c
592
size_t blen;
crypto/openssh/ssh-pkcs11-client.c
70
size_t nrsa, nec; /* number of active keys of each type */
crypto/openssh/ssh-pkcs11-client.c
73
static size_t nhelpers;
crypto/openssh/ssh-pkcs11-client.c
78
size_t i;
crypto/openssh/ssh-pkcs11-client.c
93
size_t i;
crypto/openssh/ssh-pkcs11-helper.c
125
size_t blen;
crypto/openssh/ssh-pkcs11-helper.c
188
size_t blen, dlen, slen = 0;
crypto/openssh/ssh-pkcs11.c
1402
pkcs11_decode_hex(const char *hex, unsigned char **dest, size_t *rlen)
crypto/openssh/ssh-pkcs11.c
1404
size_t i, len;
crypto/openssh/ssh-pkcs11.c
1437
size_t size;
crypto/openssh/ssh-pkcs11.c
1452
size_t ecparams_size;
crypto/openssh/ssh-pkcs11.c
627
rmspace(u_char *buf, size_t len)
crypto/openssh/ssh-pkcs11.c
629
size_t i;
crypto/openssh/ssh-rsa.c
39
static int openssh_RSA_verify(int, u_char *, size_t, u_char *, size_t, RSA *);
crypto/openssh/ssh-rsa.c
392
u_char **sigp, size_t *lenp,
crypto/openssh/ssh-rsa.c
393
const u_char *data, size_t datalen,
crypto/openssh/ssh-rsa.c
398
size_t slen = 0;
crypto/openssh/ssh-rsa.c
440
size_t diff = slen - len;
crypto/openssh/ssh-rsa.c
475
const u_char *sig, size_t siglen,
crypto/openssh/ssh-rsa.c
476
const u_char *data, size_t dlen, const char *alg, u_int compat,
crypto/openssh/ssh-rsa.c
482
size_t len = 0, diff, modlen, hlen;
crypto/openssh/ssh-rsa.c
611
rsa_hash_alg_oid(int hash_alg, const u_char **oidp, size_t *oidlenp)
crypto/openssh/ssh-rsa.c
633
openssh_RSA_verify(int hash_alg, u_char *hash, size_t hashlen,
crypto/openssh/ssh-rsa.c
634
u_char *sigbuf, size_t siglen, RSA *rsa)
crypto/openssh/ssh-rsa.c
636
size_t rsasize = 0, oidlen = 0, hlen = 0;
crypto/openssh/ssh-rsa.c
664
if (len < 0 || (size_t)len != hlen + oidlen) {
crypto/openssh/ssh-sk-client.c
231
u_char **sigp, size_t *lenp, const u_char *data, size_t datalen,
crypto/openssh/ssh-sk-client.c
383
sshsk_free_resident_keys(struct sshsk_resident_key **srks, size_t nsrks)
crypto/openssh/ssh-sk-client.c
385
size_t i;
crypto/openssh/ssh-sk-client.c
398
size_t *nsrksp)
crypto/openssh/ssh-sk-client.c
405
size_t userid_len = 0, nsrks = 0;
crypto/openssh/ssh-sk.h
37
size_t user_id_len;
crypto/openssh/ssh-sk.h
62
u_char **sigp, size_t *lenp, const u_char *data, size_t datalen,
crypto/openssh/ssh-sk.h
73
size_t *nsrksp);
crypto/openssh/ssh-sk.h
76
void sshsk_free_resident_keys(struct sshsk_resident_key **srks, size_t nsrks);
crypto/openssh/ssh-xmss.c
111
size_t pklen;
crypto/openssh/ssh-xmss.c
135
size_t len = 0;
crypto/openssh/ssh-xmss.c
169
size_t pklen = 0, sklen = 0;
crypto/openssh/ssh-xmss.c
202
u_char **sigp, size_t *lenp,
crypto/openssh/ssh-xmss.c
203
const u_char *data, size_t datalen,
crypto/openssh/ssh-xmss.c
207
size_t slen = 0, len = 0, required_siglen;
crypto/openssh/ssh-xmss.c
278
const u_char *sig, size_t siglen,
crypto/openssh/ssh-xmss.c
279
const u_char *data, size_t dlen, const char *alg, u_int compat,
crypto/openssh/ssh-xmss.c
286
size_t len, required_siglen;
crypto/openssh/ssh.c
253
resolve_host(const char *name, int port, int logerr, char *cname, size_t clen)
crypto/openssh/ssh.c
336
resolve_addr(const char *name, int port, char *caddr, size_t clen)
crypto/openssh/ssh.c
577
if (r > 0 && (size_t)r < sizeof(buf))
crypto/openssh/ssh.c
632
size_t i;
crypto/openssh/ssh.c
647
size_t i;
crypto/openssh/ssh.c
681
size_t n, len;
crypto/openssh/ssh_api.c
247
ssh_input_append(struct ssh *ssh, const u_char *data, size_t len)
crypto/openssh/ssh_api.c
294
ssh_packet_payload(struct ssh *ssh, size_t *lenp)
crypto/openssh/ssh_api.c
300
ssh_packet_put(struct ssh *ssh, int type, const u_char *data, size_t len)
crypto/openssh/ssh_api.c
312
ssh_output_ptr(struct ssh *ssh, size_t *len)
crypto/openssh/ssh_api.c
321
ssh_output_consume(struct ssh *ssh, size_t len)
crypto/openssh/ssh_api.c
327
ssh_output_space(struct ssh *ssh, size_t len)
crypto/openssh/ssh_api.c
333
ssh_input_space(struct ssh *ssh, size_t len)
crypto/openssh/ssh_api.c
348
size_t n, j;
crypto/openssh/ssh_api.c
50
u_char **, size_t *, const u_char *, size_t, const char *);
crypto/openssh/ssh_api.c
532
size_t maxlen;
crypto/openssh/ssh_api.c
580
struct sshkey *pubkey, u_char **signature, size_t *slen,
crypto/openssh/ssh_api.c
581
const u_char *data, size_t dlen, const char *alg)
crypto/openssh/ssh_api.c
67
size_t slen = 0;
crypto/openssh/ssh_api.h
104
size_t len);
crypto/openssh/ssh_api.h
110
int ssh_input_space(struct ssh *ssh, size_t len);
crypto/openssh/ssh_api.h
115
int ssh_input_append(struct ssh *ssh, const u_char *data, size_t len);
crypto/openssh/ssh_api.h
121
int ssh_output_space(struct ssh *ssh, size_t len);
crypto/openssh/ssh_api.h
129
const u_char *ssh_output_ptr(struct ssh *ssh, size_t *len);
crypto/openssh/ssh_api.h
135
int ssh_output_consume(struct ssh *ssh, size_t len);
crypto/openssh/ssh_api.h
96
const u_char *ssh_packet_payload(struct ssh *ssh, size_t *lenp);
crypto/openssh/sshbuf-getput-basic.c
100
check_offset(const struct sshbuf *buf, int wr, size_t offset, size_t len)
crypto/openssh/sshbuf-getput-basic.c
114
check_roffset(const struct sshbuf *buf, size_t offset, size_t len,
crypto/openssh/sshbuf-getput-basic.c
127
sshbuf_peek_u64(const struct sshbuf *buf, size_t offset, u_int64_t *valp)
crypto/openssh/sshbuf-getput-basic.c
142
sshbuf_peek_u32(const struct sshbuf *buf, size_t offset, u_int32_t *valp)
crypto/openssh/sshbuf-getput-basic.c
157
sshbuf_peek_u16(const struct sshbuf *buf, size_t offset, u_int16_t *valp)
crypto/openssh/sshbuf-getput-basic.c
172
sshbuf_peek_u8(const struct sshbuf *buf, size_t offset, u_char *valp)
crypto/openssh/sshbuf-getput-basic.c
187
sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp)
crypto/openssh/sshbuf-getput-basic.c
190
size_t len;
crypto/openssh/sshbuf-getput-basic.c
214
sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp)
crypto/openssh/sshbuf-getput-basic.c
216
size_t len;
crypto/openssh/sshbuf-getput-basic.c
241
size_t *lenp)
crypto/openssh/sshbuf-getput-basic.c
271
sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp)
crypto/openssh/sshbuf-getput-basic.c
273
size_t len;
crypto/openssh/sshbuf-getput-basic.c
301
*lenp = (size_t)len;
crypto/openssh/sshbuf-getput-basic.c
326
sshbuf_put(struct sshbuf *buf, const void *v, size_t len)
crypto/openssh/sshbuf-getput-basic.c
35
sshbuf_get(struct sshbuf *buf, void *v, size_t len)
crypto/openssh/sshbuf-getput-basic.c
376
if ((r = sshbuf_reserve(buf, (size_t)len + 1, &p)) < 0)
crypto/openssh/sshbuf-getput-basic.c
440
check_woffset(struct sshbuf *buf, size_t offset, size_t len, u_char **p)
crypto/openssh/sshbuf-getput-basic.c
454
sshbuf_poke_u64(struct sshbuf *buf, size_t offset, u_int64_t val)
crypto/openssh/sshbuf-getput-basic.c
466
sshbuf_poke_u32(struct sshbuf *buf, size_t offset, u_int32_t val)
crypto/openssh/sshbuf-getput-basic.c
478
sshbuf_poke_u16(struct sshbuf *buf, size_t offset, u_int16_t val)
crypto/openssh/sshbuf-getput-basic.c
490
sshbuf_poke_u8(struct sshbuf *buf, size_t offset, u_char val)
crypto/openssh/sshbuf-getput-basic.c
502
sshbuf_poke(struct sshbuf *buf, size_t offset, void *v, size_t len)
crypto/openssh/sshbuf-getput-basic.c
514
sshbuf_put_string(struct sshbuf *buf, const void *v, size_t len)
crypto/openssh/sshbuf-getput-basic.c
550
size_t len;
crypto/openssh/sshbuf-getput-basic.c
571
sshbuf_put_bignum2_bytes(struct sshbuf *buf, const void *v, size_t len)
crypto/openssh/sshbuf-getput-basic.c
601
const u_char **valp, size_t *lenp)
crypto/openssh/sshbuf-getput-basic.c
604
size_t len, olen;
crypto/openssh/sshbuf-getput-crypto.c
100
size_t len;
crypto/openssh/sshbuf-getput-crypto.c
157
size_t len;
crypto/openssh/sshbuf-getput-crypto.c
40
size_t len;
crypto/openssh/sshbuf-getput-crypto.c
60
get_ec(const u_char *d, size_t len, EC_POINT *v, const EC_GROUP *g)
crypto/openssh/sshbuf-getput-crypto.c
77
size_t len;
crypto/openssh/sshbuf-io.c
37
size_t len;
crypto/openssh/sshbuf-misc.c
151
size_t plen = strlen(b64);
crypto/openssh/sshbuf-misc.c
177
size_t i, l;
crypto/openssh/sshbuf-misc.c
218
size_t l = sshbuf_len(buf);
crypto/openssh/sshbuf-misc.c
238
sshbuf_cmp(const struct sshbuf *b, size_t offset,
crypto/openssh/sshbuf-misc.c
239
const void *s, size_t len)
crypto/openssh/sshbuf-misc.c
253
sshbuf_find(const struct sshbuf *b, size_t start_offset,
crypto/openssh/sshbuf-misc.c
254
const void *s, size_t len, size_t *offsetp)
crypto/openssh/sshbuf-misc.c
275
sshbuf_read(int fd, struct sshbuf *buf, size_t maxlen, size_t *rlen)
crypto/openssh/sshbuf-misc.c
278
size_t adjust;
crypto/openssh/sshbuf-misc.c
306
*rlen = (size_t)rr;
crypto/openssh/sshbuf-misc.c
40
sshbuf_dump_data(const void *s, size_t len, FILE *f)
crypto/openssh/sshbuf-misc.c
42
size_t i, j;
crypto/openssh/sshbuf-misc.c
76
size_t i, j, len = sshbuf_len(buf);
crypto/openssh/sshbuf-misc.c
96
size_t i, slen = 0;
crypto/openssh/sshbuf.c
111
sshbuf_from(const void *blob, size_t len)
crypto/openssh/sshbuf.c
218
size_t
crypto/openssh/sshbuf.c
224
size_t
crypto/openssh/sshbuf.c
243
sshbuf_set_max_size(struct sshbuf *buf, size_t max_size)
crypto/openssh/sshbuf.c
245
size_t rlen;
crypto/openssh/sshbuf.c
280
size_t
crypto/openssh/sshbuf.c
288
size_t
crypto/openssh/sshbuf.c
313
sshbuf_check_reserve(const struct sshbuf *buf, size_t len)
crypto/openssh/sshbuf.c
329
sshbuf_allocate(struct sshbuf *buf, size_t len)
crypto/openssh/sshbuf.c
331
size_t rlen, need;
crypto/openssh/sshbuf.c
372
sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp)
crypto/openssh/sshbuf.c
392
sshbuf_consume(struct sshbuf *buf, size_t len)
crypto/openssh/sshbuf.c
412
sshbuf_consume_end(struct sshbuf *buf, size_t len)
crypto/openssh/sshbuf.c
45
size_t off; /* First available byte is buf->d + buf->off */
crypto/openssh/sshbuf.c
46
size_t size; /* Last byte is buf->d + buf->size - 1 */
crypto/openssh/sshbuf.c
47
size_t max_size; /* Maximum size of buffer */
crypto/openssh/sshbuf.c
48
size_t alloc; /* Total bytes allocated to buf->d */
crypto/openssh/sshbuf.h
115
int sshbuf_check_reserve(const struct sshbuf *buf, size_t len);
crypto/openssh/sshbuf.h
123
int sshbuf_allocate(struct sshbuf *buf, size_t len);
crypto/openssh/sshbuf.h
130
int sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp);
crypto/openssh/sshbuf.h
136
int sshbuf_consume(struct sshbuf *buf, size_t len);
crypto/openssh/sshbuf.h
142
int sshbuf_consume_end(struct sshbuf *buf, size_t len);
crypto/openssh/sshbuf.h
145
int sshbuf_get(struct sshbuf *buf, void *v, size_t len);
crypto/openssh/sshbuf.h
146
int sshbuf_put(struct sshbuf *buf, const void *v, size_t len);
crypto/openssh/sshbuf.h
165
int sshbuf_peek_u64(const struct sshbuf *buf, size_t offset,
crypto/openssh/sshbuf.h
167
int sshbuf_peek_u32(const struct sshbuf *buf, size_t offset,
crypto/openssh/sshbuf.h
169
int sshbuf_peek_u16(const struct sshbuf *buf, size_t offset,
crypto/openssh/sshbuf.h
171
int sshbuf_peek_u8(const struct sshbuf *buf, size_t offset,
crypto/openssh/sshbuf.h
178
int sshbuf_poke_u64(struct sshbuf *buf, size_t offset, u_int64_t val);
crypto/openssh/sshbuf.h
179
int sshbuf_poke_u32(struct sshbuf *buf, size_t offset, u_int32_t val);
crypto/openssh/sshbuf.h
180
int sshbuf_poke_u16(struct sshbuf *buf, size_t offset, u_int16_t val);
crypto/openssh/sshbuf.h
181
int sshbuf_poke_u8(struct sshbuf *buf, size_t offset, u_char val);
crypto/openssh/sshbuf.h
182
int sshbuf_poke(struct sshbuf *buf, size_t offset, void *v, size_t len);
crypto/openssh/sshbuf.h
189
int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
crypto/openssh/sshbuf.h
190
int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp);
crypto/openssh/sshbuf.h
192
int sshbuf_put_string(struct sshbuf *buf, const void *v, size_t len);
crypto/openssh/sshbuf.h
202
size_t *lenp);
crypto/openssh/sshbuf.h
209
size_t *lenp);
crypto/openssh/sshbuf.h
215
int sshbuf_put_bignum2_bytes(struct sshbuf *buf, const void *v, size_t len);
crypto/openssh/sshbuf.h
217
const u_char **valp, size_t *lenp);
crypto/openssh/sshbuf.h
233
void sshbuf_dump_data(const void *s, size_t len, FILE *f);
crypto/openssh/sshbuf.h
259
int sshbuf_cmp(const struct sshbuf *b, size_t offset,
crypto/openssh/sshbuf.h
260
const void *s, size_t len);
crypto/openssh/sshbuf.h
271
sshbuf_find(const struct sshbuf *b, size_t start_offset,
crypto/openssh/sshbuf.h
272
const void *s, size_t len, size_t *offsetp);
crypto/openssh/sshbuf.h
298
int sshbuf_read(int, struct sshbuf *, size_t, size_t *)
crypto/openssh/sshbuf.h
353
size_t sshbuf_alloc(const struct sshbuf *buf);
crypto/openssh/sshbuf.h
48
struct sshbuf *sshbuf_from(const void *blob, size_t len);
crypto/openssh/sshbuf.h
80
size_t sshbuf_max_size(const struct sshbuf *buf);
crypto/openssh/sshbuf.h
86
int sshbuf_set_max_size(struct sshbuf *buf, size_t max_size);
crypto/openssh/sshbuf.h
91
size_t sshbuf_len(const struct sshbuf *buf);
crypto/openssh/sshbuf.h
96
size_t sshbuf_avail(const struct sshbuf *buf);
crypto/openssh/sshconnect.c
700
size_t l;
crypto/openssh/sshconnect2.c
1201
identity_sign(struct identity *id, u_char **sigp, size_t *lenp,
crypto/openssh/sshconnect2.c
1202
const u_char *data, size_t datalen, u_int compat, const char *alg)
crypto/openssh/sshconnect2.c
125
size_t maxlen;
crypto/openssh/sshconnect2.c
1291
size_t len = strlen(id->filename), plen = strlen(private_id->filename);
crypto/openssh/sshconnect2.c
1292
size_t i, slen;
crypto/openssh/sshconnect2.c
1313
size_t slen = 0, skip = 0;
crypto/openssh/sshconnect2.c
1483
size_t bloblen;
crypto/openssh/sshconnect2.c
1671
size_t j;
crypto/openssh/sshconnect2.c
2010
ssh_keysign(struct ssh *ssh, struct sshkey *key, u_char **sigp, size_t *lenp,
crypto/openssh/sshconnect2.c
2011
const u_char *data, size_t datalen)
crypto/openssh/sshconnect2.c
2133
size_t siglen = 0, keylen = 0;
crypto/openssh/sshconnect2.c
571
size_t len;
crypto/openssh/sshconnect2.c
686
size_t blen;
crypto/openssh/sshconnect2.c
888
size_t oidlen;
crypto/openssh/sshconnect2.c
933
size_t len;
crypto/openssh/sshconnect2.c
968
size_t len;
crypto/openssh/sshd-session.c
1395
struct sshkey *pubkey, u_char **signature, size_t *slenp,
crypto/openssh/sshd-session.c
1396
const u_char *data, size_t dlen, const char *alg)
crypto/openssh/sshd-session.c
685
size_t len;
crypto/openssh/sshd-session.c
738
size_t len;
crypto/openssh/sshd.c
1124
size_t len;
crypto/openssh/sshkey-xmss.c
233
sshkey_xmss_siglen(const struct sshkey *key, size_t *lenp)
crypto/openssh/sshkey-xmss.c
247
size_t
crypto/openssh/sshkey-xmss.c
257
size_t
crypto/openssh/sshkey-xmss.c
272
size_t keylen = 0, ivlen = 0;
crypto/openssh/sshkey-xmss.c
312
size_t len;
crypto/openssh/sshkey-xmss.c
539
size_t required_siglen;
crypto/openssh/sshkey-xmss.c
777
size_t ls, lsl, la, lk, ln, lr;
crypto/openssh/sshkey-xmss.c
897
size_t i, keylen, ivlen, blocksize, authlen, encrypted_len, aadlen;
crypto/openssh/sshkey-xmss.c
988
size_t keylen, ivlen, authlen, aadlen;
crypto/openssh/sshkey-xmss.h
33
size_t sshkey_xmss_pklen(const struct sshkey *);
crypto/openssh/sshkey-xmss.h
34
size_t sshkey_xmss_sklen(const struct sshkey *);
crypto/openssh/sshkey-xmss.h
47
int sshkey_xmss_siglen(const struct sshkey *, size_t *);
crypto/openssh/sshkey.c
1014
fingerprint_randomart(const char *alg, u_char *dgst_raw, size_t dgst_raw_len,
crypto/openssh/sshkey.c
1024
size_t i, tlen, hlen;
crypto/openssh/sshkey.c
1027
size_t len = strlen(augmentation_string) - 1;
crypto/openssh/sshkey.c
1116
size_t dgst_raw_len;
crypto/openssh/sshkey.c
1154
peek_type_nid(const char *s, size_t l, int *nid)
crypto/openssh/sshkey.c
1179
size_t space;
crypto/openssh/sshkey.c
1542
size_t i, enclen = 0;
crypto/openssh/sshkey.c
1652
size_t i;
crypto/openssh/sshkey.c
1767
size_t signed_len = 0, slen = 0, kidlen = 0;
crypto/openssh/sshkey.c
1964
sshkey_from_blob(const u_char *blob, size_t blen, struct sshkey **keyp)
crypto/openssh/sshkey.c
1996
sshkey_get_sigtype(const u_char *sig, size_t siglen, char **sigtypep)
crypto/openssh/sshkey.c
2069
sshkey_check_sigtype(const u_char *sig, size_t siglen,
crypto/openssh/sshkey.c
2089
u_char **sigp, size_t *lenp,
crypto/openssh/sshkey.c
2090
const u_char *data, size_t datalen,
crypto/openssh/sshkey.c
2129
const u_char *sig, size_t siglen,
crypto/openssh/sshkey.c
2130
const u_char *data, size_t dlen, const char *alg, u_int compat,
crypto/openssh/sshkey.c
2180
size_t i, ca_len, sig_len;
crypto/openssh/sshkey.c
2284
default_key_sign(struct sshkey *key, u_char **sigp, size_t *lenp,
crypto/openssh/sshkey.c
2285
const u_char *data, size_t datalen,
crypto/openssh/sshkey.c
2401
size_t
crypto/openssh/sshkey.c
2402
sshkey_format_cert_validity(const struct sshkey_cert *cert, char *s, size_t l)
crypto/openssh/sshkey.c
2754
size_t i, pubkeylen, keylen, ivlen, blocksize, authlen;
crypto/openssh/sshkey.c
2877
size_t encoded_len;
crypto/openssh/sshkey.c
2955
size_t keylen = 0, ivlen = 0, authlen = 0, slen = 0;
crypto/openssh/sshkey.c
322
size_t i, nlen, rlen = 0;
crypto/openssh/sshkey.c
3413
size_t len;
crypto/openssh/sshkey.c
3417
if (size < 0 || len > (size_t)size)
crypto/openssh/sshkey.c
3514
size_t len;
crypto/openssh/sshkey.c
808
to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain,
crypto/openssh/sshkey.c
812
size_t len;
crypto/openssh/sshkey.c
840
sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp)
crypto/openssh/sshkey.c
846
sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp)
crypto/openssh/sshkey.c
853
u_char **retp, size_t *lenp)
crypto/openssh/sshkey.c
856
size_t blob_len = 0;
crypto/openssh/sshkey.c
893
fingerprint_b64(const char *alg, u_char *dgst_raw, size_t dgst_raw_len)
crypto/openssh/sshkey.c
896
size_t plen = strlen(alg) + 1;
crypto/openssh/sshkey.c
897
size_t rlen = ((dgst_raw_len + 2) / 3) * 4 + plen + 1;
crypto/openssh/sshkey.c
915
fingerprint_hex(const char *alg, u_char *dgst_raw, size_t dgst_raw_len)
crypto/openssh/sshkey.c
918
size_t i, rlen = dgst_raw_len * 3 + strlen(alg) + 2;
crypto/openssh/sshkey.c
933
fingerprint_bubblebabble(u_char *dgst_raw, size_t dgst_raw_len)
crypto/openssh/sshkey.h
153
size_t shielded_len;
crypto/openssh/sshkey.h
155
size_t shield_prekey_len;
crypto/openssh/sshkey.h
182
int (*sign)(struct sshkey *, u_char **, size_t *,
crypto/openssh/sshkey.h
183
const u_char *, size_t, const char *,
crypto/openssh/sshkey.h
185
int (*verify)(const struct sshkey *, const u_char *, size_t,
crypto/openssh/sshkey.h
186
const u_char *, size_t, const char *, u_int,
crypto/openssh/sshkey.h
210
int, u_char **retp, size_t *lenp);
crypto/openssh/sshkey.h
243
size_t sshkey_format_cert_validity(const struct sshkey_cert *,
crypto/openssh/sshkey.h
244
char *, size_t) __attribute__((__bounded__(__string__, 2, 3)));
crypto/openssh/sshkey.h
250
typedef int sshkey_certify_signer(struct sshkey *, u_char **, size_t *,
crypto/openssh/sshkey.h
251
const u_char *, size_t, const char *, const char *, const char *,
crypto/openssh/sshkey.h
270
int sshkey_from_blob(const u_char *, size_t, struct sshkey **);
crypto/openssh/sshkey.h
273
int sshkey_to_blob(const struct sshkey *, u_char **, size_t *);
crypto/openssh/sshkey.h
279
int sshkey_plain_to_blob(const struct sshkey *, u_char **, size_t *);
crypto/openssh/sshkey.h
282
int sshkey_sign(struct sshkey *, u_char **, size_t *,
crypto/openssh/sshkey.h
283
const u_char *, size_t, const char *, const char *, const char *, u_int);
crypto/openssh/sshkey.h
284
int sshkey_verify(const struct sshkey *, const u_char *, size_t,
crypto/openssh/sshkey.h
285
const u_char *, size_t, const char *, u_int, struct sshkey_sig_details **);
crypto/openssh/sshkey.h
286
int sshkey_check_sigtype(const u_char *, size_t, const char *);
crypto/openssh/sshkey.h
288
int sshkey_get_sigtype(const u_char *, size_t, char **);
crypto/openssh/sshlogin.c
77
char *buf, size_t bufsize)
crypto/openssh/sshlogin.h
18
time_t get_last_login_time(uid_t, const char *, char *, size_t);
crypto/openssh/sshpty.c
65
pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen)
crypto/openssh/sshpty.h
23
int pty_allocate(int *, int *, char *, size_t);
crypto/openssh/sshsig.c
1030
size_t linesize = 0;
crypto/openssh/sshsig.c
1074
char ***principalsp, size_t *nprincipalsp)
crypto/openssh/sshsig.c
1078
size_t i, nprincipals = 0, linesize = 0;
crypto/openssh/sshsig.c
170
size_t slen = 0;
crypto/openssh/sshsig.c
309
size_t siglen;
crypto/openssh/sshsig.c
535
total += (size_t)n;
crypto/openssh/sshsig.c
536
if ((r = ssh_digest_update(ctx, rbuf, (size_t)n)) != 0) {
crypto/openssh/sshsig.c
91
size_t eoffset = 0;
crypto/openssh/sshsig.c
989
size_t linesize = 0;
crypto/openssh/sshsig.h
109
const char *principal, char ***principalsp, size_t *nprincipalsp);
crypto/openssh/sshsig.h
26
typedef int sshsig_signer(struct sshkey *, u_char **, size_t *,
crypto/openssh/sshsig.h
27
const u_char *, size_t, const char *, const char *, const char *,
crypto/openssh/ttymodes.c
351
size_t len;
crypto/openssh/umac.c
1222
size_t bytes_to_add;
crypto/openssh/utf8.c
104
vasnmprintf(char **str, size_t maxsz, int *wp, const char *fmt, va_list ap)
crypto/openssh/utf8.c
111
size_t sz; /* Number of bytes allocated for dst. */
crypto/openssh/utf8.c
240
snmprintf(char *str, size_t sz, int *wp, const char *fmt, ...)
crypto/openssh/utf8.c
258
asmprintf(char **outp, size_t sz, int *wp, const char *fmt, ...)
crypto/openssh/utf8.c
45
static int grow_dst(char **, size_t *, size_t, char **, size_t);
crypto/openssh/utf8.c
73
grow_dst(char **dst, size_t *sz, size_t maxsz, char **dp, size_t need)
crypto/openssh/utf8.c
76
size_t tsz;
crypto/openssh/utf8.h
18
int vasnmprintf(char **, size_t, int *, const char *, va_list);
crypto/openssh/utf8.h
24
int snmprintf(char *, size_t, int *, const char *, ...)
crypto/openssh/utf8.h
26
int asmprintf(char **, size_t, int *, const char *, ...)
crypto/openssh/xmalloc.c
34
xmalloc(size_t size)
crypto/openssh/xmalloc.c
47
xcalloc(size_t nmemb, size_t size)
crypto/openssh/xmalloc.c
63
xreallocarray(void *ptr, size_t nmemb, size_t size)
crypto/openssh/xmalloc.c
75
xrecallocarray(void *ptr, size_t onmemb, size_t nmemb, size_t size)
crypto/openssh/xmalloc.c
89
size_t len;
crypto/openssh/xmalloc.h
19
void *xmalloc(size_t);
crypto/openssh/xmalloc.h
20
void *xcalloc(size_t, size_t);
crypto/openssh/xmalloc.h
21
void *xreallocarray(void *, size_t, size_t);
crypto/openssh/xmalloc.h
22
void *xrecallocarray(void *, size_t, size_t, size_t);
crypto/openssh/xmss_commons.c
29
void hexdump(const unsigned char *a, size_t len)
crypto/openssh/xmss_commons.c
31
size_t i;
crypto/openssh/xmss_commons.h
19
void hexdump(const unsigned char *a, size_t len);
games/adventure/crc.c
114
crc_add(struct crcstate *c, const void *data, size_t num)
games/adventure/crc.c
117
size_t pos;
games/adventure/extern.h
37
void crc_add(struct crcstate *, const void *, size_t);
games/adventure/save.c
139
savefile_rawread(struct savefile *sf, void *data, size_t len)
games/adventure/save.c
141
size_t result;
games/adventure/save.c
156
savefile_rawwrite(struct savefile *sf, const void *data, size_t len)
games/adventure/save.c
158
size_t result;
games/adventure/save.c
196
savefile_bintextread(struct savefile *sf, void *data, size_t len)
games/adventure/save.c
198
size_t pos;
games/adventure/save.c
223
savefile_binread(struct savefile *sf, void *data, size_t len)
games/adventure/save.c
228
size_t pos, amt, i;
games/adventure/save.c
258
savefile_bintextwrite(struct savefile *sf, const void *data, size_t len)
games/adventure/save.c
260
size_t pos, amt;
games/adventure/save.c
287
savefile_binwrite(struct savefile *sf, const void *data, size_t len)
games/adventure/save.c
291
size_t pos, bpos;
games/adventure/save.c
325
hash(const void *data, size_t datalen, unsigned char *out, size_t outlen)
games/adventure/save.c
328
size_t i;
games/adventure/save.c
331
size_t valpos;
games/adventure/save.c
384
savefile_cread(struct savefile *sf, void *data, size_t len)
games/adventure/save.c
388
size_t pos, amt, i;
games/adventure/save.c
416
savefile_cwrite(struct savefile *sf, const void *data, size_t len)
games/adventure/save.c
420
size_t pos, amt, i;
games/adventure/save.c
449
size_t width;
games/adventure/save.c
525
size_t i;
games/adventure/save.c
53
size_t bintextpos;
games/adventure/save.c
641
size_t len;
games/adventure/save.c
749
size_t headersize = strlen(header);
games/adventure/wizard.c
126
size_t pos;
games/banner/banner.c
1052
if ((message = malloc((size_t)j)) == NULL)
games/banner/banner.c
1061
if ((message = malloc((size_t)MAXMSG)) == NULL)
games/battlestar/cypher.c
43
size_t filename_len;
games/battlestar/extern.h
373
char *save_file_name(const char *, size_t);
games/battlestar/save.c
149
save_file_name(const char *filename, size_t len)
games/battlestar/save.c
153
size_t tmpl;
games/bcd/bcd.c
114
static void printonecard(char *, size_t);
games/bcd/bcd.c
175
size_t len = strlen(str);
games/bcd/bcd.c
178
size_t amt = len > columns ? columns : len;
games/bcd/bcd.c
186
printonecard(char *str, size_t len)
games/boggle/boggle/bog.c
293
if (strlen(buf) < (size_t)minlength) {
games/cgram/cgram.c
104
size_t num;
games/cgram/cgram.c
144
for (size_t i = 0; i < a->num; i++)
games/cgram/cgram.c
152
size_t num = a->num++;
games/cgram/cgram.c
163
for (size_t i = 0; i < src->num; i++) {
games/cgram/cgram.c
302
for (size_t i = 0; i < lines.num; i++)
games/cgram/cgram.c
98
size_t len;
games/cgram/cgram.c
99
size_t cap;
games/colorbars/colorbars.c
106
for (size_t line = 0; line < lengths[i]; line++)
games/colorbars/colorbars.c
52
size_t lengths[NELEM(colorInfo)];
games/colorbars/colorbars.c
54
static const size_t numcolors = NELEM(colorInfo);
games/colorbars/colorbars.c
55
size_t labelwidth;
games/colorbars/colorbars.c
81
for (size_t i = 0; i < numcolors; i++) {
games/colorbars/colorbars.c
94
for (size_t i = 0; i < numcolors; i++) {
games/gomoku/main.c
345
size_t pos;
games/gomoku/pickmove.c
1222
size_t pos;
games/gomoku/pickmove.c
1281
size_t pos;
games/gomoku/pickmove.c
1326
printcombo(struct combostr *cbp, char *buf, size_t max)
games/gomoku/pickmove.c
1329
size_t pos = 0;
games/gomoku/pickmove.c
72
static void printcombo(struct combostr *, char *, size_t);
games/hack/alloc.c
69
alloc(size_t len)
games/hack/extern.h
201
void bwrite(int, const void *, size_t);
games/hack/extern.h
205
void mread(int, void *, size_t);
games/hack/extern.h
285
void setan(const char *, char *, size_t);
games/hack/extern.h
37
void *alloc(size_t);
games/hack/hack.do_name.c
118
size_t lth;
games/hack/hack.do_name.c
172
size_t lth;
games/hack/hack.end.c
505
size_t pos;
games/hack/hack.engrave.c
103
size_t n;
games/hack/hack.engrave.c
133
size_t lth;
games/hack/hack.lev.c
129
bwrite(int fd, const void *loc, size_t num)
games/hack/hack.lev.c
132
if ((size_t)write(fd, loc, num) != num)
games/hack/hack.lev.c
306
mread(int fd, void *buf, size_t len)
games/hack/hack.lev.c
311
if (rlen < 0 || (size_t)rlen != len) {
games/hack/hack.main.c
480
size_t pos;
games/hack/hack.o_init.c
178
size_t len;
games/hack/hack.objnam.c
100
size_t bufpos;
games/hack/hack.objnam.c
169
size_t bufmax = sizeof(bufr) - PREFIX;
games/hack/hack.objnam.c
339
size_t bppos, bpmax;
games/hack/hack.objnam.c
392
setan(const char *str, char *buf, size_t bufmax)
games/hack/hack.objnam.c
405
size_t bpmax;
games/hack/hack.options.c
238
size_t pos;
games/hack/hack.pri.c
713
size_t pos;
games/hack/makedefs.c
171
if (strlen(s) > (size_t)(lpe - lp + 1)) {
games/hack/makedefs.c
181
if (strlen(s) > (size_t)(lpe - lp + 1)) {
games/hangman/getsym.c
42
size_t symlen;
games/hangman/getword.c
48
size_t wordlen;
games/hunt/hunt/client.h
55
int otto(int, int, char, char *, size_t);
games/hunt/hunt/otto.c
140
otto(int y, int x, char face, char *buf, size_t buflen)
games/hunt/huntd/conf.c
255
size_t len;
games/monop/cards.c
205
dp->cards = calloc((size_t)dp->num_cards, sizeof(dp->cards[0]));
games/monop/execute.c
532
play = calloc((size_t)num_play, sizeof(play[0]));
games/monop/monop.c
266
cur_p = play = calloc((size_t)num_play, sizeof (PLAY));
games/morse/morse.c
273
size_t len;
games/phantasia/interplayer.c
11
static size_t allocvoid(void);
games/phantasia/interplayer.c
992
static size_t
games/phantasia/interplayer.c
995
size_t loc = 0; /* location of new energy void */
games/phantasia/misc.c
855
size_t length; /* length of string */
games/primes/pattern.c
440
const size_t pattern_size = (sizeof(pattern)/sizeof(pattern[0]));
games/primes/primes.h
67
extern const size_t pattern_size; /* length of pattern array */
games/quiz/quiz.c
112
size_t len;
games/quiz/quiz.c
206
size_t len;
games/quiz/quiz.c
299
appdstr(char *s, char *tp, size_t len)
games/quiz/quiz.c
55
char *appdstr (char *, char *, size_t);
games/random/randomize_fd.c
123
} else if ((size_t)len < buflen)
games/random/randomize_fd.c
124
buflen = (size_t)len;
games/random/randomize_fd.c
144
buflen = i + (size_t)len;
games/random/randomize_fd.c
163
buflen = (size_t)len;
games/random/randomize_fd.c
99
size_t bufc, buflen, i;
games/rogue/save.c
352
read_string(char *s, FILE *fp, size_t len)
games/rogue/save.c
58
static void read_string(char *, FILE *, size_t);
games/rogue/save.c
90
size_t len;
games/sail/dr_2.c
163
closeon(struct ship *from, struct ship *to, char *command, size_t commandmax,
games/sail/dr_2.c
176
score(struct ship *ship, struct ship *to, char *movement, size_t movementmax,
games/sail/dr_2.c
250
char *command, size_t commandmax,
games/sail/dr_2.c
251
char *temp, size_t tempmax,
games/sail/dr_2.c
51
static int score(struct ship *, struct ship *, char *, size_t, int);
games/sail/dr_2.c
55
char *command, size_t commandmax, char *temp, size_t tempmax,
games/sail/extern.h
273
void closeon(struct ship *, struct ship *, char *, size_t, int, int, bool);
games/sail/extern.h
364
void fmtship(char *, size_t, const char *, struct ship *);
games/sail/pl_7.c
1280
startup_getstr(int y, int x, char *buf, size_t max)
games/sail/pl_7.c
1282
size_t pos = 0;
games/sail/pl_7.c
219
size_t width, const char *str)
games/sail/pl_7.c
221
size_t i, len;
games/sail/pl_7.c
243
size_t width, const char *fmt, ...)
games/sail/pl_7.c
246
size_t x;
games/sail/sync.c
169
fmtship(char *buf, size_t len, const char *fmt, struct ship *ship)
games/sail/sync.c
177
size_t l = snprintf(buf, len, "%s (%c%c)",
games/sail/sync.c
288
size_t max = sizeof(sync_buf) - (sync_bp - sync_buf);
games/sail/sync.c
304
size_t max = sizeof(sync_buf) - (sync_bp - sync_buf);
games/worms/worms.c
221
if (!(worm = malloc((size_t)number *
games/worms/worms.c
222
sizeof(struct worm))) || !(mp = malloc((size_t)1024)))
games/worms/worms.c
229
if (!(ip = malloc((size_t)(LI * CO * sizeof(short)))))
games/worms/worms.c
231
if (!(ref = malloc((size_t)(LI * sizeof(short *)))))
games/worms/worms.c
241
if (!(ip = malloc((size_t)(length * sizeof(short)))))
games/worms/worms.c
246
if (!(ip = malloc((size_t)(length * sizeof(short)))))
include/alloca.h
39
void *alloca(size_t);
include/arpa/inet.h
143
char *inet_neta(in_addr_t, char *, size_t);
include/arpa/inet.h
146
char *inet_net_ntop(int, const void *, int, char *, size_t);
include/arpa/inet.h
147
int inet_net_pton(int, const char *, void *, size_t);
include/arpa/inet.h
148
char *inet_cidr_ntop(int, const void *, int, char *, size_t);
include/arpa/nameser.h
521
const char *, const char *, char *, size_t);
include/arpa/nameser.h
522
int ns_sprintrrf(const u_char *, size_t, const char *,
include/arpa/nameser.h
524
size_t, const char *, const char *,
include/arpa/nameser.h
525
char *, size_t);
include/arpa/nameser.h
526
int ns_format_ttl(u_long, char *, size_t);
include/arpa/nameser.h
531
int ns_name_ntol(const u_char *, u_char *, size_t);
include/arpa/nameser.h
532
int ns_name_ntop(const u_char *, char *, size_t);
include/arpa/nameser.h
533
int ns_name_pton(const char *, u_char *, size_t);
include/arpa/nameser.h
535
const u_char *, u_char *, size_t);
include/arpa/nameser.h
539
const u_char *, char *, size_t);
include/arpa/nameser.h
540
int ns_name_compress(const char *, u_char *, size_t,
include/arpa/nameser.h
570
int ns_makecanon(const char *, char *, size_t);
include/db.h
125
size_t (*prefix) /* prefix function */
include/db.h
140
(*hash)(const void *, size_t);
include/db.h
153
size_t reclen; /* record length (fixed-length records) */
include/db.h
55
size_t size; /* data length */
include/fts.h
46
size_t fts_pathlen; /* sizeof(path) */
include/fts.h
47
size_t fts_nitems; /* elements in the sort array */
include/fts.h
78
size_t fts_pathlen; /* strlen(fts_path) */
include/fts.h
79
size_t fts_namelen; /* strlen(fts_name) */
include/glob.h
49
size_t gl_pathc; /* Count of total paths so far. */
include/glob.h
50
size_t gl_matchc; /* Count of paths matching pattern. */
include/glob.h
51
size_t gl_offs; /* Reserved at beginning of gl_pathv. */
include/grp.h
81
int getgrgid_r(gid_t, struct group *, char *, size_t,
include/grp.h
83
int getgrnam_r(const char *, struct group *, char *, size_t,
include/grp.h
87
int getgrent_r(struct group *, char *, size_t, struct group **);
include/iconv.h
119
size_t, void (*write_replacement) (const unsigned int *,
include/iconv.h
120
size_t, void*), void*, void*);
include/iconv.h
122
void (*write_replacement) (const char *, size_t, void*),
include/iconv.h
124
typedef void (*iconv_wchar_mb_to_wc_fallback) (const char*, size_t,
include/iconv.h
125
void (*write_replacement) (const wchar_t *, size_t, void*),
include/iconv.h
128
void (*write_replacement) (const char *, size_t, void*),
include/iconv.h
63
size_t iconv(iconv_t, char ** __restrict,
include/iconv.h
64
size_t * __restrict, char ** __restrict,
include/iconv.h
65
size_t * __restrict);
include/iconv.h
72
int __iconv_get_list(char ***, size_t *, __iconv_bool);
include/iconv.h
73
void __iconv_free_list(char **, size_t);
include/iconv.h
74
size_t __iconv(iconv_t, char **, size_t *, char **,
include/iconv.h
75
size_t *, __uint32_t, size_t *);
include/malloc_np.h
36
size_t malloc_usable_size(const void *);
include/monetary.h
47
ssize_t strfmon(char * __restrict, size_t, const char * __restrict, ...)
include/mqueue.h
53
ssize_t mq_receive(mqd_t, char *, size_t, unsigned *);
include/mqueue.h
54
int mq_send(mqd_t, const char *, size_t, unsigned);
include/mqueue.h
57
ssize_t mq_timedreceive(mqd_t, char * __restrict, size_t,
include/mqueue.h
59
int mq_timedsend(mqd_t, const char *, size_t, unsigned,
include/ndbm.h
56
size_t dsize;
include/netdb.h
274
char * __restrict, size_t, char * __restrict, size_t, int);
include/netdb.h
283
char *, size_t, struct hostent **, int *);
include/netdb.h
284
int gethostbyname_r(const char *, struct hostent *, char *, size_t,
include/netdb.h
288
size_t, struct hostent **, int *);
include/netdb.h
289
int gethostent_r(struct hostent *, char *, size_t,
include/netdb.h
291
struct hostent *getipnodebyaddr(const void *, size_t, int, int *);
include/netdb.h
293
int getnetbyaddr_r(uint32_t, int, struct netent *, char *, size_t,
include/netdb.h
295
int getnetbyname_r(const char *, struct netent *, char *, size_t,
include/netdb.h
297
int getnetent_r(struct netent *, char *, size_t, struct netent **,
include/netdb.h
301
size_t, struct protoent **);
include/netdb.h
302
int getprotobynumber_r(int, struct protoent *, char *, size_t,
include/netdb.h
304
int getprotoent_r(struct protoent *, char *, size_t,
include/netdb.h
307
char *, size_t, struct servent **);
include/netdb.h
309
size_t, struct servent **);
include/netdb.h
310
int getservent_r(struct servent *, char *, size_t,
include/objformat.h
37
int getobjformat(char *, size_t, int *, char **);
include/printf.h
101
typedef int printf_arginfo_function(const struct printf_info *, size_t, int *);
include/proc_service.h
60
ps_err_e ps_pread(struct ps_prochandle *, psaddr_t, void *, size_t);
include/proc_service.h
62
ps_err_e ps_pwrite(struct ps_prochandle *, psaddr_t, const void *, size_t);
include/pthread.h
141
size_t * __restrict);
include/pthread.h
143
void ** __restrict, size_t * __restrict);
include/pthread.h
145
size_t * __restrict);
include/pthread.h
151
int pthread_attr_setguardsize(pthread_attr_t *, size_t);
include/pthread.h
155
int pthread_attr_setstacksize(pthread_attr_t *, size_t);
include/pthread.h
156
int pthread_attr_setstack(pthread_attr_t *, void *, size_t);
include/pthread_np.h
57
int pthread_attr_getaffinity_np(const pthread_attr_t *, size_t, cpu_set_t *);
include/pthread_np.h
58
int pthread_attr_setaffinity_np(pthread_attr_t *, size_t, const cpu_set_t *);
include/pthread_np.h
60
int pthread_getaffinity_np(pthread_t, size_t, cpu_set_t *);
include/pthread_np.h
70
void pthread_get_name_np(pthread_t, char *, size_t);
include/pthread_np.h
71
int pthread_getname_np(pthread_t, char *, size_t);
include/pthread_np.h
74
int pthread_setaffinity_np(pthread_t, size_t, const cpu_set_t *);
include/pwd.h
158
int getpwnam_r(const char *, struct passwd *, char *, size_t,
include/pwd.h
160
int getpwuid_r(uid_t, struct passwd *, char *, size_t,
include/pwd.h
165
int getpwent_r(struct passwd *, char *, size_t, struct passwd **);
include/readpassphrase.h
39
char * readpassphrase(const char *, char *, size_t, int);
include/resolv.h
405
int b64_ntop(u_char const *, size_t, char *, size_t);
include/resolv.h
406
int b64_pton(char const *, u_char *, size_t);
include/resolv.h
418
const char *p_sockun(union res_sockaddr_union, char *, size_t);
include/resolv.h
440
const char *res_hostalias(const res_state, const char *, char *, size_t);
include/resolv.h
453
char *, size_t, struct in_addr *, int);
include/resolv.h
456
char *, size_t,
include/rpc/svc_dg.h
42
size_t su_iosz; /* size of send.recv buffer */
include/rpcsvc/nislib.h
157
nis_name __nis_map_group_r(nis_name, char*, size_t);
include/rpcsvc/nislib.h
79
nis_name nis_leaf_of_r(const nis_name, char *, size_t);
include/rpcsvc/yp_prot.h
90
size_t dsize;
include/search.h
49
int hcreate(size_t);
include/search.h
53
void *lfind(const void *, const void *, size_t *, size_t,
include/search.h
55
void *lsearch(const void *, void *, size_t *, size_t,
include/stdio.h
227
size_t fread(void * __restrict, size_t, size_t, FILE * __restrict);
include/stdio.h
235
size_t fwrite(const void * __restrict, size_t, size_t, FILE * __restrict);
include/stdio.h
252
int setvbuf(FILE * __restrict, char * __restrict, int, size_t);
include/stdio.h
267
int snprintf(char * __restrict, size_t, const char * __restrict, ...)
include/stdio.h
269
int vsnprintf(char * __restrict, size_t, const char * __restrict,
include/stdio.h
322
size_t fread_unlocked(void * __restrict, size_t, size_t, FILE * __restrict);
include/stdio.h
323
size_t fwrite_unlocked(const void * __restrict, size_t, size_t,
include/stdio.h
342
FILE *fmemopen(void *__restrict, size_t, const char *__restrict);
include/stdio.h
343
ssize_t getdelim(char ** __restrict, size_t * __restrict, int,
include/stdio.h
345
FILE *open_memstream(char **, size_t *);
include/stdio.h
349
ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict);
include/stdio.h
360
char *fgetln(FILE *, size_t *);
include/stdio.h
362
char *fparseln(FILE *, size_t *, size_t *, const char[3], int);
include/stdio.h
386
typedef __ssize_t cookie_read_function_t(void *, char *, size_t);
include/stdio.h
387
typedef __ssize_t cookie_write_function_t(void *, const char *, size_t);
include/stdio.h
58
typedef size_t rsize_t;
include/stdlib.h
108
void *malloc(size_t) __malloclike __heedresult __alloc_size(1);
include/stdlib.h
109
int mblen(const char *, size_t);
include/stdlib.h
110
size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
include/stdlib.h
111
int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
include/stdlib.h
112
void qsort(void *, size_t, size_t, int (*)(const void *, const void *));
include/stdlib.h
114
void *realloc(void *, size_t) __heedresult __alloc_size(2);
include/stdlib.h
129
size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
include/stdlib.h
172
void *aligned_alloc(size_t, size_t) __malloclike __heedresult
include/stdlib.h
185
int posix_memalign(void **, size_t, size_t) __nonnull(1); /* (ADV) */
include/stdlib.h
267
void arc4random_addrandom(__uint8_t *, size_t);
include/stdlib.h
268
void arc4random_buf(void *, size_t);
include/stdlib.h
289
char *devname_r(dev_t, mode_t, char *, size_t);
include/stdlib.h
291
int fdevname_r(int, char *, size_t);
include/stdlib.h
292
void freezero(void *, size_t);
include/stdlib.h
297
int heapsort(void *, size_t, size_t, int (*)(const void *, const void *));
include/stdlib.h
299
int mergesort(void *, size_t, size_t, int (*)(const void *, const void *));
include/stdlib.h
302
void qsort_r(void *, size_t, size_t, void *,
include/stdlib.h
306
void *reallocarray(void *, size_t, size_t) __heedresult __alloc_size2(2, 3);
include/stdlib.h
307
void *recallocarray(void *, size_t, size_t, size_t) __heedresult
include/stdlib.h
309
void *reallocf(void *, size_t) __heedresult __alloc_size(2);
include/stdlib.h
320
size_t);
include/stdlib.h
86
#define MB_CUR_MAX ((size_t)___mb_cur_max())
include/stdlib.h
97
void *bsearch(const void *, const void *, size_t,
include/stdlib.h
98
size_t, int (*)(const void *, const void *));
include/stdlib.h
99
void *calloc(size_t, size_t) __alloc_size2(1, 2) __malloclike __heedresult;
include/string.h
103
int strerror_r(int, char *, size_t);
include/string.h
107
size_t strlcat(char * __restrict, const char * __restrict, size_t);
include/string.h
108
size_t strlcpy(char * __restrict, const char * __restrict, size_t);
include/string.h
110
size_t strlen(const char *) __pure;
include/string.h
116
char *strncat(char * __restrict, const char * __restrict, size_t);
include/string.h
117
int strncmp(const char *, const char *, size_t) __pure;
include/string.h
118
char *strncpy(char * __restrict, const char * __restrict, size_t);
include/string.h
121
char *strndup(const char *, size_t) __malloclike;
include/string.h
123
size_t strnlen(const char *, size_t) __pure;
include/string.h
127
char *strnstr(const char *, const char *, size_t) __pure;
include/string.h
141
size_t strspn(const char *, const char *) __pure;
include/string.h
150
size_t strxfrm(char * __restrict, const char * __restrict, size_t);
include/string.h
153
int timingsafe_bcmp(const void *, const void *, size_t) __pure;
include/string.h
155
int timingsafe_memcmp(const void *, const void *, size_t) __pure;
include/string.h
164
typedef size_t rsize_t;
include/string.h
60
void *memccpy(void * __restrict, const void * __restrict, int, size_t);
include/string.h
62
void *memchr(const void *, int, size_t) __pure;
include/string.h
64
void *memrchr(const void *, int, size_t) __pure;
include/string.h
67
int memcmp(const void *, const void *, size_t) __pure;
include/string.h
68
void *memcpy(void * __restrict, const void * __restrict, size_t);
include/string.h
71
void *memmem(const void *, size_t, const void *, size_t) __pure;
include/string.h
72
void *mempcpy(void *, const void *, size_t);
include/string.h
75
void *memmove(void *, const void *, size_t);
include/string.h
76
void *memset(void *, int, size_t);
include/string.h
80
char *stpncpy(char * __restrict, const char * __restrict, size_t);
include/string.h
97
size_t strcspn(const char *, const char *) __pure;
include/stringlist.h
46
size_t sl_max;
include/stringlist.h
47
size_t sl_cur;
include/strings.h
43
int bcmp(const void *, const void *, size_t) __pure; /* LEGACY */
include/strings.h
44
void bcopy(const void *, void *, size_t); /* LEGACY */
include/strings.h
45
void bzero(void *, size_t); /* LEGACY */
include/strings.h
48
void explicit_bzero(void *, size_t);
include/strings.h
67
int strncasecmp(const char *, const char *, size_t) __pure;
include/time.h
128
size_t strftime(char * __restrict, size_t, const char * __restrict,
include/uchar.h
52
size_t c16rtomb(char * __restrict, char16_t, mbstate_t * __restrict);
include/uchar.h
53
size_t c32rtomb(char * __restrict, char32_t, mbstate_t * __restrict);
include/uchar.h
54
size_t mbrtoc16(char16_t * __restrict, const char * __restrict, size_t,
include/uchar.h
56
size_t mbrtoc32(char32_t * __restrict, const char * __restrict, size_t,
include/unistd.h
393
char *getcwd(char *, size_t);
include/unistd.h
409
ssize_t read(int, void *, size_t);
include/unistd.h
420
int ttyname_r(int, char *, size_t);
include/unistd.h
422
ssize_t write(int, const void *, size_t);
include/unistd.h
426
size_t confstr(int, char *, size_t);
include/unistd.h
449
int getlogin_r(char *, size_t);
include/unistd.h
455
ssize_t readlink(const char * __restrict, char * __restrict, size_t);
include/unistd.h
458
int gethostname(char *, size_t);
include/unistd.h
477
ssize_t pread(int, void *, size_t, off_t);
include/unistd.h
478
ssize_t pwrite(int, const void *, size_t, off_t);
include/unistd.h
489
ssize_t readlinkat(int, const char * __restrict, char * __restrict, size_t);
include/unistd.h
547
ssize_t extpread(int, void *, size_t, int, off_t);
include/unistd.h
549
ssize_t extpwrite(int, const void *, size_t, int, off_t);
include/unistd.h
553
int getentropy(void *, size_t);
include/unistd.h
571
int lwp_getname(lwpid_t, char *, size_t);
include/unistd.h
586
int profil(char *, size_t, unsigned long, unsigned int);
include/unistd.h
622
void *valloc(size_t); /* obsoleted by malloc() */
include/vis.h
102
int strnvis(char *, const char *, size_t, int);
include/vis.h
105
int strsnvis(char *, size_t, const char *, int, const char *);
include/vis.h
107
int strvisx(char *, const char *, size_t, int);
include/vis.h
108
int strnvisx(char *, size_t, const char *, size_t, int);
include/vis.h
109
int strenvisx(char *, size_t, const char *, size_t, int, int *);
include/vis.h
111
int strsvisx(char *, const char *, size_t, int, const char *);
include/vis.h
112
int strsnvisx(char *, size_t, const char *, size_t, int, const char *);
include/vis.h
113
int strsenvisx(char *, size_t, const char *, size_t , int, const char *,
include/vis.h
117
int strnunvis(char *, size_t, const char *);
include/vis.h
120
int strnunvisx(char *, size_t, const char *, int);
include/vis.h
95
char *nvis(char *, size_t, int, int, int);
include/vis.h
98
char *snvis(char *, size_t, int, int, int, const char *);
include/wchar.h
141
size_t mbrlen(const char * __restrict, size_t, mbstate_t * __restrict);
include/wchar.h
142
size_t mbrtowc(wchar_t * __restrict, const char * __restrict, size_t,
include/wchar.h
145
size_t mbsrtowcs(wchar_t * __restrict, const char ** __restrict, size_t,
include/wchar.h
148
size_t mbintowcr(wchar_t * __restrict dst, const char * __restrict src,
include/wchar.h
149
size_t dlen, size_t *slen, int flags);
include/wchar.h
153
int swprintf(wchar_t * __restrict, size_t n, const wchar_t * __restrict,
include/wchar.h
159
int vswprintf(wchar_t * __restrict, size_t n, const wchar_t * __restrict,
include/wchar.h
162
size_t wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict);
include/wchar.h
164
size_t wcrtombin(char * __restrict dst, const wchar_t * __restrict src,
include/wchar.h
165
size_t dlen, size_t *slen, int flags);
include/wchar.h
172
size_t wcscspn(const wchar_t *, const wchar_t *) __pure;
include/wchar.h
173
size_t wcsftime(wchar_t * __restrict, size_t, const wchar_t * __restrict,
include/wchar.h
175
size_t wcslen(const wchar_t *) __pure;
include/wchar.h
177
size_t);
include/wchar.h
178
int wcsncmp(const wchar_t *, const wchar_t *, size_t) __pure;
include/wchar.h
179
wchar_t *wcsncpy(wchar_t * __restrict , const wchar_t * __restrict, size_t);
include/wchar.h
182
size_t wcsrtombs(char * __restrict, const wchar_t ** __restrict, size_t,
include/wchar.h
184
size_t wcsspn(const wchar_t *, const wchar_t *) __pure;
include/wchar.h
187
size_t wcsxfrm(wchar_t * __restrict, const wchar_t * __restrict, size_t);
include/wchar.h
195
wchar_t *wmemchr(const wchar_t *, wchar_t, size_t) __pure;
include/wchar.h
196
int wmemcmp(const wchar_t *, const wchar_t *, size_t) __pure;
include/wchar.h
197
wchar_t *wmemcpy(wchar_t * __restrict, const wchar_t * __restrict, size_t);
include/wchar.h
198
wchar_t *wmemmove(wchar_t *, const wchar_t *, size_t);
include/wchar.h
199
wchar_t *wmemset(wchar_t *, wchar_t, size_t);
include/wchar.h
204
size_t utf8towcr(wchar_t * __restrict dst, const char * __restrict src,
include/wchar.h
205
size_t dlen, size_t *slen, int flags);
include/wchar.h
206
size_t wcrtoutf8(char * __restrict dst, const wchar_t * __restrict src,
include/wchar.h
207
size_t dlen, size_t *slen, int flags);
include/wchar.h
242
int wcswidth(const wchar_t *, size_t);
include/wchar.h
248
size_t mbsnrtowcs(wchar_t * __restrict, const char ** __restrict, size_t,
include/wchar.h
249
size_t, mbstate_t * __restrict);
include/wchar.h
250
FILE *open_wmemstream(wchar_t **, size_t *);
include/wchar.h
252
wchar_t *wcpncpy(wchar_t * __restrict, const wchar_t * __restrict, size_t);
include/wchar.h
255
int wcsncasecmp(const wchar_t *, const wchar_t *, size_t n);
include/wchar.h
256
size_t wcsnlen(const wchar_t *, size_t) __pure;
include/wchar.h
257
size_t wcsnrtombs(char * __restrict, const wchar_t ** __restrict, size_t,
include/wchar.h
258
size_t, mbstate_t * __restrict);
include/wchar.h
262
wchar_t *fgetwln(FILE * __restrict, size_t * __restrict);
include/wchar.h
263
size_t wcslcat(wchar_t *, const wchar_t *, size_t);
include/wchar.h
264
size_t wcslcpy(wchar_t *, const wchar_t *, size_t);
include/xlocale/_monetary.h
41
ssize_t strfmon_l(char * __restrict, size_t, locale_t, const char * __restrict,
include/xlocale/_stdio.h
41
int snprintf_l(char * __restrict, size_t, locale_t,
include/xlocale/_stdio.h
57
int vsnprintf_l(char * __restrict, size_t, locale_t,
include/xlocale/_stdlib.h
41
int mblen_l(const char *, size_t, locale_t);
include/xlocale/_stdlib.h
42
size_t mbstowcs_l(wchar_t * __restrict,
include/xlocale/_stdlib.h
43
const char * __restrict, size_t, locale_t);
include/xlocale/_stdlib.h
45
const char * __restrict, size_t, locale_t);
include/xlocale/_stdlib.h
53
size_t wcstombs_l(char * __restrict,
include/xlocale/_stdlib.h
54
const wchar_t * __restrict, size_t, locale_t);
include/xlocale/_string.h
48
size_t strxfrm_l(char * __restrict, const char * __restrict, size_t,
include/xlocale/_strings.h
47
int strncasecmp_l(const char *, const char *, size_t, locale_t);
include/xlocale/_time.h
45
size_t strftime_l(char * __restrict, size_t, const char * __restrict,
include/xlocale/_uchar.h
37
size_t c16rtomb_l(char * __restrict, char16_t, mbstate_t * __restrict,
include/xlocale/_uchar.h
39
size_t c32rtomb_l(char * __restrict, char32_t, mbstate_t * __restrict,
include/xlocale/_uchar.h
41
size_t mbrtoc16_l(char16_t * __restrict, const char * __restrict, size_t,
include/xlocale/_uchar.h
43
size_t mbrtoc32_l(char32_t * __restrict, const char * __restrict, size_t,
include/xlocale/_wchar.h
100
size_t wcsftime_l(wchar_t * __restrict, size_t,
include/xlocale/_wchar.h
103
size_t wcsrtombs_l(char * __restrict,
include/xlocale/_wchar.h
104
const wchar_t ** __restrict, size_t,
include/xlocale/_wchar.h
106
size_t wcrtombin_l(char * __restrict,
include/xlocale/_wchar.h
108
size_t, size_t *,
include/xlocale/_wchar.h
116
int wcswidth_l(const wchar_t *, size_t, locale_t);
include/xlocale/_wchar.h
135
size_t mbsnrtowcs_l(wchar_t * __restrict,
include/xlocale/_wchar.h
136
const char ** __restrict, size_t, size_t,
include/xlocale/_wchar.h
138
size_t wcsnrtombs_l(char * __restrict,
include/xlocale/_wchar.h
139
const wchar_t ** __restrict, size_t, size_t,
include/xlocale/_wchar.h
42
int wcsncasecmp_l(const wchar_t *, const wchar_t *, size_t,
include/xlocale/_wchar.h
46
size_t wcsxfrm_l(wchar_t * __restrict,
include/xlocale/_wchar.h
47
const wchar_t * __restrict, size_t, locale_t);
include/xlocale/_wchar.h
72
size_t mbrlen_l(const char * __restrict, size_t,
include/xlocale/_wchar.h
74
size_t mbrtowc_l(wchar_t * __restrict,
include/xlocale/_wchar.h
75
const char * __restrict, size_t,
include/xlocale/_wchar.h
78
size_t mbsrtowcs_l(wchar_t * __restrict,
include/xlocale/_wchar.h
79
const char ** __restrict, size_t,
include/xlocale/_wchar.h
81
size_t mbintowcr_l(wchar_t * __restrict,
include/xlocale/_wchar.h
83
size_t dlen, size_t *,
include/xlocale/_wchar.h
87
int swprintf_l(wchar_t * __restrict, size_t n, locale_t,
include/xlocale/_wchar.h
94
int vswprintf_l(wchar_t * __restrict, size_t n, locale_t,
include/xlocale/_wchar.h
98
size_t wcrtomb_l(char * __restrict, wchar_t,
lib/csu/common/initfini.c
49
size_t array_size, n;
lib/csu/common/initfini.c
64
size_t array_size, n;
lib/i18n_module/BIG5/citrus_big5.c
238
const void * __restrict var, size_t lenvar)
lib/i18n_module/BIG5/citrus_big5.c
272
char ** __restrict s, size_t n,
lib/i18n_module/BIG5/citrus_big5.c
274
size_t * __restrict nresult)
lib/i18n_module/BIG5/citrus_big5.c
345
*nresult = (size_t)-1;
lib/i18n_module/BIG5/citrus_big5.c
350
*nresult = (size_t)-2;
lib/i18n_module/BIG5/citrus_big5.c
358
size_t n, wchar_t wc, _BIG5State * __restrict psenc __unused,
lib/i18n_module/BIG5/citrus_big5.c
359
size_t * __restrict nresult)
lib/i18n_module/BIG5/citrus_big5.c
361
size_t l;
lib/i18n_module/BIG5/citrus_big5.c
403
*nresult = (size_t)-1;
lib/i18n_module/DECHanyu/citrus_dechanyu.c
113
const void * __restrict var __unused, size_t lenvar __unused)
lib/i18n_module/DECHanyu/citrus_dechanyu.c
168
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/i18n_module/DECHanyu/citrus_dechanyu.c
169
_DECHanyuState * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/DECHanyu/citrus_dechanyu.c
191
*nresult = (size_t)((ch == 0) ? 0 : 1);
lib/i18n_module/DECHanyu/citrus_dechanyu.c
258
*nresult = (size_t)(s0 - *s);
lib/i18n_module/DECHanyu/citrus_dechanyu.c
265
*nresult = (size_t)-2;
lib/i18n_module/DECHanyu/citrus_dechanyu.c
270
*nresult = (size_t)-1;
lib/i18n_module/DECHanyu/citrus_dechanyu.c
277
char * __restrict s, size_t n, wchar_t wc,
lib/i18n_module/DECHanyu/citrus_dechanyu.c
278
_DECHanyuState * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/DECHanyu/citrus_dechanyu.c
306
*nresult = (size_t)-1;
lib/i18n_module/DECHanyu/citrus_dechanyu.c
316
*nresult = (size_t)-1;
lib/i18n_module/DECHanyu/citrus_dechanyu.c
54
size_t chlen;
lib/i18n_module/EUC/citrus_euc.c
123
size_t lenvar __unused)
lib/i18n_module/EUC/citrus_euc.c
194
size_t n, _EUCState *psenc, size_t *nresult)
lib/i18n_module/EUC/citrus_euc.c
262
*nresult = wchar ? (size_t)(c - chlenbak) : 0;
lib/i18n_module/EUC/citrus_euc.c
267
*nresult = (size_t)-1;
lib/i18n_module/EUC/citrus_euc.c
271
*nresult = (size_t)-2;
lib/i18n_module/EUC/citrus_euc.c
277
_citrus_EUC_wcrtomb_priv(_EUCEncodingInfo *ei, char *s, size_t n, wchar_t wc,
lib/i18n_module/EUC/citrus_euc.c
278
_EUCState *psenc __unused, size_t *nresult)
lib/i18n_module/EUC/citrus_euc.c
315
*nresult = (size_t)ei->count[cs];
lib/i18n_module/EUC/citrus_euc.c
319
*nresult = (size_t)-1;
lib/i18n_module/EUC/citrus_euc.c
367
const void * __restrict var, size_t lenvar)
lib/i18n_module/EUCTW/citrus_euctw.c
162
const void * __restrict var __unused, size_t lenvar __unused)
lib/i18n_module/EUCTW/citrus_euctw.c
180
size_t n, _EUCTWState * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/EUCTW/citrus_euctw.c
260
*nresult = (size_t)-1;
lib/i18n_module/EUCTW/citrus_euctw.c
265
*nresult = (size_t)-1;
lib/i18n_module/EUCTW/citrus_euctw.c
271
char * __restrict s, size_t n, wchar_t wc,
lib/i18n_module/EUCTW/citrus_euctw.c
272
_EUCTWState * __restrict psenc __unused, size_t * __restrict nresult)
lib/i18n_module/EUCTW/citrus_euctw.c
276
size_t len;
lib/i18n_module/EUCTW/citrus_euctw.c
326
*nresult = (size_t)-1;
lib/i18n_module/GBK2K/citrus_gbk2k.c
152
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/i18n_module/GBK2K/citrus_gbk2k.c
153
_GBK2KState * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/GBK2K/citrus_gbk2k.c
238
*nresult = (size_t)-2;
lib/i18n_module/GBK2K/citrus_gbk2k.c
246
*nresult = (size_t)-1;
lib/i18n_module/GBK2K/citrus_gbk2k.c
252
char * __restrict s, size_t n, wchar_t wc, _GBK2KState * __restrict psenc,
lib/i18n_module/GBK2K/citrus_gbk2k.c
253
size_t * __restrict nresult)
lib/i18n_module/GBK2K/citrus_gbk2k.c
255
size_t len;
lib/i18n_module/GBK2K/citrus_gbk2k.c
303
*nresult = (size_t)-1;
lib/i18n_module/GBK2K/citrus_gbk2k.c
385
const void * __restrict var, size_t lenvar)
lib/i18n_module/HZ/citrus_hz.c
178
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/i18n_module/HZ/citrus_hz.c
179
_HZState * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/HZ/citrus_hz.c
204
*nresult = (size_t)-2;
lib/i18n_module/HZ/citrus_hz.c
272
range = &ranges[(size_t)graphic->charset];
lib/i18n_module/HZ/citrus_hz.c
284
*nresult = (size_t)-1;
lib/i18n_module/HZ/citrus_hz.c
300
char * __restrict s, size_t n, wchar_t wc,
lib/i18n_module/HZ/citrus_hz.c
301
_HZState * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/HZ/citrus_hz.c
306
size_t len;
lib/i18n_module/HZ/citrus_hz.c
322
range = &ranges[(size_t)CTRL];
lib/i18n_module/HZ/citrus_hz.c
329
range = &ranges[(size_t)graphic->charset];
lib/i18n_module/HZ/citrus_hz.c
336
range = &ranges[(size_t)graphic->charset];
lib/i18n_module/HZ/citrus_hz.c
350
range = &ranges[(size_t)graphic->charset];
lib/i18n_module/HZ/citrus_hz.c
391
*nresult = (size_t)-1;
lib/i18n_module/HZ/citrus_hz.c
397
char * __restrict s, size_t n, _HZState * __restrict psenc,
lib/i18n_module/HZ/citrus_hz.c
398
size_t * __restrict nresult)
lib/i18n_module/HZ/citrus_hz.c
575
graphic->length = (size_t)(*s - '0');
lib/i18n_module/HZ/citrus_hz.c
627
const void * __restrict var, size_t lenvar)
lib/i18n_module/ISO2022/citrus_iso2022.c
1010
char * __restrict string, size_t n, char ** __restrict result,
lib/i18n_module/ISO2022/citrus_iso2022.c
1011
_ISO2022State * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/ISO2022/citrus_iso2022.c
1016
size_t len;
lib/i18n_module/ISO2022/citrus_iso2022.c
105
size_t recommendsize[4];
lib/i18n_module/ISO2022/citrus_iso2022.c
1155
len = (size_t)(p - tmp);
lib/i18n_module/ISO2022/citrus_iso2022.c
1159
*nresult = (size_t)-1;
lib/i18n_module/ISO2022/citrus_iso2022.c
1170
*nresult = (size_t)-1;
lib/i18n_module/ISO2022/citrus_iso2022.c
1176
char * __restrict s, size_t n, _ISO2022State * __restrict psenc,
lib/i18n_module/ISO2022/citrus_iso2022.c
1177
size_t * __restrict nresult)
lib/i18n_module/ISO2022/citrus_iso2022.c
1181
size_t len;
lib/i18n_module/ISO2022/citrus_iso2022.c
1194
*nresult = (size_t)-1;
lib/i18n_module/ISO2022/citrus_iso2022.c
1205
char * __restrict s, size_t n, wchar_t wc,
lib/i18n_module/ISO2022/citrus_iso2022.c
1206
_ISO2022State * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/ISO2022/citrus_iso2022.c
1210
size_t len;
lib/i18n_module/ISO2022/citrus_iso2022.c
1223
*nresult = (size_t)-1;
lib/i18n_module/ISO2022/citrus_iso2022.c
359
const void * __restrict var, size_t lenvar __unused)
lib/i18n_module/ISO2022/citrus_iso2022.c
363
size_t len;
lib/i18n_module/ISO2022/citrus_iso2022.c
470
const void * __restrict var, size_t lenvar)
lib/i18n_module/ISO2022/citrus_iso2022.c
530
seqmatch(const char * __restrict s, size_t n,
lib/i18n_module/ISO2022/citrus_iso2022.c
536
while ((size_t)(p - sp->chars) < n && p - sp->chars < sp->len) {
lib/i18n_module/ISO2022/citrus_iso2022.c
577
char * __restrict string, size_t n, char ** __restrict result,
lib/i18n_module/ISO2022/citrus_iso2022.c
615
if (sp->len == nmatch && n >= (size_t)(sp->len))
lib/i18n_module/ISO2022/citrus_iso2022.c
698
if (n < (size_t)(sp->len)) {
lib/i18n_module/ISO2022/citrus_iso2022.c
699
if ((size_t)(nmatch) == n) {
lib/i18n_module/ISO2022/citrus_iso2022.c
847
size_t n, _ISO2022State * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/ISO2022/citrus_iso2022.c
886
if (psenc->chlen > (size_t)c)
lib/i18n_module/ISO2022/citrus_iso2022.c
888
if (psenc->chlen < (size_t)c)
lib/i18n_module/ISO2022/citrus_iso2022.c
896
if ((size_t)(result - p) == psenc->chlen)
lib/i18n_module/ISO2022/citrus_iso2022.c
937
*nresult = (size_t)-1;
lib/i18n_module/ISO2022/citrus_iso2022.c
949
*nresult = (size_t)-2;
lib/i18n_module/ISO2022/citrus_iso2022.c
959
size_t j;
lib/i18n_module/ISO2022/citrus_iso2022.c
98
size_t chlen;
lib/i18n_module/JOHAB/citrus_johab.c
114
const void * __restrict var __unused, size_t lenvar __unused)
lib/i18n_module/JOHAB/citrus_johab.c
148
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/i18n_module/JOHAB/citrus_johab.c
149
_JOHABState * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/JOHAB/citrus_johab.c
183
*nresult = (size_t)-2;
lib/i18n_module/JOHAB/citrus_johab.c
189
*nresult = (size_t)-1;
lib/i18n_module/JOHAB/citrus_johab.c
204
char * __restrict s, size_t n, wchar_t wc,
lib/i18n_module/JOHAB/citrus_johab.c
205
_JOHABState * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/JOHAB/citrus_johab.c
221
*nresult = (size_t)-1;
lib/i18n_module/JOHAB/citrus_johab.c
233
*nresult = (size_t)-1;
lib/i18n_module/MSKanji/citrus_mskanji.c
156
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/i18n_module/MSKanji/citrus_mskanji.c
157
_MSKanjiState * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/MSKanji/citrus_mskanji.c
223
*nresult = (size_t)-1;
lib/i18n_module/MSKanji/citrus_mskanji.c
227
*nresult = (size_t)-2;
lib/i18n_module/MSKanji/citrus_mskanji.c
235
char * __restrict s, size_t n, wchar_t wc,
lib/i18n_module/MSKanji/citrus_mskanji.c
236
_MSKanjiState * __restrict psenc __unused, size_t * __restrict nresult)
lib/i18n_module/MSKanji/citrus_mskanji.c
278
*nresult = (size_t)-1;
lib/i18n_module/MSKanji/citrus_mskanji.c
443
const void * __restrict var, size_t lenvar)
lib/i18n_module/UES/citrus_ues.c
188
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/i18n_module/UES/citrus_ues.c
189
_UESState * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/UES/citrus_ues.c
240
*nresult = (size_t)-2;
lib/i18n_module/UES/citrus_ues.c
274
*nresult = (size_t)-1;
lib/i18n_module/UES/citrus_ues.c
291
*nresult = (size_t)((wc == 0) ? 0 : (s0 - *s));
lib/i18n_module/UES/citrus_ues.c
299
char * __restrict s, size_t n, wchar_t wc,
lib/i18n_module/UES/citrus_ues.c
300
_UESState * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/UES/citrus_ues.c
326
*nresult = (size_t)-1;
lib/i18n_module/UES/citrus_ues.c
336
*nresult = (size_t)-1;
lib/i18n_module/UES/citrus_ues.c
387
const void * __restrict var, size_t lenvar)
lib/i18n_module/UES/citrus_ues.c
49
size_t mb_cur_max;
lib/i18n_module/UTF1632/citrus_utf1632.c
100
char **s, size_t n, _UTF1632State *psenc, size_t *nresult)
lib/i18n_module/UTF1632/citrus_utf1632.c
103
size_t result;
lib/i18n_module/UTF1632/citrus_utf1632.c
233
*nresult = (size_t)-1;
lib/i18n_module/UTF1632/citrus_utf1632.c
238
*nresult = (size_t)-2;
lib/i18n_module/UTF1632/citrus_utf1632.c
245
_citrus_UTF1632_wcrtomb_priv(_UTF1632EncodingInfo *ei, char *s, size_t n,
lib/i18n_module/UTF1632/citrus_utf1632.c
246
wchar_t wc, _UTF1632State *psenc, size_t *nresult)
lib/i18n_module/UTF1632/citrus_utf1632.c
253
size_t cnt;
lib/i18n_module/UTF1632/citrus_utf1632.c
255
cnt = (size_t)0;
lib/i18n_module/UTF1632/citrus_utf1632.c
335
*nresult = (size_t)-1;
lib/i18n_module/UTF1632/citrus_utf1632.c
338
*nresult = (size_t)-1;
lib/i18n_module/UTF1632/citrus_utf1632.c
344
const void * __restrict var, size_t lenvar)
lib/i18n_module/UTF1632/citrus_utf1632.c
384
const void * __restrict var, size_t lenvar)
lib/i18n_module/UTF7/citrus_utf7.c
153
uint16_t * __restrict u16, char ** __restrict s, size_t n,
lib/i18n_module/UTF7/citrus_utf7.c
154
_UTF7State * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/UTF7/citrus_utf7.c
165
*nresult = (size_t)-2;
lib/i18n_module/UTF7/citrus_utf7.c
230
*nresult = (size_t)((*u16 == 0) ? 0 : s0 - *s);
lib/i18n_module/UTF7/citrus_utf7.c
236
*nresult = (size_t)-1;
lib/i18n_module/UTF7/citrus_utf7.c
242
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/i18n_module/UTF7/citrus_utf7.c
243
_UTF7State * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/UTF7/citrus_utf7.c
247
size_t nr, siz;
lib/i18n_module/UTF7/citrus_utf7.c
252
*nresult = (size_t)_ENCODING_IS_STATE_DEPENDENT;
lib/i18n_module/UTF7/citrus_utf7.c
256
if (nr == (size_t)-1 || nr == (size_t)-2) {
lib/i18n_module/UTF7/citrus_utf7.c
269
if (nr == (size_t)-1 || nr == (size_t)-2) {
lib/i18n_module/UTF7/citrus_utf7.c
277
*nresult = (size_t)-1;
lib/i18n_module/UTF7/citrus_utf7.c
288
*nresult = (size_t)0;
lib/i18n_module/UTF7/citrus_utf7.c
298
char * __restrict s, size_t n __unused, uint16_t u16,
lib/i18n_module/UTF7/citrus_utf7.c
299
_UTF7State * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/UTF7/citrus_utf7.c
347
char * __restrict s, size_t n, wchar_t wchar,
lib/i18n_module/UTF7/citrus_utf7.c
348
_UTF7State * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/UTF7/citrus_utf7.c
353
size_t nr, siz;
lib/i18n_module/UTF7/citrus_utf7.c
365
*nresult = (size_t)-1;
lib/i18n_module/UTF7/citrus_utf7.c
385
char * __restrict s, size_t n, _UTF7State * __restrict psenc,
lib/i18n_module/UTF7/citrus_utf7.c
386
size_t * __restrict nresult)
lib/i18n_module/UTF7/citrus_utf7.c
410
*nresult = (size_t)psenc->chlen;
lib/i18n_module/UTF7/citrus_utf7.c
466
const void * __restrict var __unused, size_t lenvar __unused)
lib/i18n_module/UTF8/citrus_utf8.c
130
static size_t
lib/i18n_module/UTF8/citrus_utf8.c
133
size_t i;
lib/i18n_module/UTF8/citrus_utf8.c
181
size_t n, _UTF8State *psenc, size_t *nresult)
lib/i18n_module/UTF8/citrus_utf8.c
234
*nresult = (size_t)-1;
lib/i18n_module/UTF8/citrus_utf8.c
239
*nresult = (size_t)-2;
lib/i18n_module/UTF8/citrus_utf8.c
244
_citrus_UTF8_wcrtomb_priv(_UTF8EncodingInfo *ei __unused, char *s, size_t n,
lib/i18n_module/UTF8/citrus_utf8.c
245
wchar_t wc, _UTF8State *psenc __unused, size_t *nresult)
lib/i18n_module/UTF8/citrus_utf8.c
248
size_t cnt;
lib/i18n_module/UTF8/citrus_utf8.c
282
*nresult = (size_t)cnt;
lib/i18n_module/UTF8/citrus_utf8.c
286
*nresult = (size_t)-1;
lib/i18n_module/UTF8/citrus_utf8.c
331
const void * __restrict var __unused, size_t lenvar __unused)
lib/i18n_module/VIQR/citrus_viqr.c
103
mnemonic_ext_find(wchar_t wc, const mnemonic_def_t *head, size_t n)
lib/i18n_module/VIQR/citrus_viqr.c
206
size_t mb_cur_max;
lib/i18n_module/VIQR/citrus_viqr.c
255
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/i18n_module/VIQR/citrus_viqr.c
256
_VIQRState * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/VIQR/citrus_viqr.c
266
*nresult = (size_t)_ENCODING_IS_STATE_DEPENDENT;
lib/i18n_module/VIQR/citrus_viqr.c
277
*nresult = (size_t)-2;
lib/i18n_module/VIQR/citrus_viqr.c
309
*nresult = (size_t)(wc == 0 ? 0 : s0 - *s);
lib/i18n_module/VIQR/citrus_viqr.c
317
char * __restrict s, size_t n, wchar_t wc,
lib/i18n_module/VIQR/citrus_viqr.c
318
_VIQRState * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/VIQR/citrus_viqr.c
353
*nresult = (size_t)-1;
lib/i18n_module/VIQR/citrus_viqr.c
376
*nresult = (size_t)-1;
lib/i18n_module/VIQR/citrus_viqr.c
383
char * __restrict s __unused, size_t n __unused,
lib/i18n_module/VIQR/citrus_viqr.c
384
_VIQRState * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/VIQR/citrus_viqr.c
434
const void * __restrict var __unused, size_t lenvar __unused)
lib/i18n_module/VIQR/citrus_viqr.c
438
size_t i, n;
lib/i18n_module/VIQR/citrus_viqr.c
99
static const size_t mnemonic_ext_size =
lib/i18n_module/ZW/citrus_zw.c
110
wchar_t * __restrict pwc, char **__restrict s, size_t n,
lib/i18n_module/ZW/citrus_zw.c
111
_ZWState * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/ZW/citrus_zw.c
119
*nresult = (size_t)_ENCODING_IS_STATE_DEPENDENT;
lib/i18n_module/ZW/citrus_zw.c
128
*nresult = (size_t)-2; \
lib/i18n_module/ZW/citrus_zw.c
230
*nresult = (size_t)-1;
lib/i18n_module/ZW/citrus_zw.c
246
*nresult = (size_t)(wc == 0 ? 0 : len);
lib/i18n_module/ZW/citrus_zw.c
255
char *__restrict s, size_t n, wchar_t wc,
lib/i18n_module/ZW/citrus_zw.c
256
_ZWState * __restrict psenc, size_t * __restrict nresult)
lib/i18n_module/ZW/citrus_zw.c
327
*nresult = (size_t)-1;
lib/i18n_module/ZW/citrus_zw.c
340
char * __restrict s, size_t n, _ZWState * __restrict psenc,
lib/i18n_module/ZW/citrus_zw.c
341
size_t * __restrict nresult)
lib/i18n_module/ZW/citrus_zw.c
444
const void *__restrict var __unused, size_t lenvar __unused)
lib/i18n_module/iconv_none/citrus_iconv_none.c
100
char * __restrict * __restrict in, size_t * __restrict inbytes,
lib/i18n_module/iconv_none/citrus_iconv_none.c
101
char * __restrict * __restrict out, size_t * __restrict outbytes,
lib/i18n_module/iconv_none/citrus_iconv_none.c
102
uint32_t flags __unused, size_t * __restrict invalids)
lib/i18n_module/iconv_none/citrus_iconv_none.c
104
size_t len;
lib/i18n_module/iconv_std/citrus_iconv_std.c
107
_csid_t *csid, _index_t *idx, char **s, size_t n, size_t *nresult,
lib/i18n_module/iconv_std/citrus_iconv_std.c
117
char *s, size_t n, _csid_t csid, _index_t idx, size_t *nresult,
lib/i18n_module/iconv_std/citrus_iconv_std.c
127
char *s, size_t n, _wc_t wc, size_t *nresult,
lib/i18n_module/iconv_std/citrus_iconv_std.c
136
put_state_resetx(struct _citrus_iconv_std_encoding *se, char *s, size_t n,
lib/i18n_module/iconv_std/citrus_iconv_std.c
137
size_t *nresult)
lib/i18n_module/iconv_std/citrus_iconv_std.c
425
size_t sz, szpsdst, szpssrc;
lib/i18n_module/iconv_std/citrus_iconv_std.c
464
char * __restrict * __restrict in, size_t * __restrict inbytes,
lib/i18n_module/iconv_std/citrus_iconv_std.c
465
char * __restrict * __restrict out, size_t * __restrict outbytes,
lib/i18n_module/iconv_std/citrus_iconv_std.c
466
uint32_t flags, size_t * __restrict invalids)
lib/i18n_module/iconv_std/citrus_iconv_std.c
473
size_t inval, szrin, szrout;
lib/i18n_module/iconv_std/citrus_iconv_std.c
490
if (szrout == (size_t)-2) {
lib/i18n_module/iconv_std/citrus_iconv_std.c
526
if (szrin == (size_t)-2) {
lib/i18n_module/mapper_646/citrus_mapper_646.c
103
size_t len;
lib/i18n_module/mapper_646/citrus_mapper_646.c
166
const void * __restrict var, size_t lenvar,
lib/i18n_module/mapper_646/citrus_mapper_646.c
167
struct _citrus_mapper_traits * __restrict mt, size_t lenmt)
lib/i18n_module/mapper_none/citrus_mapper_none.c
67
const void * __restrict var __unused, size_t lenvar __unused,
lib/i18n_module/mapper_none/citrus_mapper_none.c
68
struct _citrus_mapper_traits * __restrict mt, size_t lenmt)
lib/i18n_module/mapper_serial/citrus_mapper_serial.c
161
const void * __restrict var, size_t lenvar,
lib/i18n_module/mapper_serial/citrus_mapper_serial.c
162
struct _citrus_mapper_traits * __restrict mt, size_t lenmt)
lib/i18n_module/mapper_std/citrus_mapper_std.c
196
size_t i;
lib/i18n_module/mapper_std/citrus_mapper_std.c
249
size_t i;
lib/i18n_module/mapper_std/citrus_mapper_std.c
339
const void * __restrict var, size_t lenvar,
lib/i18n_module/mapper_std/citrus_mapper_std.c
340
struct _citrus_mapper_traits * __restrict mt, size_t lenmt)
lib/i18n_module/mapper_std/citrus_mapper_std.c
84
size_t i;
lib/i18n_module/mapper_std/citrus_mapper_std_local.h
42
size_t rc_src_rowcol_len;
lib/i18n_module/mapper_zone/citrus_mapper_zone.c
302
const void * __restrict var, size_t lenvar,
lib/i18n_module/mapper_zone/citrus_mapper_zone.c
303
struct _citrus_mapper_traits * __restrict mt, size_t lenmt)
lib/libc/citrus/citrus_bcs.c
107
_citrus_bcs_skip_ws_len(const char * __restrict p, size_t * __restrict len)
lib/libc/citrus/citrus_bcs.c
122
_citrus_bcs_skip_nonws_len(const char * __restrict p, size_t * __restrict len)
lib/libc/citrus/citrus_bcs.c
137
_citrus_bcs_trunc_rws_len(const char * __restrict p, size_t * __restrict len)
lib/libc/citrus/citrus_bcs.c
62
const char * __restrict str2, size_t sz)
lib/libc/citrus/citrus_bcs.h
85
const char * __restrict, size_t);
lib/libc/citrus/citrus_bcs.h
89
size_t * __restrict);
lib/libc/citrus/citrus_bcs.h
91
size_t * __restrict);
lib/libc/citrus/citrus_bcs.h
93
size_t * __restrict);
lib/libc/citrus/citrus_csmapper.c
104
size_t pvlen, unsigned long *rnorm)
lib/libc/citrus/citrus_csmapper.c
193
size_t len;
lib/libc/citrus/citrus_csmapper.c
247
size_t pvlen, unsigned long *rnorm)
lib/libc/citrus/citrus_csmapper.c
291
find_best_pivot(const char *src, const char *dst, char *pivot, size_t pvlen,
lib/libc/citrus/citrus_csmapper.c
78
memcpy(rval, _region_head(r), (size_t)4);
lib/libc/citrus/citrus_db.c
106
size_t offset;
lib/libc/citrus/citrus_db.c
300
size_t offset;
lib/libc/citrus/citrus_db.h
38
size_t dl_offset;
lib/libc/citrus/citrus_db_factory.c
104
static __inline size_t
lib/libc/citrus/citrus_db_factory.c
105
ceilto(size_t sz)
lib/libc/citrus/citrus_db_factory.c
209
size_t
lib/libc/citrus/citrus_db_factory.c
212
size_t sz;
lib/libc/citrus/citrus_db_factory.c
223
put8(struct _region *r, size_t *rofs, uint8_t val)
lib/libc/citrus/citrus_db_factory.c
231
put32(struct _region *r, size_t *rofs, uint32_t val)
lib/libc/citrus/citrus_db_factory.c
240
putpad(struct _region *r, size_t *rofs)
lib/libc/citrus/citrus_db_factory.c
242
size_t i;
lib/libc/citrus/citrus_db_factory.c
249
dump_header(struct _region *r, const char *magic, size_t *rofs,
lib/libc/citrus/citrus_db_factory.c
250
size_t num_entries)
lib/libc/citrus/citrus_db_factory.c
264
size_t dataofs, i, keyofs, nextofs, ofs;
lib/libc/citrus/citrus_db_factory.c
58
size_t df_num_entries;
lib/libc/citrus/citrus_db_factory.c
60
size_t df_total_key_size;
lib/libc/citrus/citrus_db_factory.c
61
size_t df_total_data_size;
lib/libc/citrus/citrus_db_factory.h
52
size_t _citrus_db_factory_calc_size(struct _citrus_db_factory *);
lib/libc/citrus/citrus_db_hash.c
48
size_t i;
lib/libc/citrus/citrus_esdb.c
244
_citrus_esdb_free_list(char **list, size_t num)
lib/libc/citrus/citrus_esdb.c
247
for (size_t i = 0; i < num; i++)
lib/libc/citrus/citrus_esdb.c
257
_citrus_esdb_get_list(char ***rlist, size_t *rnum, bool sorted)
lib/libc/citrus/citrus_esdb.c
263
size_t num;
lib/libc/citrus/citrus_esdb.c
62
_citrus_esdb_alias(const char *esname, char *buf, size_t bufsize)
lib/libc/citrus/citrus_esdb.h
43
size_t db_len_variable;
lib/libc/citrus/citrus_esdb.h
51
const char *_citrus_esdb_alias(const char *, char *, size_t);
lib/libc/citrus/citrus_esdb.h
54
void _citrus_esdb_free_list(char **, size_t);
lib/libc/citrus/citrus_esdb.h
55
int _citrus_esdb_get_list(char ***, size_t *, bool);
lib/libc/citrus/citrus_iconv.c
118
size_t len_convname;
lib/libc/citrus/citrus_iconv.c
299
strlcpy(realsrc, _lookup_alias(path, src, buf, (size_t)PATH_MAX,
lib/libc/citrus/citrus_iconv.c
300
_LOOKUP_CASE_IGNORE), (size_t)PATH_MAX);
lib/libc/citrus/citrus_iconv.c
301
strlcpy(realdst, _lookup_alias(path, dst, buf, (size_t)PATH_MAX,
lib/libc/citrus/citrus_iconv.c
302
_LOOKUP_CASE_IGNORE), (size_t)PATH_MAX);
lib/libc/citrus/citrus_iconv.c
304
strlcpy(realsrc, src, (size_t)PATH_MAX);
lib/libc/citrus/citrus_iconv.c
305
strlcpy(realdst, dst, (size_t)PATH_MAX);
lib/libc/citrus/citrus_iconv.c
357
if ((buf = calloc((size_t)PATH_MAX, sizeof(*buf))) == NULL)
lib/libc/citrus/citrus_iconv.c
359
_citrus_esdb_alias(name, buf, (size_t)PATH_MAX);
lib/libc/citrus/citrus_iconv.h
55
char * __restrict * __restrict in, size_t * __restrict inbytes,
lib/libc/citrus/citrus_iconv.h
56
char * __restrict * __restrict out, size_t * __restrict outbytes,
lib/libc/citrus/citrus_iconv.h
57
uint32_t flags, size_t * __restrict nresults)
lib/libc/citrus/citrus_iconv_local.h
51
size_t * __restrict, \
lib/libc/citrus/citrus_iconv_local.h
53
size_t * __restrict outbytes, \
lib/libc/citrus/citrus_iconv_local.h
54
uint32_t, size_t * __restrict); \
lib/libc/citrus/citrus_iconv_local.h
79
char *__restrict* __restrict, size_t * __restrict,
lib/libc/citrus/citrus_iconv_local.h
80
char * __restrict * __restrict, size_t * __restrict, uint32_t,
lib/libc/citrus/citrus_iconv_local.h
81
size_t * __restrict);
lib/libc/citrus/citrus_lookup.c
175
size_t len;
lib/libc/citrus/citrus_lookup.c
196
if (cl->cl_key && ((size_t)(q - p) != cl->cl_keylen ||
lib/libc/citrus/citrus_lookup.c
197
memcmp(p, cl->cl_key, (size_t)(q - p)) != 0))
lib/libc/citrus/citrus_lookup.c
202
_region_init(key, __DECONST(void *, p), (size_t)(q - p));
lib/libc/citrus/citrus_lookup.c
226
size_t len;
lib/libc/citrus/citrus_lookup.c
340
char *linebuf, size_t linebufsize, int ignore_case)
lib/libc/citrus/citrus_lookup.c
77
size_t cl_keylen;
lib/libc/citrus/citrus_lookup.h
39
size_t, int);
lib/libc/citrus/citrus_lookup.h
52
_citrus_lookup_alias(const char *path, const char *key, char *buf, size_t n,
lib/libc/citrus/citrus_lookup_factory.c
50
convert_line(struct _citrus_db_factory *df, const char *line, size_t len)
lib/libc/citrus/citrus_lookup_factory.c
82
size_t size;
lib/libc/citrus/citrus_lookup_factory.c
99
size_t size;
lib/libc/citrus/citrus_mapper.c
130
size_t linebufsize, const char **module, const char **variable)
lib/libc/citrus/citrus_mapper.c
137
size_t len;
lib/libc/citrus/citrus_mapper.c
141
snprintf(path, (size_t)PATH_MAX, "%s/%s", dir, _CITRUS_MAPPER_DIR);
lib/libc/citrus/citrus_mapper.c
165
strlcpy(p, cp, (size_t)(cq - cp + 1));
lib/libc/citrus/citrus_mapper.c
341
(size_t)PATH_MAX, &module, &variable);
lib/libc/citrus/citrus_mapper.c
89
snprintf(path, (size_t)PATH_MAX, "%s/%s", area, _CITRUS_MAPPER_DIR);
lib/libc/citrus/citrus_mapper.h
102
static __inline size_t
lib/libc/citrus/citrus_mapper.h
113
static __inline size_t
lib/libc/citrus/citrus_mapper.h
124
static __inline size_t
lib/libc/citrus/citrus_mapper_local.h
43
size_t, struct _citrus_mapper_traits * __restrict, \
lib/libc/citrus/citrus_mapper_local.h
44
size_t); \
lib/libc/citrus/citrus_mapper_local.h
67
const void *__restrict, size_t,
lib/libc/citrus/citrus_mapper_local.h
68
struct _citrus_mapper_traits * __restrict, size_t);
lib/libc/citrus/citrus_mapper_local.h
83
size_t mt_state_size;
lib/libc/citrus/citrus_mapper_local.h
84
size_t mt_src_max;
lib/libc/citrus/citrus_mapper_local.h
85
size_t mt_dst_max;
lib/libc/citrus/citrus_memstream.c
117
size_t sz;
lib/libc/citrus/citrus_memstream.c
44
size_t * __restrict rlen)
lib/libc/citrus/citrus_memstream.c
47
size_t i, ret;
lib/libc/citrus/citrus_memstream.c
70
const char * __restrict key, size_t * __restrict rlen, int iscasesensitive)
lib/libc/citrus/citrus_memstream.c
73
size_t keylen, len;
lib/libc/citrus/citrus_memstream.c
95
if ((size_t)(q - p) == keylen) {
lib/libc/citrus/citrus_memstream.h
103
_citrus_memory_stream_seek(struct _citrus_memory_stream *ms, size_t pos, int w)
lib/libc/citrus/citrus_memstream.h
105
size_t sz;
lib/libc/citrus/citrus_memstream.h
158
struct _citrus_region *r, size_t sz)
lib/libc/citrus/citrus_memstream.h
217
size_t sz;
lib/libc/citrus/citrus_memstream.h
36
size_t ms_pos;
lib/libc/citrus/citrus_memstream.h
42
size_t * __restrict);
lib/libc/citrus/citrus_memstream.h
45
const char * __restrict, size_t * __restrict, int);
lib/libc/citrus/citrus_memstream.h
69
void *ptr, size_t sz)
lib/libc/citrus/citrus_memstream.h
84
static __inline size_t
lib/libc/citrus/citrus_memstream.h
91
static __inline size_t
lib/libc/citrus/citrus_memstream.h
94
size_t sz;
lib/libc/citrus/citrus_mmap.c
74
head = mmap(NULL, (size_t)st.st_size, PROT_READ, MAP_FILE|MAP_PRIVATE,
lib/libc/citrus/citrus_mmap.c
80
_region_init(r, head, (size_t)st.st_size);
lib/libc/citrus/citrus_module.c
207
if (strncmp(dp->d_name, lname, (size_t)len) != 0)
lib/libc/citrus/citrus_none.c
107
char *s, size_t n, _csid_t csid, _index_t idx, void *ps __unused,
lib/libc/citrus/citrus_none.c
108
size_t *nresult, struct iconv_hooks *hooks __unused)
lib/libc/citrus/citrus_none.c
120
*nresult = (size_t)-1;
lib/libc/citrus/citrus_none.c
127
*nresult = (size_t)-1;
lib/libc/citrus/citrus_none.c
136
*nresult = (size_t)-1;
lib/libc/citrus/citrus_none.c
146
*nresult = (size_t)-1;
lib/libc/citrus/citrus_none.c
162
_wc_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libc/citrus/citrus_none.c
163
void * __restrict pspriv __unused, size_t * __restrict nresult,
lib/libc/citrus/citrus_none.c
173
*nresult = (size_t)-2;
lib/libc/citrus/citrus_none.c
190
char * __restrict s, size_t n, _wc_t wc,
lib/libc/citrus/citrus_none.c
191
void * __restrict pspriv __unused, size_t * __restrict nresult,
lib/libc/citrus/citrus_none.c
196
*nresult = (size_t)-1;
lib/libc/citrus/citrus_none.c
200
*nresult = (size_t)-1;
lib/libc/citrus/citrus_none.c
213
char * __restrict s __unused, size_t n __unused,
lib/libc/citrus/citrus_none.c
214
void * __restrict pspriv __unused, size_t * __restrict nresult)
lib/libc/citrus/citrus_none.c
58
const void *var __unused, size_t lenvar __unused,
lib/libc/citrus/citrus_none.c
86
_csid_t *csid, _index_t *idx, char **s, size_t n,
lib/libc/citrus/citrus_none.c
87
void *ps __unused, size_t *nresult, struct iconv_hooks *hooks)
lib/libc/citrus/citrus_none.c
91
*nresult = (size_t)-2;
lib/libc/citrus/citrus_pivot_factory.c
105
convert_line(struct src_head *sh, const char *line, size_t len)
lib/libc/citrus/citrus_pivot_factory.c
162
size_t size;
lib/libc/citrus/citrus_pivot_factory.c
205
size_t size;
lib/libc/citrus/citrus_prop.c
249
size_t m, n;
lib/libc/citrus/citrus_prop.c
317
char * __restrict s, size_t n)
lib/libc/citrus/citrus_prop.c
320
size_t m;
lib/libc/citrus/citrus_prop.c
425
void * __restrict context, const void *var, size_t lenvar)
lib/libc/citrus/citrus_prop.h
89
void * __restrict, const void *, size_t);
lib/libc/citrus/citrus_region.h
104
const struct _citrus_region *r, size_t ofs, size_t sz)
lib/libc/citrus/citrus_region.h
38
size_t r_size;
lib/libc/citrus/citrus_region.h
42
_citrus_region_init(struct _citrus_region *r, void *h, size_t sz)
lib/libc/citrus/citrus_region.h
56
static __inline size_t
lib/libc/citrus/citrus_region.h
64
_citrus_region_check(const struct _citrus_region *r, size_t ofs, size_t sz)
lib/libc/citrus/citrus_region.h
71
_citrus_region_offset(const struct _citrus_region *r, size_t pos)
lib/libc/citrus/citrus_region.h
78
_citrus_region_peek8(const struct _citrus_region *r, size_t pos)
lib/libc/citrus/citrus_region.h
85
_citrus_region_peek16(const struct _citrus_region *r, size_t pos)
lib/libc/citrus/citrus_region.h
89
memcpy(&val, _citrus_region_offset(r, pos), (size_t)2);
lib/libc/citrus/citrus_region.h
94
_citrus_region_peek32(const struct _citrus_region *r, size_t pos)
lib/libc/citrus/citrus_region.h
98
memcpy(&val, _citrus_region_offset(r, pos), (size_t)4);
lib/libc/citrus/citrus_stdenc.c
53
size_t lenvar)
lib/libc/citrus/citrus_stdenc.h
102
char * __restrict s, size_t n, void * __restrict ps,
lib/libc/citrus/citrus_stdenc.h
103
size_t * __restrict nresult)
lib/libc/citrus/citrus_stdenc.h
109
static __inline size_t
lib/libc/citrus/citrus_stdenc.h
57
char const * __restrict, const void * __restrict, size_t);
lib/libc/citrus/citrus_stdenc.h
72
char ** __restrict s, size_t n, void * __restrict ps,
lib/libc/citrus/citrus_stdenc.h
73
size_t * __restrict nresult, struct iconv_hooks *hooks)
lib/libc/citrus/citrus_stdenc.h
82
char * __restrict s, size_t n, _citrus_csid_t csid, _citrus_index_t idx,
lib/libc/citrus/citrus_stdenc.h
83
void * __restrict ps, size_t * __restrict nresult,
lib/libc/citrus/citrus_stdenc.h
93
char * __restrict s, size_t n, _citrus_wc_t wc, void * __restrict ps,
lib/libc/citrus/citrus_stdenc.h
94
size_t * __restrict nresult, struct iconv_hooks *hooks)
lib/libc/citrus/citrus_stdenc_local.h
101
(struct _citrus_stdenc * __reatrict, const void * __restrict , size_t,
lib/libc/citrus/citrus_stdenc_local.h
109
char ** __restrict, size_t,
lib/libc/citrus/citrus_stdenc_local.h
110
void * __restrict, size_t * __restrict,
lib/libc/citrus/citrus_stdenc_local.h
113
(struct _citrus_stdenc *__restrict, char * __restrict, size_t,
lib/libc/citrus/citrus_stdenc_local.h
115
size_t * __restrict, struct iconv_hooks *);
lib/libc/citrus/citrus_stdenc_local.h
119
char ** __restrict, size_t,
lib/libc/citrus/citrus_stdenc_local.h
120
void * __restrict, size_t * __restrict,
lib/libc/citrus/citrus_stdenc_local.h
123
(struct _citrus_stdenc *__restrict, char * __restrict, size_t,
lib/libc/citrus/citrus_stdenc_local.h
124
_citrus_wc_t, void * __restrict, size_t * __restrict,
lib/libc/citrus/citrus_stdenc_local.h
127
(struct _citrus_stdenc *__restrict, char * __restrict, size_t,
lib/libc/citrus/citrus_stdenc_local.h
128
void * __restrict, size_t * __restrict);
lib/libc/citrus/citrus_stdenc_local.h
148
size_t et_state_size;
lib/libc/citrus/citrus_stdenc_local.h
149
size_t et_mb_cur_max;
lib/libc/citrus/citrus_stdenc_local.h
39
int n(struct _citrus_stdenc_ops *, size_t)
lib/libc/citrus/citrus_stdenc_local.h
48
const void * __restrict, size_t, \
lib/libc/citrus/citrus_stdenc_local.h
58
char ** __restrict, size_t, \
lib/libc/citrus/citrus_stdenc_local.h
59
void * __restrict, size_t * __restrict, \
lib/libc/citrus/citrus_stdenc_local.h
63
char * __restrict, size_t, _citrus_csid_t, \
lib/libc/citrus/citrus_stdenc_local.h
65
size_t * __restrict, struct iconv_hooks *); \
lib/libc/citrus/citrus_stdenc_local.h
69
char ** __restrict, size_t, \
lib/libc/citrus/citrus_stdenc_local.h
70
void * __restrict, size_t * __restrict, \
lib/libc/citrus/citrus_stdenc_local.h
74
char * __restrict, size_t, _citrus_wc_t, \
lib/libc/citrus/citrus_stdenc_local.h
75
void * __restrict, size_t * __restrict, \
lib/libc/citrus/citrus_stdenc_local.h
79
char * __restrict, size_t, void * __restrict, \
lib/libc/citrus/citrus_stdenc_local.h
80
size_t * __restrict); \
lib/libc/citrus/citrus_stdenc_template.h
115
char ** __restrict s, size_t n, void * __restrict ps,
lib/libc/citrus/citrus_stdenc_template.h
116
size_t * __restrict nresult, struct iconv_hooks *hooks)
lib/libc/citrus/citrus_stdenc_template.h
124
if ((ret == 0) && *nresult != (size_t)-2)
lib/libc/citrus/citrus_stdenc_template.h
134
char * __restrict s, size_t n, _citrus_csid_t csid, _citrus_index_t idx,
lib/libc/citrus/citrus_stdenc_template.h
135
void * __restrict ps, size_t * __restrict nresult,
lib/libc/citrus/citrus_stdenc_template.h
154
_citrus_wc_t * __restrict wc, char ** __restrict s, size_t n,
lib/libc/citrus/citrus_stdenc_template.h
155
void * __restrict ps, size_t * __restrict nresult,
lib/libc/citrus/citrus_stdenc_template.h
169
char * __restrict s, size_t n, _citrus_wc_t wc, void * __restrict ps,
lib/libc/citrus/citrus_stdenc_template.h
170
size_t * __restrict nresult, struct iconv_hooks *hooks __unused)
lib/libc/citrus/citrus_stdenc_template.h
181
char * __restrict s __unused, size_t n __unused,
lib/libc/citrus/citrus_stdenc_template.h
182
void * __restrict ps __unused, size_t * __restrict nresult)
lib/libc/citrus/citrus_stdenc_template.h
56
size_t lenops __unused)
lib/libc/citrus/citrus_stdenc_template.h
66
const void * __restrict var, size_t lenvar,
lib/libc/db/btree/bt_overflow.c
134
size_t nb, plen;
lib/libc/db/btree/bt_overflow.c
184
size_t plen;
lib/libc/db/btree/bt_overflow.c
75
__ovfl_get(BTREE *t, void *p, size_t *ssz, void **buf, size_t *bufsz)
lib/libc/db/btree/bt_overflow.c
79
size_t nb, plen;
lib/libc/db/btree/bt_split.c
332
bt_page(BTREE *t, PAGE *h, PAGE **lp, PAGE **rp, indx_t *skip, size_t ilen)
lib/libc/db/btree/bt_split.c
430
bt_root(BTREE *t, PAGE *h, PAGE **lp, PAGE **rp, indx_t *skip, size_t ilen)
lib/libc/db/btree/bt_split.c
48
static PAGE *bt_page(BTREE *, PAGE *, PAGE **, PAGE **, indx_t *, size_t);
lib/libc/db/btree/bt_split.c
50
static PAGE *bt_psplit(BTREE *, PAGE *, PAGE *, PAGE *, indx_t *, size_t);
lib/libc/db/btree/bt_split.c
51
static PAGE *bt_root(BTREE *, PAGE *, PAGE **, PAGE **, indx_t *, size_t);
lib/libc/db/btree/bt_split.c
586
bt_psplit(BTREE *t, PAGE *h, PAGE *l, PAGE *r, indx_t *pskip, size_t ilen)
lib/libc/db/btree/bt_split.c
76
size_t ilen, uint32_t argskip)
lib/libc/db/btree/bt_utils.c
203
size_t len;
lib/libc/db/btree/bt_utils.c
229
size_t
lib/libc/db/btree/bt_utils.c
233
size_t cnt, len;
lib/libc/db/btree/btree.h
339
size_t (*bt_pfx)(const DBT *, const DBT *);
lib/libc/db/btree/btree.h
349
size_t bt_msize; /* R: size of mapped region. */
lib/libc/db/btree/btree.h
352
size_t bt_reclen; /* R: fixed record length */
lib/libc/db/btree/extern.h
40
size_t __bt_defpfx(const DBT *, const DBT *);
lib/libc/db/btree/extern.h
56
const DBT *, const DBT *, int, size_t, uint32_t);
lib/libc/db/btree/extern.h
60
int __ovfl_get(BTREE *, void *, size_t *, void **, size_t *);
lib/libc/db/hash/extern.h
58
extern uint32_t (*__default_hash)(const void *, size_t);
lib/libc/db/hash/hash.h
95
(*hash)(const void *, size_t);
lib/libc/db/hash/hash_bigkey.c
425
val->size = (size_t)collect_data(hashp, bufp, (int)len, set_current);
lib/libc/db/hash/hash_bigkey.c
426
if (val->size == (size_t)-1)
lib/libc/db/hash/hash_bigkey.c
497
key->size = (size_t)collect_key(hashp, bufp, 0, val, set);
lib/libc/db/hash/hash_bigkey.c
498
if (key->size == (size_t)-1)
lib/libc/db/hash/hash_func.c
110
hash3(const void *key, size_t len)
lib/libc/db/hash/hash_func.c
150
hash4(const void *key, size_t len)
lib/libc/db/hash/hash_func.c
44
static uint32_t hash1(const void *, size_t) __unused;
lib/libc/db/hash/hash_func.c
45
static uint32_t hash2(const void *, size_t) __unused;
lib/libc/db/hash/hash_func.c
46
static uint32_t hash3(const void *, size_t) __unused;
lib/libc/db/hash/hash_func.c
48
static uint32_t hash4(const void *, size_t);
lib/libc/db/hash/hash_func.c
51
uint32_t (*__default_hash)(const void *, size_t) = hash4;
lib/libc/db/hash/hash_func.c
64
hash1(const void *key, size_t len)
lib/libc/db/hash/hash_func.c
84
hash2(const void *key, size_t len)
lib/libc/db/recno/rec_get.c
117
size_t len;
lib/libc/db/recno/rec_get.c
169
size_t len;
lib/libc/db/recno/rec_get.c
170
size_t sz;
lib/libc/db/recno/rec_get.c
225
size_t len;
lib/libc/db/test/btree.tests/main.c
577
size_t len;
lib/libc/db/test/dbtest.c
329
size_t len;
lib/libc/db/test/dbtest.c
59
void *rfile(char *, size_t *);
lib/libc/db/test/dbtest.c
64
void *xmalloc(char *, size_t);
lib/libc/db/test/dbtest.c
646
rfile(char *name, size_t *lenp)
lib/libc/db/test/dbtest.c
672
xmalloc(char *text, size_t len)
lib/libc/db/test/dbtest.c
83
size_t len;
lib/libc/gen/_pthread_stubs.c
261
stub_pthread_get_name_np(pthread_t a, char *name, size_t len)
lib/libc/gen/_pthread_stubs.c
268
stub_pthread_getname_np(pthread_t a, char *name, size_t len)
lib/libc/gen/arc4random.c
163
_rs_stir_if_needed(size_t len)
lib/libc/gen/arc4random.c
175
_rs_rekey(u_char *dat, size_t datlen)
lib/libc/gen/arc4random.c
185
size_t i, m;
lib/libc/gen/arc4random.c
198
_rs_random_buf(void *_buf, size_t n)
lib/libc/gen/arc4random.c
202
size_t m;
lib/libc/gen/arc4random.c
247
arc4random_buf(void *buf, size_t n)
lib/libc/gen/arc4random.c
71
size_t rs_have; /* valid bytes at end of rs_buf */
lib/libc/gen/arc4random.c
72
size_t rs_count; /* bytes till reseed */
lib/libc/gen/arc4random.c
88
static inline void _rs_rekey(u_char *dat, size_t datlen);
lib/libc/gen/arc4random.c
91
_rs_init(u_char *buf, size_t n)
lib/libc/gen/confstr.c
41
size_t
lib/libc/gen/confstr.c
42
confstr(int name, char *buf, size_t len)
lib/libc/gen/devname.c
48
devname_r(dev_t dev, mode_t type, char *buf, size_t len)
lib/libc/gen/devname.c
50
size_t n = len;
lib/libc/gen/dlfcn.c
176
dl_iterate_phdr(int (*callback)(struct dl_phdr_info *, size_t, void *),
lib/libc/gen/elf_utils.c
36
void __libc_distribute_static_tls(size_t, void *, size_t, size_t);
lib/libc/gen/elf_utils.c
57
__libc_distribute_static_tls(size_t offset, void *src, size_t len,
lib/libc/gen/elf_utils.c
58
size_t total_len)
lib/libc/gen/exec.c
150
size_t lp, ln;
lib/libc/gen/fdevname.c
60
fdevname_r(int fd, char *buf, size_t len)
lib/libc/gen/fmtmsg.c
119
size_t size;
lib/libc/gen/fnmatch.c
152
if (sclen == (size_t)-1 ||
lib/libc/gen/fnmatch.c
153
sclen == (size_t)-2) {
lib/libc/gen/fnmatch.c
189
if (pclen == (size_t)-1 || pclen == (size_t)-2)
lib/libc/gen/fnmatch.c
216
size_t pclen;
lib/libc/gen/fnmatch.c
252
if (pclen == (size_t)-1 || pclen == (size_t)-2)
lib/libc/gen/fnmatch.c
265
if (pclen == (size_t)-1 || pclen == (size_t)-2)
lib/libc/gen/fnmatch.c
91
size_t pclen, sclen;
lib/libc/gen/fnmatch.c
95
if (pclen == (size_t)-1 || pclen == (size_t)-2)
lib/libc/gen/fnmatch.c
99
if (sclen == (size_t)-1 || sclen == (size_t)-2) {
lib/libc/gen/fts.c
1042
fts_palloc(FTS *sp, size_t more)
lib/libc/gen/fts.c
1078
static size_t
lib/libc/gen/fts.c
1081
size_t len, max;
lib/libc/gen/fts.c
110
size_t len, nitems;
lib/libc/gen/fts.c
215
size_t len;
lib/libc/gen/fts.c
48
static FTSENT *fts_alloc(FTS *, const char *, size_t);
lib/libc/gen/fts.c
52
static size_t fts_maxarglen(char * const *);
lib/libc/gen/fts.c
54
static int fts_palloc(FTS *, size_t);
lib/libc/gen/fts.c
55
static FTSENT *fts_sort(FTS *, FTSENT *, size_t);
lib/libc/gen/fts.c
618
size_t dnamlen, len, maxlen, nitems;
lib/libc/gen/fts.c
948
fts_sort(FTS *sp, FTSENT *head, size_t nitems)
lib/libc/gen/fts.c
977
fts_alloc(FTS *sp, const char *name, size_t namelen)
lib/libc/gen/fts.c
980
size_t len;
lib/libc/gen/getbootfile.c
42
size_t size = sizeof name;
lib/libc/gen/getcap.c
335
size_t newsize;
lib/libc/gen/getcap.c
475
size_t newsize;
lib/libc/gen/getcap.c
521
reallocf(record, (size_t)(rp - record))) == NULL) {
lib/libc/gen/getcap.c
62
static size_t topreclen; /* toprec length */
lib/libc/gen/getcap.c
648
size_t len;
lib/libc/gen/getcap.c
879
size_t size = mp - mem;
lib/libc/gen/getcap.c
895
if ((mem = reallocf(mem, (size_t)(mp - mem))) == NULL)
lib/libc/gen/getcap.c
951
size_t size = mp - mem;
lib/libc/gen/getcap.c
967
if ((mem = reallocf(mem, (size_t)(mp - mem))) == NULL)
lib/libc/gen/getcwd.c
40
int __getcwd(char *pt, size_t size);
lib/libc/gen/getcwd.c
43
getcwd(char *pt, size_t size)
lib/libc/gen/getdevpath.c
111
size_t len; /* directory prefix length */
lib/libc/gen/getdevpath.c
112
size_t tlen; /* devname length without trailer */
lib/libc/gen/getdevpath.c
124
len = (ptr1) ? (size_t)(ptr1 - prefix) : strlen(prefix);
lib/libc/gen/getdomainname.c
43
size_t size;
lib/libc/gen/getentropy.c
40
getentropy(void *buf, size_t len)
lib/libc/gen/getgrent.c
1081
size_t bufsize;
lib/libc/gen/getgrent.c
1104
bufsize = va_arg(ap, size_t);
lib/libc/gen/getgrent.c
1302
size_t bufsize, linesize;
lib/libc/gen/getgrent.c
1330
bufsize = va_arg(ap, size_t);
lib/libc/gen/getgrent.c
1468
__gr_match_entry(const char *line, size_t linesize, enum nss_lookup_type how,
lib/libc/gen/getgrent.c
1471
size_t namesize;
lib/libc/gen/getgrent.c
1493
if (namesize + 1 == (size_t)(p - line) &&
lib/libc/gen/getgrent.c
151
static int grp_id_func(char *, size_t *, va_list, void *);
lib/libc/gen/getgrent.c
1512
__gr_parse_entry(char *line, size_t linesize __unused, struct group *grp,
lib/libc/gen/getgrent.c
1513
char *membuf, size_t membufsize, int *errnop)
lib/libc/gen/getgrent.c
152
static int grp_marshal_func(char *, size_t *, void *, va_list, void *);
lib/libc/gen/getgrent.c
153
static int grp_unmarshal_func(char *, size_t, void *, va_list, void *);
lib/libc/gen/getgrent.c
156
grp_id_func(char *buffer, size_t *buffer_size, va_list ap, void *cache_mdata)
lib/libc/gen/getgrent.c
161
size_t desired_size, size;
lib/libc/gen/getgrent.c
207
grp_marshal_func(char *buffer, size_t *buffer_size, void *retval __unused,
lib/libc/gen/getgrent.c
214
size_t orig_buf_size __unused;
lib/libc/gen/getgrent.c
217
size_t desired_size, size, mem_size;
lib/libc/gen/getgrent.c
236
orig_buf_size = va_arg(ap, size_t);
lib/libc/gen/getgrent.c
302
grp_unmarshal_func(char *buffer, size_t buffer_size, void *retval, va_list ap,
lib/libc/gen/getgrent.c
309
size_t orig_buf_size;
lib/libc/gen/getgrent.c
331
orig_buf_size = va_arg(ap, size_t);
lib/libc/gen/getgrent.c
345
_ALIGN(p) - (size_t)p,
lib/libc/gen/getgrent.c
347
_ALIGN(p) + (size_t)p);
lib/libc/gen/getgrent.c
462
size_t bufsize;
lib/libc/gen/getgrent.c
559
getgrent_r(struct group *grp, char *buffer, size_t bufsize,
lib/libc/gen/getgrent.c
576
getgrnam_r(const char *name, struct group *grp, char *buffer, size_t bufsize,
lib/libc/gen/getgrent.c
614
getgrgid_r(gid_t gid, struct group *grp, char *buffer, size_t bufsize,
lib/libc/gen/getgrent.c
677
static size_t grp_storage_size;
lib/libc/gen/getgrent.c
680
getgr(int (*fn)(union key, struct group *, char *, size_t, struct group **),
lib/libc/gen/getgrent.c
714
wrap_getgrnam_r(union key key, struct group *grp, char *buffer, size_t bufsize,
lib/libc/gen/getgrent.c
722
wrap_getgrgid_r(union key key, struct group *grp, char *buffer, size_t bufsize,
lib/libc/gen/getgrent.c
731
size_t bufsize, struct group **res)
lib/libc/gen/getgrent.c
768
is_comment_line(const char *s, size_t n)
lib/libc/gen/getgrent.c
78
int __gr_match_entry(const char *, size_t, enum nss_lookup_type,
lib/libc/gen/getgrent.c
80
int __gr_parse_entry(char *, size_t, struct group *, char *, size_t,
lib/libc/gen/getgrent.c
83
static int is_comment_line(const char *, size_t);
lib/libc/gen/getgrent.c
835
size_t bufsize, linesize;
lib/libc/gen/getgrent.c
856
bufsize = va_arg(ap, size_t);
lib/libc/gen/getgrent.c
89
static struct group *getgr(int (*)(union key, struct group *, char *, size_t,
lib/libc/gen/getgrent.c
91
static int wrap_getgrnam_r(union key, struct group *, char *, size_t,
lib/libc/gen/getgrent.c
93
static int wrap_getgrgid_r(union key, struct group *, char *, size_t,
lib/libc/gen/getgrent.c
944
size_t bufsize, adjsize, linesize;
lib/libc/gen/getgrent.c
95
static int wrap_getgrent_r(union key, struct group *, char *, size_t,
lib/libc/gen/getgrent.c
966
bufsize = va_arg(ap, size_t);
lib/libc/gen/gethostid.c
40
size_t size;
lib/libc/gen/gethostname.c
41
gethostname(char *name, size_t namelen)
lib/libc/gen/getloadavg.c
50
size_t i, size;
lib/libc/gen/getlogin.c
49
extern int _getlogin(char *, size_t);
lib/libc/gen/getlogin.c
83
getlogin_r(char *logname, size_t namelen)
lib/libc/gen/getlogin.c
86
size_t len;
lib/libc/gen/getobjformat.c
38
getobjformat(char *buf, size_t buflen, int *argcp __unused, char **argv __unused)
lib/libc/gen/getosreldate.c
44
size_t size;
lib/libc/gen/getpagesize.c
47
size_t size;
lib/libc/gen/getpwent.c
1006
pwdb_match_entry_v4(char *entry, size_t entrysize, enum nss_lookup_type how,
lib/libc/gen/getpwent.c
1034
pwdb_parse_entry_v4(char *buffer, size_t bufsize, struct passwd *pwd,
lib/libc/gen/getpwent.c
104
size_t, struct passwd **), union key);
lib/libc/gen/getpwent.c
106
size_t, struct passwd **);
lib/libc/gen/getpwent.c
107
static int wrap_getpwuid_r(union key, struct passwd *, char *, size_t,
lib/libc/gen/getpwent.c
109
static int wrap_getpwent_r(union key, struct passwd *, char *, size_t,
lib/libc/gen/getpwent.c
1109
size_t bufsize, linesize;
lib/libc/gen/getpwent.c
112
static int pwdb_match_entry_v3(char *, size_t, enum nss_lookup_type,
lib/libc/gen/getpwent.c
1131
bufsize = va_arg(ap, size_t);
lib/libc/gen/getpwent.c
114
static int pwdb_parse_entry_v3(char *, size_t, struct passwd *, int *);
lib/libc/gen/getpwent.c
115
static int pwdb_match_entry_v4(char *, size_t, enum nss_lookup_type,
lib/libc/gen/getpwent.c
117
static int pwdb_parse_entry_v4(char *, size_t, struct passwd *, int *);
lib/libc/gen/getpwent.c
121
int (*match)(char *, size_t, enum nss_lookup_type, const char *,
lib/libc/gen/getpwent.c
1224
nis_map(char *domain, enum nss_lookup_type how, char *buffer, size_t bufsize,
lib/libc/gen/getpwent.c
123
int (*parse)(char *, size_t, struct passwd *, int *);
lib/libc/gen/getpwent.c
1250
nis_adjunct(char *domain, const char *name, char *buffer, size_t bufsize)
lib/libc/gen/getpwent.c
1304
size_t bufsize;
lib/libc/gen/getpwent.c
1324
bufsize = va_arg(ap, size_t);
lib/libc/gen/getpwent.c
1474
size_t bufsize)
lib/libc/gen/getpwent.c
1478
size_t n;
lib/libc/gen/getpwent.c
1587
uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, int *errnop)
lib/libc/gen/getpwent.c
169
static int nis_map(char *, enum nss_lookup_type, char *, size_t, int *);
lib/libc/gen/getpwent.c
170
static int nis_adjunct(char *, const char *, char *, size_t);
lib/libc/gen/getpwent.c
1748
size_t bufsize;
lib/libc/gen/getpwent.c
1772
bufsize = va_arg(ap, size_t);
lib/libc/gen/getpwent.c
196
size_t);
lib/libc/gen/getpwent.c
1960
__pw_match_entry(const char *entry, size_t entrysize, enum nss_lookup_type how,
lib/libc/gen/getpwent.c
1965
size_t len;
lib/libc/gen/getpwent.c
199
struct passwd *, char *, size_t, int *);
lib/libc/gen/getpwent.c
1998
__pw_parse_entry(char *buffer, size_t bufsize __unused, struct passwd *pwd,
lib/libc/gen/getpwent.c
202
static int pwd_id_func(char *, size_t *, va_list ap, void *);
lib/libc/gen/getpwent.c
203
static int pwd_marshal_func(char *, size_t *, void *, va_list, void *);
lib/libc/gen/getpwent.c
204
static int pwd_unmarshal_func(char *, size_t, void *, va_list, void *);
lib/libc/gen/getpwent.c
207
pwd_id_func(char *buffer, size_t *buffer_size, va_list ap, void *cache_mdata)
lib/libc/gen/getpwent.c
211
size_t size, desired_size;
lib/libc/gen/getpwent.c
256
pwd_marshal_func(char *buffer, size_t *buffer_size, void *retval __unused,
lib/libc/gen/getpwent.c
263
size_t orig_buf_size __unused;
lib/libc/gen/getpwent.c
266
size_t desired_size, size;
lib/libc/gen/getpwent.c
285
orig_buf_size = va_arg(ap, size_t);
lib/libc/gen/getpwent.c
360
pwd_unmarshal_func(char *buffer, size_t buffer_size, void *retval, va_list ap,
lib/libc/gen/getpwent.c
367
size_t orig_buf_size;
lib/libc/gen/getpwent.c
388
orig_buf_size = va_arg(ap, size_t);
lib/libc/gen/getpwent.c
501
getpwent_r(struct passwd *pwd, char *buffer, size_t bufsize,
lib/libc/gen/getpwent.c
539
getpwnam_r(const char *name, struct passwd *pwd, char *buffer, size_t bufsize,
lib/libc/gen/getpwent.c
578
getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize,
lib/libc/gen/getpwent.c
635
static size_t pwd_storage_size;
lib/libc/gen/getpwent.c
639
getpw(int (*fn)(union key, struct passwd *, char *, size_t, struct passwd **),
lib/libc/gen/getpwent.c
674
size_t bufsize, struct passwd **res)
lib/libc/gen/getpwent.c
682
size_t bufsize, struct passwd **res)
lib/libc/gen/getpwent.c
690
size_t bufsize, struct passwd **res)
lib/libc/gen/getpwent.c
812
size_t bufsize, namesize;
lib/libc/gen/getpwent.c
838
bufsize = va_arg(ap, size_t);
lib/libc/gen/getpwent.c
92
int __pw_match_entry(const char *, size_t, enum nss_lookup_type,
lib/libc/gen/getpwent.c
936
pwdb_match_entry_v3(char *entry, size_t entrysize, enum nss_lookup_type how,
lib/libc/gen/getpwent.c
94
int __pw_parse_entry(char *, size_t, struct passwd *, int, int *errnop);
lib/libc/gen/getpwent.c
963
pwdb_parse_entry_v3(char *buffer, size_t bufsize, struct passwd *pwd,
lib/libc/gen/getttyent.c
46
static size_t lbsize;
lib/libc/gen/getttyent.c
77
size_t i;
lib/libc/gen/getvfsbyname.c
48
size_t buflen;
lib/libc/gen/getvfsbyname.c
54
if (sysctl(name, 3, &maxtypenum, &buflen, NULL, (size_t)0) < 0)
lib/libc/gen/getvfsbyname.c
61
if (sysctl(name, 4, vfcp, &buflen, NULL, (size_t)0) < 0) {
lib/libc/gen/getvfsent.c
104
size_t i;
lib/libc/gen/getvfsent.c
22
static size_t _vfslistlen = 0;
lib/libc/gen/getvfsent.c
24
static size_t _vfs_index = 0;
lib/libc/gen/getvfsent.c
30
size_t size = 0;
lib/libc/gen/getvfsent.c
33
rv = sysctl(mib, 2, NULL, &size, NULL, (size_t)0);
lib/libc/gen/getvfsent.c
43
rv = sysctl(mib, 2, _vfslist, &size, NULL, (size_t)0);
lib/libc/gen/getvfsent.c
77
size_t i;
lib/libc/gen/glob.c
108
size_t l_brace_cnt;
lib/libc/gen/glob.c
109
size_t l_path_lim;
lib/libc/gen/glob.c
110
size_t l_readdir_cnt;
lib/libc/gen/glob.c
111
size_t l_stat_cnt;
lib/libc/gen/glob.c
112
size_t l_string_cnt;
lib/libc/gen/glob.c
166
static int g_Ctoc(const Char *, char *, size_t);
lib/libc/gen/glob.c
182
globtilde(const Char *, Char *, size_t, glob_t *);
lib/libc/gen/glob.c
200
size_t clen;
lib/libc/gen/glob.c
224
if (clen == (size_t)-1 || clen == (size_t)-2)
lib/libc/gen/glob.c
244
if (clen == (size_t)-1 || clen == (size_t)-2)
lib/libc/gen/glob.c
400
globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob_t *pglob)
lib/libc/gen/glob.c
470
size_t oldpathc;
lib/libc/gen/glob.c
684
size_t clen;
lib/libc/gen/glob.c
708
if (clen == (size_t)-1 || clen == (size_t)-2) {
lib/libc/gen/glob.c
753
size_t i, newsize, len;
lib/libc/gen/glob.c
779
len = MB_CUR_MAX * (size_t)(p - path); /* XXX overallocation */
lib/libc/gen/glob.c
857
size_t i;
lib/libc/gen/glob.c
928
g_Ctoc(const Char *str, char *buf, size_t len)
lib/libc/gen/glob.c
931
size_t clen;
lib/libc/gen/glob.c
936
if (clen == (size_t)-1)
lib/libc/gen/nlist.c
132
a_out_mmap = mmap(NULL, (size_t)st.st_size, PROT_READ, MAP_PRIVATE, fd, (off_t)0);
lib/libc/gen/nlist.c
138
munmap(a_out_mmap, (size_t)st.st_size);
lib/libc/gen/nlist.c
188
munmap(a_out_mmap, (size_t)st.st_size);
lib/libc/gen/nlist.c
263
base = mmap(NULL, (size_t)shdr_size, PROT_READ, 0, fd,
lib/libc/gen/nlist.c
299
base = mmap(NULL, (size_t)symstrsize, PROT_READ, 0, fd,
lib/libc/gen/nlist.c
87
size_t i;
lib/libc/gen/ntp_gettime.c
42
size_t size = sizeof tv;
lib/libc/gen/pmadvise.c
12
posix_madvise(void *address, size_t size, int how)
lib/libc/gen/posixshm.c
131
size_t len;
lib/libc/gen/pwcache.c
142
static u_int st_hash(const char *, size_t, int);
lib/libc/gen/pwcache.c
150
st_hash(const char *name, size_t len, int tabsz)
lib/libc/gen/pwcache.c
397
size_t namelen;
lib/libc/gen/pwcache.c
461
size_t namelen;
lib/libc/gen/readpassphrase.c
43
readpassphrase(const char *prompt, char *buf, size_t bufsiz, int flags)
lib/libc/gen/scandir.c
58
size_t arraysz, nitems = 0;
lib/libc/gen/setproctitle.c
74
size_t len;
lib/libc/gen/stringlist.c
107
size_t i;
lib/libc/gen/stringlist.c
87
size_t i;
lib/libc/gen/sysconf.c
73
size_t len;
lib/libc/gen/sysctl.c
44
size_t *oldlenp, const void *newp, size_t newlen);
lib/libc/gen/sysctl.c
47
sysctl(const int *name, u_int namelen, void *oldp, size_t *oldlenp,
lib/libc/gen/sysctl.c
48
const void *newp, size_t newlen)
lib/libc/gen/sysctl.c
51
size_t orig_oldlen;
lib/libc/gen/sysctlbyname.c
16
sysctlbyname(const char *name, void *oldp, size_t *oldlenp,
lib/libc/gen/sysctlbyname.c
17
const void *newp, size_t newlen)
lib/libc/gen/sysctlbyname.c
20
size_t oidlen;
lib/libc/gen/sysctlnametomib.c
42
sysctlnametomib(const char *name, int *mibp, size_t *sizep)
lib/libc/gen/sysvipc_msgrcv.c
11
int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg)
lib/libc/gen/sysvipc_msgrcv.c
9
extern int __sys_msgrcv(int, void *, size_t, long, int);
lib/libc/gen/sysvipc_msgsnd.c
11
int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg)
lib/libc/gen/sysvipc_msgsnd.c
9
extern int __sys_msgsnd(int, const void *, size_t, int);
lib/libc/gen/sysvipc_shmget.c
11
int shmget(key_t key, size_t size, int shmflg)
lib/libc/gen/sysvipc_shmget.c
9
extern int __sys_shmget(key_t, size_t, int);
lib/libc/gen/tls.c
110
size_t data_size;
lib/libc/gen/tls.c
124
size_t bytes;
lib/libc/gen/tls.c
127
bytes = (bytes + PAGE_MASK) & ~(size_t)PAGE_MASK;
lib/libc/gen/tls.c
206
size_t phent, phnum;
lib/libc/gen/tls.c
60
static size_t tls_static_space;
lib/libc/gen/tls.c
61
static size_t tls_init_size;
lib/libc/gen/tls.c
89
size_t data_size;
lib/libc/gen/ttyname.c
61
ttyname_r(int fd, char *buf, size_t len)
lib/libc/gen/ttyname.c
65
size_t used;
lib/libc/gen/uname.c
46
size_t len;
lib/libc/gen/unvis.c
497
strnunvisx(char *dst, size_t dlen, const char *src, int flag)
lib/libc/gen/unvis.c
548
return strnunvisx(dst, (size_t)~0, src, flag);
lib/libc/gen/unvis.c
554
return strnunvisx(dst, (size_t)~0, src, 0);
lib/libc/gen/unvis.c
558
strnunvis(char *dst, size_t dlen, const char *src)
lib/libc/gen/utmpx.c
415
size_t len;
lib/libc/gen/valloc.c
37
valloc(size_t i)
lib/libc/gen/vis.c
363
size_t len;
lib/libc/gen/vis.c
372
if ((flags & VIS_NOLOCALE) || mbsrtowcs(dst, &src, len, &mbstate) == (size_t)-1) {
lib/libc/gen/vis.c
373
size_t i;
lib/libc/gen/vis.c
404
istrsenvisx(char **mbdstp, size_t *dlen, const char *mbsrc, size_t mblength,
lib/libc/gen/vis.c
408
size_t len, olen;
lib/libc/gen/vis.c
576
if (olen + clen > (size_t)maxolen)
lib/libc/gen/vis.c
609
istrsenvisxl(char **mbdstp, size_t *dlen, const char *mbsrc,
lib/libc/gen/vis.c
642
snvis(char *mbdst, size_t dlen, int c, int flags, int nextc, const char *mbextra)
lib/libc/gen/vis.c
663
strsnvis(char *mbdst, size_t dlen, const char *mbsrc, int flags, const char *mbextra)
lib/libc/gen/vis.c
669
strsvisx(char *mbdst, const char *mbsrc, size_t len, int flags, const char *mbextra)
lib/libc/gen/vis.c
675
strsnvisx(char *mbdst, size_t dlen, const char *mbsrc, size_t len, int flags,
lib/libc/gen/vis.c
682
strsenvisx(char *mbdst, size_t dlen, const char *mbsrc, size_t len, int flags,
lib/libc/gen/vis.c
709
nvis(char *mbdst, size_t dlen, int c, int flags, int nextc)
lib/libc/gen/vis.c
738
strnvis(char *dst, const char *src, size_t len, int flag)
lib/libc/gen/vis.c
762
strvisx(char *mbdst, const char *mbsrc, size_t len, int flags)
lib/libc/gen/vis.c
768
strnvisx(char *mbdst, size_t dlen, const char *mbsrc, size_t len, int flags)
lib/libc/gen/vis.c
774
strenvisx(char *mbdst, size_t dlen, const char *mbsrc, size_t len, int flags,
lib/libc/gen/wordexp.c
101
size_t done;
lib/libc/gen/wordexp.c
131
size_t sofs; /* Offset into we->we_strings */
lib/libc/gen/wordexp.c
132
size_t vofs; /* Offset into we->we_wordv */
lib/libc/gen/wordexp.c
80
static size_t
lib/libc/gen/wordexp.c
81
we_read_fully(int fd, char *buffer, size_t len)
lib/libc/gen/wordexp.c
83
size_t done;
lib/libc/gen/wordexp.c
99
we_write_fully(int fd, const char *buffer, size_t len)
lib/libc/gmon/gmon.c
126
size_t size;
lib/libc/iconv/iconv.c
125
size_t
lib/libc/iconv/iconv.c
126
iconv(iconv_t handle, char **in, size_t *szin, char **out, size_t *szout)
lib/libc/iconv/iconv.c
128
size_t ret;
lib/libc/iconv/iconv.c
133
return ((size_t)-1);
lib/libc/iconv/iconv.c
140
ret = (size_t)-1;
lib/libc/iconv/iconv.c
146
size_t
lib/libc/iconv/iconv.c
147
__iconv(iconv_t handle, char **in, size_t *szin, char **out,
lib/libc/iconv/iconv.c
148
size_t *szout, uint32_t flags, size_t *invalids)
lib/libc/iconv/iconv.c
150
size_t ret;
lib/libc/iconv/iconv.c
155
return ((size_t)-1);
lib/libc/iconv/iconv.c
164
ret = (size_t)-1;
lib/libc/iconv/iconv.c
171
__iconv_get_list(char ***rlist, size_t *rsz, bool sorted)
lib/libc/iconv/iconv.c
185
__iconv_free_list(char **list, size_t sz)
lib/libc/iconv/iconv.c
212
size_t sz;
lib/libc/include/isc/eventlib.h
137
struct iovec evConsIovec __P((void *, size_t));
lib/libc/include/nscache.h
165
(cp) = (p_type)((char *)(cb) + (size_t)(cp) - (size_t)(ib))
lib/libc/include/nscache.h
171
((char *)(cb) + (size_t)(cp) - (size_t)(ib))
lib/libc/include/nscache.h
175
size_t key_size;
lib/libc/include/nscache.h
34
typedef int (*nss_cache_id_func_t)(char *, size_t *, va_list, void *);
lib/libc/include/nscache.h
35
typedef int (*nss_cache_marshal_func_t)(char *, size_t *, void *, va_list,
lib/libc/include/nscache.h
37
typedef int (*nss_cache_unmarshal_func_t)(char *, size_t, void *, va_list,
lib/libc/include/nscachedcli.h
102
extern int __cached_mp_read(cached_mp_read_session, char *, size_t *);
lib/libc/include/nscachedcli.h
89
size_t, const char *, size_t);
lib/libc/include/nscachedcli.h
91
size_t, char *, size_t *);
lib/libc/include/nscachedcli.h
96
extern int __cached_mp_write(cached_mp_write_session, const char *, size_t);
lib/libc/inet/inet_cidr_ntop.c
101
inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size) {
lib/libc/inet/inet_cidr_ntop.c
103
size_t len = 4;
lib/libc/inet/inet_cidr_ntop.c
104
size_t b;
lib/libc/inet/inet_cidr_ntop.c
105
size_t bytes;
lib/libc/inet/inet_cidr_ntop.c
145
inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) {
lib/libc/inet/inet_cidr_ntop.c
247
if ((size_t)(tp - tmp) > size) {
lib/libc/inet/inet_cidr_ntop.c
36
inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size);
lib/libc/inet/inet_cidr_ntop.c
38
inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size);
lib/libc/inet/inet_cidr_ntop.c
55
inet_cidr_ntop(int af, const void *src, int bits, char *dst, size_t size) {
lib/libc/inet/inet_cidr_ntop.c
68
decoct(const u_char *src, int bytes, char *dst, size_t size) {
lib/libc/inet/inet_cidr_ntop.c
82
size -= (size_t)(dst - t);
lib/libc/inet/inet_cidr_pton.c
80
size_t size = 4;
lib/libc/inet/inet_net_ntop.c
107
size -= (size_t)(dst - t);
lib/libc/inet/inet_net_ntop.c
120
size -= (size_t)(dst - t);
lib/libc/inet/inet_net_ntop.c
152
inet_net_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) {
lib/libc/inet/inet_net_ntop.c
35
char *dst, size_t size);
lib/libc/inet/inet_net_ntop.c
37
char *dst, size_t size);
lib/libc/inet/inet_net_ntop.c
50
inet_net_ntop(int af, const void *src, int bits, char *dst, size_t size)
lib/libc/inet/inet_net_ntop.c
77
inet_net_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size)
lib/libc/inet/inet_net_pton.c
255
inet_net_pton_ipv6(const char *src, u_char *dst, size_t size) {
lib/libc/inet/inet_net_pton.c
264
size_t bytes;
lib/libc/inet/inet_net_pton.c
387
inet_net_pton(int af, const char *src, void *dst, size_t size) {
lib/libc/inet/inet_net_pton.c
54
inet_net_pton_ipv4(const char *src, u_char *dst, size_t size) {
lib/libc/inet/inet_neta.c
45
inet_neta(in_addr_t src, char *dst, size_t size)
lib/libc/inet/inet_neta.c
63
size -= (size_t)(dst - tp);
lib/libc/inet/inet_ntop.c
102
inet_ntop6(const u_char *src, char *dst, size_t size)
lib/libc/inet/inet_ntop.c
41
static const char *inet_ntop4(const u_char *src, char *dst, size_t size);
lib/libc/inet/inet_ntop.c
42
static const char *inet_ntop6(const u_char *src, char *dst, size_t size);
lib/libc/inet/inet_ntop.c
80
inet_ntop4(const u_char *src, char *dst, size_t size)
lib/libc/isc/ev_streams.c
228
consume(evStream *str, size_t bytes) {
lib/libc/isc/ev_streams.c
230
if (bytes < (size_t)str->iovCur->iov_len) {
lib/libc/isc/ev_streams.c
44
static void consume(evStream *str, size_t bytes);
lib/libc/isc/ev_streams.c
51
evConsIovec(void *buf, size_t cnt) {
lib/libc/locale/ascii.c
101
return ((size_t)-1);
lib/libc/locale/ascii.c
108
static size_t
lib/libc/locale/ascii.c
118
return ((size_t)-1);
lib/libc/locale/ascii.c
124
static size_t
lib/libc/locale/ascii.c
126
size_t nms, size_t len, mbstate_t * __restrict ps __unused)
lib/libc/locale/ascii.c
129
size_t nchr;
lib/libc/locale/ascii.c
136
return ((size_t)-1);
lib/libc/locale/ascii.c
149
return ((size_t)-1);
lib/libc/locale/ascii.c
161
static size_t
lib/libc/locale/ascii.c
163
size_t nwc, size_t len, mbstate_t * __restrict ps __unused)
lib/libc/locale/ascii.c
166
size_t nchr;
lib/libc/locale/ascii.c
172
return ((size_t)-1);
lib/libc/locale/ascii.c
184
return ((size_t)-1);
lib/libc/locale/ascii.c
53
static size_t _ascii_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/ascii.c
54
size_t, mbstate_t * __restrict);
lib/libc/locale/ascii.c
56
static size_t _ascii_mbsnrtowcs(wchar_t * __restrict dst,
lib/libc/locale/ascii.c
57
const char ** __restrict src, size_t nms, size_t len,
lib/libc/locale/ascii.c
59
static size_t _ascii_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/ascii.c
61
static size_t _ascii_wcsnrtombs(char * __restrict, const wchar_t ** __restrict,
lib/libc/locale/ascii.c
62
size_t, size_t, mbstate_t * __restrict);
lib/libc/locale/ascii.c
89
static size_t
lib/libc/locale/ascii.c
90
_ascii_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/ascii.c
98
return ((size_t)-2);
lib/libc/locale/big5.c
103
size_t len;
lib/libc/locale/big5.c
110
return ((size_t)-1);
lib/libc/locale/big5.c
121
return ((size_t)-2);
lib/libc/locale/big5.c
126
return ((size_t)-1);
lib/libc/locale/big5.c
135
len = (size_t)_big5_check(*s);
lib/libc/locale/big5.c
141
return ((size_t)-2);
lib/libc/locale/big5.c
145
return ((size_t)-1);
lib/libc/locale/big5.c
158
static size_t
lib/libc/locale/big5.c
167
return ((size_t)-1);
lib/libc/locale/big5.c
182
static size_t
lib/libc/locale/big5.c
184
size_t nms, size_t len, mbstate_t * __restrict ps)
lib/libc/locale/big5.c
189
static size_t
lib/libc/locale/big5.c
191
size_t nwc, size_t len, mbstate_t * __restrict ps)
lib/libc/locale/big5.c
51
static size_t _BIG5_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/big5.c
52
size_t, mbstate_t * __restrict);
lib/libc/locale/big5.c
54
static size_t _BIG5_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/big5.c
56
static size_t _BIG5_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/big5.c
57
const char ** __restrict, size_t, size_t,
lib/libc/locale/big5.c
59
static size_t _BIG5_wcsnrtombs(char * __restrict,
lib/libc/locale/big5.c
60
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/big5.c
97
static size_t
lib/libc/locale/big5.c
98
_BIG5_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/cXXrtomb_iconv.h
105
return ((size_t)-1);
lib/libc/locale/cXXrtomb_iconv.h
110
size_t
lib/libc/locale/cXXrtomb_iconv.h
49
size_t srcbuf_len;
lib/libc/locale/cXXrtomb_iconv.h
54
size_t
lib/libc/locale/cXXrtomb_iconv.h
61
size_t srcleft, dstleft, invlen;
lib/libc/locale/collate.c
385
size_t
lib/libc/locale/collate.c
387
size_t room)
lib/libc/locale/collate.c
396
size_t want = 0;
lib/libc/locale/collate.c
397
size_t need = 0;
lib/libc/locale/collate.c
487
return ((size_t)(-1));
lib/libc/locale/collate.c
531
size_t
lib/libc/locale/collate.c
533
size_t room)
lib/libc/locale/collate.c
542
size_t want = 0;
lib/libc/locale/collate.c
543
size_t need = 0;
lib/libc/locale/collate.c
651
return ((size_t)(-1));
lib/libc/locale/collate.c
661
__collate_equiv_value(locale_t locale, const wchar_t *str, size_t len)
lib/libc/locale/collate.h
120
size_t maplen;
lib/libc/locale/collate.h
131
int __collate_equiv_value(locale_t, const wchar_t *, size_t);
lib/libc/locale/collate.h
136
size_t _collate_wxfrm(struct xlocale_collate *, const wchar_t *, wchar_t *,
lib/libc/locale/collate.h
137
size_t);
lib/libc/locale/collate.h
138
size_t _collate_sxfrm(struct xlocale_collate *, const wchar_t *, char *,
lib/libc/locale/collate.h
139
size_t);
lib/libc/locale/euc.c
135
static size_t
lib/libc/locale/euc.c
137
size_t n, mbstate_t * __restrict ps)
lib/libc/locale/euc.c
142
static size_t
lib/libc/locale/euc.c
145
size_t nms, size_t len, mbstate_t * __restrict ps)
lib/libc/locale/euc.c
150
static size_t
lib/libc/locale/euc.c
157
static size_t
lib/libc/locale/euc.c
159
size_t nwc, size_t len, mbstate_t * __restrict ps)
lib/libc/locale/euc.c
182
static size_t
lib/libc/locale/euc.c
184
size_t n, mbstate_t * __restrict ps)
lib/libc/locale/euc.c
189
static size_t
lib/libc/locale/euc.c
192
size_t nms, size_t len, mbstate_t * __restrict ps)
lib/libc/locale/euc.c
197
static size_t
lib/libc/locale/euc.c
204
static size_t
lib/libc/locale/euc.c
206
size_t nwc, size_t len, mbstate_t * __restrict ps)
lib/libc/locale/euc.c
229
static size_t
lib/libc/locale/euc.c
231
size_t n, mbstate_t * __restrict ps)
lib/libc/locale/euc.c
236
static size_t
lib/libc/locale/euc.c
239
size_t nms, size_t len, mbstate_t * __restrict ps)
lib/libc/locale/euc.c
244
static size_t
lib/libc/locale/euc.c
251
static size_t
lib/libc/locale/euc.c
253
size_t nwc, size_t len, mbstate_t * __restrict ps)
lib/libc/locale/euc.c
276
static size_t
lib/libc/locale/euc.c
278
size_t n, mbstate_t * __restrict ps)
lib/libc/locale/euc.c
283
static size_t
lib/libc/locale/euc.c
286
size_t nms, size_t len, mbstate_t * __restrict ps)
lib/libc/locale/euc.c
291
static size_t
lib/libc/locale/euc.c
298
static size_t
lib/libc/locale/euc.c
300
size_t nwc, size_t len, mbstate_t * __restrict ps)
lib/libc/locale/euc.c
309
static size_t
lib/libc/locale/euc.c
311
size_t n, mbstate_t * __restrict ps,
lib/libc/locale/euc.c
323
return ((size_t)-1);
lib/libc/locale/euc.c
334
return ((size_t)-2);
lib/libc/locale/euc.c
353
return ((size_t)-1);
lib/libc/locale/euc.c
375
return ((size_t)-2);
lib/libc/locale/euc.c
383
static size_t
lib/libc/locale/euc.c
396
return ((size_t)-1);
lib/libc/locale/euc.c
422
return ((size_t)-1);
lib/libc/locale/euc.c
432
return ((size_t)-1);
lib/libc/locale/euc.c
437
return ((size_t)-1);
lib/libc/locale/euc.c
441
return ((size_t)-1);
lib/libc/locale/euc.c
53
static size_t _EUC_mbrtowc_impl(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/euc.c
54
size_t, mbstate_t * __restrict, uint8_t, uint8_t, uint8_t, uint8_t);
lib/libc/locale/euc.c
55
static size_t _EUC_wcrtomb_impl(char * __restrict, wchar_t,
lib/libc/locale/euc.c
58
static size_t _EUC_CN_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/euc.c
59
size_t, mbstate_t * __restrict);
lib/libc/locale/euc.c
60
static size_t _EUC_JP_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/euc.c
61
size_t, mbstate_t * __restrict);
lib/libc/locale/euc.c
62
static size_t _EUC_KR_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/euc.c
63
size_t, mbstate_t * __restrict);
lib/libc/locale/euc.c
64
static size_t _EUC_TW_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/euc.c
65
size_t, mbstate_t * __restrict);
lib/libc/locale/euc.c
67
static size_t _EUC_CN_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/euc.c
69
static size_t _EUC_JP_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/euc.c
71
static size_t _EUC_KR_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/euc.c
73
static size_t _EUC_TW_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/euc.c
76
static size_t _EUC_CN_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/euc.c
77
const char ** __restrict, size_t, size_t,
lib/libc/locale/euc.c
79
static size_t _EUC_JP_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/euc.c
80
const char ** __restrict, size_t, size_t,
lib/libc/locale/euc.c
82
static size_t _EUC_KR_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/euc.c
83
const char ** __restrict, size_t, size_t,
lib/libc/locale/euc.c
85
static size_t _EUC_TW_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/euc.c
86
const char ** __restrict, size_t, size_t,
lib/libc/locale/euc.c
89
static size_t _EUC_CN_wcsnrtombs(char * __restrict,
lib/libc/locale/euc.c
90
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/euc.c
92
static size_t _EUC_JP_wcsnrtombs(char * __restrict,
lib/libc/locale/euc.c
93
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/euc.c
95
static size_t _EUC_KR_wcsnrtombs(char * __restrict,
lib/libc/locale/euc.c
96
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/euc.c
98
static size_t _EUC_TW_wcsnrtombs(char * __restrict,
lib/libc/locale/euc.c
99
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/gb18030.c
103
return ((size_t)-1);
lib/libc/locale/gb18030.c
121
return ((size_t)-2);
lib/libc/locale/gb18030.c
135
return ((size_t)-2);
lib/libc/locale/gb18030.c
148
return ((size_t)-2);
lib/libc/locale/gb18030.c
154
return ((size_t)-2);
lib/libc/locale/gb18030.c
171
return ((size_t)-1);
lib/libc/locale/gb18030.c
174
static size_t
lib/libc/locale/gb18030.c
178
size_t len;
lib/libc/locale/gb18030.c
185
return ((size_t)-1);
lib/libc/locale/gb18030.c
234
return ((size_t)-1);
lib/libc/locale/gb18030.c
237
static size_t
lib/libc/locale/gb18030.c
239
const char ** __restrict src, size_t nms, size_t len,
lib/libc/locale/gb18030.c
245
static size_t
lib/libc/locale/gb18030.c
247
const wchar_t ** __restrict src, size_t nwc, size_t len,
lib/libc/locale/gb18030.c
49
static size_t _GB18030_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/gb18030.c
50
size_t, mbstate_t * __restrict);
lib/libc/locale/gb18030.c
52
static size_t _GB18030_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/gb18030.c
54
static size_t _GB18030_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/gb18030.c
55
const char ** __restrict, size_t, size_t,
lib/libc/locale/gb18030.c
57
static size_t _GB18030_wcsnrtombs(char * __restrict,
lib/libc/locale/gb18030.c
58
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/gb18030.c
90
static size_t
lib/libc/locale/gb18030.c
92
size_t n, mbstate_t * __restrict ps)
lib/libc/locale/gb18030.c
97
size_t ncopy;
lib/libc/locale/gb2312.c
107
static size_t
lib/libc/locale/gb2312.c
108
_GB2312_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/gb2312.c
114
size_t ncopy;
lib/libc/locale/gb2312.c
120
return ((size_t)-1);
lib/libc/locale/gb2312.c
137
return ((size_t)len);
lib/libc/locale/gb2312.c
148
static size_t
lib/libc/locale/gb2312.c
157
return ((size_t)-1);
lib/libc/locale/gb2312.c
172
static size_t
lib/libc/locale/gb2312.c
174
const char ** __restrict src, size_t nms, size_t len,
lib/libc/locale/gb2312.c
180
static size_t
lib/libc/locale/gb2312.c
182
const wchar_t ** __restrict src, size_t nwc, size_t len,
lib/libc/locale/gb2312.c
44
static size_t _GB2312_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/gb2312.c
45
size_t, mbstate_t * __restrict);
lib/libc/locale/gb2312.c
47
static size_t _GB2312_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/gb2312.c
49
static size_t _GB2312_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/gb2312.c
50
const char ** __restrict, size_t, size_t,
lib/libc/locale/gb2312.c
52
static size_t _GB2312_wcsnrtombs(char * __restrict,
lib/libc/locale/gb2312.c
53
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/gb2312.c
85
_GB2312_check(const char *str, size_t n)
lib/libc/locale/gbk.c
101
size_t len;
lib/libc/locale/gbk.c
108
return ((size_t)-1);
lib/libc/locale/gbk.c
119
return ((size_t)-2);
lib/libc/locale/gbk.c
124
return ((size_t)-1);
lib/libc/locale/gbk.c
133
len = (size_t)_gbk_check(*s);
lib/libc/locale/gbk.c
139
return ((size_t)-2);
lib/libc/locale/gbk.c
143
return ((size_t)-1);
lib/libc/locale/gbk.c
156
static size_t
lib/libc/locale/gbk.c
165
return ((size_t)-1);
lib/libc/locale/gbk.c
180
static size_t
lib/libc/locale/gbk.c
182
size_t nms, size_t len, mbstate_t * __restrict ps)
lib/libc/locale/gbk.c
187
static size_t
lib/libc/locale/gbk.c
189
size_t nwc, size_t len, mbstate_t * __restrict ps)
lib/libc/locale/gbk.c
49
static size_t _GBK_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/gbk.c
50
size_t, mbstate_t * __restrict);
lib/libc/locale/gbk.c
52
static size_t _GBK_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/gbk.c
54
static size_t _GBK_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/gbk.c
55
const char ** __restrict, size_t, size_t,
lib/libc/locale/gbk.c
57
static size_t _GBK_wcsnrtombs(char * __restrict,
lib/libc/locale/gbk.c
58
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/gbk.c
95
static size_t
lib/libc/locale/gbk.c
96
_GBK_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/ldpart.c
106
if (_read(fd, p, (size_t) st.st_size) != st.st_size)
lib/libc/locale/ldpart.c
61
size_t namesize, bufsize;
lib/libc/locale/mbintowcr.c
30
size_t
lib/libc/locale/mbintowcr.c
32
size_t dlen, size_t *slen, locale_t locale, int flags)
lib/libc/locale/mbintowcr.c
39
size_t
lib/libc/locale/mbintowcr.c
41
size_t dlen, size_t *slen, int flags)
lib/libc/locale/mblen.c
40
mblen_l(const char *s, size_t n, locale_t locale)
lib/libc/locale/mblen.c
43
size_t rval;
lib/libc/locale/mblen.c
52
if (rval == (size_t)-1 || rval == (size_t)-2)
lib/libc/locale/mblen.c
58
mblen(const char *s, size_t n)
lib/libc/locale/mblocal.h
49
size_t (*__mbrtowc)(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/mblocal.h
50
size_t, mbstate_t * __restrict);
lib/libc/locale/mblocal.h
52
size_t (*__mbsnrtowcs)(wchar_t * __restrict, const char ** __restrict,
lib/libc/locale/mblocal.h
53
size_t, size_t, mbstate_t * __restrict);
lib/libc/locale/mblocal.h
54
size_t (*__wcrtomb)(char * __restrict, wchar_t, mbstate_t * __restrict);
lib/libc/locale/mblocal.h
55
size_t (*__wcsnrtombs)(char * __restrict, const wchar_t ** __restrict,
lib/libc/locale/mblocal.h
56
size_t, size_t, mbstate_t * __restrict);
lib/libc/locale/mblocal.h
57
size_t (*__mbintowcr)(wchar_t * __restrict dst,
lib/libc/locale/mblocal.h
58
const char * __restrict src, size_t dlen, size_t *slen,
lib/libc/locale/mblocal.h
60
size_t (*__wcrtombin)(char * __restrict dst,
lib/libc/locale/mblocal.h
61
const wchar_t * __restrict src, size_t dlen, size_t *slen,
lib/libc/locale/mblocal.h
85
typedef size_t (*mbrtowc_pfn_t)(wchar_t * __restrict,
lib/libc/locale/mblocal.h
86
const char * __restrict, size_t, mbstate_t * __restrict);
lib/libc/locale/mblocal.h
87
typedef size_t (*wcrtomb_pfn_t)(char * __restrict, wchar_t,
lib/libc/locale/mblocal.h
89
size_t __mbsnrtowcs_std(wchar_t * __restrict, const char ** __restrict,
lib/libc/locale/mblocal.h
90
size_t, size_t, mbstate_t * __restrict, mbrtowc_pfn_t);
lib/libc/locale/mblocal.h
91
size_t __wcsnrtombs_std(char * __restrict, const wchar_t ** __restrict,
lib/libc/locale/mblocal.h
92
size_t, size_t, mbstate_t * __restrict, wcrtomb_pfn_t);
lib/libc/locale/mbrlen.c
38
size_t
lib/libc/locale/mbrlen.c
39
mbrlen_l(const char * __restrict s, size_t n, mbstate_t * __restrict ps, locale_t locale)
lib/libc/locale/mbrlen.c
47
size_t
lib/libc/locale/mbrlen.c
48
mbrlen(const char * __restrict s, size_t n, mbstate_t * __restrict ps)
lib/libc/locale/mbrtocXX_iconv.h
102
size_t srcleft, dstleft, invlen;
lib/libc/locale/mbrtocXX_iconv.h
131
return ((size_t)-1);
lib/libc/locale/mbrtocXX_iconv.h
137
return ((size_t)-2);
lib/libc/locale/mbrtocXX_iconv.h
151
size_t
lib/libc/locale/mbrtocXX_iconv.h
152
mbrtocXX(charXX_t * __restrict pc, const char * __restrict s, size_t n,
lib/libc/locale/mbrtocXX_iconv.h
47
size_t srcbuf_len;
lib/libc/locale/mbrtocXX_iconv.h
52
size_t dstbuf_len;
lib/libc/locale/mbrtocXX_iconv.h
57
size_t
lib/libc/locale/mbrtocXX_iconv.h
58
mbrtocXX_l(charXX_t * __restrict pc, const char * __restrict s, size_t n,
lib/libc/locale/mbrtocXX_iconv.h
63
size_t i, retval;
lib/libc/locale/mbrtocXX_iconv.h
90
retval = (size_t)-3;
lib/libc/locale/mbrtowc.c
38
size_t
lib/libc/locale/mbrtowc.c
40
size_t n, mbstate_t * __restrict ps, locale_t locale)
lib/libc/locale/mbrtowc.c
48
size_t
lib/libc/locale/mbrtowc.c
50
size_t n, mbstate_t * __restrict ps)
lib/libc/locale/mbsnrtowcs.c
40
size_t
lib/libc/locale/mbsnrtowcs.c
42
size_t nms, size_t len, mbstate_t * __restrict ps, locale_t locale)
lib/libc/locale/mbsnrtowcs.c
49
size_t
lib/libc/locale/mbsnrtowcs.c
51
size_t nms, size_t len, mbstate_t * __restrict ps)
lib/libc/locale/mbsnrtowcs.c
56
size_t
lib/libc/locale/mbsnrtowcs.c
58
size_t nms, size_t len, mbstate_t * __restrict ps,
lib/libc/locale/mbsnrtowcs.c
62
size_t nchr;
lib/libc/locale/mbsnrtowcs.c
64
size_t nb;
lib/libc/locale/mbsnrtowcs.c
71
if ((nb = pmbrtowc(&wc, s, nms, ps)) == (size_t)-1)
lib/libc/locale/mbsnrtowcs.c
73
return ((size_t)-1);
lib/libc/locale/mbsnrtowcs.c
74
else if (nb == 0 || nb == (size_t)-2)
lib/libc/locale/mbsnrtowcs.c
84
if ((nb = pmbrtowc(dst, s, nms, ps)) == (size_t)-1) {
lib/libc/locale/mbsnrtowcs.c
86
return ((size_t)-1);
lib/libc/locale/mbsnrtowcs.c
87
} else if (nb == (size_t)-2) {
lib/libc/locale/mbsrtowcs.c
41
size_t
lib/libc/locale/mbsrtowcs.c
42
mbsrtowcs_l(wchar_t * __restrict dst, const char ** __restrict src, size_t len,
lib/libc/locale/mbsrtowcs.c
50
size_t
lib/libc/locale/mbsrtowcs.c
51
mbsrtowcs(wchar_t * __restrict dst, const char ** __restrict src, size_t len,
lib/libc/locale/mbstowcs.c
40
size_t
lib/libc/locale/mbstowcs.c
41
mbstowcs_l(wchar_t * __restrict pwcs, const char * __restrict s, size_t n, locale_t locale)
lib/libc/locale/mbstowcs.c
52
size_t
lib/libc/locale/mbstowcs.c
53
mbstowcs(wchar_t * __restrict pwcs, const char * __restrict s, size_t n)
lib/libc/locale/mbtowc.c
41
mbtowc_l(wchar_t * __restrict pwc, const char * __restrict s, size_t n, locale_t locale)
lib/libc/locale/mbtowc.c
44
size_t rval;
lib/libc/locale/mbtowc.c
54
case (size_t)-2:
lib/libc/locale/mbtowc.c
57
case (size_t)-1:
lib/libc/locale/mbtowc.c
64
mbtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n)
lib/libc/locale/mskanji.c
104
return ((size_t)-1);
lib/libc/locale/mskanji.c
115
return ((size_t)-2);
lib/libc/locale/mskanji.c
120
return ((size_t)-1);
lib/libc/locale/mskanji.c
133
return ((size_t)-2);
lib/libc/locale/mskanji.c
137
return ((size_t)-1);
lib/libc/locale/mskanji.c
150
static size_t
lib/libc/locale/mskanji.c
160
return ((size_t)-1);
lib/libc/locale/mskanji.c
172
static size_t
lib/libc/locale/mskanji.c
174
const char ** __restrict src, size_t nms,
lib/libc/locale/mskanji.c
175
size_t len, mbstate_t * __restrict ps)
lib/libc/locale/mskanji.c
180
static size_t
lib/libc/locale/mskanji.c
182
const wchar_t ** __restrict src, size_t nwc,
lib/libc/locale/mskanji.c
183
size_t len, mbstate_t * __restrict ps)
lib/libc/locale/mskanji.c
54
static size_t _MSKanji_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/mskanji.c
55
size_t, mbstate_t * __restrict);
lib/libc/locale/mskanji.c
57
static size_t _MSKanji_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/mskanji.c
59
static size_t _MSKanji_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/mskanji.c
60
const char ** __restrict, size_t, size_t,
lib/libc/locale/mskanji.c
62
static size_t _MSKanji_wcsnrtombs(char * __restrict,
lib/libc/locale/mskanji.c
63
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/mskanji.c
92
static size_t
lib/libc/locale/mskanji.c
93
_MSKanji_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/nextwctype.c
43
size_t lim;
lib/libc/locale/none.c
105
return ((size_t)-2);
lib/libc/locale/none.c
111
static size_t
lib/libc/locale/none.c
121
return ((size_t)-1);
lib/libc/locale/none.c
127
static size_t
lib/libc/locale/none.c
129
size_t nms, size_t len, mbstate_t * __restrict ps __unused)
lib/libc/locale/none.c
132
size_t nchr;
lib/libc/locale/none.c
152
static size_t
lib/libc/locale/none.c
154
size_t nwc, size_t len, mbstate_t * __restrict ps __unused)
lib/libc/locale/none.c
157
size_t nchr;
lib/libc/locale/none.c
163
return ((size_t)-1);
lib/libc/locale/none.c
175
return ((size_t)-1);
lib/libc/locale/none.c
211
static size_t
lib/libc/locale/none.c
213
size_t dlen, size_t *slen, int flags __unused)
lib/libc/locale/none.c
215
size_t i;
lib/libc/locale/none.c
216
size_t j;
lib/libc/locale/none.c
217
size_t n = *slen;
lib/libc/locale/none.c
252
static size_t
lib/libc/locale/none.c
254
size_t dlen, size_t *slen, int flags __unused)
lib/libc/locale/none.c
256
size_t i;
lib/libc/locale/none.c
257
size_t j;
lib/libc/locale/none.c
258
size_t n = *slen;
lib/libc/locale/none.c
53
static size_t _none_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/none.c
54
size_t, mbstate_t * __restrict);
lib/libc/locale/none.c
56
static size_t _none_mbsnrtowcs(wchar_t * __restrict dst,
lib/libc/locale/none.c
57
const char ** __restrict src, size_t nms, size_t len,
lib/libc/locale/none.c
59
static size_t _none_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/none.c
61
static size_t _none_wcsnrtombs(char * __restrict, const wchar_t ** __restrict,
lib/libc/locale/none.c
62
size_t, size_t, mbstate_t * __restrict);
lib/libc/locale/none.c
95
static size_t
lib/libc/locale/none.c
96
_none_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/rune.c
84
if ((size_t)sb.st_size < sizeof (_FileRuneLocale)) {
lib/libc/locale/runetype.c
50
size_t lim;
lib/libc/locale/tolower.c
50
size_t lim;
lib/libc/locale/toupper.c
50
size_t lim;
lib/libc/locale/utf8.c
114
static size_t
lib/libc/locale/utf8.c
115
_UTF8_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/utf8.c
126
return ((size_t)-1);
lib/libc/locale/utf8.c
137
return ((size_t)-2);
lib/libc/locale/utf8.c
176
return ((size_t)-1);
lib/libc/locale/utf8.c
199
return ((size_t)-1);
lib/libc/locale/utf8.c
209
return ((size_t)-2);
lib/libc/locale/utf8.c
217
return ((size_t)-1);
lib/libc/locale/utf8.c
225
static size_t
lib/libc/locale/utf8.c
227
size_t nms, size_t len, mbstate_t * __restrict ps)
lib/libc/locale/utf8.c
231
size_t nchr;
lib/libc/locale/utf8.c
233
size_t nb;
lib/libc/locale/utf8.c
248
return ((size_t)-1);
lib/libc/locale/utf8.c
258
(size_t)-1)
lib/libc/locale/utf8.c
260
return ((size_t)-1);
lib/libc/locale/utf8.c
261
else if (nb == 0 || nb == (size_t)-2)
lib/libc/locale/utf8.c
277
return ((size_t)-1);
lib/libc/locale/utf8.c
288
(size_t)-1) {
lib/libc/locale/utf8.c
290
return ((size_t)-1);
lib/libc/locale/utf8.c
291
} else if (nb == (size_t)-2) {
lib/libc/locale/utf8.c
307
static size_t
lib/libc/locale/utf8.c
318
return ((size_t)-1);
lib/libc/locale/utf8.c
346
return ((size_t)-1);
lib/libc/locale/utf8.c
364
static size_t
lib/libc/locale/utf8.c
366
size_t nwc, size_t len, mbstate_t * __restrict ps)
lib/libc/locale/utf8.c
371
size_t nbytes;
lib/libc/locale/utf8.c
372
size_t nb;
lib/libc/locale/utf8.c
378
return ((size_t)-1);
lib/libc/locale/utf8.c
390
(size_t)-1)
lib/libc/locale/utf8.c
392
return ((size_t)-1);
lib/libc/locale/utf8.c
406
} else if (len > (size_t)MB_CUR_MAX) {
lib/libc/locale/utf8.c
408
if ((nb = _UTF8_wcrtomb(dst, *s, ps)) == (size_t)-1) {
lib/libc/locale/utf8.c
410
return ((size_t)-1);
lib/libc/locale/utf8.c
416
if ((nb = _UTF8_wcrtomb(buf, *s, ps)) == (size_t)-1) {
lib/libc/locale/utf8.c
418
return ((size_t)-1);
lib/libc/locale/utf8.c
443
static size_t
lib/libc/locale/utf8.c
445
size_t dlen, size_t *slen, int flags)
lib/libc/locale/utf8.c
447
size_t i;
lib/libc/locale/utf8.c
448
size_t j;
lib/libc/locale/utf8.c
449
size_t k;
lib/libc/locale/utf8.c
450
size_t n = *slen;
lib/libc/locale/utf8.c
496
return ((size_t)-1);
lib/libc/locale/utf8.c
536
return ((size_t)-1);
lib/libc/locale/utf8.c
580
return ((size_t)-1);
lib/libc/locale/utf8.c
607
static size_t
lib/libc/locale/utf8.c
609
size_t dlen, size_t *slen, int flags)
lib/libc/locale/utf8.c
61
static size_t _UTF8_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/utf8.c
611
size_t i;
lib/libc/locale/utf8.c
612
size_t j;
lib/libc/locale/utf8.c
613
size_t k;
lib/libc/locale/utf8.c
614
size_t n = *slen;
lib/libc/locale/utf8.c
615
size_t len;
lib/libc/locale/utf8.c
62
size_t, mbstate_t * __restrict);
lib/libc/locale/utf8.c
64
static size_t _UTF8_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/utf8.c
643
return ((size_t)-1);
lib/libc/locale/utf8.c
65
const char ** __restrict, size_t, size_t,
lib/libc/locale/utf8.c
662
return ((size_t)-1);
lib/libc/locale/utf8.c
67
static size_t _UTF8_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/utf8.c
687
return ((size_t)-1);
lib/libc/locale/utf8.c
69
static size_t _UTF8_wcsnrtombs(char * __restrict, const wchar_t ** __restrict,
lib/libc/locale/utf8.c
70
size_t, size_t, mbstate_t * __restrict);
lib/libc/locale/utf8.c
71
static size_t _UTF8_mbintowcr(wchar_t * __restrict dst,
lib/libc/locale/utf8.c
716
size_t
lib/libc/locale/utf8.c
718
size_t dlen, size_t *slen, int flags)
lib/libc/locale/utf8.c
723
size_t
lib/libc/locale/utf8.c
725
size_t dlen, size_t *slen, int flags)
lib/libc/locale/utf8.c
73
size_t dlen, size_t *slen, int flags);
lib/libc/locale/utf8.c
74
static size_t _UTF8_wcrtombin(char * __restrict dst,
lib/libc/locale/utf8.c
76
size_t dlen, size_t *slen, int flags);
lib/libc/locale/wcrtomb.c
38
size_t
lib/libc/locale/wcrtomb.c
48
size_t
lib/libc/locale/wcrtombin.c
30
size_t
lib/libc/locale/wcrtombin.c
32
size_t dlen, size_t *slen, locale_t locale, int flags)
lib/libc/locale/wcrtombin.c
39
size_t
lib/libc/locale/wcrtombin.c
41
size_t dlen, size_t *slen, int flags)
lib/libc/locale/wcsftime.c
103
if (n == (size_t)-2 || n == (size_t)-1 || dstp != NULL)
lib/libc/locale/wcsftime.c
117
size_t
lib/libc/locale/wcsftime.c
118
wcsftime(wchar_t * __restrict wcs, size_t maxsize,
lib/libc/locale/wcsftime.c
55
size_t
lib/libc/locale/wcsftime.c
56
wcsftime_l(wchar_t * __restrict wcs, size_t maxsize,
lib/libc/locale/wcsftime.c
65
size_t n, sflen;
lib/libc/locale/wcsftime.c
78
if (sflen == (size_t)-1)
lib/libc/locale/wcsnrtombs.c
100
if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1) {
lib/libc/locale/wcsnrtombs.c
102
return ((size_t)-1);
lib/libc/locale/wcsnrtombs.c
40
size_t
lib/libc/locale/wcsnrtombs.c
41
wcsnrtombs_l(char * __restrict dst, const wchar_t ** __restrict src, size_t nwc,
lib/libc/locale/wcsnrtombs.c
42
size_t len, mbstate_t * __restrict ps, locale_t locale)
lib/libc/locale/wcsnrtombs.c
49
size_t
lib/libc/locale/wcsnrtombs.c
50
wcsnrtombs(char * __restrict dst, const wchar_t ** __restrict src, size_t nwc,
lib/libc/locale/wcsnrtombs.c
51
size_t len, mbstate_t * __restrict ps)
lib/libc/locale/wcsnrtombs.c
57
size_t
lib/libc/locale/wcsnrtombs.c
59
size_t nwc, size_t len, mbstate_t * __restrict ps,
lib/libc/locale/wcsnrtombs.c
65
size_t nbytes;
lib/libc/locale/wcsnrtombs.c
66
size_t nb;
lib/libc/locale/wcsnrtombs.c
73
if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1)
lib/libc/locale/wcsnrtombs.c
75
return ((size_t)-1);
lib/libc/locale/wcsnrtombs.c
85
if (len > (size_t)MB_CUR_MAX) {
lib/libc/locale/wcsnrtombs.c
87
if ((nb = pwcrtomb(dst, *s, ps)) == (size_t)-1) {
lib/libc/locale/wcsnrtombs.c
89
return ((size_t)-1);
lib/libc/locale/wcsrtombs.c
41
size_t
lib/libc/locale/wcsrtombs.c
42
wcsrtombs_l(char * __restrict dst, const wchar_t ** __restrict src, size_t len,
lib/libc/locale/wcsrtombs.c
51
size_t
lib/libc/locale/wcsrtombs.c
52
wcsrtombs(char * __restrict dst, const wchar_t ** __restrict src, size_t len,
lib/libc/locale/wcstod.c
58
size_t len;
lib/libc/locale/wcstod.c
59
size_t spaces;
lib/libc/locale/wcstod.c
80
if ((len = wcsrtombs_l(NULL, &wcp, 0, &mbs, locale)) == (size_t)-1) {
lib/libc/locale/wcstof.c
52
size_t len;
lib/libc/locale/wcstof.c
53
size_t spaces;
lib/libc/locale/wcstof.c
64
if ((len = wcsrtombs_l(NULL, &wcp, 0, &mbs, locale)) == (size_t)-1) {
lib/libc/locale/wcstold.c
52
size_t len;
lib/libc/locale/wcstold.c
53
size_t spaces;
lib/libc/locale/wcstold.c
64
if ((len = wcsrtombs_l(NULL, &wcp, 0, &mbs, locale)) == (size_t)-1) {
lib/libc/locale/wcstombs.c
40
size_t
lib/libc/locale/wcstombs.c
41
wcstombs_l(char * __restrict s, const wchar_t * __restrict pwcs, size_t n,
lib/libc/locale/wcstombs.c
53
size_t
lib/libc/locale/wcstombs.c
54
wcstombs(char * __restrict s, const wchar_t * __restrict pwcs, size_t n)
lib/libc/locale/wctomb.c
43
size_t rval;
lib/libc/locale/wctomb.c
51
if ((rval = XLOCALE_CTYPE(locale)->__wcrtomb(s, wchar, &locale->wctomb)) == (size_t)-1)
lib/libc/locale/wctype.c
97
size_t len1, len2;
lib/libc/nameser/ns_name.c
200
ns_name_pton(const char *src, u_char *dst, size_t dstsiz)
lib/libc/nameser/ns_name.c
333
ns_name_ntol(const u_char *src, u_char *dst, size_t dstsiz)
lib/libc/nameser/ns_name.c
384
u_char *dst, size_t dstsiz)
lib/libc/nameser/ns_name.c
39
# define SPRINTF(x) ((size_t)sprintf x)
lib/libc/nameser/ns_name.c
578
char *dst, size_t dstsiz)
lib/libc/nameser/ns_name.c
606
ns_name_compress(const char *src, u_char *dst, size_t dstsiz,
lib/libc/nameser/ns_name.c
95
ns_name_ntop(const u_char *src, char *dst, size_t dstsiz)
lib/libc/nameser/ns_print.c
102
ns_sprintrrf(const u_char *msg, size_t msglen,
lib/libc/nameser/ns_print.c
104
u_long ttl, const u_char *rdata, size_t rdlen,
lib/libc/nameser/ns_print.c
106
char *buf, size_t buflen)
lib/libc/nameser/ns_print.c
155
if (rdlen != (size_t)NS_INADDRSZ)
lib/libc/nameser/ns_print.c
259
if (rdlen < (size_t)NS_INT16SZ)
lib/libc/nameser/ns_print.c
277
if (rdlen < (size_t)NS_INT16SZ)
lib/libc/nameser/ns_print.c
323
if (rdlen != (size_t)NS_IN6ADDRSZ)
lib/libc/nameser/ns_print.c
48
# define SPRINTF(x) ((size_t)sprintf x)
lib/libc/nameser/ns_print.c
53
static size_t prune_origin(const char *name, const char *origin);
lib/libc/nameser/ns_print.c
55
char **buf, size_t *buflen);
lib/libc/nameser/ns_print.c
56
static int addname(const u_char *msg, size_t msglen,
lib/libc/nameser/ns_print.c
58
char **buf, size_t *buflen);
lib/libc/nameser/ns_print.c
59
static void addlen(size_t len, char **buf, size_t *buflen);
lib/libc/nameser/ns_print.c
60
static int addstr(const char *src, size_t len,
lib/libc/nameser/ns_print.c
61
char **buf, size_t *buflen);
lib/libc/nameser/ns_print.c
62
static int addtab(size_t len, size_t target, int spaced,
lib/libc/nameser/ns_print.c
63
char **buf, size_t *buflen);
lib/libc/nameser/ns_print.c
752
static size_t
lib/libc/nameser/ns_print.c
787
charstr(const u_char *rdata, const u_char *edata, char **buf, size_t *buflen) {
lib/libc/nameser/ns_print.c
789
size_t save_buflen = *buflen;
lib/libc/nameser/ns_print.c
821
addname(const u_char *msg, size_t msglen,
lib/libc/nameser/ns_print.c
823
char **buf, size_t *buflen)
lib/libc/nameser/ns_print.c
825
size_t newlen, save_buflen = *buflen;
lib/libc/nameser/ns_print.c
84
char *buf, size_t buflen)
lib/libc/nameser/ns_print.c
865
addlen(size_t len, char **buf, size_t *buflen) {
lib/libc/nameser/ns_print.c
872
addstr(const char *src, size_t len, char **buf, size_t *buflen) {
lib/libc/nameser/ns_print.c
884
addtab(size_t len, size_t target, int spaced, char **buf, size_t *buflen) {
lib/libc/nameser/ns_print.c
885
size_t save_buflen = *buflen;
lib/libc/nameser/ns_samedomain.c
168
ns_makecanon(const char *src, char *dst, size_t dstsize) {
lib/libc/nameser/ns_samedomain.c
169
size_t n = strlen(src);
lib/libc/nameser/ns_samedomain.c
50
size_t la, lb;
lib/libc/nameser/ns_ttl.c
147
fmt1(int t, char s, char **buf, size_t *buflen) {
lib/libc/nameser/ns_ttl.c
149
size_t len;
lib/libc/nameser/ns_ttl.c
36
# define SPRINTF(x) ((size_t)sprintf x)
lib/libc/nameser/ns_ttl.c
41
static int fmt1(int t, char s, char **buf, size_t *buflen);
lib/libc/nameser/ns_ttl.c
50
ns_format_ttl(u_long src, char *dst, size_t dstlen) {
lib/libc/net/base64.c
126
b64_ntop(const unsigned char *src, size_t srclength, char *target,
lib/libc/net/base64.c
127
size_t targsize)
lib/libc/net/base64.c
129
size_t datalength = 0;
lib/libc/net/base64.c
132
size_t i;
lib/libc/net/base64.c
188
b64_pton(const char *src, unsigned char *target, size_t targsize)
lib/libc/net/base64.c
191
size_t tarindex;
lib/libc/net/eui64.c
201
eui64_ntoa(const struct eui64 *id, char *a, size_t len)
lib/libc/net/eui64.c
217
eui64_ntohost(char *hostname, size_t len __unused, const struct eui64 *id)
lib/libc/net/eui64.c
90
size_t len);
lib/libc/net/eui64.c
97
eui64_line(const char *l, struct eui64 *e, char *hostname, size_t len)
lib/libc/net/getaddrinfo.c
1249
memset(ai->ai_addr, 0, (size_t)afd->a_socklen);
lib/libc/net/getaddrinfo.c
1254
memcpy(p + afd->a_off, addr, (size_t)afd->a_addrlen);
lib/libc/net/getaddrinfo.c
1462
addrinfo_id_func(char *buffer, size_t *buffer_size, va_list ap,
lib/libc/net/getaddrinfo.c
1474
size_t desired_size, size;
lib/libc/net/getaddrinfo.c
1531
addrinfo_marshal_func(char *buffer, size_t *buffer_size, void *retval,
lib/libc/net/getaddrinfo.c
1536
size_t desired_size, size, ai_size;
lib/libc/net/getaddrinfo.c
1540
desired_size = sizeof(size_t);
lib/libc/net/getaddrinfo.c
1545
desired_size += sizeof(size_t) +
lib/libc/net/getaddrinfo.c
1560
memcpy(p, &ai_size, sizeof(size_t));
lib/libc/net/getaddrinfo.c
1561
p += sizeof(size_t);
lib/libc/net/getaddrinfo.c
1571
memcpy(p, &size, sizeof(size_t));
lib/libc/net/getaddrinfo.c
1572
p += sizeof(size_t);
lib/libc/net/getaddrinfo.c
1583
addrinfo_unmarshal_func(char *buffer, size_t buffer_size __unused, void *retval,
lib/libc/net/getaddrinfo.c
1589
size_t ai_size, ai_i, size;
lib/libc/net/getaddrinfo.c
1592
memcpy(&ai_size, p, sizeof(size_t));
lib/libc/net/getaddrinfo.c
1593
p += sizeof(size_t);
lib/libc/net/getaddrinfo.c
1614
memcpy(&size, p, sizeof(size_t));
lib/libc/net/getaddrinfo.c
1615
p += sizeof(size_t);
lib/libc/net/getaddrinfo.c
266
static int addrinfo_id_func(char *, size_t *, va_list, void *);
lib/libc/net/getaddrinfo.c
2663
size_t n, d;
lib/libc/net/getaddrinfo.c
267
static int addrinfo_marshal_func(char *, size_t *, void *, va_list,
lib/libc/net/getaddrinfo.c
269
static int addrinfo_unmarshal_func(char *, size_t, void *, va_list,
lib/libc/net/getaddrinfo.c
643
size_t l;
lib/libc/net/gethostbydns.c
467
size_t buflen;
lib/libc/net/gethostbydns.c
480
buflen = va_arg(ap, size_t);
lib/libc/net/gethostbydns.c
548
size_t buflen;
lib/libc/net/gethostbydns.c
572
buflen = va_arg(ap, size_t);
lib/libc/net/gethostbydns.c
78
#define SPRINTF(x) ((size_t)sprintf x)
lib/libc/net/gethostbyht.c
172
gethostent_r(struct hostent *hptr, char *buffer, size_t buflen,
lib/libc/net/gethostbyht.c
219
size_t buflen;
lib/libc/net/gethostbyht.c
232
buflen = va_arg(ap, size_t);
lib/libc/net/gethostbyht.c
283
size_t buflen;
lib/libc/net/gethostbyht.c
296
buflen = va_arg(ap, size_t);
lib/libc/net/gethostbynis.c
262
size_t buflen;
lib/libc/net/gethostbynis.c
273
buflen = va_arg(ap, size_t);
lib/libc/net/gethostbynis.c
310
size_t buflen;
lib/libc/net/gethostbynis.c
322
buflen = va_arg(ap, size_t);
lib/libc/net/gethostnamadr.c
157
host_id_func(char *buffer, size_t *buffer_size, va_list ap, void *cache_mdata)
lib/libc/net/gethostnamadr.c
168
size_t desired_size, size;
lib/libc/net/gethostnamadr.c
255
host_marshal_func(char *buffer, size_t *buffer_size, void *retval __unused,
lib/libc/net/gethostnamadr.c
265
size_t desired_size, aliases_size, addr_size, size;
lib/libc/net/gethostnamadr.c
361
host_unmarshal_func(char *buffer, size_t buffer_size, void *retval, va_list ap,
lib/libc/net/gethostnamadr.c
373
size_t orig_buf_size;
lib/libc/net/gethostnamadr.c
392
orig_buf_size = va_arg(ap, size_t);
lib/libc/net/gethostnamadr.c
405
_ALIGN(p) - (size_t)p,
lib/libc/net/gethostnamadr.c
407
_ALIGN(p) + (size_t)p);
lib/libc/net/gethostnamadr.c
432
size_t buflen, res_state statp)
lib/libc/net/gethostnamadr.c
481
size_t buflen, struct hostent **result, int *h_errnop)
lib/libc/net/gethostnamadr.c
505
size_t buflen, struct hostent **result, int *h_errnop)
lib/libc/net/gethostnamadr.c
51
size_t, struct hostent **, int *, res_state);
lib/libc/net/gethostnamadr.c
520
size_t buflen, struct hostent **result, int *h_errnop,
lib/libc/net/gethostnamadr.c
577
char *buf, size_t buflen, struct hostent **result,
lib/libc/net/gethostnamadr.c
60
static int host_id_func(char *, size_t *, va_list, void *);
lib/libc/net/gethostnamadr.c
61
static int host_marshal_func(char *, size_t *, void *, va_list, void *);
lib/libc/net/gethostnamadr.c
62
static int host_unmarshal_func(char *, size_t, void *, va_list, void *);
lib/libc/net/gethostnamadr.c
95
size_t buflen)
lib/libc/net/getifaddrs.c
221
(size_t)dl->sdl_nlen);
lib/libc/net/getifaddrs.c
227
(size_t)SA_LEN((struct sockaddr *)
lib/libc/net/getifaddrs.c
79
size_t needed;
lib/libc/net/getifaddrs.c
92
size_t len, alen;
lib/libc/net/getnameinfo.c
117
size_t hostlen, char *serv, size_t servlen, int flags)
lib/libc/net/getnameinfo.c
219
size_t numaddrlen;
lib/libc/net/getnameinfo.c
299
size_t hostlen, int flags)
lib/libc/net/getnameinfo.c
301
size_t numaddrlen;
lib/libc/net/getnameinfo.c
326
(size_t)zonelen);
lib/libc/net/getnameinfo.c
336
ip6_sa2str(const struct sockaddr_in6 *sa6, char *buf, size_t bufsiz,
lib/libc/net/getnameinfo.c
365
if (n < 0 || (size_t)n >= bufsiz)
lib/libc/net/getnameinfo.c
380
char *host, size_t hostlen, char *serv, size_t servlen,
lib/libc/net/getnameinfo.c
421
return hexname((u_int8_t *)LLADDR(sdl), (size_t)sdl->sdl_alen,
lib/libc/net/getnameinfo.c
427
hexname(const u_int8_t *cp, size_t len, char *host, size_t hostlen)
lib/libc/net/getnameinfo.c
63
size_t, char *, size_t, int);
lib/libc/net/getnameinfo.c
66
size_t, int);
lib/libc/net/getnameinfo.c
67
static int ip6_sa2str(const struct sockaddr_in6 *, char *, size_t, int);
lib/libc/net/getnameinfo.c
70
size_t, char *, size_t, int);
lib/libc/net/getnameinfo.c
71
static int hexname(const u_int8_t *, size_t, char *, size_t);
lib/libc/net/getnameinfo.c
75
char * __restrict host, size_t hostlen, char * __restrict serv,
lib/libc/net/getnameinfo.c
76
size_t servlen, int flags)
lib/libc/net/getnameinfo.c
96
size_t a_addrlen;
lib/libc/net/getnetbydns.c
265
size_t buflen;
lib/libc/net/getnetbydns.c
281
buflen = va_arg(ap, size_t);
lib/libc/net/getnetbydns.c
371
size_t buflen;
lib/libc/net/getnetbydns.c
384
buflen = va_arg(ap, size_t);
lib/libc/net/getnetbyht.c
147
getnetent_r(struct netent *nptr, char *buffer, size_t buflen,
lib/libc/net/getnetbyht.c
188
size_t buflen;
lib/libc/net/getnetbyht.c
200
buflen = va_arg(ap, size_t);
lib/libc/net/getnetbyht.c
240
size_t buflen;
lib/libc/net/getnetbyht.c
252
buflen = va_arg(ap, size_t);
lib/libc/net/getnetbynis.c
137
size_t buflen;
lib/libc/net/getnetbynis.c
147
buflen = va_arg(ap, size_t);
lib/libc/net/getnetbynis.c
181
size_t buflen;
lib/libc/net/getnetbynis.c
197
buflen = va_arg(ap, size_t);
lib/libc/net/getnetnamadr.c
118
net_marshal_func(char *buffer, size_t *buffer_size, void *retval __unused,
lib/libc/net/getnetnamadr.c
126
size_t orig_buf_size __unused;
lib/libc/net/getnetnamadr.c
129
size_t desired_size, size, aliases_size;
lib/libc/net/getnetnamadr.c
150
orig_buf_size = va_arg(ap, size_t);
lib/libc/net/getnetnamadr.c
207
net_unmarshal_func(char *buffer, size_t buffer_size, void *retval, va_list ap,
lib/libc/net/getnetnamadr.c
215
size_t orig_buf_size;
lib/libc/net/getnetnamadr.c
238
orig_buf_size = va_arg(ap, size_t);
lib/libc/net/getnetnamadr.c
252
_ALIGN(p) - (size_t)p,
lib/libc/net/getnetnamadr.c
254
_ALIGN(p) + (size_t)p);
lib/libc/net/getnetnamadr.c
291
__copy_netent(struct netent *ne, struct netent *nptr, char *buf, size_t buflen)
lib/libc/net/getnetnamadr.c
338
size_t buflen, struct netent **result, int *h_errnop)
lib/libc/net/getnetnamadr.c
366
size_t buflen, struct netent **result, int *h_errnop)
lib/libc/net/getnetnamadr.c
60
net_id_func(char *buffer, size_t *buffer_size, va_list ap, void *cache_mdata)
lib/libc/net/getnetnamadr.c
66
size_t desired_size, size;
lib/libc/net/getproto.c
56
size_t buflen;
lib/libc/net/getproto.c
62
buflen = va_arg(ap, size_t);
lib/libc/net/getproto.c
91
size_t buflen, struct protoent **result)
lib/libc/net/getprotoent.c
140
__proto_marshal_func(char *buffer, size_t *buffer_size, void *retval __unused,
lib/libc/net/getprotoent.c
147
size_t orig_buf_size __unused;
lib/libc/net/getprotoent.c
150
size_t desired_size, size, aliases_size;
lib/libc/net/getprotoent.c
170
orig_buf_size = va_arg(ap, size_t);
lib/libc/net/getprotoent.c
227
__proto_unmarshal_func(char *buffer, size_t buffer_size, void *retval,
lib/libc/net/getprotoent.c
234
size_t orig_buf_size;
lib/libc/net/getprotoent.c
256
orig_buf_size = va_arg(ap, size_t);
lib/libc/net/getprotoent.c
270
_ALIGN(p) - (size_t)p,
lib/libc/net/getprotoent.c
272
_ALIGN(p) + (size_t)p);
lib/libc/net/getprotoent.c
294
size_t buflen)
lib/libc/net/getprotoent.c
416
size_t buflen;
lib/libc/net/getprotoent.c
421
buflen = va_arg(ap, size_t);
lib/libc/net/getprotoent.c
469
getprotoent_r(struct protoent *pptr, char *buffer, size_t buflen,
lib/libc/net/getprotoent.c
86
__proto_id_func(char *buffer, size_t *buffer_size, va_list ap,
lib/libc/net/getprotoent.c
92
size_t desired_size, size;
lib/libc/net/getprotoname.c
100
size_t buflen, struct protoent **result)
lib/libc/net/getprotoname.c
58
size_t buflen;
lib/libc/net/getprotoname.c
64
buflen = va_arg(ap, size_t);
lib/libc/net/getservent.c
1019
getservent_r(struct servent *serv, char *buffer, size_t bufsize,
lib/libc/net/getservent.c
1113
size_t bufsize, struct servent **res)
lib/libc/net/getservent.c
1121
size_t bufsize, struct servent **res)
lib/libc/net/getservent.c
1129
size_t bufsize, struct servent **res)
lib/libc/net/getservent.c
1135
getserv(int (*fn)(struct key, struct servent *, char *, size_t,
lib/libc/net/getservent.c
120
size_t bufsize;
lib/libc/net/getservent.c
133
static int wrap_getservbyname_r(struct key, struct servent *, char *, size_t,
lib/libc/net/getservent.c
135
static int wrap_getservbyport_r(struct key, struct servent *, char *, size_t,
lib/libc/net/getservent.c
137
static int wrap_getservent_r(struct key, struct servent *, char *, size_t,
lib/libc/net/getservent.c
140
size_t, struct servent **), struct key);
lib/libc/net/getservent.c
143
static int serv_id_func(char *, size_t *, va_list, void *);
lib/libc/net/getservent.c
144
static int serv_marshal_func(char *, size_t *, void *, va_list, void *);
lib/libc/net/getservent.c
145
static int serv_unmarshal_func(char *, size_t, void *, va_list, void *);
lib/libc/net/getservent.c
150
size_t aliases_size, int *errnop)
lib/libc/net/getservent.c
255
size_t bufsize;
lib/libc/net/getservent.c
260
size_t linesize;
lib/libc/net/getservent.c
284
bufsize = va_arg(ap, size_t);
lib/libc/net/getservent.c
483
size_t bufsize;
lib/libc/net/getservent.c
509
bufsize = va_arg(ap, size_t);
lib/libc/net/getservent.c
702
serv_id_func(char *buffer, size_t *buffer_size, va_list ap, void *cache_mdata)
lib/libc/net/getservent.c
708
size_t desired_size, size, size2;
lib/libc/net/getservent.c
777
serv_marshal_func(char *buffer, size_t *buffer_size, void *retval __unused,
lib/libc/net/getservent.c
78
static int servent_unpack(char *, struct servent *, char **, size_t, int *);
lib/libc/net/getservent.c
785
size_t orig_buf_size __unused;
lib/libc/net/getservent.c
788
size_t desired_size;
lib/libc/net/getservent.c
791
size_t size;
lib/libc/net/getservent.c
792
size_t aliases_size;
lib/libc/net/getservent.c
812
orig_buf_size = va_arg(ap, size_t);
lib/libc/net/getservent.c
878
serv_unmarshal_func(char *buffer, size_t buffer_size, void *retval, va_list ap,
lib/libc/net/getservent.c
888
size_t orig_buf_size;
lib/libc/net/getservent.c
909
orig_buf_size = va_arg(ap, size_t);
lib/libc/net/getservent.c
923
(_ALIGN(p) - (size_t)p),
lib/libc/net/getservent.c
925
(_ALIGN(p) - (size_t)p));
lib/libc/net/getservent.c
948
char *buffer, size_t bufsize, struct servent **result)
lib/libc/net/getservent.c
984
char *buffer, size_t bufsize, struct servent **result)
lib/libc/net/hesiod.c
422
list[j] = malloc((size_t)len);
lib/libc/net/hesiod.c
437
memcpy(dst, p, (size_t)n);
lib/libc/net/name6.c
311
getipnodebyaddr(const void *src, size_t len, int af, int *errp)
lib/libc/net/name6.c
729
size_t l;
lib/libc/net/netdb_private.h
125
int __copy_hostent(struct hostent *, struct hostent *, char *, size_t);
lib/libc/net/netdb_private.h
126
int __copy_netent(struct netent *, struct netent *, char *, size_t);
lib/libc/net/netdb_private.h
127
int __copy_protoent(struct protoent *, struct protoent *, char *, size_t);
lib/libc/net/netdb_private.h
159
int __proto_id_func(char *, size_t *, va_list, void *);
lib/libc/net/netdb_private.h
160
int __proto_marshal_func(char *, size_t *, void *, va_list, void *);
lib/libc/net/netdb_private.h
161
int __proto_unmarshal_func(char *, size_t, void *, va_list, void *);
lib/libc/net/nscache.c
164
size_t buffer_size;
lib/libc/net/nscache.c
191
size_t size;
lib/libc/net/nscache.c
266
size_t buffer_size;
lib/libc/net/nscache.c
334
size_t buffer_size;
lib/libc/net/nscache.c
362
size_t size;
lib/libc/net/nscache.c
60
size_t buffer_size, size;
lib/libc/net/nscachedcli.c
102
safe_read(struct cached_connection_ *connection, void *data, size_t data_size)
lib/libc/net/nscachedcli.c
105
size_t result;
lib/libc/net/nscachedcli.c
257
const char *key, size_t key_size, const char *data, size_t data_size)
lib/libc/net/nscachedcli.c
259
size_t name_size;
lib/libc/net/nscachedcli.c
269
result = safe_write(connection, &name_size, sizeof(size_t));
lib/libc/net/nscachedcli.c
273
result = safe_write(connection, &key_size, sizeof(size_t));
lib/libc/net/nscachedcli.c
277
result = safe_write(connection, &data_size, sizeof(size_t));
lib/libc/net/nscachedcli.c
308
const char *key, size_t key_size, char *data, size_t *data_size)
lib/libc/net/nscachedcli.c
310
size_t name_size, result_size;
lib/libc/net/nscachedcli.c
323
result = safe_write(connection, &name_size, sizeof(size_t));
lib/libc/net/nscachedcli.c
327
result = safe_write(connection, &key_size, sizeof(size_t));
lib/libc/net/nscachedcli.c
348
result = safe_read(connection, &result_size, sizeof(size_t));
lib/libc/net/nscachedcli.c
381
size_t name_size;
lib/libc/net/nscachedcli.c
396
result = safe_write(connection, &name_size, sizeof(size_t));
lib/libc/net/nscachedcli.c
424
size_t data_size)
lib/libc/net/nscachedcli.c
436
result = safe_write(ws, &data_size, sizeof(size_t));
lib/libc/net/nscachedcli.c
47
static int safe_write(struct cached_connection_ *, const void *, size_t);
lib/libc/net/nscachedcli.c
48
static int safe_read(struct cached_connection_ *, void *, size_t);
lib/libc/net/nscachedcli.c
489
size_t name_size;
lib/libc/net/nscachedcli.c
504
result = safe_write(connection, &name_size, sizeof(size_t));
lib/libc/net/nscachedcli.c
528
__cached_mp_read(struct cached_connection_ *rs, char *data, size_t *data_size)
lib/libc/net/nscachedcli.c
530
size_t result_size;
lib/libc/net/nscachedcli.c
549
result = safe_read(rs, &result_size, sizeof(size_t));
lib/libc/net/nscachedcli.c
59
size_t data_size)
lib/libc/net/nscachedcli.c
63
size_t result;
lib/libc/net/nsdispatch.c
162
static void vector_sort(void *, unsigned int, size_t,
lib/libc/net/nsdispatch.c
164
static void vector_free(void *, unsigned int *, size_t,
lib/libc/net/nsdispatch.c
166
static void *vector_ref(unsigned int, void *, unsigned int, size_t);
lib/libc/net/nsdispatch.c
167
static void *vector_search(const void *, void *, unsigned int, size_t,
lib/libc/net/nsdispatch.c
169
static void *vector_append(const void *, void *, unsigned int *, size_t);
lib/libc/net/nsdispatch.c
192
vector_sort(void *vec, unsigned int count, size_t esize,
lib/libc/net/nsdispatch.c
200
vector_search(const void *key, void *vec, unsigned int count, size_t esize,
lib/libc/net/nsdispatch.c
208
vector_append(const void *elem, void *vec, unsigned int *count, size_t esize)
lib/libc/net/nsdispatch.c
227
vector_ref(unsigned int i, void *vec, unsigned int count, size_t esize)
lib/libc/net/nsdispatch.c
239
vector_free(void *vec, unsigned int *count, size_t esize,
lib/libc/net/nss_compat.c
103
bufsize = va_arg(ap, size_t);
lib/libc/net/nss_compat.c
116
int (*fn)(gid_t, struct group *, char *, size_t, int *);
lib/libc/net/nss_compat.c
121
size_t bufsize;
lib/libc/net/nss_compat.c
128
bufsize = va_arg(ap, size_t);
lib/libc/net/nss_compat.c
141
int (*fn)(struct group *, char *, size_t, int *);
lib/libc/net/nss_compat.c
145
size_t bufsize;
lib/libc/net/nss_compat.c
153
bufsize = va_arg(ap, size_t);
lib/libc/net/nss_compat.c
197
int (*fn)(const char *, struct passwd *, char *, size_t, int *);
lib/libc/net/nss_compat.c
202
size_t bufsize;
lib/libc/net/nss_compat.c
209
bufsize = va_arg(ap, size_t);
lib/libc/net/nss_compat.c
222
int (*fn)(uid_t, struct passwd *, char *, size_t, int *);
lib/libc/net/nss_compat.c
227
size_t bufsize;
lib/libc/net/nss_compat.c
234
bufsize = va_arg(ap, size_t);
lib/libc/net/nss_compat.c
247
int (*fn)(struct passwd *, char *, size_t, int *);
lib/libc/net/nss_compat.c
251
size_t bufsize;
lib/libc/net/nss_compat.c
259
bufsize = va_arg(ap, size_t);
lib/libc/net/nss_compat.c
91
int (*fn)(const char *, struct group *, char *, size_t, int *);
lib/libc/net/nss_compat.c
96
size_t bufsize;
lib/libc/net/recv.c
42
recv(int s, void *buf, size_t len, int flags)
lib/libc/net/rthdr.c
48
size_t
lib/libc/net/send.c
42
send(int s, const void *msg, size_t len, int flags)
lib/libc/nls/msgcat.c
338
munmap(np->catd->__data, (size_t)np->catd->__size);
lib/libc/nls/msgcat.c
424
if ((data = mmap(0, (size_t)st.st_size, PROT_READ,
lib/libc/nls/msgcat.c
435
munmap(data, (size_t)st.st_size);
lib/libc/nls/msgcat.c
441
munmap(data, (size_t)st.st_size);
lib/libc/resolv/res_comp.c
113
return (ns_name_compress(src, dst, (size_t)dstsiz,
lib/libc/resolv/res_comp.c
96
int n = ns_name_uncompress(msg, eom, src, dst, (size_t)dstsiz);
lib/libc/resolv/res_debug.c
703
p_sockun(union res_sockaddr_union u, char *buf, size_t size) {
lib/libc/resolv/res_findzonecut.c
154
char *zname, size_t zsize, struct in_addr *addrs, int naddrs)
lib/libc/resolv/res_findzonecut.c
179
char *zname, size_t zsize, union res_sockaddr_union *addrs,
lib/libc/resolv/res_findzonecut.c
269
char *zname, size_t zsize, char *mname, size_t msize,
lib/libc/resolv/res_findzonecut.c
72
char *, size_t, char *, size_t,
lib/libc/resolv/res_init.c
370
const size_t minsiz =
lib/libc/resolv/res_init.c
722
size_t size;
lib/libc/resolv/res_init.c
773
size_t size;
lib/libc/resolv/res_query.c
399
res_hostalias(const res_state statp, const char *name, char *dst, size_t siz) {
lib/libc/resolv/res_send.c
137
static struct sockaddr * get_nsaddr __P((res_state, size_t));
lib/libc/resolv/res_send.c
601
get_nsaddr(res_state statp, size_t n)
lib/libc/rpc/auth_unix.c
150
memmove(au->au_origcred.oa_base, mymem, (size_t)len);
lib/libc/rpc/clnt_bcast.c
157
(size_t)ifap->ifa_broadaddr->sa_len);
lib/libc/rpc/clnt_bcast.c
265
size_t fdlistno = 0;
lib/libc/rpc/clnt_bcast.c
268
size_t outlen;
lib/libc/rpc/clnt_bcast.c
275
size_t outlen_pmap = 0;
lib/libc/rpc/clnt_bcast.c
452
(size_t)fdlist[i].asize) !=
lib/libc/rpc/clnt_bcast.c
477
(size_t)fdlist[i].asize) !=
lib/libc/rpc/clnt_dg.c
161
size_t fd_allocsz;
lib/libc/rpc/clnt_dg.c
223
memcpy(&cu->cu_raddr, svcaddr->buf, (size_t)svcaddr->len);
lib/libc/rpc/clnt_dg.c
293
size_t outlen = 0;
lib/libc/rpc/clnt_dg.c
381
outlen = (size_t)XDR_GETPOS(xdrs);
lib/libc/rpc/clnt_dg.c
609
memcpy(info, &cu->cu_raddr, (size_t)cu->cu_rlen);
lib/libc/rpc/clnt_generic.c
207
size_t len = strlen(netclass);
lib/libc/rpc/clnt_perror.c
233
size_t len, i;
lib/libc/rpc/clnt_perror.c
77
size_t len, i;
lib/libc/rpc/clnt_simple.c
173
if ((strlen(host) < (size_t)MAXHOSTNAMELEN) &&
lib/libc/rpc/clnt_simple.c
174
(strlen(nettype) < (size_t)NETIDLEN)) {
lib/libc/rpc/clnt_vc.c
528
memcpy(info, ct->ct_addr.buf, (size_t)ct->ct_addr.len);
lib/libc/rpc/clnt_vc.c
668
len = __msgread(ct->ct_fd, buf, (size_t)len);
lib/libc/rpc/clnt_vc.c
670
len = _read(ct->ct_fd, buf, (size_t)len);
lib/libc/rpc/clnt_vc.c
702
(size_t)cnt)) == -1) {
lib/libc/rpc/clnt_vc.c
710
if ((i = _write(ct->ct_fd, buf, (size_t)cnt)) == -1) {
lib/libc/rpc/clnt_vc.c
756
__msgread(int sock, void *buf, size_t cnt)
lib/libc/rpc/clnt_vc.c
781
__msgwrite(int sock, void *buf, size_t cnt)
lib/libc/rpc/clnt_vc.c
93
static int __msgread(int, void *, size_t);
lib/libc/rpc/clnt_vc.c
94
static int __msgwrite(int, void *, size_t);
lib/libc/rpc/getnetconfig.c
458
if (strlen(netid) == (size_t) (len = tmpp - stringp) && /* a match */
lib/libc/rpc/getnetconfig.c
459
strncmp(stringp, netid, (size_t)len) == 0) {
lib/libc/rpc/getnetconfig.c
671
p->nc_lookups = (char **)malloc((size_t)(p->nc_nlookups+1) * sizeof(char *));
lib/libc/rpc/getrpcent.c
116
size_t bufsize;
lib/libc/rpc/getrpcent.c
127
size_t, struct rpcent **);
lib/libc/rpc/getrpcent.c
129
size_t, struct rpcent **);
lib/libc/rpc/getrpcent.c
131
size_t, struct rpcent **);
lib/libc/rpc/getrpcent.c
133
size_t, struct rpcent **), union key);
lib/libc/rpc/getrpcent.c
136
static int rpc_id_func(char *, size_t *, va_list, void *);
lib/libc/rpc/getrpcent.c
137
static int rpc_marshal_func(char *, size_t *, void *, va_list, void *);
lib/libc/rpc/getrpcent.c
138
static int rpc_unmarshal_func(char *, size_t, void *, va_list, void *);
lib/libc/rpc/getrpcent.c
143
size_t aliases_size, int *errnop)
lib/libc/rpc/getrpcent.c
211
size_t bufsize;
lib/libc/rpc/getrpcent.c
215
size_t linesize;
lib/libc/rpc/getrpcent.c
242
bufsize = va_arg(ap, size_t);
lib/libc/rpc/getrpcent.c
388
size_t bufsize;
lib/libc/rpc/getrpcent.c
422
bufsize = va_arg(ap, size_t);
lib/libc/rpc/getrpcent.c
590
rpc_id_func(char *buffer, size_t *buffer_size, va_list ap, void *cache_mdata)
lib/libc/rpc/getrpcent.c
595
size_t desired_size, size;
lib/libc/rpc/getrpcent.c
642
rpc_marshal_func(char *buffer, size_t *buffer_size, void *retval __unused,
lib/libc/rpc/getrpcent.c
649
size_t orig_buf_size __unused;
lib/libc/rpc/getrpcent.c
652
size_t desired_size, size, aliases_size;
lib/libc/rpc/getrpcent.c
672
orig_buf_size = va_arg(ap, size_t);
lib/libc/rpc/getrpcent.c
729
rpc_unmarshal_func(char *buffer, size_t buffer_size, void *retval, va_list ap,
lib/libc/rpc/getrpcent.c
736
size_t orig_buf_size;
lib/libc/rpc/getrpcent.c
758
orig_buf_size = va_arg(ap, size_t);
lib/libc/rpc/getrpcent.c
772
_ALIGN(p) - (size_t)p,
lib/libc/rpc/getrpcent.c
774
_ALIGN(p) + (size_t)p);
lib/libc/rpc/getrpcent.c
798
size_t bufsize, struct rpcent **result)
lib/libc/rpc/getrpcent.c
831
size_t bufsize, struct rpcent **result)
lib/libc/rpc/getrpcent.c
863
getrpcent_r(struct rpcent *rpc, char *buffer, size_t bufsize,
lib/libc/rpc/getrpcent.c
907
size_t bufsize, struct rpcent **res)
lib/libc/rpc/getrpcent.c
914
size_t bufsize, struct rpcent **res)
lib/libc/rpc/getrpcent.c
921
size_t bufsize, struct rpcent **res)
lib/libc/rpc/getrpcent.c
927
getrpc(int (*fn)(union key, struct rpcent *, char *, size_t, struct rpcent **),
lib/libc/rpc/getrpcport.c
68
memcpy(&addr.sin_addr.s_addr, hp->h_addr, (size_t)hp->h_length);
lib/libc/rpc/rpcb_clnt.c
1053
memcpy(address->buf, na->buf, (size_t)na->len);
lib/libc/rpc/rpcb_clnt.c
1169
memcpy(addr_ptr->buf, na->buf, (size_t)na->len);
lib/libc/rpc/rpcb_clnt.c
450
size_t tsize;
lib/libc/rpc/svc_auth_unix.c
68
size_t str_len, gid_len;
lib/libc/rpc/svc_auth_unix.c
83
str_len = (size_t)IXDR_GET_U_INT32(buf);
lib/libc/rpc/svc_auth_unix.c
94
gid_len = (size_t)IXDR_GET_U_INT32(buf);
lib/libc/rpc/svc_dg.c
175
size_t replylen;
lib/libc/rpc/svc_dg.c
221
size_t slen;
lib/libc/rpc/svc_dg.c
344
size_t cache_replylen;
lib/libc/rpc/svc_dg.c
436
cache_set(SVCXPRT *xprt, size_t replylen)
lib/libc/rpc/svc_dg.c
510
(size_t)xprt->xp_rtaddr.len);
lib/libc/rpc/svc_dg.c
524
cache_get(SVCXPRT *xprt, struct rpc_msg *msg, char **replyp, size_t *replylenp)
lib/libc/rpc/svc_dg.c
79
static int cache_get(SVCXPRT *, struct rpc_msg *, char **, size_t *);
lib/libc/rpc/svc_dg.c
80
static void cache_set(SVCXPRT *, size_t);
lib/libc/rpc/svc_vc.c
162
xprt->xp_ltaddr.buf = mem_alloc((size_t)sslocal.ss_len);
lib/libc/rpc/svc_vc.c
167
memcpy(xprt->xp_ltaddr.buf, &sslocal, (size_t)sslocal.ss_len);
lib/libc/rpc/svc_vc.c
203
ret->xp_ltaddr.buf = mem_alloc((size_t)ss.ss_len);
lib/libc/rpc/svc_vc.c
208
memcpy(ret->xp_ltaddr.buf, &ss, (size_t)ss.ss_len);
lib/libc/rpc/svc_vc.c
216
ret->xp_rtaddr.buf = mem_alloc((size_t)ss.ss_len);
lib/libc/rpc/svc_vc.c
221
memcpy(ret->xp_rtaddr.buf, &ss, (size_t)ss.ss_len);
lib/libc/rpc/svc_vc.c
457
len = _read(sock, buf, (size_t)len);
lib/libc/rpc/svc_vc.c
486
if ((len = _read(sock, buf, (size_t)len)) > 0) {
lib/libc/rpc/svc_vc.c
517
i = _write(xprt->xp_fd, buf, (size_t)cnt);
lib/libc/stdio/fgetln.c
122
size_t diff;
lib/libc/stdio/fgetln.c
136
if ((p = memchr((void *)fp->pub._p, '\n', (size_t)fp->pub._r))
lib/libc/stdio/fgetln.c
53
__slbexpand(FILE *fp, size_t newsize)
lib/libc/stdio/fgetln.c
77
fgetln(FILE *fp, size_t *lenp)
lib/libc/stdio/fgetln.c
80
size_t len;
lib/libc/stdio/fgetln.c
81
size_t off;
lib/libc/stdio/fgetln.c
93
if ((p = memchr((void *)fp->pub._p, '\n', (size_t)fp->pub._r)) != NULL) {
lib/libc/stdio/fgets.c
51
size_t len;
lib/libc/stdio/fgetwc.c
79
size_t nconv;
lib/libc/stdio/fgetwc.c
96
if (nconv == (size_t)-1)
lib/libc/stdio/fgetwc.c
98
else if (nconv == (size_t)-2)
lib/libc/stdio/fgetwln.c
42
wchar_t *fgetwln_l(FILE * __restrict, size_t *, locale_t);
lib/libc/stdio/fgetwln.c
45
fgetwln_l(FILE * __restrict fp, size_t *lenp, locale_t locale)
lib/libc/stdio/fgetwln.c
48
size_t len;
lib/libc/stdio/fgetwln.c
77
fgetwln(FILE * __restrict fp, size_t *lenp)
lib/libc/stdio/fgetws.c
51
size_t nconv;
lib/libc/stdio/fgetws.c
83
if (nconv == (size_t)-1)
lib/libc/stdio/fmemopen.c
152
fmemopen(void * __restrict buf, size_t size, const char * __restrict mode)
lib/libc/stdio/fmemopen.c
158
if (size < (size_t)1)
lib/libc/stdio/fopencookie.c
113
(size_t)size));
lib/libc/stdio/fopencookie.c
98
return ((int)thunk->foc_io.read(thunk->foc_cookie, buf, (size_t)size));
lib/libc/stdio/fparseln.c
197
size_t size, line;
lib/libc/stdio/fparseln.c
45
size_t ne;
lib/libc/stdio/fparseln.c
71
fparseln(FILE *fp, size_t *size, size_t *lineno, const char str[3], int flags)
lib/libc/stdio/fparseln.c
75
size_t s, len;
lib/libc/stdio/fputwc.c
55
size_t i, len;
lib/libc/stdio/fputwc.c
77
if ((len = l->__wcrtomb(buf, wc, st)) == (size_t)-1) {
lib/libc/stdio/fputws.c
50
size_t nbytes;
lib/libc/stdio/fputws.c
75
if (nbytes == (size_t)-1)
lib/libc/stdio/fread.c
47
size_t
lib/libc/stdio/fread.c
48
fread(void * __restrict buf, size_t size, size_t count, FILE * __restrict fp)
lib/libc/stdio/fread.c
50
size_t ret;
lib/libc/stdio/fread.c
58
size_t
lib/libc/stdio/fread.c
59
__fread(void * __restrict buf, size_t size, size_t count, FILE * __restrict fp)
lib/libc/stdio/fread.c
61
size_t resid;
lib/libc/stdio/fread.c
64
size_t total;
lib/libc/stdio/fread.c
79
memcpy((void *)p, (void *)fp->pub._p, (size_t)r);
lib/libc/stdio/fseek.c
238
size_t o = target - curoff;
lib/libc/stdio/fseek.c
95
size_t n;
lib/libc/stdio/ftell.c
86
size_t n;
lib/libc/stdio/fvwrite.c
105
size_t blen = fp->pub._p - fp->_bf._base;
lib/libc/stdio/fvwrite.c
50
size_t len;
lib/libc/stdio/fvwrite.c
64
#define COPY(n) (void)memcpy((void *)fp->pub._p, (void *)p, (size_t)(n))
lib/libc/stdio/fwrite.c
46
size_t
lib/libc/stdio/fwrite.c
47
fwrite_unlocked(const void * __restrict buf, size_t size, size_t count,
lib/libc/stdio/fwrite.c
50
size_t n;
lib/libc/stdio/fwrite.c
70
size_t
lib/libc/stdio/fwrite.c
71
fwrite(const void * __restrict buf, size_t size, size_t count,
lib/libc/stdio/fwrite.c
74
size_t n;
lib/libc/stdio/getdelim.c
108
getdelim(char ** __restrict linep, size_t * __restrict linecapp, int delim,
lib/libc/stdio/getdelim.c
112
size_t linelen;
lib/libc/stdio/getdelim.c
41
static inline size_t
lib/libc/stdio/getdelim.c
42
p2roundup(size_t n)
lib/libc/stdio/getdelim.c
64
expandtofit(char ** __restrict linep, size_t len, size_t * __restrict capp)
lib/libc/stdio/getdelim.c
67
size_t newcap;
lib/libc/stdio/getdelim.c
69
if (len > (size_t)SSIZE_MAX + 1) {
lib/libc/stdio/getdelim.c
74
if (len == (size_t)SSIZE_MAX + 1) /* avoid overflow */
lib/libc/stdio/getdelim.c
75
newcap = (size_t)SSIZE_MAX + 1;
lib/libc/stdio/getdelim.c
95
sappend(char ** __restrict dstp, size_t * __restrict dstlenp,
lib/libc/stdio/getdelim.c
96
size_t * __restrict dstcapp, char * __restrict src, size_t srclen)
lib/libc/stdio/getline.c
32
getline(char ** __restrict linep, size_t * __restrict linecapp,
lib/libc/stdio/local.h
66
extern int __slbexpand(FILE *, size_t);
lib/libc/stdio/local.h
75
extern int __swhatbuf(FILE *, size_t *, int *);
lib/libc/stdio/local.h
87
extern size_t __fread(void * __restrict buf, size_t size, size_t count,
lib/libc/stdio/makebuf.c
59
size_t size;
lib/libc/stdio/makebuf.c
87
__swhatbuf(FILE *fp, size_t *bufsize, int *couldbetty)
lib/libc/stdio/open_memstream.c
170
open_memstream(char **bufp, size_t *sizep)
lib/libc/stdio/open_memstream.c
45
size_t *sizep;
lib/libc/stdio/open_wmemstream.c
101
if (charlen == (size_t)-1)
lib/libc/stdio/open_wmemstream.c
103
if (charlen == (size_t)-2)
lib/libc/stdio/open_wmemstream.c
120
size_t charlen;
lib/libc/stdio/open_wmemstream.c
140
if (charlen == (size_t)-1) {
lib/libc/stdio/open_wmemstream.c
151
if (charlen == (size_t)-2) {
lib/libc/stdio/open_wmemstream.c
231
open_wmemstream(wchar_t **bufp, size_t *sizep)
lib/libc/stdio/open_wmemstream.c
45
size_t *sizep;
lib/libc/stdio/open_wmemstream.c
91
static size_t
lib/libc/stdio/open_wmemstream.c
95
size_t charlen, count;
lib/libc/stdio/printf-pos.c
708
(*argtable) [n].sizearg = va_arg(ap, size_t);
lib/libc/stdio/printflocal.h
75
size_t sizearg;
lib/libc/stdio/priv_stdio.h
102
size_t iov_len;
lib/libc/stdio/puts.c
50
size_t c = strlen(s);
lib/libc/stdio/setbuffer.c
43
setvbuf(fp, buf, buf ? _IOFBF : _IONBF, (size_t)size);
lib/libc/stdio/setbuffer.c
53
return (setvbuf(fp, NULL, _IOLBF, (size_t)0));
lib/libc/stdio/setvbuf.c
48
setvbuf(FILE * __restrict fp, char * __restrict buf, int mode, size_t size)
lib/libc/stdio/setvbuf.c
51
size_t iosize;
lib/libc/stdio/snprintf.c
52
snprintf(char * __restrict str, size_t n, char const * __restrict fmt, ...)
lib/libc/stdio/snprintf.c
54
size_t on;
lib/libc/stdio/snprintf.c
78
snprintf_l(char * __restrict str, size_t n, locale_t locale,
lib/libc/stdio/snprintf.c
81
size_t on;
lib/libc/stdio/sreadahead.c
48
size_t __sreadahead(FILE *);
lib/libc/stdio/sreadahead.c
50
size_t
lib/libc/stdio/sreadahead.c
53
size_t count;
lib/libc/stdio/stdio.c
54
return(_read(fp->pub._fileno, buf, (size_t)n));
lib/libc/stdio/stdio.c
62
return (_write(fp->pub._fileno, buf, (size_t)n));
lib/libc/stdio/swprintf.c
35
swprintf(wchar_t * __restrict s, size_t n, const wchar_t * __restrict fmt, ...)
lib/libc/stdio/swprintf.c
48
swprintf_l(wchar_t * __restrict s, size_t n, locale_t locale,
lib/libc/stdio/ungetc.c
62
if ((p = malloc((size_t)BUFSIZ)) == NULL)
lib/libc/stdio/ungetc.c
73
p = realloc(fp->_ub._base, (size_t)(i << 1));
lib/libc/stdio/ungetc.c
77
memcpy((void *)(p + i), (void *)p, (size_t)i);
lib/libc/stdio/ungetwc.c
54
size_t len;
lib/libc/stdio/ungetwc.c
69
if ((len = l->__wcrtomb(buf, wc, st)) == (size_t)-1) {
lib/libc/stdio/vfprintf.c
217
size_t clen, nbytes;
lib/libc/stdio/vfprintf.c
224
if (nbytes == (size_t)-1)
lib/libc/stdio/vfprintf.c
240
if (clen == 0 || clen == (size_t)-1 ||
lib/libc/stdio/vfprintf.c
254
nbytes, &mbs)) == (size_t)-1) {
lib/libc/stdio/vfprintf.c
415
flags&SIZET ? (uintmax_t)GETARG(size_t) : \
lib/libc/stdio/vfprintf.c
612
size_t mbseqlen;
lib/libc/stdio/vfprintf.c
617
if (mbseqlen == (size_t)-1) {
lib/libc/stdio/vfscanf.c
134
size_t sum = 0;
lib/libc/stdio/vfscanf.c
154
size_t r = __fread(p, 1, width, fp);
lib/libc/stdio/vfscanf.c
476
size_t width; /* field width, or 0 */
lib/libc/stdio/vfscanf.c
640
*va_arg(ap, size_t *) = nread;
lib/libc/stdio/vfscanf.c
704
width = (size_t)~0; /* `infinity' */
lib/libc/stdio/vfscanf.c
723
width = (size_t)~0;
lib/libc/stdio/vfscanf.c
772
*va_arg(ap, size_t *) = res;
lib/libc/stdio/vfwprintf.c
112
if (nconv == (size_t)-1 || nconv == (size_t)-2)
lib/libc/stdio/vfwprintf.c
250
size_t len;
lib/libc/stdio/vfwprintf.c
256
if ((len = wcrtomb(buf, wc, &mbs)) == (size_t)-1) {
lib/libc/stdio/vfwprintf.c
280
size_t insize, nchars, nconv;
lib/libc/stdio/vfwprintf.c
297
while (nchars != (size_t)prec) {
lib/libc/stdio/vfwprintf.c
299
if (nconv == 0 || nconv == (size_t)-1 ||
lib/libc/stdio/vfwprintf.c
300
nconv == (size_t)-2)
lib/libc/stdio/vfwprintf.c
306
if (nconv == (size_t)-1 || nconv == (size_t)-2)
lib/libc/stdio/vfwprintf.c
326
if (nconv == 0 || nconv == (size_t)-1 || nconv == (size_t)-2)
lib/libc/stdio/vfwprintf.c
332
if (nconv == (size_t)-1 || nconv == (size_t)-2) {
lib/libc/stdio/vfwprintf.c
492
flags&SIZET ? (uintmax_t)GETARG(size_t) : \
lib/libc/stdio/vfwprintf.c
97
if (nconv == (size_t)-1 || nconv == (size_t)-2)
lib/libc/stdio/vfwscanf.c
144
size_t nconv;
lib/libc/stdio/vfwscanf.c
153
if (nconv == (size_t)-1)
lib/libc/stdio/vfwscanf.c
186
size_t nconv;
lib/libc/stdio/vfwscanf.c
196
if (nconv == (size_t)-1)
lib/libc/stdio/vfwscanf.c
243
size_t nconv;
lib/libc/stdio/vfwscanf.c
253
if (nconv == (size_t)-1)
lib/libc/stdio/vfwscanf.c
452
size_t width; /* field width, or 0 */
lib/libc/stdio/vfwscanf.c
631
*va_arg(ap, size_t *) = nread;
lib/libc/stdio/vfwscanf.c
683
width = (size_t)~0; /* `infinity' */
lib/libc/stdio/vfwscanf.c
703
width = (size_t)~0;
lib/libc/stdio/vfwscanf.c
748
*va_arg(ap, size_t *) = res;
lib/libc/stdio/vfwscanf.c
794
size_t nconv;
lib/libc/stdio/vfwscanf.c
807
if (nconv == (size_t)-1 || nconv == (size_t)-2)
lib/libc/stdio/vsnprintf.c
50
vsnprintf_l(char * __restrict str, size_t n, locale_t locale,
lib/libc/stdio/vsnprintf.c
53
size_t on;
lib/libc/stdio/vsnprintf.c
83
vsnprintf(char * __restrict str, size_t n, const char * __restrict fmt,
lib/libc/stdio/vswprintf.c
107
vswprintf(wchar_t * __restrict s, size_t n, const wchar_t * __restrict fmt,
lib/libc/stdio/vswprintf.c
47
vswprintf_l(wchar_t * __restrict s, size_t n, locale_t locale,
lib/libc/stdio/vswprintf.c
55
size_t nwc;
lib/libc/stdio/vswprintf.c
93
if (nwc == (size_t)-1) {
lib/libc/stdio/vswscanf.c
68
size_t mlen;
lib/libc/stdio/vswscanf.c
81
if ((mlen = wcsrtombs_l(mbstr, &strp, SIZE_T_MAX, &mbs, locale)) == (size_t)-1) {
lib/libc/stdio/wcio.h
45
size_t wcio_ungetwc_inbuf;
lib/libc/stdio/xprintf.c
174
__printf_arginfo_pct(const struct printf_info *pi __unused, size_t n __unused,
lib/libc/stdio/xprintf.c
193
__printf_arginfo_n(const struct printf_info *pi __unused, size_t n, int *argt)
lib/libc/stdio/xprintf.c
226
**((size_t **)arg[0]) = pi->sofar;
lib/libc/stdio/xprintf.c
485
args[ch].intmaxarg = va_arg(ap, size_t);
lib/libc/stdio/xprintf_errno.c
42
__printf_arginfo_errno(const struct printf_info *pi __unused, size_t n,
lib/libc/stdio/xprintf_float.c
122
__printf_arginfo_float(const struct printf_info *pi, size_t n, int *argt)
lib/libc/stdio/xprintf_hexdump.c
40
size_t n, int *argt)
lib/libc/stdio/xprintf_int.c
233
__printf_arginfo_int(const struct printf_info *pi, size_t n, int *argt)
lib/libc/stdio/xprintf_int.c
447
__printf_arginfo_ptr(const struct printf_info *pi __unused, size_t n, int *argt)
lib/libc/stdio/xprintf_quote.c
42
__printf_arginfo_quote(const struct printf_info *pi __unused, size_t n,
lib/libc/stdio/xprintf_str.c
110
__printf_arginfo_str(const struct printf_info *pi, size_t n, int *argt)
lib/libc/stdio/xprintf_str.c
153
__printf_arginfo_chr(const struct printf_info *pi, size_t n, int *argt)
lib/libc/stdio/xprintf_str.c
173
size_t mbseqlen;
lib/libc/stdio/xprintf_str.c
181
if (mbseqlen == (size_t) -1)
lib/libc/stdio/xprintf_str.c
61
size_t clen, nbytes;
lib/libc/stdio/xprintf_str.c
68
if (nbytes == (size_t)-1)
lib/libc/stdio/xprintf_str.c
84
if (clen == 0 || clen == (size_t)-1 ||
lib/libc/stdio/xprintf_str.c
98
nbytes, &mbs)) == (size_t)-1) {
lib/libc/stdio/xprintf_time.c
46
__printf_arginfo_time(const struct printf_info *pi __unused, size_t n,
lib/libc/stdio/xprintf_vis.c
41
__printf_arginfo_vis(const struct printf_info *pi __unused, size_t n,
lib/libc/stdlib/bsearch.c
54
bsearch(const void *key, const void *base0, size_t nmemb, size_t size,
lib/libc/stdlib/bsearch.c
58
size_t lim;
lib/libc/stdlib/dmalloc.c
1227
slaballoc(int zi, size_t chunking, size_t chunk_size)
lib/libc/stdlib/dmalloc.c
1235
size_t slab_desire;
lib/libc/stdlib/dmalloc.c
1236
size_t slab_size;
lib/libc/stdlib/dmalloc.c
1237
size_t region_mask;
lib/libc/stdlib/dmalloc.c
1644
_vmem_alloc(int ri, size_t slab_size)
lib/libc/stdlib/dmalloc.c
1705
_vmem_free(void *ptr, size_t size)
lib/libc/stdlib/dmalloc.c
226
size_t slab_size; /* size of entire slab */
lib/libc/stdlib/dmalloc.c
227
size_t chunk_size; /* chunk size for validation */
lib/libc/stdlib/dmalloc.c
257
size_t nslabs;
lib/libc/stdlib/dmalloc.c
326
static void *memalloc(size_t size, int flags);
lib/libc/stdlib/dmalloc.c
327
static void *memrealloc(void *ptr, size_t size);
lib/libc/stdlib/dmalloc.c
329
static int memalign(void **memptr, size_t alignment, size_t size);
lib/libc/stdlib/dmalloc.c
330
static slab_t slaballoc(int zi, size_t chunking, size_t chunk_size);
lib/libc/stdlib/dmalloc.c
333
static void *_vmem_alloc(int ri, size_t slab_size);
lib/libc/stdlib/dmalloc.c
334
static void _vmem_free(void *ptr, size_t slab_size);
lib/libc/stdlib/dmalloc.c
345
size_t s;
lib/libc/stdlib/dmalloc.c
535
zoneindex(size_t *bytes, size_t *chunking)
lib/libc/stdlib/dmalloc.c
537
size_t n = (size_t)*bytes;
lib/libc/stdlib/dmalloc.c
538
size_t x;
lib/libc/stdlib/dmalloc.c
539
size_t c;
lib/libc/stdlib/dmalloc.c
644
__malloc(size_t size)
lib/libc/stdlib/dmalloc.c
660
__calloc(size_t number, size_t size)
lib/libc/stdlib/dmalloc.c
680
__realloc(void *ptr, size_t size)
lib/libc/stdlib/dmalloc.c
701
__aligned_alloc(size_t alignment, size_t size)
lib/libc/stdlib/dmalloc.c
721
__posix_memalign(void **memptr, size_t alignment, size_t size)
lib/libc/stdlib/dmalloc.c
744
memalign(void **memptr, size_t alignment, size_t size)
lib/libc/stdlib/dmalloc.c
791
memalloc(size_t size, int flags)
lib/libc/stdlib/dmalloc.c
796
size_t chunking;
lib/libc/stdlib/dmalloc.c
946
memrealloc(void *ptr, size_t nsize)
lib/libc/stdlib/dmalloc.c
950
size_t osize;
lib/libc/stdlib/freezero.c
24
freezero(void *ptr, size_t sz)
lib/libc/stdlib/getenv.c
104
__env_warnx(const char *msg, const char *name, size_t nameLen)
lib/libc/stdlib/getenv.c
123
static inline size_t
lib/libc/stdlib/getenv.c
140
strncmpeq(const char *nameValue, const char *name, size_t nameLen)
lib/libc/stdlib/getenv.c
155
__findenv(const char *name, size_t nameLen, int *envNdx, bool onlyActive)
lib/libc/stdlib/getenv.c
187
__findenv_environ(const char *name, size_t nameLen)
lib/libc/stdlib/getenv.c
331
size_t nameLen;
lib/libc/stdlib/getenv.c
418
size_t nameLen;
lib/libc/stdlib/getenv.c
457
__setenv(const char *name, size_t nameLen, const char *value, int overwrite)
lib/libc/stdlib/getenv.c
463
size_t valueLen;
lib/libc/stdlib/getenv.c
581
size_t nameLen;
lib/libc/stdlib/getenv.c
608
size_t nameLen;
lib/libc/stdlib/getenv.c
661
size_t nameLen;
lib/libc/stdlib/getenv.c
75
size_t nameLen;
lib/libc/stdlib/getenv.c
76
size_t valueSize;
lib/libc/stdlib/getopt_long.c
201
size_t current_argv_len;
lib/libc/stdlib/hcreate.c
130
size_t idx;
lib/libc/stdlib/hcreate.c
153
size_t len;
lib/libc/stdlib/hcreate.c
75
#define MAX_BUCKETS_LG2 (sizeof (size_t) * 8 - 1 - 5)
lib/libc/stdlib/hcreate.c
76
#define MAX_BUCKETS ((size_t)1 << MAX_BUCKETS_LG2)
lib/libc/stdlib/hcreate.c
79
extern u_int32_t (*__default_hash)(const void *, size_t);
lib/libc/stdlib/hcreate.c
82
static size_t htablesize;
lib/libc/stdlib/hcreate.c
85
hcreate(size_t nel)
lib/libc/stdlib/hcreate.c
87
size_t idx;
lib/libc/stdlib/heapsort.c
137
heapsort(void *vbase, size_t nmemb, size_t size,
lib/libc/stdlib/heapsort.c
140
size_t cnt, i, j, l;
lib/libc/stdlib/lsearch.c
20
static void *lwork(const void *, const void *, size_t *, size_t,
lib/libc/stdlib/lsearch.c
23
void *lsearch(const void *key, void *base, size_t *nelp, size_t width,
lib/libc/stdlib/lsearch.c
30
void *lfind(const void *key, const void *base, size_t *nelp, size_t width,
lib/libc/stdlib/lsearch.c
38
lwork(const void *key, const void *base, size_t *nelp, size_t width,
lib/libc/stdlib/merge.c
256
setup(u_char *list1, u_char *list2, size_t n, size_t size,
lib/libc/stdlib/merge.c
328
insertionsort(u_char *a, size_t n, size_t size,
lib/libc/stdlib/merge.c
56
static void setup(u_char *, u_char *, size_t, size_t,
lib/libc/stdlib/merge.c
58
static void insertionsort(u_char *, size_t, size_t,
lib/libc/stdlib/merge.c
95
mergesort(void *base, size_t nmemb, size_t size,
lib/libc/stdlib/merge.c
98
size_t i;
lib/libc/stdlib/nmalloc.c
1007
size = (size + PAGE_MASK) & ~(size_t)PAGE_MASK;
lib/libc/stdlib/nmalloc.c
1071
_slaballoc(size_t size, int flags)
lib/libc/stdlib/nmalloc.c
1076
size_t chunking;
lib/libc/stdlib/nmalloc.c
1122
size = (size + PAGE_MASK) & ~(size_t)PAGE_MASK;
lib/libc/stdlib/nmalloc.c
1366
_slabrealloc(void *ptr, size_t size)
lib/libc/stdlib/nmalloc.c
137
void *__malloc(size_t);
lib/libc/stdlib/nmalloc.c
1371
size_t chunking;
lib/libc/stdlib/nmalloc.c
138
void *__calloc(size_t, size_t);
lib/libc/stdlib/nmalloc.c
1385
size_t bigbytes;
lib/libc/stdlib/nmalloc.c
1389
size = (size + PAGE_MASK) & ~(size_t)PAGE_MASK;
lib/libc/stdlib/nmalloc.c
139
void *__realloc(void *, size_t);
lib/libc/stdlib/nmalloc.c
140
void *__aligned_alloc(size_t, size_t);
lib/libc/stdlib/nmalloc.c
141
size_t __malloc_usable_size(const void *ptr);
lib/libc/stdlib/nmalloc.c
1419
~(size_t)PAGE_MASK;
lib/libc/stdlib/nmalloc.c
142
int __posix_memalign(void **, size_t, size_t);
lib/libc/stdlib/nmalloc.c
1526
static size_t
lib/libc/stdlib/nmalloc.c
1529
size_t size;
lib/libc/stdlib/nmalloc.c
1598
size_t size;
lib/libc/stdlib/nmalloc.c
2081
_vmem_alloc(size_t size, size_t align, int flags)
lib/libc/stdlib/nmalloc.c
2103
addr_hint = (char *)(((size_t)save + (align - 1)) & ~(align - 1));
lib/libc/stdlib/nmalloc.c
2110
if (((size_t)save & (align - 1)) == 0)
lib/libc/stdlib/nmalloc.c
2120
addr = (char *)(((size_t)save + (align - 1)) & ~(align - 1));
lib/libc/stdlib/nmalloc.c
2137
_vmem_free(void *ptr, size_t size)
lib/libc/stdlib/nmalloc.c
348
static volatile size_t bigcache_size_array[BIGCACHE]; /* SMP races ok */
lib/libc/stdlib/nmalloc.c
351
static size_t excess_alloc; /* excess big allocs */
lib/libc/stdlib/nmalloc.c
353
static void *_slaballoc(size_t size, int flags);
lib/libc/stdlib/nmalloc.c
354
static void *_slabrealloc(void *ptr, size_t size);
lib/libc/stdlib/nmalloc.c
355
static size_t _slabusablesize(const void *ptr);
lib/libc/stdlib/nmalloc.c
357
static int _slabmemalign(void **memptr, size_t alignment, size_t size);
lib/libc/stdlib/nmalloc.c
358
static void *_vmem_alloc(size_t bytes, size_t align, int flags);
lib/libc/stdlib/nmalloc.c
359
static void _vmem_free(void *ptr, size_t bytes);
lib/libc/stdlib/nmalloc.c
373
size_t s;
lib/libc/stdlib/nmalloc.c
615
bigcache_find_alloc(size_t bytes)
lib/libc/stdlib/nmalloc.c
618
size_t test;
lib/libc/stdlib/nmalloc.c
698
zoneindex(size_t *bytes, size_t *chunking)
lib/libc/stdlib/nmalloc.c
700
size_t n = (unsigned int)*bytes; /* unsigned for shift opt */
lib/libc/stdlib/nmalloc.c
790
__malloc(size_t size)
lib/libc/stdlib/nmalloc.c
805
#define MUL_NO_OVERFLOW (1UL << (sizeof(size_t) * 4))
lib/libc/stdlib/nmalloc.c
811
__calloc(size_t number, size_t size)
lib/libc/stdlib/nmalloc.c
840
__realloc(void *ptr, size_t size)
lib/libc/stdlib/nmalloc.c
858
size_t
lib/libc/stdlib/nmalloc.c
870
__aligned_alloc(size_t alignment, size_t size)
lib/libc/stdlib/nmalloc.c
892
__posix_memalign(void **memptr, size_t alignment, size_t size)
lib/libc/stdlib/nmalloc.c
917
_slabmemalign(void **memptr, size_t alignment, size_t size)
lib/libc/stdlib/nmalloc.c
921
size_t chunking;
lib/libc/stdlib/nmalloc.c
947
size = (size + alignment - 1) & ~(size_t)(alignment - 1);
lib/libc/stdlib/ptsname.c
83
size_t used;
lib/libc/stdlib/qsort.c
102
qsort_r(void *a, size_t n, size_t es, void *thunk, cmp_t *cmp)
lib/libc/stdlib/qsort.c
106
qsort(void *a, size_t n, size_t es, cmp_t *cmp)
lib/libc/stdlib/qsort.c
110
size_t d, r;
lib/libc/stdlib/rand.c
120
size_t len = sizeof(next);
lib/libc/stdlib/random.c
273
size_t len;
lib/libc/stdlib/random.c
274
size_t n;
lib/libc/stdlib/random.c
298
size_t r = len - n;
lib/libc/stdlib/reallocarray.c
27
#define MUL_NO_OVERFLOW ((size_t)1 << (sizeof(size_t) * 4))
lib/libc/stdlib/reallocarray.c
30
reallocarray(void *ptr, size_t number, size_t size)
lib/libc/stdlib/reallocf.c
32
reallocf(void *ptr, size_t size)
lib/libc/stdlib/realpath.c
43
int __realpath(const char *path, char *rbuf, size_t len);
lib/libc/stdlib/realpath.c
55
size_t left_len, resolved_len;
lib/libc/stdlib/recallocarray.c
28
#define MUL_NO_OVERFLOW ((size_t)1 << (sizeof(size_t) * 4))
lib/libc/stdlib/recallocarray.c
31
recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size)
lib/libc/stdlib/recallocarray.c
33
size_t oldsize, newsize;
lib/libc/stdlib/recallocarray.c
58
size_t d = oldsize - newsize;
lib/libc/stdlib/recallocarray.c
60
if (d < oldsize / 2 && d < (size_t)getpagesize()) {
lib/libc/stdlib/strfmon.c
100
vstrfmon_l(char * __restrict s, size_t maxsize, locale_t loc,
lib/libc/stdlib/strfmon.c
407
strfmon_l(char * __restrict s, size_t maxsize, locale_t loc, const char * __restrict format,
lib/libc/stdlib/strfmon.c
410
size_t ret;
lib/libc/stdlib/strfmon.c
419
strfmon(char * __restrict s, size_t maxsize, const char * __restrict format,
lib/libc/stdlib/strfmon.c
422
size_t ret;
lib/libc/stdlib/strfmon.c
529
size_t bufsize;
lib/libc/stdlib/strsuftoll.c
109
long long min, long long max, char *ebuf, size_t ebuflen, size_t depth)
lib/libc/stdlib/strsuftoll.c
219
long long min, long long max, char *ebuf, size_t ebuflen)
lib/libc/stdtime/getdate.c
71
size_t lineno = 0;
lib/libc/stdtime/localtime.c
1165
if ((size_t) sp->charcnt > sizeof sp->chars)
lib/libc/stdtime/localtime.c
941
size_t stdlen;
lib/libc/stdtime/localtime.c
942
size_t dstlen;
lib/libc/stdtime/strftime.c
110
size_t
lib/libc/stdtime/strftime.c
111
strftime(char * __restrict s, size_t maxsize, const char * __restrict format,
lib/libc/stdtime/strftime.c
77
size_t
lib/libc/stdtime/strftime.c
78
strftime_l(char * __restrict s, size_t maxsize, const char * __restrict format,
lib/libc/string/bcmp.c
39
bcmp(const void *b1, const void *b2, size_t length)
lib/libc/string/bcopy.c
61
(void *dst0, const void *src0, size_t length)
lib/libc/string/bcopy.c
66
bcopy(const void *src0, void *dst0, size_t length)
lib/libc/string/bcopy.c
71
size_t t;
lib/libc/string/explicit_bzero.c
12
__explicit_bzero_hook(void *buf, size_t len)
lib/libc/string/explicit_bzero.c
17
explicit_bzero(void *buf, size_t len)
lib/libc/string/explicit_bzero.c
9
__attribute__((weak)) void __explicit_bzero_hook(void *, size_t);
lib/libc/string/memccpy.c
36
memccpy(void *t, const void *f, int c, size_t n)
lib/libc/string/memchr.c
39
memchr(const void *s, int c, size_t n)
lib/libc/string/memcmp.c
42
memcmp(const void *s1, const void *s2, size_t n)
lib/libc/string/memmem.c
38
memmem(const void *l, size_t l_len, const void *s, size_t s_len)
lib/libc/string/mempcpy.c
40
mempcpy(void *dest, const void *src, size_t len)
lib/libc/string/memrchr.c
28
memrchr(const void *s, int c, size_t n)
lib/libc/string/memset.c
51
bzero(void *dst0, size_t length)
lib/libc/string/memset.c
60
memset(void *dst0, int c0, size_t length)
lib/libc/string/memset.c
63
size_t t;
lib/libc/string/stpncpy.c
32
stpncpy(char * __restrict dst, const char * __restrict src, size_t n)
lib/libc/string/strcasecmp.c
62
strncasecmp_l(const char *s1, const char *s2, size_t n, locale_t locale)
lib/libc/string/strcasecmp.c
81
strncasecmp(const char *s1, const char *s2, size_t n)
lib/libc/string/strcasestr.c
51
size_t len;
lib/libc/string/strcoll.c
56
size_t sz1, sz2;
lib/libc/string/strcoll.c
92
if ((mbsrtowcs_l(w1, &cs1, sz1, &mbs1, locale)) == (size_t)-1)
lib/libc/string/strcoll.c
95
if ((mbsrtowcs_l(w2, &cs2, sz2, &mbs2, locale)) == (size_t)-1)
lib/libc/string/strcspn.c
45
size_t
lib/libc/string/strdup.c
40
size_t len;
lib/libc/string/strerror.c
121
strerror_r(int errnum, char *strerrbuf, size_t buflen)
lib/libc/string/strerror.c
61
errstr(int num, char *uprefix, char *buf, size_t len)
lib/libc/string/strerror.c
82
strerror_rl(int errnum, char *strerrbuf, size_t buflen, locale_t locale)
lib/libc/string/strlcat.c
31
size_t
lib/libc/string/strlcat.c
32
strlcat(char * __restrict dst, const char * __restrict src, size_t siz)
lib/libc/string/strlcat.c
36
size_t n = siz;
lib/libc/string/strlcat.c
37
size_t dlen;
lib/libc/string/strlcpy.c
29
size_t
lib/libc/string/strlcpy.c
30
strlcpy(char * __restrict dst, const char * __restrict src, size_t siz)
lib/libc/string/strlcpy.c
34
size_t n = siz;
lib/libc/string/strlen.c
36
size_t
lib/libc/string/strncat.c
44
strncat(char * __restrict dst, const char * __restrict src, size_t n)
lib/libc/string/strncmp.c
36
strncmp(const char *s1, const char *s2, size_t n)
lib/libc/string/strncpy.c
43
strncpy(char * __restrict dst, const char * __restrict src, size_t n)
lib/libc/string/strndup.c
39
strndup(const char *str, size_t n)
lib/libc/string/strndup.c
41
size_t len;
lib/libc/string/strnlen.c
31
size_t
lib/libc/string/strnlen.c
32
strnlen(const char *s, size_t maxlen)
lib/libc/string/strnlen.c
34
size_t len;
lib/libc/string/strnstr.c
44
strnstr(const char *s, const char *find, size_t slen)
lib/libc/string/strnstr.c
47
size_t len;
lib/libc/string/strsignal.c
92
size_t n;
lib/libc/string/strspn.c
45
size_t
lib/libc/string/strstr.c
45
size_t len;
lib/libc/string/strxfrm.c
40
size_t
lib/libc/string/strxfrm.c
41
strxfrm(char * __restrict dest, const char * __restrict src, size_t len)
lib/libc/string/strxfrm.c
46
size_t
lib/libc/string/strxfrm.c
47
strxfrm_l(char * __restrict dest, const char * __restrict src, size_t len,
lib/libc/string/strxfrm.c
50
size_t slen;
lib/libc/string/strxfrm.c
51
size_t xlen;
lib/libc/string/strxfrm.c
77
if (mbstowcs_l(wcs, src, slen + 1, locale) == (size_t)-1)
lib/libc/string/strxfrm.c
80
if ((xlen = _collate_sxfrm(table, wcs, dest, len)) == (size_t)-1)
lib/libc/string/timingsafe_bcmp.c
21
timingsafe_bcmp(const void *b1, const void *b2, size_t n)
lib/libc/string/timingsafe_memcmp.c
22
timingsafe_memcmp(const void *b1, const void *b2, size_t len)
lib/libc/string/timingsafe_memcmp.c
25
size_t i;
lib/libc/string/wcpncpy.c
32
wcpncpy(wchar_t * __restrict dst, const wchar_t * __restrict src, size_t n)
lib/libc/string/wcscspn.c
32
size_t
lib/libc/string/wcsdup.c
36
size_t len;
lib/libc/string/wcslcat.c
41
size_t
lib/libc/string/wcslcat.c
42
wcslcat(wchar_t *dst, const wchar_t *src, size_t siz)
lib/libc/string/wcslcat.c
46
size_t n = siz;
lib/libc/string/wcslcat.c
47
size_t dlen;
lib/libc/string/wcslcpy.c
39
size_t
lib/libc/string/wcslcpy.c
40
wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz)
lib/libc/string/wcslcpy.c
44
size_t n = siz;
lib/libc/string/wcslen.c
32
size_t
lib/libc/string/wcsncasecmp.c
33
wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wcsncat.c
33
wcsncat(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n)
lib/libc/string/wcsncmp.c
35
wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wcsncpy.c
42
wcsncpy(wchar_t * __restrict dst, const wchar_t * __restrict src, size_t n)
lib/libc/string/wcsnlen.c
31
size_t
lib/libc/string/wcsnlen.c
32
wcsnlen(const wchar_t *s, size_t maxlen)
lib/libc/string/wcsnlen.c
34
size_t len;
lib/libc/string/wcsspn.c
32
size_t
lib/libc/string/wcsstr.c
45
size_t len;
lib/libc/string/wcswidth.c
49
wcswidth_l(const wchar_t *pwcs, size_t n, locale_t locale)
lib/libc/string/wcswidth.c
65
wcswidth(const wchar_t *pwcs, size_t n)
lib/libc/string/wcsxfrm.c
39
size_t
lib/libc/string/wcsxfrm.c
40
wcsxfrm_l(wchar_t * __restrict dest, const wchar_t * __restrict src, size_t len, locale_t locale)
lib/libc/string/wcsxfrm.c
42
size_t slen;
lib/libc/string/wcsxfrm.c
54
((slen = _collate_wxfrm(table, src, dest, len)) == (size_t)-1)) {
lib/libc/string/wcsxfrm.c
78
size_t
lib/libc/string/wcsxfrm.c
79
wcsxfrm(wchar_t * __restrict dest, const wchar_t * __restrict src, size_t len)
lib/libc/string/wmemchr.c
33
wmemchr(const wchar_t *s, wchar_t c, size_t n)
lib/libc/string/wmemchr.c
35
size_t i;
lib/libc/string/wmemcmp.c
33
wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wmemcmp.c
35
size_t i;
lib/libc/string/wmemcpy.c
34
wmemcpy(wchar_t * __restrict d, const wchar_t * __restrict s, size_t n)
lib/libc/string/wmemmove.c
34
wmemmove(wchar_t *d, const wchar_t *s, size_t n)
lib/libc/string/wmemset.c
33
wmemset(wchar_t *s, wchar_t c, size_t n)
lib/libc/string/wmemset.c
35
size_t i;
lib/libc/sys/mmap.c
43
mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
lib/libc/sys/pread.c
42
pread(int fd, void *buf, size_t nbyte, off_t offset)
lib/libc/sys/pwrite.c
42
pwrite(int fd, const void *buf, size_t nbyte, off_t offset)
lib/libc/sys/sched_getaffinity.c
40
sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask)
lib/libc/sys/sched_setaffinity.c
40
sched_setaffinity(pid_t pid, size_t cpusetsize, const cpu_set_t *mask)
lib/libc/sys/sched_setaffinity.c
42
size_t cplen = cpusetsize;
lib/libc/sysvipc/msg.c
225
size_t size = sizeof(struct msqid_pool);
lib/libc/sysvipc/msg.c
376
sysvipc_msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg)
lib/libc/sysvipc/msg.c
544
size_t tlen;
lib/libc/sysvipc/msg.c
545
if (msgsz > (size_t)msginfo.msgssz)
lib/libc/sysvipc/msg.c
590
sysvipc_msgrcv(int msqid, void *msgp, size_t msgsz, long mtype, int msgflg)
lib/libc/sysvipc/msg.c
592
size_t len;
lib/libc/sysvipc/msg.c
786
size_t tlen;
lib/libc/sysvipc/msg.c
788
if (msgsz - len > (size_t)msginfo.msgssz)
lib/libc/sysvipc/sem.c
502
size_t size;
lib/libc/sysvipc/shm.c
140
_shmget(key_t key, size_t size, int shmflg, int type)
lib/libc/sysvipc/shm.c
207
sysvipc_shmget(key_t key, size_t size, int shmflg)
lib/libc/sysvipc/shm.c
219
size_t size;
lib/libc/sysvipc/shm.c
355
size_t size;
lib/libc/sysvipc/sockets.c
248
send_msg_with_cred(int sock, char *buffer, size_t size)
lib/libc/sysvipc/sockets.c
283
receive_msg_with_cred(int sock, char *buffer, size_t size,
lib/libc/sysvipc/sysvipc_ipc.h
62
size_t size;
lib/libc/sysvipc/sysvipc_ipc.h
71
size_t size;
lib/libc/sysvipc/sysvipc_msg.h
123
int sysvipc_msgsnd(int, const void *, size_t, int);
lib/libc/sysvipc/sysvipc_msg.h
124
int sysvipc_msgrcv(int, void *, size_t, long, int);
lib/libc/sysvipc/sysvipc_shm.h
44
size_t size;
lib/libc/sysvipc/sysvipc_shm.h
55
int _shmget(key_t, size_t, int, int);
lib/libc/sysvipc/sysvipc_shm.h
58
int sysvipc_shmget(key_t, size_t, int);
lib/libc/sysvipc/sysvipc_sockets.h
38
int send_msg_with_cred(int, char *, size_t);
lib/libc/sysvipc/sysvipc_sockets.h
39
int receive_msg_with_cred(int, char *, size_t, struct cmsgcred *);
lib/libc/tre-regex/regex.h
115
size_t nmatch; /* Length of pmatch[] array. */
lib/libc/tre-regex/regex.h
125
void (*rewind)(size_t pos, void *context);
lib/libc/tre-regex/regex.h
126
int (*compare)(size_t pos1, size_t pos2, size_t len, void *context);
lib/libc/tre-regex/regex.h
172
size_t nmatch, regmatch_t pmatch[__restrict_arr], int eflags);
lib/libc/tre-regex/regex.h
174
size_t
lib/libc/tre-regex/regex.h
176
char * __restrict errbuf, size_t errbuf_size);
lib/libc/tre-regex/regex.h
187
size_t nmatch, regmatch_t pmatch[], int eflags);
lib/libc/tre-regex/regex.h
192
tre_regncomp(regex_t *preg, const char *regex, size_t len, int cflags);
lib/libc/tre-regex/regex.h
195
tre_regnexec(const regex_t *preg, const char *string, size_t len,
lib/libc/tre-regex/regex.h
196
size_t nmatch, regmatch_t pmatch[], int eflags);
lib/libc/tre-regex/regex.h
199
tre_regwncomp(regex_t *preg, const wchar_t *regex, size_t len, int cflags);
lib/libc/tre-regex/regex.h
202
tre_regwnexec(const regex_t *preg, const wchar_t *string, size_t len,
lib/libc/tre-regex/regex.h
203
size_t nmatch, regmatch_t pmatch[], int eflags);
lib/libc/tre-regex/regex.h
230
tre_regncomp_l(regex_t *preg, const char *regex, size_t len, int cflags,
lib/libc/tre-regex/regex.h
238
tre_regwncomp_l(regex_t *preg, const wchar_t *regex, size_t len, int cflags,
lib/libc/tre-regex/regex.h
90
size_t re_nsub; /* Number of parenthesized subexpressions. */
lib/libc/upmap/ukp_setname.c
53
extern int __sys_lwp_getname(lwpid_t tid, char *name, size_t len);
lib/libc/upmap/ukp_setname.c
55
int __lwp_getname(lwpid_t tid, char *name, size_t len);
lib/libc/upmap/ukp_setname.c
78
size_t len = strlen(name);
lib/libc/upmap/ukp_setname.c
97
__lwp_getname(lwpid_t tid, char *name, size_t len)
lib/libc/upmap/ukp_setproctitle.c
62
size_t n;
lib/libc/upmap/ukp_setproctitle.c
63
size_t t;
lib/libc/uuid/uuid_name_lookup.c
197
size_t len;
lib/libc/x86_64/static_tls.h
38
_libc_get_static_tls_base(size_t offset)
lib/libc/xdr/xdr_rec.c
299
size_t current;
lib/libc/xdr/xdr_rec.c
302
current = (size_t)((u_long)rstrm->out_boundry -
lib/libc/xdr/xdr_rec.c
648
size_t current;
lib/libc/xdr/xdr_rec.c
653
memcpy(addr, rstrm->in_finger, (size_t)len);
lib/libc/xdr/xdr_rec.c
659
current = (size_t)((long)rstrm->in_boundry -
lib/libc/xdr/xdr_rec.c
706
current = (size_t)((long)rstrm->in_boundry -
lib/libc/xdr/xdr_rec.c
739
buf = realloc(rstrm->in_base, (size_t)size);
lib/libc/xdr/xdr_stdio.c
129
if ((len != 0) && (fread(addr, (size_t)len, 1, (FILE *)xdrs->x_private) != 1))
lib/libc/xdr/xdr_stdio.c
138
if ((len != 0) && (fwrite(addr, (size_t)len, 1,
lib/libc/yp/xdryp.c
48
size_t dsize;
lib/libcam/scsi_cmdparse.c
535
do_encode(u_char *buff, size_t vec_max, size_t *used,
lib/libcam/scsi_cmdparse.c
660
return(do_buff_decode(csio->data_ptr, (size_t)csio->dxfer_len,
lib/libcam/scsi_cmdparse.c
680
return(do_buff_decode(csio->data_ptr, (size_t)csio->dxfer_len,
lib/libcam/scsi_cmdparse.c
685
buff_decode(u_int8_t *buff, size_t len, const char *fmt, ...)
lib/libcam/scsi_cmdparse.c
695
buff_decode_visit(u_int8_t *buff, size_t len, const char *fmt,
lib/libcam/scsi_cmdparse.c
722
size_t cmdlen;
lib/libcam/scsi_cmdparse.c
758
size_t cmdlen;
lib/libcam/scsi_cmdparse.c
807
buff_encode_visit(u_int8_t *buff, size_t len, const char *fmt,
lib/libcam/scsi_cmdparse.c
98
do_buff_decode(u_int8_t *databuf, size_t len,
lib/libcrypt/crypt-sha256.c
183
size_t pad;
lib/libcrypt/crypt-sha256.c
209
__crypt__sha256_process_bytes (const void *buffer, size_t len, struct sha256_ctx *ctx)
lib/libcrypt/crypt-sha256.c
215
size_t left_over = ctx->buflen;
lib/libcrypt/crypt-sha256.c
216
size_t add = 128 - left_over > len ? len : 128 - left_over;
lib/libcrypt/crypt-sha256.c
263
size_t left_over = ctx->buflen;
lib/libcrypt/crypt-sha256.c
308
size_t salt_len;
lib/libcrypt/crypt-sha256.c
309
size_t key_len;
lib/libcrypt/crypt-sha256.c
310
size_t cnt;
lib/libcrypt/crypt-sha256.c
317
size_t rounds = ROUNDS_DEFAULT;
lib/libcrypt/crypt-sha256.c
482
cp = stpncpy (cp, salt, MIN ((size_t) MAX (0, buflen), salt_len));
lib/libcrypt/crypt-sha256.c
483
buflen -= MIN ((size_t) MAX (0, buflen), salt_len);
lib/libcrypt/crypt-sha256.c
57
__crypt__sha256_process_block (const void *buffer, size_t len, struct sha256_ctx *ctx)
lib/libcrypt/crypt-sha256.c
60
size_t nwords = len / sizeof (uint32_t);
lib/libcrypt/crypt-sha512.c
214
size_t pad;
lib/libcrypt/crypt-sha512.c
241
__crypt__sha512_process_bytes (const void *buffer, size_t len, struct sha512_ctx *ctx)
lib/libcrypt/crypt-sha512.c
247
size_t left_over = ctx->buflen;
lib/libcrypt/crypt-sha512.c
248
size_t add = 256 - left_over > len ? len : 256 - left_over;
lib/libcrypt/crypt-sha512.c
294
size_t left_over = ctx->buflen;
lib/libcrypt/crypt-sha512.c
339
size_t salt_len;
lib/libcrypt/crypt-sha512.c
340
size_t key_len;
lib/libcrypt/crypt-sha512.c
341
size_t cnt;
lib/libcrypt/crypt-sha512.c
348
size_t rounds = ROUNDS_DEFAULT;
lib/libcrypt/crypt-sha512.c
513
cp = stpncpy (cp, salt, MIN ((size_t) MAX (0, buflen), salt_len));
lib/libcrypt/crypt-sha512.c
514
buflen -= MIN ((size_t) MAX (0, buflen), salt_len);
lib/libcrypt/crypt-sha512.c
88
__crypt__sha512_process_block (const void *buffer, size_t len, struct sha512_ctx *ctx)
lib/libcrypt/crypt-sha512.c
91
size_t nwords = len / sizeof (uint64_t);
lib/libcrypt/local.h
23
void __crypt__sha256_process_block (const void *buffer, size_t len,
lib/libcrypt/local.h
27
void __crypt__sha256_process_bytes (const void *buffer, size_t len,
lib/libcrypt/local.h
30
void __crypt__sha512_process_block (const void *buffer, size_t len,
lib/libcrypt/local.h
34
void __crypt__sha512_process_bytes (const void *buffer, size_t len, struct sha512_ctx *ctx);
lib/libcuse/cuse_lib.c
98
size_t len;
lib/libdevattr/devattr.c
141
size_t sz;
lib/libdevattr/devattr.c
164
size_t sz;
lib/libdevinfo/devinfo.c
103
size_t ub_size;
lib/libdevinfo/devinfo.c
174
size_t oidlen, rlen;
lib/libdevinfo/devinfo.c
257
size_t oidlen, rlen;
lib/libdevstat/devstat.c
109
size_t gensize;
lib/libdevstat/devstat.c
136
size_t versize;
lib/libdevstat/devstat.c
234
size_t dssize;
lib/libdevstat/devstat.c
81
size_t numdevsize;
lib/libdm/dm_task.c
400
dm_task_add_target(struct dm_task *dmt, uint64_t start, size_t size,
lib/libdm/dm_task.c
549
dm_task_get_driver_version(struct dm_task *dmt, char *ver, size_t ver_sz)
lib/libdm/dm_task.c
762
*lengthp = (size_t)ulength;
lib/libdm/libdm.h
109
int dm_task_get_driver_version(struct dm_task *dmt, char *ver, size_t ver_sz);
lib/libdm/libdm.h
98
int dm_task_add_target(struct dm_task *dmt, uint64_t start, size_t size,
lib/libdmsg/crypto.c
351
size_t i;
lib/libdmsg/crypto.c
352
size_t blksize;
lib/libdmsg/crypto.c
353
size_t blkmask;
lib/libdmsg/crypto.c
457
blksize = (size_t)RSA_size(keys[0]);
lib/libdmsg/crypto.c
458
if (blksize != (size_t)RSA_size(keys[1]) ||
lib/libdmsg/crypto.c
459
blksize != (size_t)RSA_size(keys[2]) ||
lib/libdmsg/crypto.c
722
struct iovec *iov, int n, size_t *nactp)
lib/libdmsg/crypto.c
727
size_t nmax;
lib/libdmsg/crypto.c
752
*nactp += (size_t)DMSG_CRYPTO_CHUNK_SIZE; /* plaintext count */
lib/libdmsg/crypto.c
761
ioq->fifo_cdx += (size_t)ct_used;
lib/libdmsg/crypto.c
762
ioq->fifo_cdn += (size_t)ct_used;
lib/libdmsg/crypto.c
763
ioq->fifo_end += (size_t)ct_used;
lib/libdmsg/crypto.c
764
nmax -= (size_t)ct_used;
lib/libdmsg/dmsg.h
216
size_t hdr_size;
lib/libdmsg/dmsg.h
217
size_t aux_size;
lib/libdmsg/dmsg.h
243
size_t fifo_beg; /* buffered data */
lib/libdmsg/dmsg.h
244
size_t fifo_cdx; /* cdx-beg processed */
lib/libdmsg/dmsg.h
245
size_t fifo_cdn; /* end-cdn unprocessed */
lib/libdmsg/dmsg.h
246
size_t fifo_end;
lib/libdmsg/dmsg.h
247
size_t hbytes; /* header size */
lib/libdmsg/dmsg.h
248
size_t abytes; /* aligned aux_data size */
lib/libdmsg/dmsg.h
249
size_t unaligned_aux_size; /* actual aux_data size */
lib/libdmsg/dmsg.h
387
void *dmsg_alloc(size_t bytes);
lib/libdmsg/dmsg.h
410
dmsg_msg_t *dmsg_msg_alloc(dmsg_state_t *state, size_t aux_size,
lib/libdmsg/dmsg.h
413
dmsg_msg_t *dmsg_msg_alloc_locked(dmsg_state_t *state, size_t aux_size,
lib/libdmsg/dmsg.h
455
struct iovec *iov, int n, size_t *nactp);
lib/libdmsg/dmsg_local.h
75
uint32_t iscsi_crc32(const void *buf, size_t size);
lib/libdmsg/dmsg_local.h
76
uint32_t iscsi_crc32_ext(const void *buf, size_t size, uint32_t ocrc);
lib/libdmsg/msg.c
1182
size_t hbytes;
lib/libdmsg/msg.c
1183
size_t abytes;
lib/libdmsg/msg.c
1261
size_t nact;
lib/libdmsg/msg.c
1262
size_t hbytes;
lib/libdmsg/msg.c
1263
size_t abytes;
lib/libdmsg/msg.c
1264
size_t hoff;
lib/libdmsg/msg.c
1265
size_t aoff;
lib/libdmsg/msg.c
1293
size_t maxlen = hbytes - hoff;
lib/libdmsg/msg.c
1306
size_t maxlen = abytes - aoff;
lib/libdmsg/msg.c
1422
if ((size_t)nact < hbytes - ioq->hbytes) {
lib/libdmsg/msg.c
1429
if ((size_t)nact < abytes - ioq->abytes) {
lib/libdmsg/msg.c
257
size_t aux_size, uint32_t cmd,
lib/libdmsg/msg.c
272
size_t aux_size, uint32_t cmd,
lib/libdmsg/msg.c
279
size_t aligned_size;
lib/libdmsg/msg.c
333
assert((size_t)hbytes >= sizeof(struct dmsg_hdr));
lib/libdmsg/msg.c
573
size_t
lib/libdmsg/msg.c
574
dmsg_ioq_makeroom(dmsg_ioq_t *ioq, size_t needed)
lib/libdmsg/msg.c
576
size_t bytes;
lib/libdmsg/msg.c
577
size_t nmax;
lib/libdmsg/msg.c
620
size_t bytes;
lib/libdmsg/msg.c
621
size_t nmax;
lib/libdmsg/msg.c
686
ioq->fifo_end += (size_t)n;
lib/libdmsg/msg.c
687
nmax -= (size_t)n;
lib/libdmsg/msg.c
806
ioq->fifo_end += (size_t)n;
lib/libdmsg/msg.c
807
nmax -= (size_t)n;
lib/libdmsg/msg.c
944
ioq->fifo_end += (size_t)n;
lib/libdmsg/msg.c
945
nmax -= (size_t)n;
lib/libdmsg/msg_lnk.c
195
_dmsg_termstr(char *base, size_t size)
lib/libdmsg/service.c
244
size_t len;
lib/libdmsg/subs.c
42
dmsg_alloc(size_t bytes)
lib/libefivar/efivar-dp-format.c
2415
efidp_format_device_path(char *buf, size_t len, const_efidp dp, ssize_t max)
lib/libefivar/efivar-dp-format.c
2440
efidp_format_device_path_node(char *buf, size_t len, const_efidp dp)
lib/libefivar/efivar-dp-format.c
2456
size_t
lib/libefivar/efivar-dp-parse.c
3034
size_t len = (sizeof (FILEPATH_DEVICE_PATH) + StrLen (TextDeviceNode) * 2);
lib/libefivar/efivar-dp-parse.c
3693
efidp_parse_device_path(char *path, efidp out, size_t max)
lib/libefivar/efivar-dp-xlate.c
123
size_t len, mntlen;
lib/libefivar/efivar-dp-xlate.c
433
size_t len;
lib/libefivar/efivar-dp-xlate.c
491
size_t len;
lib/libefivar/efivar-dp-xlate.c
71
size_t len;
lib/libefivar/efivar-dp.h
62
ssize_t efidp_format_device_path(char *buf, size_t len, const_efidp dp,
lib/libefivar/efivar-dp.h
64
ssize_t efidp_format_device_path_node(char *buf, size_t len, const_efidp dp);
lib/libefivar/efivar-dp.h
65
ssize_t efidp_parse_device_path(char *path, efidp out, size_t max);
lib/libefivar/efivar-dp.h
68
size_t efidp_size(const_efidp);
lib/libefivar/efivar.c
147
uint8_t *data, size_t data_size, uint32_t attributes)
lib/libefivar/efivar.c
164
uint8_t **data, size_t *data_size, uint32_t *attributes)
lib/libefivar/efivar.c
204
size_t *size)
lib/libefivar/efivar.c
219
static size_t buflen = 256 * sizeof(efi_char);
lib/libefivar/efivar.c
221
size_t size;
lib/libefivar/efivar.c
307
size_t i;
lib/libefivar/efivar.c
345
size_t i;
lib/libefivar/efivar.c
359
uint8_t *data, size_t data_size, uint32_t attributes)
lib/libefivar/efivar.c
86
size_t i;
lib/libefivar/efivar.h
70
uint8_t *data, size_t data_size, uint32_t attributes);
lib/libefivar/efivar.h
73
uint8_t **data, size_t *data_size, uint32_t *attributes);
lib/libefivar/efivar.h
76
int efi_get_variable_size(efi_guid_t guid, const char *name, size_t *size);
lib/libefivar/efivar.h
85
uint8_t *data, size_t data_size, uint32_t attributes);
lib/libefivar/libefivar.c
124
utf8_to_ucs2(const char *name, efi_char **nmp, size_t *len)
lib/libefivar/libefivar.c
127
size_t sz;
lib/libefivar/libefivar.c
55
static size_t
lib/libefivar/libefivar.c
58
size_t len;
lib/libefivar/libefivar.c
78
size_t len, sz;
lib/libefivar/libefivar_int.h
33
int utf8_to_ucs2(const char *, efi_char **, size_t *);
lib/libefivar/uefi-dplib.h
554
AllocateCopyPool(size_t l, const void *p)
lib/libefivar/uefi-dplib.h
582
StrHexToBytes(const char *str, size_t len, uint8_t *buf, size_t buflen)
lib/libefivar/uefi-dplib.h
584
size_t i;
lib/libevtr/evtr.c
1041
size_t skipsize, intsz;
lib/libevtr/evtr.c
1093
intsz = sizeof(size_t);
lib/libevtr/evtr.c
1452
evtr_read(evtr_t evtr, void *buf, size_t size)
lib/libevtr/evtr.c
399
evtr_event_data(evtr_event_t ev, char *buf, size_t len)
lib/libevtr/evtr.c
922
evtr_write(evtr_t evtr, const void *buf, size_t bytes)
lib/libevtr/evtr.c
944
size_t pad;
lib/libevtr/evtr.c
961
evtr_dump_avoid_boundary(evtr_t evtr, size_t bytes)
lib/libevtr/evtr.h
187
void evtr_event_data(evtr_event_t, char *, size_t);
lib/libevtr/internal.h
41
size_t errbufsz;
lib/libevtr/internal.h
54
int parse_string(evtr_event_t, struct symtab *, const char *, char *, size_t);
lib/libevtr/internal.h
56
char *, size_t);
lib/libevtr/ktrfmt.tab.c
1982
char *errbuf, size_t errbufsz)
lib/libevtr/ktrfmt.tab.c
2004
char *errbuf, size_t errbufsz)
lib/libevtr/ktrfmt.tab.c
330
# elif defined size_t
lib/libevtr/ktrfmt.tab.c
331
# define YYSIZE_T size_t
lib/libevtr/ktrfmt.tab.c
335
# define YYSIZE_T size_t
lib/libevtr/ktrfmt.y
338
char *errbuf, size_t errbufsz)
lib/libevtr/ktrfmt.y
360
char *errbuf, size_t errbufsz)
lib/libevtr/ktrfmt.yy.c
178
typedef size_t yy_size_t;
lib/libevtr/ktrfmt.yy.c
273
static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
lib/libevtr/ktrfmt.yy.c
274
static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
lib/libevtr/ktrfmt.yy.c
381
__ktrfmtleng = (size_t) (yy_cp - yy_bp); \
lib/libevtr/ktrfmt.yy.c
653
size_t n; \
lib/libevtr/ktrfmt.yy.c
835
size_t len;
lib/libexecinfo/backtrace.c
112
format_string(char **buf, size_t *bufsiz, size_t offs, const char *fmt,
lib/libexecinfo/backtrace.c
116
size_t o = offs;
lib/libexecinfo/backtrace.c
154
format_address(symtab_t *st, char **buf, size_t *bufsiz, size_t offs,
lib/libexecinfo/backtrace.c
175
backtrace_symbols_fmt(void *const *trace, size_t len, const char *fmt)
lib/libexecinfo/backtrace.c
178
static const size_t slen = sizeof(char *) + 64; /* estimate */
lib/libexecinfo/backtrace.c
179
size_t psize, offs;
lib/libexecinfo/backtrace.c
196
for (size_t i = 0; i < len; i++) {
lib/libexecinfo/backtrace.c
211
for (size_t j = 0; j < len; j++)
lib/libexecinfo/backtrace.c
223
backtrace_symbols_fd_fmt(void *const *trace, size_t len, int fd,
lib/libexecinfo/backtrace.c
229
for (size_t i = 0; i < len; i++)
lib/libexecinfo/backtrace.c
239
backtrace_symbols(void *const *trace, size_t len)
lib/libexecinfo/backtrace.c
245
backtrace_symbols_fd(void *const *trace, size_t len, int fd)
lib/libexecinfo/backtrace.c
64
size_t len;
lib/libexecinfo/backtrace.c
75
rasprintf(char **buf, size_t *bufsiz, size_t offs, const char *fmt, ...)
lib/libexecinfo/backtrace.c
78
size_t nbufsiz;
lib/libexecinfo/backtrace.c
89
if (len < 0 || (size_t)len + 1 < *bufsiz - offs)
lib/libexecinfo/backtrace.c
91
nbufsiz = MAX(*bufsiz + 512, (size_t)len + 1);
lib/libexecinfo/builtin.c
52
size_t
lib/libexecinfo/builtin.c
53
backtrace(void **trace, size_t len)
lib/libexecinfo/builtin.c
58
for (size_t i = 0; i < len; i++) {
lib/libexecinfo/execinfo.h
39
size_t backtrace(void **, size_t);
lib/libexecinfo/execinfo.h
40
char **backtrace_symbols(void *const *, size_t);
lib/libexecinfo/execinfo.h
41
int backtrace_symbols_fd(void *const *, size_t, int);
lib/libexecinfo/execinfo.h
42
char **backtrace_symbols_fmt(void *const *, size_t, const char *);
lib/libexecinfo/execinfo.h
43
int backtrace_symbols_fd_fmt(void *const *, size_t, int, const char *);
lib/libexecinfo/private_libelf.h
1007
static size_t
lib/libexecinfo/private_libelf.h
1008
_libelf_fsize(Elf_Type t, int ec, unsigned int v, size_t c)
lib/libexecinfo/private_libelf.h
1010
size_t sz;
lib/libexecinfo/private_libelf.h
1027
static size_t
lib/libexecinfo/private_libelf.h
1028
elf64_fsize(Elf_Type t, size_t c, unsigned int v)
lib/libexecinfo/private_libelf.h
1141
if ((d = calloc((size_t) 1, sizeof(*d))) == NULL) {
lib/libexecinfo/private_libelf.h
1164
_libelf_allocate_scn(Elf *e, size_t ndx)
lib/libexecinfo/private_libelf.h
1168
if ((s = calloc((size_t) 1, sizeof(Elf_Scn))) == NULL) {
lib/libexecinfo/private_libelf.h
1381
_libelf_cvt_ADDR64_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1382
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1385
size_t c;
lib/libexecinfo/private_libelf.h
1405
_libelf_cvt_CAP64_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1406
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1410
size_t fsz;
lib/libexecinfo/private_libelf.h
1412
fsz = elf64_fsize(ELF_T_CAP, (size_t) 1, EV_CURRENT);
lib/libexecinfo/private_libelf.h
1438
_libelf_cvt_DYN64_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1439
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1443
size_t fsz;
lib/libexecinfo/private_libelf.h
1445
fsz = elf64_fsize(ELF_T_DYN, (size_t) 1, EV_CURRENT);
lib/libexecinfo/private_libelf.h
1471
_libelf_cvt_EHDR64_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1472
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1476
size_t fsz;
lib/libexecinfo/private_libelf.h
1478
fsz = elf64_fsize(ELF_T_EHDR, (size_t) 1, EV_CURRENT);
lib/libexecinfo/private_libelf.h
1528
_libelf_cvt_HALF_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1529
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1532
size_t c;
lib/libexecinfo/private_libelf.h
1552
_libelf_cvt_LWORD_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1553
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1556
size_t c;
lib/libexecinfo/private_libelf.h
1576
_libelf_cvt_MOVE64_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1577
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1581
size_t fsz;
lib/libexecinfo/private_libelf.h
1583
fsz = elf64_fsize(ELF_T_MOVE, (size_t) 1, EV_CURRENT);
lib/libexecinfo/private_libelf.h
1615
_libelf_cvt_OFF64_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1616
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1619
size_t c;
lib/libexecinfo/private_libelf.h
1639
_libelf_cvt_PHDR64_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1640
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1644
size_t fsz;
lib/libexecinfo/private_libelf.h
1646
fsz = elf64_fsize(ELF_T_PHDR, (size_t) 1, EV_CURRENT);
lib/libexecinfo/private_libelf.h
1684
_libelf_cvt_REL64_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1685
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1689
size_t fsz;
lib/libexecinfo/private_libelf.h
1691
fsz = elf64_fsize(ELF_T_REL, (size_t) 1, EV_CURRENT);
lib/libexecinfo/private_libelf.h
1717
_libelf_cvt_RELA64_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1718
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1722
size_t fsz;
lib/libexecinfo/private_libelf.h
1724
fsz = elf64_fsize(ELF_T_RELA, (size_t) 1, EV_CURRENT);
lib/libexecinfo/private_libelf.h
1752
_libelf_cvt_SHDR64_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1753
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1757
size_t fsz;
lib/libexecinfo/private_libelf.h
1759
fsz = elf64_fsize(ELF_T_SHDR, (size_t) 1, EV_CURRENT);
lib/libexecinfo/private_libelf.h
1801
_libelf_cvt_SWORD_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1802
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1805
size_t c;
lib/libexecinfo/private_libelf.h
1825
_libelf_cvt_SXWORD_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1826
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1829
size_t c;
lib/libexecinfo/private_libelf.h
1849
_libelf_cvt_SYMINFO64_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1850
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1854
size_t fsz;
lib/libexecinfo/private_libelf.h
1856
fsz = elf64_fsize(ELF_T_SYMINFO, (size_t) 1, EV_CURRENT);
lib/libexecinfo/private_libelf.h
1882
_libelf_cvt_SYM64_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1883
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1887
size_t fsz;
lib/libexecinfo/private_libelf.h
1889
fsz = elf64_fsize(ELF_T_SYM, (size_t) 1, EV_CURRENT);
lib/libexecinfo/private_libelf.h
1923
_libelf_cvt_WORD_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1924
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1927
size_t c;
lib/libexecinfo/private_libelf.h
1947
_libelf_cvt_XWORD_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1948
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1951
size_t c;
lib/libexecinfo/private_libelf.h
1971
_libelf_cvt_VDEF64_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
1972
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
1976
const size_t verfsz = 20;
lib/libexecinfo/private_libelf.h
1977
const size_t auxfsz = 8;
lib/libexecinfo/private_libelf.h
1978
const size_t vermsz = sizeof(Elf64_Verdef);
lib/libexecinfo/private_libelf.h
1979
const size_t auxmsz = sizeof(Elf64_Verdaux);
lib/libexecinfo/private_libelf.h
2058
_libelf_cvt_VNEED64_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
2059
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
2063
const size_t verfsz = 16;
lib/libexecinfo/private_libelf.h
2064
const size_t auxfsz = 16;
lib/libexecinfo/private_libelf.h
2065
const size_t vermsz = sizeof(Elf64_Verneed);
lib/libexecinfo/private_libelf.h
2066
const size_t auxmsz = sizeof(Elf64_Vernaux);
lib/libexecinfo/private_libelf.h
2147
_libelf_cvt_BYTE_tox(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
2148
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
2159
_libelf_cvt_GNUHASH64_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
2160
size_t srcsz, int byteswap)
lib/libexecinfo/private_libelf.h
2162
size_t sz;
lib/libexecinfo/private_libelf.h
2245
_libelf_cvt_NOTE_tom(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
2246
size_t count, int byteswap)
lib/libexecinfo/private_libelf.h
2250
size_t sz, hdrsz;
lib/libexecinfo/private_libelf.h
2307
int (*tof32)(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
2308
size_t cnt, int byteswap);
lib/libexecinfo/private_libelf.h
2309
int (*tom32)(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
2310
size_t cnt, int byteswap);
lib/libexecinfo/private_libelf.h
2311
int (*tof64)(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
2312
size_t cnt, int byteswap);
lib/libexecinfo/private_libelf.h
2313
int (*tom64)(unsigned char *dst, size_t dsz, unsigned char *src,
lib/libexecinfo/private_libelf.h
2314
size_t cnt, int byteswap);
lib/libexecinfo/private_libelf.h
2372
(unsigned char *_dst, size_t dsz, unsigned char *_src, size_t _cnt,
lib/libexecinfo/private_libelf.h
2402
size_t fsz;
lib/libexecinfo/private_libelf.h
2403
int (*xlator)(unsigned char *_d, size_t _dsz, unsigned char *_s,
lib/libexecinfo/private_libelf.h
2404
size_t _c, int _swap);
lib/libexecinfo/private_libelf.h
2417
if ((scn = _libelf_allocate_scn(e, (size_t) 0)) == NULL)
lib/libexecinfo/private_libelf.h
2422
(unsigned char *) e->e_rawfile + shoff, (size_t) 1,
lib/libexecinfo/private_libelf.h
2433
e->e_u.e_elf.e_nscn = (size_t) GET_SHDR_MEMBER(sh_size);
lib/libexecinfo/private_libelf.h
2461
size_t fsz, msz;
lib/libexecinfo/private_libelf.h
2464
int (*xlator)(unsigned char *_d, size_t _dsz, unsigned char *_s,
lib/libexecinfo/private_libelf.h
2465
size_t _c, int _swap);
lib/libexecinfo/private_libelf.h
2497
fsz = _libelf_fsize(ELF_T_EHDR, ec, e->e_version, (size_t) 1);
lib/libexecinfo/private_libelf.h
2509
if ((ehdr = calloc((size_t) 1, msz)) == NULL) {
lib/libexecinfo/private_libelf.h
2532
(*xlator)((unsigned char*) ehdr, msz, e->e_rawfile, (size_t) 1,
lib/libexecinfo/private_libelf.h
2606
size_t fsz, i, shnum;
lib/libexecinfo/private_libelf.h
2607
int (*xlator)(unsigned char *_d, size_t _dsz, unsigned char *_s,
lib/libexecinfo/private_libelf.h
2608
size_t _c, int _swap);
lib/libexecinfo/private_libelf.h
2625
fsz = _libelf_fsize(ELF_T_SHDR, ec, e->e_version, (size_t) 1);
lib/libexecinfo/private_libelf.h
2667
src, (size_t) 1, swapbytes);
lib/libexecinfo/private_libelf.h
2689
elf_getscn(Elf *e, size_t index)
lib/libexecinfo/private_libelf.h
2719
_libelf_memory(unsigned char *image, size_t sz, int reporterror)
lib/libexecinfo/private_libelf.h
2771
strncmp((const char *) image, ARMAG, (size_t) SARMAG) == 0)
lib/libexecinfo/private_libelf.h
2782
_libelf_read_special_file(int fd, size_t *fsz)
lib/libexecinfo/private_libelf.h
2785
size_t bufsz, datasz;
lib/libexecinfo/private_libelf.h
2812
datasz += (size_t) readsz;
lib/libexecinfo/private_libelf.h
2856
size_t fsize;
lib/libexecinfo/private_libelf.h
2868
fsize = (size_t) sb.st_size;
lib/libexecinfo/private_libelf.h
3234
size_t msz;
lib/libexecinfo/private_libelf.h
3272
if (msz * (size_t) ndx >= d->d_data.d_size) {
lib/libexecinfo/private_libelf.h
3308
return (s == NULL ? elf_getscn(e, (size_t) 1) :
lib/libexecinfo/private_libelf.h
3314
elf_strptr(Elf *e, size_t scndx, size_t offset)
lib/libexecinfo/private_libelf.h
3414
size_t count, fsz, msz;
lib/libexecinfo/private_libelf.h
3417
int (*xlate)(unsigned char *_d, size_t _dsz, unsigned char *_s,
lib/libexecinfo/private_libelf.h
3418
size_t _c, int _swap);
lib/libexecinfo/private_libelf.h
3477
(elftype, (size_t) 1, e->e_version)) == 0) {
lib/libexecinfo/private_libelf.h
3492
count = (size_t) (sh_size / fsz);
lib/libexecinfo/private_libelf.h
3529
if (!(*xlate)(d->d_data.d_buf, (size_t) d->d_data.d_size,
lib/libexecinfo/private_libelf.h
677
size_t ar_size;
lib/libexecinfo/private_libelf.h
740
char *elf_strptr(Elf *_elf, size_t _section, size_t _offset);
lib/libexecinfo/private_libelf.h
818
size_t e_rawsize; /* size of uninterpreted bytes */
lib/libexecinfo/private_libelf.h
835
size_t e_rawstrtabsz;
lib/libexecinfo/private_libelf.h
837
size_t e_rawsymtabsz;
lib/libexecinfo/private_libelf.h
839
size_t e_symtabsz;
lib/libexecinfo/private_libelf.h
855
size_t e_nphdr; /* number of Phdr entries */
lib/libexecinfo/private_libelf.h
856
size_t e_nscn; /* number of sections */
lib/libexecinfo/private_libelf.h
857
size_t e_strndx; /* string table section index */
lib/libexecinfo/private_libelf.h
884
size_t s_ndx; /* index# for this section */
lib/libexecinfo/private_libelf.h
909
size_t msz64;
lib/libexecinfo/private_libelf.h
939
static size_t
lib/libexecinfo/private_libelf.h
942
size_t sz;
lib/libexecinfo/private_libelf.h
959
size_t fsz64;
lib/libexecinfo/symtab.c
112
size_t ns;
lib/libexecinfo/symtab.c
129
for (size_t i = 0; i < ns; i++) {
lib/libexecinfo/symtab.c
171
size_t ns = st->nsymbols;
lib/libexecinfo/symtab.c
172
size_t hi = ns;
lib/libexecinfo/symtab.c
173
size_t lo = 0;
lib/libexecinfo/symtab.c
174
size_t mid = ns / 2;
lib/libexecinfo/symtab.c
62
size_t nsymbols;
lib/libexecinfo/symtab.c
79
for (size_t i = 0; i < s->nsymbols; i++)
lib/libexecinfo/unwind.c
40
size_t len;
lib/libexecinfo/unwind.c
41
size_t n;
lib/libexecinfo/unwind.c
48
if (t->n == (size_t)~0) {
lib/libexecinfo/unwind.c
58
size_t
lib/libexecinfo/unwind.c
59
backtrace(void **arr, size_t len)
lib/libexecinfo/unwind.c
65
ctx.n = (size_t)~0;
lib/libexecinfo/unwind.c
68
if (ctx.n != (size_t)~0 && ctx.n > 0)
lib/libfetch/common.c
1298
fetch_ssl_read(SSL *ssl, char *buf, size_t len)
lib/libfetch/common.c
1319
fetch_socket_read(int sd, char *buf, size_t len)
lib/libfetch/common.c
1337
fetch_read(conn_t *conn, char *buf, size_t len)
lib/libfetch/common.c
1420
size_t tmpsize;
lib/libfetch/common.c
1464
fetch_write(conn_t *conn, const char *buf, size_t len)
lib/libfetch/common.c
1555
fetch_putln(conn_t *conn, const char *str, size_t len)
lib/libfetch/common.c
1774
size_t h_len, d_len;
lib/libfetch/common.c
533
size_t slen;
lib/libfetch/common.c
734
fetch_ssl_hname_equal(const char *a, size_t alen, const char *b,
lib/libfetch/common.c
735
size_t blen)
lib/libfetch/common.c
737
size_t i;
lib/libfetch/common.c
755
fetch_ssl_is_trad_domain_label(const char *l, size_t len, int wcok)
lib/libfetch/common.c
757
size_t i;
lib/libfetch/common.c
776
fetch_ssl_hname_is_only_numbers(const char *hostname, size_t len)
lib/libfetch/common.c
778
size_t i;
lib/libfetch/common.c
795
fetch_ssl_hname_match(const char *h, size_t hlen, const char *m,
lib/libfetch/common.c
796
size_t mlen)
lib/libfetch/common.c
864
fetch_ssl_get_numeric_addrinfo(const char *hostname, size_t len)
lib/libfetch/common.c
889
size_t rhostlen)
lib/libfetch/common.c
912
size_t rlen)
lib/libfetch/common.c
948
size_t nslen;
lib/libfetch/common.c
971
nslen = (size_t)ASN1_STRING_length(name->d.ia5);
lib/libfetch/common.h
125
ssize_t fetch_read(conn_t *, char *, size_t);
lib/libfetch/common.h
127
ssize_t fetch_write(conn_t *, const char *, size_t);
lib/libfetch/common.h
129
int fetch_putln(conn_t *, const char *, size_t);
lib/libfetch/common.h
54
size_t bufsize; /* buffer size */
lib/libfetch/common.h
55
size_t buflen; /* length of buffer contents */
lib/libfetch/fetch.c
320
fetch_pctdecode(char *dst, const char *src, size_t dlen)
lib/libfetch/fetch.h
50
size_t length;
lib/libfetch/ftp.c
184
size_t len;
lib/libfetch/ftp.c
236
ftp_pwd(conn_t *conn, char *pwd, size_t pwdlen)
lib/libfetch/http.c
136
size_t bufsize; /* size of chunk buffer */
lib/libfetch/http.c
137
size_t buflen; /* amount of data currently in buffer */
lib/libfetch/http.c
138
size_t bufpos; /* current read offset in buffer */
lib/libfetch/http.c
141
size_t chunksize; /* remaining size of current chunk */
lib/libfetch/http.c
143
size_t total;
lib/libfetch/http.c
1484
size_t len;
lib/libfetch/http.c
1558
size_t body_len;
lib/libfetch/http.c
194
http_growbuf(struct httpio *io, size_t len)
lib/libfetch/http.c
212
http_fillbuf(struct httpio *io, size_t len)
lib/libfetch/http.c
395
size_t len;
lib/libfetch/http.c
500
size_t bufsize; /* buffer size */
lib/libfetch/http.c
501
size_t buflen; /* length of buffer contents */
lib/libfetch/http.c
715
size_t l;
lib/libfetch/http.c
978
size_t l;
lib/libfsid/libfsid.c
132
fsid_dev_read(const char *dev, off_t off, size_t len, char *buf)
lib/libfsid/libfsid.h
89
int fsid_dev_read(const char *dev, off_t off, size_t len, char *buf);
lib/libftpio/ftpio.c
207
if ((size_t)snprintf(p, sizeof(p), "SIZE %s\r\n", name) >= sizeof(p))
lib/libftpio/ftpio.c
234
if ((size_t)snprintf(p, sizeof(p), "MDTM %s\r\n", name) >= sizeof(p))
lib/libftpio/ftpio.c
451
get_url_info(const char *url_in, char *host_ret, size_t host_len,
lib/libftpio/ftpio.c
452
int *port_ret, char *name_ret, size_t name_len)
lib/libftpio/ftpio.c
70
size_t host_len, int *port_ret,
lib/libftpio/ftpio.c
701
if ((size_t)vsnprintf(p, sizeof p - 2, fmt, ap) >= sizeof(p) - 2)
lib/libftpio/ftpio.c
71
char *name_ret, size_t name_len);
lib/libftpio/ftpio.c
748
if ((size_t)snprintf(pbuf, sizeof(pbuf), "%d", port) >= sizeof(pbuf))
lib/libhammer/libhammer.h
165
void *_libhammer_malloc(size_t);
lib/libhammer/misc.c
156
_libhammer_malloc(size_t len)
lib/libhammer/misc.c
60
size_t mntbufsize;
lib/libhammer/stats.c
45
size_t len;
lib/libkcore/kcore.c
102
void *data, size_t len)
lib/libkcore/kcore.h
80
int kcore_get_files(struct kcore_data *, struct kinfo_file **, size_t *);
lib/libkcore/kcore.h
84
size_t *len);
lib/libkcore/kcore_file.c
54
kcore_get_files(struct kcore_data *kc, struct kinfo_file **files, size_t *len)
lib/libkcore/kcore_file.c
60
size_t len_procs;
lib/libkcore/kcore_private.h
50
int kcore_get_generic(struct kcore_data *, struct nlist *, void *, size_t);
lib/libkcore/kcore_proc.c
49
kcore_get_procs(struct kcore_data *kc, struct kinfo_proc **procs, size_t *len)
lib/libkcore/kcore_sched.c
70
size_t len;
lib/libkiconv/kiconv_sysctl.c
41
size_t size;
lib/libkiconv/kiconv_sysctl.c
67
size_t i, size;
lib/libkiconv/quirks.c
120
size_t i;
lib/libkiconv/quirks.c
142
size_t *num_of_replaces)
lib/libkiconv/quirks.c
144
size_t i;
lib/libkiconv/quirks.c
161
quirk_vendor2unix(uint16_t c, struct quirk_replace_list *replace_list, size_t num)
lib/libkiconv/quirks.c
163
size_t i;
lib/libkiconv/quirks.c
173
quirk_unix2vendor(uint16_t c, struct quirk_replace_list *replace_list, size_t num)
lib/libkiconv/quirks.c
175
size_t i;
lib/libkiconv/quirks.c
97
size_t num_of_replaces;
lib/libkiconv/quirks.h
37
struct quirk_replace_list **, size_t *);
lib/libkiconv/quirks.h
40
size_t);
lib/libkiconv/quirks.h
43
size_t);
lib/libkiconv/xlat16_iconv.c
150
size_t inbytesleft, outbytesleft, pre_q_size, post_q_size;
lib/libkiconv/xlat16_iconv.c
312
static size_t
lib/libkiconv/xlat16_iconv.c
313
my_iconv_char(iconv_t cd, u_char **ibuf, size_t * ilen, u_char **obuf,
lib/libkiconv/xlat16_iconv.c
314
size_t * olen)
lib/libkiconv/xlat16_iconv.c
319
size_t ir, or;
lib/libkiconv/xlat16_iconv.c
350
(size_t)-1) {
lib/libkiconv/xlat16_iconv.c
405
(size_t)-1) {
lib/libkiconv/xlat16_iconv.c
56
size_t size;
lib/libkiconv/xlat16_iconv.c
66
static size_t my_iconv_char(iconv_t, u_char **, size_t *, u_char **, size_t *);
lib/libkiconv/xlat16_iconv.c
72
size_t idxsize;
lib/libkiconv/xlat16_sysctl.c
55
size_t olen;
lib/libkinfo/kinfo.h
48
int kinfo_get_files(struct kinfo_file **, size_t *);
lib/libkinfo/kinfo_file.c
49
kinfo_get_files(struct kinfo_file **file_buf, size_t *len)
lib/libkinfo/kinfo_file.c
53
size_t new_len;
lib/libkinfo/kinfo_file.c
86
size_t len = sizeof(*maxfiles);
lib/libkinfo/kinfo_file.c
95
size_t len = sizeof(*openfiles);
lib/libkinfo/kinfo_net.c
53
size_t len = sizeof(struct rtstatistics) * SMP_MAXCPU;
lib/libkinfo/kinfo_sched.c
107
size_t len = sizeof(clockinfo);
lib/libkinfo/kinfo_sched.c
122
size_t len = sizeof(clockinfo);
lib/libkinfo/kinfo_sched.c
47
size_t len = sizeof(*ncpus);
lib/libkinfo/kinfo_sched.c
56
size_t len = sizeof(struct kinfo_cputime) * SMP_MAXCPU;
lib/libkinfo/kinfo_sched.c
92
size_t len = sizeof(clockinfo);
lib/libkinfo/kinfo_tty.c
46
size_t len = sizeof(*tk_nin);
lib/libkinfo/kinfo_tty.c
54
size_t len = sizeof(*tk_nout);
lib/libkinfo/kinfo_vfs.c
47
size_t len = sizeof(*bufspace);
lib/libkvm/kvm.c
125
_kvm_malloc(kvm_t *kd, size_t n)
lib/libkvm/kvm.c
362
kvm_read(kvm_t *kd, u_long kva, void *buf, size_t len)
lib/libkvm/kvm.c
432
kvm_readstr(kvm_t *kd, u_long kva, char *buf, size_t *lenp)
lib/libkvm/kvm.c
434
size_t len, cc, pos;
lib/libkvm/kvm.c
486
size_t left = 0;
lib/libkvm/kvm.c
529
kvm_write(kvm_t *kd, u_long kva, const void *buf, size_t len)
lib/libkvm/kvm.h
82
char *kvm_readstr (kvm_t *, u_long, char *, size_t *);
lib/libkvm/kvm_file.c
180
size_t size;
lib/libkvm/kvm_file.c
94
size_t size;
lib/libkvm/kvm_getloadavg.c
92
nelem = MIN((size_t)nelem, sizeof(loadinfo.ldavg) / sizeof(__uint64_t));
lib/libkvm/kvm_getswapinfo.c
420
size_t bytes = 0;
lib/libkvm/kvm_getswapinfo.c
421
size_t ksize;
lib/libkvm/kvm_private.h
101
void *_kvm_malloc (kvm_t *kd, size_t);
lib/libkvm/kvm_private.h
102
void *_kvm_realloc (kvm_t *kd, void *, size_t);
lib/libkvm/kvm_proc.c
470
size_t size;
lib/libkvm/kvm_proc.c
551
_kvm_realloc(kvm_t *kd, void *p, size_t n)
lib/libkvm/kvm_proc.c
688
size_t off;
lib/libkvm/kvm_proc.c
769
size_t len;
lib/libkvm/kvm_proc.c
796
size_t len;
lib/libkvm/kvm_proc.c
834
size_t bufsz;
lib/libkvm/kvm_proc.c
88
size_t pos = bp - kd->procend;
lib/libkvm/kvm_proc.c
89
size_t size = kd->procend - kd->procbase;
lib/libkvm/kvm_proc.c
913
kvm_uread(kvm_t *kd, pid_t pid, u_long uva, char *buf, size_t len)
lib/libkvm/kvm_vm_map.c
49
size_t nb;
lib/libkvm/kvm_x86_64.c
109
static size_t
lib/libkvm/kvm_x86_64.c
118
return (PAGE_SIZE - ((size_t)pa & PAGE_MASK));
lib/libkvm/kvm_x86_64.c
129
return (PAGE_SIZE - ((size_t)pa & PAGE_MASK));
lib/libkvm/kvm_x86_64.c
158
size_t hdrsz;
lib/libkvm/kvm_x86_64.c
240
size_t s;
lib/libkvm/kvm_x86_64.c
71
size_t mmapsize;
lib/libkvm/kvm_x86_64.c
81
_kvm_maphdrs(kvm_t *kd, size_t sz)
lib/libldns/ldns/config.h
678
int ldns_b64_ntop(uint8_t const *src, size_t srclength,
lib/libldns/ldns/config.h
679
char *target, size_t targsize);
lib/libldns/ldns/config.h
684
static inline size_t ldns_b64_ntop_calculate_size(size_t srcsize)
lib/libldns/ldns/config.h
688
int ldns_b64_pton(char const *src, uint8_t *target, size_t targsize);
lib/libldns/ldns/config.h
693
static inline size_t ldns_b64_pton_calculate_size(size_t srcsize)
lib/libldns/ldns/config.h
732
int snprintf (char *str, size_t count, const char *fmt, ...);
lib/libldns/ldns/config.h
733
int vsnprintf (char *str, size_t count, const char *fmt, va_list arg);
lib/libldns/ldns/config.h
739
const char *inet_ntop(int af, const void *src, char *dst, size_t size);
lib/libldns/ldns/config.h
745
void *memmove(void *dest, const void *src, size_t n);
lib/libldns/ldns/config.h
748
size_t strlcpy(char *dst, const char *src, size_t siz);
lib/libldns/ldns/net.h
103
ldns_status ldns_tcp_send(uint8_t **result, ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *answersize);
lib/libldns/ldns/net.h
197
uint8_t *ldns_tcp_read_wire_timeout(int sockfd, size_t *size, struct timeval timeout);
lib/libldns/ldns/net.h
208
uint8_t *ldns_tcp_read_wire(int sockfd, size_t *size);
lib/libldns/ldns/net.h
220
uint8_t *ldns_udp_read_wire(int sockfd, size_t *size, struct sockaddr_storage *fr, socklen_t *frlen);
lib/libldns/ldns/net.h
230
struct sockaddr_storage * ldns_rdf2native_sockaddr_storage(const ldns_rdf *rd, uint16_t port, size_t *size);
lib/libldns/ldns/net.h
42
ldns_status ldns_udp_send(uint8_t **result, ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *answersize);
lib/libldns/ldns/util.h
187
int ldns_get_bit(uint8_t bits[], size_t index);
lib/libldns/ldns/util.h
198
int ldns_get_bit_r(uint8_t bits[], size_t index);
lib/libldns/ldns/util.h
329
char *ldns_bubblebabble(uint8_t *data, size_t len);
lib/libldns/ldns/util.h
339
INLINE size_t ldns_b32_ntop_calculate_size(size_t src_data_length)
lib/libldns/ldns/util.h
344
INLINE size_t ldns_b32_ntop_calculate_size_no_padding(size_t src_data_length)
lib/libldns/ldns/util.h
349
int ldns_b32_ntop(const uint8_t* src_data, size_t src_data_length,
lib/libldns/ldns/util.h
350
char* target_text_buffer, size_t target_text_buffer_size);
lib/libldns/ldns/util.h
352
int ldns_b32_ntop_extended_hex(const uint8_t* src_data, size_t src_data_length,
lib/libldns/ldns/util.h
353
char* target_text_buffer, size_t target_text_buffer_size);
lib/libldns/ldns/util.h
357
int b32_ntop(const uint8_t* src_data, size_t src_data_length,
lib/libldns/ldns/util.h
358
char* target_text_buffer, size_t target_text_buffer_size);
lib/libldns/ldns/util.h
360
int b32_ntop_extended_hex(const uint8_t* src_data, size_t src_data_length,
lib/libldns/ldns/util.h
361
char* target_text_buffer, size_t target_text_buffer_size);
lib/libldns/ldns/util.h
370
INLINE size_t ldns_b32_pton_calculate_size(size_t src_text_length)
lib/libldns/ldns/util.h
375
int ldns_b32_pton(const char* src_text, size_t src_text_length,
lib/libldns/ldns/util.h
376
uint8_t* target_data_buffer, size_t target_data_buffer_size);
lib/libldns/ldns/util.h
378
int ldns_b32_pton_extended_hex(const char* src_text, size_t src_text_length,
lib/libldns/ldns/util.h
379
uint8_t* target_data_buffer, size_t target_data_buffer_size);
lib/libldns/ldns/util.h
383
int b32_pton(const char* src_text, size_t src_text_length,
lib/libldns/ldns/util.h
384
uint8_t* target_data_buffer, size_t target_data_buffer_size);
lib/libldns/ldns/util.h
386
int b32_pton_extended_hex(const char* src_text, size_t src_text_length,
lib/libldns/ldns/util.h
387
uint8_t* target_data_buffer, size_t target_data_buffer_size);
lib/libnetgraph/msg.c
158
const struct ng_mesg *msg, const void *args, size_t arglen)
lib/libnetgraph/msg.c
176
const struct ng_mesg *hdr, const void *args, size_t arglen)
lib/libnetgraph/msg.c
241
NgRecvMsg(int cs, struct ng_mesg *rep, size_t replen, char *path)
lib/libnetgraph/msg.c
279
NgRecvAsciiMsg(int cs, struct ng_mesg *reply, size_t replen, char *path)
lib/libnetgraph/msg.c
57
const struct ng_mesg *hdr, const void *args, size_t arglen);
lib/libnetgraph/msg.c
66
int cookie, int cmd, const void *args, size_t arglen)
lib/libnetgraph/netgraph.h
53
int NgSendMsg(int, const char *, int, int, const void *, size_t);
lib/libnetgraph/netgraph.h
56
const struct ng_mesg *, const void *, size_t);
lib/libnetgraph/netgraph.h
57
int NgRecvMsg(int, struct ng_mesg *, size_t, char *);
lib/libnetgraph/netgraph.h
58
int NgRecvAsciiMsg(int, struct ng_mesg *, size_t, char *);
lib/libnetgraph/netgraph.h
59
int NgSendData(int, const char *, const u_char *, size_t);
lib/libnetgraph/netgraph.h
60
int NgRecvData(int, u_char *, size_t, char *);
lib/libnetgraph/sock.c
212
NgRecvData(int ds, u_char * buf, size_t len, char *hook)
lib/libnetgraph/sock.c
251
NgSendData(int ds, const char *hook, const u_char * buf, size_t len)
lib/libnetgraph7/msg.c
165
const struct ng_mesg *msg, const void *args, size_t arglen)
lib/libnetgraph7/msg.c
183
const struct ng_mesg *hdr, const void *args, size_t arglen)
lib/libnetgraph7/msg.c
266
NgRecvMsg(int cs, struct ng_mesg *rep, size_t replen, char *path)
lib/libnetgraph7/msg.c
322
NgRecvAsciiMsg(int cs, struct ng_mesg *reply, size_t replen, char *path)
lib/libnetgraph7/msg.c
57
const struct ng_mesg *hdr, const void *args, size_t arglen);
lib/libnetgraph7/msg.c
66
int cookie, int cmd, const void *args, size_t arglen)
lib/libnetgraph7/netgraph.h
53
int NgSendMsg(int, const char *, int, int, const void *, size_t);
lib/libnetgraph7/netgraph.h
56
const struct ng_mesg *, const void *, size_t);
lib/libnetgraph7/netgraph.h
57
int NgRecvMsg(int, struct ng_mesg *, size_t, char *);
lib/libnetgraph7/netgraph.h
59
int NgRecvAsciiMsg(int, struct ng_mesg *, size_t, char *);
lib/libnetgraph7/netgraph.h
61
int NgSendData(int, const char *, const u_char *, size_t);
lib/libnetgraph7/netgraph.h
62
int NgRecvData(int, u_char *, size_t, char *);
lib/libnetgraph7/sock.c
212
NgRecvData(int ds, u_char * buf, size_t len, char *hook)
lib/libnetgraph7/sock.c
269
NgSendData(int ds, const char *hook, const u_char * buf, size_t len)
lib/libnvmm/libnvmm.c
126
size_t size)
lib/libnvmm/libnvmm.c
442
size_t size, int prot)
lib/libnvmm/libnvmm.c
468
size_t size)
lib/libnvmm/libnvmm.c
491
nvmm_hva_map(struct nvmm_machine *mach, uintptr_t hva, size_t size)
lib/libnvmm/libnvmm.c
508
nvmm_hva_unmap(struct nvmm_machine *mach, uintptr_t hva, size_t size)
lib/libnvmm/libnvmm.c
556
nvmm_ctl(int op, void *data, size_t size)
lib/libnvmm/libnvmm.c
57
size_t size;
lib/libnvmm/libnvmm.c
68
__area_isvalid(struct nvmm_machine *mach, gpaddr_t gpa, size_t size)
lib/libnvmm/libnvmm.c
91
__area_add(struct nvmm_machine *mach, uintptr_t hva, gpaddr_t gpa, size_t size,
lib/libnvmm/libnvmm_x86.c
1834
fsm_read(struct x86_decode_fsm *fsm, uint8_t *bytes, size_t n)
lib/libnvmm/libnvmm_x86.c
1844
fsm_advance(struct x86_decode_fsm *fsm, size_t n,
lib/libnvmm/libnvmm_x86.c
1856
resolve_special_register(struct x86_instr *instr, uint8_t enc, size_t regsize)
lib/libnvmm/libnvmm_x86.c
1873
size_t adrsize;
lib/libnvmm/libnvmm_x86.c
1902
size_t adrsize, regsize;
lib/libnvmm/libnvmm_x86.c
1939
size_t adrsize, regsize;
lib/libnvmm/libnvmm_x86.c
1986
size_t sesize = 0;
lib/libnvmm/libnvmm_x86.c
2018
size_t n;
lib/libnvmm/libnvmm_x86.c
2095
size_t regsize;
lib/libnvmm/libnvmm_x86.c
2112
size_t regsize;
lib/libnvmm/libnvmm_x86.c
2181
size_t regsize;
lib/libnvmm/libnvmm_x86.c
2198
size_t regsize;
lib/libnvmm/libnvmm_x86.c
2405
static size_t
lib/libnvmm/libnvmm_x86.c
2435
static size_t
lib/libnvmm/libnvmm_x86.c
2584
size_t n = 0;
lib/libnvmm/libnvmm_x86.c
2648
x86_decode(uint8_t *inst_bytes, size_t inst_len, struct x86_instr *instr,
lib/libnvmm/libnvmm_x86.c
2697
exec_##instr(uint64_t op1, uint64_t op2, uint64_t *rflags, size_t opsize) \
lib/libnvmm/libnvmm_x86.c
3014
struct x86_store *store, gvaddr_t *gvap, size_t size)
lib/libnvmm/libnvmm_x86.c
3082
size_t i, fetchsize;
lib/libnvmm/libnvmm_x86.c
3140
size_t fetchsize;
lib/libnvmm/libnvmm_x86.c
3175
size_t size;
lib/libnvmm/libnvmm_x86.c
419
size_t off;
lib/libnvmm/libnvmm_x86.c
509
segment_check(struct nvmm_x64_state_seg *seg, gvaddr_t gva, size_t size)
lib/libnvmm/libnvmm_x86.c
52
size_t i;
lib/libnvmm/libnvmm_x86.c
544
size_to_mask(size_t size)
lib/libnvmm/libnvmm_x86.c
560
rep_get_cnt(struct nvmm_x64_state *state, size_t adsize)
lib/libnvmm/libnvmm_x86.c
571
rep_set_cnt(struct nvmm_x64_state *state, size_t adsize, uint64_t cnt)
lib/libnvmm/libnvmm_x86.c
583
gvaddr_t gva, uint8_t *data, size_t size)
lib/libnvmm/libnvmm_x86.c
640
gvaddr_t gva, uint8_t *data, size_t size)
lib/libnvmm/libnvmm_x86.c
706
size_t i, iosize, iocnt;
lib/libnvmm/nvmm.h
114
int nvmm_gpa_map(struct nvmm_machine *, uintptr_t, gpaddr_t, size_t, int);
lib/libnvmm/nvmm.h
115
int nvmm_gpa_unmap(struct nvmm_machine *, uintptr_t, gpaddr_t, size_t);
lib/libnvmm/nvmm.h
116
int nvmm_hva_map(struct nvmm_machine *, uintptr_t, size_t);
lib/libnvmm/nvmm.h
117
int nvmm_hva_unmap(struct nvmm_machine *, uintptr_t, size_t);
lib/libnvmm/nvmm.h
127
int nvmm_ctl(int, void *, size_t);
lib/libnvmm/nvmm.h
74
size_t size;
lib/libnvmm/nvmm.h
83
size_t size;
lib/libpam/modules/pam_echo/pam_echo.c
55
size_t len;
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
63
size_t len, ulen;
lib/libpam/modules/pam_guest/pam_guest.c
53
size_t len;
lib/libpam/modules/pam_lastlog/pam_lastlog.c
189
domsg(pam_handle_t *pamh, time_t t, const char *host, size_t hsize,
lib/libpam/modules/pam_lastlog/pam_lastlog.c
190
const char *line, size_t lsize)
lib/libpam/modules/pam_lastlog/pam_lastlog.c
227
if ((size_t)(t - tty) >= sizeof(utmpx.ut_id)) {
lib/libpam/modules/pam_lastlog/pam_lastlog.c
72
static void domsg(pam_handle_t *, time_t, const char *, size_t, const char *,
lib/libpam/modules/pam_lastlog/pam_lastlog.c
73
size_t);
lib/librt/mq.c
105
__mq_send(mqd_t mqd, char *buf, size_t len, unsigned prio)
lib/librt/mq.c
42
extern ssize_t __sys_mq_receive(mqd_t mqd, char *buf, size_t len,
lib/librt/mq.c
44
extern ssize_t __sys_mq_send(mqd_t mqd, char *buf, size_t len, unsigned prio);
lib/librt/mq.c
47
extern ssize_t __sys_mq_timedreceive(int, char *__restrict, size_t,
lib/librt/mq.c
49
extern int __sys_mq_timedsend(int, const char *, size_t, unsigned,
lib/librt/mq.c
85
__mq_timedreceive(mqd_t mqd, char *buf, size_t len,
lib/librt/mq.c
92
__mq_receive(mqd_t mqd, char *buf, size_t len, unsigned *prio)
lib/librt/mq.c
98
__mq_timedsend(mqd_t mqd, char *buf, size_t len,
lib/libsdp/service.c
244
len = read(ss->s, ss->rsp, (size_t)(ss->rsp_e - ss->rsp));
lib/libsdp/session.c
127
if ((ss->req = malloc((size_t)ss->omtu)) == NULL) {
lib/libsdp/session.c
138
if ((ss->rsp = malloc((size_t)ss->imtu)) == NULL) {
lib/libsdp/session.c
178
if ((ss->req = malloc((size_t)ss->omtu)) == NULL) {
lib/libsdp/session.c
184
if ((ss->rsp = malloc((size_t)ss->imtu)) == NULL) {
lib/libssh/openbsd-compat/bcrypt_pbkdf.c
114
bcrypt_pbkdf(const char *pass, size_t passlen, const uint8_t *salt, size_t saltlen,
lib/libssh/openbsd-compat/bcrypt_pbkdf.c
115
uint8_t *key, size_t keylen, unsigned int rounds)
lib/libssh/openbsd-compat/bcrypt_pbkdf.c
122
size_t i, j, amt, stride;
lib/libssh/openbsd-compat/bcrypt_pbkdf.c
124
size_t origkeylen = keylen;
lib/libssh/openbsd-compat/bcrypt_pbkdf.c
168
size_t dest = i * stride + (count - 1);
lib/libssh/openbsd-compat/bcrypt_pbkdf.c
81
size_t shalen = SHA512_DIGEST_LENGTH;
lib/libssh/openbsd-compat/bsd-misc.c
322
size_t len;
lib/libssh/openbsd-compat/bsd-misc.c
368
mbtowc(wchar_t *pwc, const char *s, size_t n)
lib/libssh/openbsd-compat/bsd-misc.c
392
bzero(void *b, size_t n)
lib/libssh/openbsd-compat/bsd-misc.h
162
void bzero(void *, size_t);
lib/libssh/openbsd-compat/bsd-misc.h
23
int seed_from_prngd(unsigned char *, size_t);
lib/libssh/openbsd-compat/getrrsetbyname-ldns.c
213
size_t rdata_offset = 0;
lib/libssh/openbsd-compat/getrrsetbyname-ldns.c
71
size_t len;
lib/libssh/openbsd-compat/glob.c
1049
g_Ctoc(const Char *str, char *buf, size_t len)
lib/libssh/openbsd-compat/glob.c
145
size_t glim_malloc;
lib/libssh/openbsd-compat/glob.c
146
size_t glim_stat;
lib/libssh/openbsd-compat/glob.c
147
size_t glim_readdir;
lib/libssh/openbsd-compat/glob.c
157
static int g_Ctoc(const Char *, char *, size_t);
lib/libssh/openbsd-compat/glob.c
161
static int g_strncmp(const Char *, const char *, size_t);
lib/libssh/openbsd-compat/glob.c
172
globtilde(const Char *, Char *, size_t, glob_t *);
lib/libssh/openbsd-compat/glob.c
366
globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob_t *pglob)
lib/libssh/openbsd-compat/glob.c
426
g_strncmp(const Char *s1, const char *s2, size_t n)
lib/libssh/openbsd-compat/glob.c
447
size_t len;
lib/libssh/openbsd-compat/glob.c
452
len = (size_t)(colon - pattern);
lib/libssh/openbsd-compat/glob.c
479
size_t oldpathc;
lib/libssh/openbsd-compat/glob.c
573
size_t i;
lib/libssh/openbsd-compat/glob.c
574
size_t n = pglob->gl_pathc - oldpathc;
lib/libssh/openbsd-compat/glob.c
575
size_t o = pglob->gl_offs + oldpathc;
lib/libssh/openbsd-compat/glob.c
804
size_t i, newn, len;
lib/libssh/openbsd-compat/glob.c
872
len = (size_t)(p - path);
lib/libssh/openbsd-compat/glob.c
977
size_t i;
lib/libssh/openbsd-compat/glob.h
57
size_t gl_pathc; /* Count of total paths so far. */
lib/libssh/openbsd-compat/glob.h
58
size_t gl_matchc; /* Count of paths matching pattern. */
lib/libssh/openbsd-compat/glob.h
59
size_t gl_offs; /* Reserved at beginning of gl_pathv. */
lib/libssh/openbsd-compat/openbsd-compat.h
100
size_t strlcpy(char *dst, const char *src, size_t siz);
lib/libssh/openbsd-compat/openbsd-compat.h
104
size_t strlcat(char *dst, const char *src, size_t siz);
lib/libssh/openbsd-compat/openbsd-compat.h
112
size_t strnlen(const char *, size_t);
lib/libssh/openbsd-compat/openbsd-compat.h
116
char *strndup(const char *s, size_t n);
lib/libssh/openbsd-compat/openbsd-compat.h
212
void arc4random_buf(void *, size_t);
lib/libssh/openbsd-compat/openbsd-compat.h
233
int snprintf(char *, size_t, SNPRINTF_CONST char *, ...);
lib/libssh/openbsd-compat/openbsd-compat.h
270
int mbtowc(wchar_t *, const char*, size_t);
lib/libssh/openbsd-compat/openbsd-compat.h
299
int vsnprintf(char *, size_t, const char *, va_list);
lib/libssh/openbsd-compat/openbsd-compat.h
311
int timingsafe_bcmp(const void *, const void *, size_t);
lib/libssh/openbsd-compat/openbsd-compat.h
315
int bcrypt_pbkdf(const char *, size_t, const uint8_t *, size_t,
lib/libssh/openbsd-compat/openbsd-compat.h
316
uint8_t *, size_t, unsigned int);
lib/libssh/openbsd-compat/openbsd-compat.h
320
void explicit_bzero(void *p, size_t n);
lib/libssh/openbsd-compat/openbsd-compat.h
324
void freezero(void *, size_t);
lib/libssh/openbsd-compat/openbsd-compat.h
63
int _ssh_compat_getentropy(void *, size_t);
lib/libssh/openbsd-compat/openbsd-compat.h
68
ssize_t getline(char **, size_t *, FILE *);
lib/libssh/openbsd-compat/openbsd-compat.h
76
char *getcwd(char *pt, size_t size);
lib/libssh/openbsd-compat/openbsd-compat.h
84
void *memmem(const void *, size_t, const void *, size_t);
lib/libssh/openbsd-compat/openbsd-compat.h
88
void *reallocarray(void *, size_t, size_t);
lib/libssh/openbsd-compat/openbsd-compat.h
92
void *recallocarray(void *, size_t, size_t, size_t);
lib/libssh/openbsd-compat/openssl-compat.h
101
const unsigned char *iv, size_t len);
lib/libssh/openbsd-compat/openssl-compat.h
55
# define LIBCRYPTO_EVP_INL_TYPE size_t
lib/libssh/openbsd-compat/openssl-compat.h
95
unsigned char *iv, size_t len);
lib/libssh/openbsd-compat/port-net.c
312
size_t len;
lib/libssh/openbsd-compat/port-net.c
354
u_char **data, size_t *dlen)
lib/libssh/openbsd-compat/port-net.h
31
u_char *sys_tun_outfilter(struct ssh *, struct Channel *, u_char **, size_t *);
lib/libssh/openbsd-compat/xcrypt.c
75
size_t typelen;
lib/libstdbuf/stdbuf.c
56
size_t bufsize;
lib/libtcplay/crc32.c
91
crc32(const void *buf, size_t size)
lib/libtcplay/crc32.h
1
uint32_t crc32(const void *buf, size_t size);
lib/libtcplay/crypto-api.c
39
get_cryptoapi_cipher(const char *cipher_name, size_t keysize_in_bits)
lib/libtcplay/crypto-api.c
59
syscrypt(struct tc_crypto_algo *cipher, unsigned char *key, size_t klen, unsigned char *iv ,
lib/libtcplay/crypto-api.c
60
unsigned char *in, unsigned char *out, size_t len, int do_encrypt)
lib/libtcplay/crypto.c
201
apply_keyfiles(unsigned char *pass, size_t pass_memsz, const char *keyfiles[],
lib/libtcplay/crypto.c
208
size_t i, kdata_sz;
lib/libtcplay/generic_xts.c
118
xts_encrypt(struct xts_ctx *ctx, u_int8_t *data, size_t len, uint8_t *iv)
lib/libtcplay/generic_xts.c
143
xts_decrypt(struct xts_ctx *ctx, u_int8_t *data, size_t len, uint8_t *iv)
lib/libtcplay/generic_xts.h
26
typedef int (*encrypt_decrypt_fn)(void *, size_t, const uint8_t *, uint8_t *);
lib/libtcplay/generic_xts.h
46
int xts_encrypt(struct xts_ctx *ctx, uint8_t *data, size_t len, uint8_t *iv);
lib/libtcplay/generic_xts.h
47
int xts_decrypt(struct xts_ctx *ctx, uint8_t *data, size_t len, uint8_t *iv);
lib/libtcplay/hdr.c
154
struct tc_cipher_chain *cipher_chain, size_t sec_sz,
lib/libtcplay/humanize.c
41
_humanize_number(char *buf, size_t bufsz, uint64_t num)
lib/libtcplay/humanize.c
64
if ((ret < 0) || ((size_t)ret >= bufsz)) {
lib/libtcplay/humanize.c
78
size_t len;
lib/libtcplay/humanize.h
30
int _humanize_number(char *buf, size_t bufsz, uint64_t num);
lib/libtcplay/io.c
112
get_random(unsigned char *buf, size_t len, int weak)
lib/libtcplay/io.c
116
size_t rd = 0;
lib/libtcplay/io.c
117
size_t sz;
lib/libtcplay/io.c
177
secure_erase(const char *dev, disksz_t bytes, size_t blksz)
lib/libtcplay/io.c
179
size_t erased = 0;
lib/libtcplay/io.c
183
size_t sz;
lib/libtcplay/io.c
234
erased += (size_t)w;
lib/libtcplay/io.c
248
get_disk_info(const char *dev, disksz_t *blocks, size_t *bsize)
lib/libtcplay/io.c
273
get_disk_info(const char *dev, disksz_t *blocks, size_t *bsize)
lib/libtcplay/io.c
295
*bsize = (size_t)(blocksz);
lib/libtcplay/io.c
303
write_to_disk(const char *dev, off_t offset, size_t blksz, void *mem,
lib/libtcplay/io.c
304
size_t bytes)
lib/libtcplay/io.c
308
size_t sz;
lib/libtcplay/io.c
363
write_to_file(const char *file, void *mem, size_t bytes)
lib/libtcplay/io.c
394
read_passphrase(const char *prompt, char *pass, size_t passlen, size_t bufsz, time_t timeout)
lib/libtcplay/io.c
52
read_to_safe_mem(const char *file, off_t offset, size_t *sz)
lib/libtcplay/io.c
90
static size_t get_random_total_bytes = 0;
lib/libtcplay/io.c
91
static size_t get_random_read_bytes = 0;
lib/libtcplay/safe_mem.c
111
size_t alloc_sz;
lib/libtcplay/safe_mem.c
160
size_t sz;
lib/libtcplay/safe_mem.c
44
size_t alloc_sz;
lib/libtcplay/safe_mem.c
55
_alloc_safe_mem(size_t req_sz, const char *file, int line)
lib/libtcplay/safe_mem.c
59
size_t alloc_sz;
lib/libtcplay/tcplay.c
1189
size_t blksz;
lib/libtcplay/tcplay.c
1367
char *buf, size_t bufsz, uint32_t maj, uint32_t min)
lib/libtcplay/tcplay.c
1377
xlate_maj_min(const char *start_path, int max_depth, char *buf, size_t bufsz,
lib/libtcplay/tcplay.c
1466
tc_table->size = (size_t)0;
lib/libtcplay/tcplay.c
1472
tc_table->size += (size_t)length;
lib/libtcplay/tcplay.c
287
tc_cipher_chain_sprint(char *buf, size_t bufsz, struct tc_cipher_chain *chain)
lib/libtcplay/tcplay.c
307
print_hex(unsigned char *buf, off_t start, size_t len)
lib/libtcplay/tcplay.c
309
size_t i;
lib/libtcplay/tcplay.c
533
size_t blksz;
lib/libtcplay/tcplay.c
707
hidden_blocks = (size_t)tmp;
lib/libtcplay/tcplay.c
857
size_t sz;
lib/libtcplay/tcplay.c
858
size_t blksz;
lib/libtcplay/tcplay.h
246
void *read_to_safe_mem(const char *file, off_t offset, size_t *sz);
lib/libtcplay/tcplay.h
247
int get_random(unsigned char *buf, size_t len, int weak);
lib/libtcplay/tcplay.h
248
int secure_erase(const char *dev, disksz_t bytes, size_t blksz);
lib/libtcplay/tcplay.h
249
int get_disk_info(const char *dev, disksz_t *blocks, size_t *bsize);
lib/libtcplay/tcplay.h
250
int write_to_disk(const char *dev, off_t offset, size_t blksz, void *mem,
lib/libtcplay/tcplay.h
251
size_t bytes);
lib/libtcplay/tcplay.h
252
int write_to_file(const char *file, void *mem, size_t bytes);
lib/libtcplay/tcplay.h
253
int read_passphrase(const char *prompt, char *pass, size_t passlen,
lib/libtcplay/tcplay.h
254
size_t bufsz, time_t timeout);
lib/libtcplay/tcplay.h
271
int syscrypt(struct tc_crypto_algo *cipher, unsigned char *key, size_t klen,
lib/libtcplay/tcplay.h
272
unsigned char *iv, unsigned char *in, unsigned char *out, size_t len,
lib/libtcplay/tcplay.h
278
int apply_keyfiles(unsigned char *pass, size_t pass_memsz, const char *keyfiles[],
lib/libtcplay/tcplay.h
283
size_t sec_sz, disksz_t total_blocks,
lib/libtcplay/tcplay.h
293
void *_alloc_safe_mem(size_t req_sz, const char *file, int line);
lib/libtcplay/tcplay.h
306
char *tc_cipher_chain_sprint(char *buf, size_t bufsz,
lib/libtcplay/tcplay_api.c
726
size_t sz;
lib/libtcplay/tcplay_api.c
734
sz = va_arg(ap, size_t);
lib/libtelnet/auth.c
394
auth_send_cnt = (size_t)cnt > sizeof(_auth_send_data)
lib/libtelnet/auth.c
502
if ((size_t)cnt > sizeof(savename) - 1) {
lib/libtelnet/enc_des.c
170
size_t x;
lib/libtelnet/pk.c
299
size_t l;
lib/libtelnet/sra.c
245
size_t i;
lib/libthread_db/libthread_xu.c
676
pt_thr_tls_get_addr(const td_thrhandle_t *th, void *_linkmap, size_t offset,
lib/libthread_db/thread_db.c
107
size_t i;
lib/libthread_db/thread_db.c
226
td_thr_tls_get_addr(const td_thrhandle_t *th, void *linkmap, size_t offset,
lib/libthread_db/thread_db.c
54
size_t i;
lib/libthread_db/thread_db.h
193
size_t ti_stksize;
lib/libthread_db/thread_db.h
234
td_err_e td_thr_tls_get_addr(const td_thrhandle_t *, void *, size_t, void **);
lib/libthread_db/thread_db_int.h
78
void *, size_t, void **);
lib/libthread_xu/thread/thr_affinity.c
41
_pthread_getaffinity_np(pthread_t thread, size_t cpusetsize,
lib/libthread_xu/thread/thr_affinity.c
79
_pthread_setaffinity_np(pthread_t thread, size_t cpusetsize,
lib/libthread_xu/thread/thr_affinity.c
83
size_t cplen = cpusetsize;
lib/libthread_xu/thread/thr_attr.c
107
size_t len;
lib/libthread_xu/thread/thr_attr.c
154
size_t * __restrict guardsize)
lib/libthread_xu/thread/thr_attr.c
241
size_t * __restrict stacksize)
lib/libthread_xu/thread/thr_attr.c
280
size_t * __restrict stacksize)
lib/libthread_xu/thread/thr_attr.c
323
_pthread_attr_setaffinity_np(pthread_attr_t *attr, size_t cpusetsize,
lib/libthread_xu/thread/thr_attr.c
327
size_t len, cplen = cpusetsize;
lib/libthread_xu/thread/thr_attr.c
394
_pthread_attr_setguardsize(pthread_attr_t *attr, size_t guardsize)
lib/libthread_xu/thread/thr_attr.c
500
size_t stacksize)
lib/libthread_xu/thread/thr_attr.c
538
_pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize)
lib/libthread_xu/thread/thr_attr.c
97
_pthread_attr_getaffinity_np(const pthread_attr_t *attr, size_t cpusetsize,
lib/libthread_xu/thread/thr_cond.c
56
size_t len;
lib/libthread_xu/thread/thr_distribute.c
24
_libthread_distribute_static_tls(size_t offset, void *src,
lib/libthread_xu/thread/thr_distribute.c
25
size_t len, size_t total_len);
lib/libthread_xu/thread/thr_distribute.c
28
_libthread_distribute_static_tls(size_t offset, void *src,
lib/libthread_xu/thread/thr_distribute.c
29
size_t len, size_t total_len)
lib/libthread_xu/thread/thr_info.c
111
_pthread_get_name_np(pthread_t thread, char *buf, size_t len)
lib/libthread_xu/thread/thr_info.c
79
_pthread_getname_np(pthread_t thread, char *name, size_t len)
lib/libthread_xu/thread/thr_init.c
191
size_t _thr_guard_default;
lib/libthread_xu/thread/thr_init.c
192
size_t _thr_stack_default = THR_STACK_DEFAULT;
lib/libthread_xu/thread/thr_init.c
193
size_t _thr_stack_initial = THR_STACK_INITIAL;
lib/libthread_xu/thread/thr_init.c
409
size_t len;
lib/libthread_xu/thread/thr_mutex.c
94
size_t len;
lib/libthread_xu/thread/thr_private.h
237
size_t stacksize_attr;
lib/libthread_xu/thread/thr_private.h
238
size_t guardsize_attr;
lib/libthread_xu/thread/thr_private.h
59
void _thr_log(const char *buf, size_t bytes);
lib/libthread_xu/thread/thr_private.h
642
extern size_t _thr_guard_default;
lib/libthread_xu/thread/thr_private.h
643
extern size_t _thr_stack_default;
lib/libthread_xu/thread/thr_private.h
644
extern size_t _thr_stack_initial;
lib/libthread_xu/thread/thr_private.h
765
ssize_t __sys_read(int, void *, size_t);
lib/libthread_xu/thread/thr_private.h
766
ssize_t __sys_write(int, const void *, size_t);
lib/libthread_xu/thread/thr_private.h
799
void *__malloc(size_t bytes);
lib/libthread_xu/thread/thr_rwlock.c
60
size_t len;
lib/libthread_xu/thread/thr_sem.c
117
size_t len;
lib/libthread_xu/thread/thr_sem.c
408
get_path(const char *name, char *path, size_t len, char const **prefix)
lib/libthread_xu/thread/thr_sem.c
410
size_t path_len;
lib/libthread_xu/thread/thr_sem.c
515
size_t path_len;
lib/libthread_xu/thread/thr_sig.c
292
_thr_log(const char *buf, size_t bytes)
lib/libthread_xu/thread/thr_sig.c
297
size_t plen;
lib/libthread_xu/thread/thr_sig.c
312
if (plen <= (size_t)(LOGBUF_SIZE - i)) {
lib/libthread_xu/thread/thr_sig.c
322
if (bytes <= (size_t)(LOGBUF_SIZE - i)) {
lib/libthread_xu/thread/thr_spec.c
171
size_t bytes;
lib/libthread_xu/thread/thr_spec.c
172
size_t pgmask;
lib/libthread_xu/thread/thr_spec.c
44
static size_t _pthread_specific_bytes;
lib/libthread_xu/thread/thr_stack.c
150
size_t len;
lib/libthread_xu/thread/thr_stack.c
44
size_t stacksize; /* Stack size (rounded up). */
lib/libthread_xu/thread/thr_stack.c
45
size_t guardsize; /* Guard size. */
lib/libthread_xu/thread/thr_stack.c
75
static inline size_t
lib/libthread_xu/thread/thr_stack.c
76
round_up(size_t size)
lib/libthread_xu/thread/thr_stack.c
89
size_t stacksize;
lib/libthread_xu/thread/thr_stack.c
90
size_t guardsize;
lib/libthread_xu/thread/thr_syscalls.c
108
extern int __sys_msync(void *, size_t, int);
lib/libthread_xu/thread/thr_syscalls.c
112
extern ssize_t __sys_recv(int, void *, size_t, int);
lib/libthread_xu/thread/thr_syscalls.c
113
extern ssize_t __sys_recvfrom(int, void *, size_t, int, struct sockaddr *, socklen_t *);
lib/libthread_xu/thread/thr_syscalls.c
116
extern int __sys_sendfile(int, int, off_t, size_t, struct sf_hdtr *,
lib/libthread_xu/thread/thr_syscalls.c
119
extern ssize_t __sys_sendto(int, const void *,size_t, int, const struct sockaddr *, socklen_t);
lib/libthread_xu/thread/thr_syscalls.c
132
int __msync(void *, size_t, int);
lib/libthread_xu/thread/thr_syscalls.c
141
ssize_t __read(int, void *buf, size_t);
lib/libthread_xu/thread/thr_syscalls.c
143
ssize_t __recvfrom(int, void *, size_t, int f, struct sockaddr *, socklen_t *);
lib/libthread_xu/thread/thr_syscalls.c
147
ssize_t __sendto(int, const void *, size_t, int,
lib/libthread_xu/thread/thr_syscalls.c
150
ssize_t __write(int, const void *, size_t);
lib/libthread_xu/thread/thr_syscalls.c
316
__msync(void *addr, size_t len, int flags)
lib/libthread_xu/thread/thr_syscalls.c
503
__read(int fd, void *buf, size_t nbytes)
lib/libthread_xu/thread/thr_syscalls.c
533
__recvfrom(int s, void *b, size_t l, int f, struct sockaddr *from,
lib/libthread_xu/thread/thr_syscalls.c
595
__sendto(int s, const void *m, size_t l, int f, const struct sockaddr *t,
lib/libthread_xu/thread/thr_syscalls.c
730
__write(int fd, const void *buf, size_t nbytes)
lib/libusb/libusb01.c
209
int langid, char *buf, size_t buflen)
lib/libusb/libusb01.c
230
char *buf, size_t buflen)
lib/libusb/usb.h
275
int usb_get_string(usb_dev_handle * dev, int index, int langid, char *buf, size_t buflen);
lib/libusb/usb.h
276
int usb_get_string_simple(usb_dev_handle * dev, int index, char *buf, size_t buflen);
lib/libutil/dehumanize_number.c
57
size_t len;
lib/libutil/efun.c
102
emalloc(size_t n)
lib/libutil/efun.c
111
ecalloc(size_t n, size_t s)
lib/libutil/efun.c
120
erealloc(void *p, size_t n)
lib/libutil/efun.c
57
size_t
lib/libutil/efun.c
58
estrlcpy(char *dst, const char *src, size_t len)
lib/libutil/efun.c
60
size_t rv;
lib/libutil/efun.c
70
size_t
lib/libutil/efun.c
71
estrlcat(char *dst, const char *src, size_t len)
lib/libutil/efun.c
73
size_t rv;
lib/libutil/efun.c
93
estrndup(const char *s, size_t len)
lib/libutil/gr_util.c
147
if (write(tfd, buf, (size_t)nr) != nr)
lib/libutil/gr_util.c
169
size_t len;
lib/libutil/gr_util.c
194
if ((size_t)(q - p) >= sizeof(buf)) {
lib/libutil/gr_util.c
209
len = (size_t)readlen;
lib/libutil/gr_util.c
280
len = (size_t)readlen;
lib/libutil/gr_util.c
294
if ((size_t)write(tfd, line, len) != len ||
lib/libutil/gr_util.c
401
size_t line_size;
lib/libutil/gr_util.c
446
size_t len;
lib/libutil/gr_util.c
51
static size_t grmemlen(const struct group *, const char *, int *);
lib/libutil/gr_util.c
529
static size_t
lib/libutil/gr_util.c
532
size_t len;
lib/libutil/humanize_number.c
48
humanize_number(char *buf, size_t len, int64_t quotient,
lib/libutil/humanize_number.c
55
size_t baselen;
lib/libutil/humanize_unsigned.c
50
humanize_unsigned(char *buf, size_t len, uint64_t bytes, const char *suffix,
lib/libutil/humanize_unsigned.c
57
size_t i, suffixlen;
lib/libutil/humanize_unsigned.c
95
format_bytes(char *buf, size_t len, uint64_t bytes)
lib/libutil/humanize_unsigned.c
98
size_t nlen;
lib/libutil/libutil.h
101
int realhostname(char *, size_t, const struct in_addr *);
lib/libutil/libutil.h
102
int realhostname_sa(char *, size_t, struct sockaddr *, int);
lib/libutil/libutil.h
103
int sockaddr_snprintf(char *, size_t, const char *,
lib/libutil/libutil.h
105
int snprintb(char *buf, size_t buflen, const char *bitfmt, uint64_t val);
lib/libutil/libutil.h
106
int snprintb_m(char *buf, size_t buflen, const char *bitfmt, uint64_t val,
lib/libutil/libutil.h
107
size_t l_max);
lib/libutil/libutil.h
150
size_t estrlcpy(char *, const char *, size_t);
lib/libutil/libutil.h
151
size_t estrlcat(char *, const char *, size_t);
lib/libutil/libutil.h
153
char *estrndup(const char *, size_t);
lib/libutil/libutil.h
154
void *ecalloc(size_t, size_t);
lib/libutil/libutil.h
155
void *emalloc(size_t);
lib/libutil/libutil.h
156
void *erealloc(void *, size_t);
lib/libutil/libutil.h
79
int humanize_number(char *_buf, size_t _len, int64_t _number,
lib/libutil/libutil.h
81
int humanize_unsigned(char *buf, size_t len, uint64_t bytes,
lib/libutil/libutil.h
83
int format_bytes(char *buf, size_t len, uint64_t bytes);
lib/libutil/login_cap.c
58
static size_t internal_stringsz = 0;
lib/libutil/login_cap.c
60
static size_t internal_arraysz = 0;
lib/libutil/login_cap.c
70
size_t sz = strlen(str) + 1; /* realloc() only if necessary */
lib/libutil/login_cap.c
82
allocarray(size_t sz)
lib/libutil/pw_util.c
227
if (write(tfd, buf, (size_t)nr) != nr)
lib/libutil/pw_util.c
428
size_t len;
lib/libutil/pw_util.c
460
if ((size_t)(q - p) >= sizeof(buf)) {
lib/libutil/pw_util.c
475
len = (size_t)readlen;
lib/libutil/pw_util.c
547
len = (size_t)readlen;
lib/libutil/pw_util.c
561
if ((size_t)write(tfd, line, len) != len ||
lib/libutil/pw_util.c
607
if ((npw = malloc((size_t)len)) == NULL)
lib/libutil/realhostname.c
47
realhostname(char *host, size_t hsize, const struct in_addr *ip)
lib/libutil/realhostname.c
97
realhostname_sa(char *host, size_t hsize, struct sockaddr *addr, int addrlen)
lib/libutil/snprintb.c
102
if ((size_t)t_len < buflen) \
lib/libutil/snprintb.c
108
if (l_max > 0 && (size_t)l_len >= l_max) { \
lib/libutil/snprintb.c
124
if (l_max > 0 && (size_t)l_len >= (l_max - 1)) {\
lib/libutil/snprintb.c
148
if ((size_t)t_len < buflen) \
lib/libutil/snprintb.c
213
if (l_max > 0 && (size_t)l_len > l_max)
lib/libutil/snprintb.c
248
if (sep != '<' && (size_t)(++t_len) < buflen)
lib/libutil/snprintb.c
263
snprintb(char *buf, size_t buflen, const char *bitfmt, uint64_t val)
lib/libutil/snprintb.c
43
snprintb_m(char *buf, size_t buflen, const char *bitfmt, uint64_t val,
lib/libutil/snprintb.c
44
size_t l_max)
lib/libutil/snprintb.c
78
if ((size_t)t_len < buflen)
lib/libutil/snprintb.c
91
if ((size_t)(++t_len) < buflen) \
lib/libutil/sockaddr_snprintf.c
100
sockaddr_snprintf(char * const sbuf, const size_t len, const char * const fmt,
lib/libutil/sockaddr_snprintf.c
108
size_t salen;
lib/libutil/sockaddr_snprintf.c
54
debug_in(char *str, size_t len, const struct sockaddr_in *sin)
lib/libutil/sockaddr_snprintf.c
63
debug_in6(char *str, size_t len, const struct sockaddr_in6 *sin6)
lib/libutil/sockaddr_snprintf.c
78
debug_un(char *str, size_t len, const struct sockaddr_un *sun)
lib/libutil/sockaddr_snprintf.c
86
debug_dl(char *str, size_t len, const struct sockaddr_dl *sdl)
lib/libutil/trimdomain.c
54
static size_t dlen;
lib/libutil/trimdomain.c
58
size_t len;
lib/libutil/trimdomain.c
76
if ((s = memchr(s, '.', (size_t)(end - s))) != NULL) {
lib/libutil/trimdomain.c
83
(len = strlen(s + dlen + 1)) < (size_t)(end - s)) {
lib/libutil/trimdomain.c
97
size_t w;
lib/libutil/uucplock.c
204
return write (fd, buf, (size_t)len) == len;
lib/libvgl/main.c
50
static size_t VGLBufSize;
lib/libz/zconf.h
265
typedef size_t z_size_t;
libexec/diff3prog/diff3prog.c
128
char *get_line(FILE *, size_t *);
libexec/diff3prog/diff3prog.c
204
size_t i;
libexec/diff3prog/diff3prog.c
266
get_line(FILE *b, size_t *n)
libexec/diff3prog/diff3prog.c
269
size_t len;
libexec/diff3prog/diff3prog.c
271
static size_t bufsize;
libexec/diff3prog/diff3prog.c
462
size_t j, n;
libexec/diff3prog/diff3prog.c
549
size_t j;
libexec/diff3prog/diff3prog.c
559
size_t r;
libexec/diff3prog/diff3prog.c
586
size_t newsz, incr;
libexec/diff3prog/diff3prog.c
99
size_t szchanges;
libexec/dma/conf.c
56
size_t linelen;
libexec/dma/conf.c
77
size_t len = strlen(str);
libexec/dma/dfcompat.c
33
size_t
libexec/dma/dfcompat.c
34
strlcpy(char *dst, const char *src, size_t siz)
libexec/dma/dfcompat.c
38
size_t n = siz;
libexec/dma/dfcompat.c
94
reallocf(void *ptr, size_t size)
libexec/dma/dfcompat.h
13
size_t strlcpy(char *, const char *, size_t);
libexec/dma/dfcompat.h
17
void *reallocf(void *, size_t);
libexec/dma/dns.c
102
size_t newsz = roundup(*ps + 2, count_inc);
libexec/dma/dns.c
141
size_t nhosts = 0;
libexec/dma/dns.c
142
size_t anssz;
libexec/dma/dns.c
66
add_host(int pref, const char *host, int port, struct mx_hostentry **he, size_t *ps)
libexec/dma/local.c
134
size_t linelen;
libexec/dma/local.c
143
if (error < 0 || (size_t)error >= sizeof(fn)) {
libexec/dma/local.c
202
if (error < 0 || (size_t)error >= sizeof(line)) {
libexec/dma/local.c
241
if ((size_t)write(mbox, line, linelen) != linelen)
libexec/dma/mail.c
380
size_t linecap = 0;
libexec/dma/mail.c
382
size_t error;
libexec/dma/mail.c
53
size_t pos;
libexec/dma/net.c
126
size_t pos, len, copysize;
libexec/dma/net.c
469
size_t linelen;
libexec/dma/net.c
82
size_t len, pos;
libexec/dma/util.c
333
size_t error;
libexec/ftpd/ftpd.c
1058
size_t len;
libexec/ftpd/ftpd.c
2006
send_data(FILE *instr, FILE *outstr, size_t blksize, off_t filesize, int isreg)
libexec/ftpd/ftpd.c
234
static int send_data(FILE *, FILE *, size_t, off_t, int);
libexec/ftpd/ftpd.c
653
size_t len;
libexec/ftpd/site_md5.c
64
if ((size_t)size > sizeof(buffer))
libexec/getty/main.c
697
size_t i = 0;
libexec/getty/subr.c
479
size_t subex, totalsize;
libexec/getty/subr.c
605
size_t len;
libexec/mknetid/hash.c
51
hash(const void *keyarg, size_t len)
libexec/mknetid/hash.c
54
size_t loop;
libexec/pppoed/pppoed.c
257
size_t sz, int debug)
libexec/pppoed/pppoed.c
465
size_t f;
libexec/revnetgroup/hash.c
51
hash(const void *keyarg, size_t len)
libexec/revnetgroup/hash.c
54
size_t loop;
libexec/rpc.rstatd/rstat_proc.c
159
size_t vmm_size = sizeof(vmm);
libexec/rpc.rstatd/rstat_proc.c
165
size_t len;
libexec/rtld-elf/libmap.c
201
lmc_parse(char *lm_p, size_t lm_len)
libexec/rtld-elf/libmap.c
207
size_t cnt;
libexec/rtld-elf/libmap.c
47
static void lmc_parse(char *, size_t);
libexec/rtld-elf/malloc.c
135
malloc(size_t nbytes)
libexec/rtld-elf/malloc.c
140
size_t amt;
libexec/rtld-elf/malloc.c
159
while ((size_t)pagesz > amt) {
libexec/rtld-elf/malloc.c
180
amt = (size_t)pagesz;
libexec/rtld-elf/malloc.c
222
calloc(size_t num, size_t size)
libexec/rtld-elf/malloc.c
239
size_t sz; /* size of desired block */
libexec/rtld-elf/malloc.c
240
size_t amt; /* amount to allocate */
libexec/rtld-elf/malloc.c
320
realloc(void *cp, size_t nbytes)
libexec/rtld-elf/malloc.c
322
size_t onb;
libexec/rtld-elf/malloc.c
367
if (nbytes <= onb && nbytes > (size_t)i) {
libexec/rtld-elf/malloc.c
418
size_t totfree, totused;
libexec/rtld-elf/map_object.c
187
size_t limit = 1024 * 256 * 1024;
libexec/rtld-elf/map_object.c
188
size_t offset;
libexec/rtld-elf/map_object.c
382
(size_t)PAGE_SIZE) {
libexec/rtld-elf/map_object.c
67
size_t mapsize;
libexec/rtld-elf/map_object.c
81
size_t nclear, phsize;
libexec/rtld-elf/map_object.c
87
size_t relro_size;
libexec/rtld-elf/rtld.c
161
static void ld_utrace_log(int, void *, void *, size_t, int, const char *);
libexec/rtld-elf/rtld.c
1703
size_t flen;
libexec/rtld-elf/rtld.c
2100
size_t len = strcspn(p, delim);
libexec/rtld-elf/rtld.c
253
size_t tls_last_offset; /* Static TLS offset of last module */
libexec/rtld-elf/rtld.c
254
size_t tls_last_size; /* Static TLS size of last module */
libexec/rtld-elf/rtld.c
255
size_t tls_static_space; /* Static TLS space allocated */
libexec/rtld-elf/rtld.c
2588
size_t l, sz;
libexec/rtld-elf/rtld.c
2808
size_t len;
libexec/rtld-elf/rtld.c
2830
size_t namelen;
libexec/rtld-elf/rtld.c
2832
size_t buflen;
libexec/rtld-elf/rtld.c
2836
try_library_path(const char *dir, size_t dirlen, void *param)
libexec/rtld-elf/rtld.c
286
size_t mapsize;
libexec/rtld-elf/rtld.c
2895
size_t len;
libexec/rtld-elf/rtld.c
297
ld_utrace_log(int event, void *handle, void *mapbase, size_t mapsize,
libexec/rtld-elf/rtld.c
3522
fill_search_info(const char *dir, size_t dirlen, void *param)
libexec/rtld-elf/rtld.c
4414
tls_get_addr_common(Elf_Addr** dtvp, int index, size_t offset)
libexec/rtld-elf/rtld.c
4469
size_t data_size;
libexec/rtld-elf/rtld.c
4470
size_t dtv_size;
libexec/rtld-elf/rtld.c
4518
size_t data_size;
libexec/rtld-elf/rtld.c
4582
size_t off;
libexec/rtld-elf/rtld.c
4665
size_t len;
libexec/rtld-elf/rtld.c
4945
static void (*dtlsfunc)(size_t, void *, size_t, size_t);
libexec/rtld-elf/rtld.c
5033
size_t len;
libexec/rtld-elf/rtld.c
5058
size_t len;
libexec/rtld-elf/rtld.c
637
tls_static_space = (size_t)space - sizeof(struct tls_tcb);
libexec/rtld-elf/rtld.c
76
typedef void * (*path_enum_proc) (const char *path, size_t len, void *arg);
libexec/rtld-elf/rtld.c
99
static void *fill_search_info(const char *, size_t, void *);
libexec/rtld-elf/rtld.h
148
size_t mapsize; /* Size of mapped region in bytes */
libexec/rtld-elf/rtld.h
149
size_t textsize; /* Size of text segment in bytes */
libexec/rtld-elf/rtld.h
155
size_t phsize; /* Size of program header in bytes */
libexec/rtld-elf/rtld.h
162
size_t tlsinitsize; /* Size of TLS init block for this module */
libexec/rtld-elf/rtld.h
163
size_t tlssize; /* Size of TLS block for this module */
libexec/rtld-elf/rtld.h
164
size_t tlsoffset; /* Offset of static TLS block for this module */
libexec/rtld-elf/rtld.h
165
size_t tlsalign; /* Alignment of static TLS block */
libexec/rtld-elf/rtld.h
168
size_t relro_size; /* Size of relro page(s) in bytes */
libexec/rtld-elf/rtld.h
341
void *xcalloc(size_t, size_t);
libexec/rtld-elf/rtld.h
342
void *xmalloc(size_t);
libexec/rtld-elf/rtld.h
367
void *tls_get_addr_common(Elf_Addr** dtvp, int index, size_t offset);
libexec/rtld-elf/rtld.h
52
extern size_t tls_last_offset;
libexec/rtld-elf/rtld.h
53
extern size_t tls_last_size;
libexec/rtld-elf/rtld.h
54
extern size_t tls_static_space;
libexec/rtld-elf/rtld_printf.c
271
*(va_arg(ap, size_t *)) = retval;
libexec/rtld-elf/rtld_printf.c
346
num = va_arg(ap, size_t);
libexec/rtld-elf/rtld_printf.c
432
rtld_snprintf(char *buf, size_t bufsize, const char *fmt, ...)
libexec/rtld-elf/rtld_printf.c
444
rtld_vsnprintf(char *buf, size_t bufsize, const char *fmt, va_list ap)
libexec/rtld-elf/rtld_printf.c
55
size_t remain;
libexec/rtld-elf/rtld_printf.c
56
size_t buf_total;
libexec/rtld-elf/rtld_printf.h
34
int rtld_snprintf(char *buf, size_t bufsize, const char *fmt, ...)
libexec/rtld-elf/rtld_printf.h
36
int rtld_vsnprintf(char *buf, size_t bufsize, const char *fmt, va_list ap);
libexec/rtld-elf/x86_64/reloc.c
79
size_t size;
libexec/rtld-elf/xmalloc.c
36
xcalloc(size_t number, size_t size)
libexec/rtld-elf/xmalloc.c
49
xmalloc(size_t size)
libexec/rtld-elf/xmalloc.c
63
size_t len;
libexec/talkd/extern.h
33
int find_user(const char *name, char *tty, size_t ttylen);
libexec/talkd/process.c
180
find_user(const char *name, char *tty, size_t ttylen)
libexec/telnetd/ext.h
82
copy_termbuf(char *, size_t),
libexec/telnetd/sys_term.c
1269
size_t count;
libexec/telnetd/sys_term.c
152
copy_termbuf(char *cp, size_t len)
libexec/tftpd/tftpd.c
349
size_t i;
libexec/utmp_update/utmp_update.c
74
size_t len;
sbin/adjkerntz/adjkerntz.c
78
size_t len;
sbin/camcontrol/modeedit.c
637
size_t length; /* Length of static fgetln buffer. */
sbin/ccdconfig/ccdconfig.c
628
size_t flagslen;
sbin/cryptdisks/cryptdisks.c
230
size_t keymem_len = 8192;
sbin/cryptdisks/safe_mem.c
112
size_t alloc_sz;
sbin/cryptdisks/safe_mem.c
43
size_t alloc_sz;
sbin/cryptdisks/safe_mem.c
55
_alloc_safe_mem(size_t req_sz, const char *file, int line)
sbin/cryptdisks/safe_mem.c
59
size_t alloc_sz;
sbin/cryptdisks/safe_mem.h
1
void *_alloc_safe_mem(size_t req_sz, const char *file, int line);
sbin/devd/devd.cc
1185
size_t len;
sbin/devfsctl/devfsctl.c
221
size_t k;
sbin/devfsctl/devfsctl.h
64
size_t listsize;
sbin/dhclient/dhclient.c
1530
size_t len;
sbin/dhclient/dhclient.c
1535
hdr.len = sizeof(struct imsg_hdr) + sizeof(size_t) + strlen(reason);
sbin/dhclient/dhclient.c
1678
size_t fn_len = 0, sn_len = 0, pr_len = 0;
sbin/dhclient/dhclient.c
1692
sizeof(size_t) + fn_len + sizeof(size_t) + sn_len +
sbin/dhclient/dhclient.c
1693
sizeof(size_t) + pr_len;
sbin/dhclient/dhclient.c
1852
dhcp_option_ev_name(char *buf, size_t buflen, const struct option *option)
sbin/dhclient/dhclient.c
1854
size_t i;
sbin/dhclient/dhclient.c
2176
size_t oplen;
sbin/dhclient/dhcpd.h
181
size_t rbuf_max;
sbin/dhclient/dhcpd.h
182
size_t rbuf_offset;
sbin/dhclient/dhcpd.h
183
size_t rbuf_len;
sbin/dhclient/dhcpd.h
316
int dhcp_option_ev_name(char *, size_t, const struct option *);
sbin/dhclient/errwarn.c
169
do_percentm(char *obuf, size_t size, char *ibuf)
sbin/dhclient/errwarn.c
211
size_t iovcnt;
sbin/dhclient/errwarn.c
51
static void do_percentm(char *obuf, size_t size, char *ibuf);
sbin/dhclient/options.c
318
size_t oplen;
sbin/dhclient/options.c
330
size_t oplen;
sbin/dhclient/privsep.c
109
if (hdr.len < sizeof(hdr) + sizeof(size_t))
sbin/dhclient/privsep.c
112
if (hdr.len < reason_len + sizeof(hdr) + sizeof(size_t) ||
sbin/dhclient/privsep.c
127
totlen = sizeof(hdr) + sizeof(lease) + sizeof(size_t);
sbin/dhclient/privsep.c
133
totlen += filename_len + sizeof(size_t);
sbin/dhclient/privsep.c
144
totlen += servername_len + sizeof(size_t);
sbin/dhclient/privsep.c
23
buf_open(size_t len)
sbin/dhclient/privsep.c
39
buf_add(struct buf *buf, void *data, size_t len)
sbin/dhclient/privsep.c
73
buf_read(int sock, void *buf, size_t nbytes)
sbin/dhclient/privsep.c
99
size_t reason_len, filename_len,
sbin/dhclient/privsep.h
24
size_t size;
sbin/dhclient/privsep.h
25
size_t wpos;
sbin/dhclient/privsep.h
26
size_t rpos;
sbin/dhclient/privsep.h
39
size_t len;
sbin/dhclient/privsep.h
42
struct buf *buf_open(size_t);
sbin/dhclient/privsep.h
43
void buf_add(struct buf *, void *, size_t);
sbin/dhclient/privsep.h
45
void buf_read(int, void *, size_t);
sbin/disklabel32/disklabel.c
1667
size_t rev_len = sizeof(rev);
sbin/disklabel32/disklabel.c
614
bootbuf = (char *)malloc((size_t)bootsize);
sbin/disklabel64/crc32.c
34
uint32_t crc32(const void *, size_t);
sbin/disklabel64/crc32.c
83
crc32(const void *buf, size_t size)
sbin/disklabel64/disklabel64.c
383
size_t lpsize;
sbin/disklabel64/disklabel64.c
384
size_t lpcrcsize;
sbin/disklabel64/disklabel64.c
515
size_t lpcrcsize;
sbin/disklabel64/disklabel64.c
580
size_t rsize;
sbin/disklabel64/disklabel64.c
99
extern uint32_t crc32(const void *buf, size_t size);
sbin/dmesg/dmesg.c
230
dumpbuf(char *bp, size_t bufpos, size_t buflen,
sbin/dmesg/dmesg.c
55
static void dumpbuf(char *bp, size_t bufpos, size_t buflen,
sbin/dmesg/dmesg.c
78
size_t buflen, bufpos;
sbin/dump/cache.c
103
cread(int fd, void *buf, size_t nbytes, off_t offset)
sbin/dump/dump.h
114
ssize_t cread(int, void *, size_t, off_t);
sbin/dumpon/dumpon.c
135
size_t len;
sbin/ffsinfo/ffsinfo.c
133
size_t len;
sbin/ffsinfo/ffsinfo.c
270
rdfs((daddr_t)(SBOFF/DEV_BSIZE), (size_t)SBSIZE, &sblock, fsi);
sbin/ffsinfo/ffsinfo.c
300
fscs = (struct csum *)calloc((size_t)1,
sbin/ffsinfo/ffsinfo.c
301
(size_t)sblock.fs_cssize);
sbin/ffsinfo/ffsinfo.c
311
numfrags(&sblock, i)), (size_t)(sblock.fs_cssize-i<
sbin/ffsinfo/ffsinfo.c
339
(size_t)SBSIZE, &osblock, fsi);
sbin/ffsinfo/ffsinfo.c
347
(size_t)sblock.fs_cgsize, &acg, fsi);
sbin/ffsinfo/ffsinfo.c
446
rdfs(fsbtodb(&sblock, ino->di_ib[0]), (size_t)sblock.fs_bsize,
sbin/ffsinfo/ffsinfo.c
453
(size_t)rb);
sbin/ffsinfo/ffsinfo.c
460
rdfs(fsbtodb(&sblock, ino->di_ib[1]), (size_t)sblock.fs_bsize,
sbin/ffsinfo/ffsinfo.c
473
(size_t)sblock.fs_bsize, &i1blk, fsi);
sbin/ffsinfo/ffsinfo.c
480
(size_t)rb);
sbin/ffsinfo/ffsinfo.c
488
rdfs(fsbtodb(&sblock, ino->di_ib[2]), (size_t)sblock.fs_bsize,
sbin/ffsinfo/ffsinfo.c
504
(size_t)sblock.fs_bsize, &i2blk, fsi);
sbin/ffsinfo/ffsinfo.c
518
(size_t)sblock.fs_bsize, &i1blk, fsi);
sbin/ffsinfo/ffsinfo.c
525
(size_t)rb);
sbin/ffsinfo/ffsinfo.c
579
rdfs(fsbtodb(&sblock, iblk), (size_t)sblock.fs_bsize,
sbin/ffsinfo/ffsinfo.c
87
static void rdfs(daddr_t, size_t, void *, int);
sbin/ffsinfo/ffsinfo.c
97
rdfs(daddr_t bno, size_t size, void *bf, int fsi)
sbin/fsck/dir.c
122
memmove(dbuf, dp, (size_t)dsize);
sbin/fsck/dir.c
148
(size_t)dsize);
sbin/fsck/dir.c
373
memmove(dirp->d_name, idesc->id_name, (size_t)newent.d_namlen + 1);
sbin/fsck/fsck.h
177
size_t i_isize; /* size of inode */
sbin/fsck/inode.c
394
memmove(&inp->i_blks[0], &dp->di_db[0], (size_t)inp->i_numblks);
sbin/fsck/inode.c
474
memmove(idesc->id_name, dirp->d_name, (size_t)dirp->d_namlen + 1);
sbin/fsck/pass2.c
126
qsort(inpsort + i, (size_t)n, sizeof *inpsort, blksort);
sbin/fsck/pass2.c
179
memmove(&dp->di_db[0], &inp->i_blks[0], (size_t)inp->i_numblks);
sbin/fsck/pass2.c
286
memmove(dirp, &proto, (size_t)entrysize);
sbin/fsck/pass2.c
292
memmove(dirp, &proto, (size_t)entrysize);
sbin/fsck/pass2.c
296
memset(dirp, 0, (size_t)n);
sbin/fsck/pass2.c
331
memset(dirp, 0, (size_t)proto.d_reclen);
sbin/fsck/pass2.c
360
memmove(dirp, &proto, (size_t)entrysize);
sbin/fsck/pass5.c
203
(size_t)(sumsize + mapsize));
sbin/fsck/pass5.c
301
memmove(cg, newcg, (size_t)fs->fs_cgsize);
sbin/fsck/pass5.c
309
memmove(cg, newcg, (size_t)basesize);
sbin/fsck/pass5.c
311
&cg_blktot(newcg)[0], (size_t)sumsize);
sbin/fsck/pass5.c
345
(size_t)mapsize);
sbin/fsck/pass5.c
61
memset(newcg, 0, (size_t)fs->fs_cgsize);
sbin/fsck/preen.c
198
size_t len;
sbin/fsck/preen.c
206
len = (size_t)(p - name);
sbin/fsck/setup.c
259
memmove(&altsblock, &sblock, (size_t)sblock.fs_sbsize);
sbin/fsck/utilities.c
320
memset(buf, 0, (size_t)size);
sbin/fsck/utilities.c
473
memmove(cp, namebuf, (size_t)len);
sbin/fsck/utilities.c
482
memmove(namebuf, cp, (size_t)(&namebuf[MAXPATHLEN] - cp));
sbin/fsck_hammer2/destroy.c
112
size_t *media_bytes)
sbin/fsck_hammer2/destroy.c
115
size_t bytes, io_bytes, boff;
sbin/fsck_hammer2/destroy.c
121
bytes = (size_t)1 << bytes;
sbin/fsck_hammer2/destroy.c
162
size_t media_bytes)
sbin/fsck_hammer2/destroy.c
166
size_t bytes, io_bytes, boff;
sbin/fsck_hammer2/destroy.c
172
bytes = (size_t)1 << bytes;
sbin/fsck_hammer2/destroy.c
228
size_t bytes;
sbin/fsck_hammer2/destroy.c
285
hammer2_media_data_t *media, size_t media_bytes)
sbin/fsck_hammer2/destroy.c
306
size_t bytes;
sbin/fsck_hammer2/destroy.c
352
size_t media_bytes)
sbin/fsck_hammer2/destroy.c
356
size_t bytes;
sbin/fsck_hammer2/destroy.c
58
hammer2_media_data_t *, size_t);
sbin/fsck_hammer2/destroy.c
61
hammer2_media_data_t *, size_t);
sbin/fsck_hammer2/reconstruct.c
229
size_t *media_bytes)
sbin/fsck_hammer2/reconstruct.c
232
size_t bytes, io_bytes, boff;
sbin/fsck_hammer2/reconstruct.c
238
bytes = (size_t)1 << bytes;
sbin/fsck_hammer2/reconstruct.c
279
size_t media_bytes)
sbin/fsck_hammer2/reconstruct.c
283
size_t bytes, io_bytes, boff;
sbin/fsck_hammer2/reconstruct.c
289
bytes = (size_t)1 << bytes;
sbin/fsck_hammer2/reconstruct.c
345
size_t bytes;
sbin/fsck_hammer2/reconstruct.c
403
size_t media_bytes, int depth)
sbin/fsck_hammer2/reconstruct.c
408
size_t bytes;
sbin/fsck_hammer2/reconstruct.c
61
hammer2_media_data_t *, size_t, int);
sbin/fsck_hammer2/test.c
1119
size_t bytes;
sbin/fsck_hammer2/test.c
1169
const hammer2_media_data_t *media, size_t media_bytes)
sbin/fsck_hammer2/test.c
144
size_t *);
sbin/fsck_hammer2/test.c
153
const hammer2_media_data_t *, size_t);
sbin/fsck_hammer2/test.c
175
tsnprintf(char *str, size_t siz, int tab, const char *ctl, ...)
sbin/fsck_hammer2/test.c
454
const void *msg, size_t siz)
sbin/fsck_hammer2/test.c
472
const void *msg, size_t siz)
sbin/fsck_hammer2/test.c
496
size_t bytes;
sbin/fsck_hammer2/test.c
567
size_t bytes;
sbin/fsck_hammer2/test.c
614
size_t siz = charsperline();
sbin/fsck_hammer2/test.c
705
size_t *media_bytes)
sbin/fsck_hammer2/test.c
708
size_t bytes, io_bytes, boff;
sbin/fsck_hammer2/test.c
713
bytes = (size_t)1 << bytes;
sbin/fsck_hammer2/test.c
797
size_t bytes;
sbin/fsck_msdosfs/boot.c
247
boot->bpbFATs, (size_t)boot->FATsecs);
sbin/fsck_msdosfs/boot.c
46
if ((size_t)read(dosfs, block, sizeof block) != sizeof block) {
sbin/fsck_msdosfs/dir.c
1082
reconnect(struct fat_descriptor *fat, cl_t head, size_t length)
sbin/fsck_msdosfs/dir.c
1132
|| (size_t)read(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
sbin/fsck_msdosfs/dir.c
1162
|| (size_t)write(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) {
sbin/fsck_msdosfs/dir.c
218
size_t len;
sbin/fsck_msdosfs/dir.c
385
size_t chainsize;
sbin/fsck_msdosfs/dir.c
556
size_t dirclusters;
sbin/fsck_msdosfs/ext.h
121
int checkchain(struct fat_descriptor *, cl_t, size_t *);
sbin/fsck_msdosfs/ext.h
130
int reconnect(struct fat_descriptor *, cl_t, size_t);
sbin/fsck_msdosfs/fat.c
1054
size_t rwsize, tailsize, blobs, i;
sbin/fsck_msdosfs/fat.c
1080
(size_t)read(fd, fat->fatbuf, rwsize) != rwsize) &&
sbin/fsck_msdosfs/fat.c
1087
(size_t)write(fd, fat->fatbuf, rwsize) != rwsize) &&
sbin/fsck_msdosfs/fat.c
109
static inline size_t
sbin/fsck_msdosfs/fat.c
1103
size_t writesz;
sbin/fsck_msdosfs/fat.c
1142
(size_t)write(fd, fat->fatbuf, writesz) != writesz) &&
sbin/fsck_msdosfs/fat.c
116
bitmap_ctor(long_bitmap_t *lbp, size_t bits, bool allone)
sbin/fsck_msdosfs/fat.c
1162
size_t chains, chainlength;
sbin/fsck_msdosfs/fat.c
118
size_t bitmap_size = roundup2(bits, LONG_BIT) / (LONG_BIT / 8);
sbin/fsck_msdosfs/fat.c
153
static const size_t fat32_cache_chunk_size = 131072; /* MAXPHYS */
sbin/fsck_msdosfs/fat.c
154
static const size_t fat32_cache_size = 4194304;
sbin/fsck_msdosfs/fat.c
155
static const size_t fat32_cache_entries = 32; /* XXXgcc: cache_size / cache_chunk_size */
sbin/fsck_msdosfs/fat.c
170
size_t fatsize;
sbin/fsck_msdosfs/fat.c
172
size_t fat32_cached_chunks;
sbin/fsck_msdosfs/fat.c
197
static size_t
sbin/fsck_msdosfs/fat.c
340
static inline size_t
sbin/fsck_msdosfs/fat.c
357
size_t writesize;
sbin/fsck_msdosfs/fat.c
368
(size_t)write(fd, entry->chunk, writesize) != writesize) {
sbin/fsck_msdosfs/fat.c
384
size_t rwsize;
sbin/fsck_msdosfs/fat.c
422
(size_t)read(fd, entry->chunk, rwsize) != rwsize) {
sbin/fsck_msdosfs/fat.c
562
size_t len;
sbin/fsck_msdosfs/fat.c
580
if ((size_t)pread(fd, buffer, len, off) != len) {
sbin/fsck_msdosfs/fat.c
591
if ((size_t)pwrite(fd, buffer, len, off) != len) {
sbin/fsck_msdosfs/fat.c
610
size_t i;
sbin/fsck_msdosfs/fat.c
612
size_t readsize;
sbin/fsck_msdosfs/fat.c
666
if ((size_t)read(fd, fat->fatbuf, readsize) != readsize) {
sbin/fsck_msdosfs/fat.c
773
(size_t)boot->NumClusters);
sbin/fsck_msdosfs/fat.c
78
size_t count; /* Total set bits in the map */
sbin/fsck_msdosfs/fat.c
947
checkchain(struct fat_descriptor *fat, cl_t head, size_t *chainsize)
sbin/gpt/gpt.c
101
crc32(const void *buf, size_t size)
sbin/gpt/gpt.c
121
utf16_to_utf8(const uint16_t *s16, size_t s16len, char *s8, size_t s8len)
sbin/gpt/gpt.c
123
size_t s8idx, s16idx;
sbin/gpt/gpt.c
186
utf8_to_utf16(const char *s8, uint16_t *s16, size_t s16len)
sbin/gpt/gpt.c
188
size_t s16idx, s8idx;
sbin/gpt/gpt.c
301
size_t i;
sbin/gpt/gpt.c
325
gpt_read(int fd, off_t lba, size_t count)
sbin/gpt/gpt.c
355
size_t count;
sbin/gpt/gpt.c
466
size_t blocks, tblsz;
sbin/gpt/gpt.h
55
uint32_t crc32(const void *, size_t);
sbin/gpt/gpt.h
58
void* gpt_read(int, off_t, size_t);
sbin/gpt/gpt.h
62
void utf16_to_utf8(const uint16_t *, size_t, char *, size_t);
sbin/gpt/gpt.h
63
void utf8_to_utf16(const char *, uint16_t *, size_t);
sbin/gpt/label.c
148
size_t maxlen = 1024;
sbin/gpt/label.c
149
size_t len;
sbin/gpt/show.c
83
size_t i, j;
sbin/growfs/debug.c
666
dbg_dump_iblk(struct fs *sb, const char *comment, char *block, size_t length)
sbin/growfs/debug.c
681
for (i=0; (size_t)i<MIN(howmany(sb->fs_bsize, sizeof(ufs_daddr_t)),
sbin/growfs/debug.c
685
if((size_t)(i+j)<length) {
sbin/growfs/debug.h
57
void dbg_dump_iblk(struct fs *, const char *, char *, size_t);
sbin/growfs/growfs.c
1104
(size_t)sblock.fs_cgsize, &acg, fso, Nflag);
sbin/growfs/growfs.c
1135
(size_t)sblock.fs_cgsize, &aocg, fsi);
sbin/growfs/growfs.c
118
static void rdfs(daddr_t, size_t, void *, int);
sbin/growfs/growfs.c
119
static void wtfs(daddr_t, size_t, void *, int, unsigned int);
sbin/growfs/growfs.c
1211
(size_t)sblock.fs_cgsize, &acg, fso, Nflag);
sbin/growfs/growfs.c
1469
(size_t)sblock.fs_bsize, &ablk, fsi);
sbin/growfs/growfs.c
1471
(size_t)sblock.fs_bsize, &ablk, fso, Nflag);
sbin/growfs/growfs.c
1523
wtfs(fsbtodb(&sblock, cgtod(&sblock, ocscg)), (size_t)sblock.fs_cgsize,
sbin/growfs/growfs.c
1539
rdfs(daddr_t bno, size_t size, void *bf, int fsi)
sbin/growfs/growfs.c
1562
wtfs(daddr_t bno, size_t size, void *bf, int fso, unsigned int Nflag)
sbin/growfs/growfs.c
175
fscs = (struct csum *)calloc((size_t)1, (size_t)sblock.fs_cssize);
sbin/growfs/growfs.c
181
numfrags(&osblock, i)), (size_t)MIN(osblock.fs_cssize - i,
sbin/growfs/growfs.c
1848
rdfs(in_src, (size_t)sblock.fs_bsize, &ablk, fsi);
sbin/growfs/growfs.c
1916
size_t len;
sbin/growfs/growfs.c
1934
size=(size_t)atol(optarg);
sbin/growfs/growfs.c
2035
rdfs((daddr_t)(SBOFF/DEV_BSIZE), (size_t)SBSIZE, &osblock, fsi);
sbin/growfs/growfs.c
2103
wtfs((daddr_t)pinfo.media_blocks-1, (size_t)DEV_BSIZE, &sblock, fso,
sbin/growfs/growfs.c
2307
rdfs(i1_src, (size_t)sblock.fs_bsize, &i1blk, fsi);
sbin/growfs/growfs.c
2331
rdfs(i2_src, (size_t)sblock.fs_bsize, &i2blk, fsi);
sbin/growfs/growfs.c
2341
rdfs(i1_src, (size_t)sblock.fs_bsize, &i1blk,
sbin/growfs/growfs.c
2370
rdfs(i3_src, (size_t)sblock.fs_bsize, &i3blk, fsi);
sbin/growfs/growfs.c
2380
rdfs(i2_src, (size_t)sblock.fs_bsize, &i2blk,
sbin/growfs/growfs.c
2392
rdfs(i1_src, (size_t)sblock.fs_bsize,
sbin/growfs/growfs.c
259
(size_t)MIN(sblock.fs_cssize - i, sblock.fs_bsize),
sbin/growfs/growfs.c
285
wtfs((daddr_t)(SBOFF / DEV_BSIZE), (size_t)SBSIZE, &sblock,
sbin/growfs/growfs.c
328
(size_t)SBSIZE, &sblock, fso, Nflag);
sbin/growfs/growfs.c
371
memset(&acg, 0, (size_t)sblock.fs_cgsize);
sbin/growfs/growfs.c
413
for (i = 0; (size_t)i < UFS_ROOTINO; i++) {
sbin/growfs/growfs.c
424
(size_t)sblock.fs_bsize, (void *)zino, fso, Nflag);
sbin/growfs/growfs.c
502
(size_t)sblock.fs_bsize, &acg, fso, Nflag);
sbin/growfs/growfs.c
629
wtfs(dst, (size_t)sblock.fs_bsize, src,
sbin/growfs/growfs.c
672
(size_t)osblock.fs_cgsize, &aocg, fsi);
sbin/growfs/growfs.c
692
(size_t)sblock.fs_cgsize, &acg, fso, Nflag);
sbin/growfs/growfs.c
876
wtfs(fsbtodb(&sblock, cgtod(&sblock, cylno)), (size_t)sblock.fs_cgsize,
sbin/growfs/growfs.c
940
(size_t)osblock.fs_cgsize, &aocg, fsi);
sbin/hammer/cmd_abort.c
64
const size_t pflen = sizeof(prefix) - 1;
sbin/hammer/cmd_blockmap.c
512
size_t i;
sbin/hammer/cmd_mirror.c
1285
size_t n;
sbin/hammer/cmd_mirror.c
1286
size_t i;
sbin/hammer/cmd_mirror.c
1287
size_t bytes;
sbin/hammer/cmd_mirror.c
1412
size_t bytes;
sbin/hammer/cmd_mirror.c
1413
size_t n;
sbin/hammer/cmd_mirror.c
1414
size_t i;
sbin/hammer/cmd_mirror.c
1635
writebw(int fd, const void *buf, size_t nbytes,
sbin/hammer/cmd_mirror.c
1639
size_t n;
sbin/hammer/cmd_mirror.c
1658
if ((size_t)r != n)
sbin/hammer/cmd_mirror.c
1710
score_printf(size_t i, size_t w, const char *ctl, ...)
sbin/hammer/cmd_mirror.c
1713
size_t n;
sbin/hammer/cmd_mirror.c
1714
static size_t SSize;
sbin/hammer/cmd_mirror.c
1749
size_t rlen;
sbin/hammer/cmd_mirror.c
67
static ssize_t writebw(int fd, const void *buf, size_t nbytes,
sbin/hammer/cmd_mirror.c
70
static void score_printf(size_t i, size_t w, const char *ctl, ...);
sbin/hammer/cmd_recover.c
328
size_t nlen;
sbin/hammer/cmd_show.c
673
typedef uint32_t (*crc32_ext_fn)(const void *, size_t, uint32_t);
sbin/hammer/cmd_stats.c
80
size_t len = sizeof(*p);
sbin/hammer2/cmd_bulkfree.c
44
size_t usermem;
sbin/hammer2/cmd_bulkfree.c
45
size_t usermem_size = sizeof(usermem);
sbin/hammer2/cmd_debug.c
206
size_t len;
sbin/hammer2/cmd_debug.c
768
size_t bytes;
sbin/hammer2/cmd_debug.c
800
bytes = (size_t)1 << bytes;
sbin/hammer2/cmd_debug.c
804
size_t io_bytes;
sbin/hammer2/cmd_debug.c
805
size_t boff;
sbin/hammer2/cmd_info.c
387
size_t bytes;
sbin/hammer2/cmd_info.c
388
size_t io_bytes;
sbin/hammer2/cmd_info.c
389
size_t boff;
sbin/hammer2/cmd_info.c
397
bytes = (size_t)1 << bytes;
sbin/hammer2/cmd_recover.c
1243
size_t psize;
sbin/hammer2/cmd_recover.c
1247
size_t flen;
sbin/hammer2/cmd_recover.c
129
const char *filename, char *buf, size_t flen);
sbin/hammer2/cmd_recover.c
1482
validate_crc(hammer2_blockref_t *bref, void *data, size_t bytes)
sbin/hammer2/cmd_recover.c
154
static int validate_crc(hammer2_blockref_t *bref, void *data, size_t bytes);
sbin/hammer2/cmd_recover.c
156
static void *hammer2_cache_read(hammer2_off_t data_off, size_t *bytesp);
sbin/hammer2/cmd_recover.c
1563
hammer2_cache_read(hammer2_off_t data_off, size_t *bytesp)
sbin/hammer2/cmd_recover.c
191
size_t i;
sbin/hammer2/cmd_recover.c
526
size_t flen)
sbin/hammer2/cmd_recover.c
615
const char *filename, size_t flen)
sbin/hammer2/cmd_recover.c
659
size_t i;
sbin/hammer2/cmd_recover.c
749
size_t psize;
sbin/hammer2/cmd_recover.c
76
size_t len;
sbin/hammer2/cmd_recover.c
968
size_t psize;
sbin/hammer2/cmd_service.c
755
size_t n;
sbin/hammer2/hammer2.h
124
extern size_t MemOpt;
sbin/hammer2/hammer2_compression.c
44
hammer2_decompress_LZ4(void *inbuf, size_t insize, size_t outsize,
sbin/hammer2/hammer2_compression.c
76
hammer2_decompress_ZLIB(void *inbuf, size_t insize, size_t outsize,
sbin/hammer2/hammer2_subs.h
118
void *hammer2_decompress_LZ4(void *inbuf, size_t insize,
sbin/hammer2/hammer2_subs.h
119
size_t outsize, int *statusp);
sbin/hammer2/hammer2_subs.h
120
void *hammer2_decompress_ZLIB(void *inbuf, size_t insize,
sbin/hammer2/hammer2_subs.h
121
size_t outsize, int *statusp);
sbin/hammer2/hammer2_subs.h
83
hammer2_key_t dirhash(const char *aname, size_t len);
sbin/hammer2/hammer2_subs.h
87
uint32_t iscsi_crc32(const void *buf, size_t size);
sbin/hammer2/hammer2_subs.h
88
uint32_t iscsi_crc32_ext(const void *buf, size_t size, uint32_t ocrc);
sbin/hammer2/lz4/hammer2_lz4.c
395
size_t dec32table[] = {0, 3, 2, 3, 0, 0, 0, 0};
sbin/hammer2/lz4/hammer2_lz4.c
397
size_t dec64table[] = {0, 0, 0, (size_t)-1, 0, 1, 2, 3};
sbin/hammer2/lz4/hammer2_lz4.c
412
size_t length;
sbin/hammer2/lz4/hammer2_lz4.c
478
size_t dec64 = dec64table[op-ref];
sbin/hammer2/lz4/hammer2_lz4.c
480
const size_t dec64 = 0;
sbin/hammer2/main.c
44
size_t MemOpt;
sbin/hammer2/print_inode.c
38
hexdump_inode(const void *data, size_t len)
sbin/hammer2/print_inode.c
41
size_t i;
sbin/hammer2/subs.c
362
dirhash(const char *aname, size_t len)
sbin/hammer2/subs.c
366
size_t i;
sbin/hammer2/subs.c
367
size_t j;
sbin/ifconfig/af_inet.c
159
MIN((size_t)hp->h_length, sizeof(sin->sin_addr)));
sbin/ifconfig/af_inet6.c
541
size_t i;
sbin/ifconfig/ifbridge.c
122
size_t i, len = 8192;
sbin/ifconfig/ifbridge.c
196
size_t i, len = 8192;
sbin/ifconfig/ifbridge.c
608
size_t i;
sbin/ifconfig/ifbridge.c
73
do_cmd(int sock, u_long op, void *arg, size_t argsize, int set)
sbin/ifconfig/ifcarp.c
269
size_t i;
sbin/ifconfig/ifclone.c
201
size_t i;
sbin/ifconfig/ifconfig.c
1519
size_t i;
sbin/ifconfig/ifconfig.c
360
size_t iflen;
sbin/ifconfig/ifconfig.c
617
size_t len;
sbin/ifconfig/ifconfig.c
98
static size_t descrlen = 64;
sbin/ifconfig/ifgroup.c
127
size_t len;
sbin/ifconfig/ifgroup.c
175
size_t i;
sbin/ifconfig/ifgroup.c
86
size_t len, cnt;
sbin/ifconfig/ifieee80211.c
153
static int get80211len(int s, int type, void *data, size_t len, size_t *plen);
sbin/ifconfig/ifieee80211.c
2540
printie(const char* tag, const uint8_t *ie, size_t ielen, int maxlen)
sbin/ifconfig/ifieee80211.c
2545
if (2*ielen > (size_t)maxlen)
sbin/ifconfig/ifieee80211.c
2577
printwmeparam(const char *tag, const u_int8_t *ie, size_t ielen __unused,
sbin/ifconfig/ifieee80211.c
2609
printwmeinfo(const char *tag, const u_int8_t *ie, size_t ielen __unused,
sbin/ifconfig/ifieee80211.c
2622
printhtcap(const char *tag, const u_int8_t *ie, size_t ielen __unused,
sbin/ifconfig/ifieee80211.c
2657
printhtinfo(const char *tag, const u_int8_t *ie, size_t ielen __unused,
sbin/ifconfig/ifieee80211.c
2690
printathie(const char *tag, const u_int8_t *ie, size_t ielen __unused,
sbin/ifconfig/ifieee80211.c
2721
printmeshconf(const char *tag, const uint8_t *ie, size_t ielen __unused,
sbin/ifconfig/ifieee80211.c
2806
printwpaie(const char *tag, const u_int8_t *ie, size_t ielen __unused,
sbin/ifconfig/ifieee80211.c
2893
printrsnie(const char *tag, const u_int8_t *ie, size_t ielen,
sbin/ifconfig/ifieee80211.c
2942
printwpsie(const char *tag, const u_int8_t *ie, size_t ielen __unused,
sbin/ifconfig/ifieee80211.c
3175
printtdmaie(const char *tag, const u_int8_t *ie, size_t ielen,
sbin/ifconfig/ifieee80211.c
3198
copy_essid(char buf[], size_t bufsize, const u_int8_t *essid, size_t essid_len)
sbin/ifconfig/ifieee80211.c
3201
size_t maxlen;
sbin/ifconfig/ifieee80211.c
3202
size_t i;
sbin/ifconfig/ifieee80211.c
3234
printssid(const char *tag, const u_int8_t *ie, size_t ielen __unused,
sbin/ifconfig/ifieee80211.c
3243
printrates(const char *tag, const u_int8_t *ie, size_t ielen,
sbin/ifconfig/ifieee80211.c
3247
size_t i;
sbin/ifconfig/ifieee80211.c
3261
printcountry(const char *tag, const u_int8_t *ie, size_t ielen __unused,
sbin/ifconfig/ifieee80211.c
3266
size_t i, nbands, schan, nchan;
sbin/ifconfig/ifieee80211.c
3453
size_t len, ssidmax, idlen;
sbin/ifconfig/ifieee80211.c
3599
size_t len;
sbin/ifconfig/ifieee80211.c
3712
char buf[], size_t bsize)
sbin/ifconfig/ifieee80211.c
3785
size_t i, half;
sbin/ifconfig/ifieee80211.c
3879
size_t i, half;
sbin/ifconfig/ifieee80211.c
4478
getid(int s, int ix, void *data, size_t len, size_t *plen, int mesh)
sbin/ifconfig/ifieee80211.c
4500
size_t len;
sbin/ifconfig/ifieee80211.c
5153
get80211len(int s, int type, void *data, size_t len, size_t *plen)
sbin/ifconfig/ifieee80211.c
5577
size_t i;
sbin/ifconfig/iflagg.c
119
lacp_format_mac(const uint8_t *mac, char *buf, size_t buflen)
sbin/ifconfig/iflagg.c
156
size_t i;
sbin/ifconfig/iflagg.c
210
for (i = 0; i < (size_t)ra.ra_ports; i++) {
sbin/ifconfig/iflagg.c
246
size_t i;
sbin/ifconfig/iflagg.c
71
size_t i;
sbin/ifconfig/ifmedia.c
757
size_t i;
sbin/ifconfig/ifvlan.c
170
size_t i;
sbin/ifconfig/ifwg.c
386
size_t i, j, last_size;
sbin/ifconfig/ifwg.c
513
size_t i;
sbin/ifconfig/ifwg.c
72
wg_data_grow(size_t by)
sbin/ifconfig/regdomain.c
232
size_t i;
sbin/ifconfig/regdomain.c
418
lib80211_regdomain_readconfig(struct regdata *rdp, const void *p, size_t len)
sbin/ifconfig/regdomain.h
114
int lib80211_regdomain_readconfig(struct regdata *, const void *, size_t);
sbin/init/init.c
1584
size_t len;
sbin/init/init.c
1794
if ((size_t)(eline - line) >= sizeof(ut.ut_id))
sbin/init/init.c
490
size_t len;
sbin/init/init.c
518
size_t oidlen, slen;
sbin/init/init.c
994
size_t rdev_size = sizeof(rdev);
sbin/ipfw/ipfw2.c
2389
size_t len;
sbin/ipfw/ipfw2.c
3663
size_t len;
sbin/ipfw3/ipfw3dummynet.c
395
size_t len;
sbin/iscontrol/auth_subr.c
149
genChapChallenge(char *encoding, size_t len)
sbin/iscontrol/fsm.c
290
size_t n;
sbin/iscontrol/fsm.c
292
if(sysctlbyname("net.iscsi.isid", (void *)sess->isid, (size_t *)&n, 0, 0) != 0)
sbin/iscontrol/iscontrol.h
158
char *genChapChallenge(char *encoding, size_t len);
sbin/iscontrol/pdu.c
158
size_t len, n;
sbin/jscan/jscan.h
199
int jsreadcallback(struct jstream *js, ssize_t (*func)(int, const void *, size_t), int fd, off_t off, int bytes);
sbin/jscan/jstream.c
423
jsreadcallback(struct jstream *js, ssize_t (*func)(int, const void *, size_t),
sbin/kldconfig/kldconfig.c
146
size_t len;
sbin/kldconfig/kldconfig.c
207
size_t len;
sbin/kldconfig/kldconfig.c
56
static size_t miblen;
sbin/kldconfig/kldconfig.c
99
size_t sz;
sbin/md5/md5.c
184
alg->Update(&context, buffer, (size_t)bytes);
sbin/md5/md5.c
203
size_t size, pagesize;
sbin/md5/md5.c
433
size_t len = strlen(string);
sbin/md5/md5.c
53
typedef int (DIGEST_Update)(void *, const unsigned char *, size_t);
sbin/mount/mount.c
566
size_t i;
sbin/mount/vfslist.c
72
if ((av = malloc((size_t)(i + 2) * sizeof(char *))) == NULL) {
sbin/mount_dirfs/mount_dirfs.c
73
size_t vsize;
sbin/mount_nfs/mount_nfs.c
474
size_t len;
sbin/mount_ufs/mount.c
523
size_t i;
sbin/mount_ufs/mount_ufs.c
104
size_t olen = sizeof(trim_enabled);
sbin/mountd/mountd.c
1122
size_t linesize;
sbin/mountd/mountd.c
2254
size_t len;
sbin/natd/natd.c
1259
size_t len;
sbin/natd/natd.c
673
size_t needed;
sbin/newfs/newfs.c
428
size_t olen = sizeof(trim_enabled);
sbin/newfs_hammer/newfs_hammer.c
147
size_t olen = sizeof(HammerVersion);
sbin/newfs_hammer/newfs_hammer.c
492
size_t olen;
sbin/newfs_hammer2/mkfs_hammer2.c
268
size_t n;
sbin/newfs_hammer2/mkfs_hammer2.c
321
size_t n;
sbin/newfs_hammer2/mkfs_hammer2.c
522
size_t n;
sbin/newfs_hammer2/mkfs_hammer2.c
60
size_t bytes);
sbin/newfs_hammer2/mkfs_hammer2.c
637
alloc_direct(hammer2_off_t *basep, hammer2_blockref_t *bref, size_t bytes)
sbin/newfs_hammer2/mkfs_hammer2.c
66
size_t olen = sizeof(version);
sbin/newfs_msdos/mkfs_msdos.c
1073
setstr(uint8_t *dest, const char *src, size_t len)
sbin/newfs_msdos/mkfs_msdos.c
227
static void setstr(uint8_t *, const char *, size_t);
sbin/newfs_msdos/mkfs_msdos.c
806
size_t len;
sbin/newfs_msdos/mkfs_msdos.c
845
size_t len;
sbin/newfs_msdos/mkfs_msdos.c
852
warn("sysctl: KERN_MAXPHYS, using %zu", (size_t)MAXPHYS);
sbin/newfs_msdos/newfs_msdos.c
276
for (size_t i = 0; i < NELEM(opts); i++)
sbin/ping/ping.c
207
size_t sz;
sbin/ping6/ping6.c
1071
size_t
sbin/ping6/ping6.c
1074
size_t l;
sbin/ping6/ping6.c
1226
size_t bufsiz)
sbin/ping6/ping6.c
1306
size_t off;
sbin/ping6/ping6.c
1588
pr_ip6opt(CMSG_DATA(cm), (size_t)bufsize);
sbin/ping6/ping6.c
1595
pr_ip6opt(CMSG_DATA(cm), (size_t)bufsize);
sbin/ping6/ping6.c
1599
pr_rthdr(CMSG_DATA(cm), (size_t)bufsize);
sbin/ping6/ping6.c
1607
pr_ip6opt(void *extbuf, size_t bufsize)
sbin/ping6/ping6.c
1614
size_t offset;
sbin/ping6/ping6.c
1671
pr_ip6opt(void *extbuf __unused, size_t bufsize __unused)
sbin/ping6/ping6.c
1680
pr_rthdr(void *extbuf, size_t bufsize __unused)
sbin/ping6/ping6.c
1751
pr_suptypes(struct icmp6_nodeinfo *ni, size_t nilen)
sbin/ping6/ping6.c
1753
size_t clen;
sbin/ping6/ping6.c
1762
size_t off;
sbin/ping6/ping6.c
1779
clen = (size_t)(end - cp);
sbin/ping6/ping6.c
2066
size_t l;
sbin/ping6/ping6.c
236
size_t pingerlen(void);
sbin/ping6/ping6.c
241
void pr_suptypes(struct icmp6_nodeinfo *, size_t);
sbin/ping6/ping6.c
2446
size_t l;
sbin/ping6/ping6.c
246
char *, size_t);
sbin/ping6/ping6.c
249
void pr_ip6opt(void *, size_t);
sbin/ping6/ping6.c
250
void pr_rthdr(void *, size_t);
sbin/rconfig/client.c
172
size_t bytes;
sbin/rconfig/server.c
179
size_t bytes;
sbin/rconfig/server.c
180
size_t n;
sbin/rconfig/server.c
184
bytes = (size_t)ftell(fp);
sbin/reboot/reboot.c
207
size_t len;
sbin/restore/dirs.c
119
static void putdir(char *, size_t);
sbin/restore/dirs.c
264
if ((size_t)(namelen + dp->d_namlen) >= sizeof(locname)) {
sbin/restore/dirs.c
329
putdir(char *buf, size_t size)
sbin/restore/dirs.c
335
size_t loc, i;
sbin/restore/extern.h
37
void canon(const char *, char *, size_t);
sbin/restore/extern.h
57
void getfile(void (*)(char *, size_t), void (*)(char *, size_t));
sbin/restore/extern.h
99
void xtrnull(char *, size_t);
sbin/restore/interactive.c
295
getcmd(char *curdir, char *cmd, char *name, size_t size, struct arglist *ap)
sbin/restore/interactive.c
429
canon(const char *rawname, char *canonname, size_t len)
sbin/restore/interactive.c
76
static void getcmd(char *, char *, char *, size_t, struct arglist *);
sbin/restore/tape.c
100
static void xtrlnkskip(char *, size_t);
sbin/restore/tape.c
101
static void xtrmap(char *, size_t);
sbin/restore/tape.c
102
static void xtrmapskip(char *, size_t);
sbin/restore/tape.c
103
static void xtrskip(char *, size_t);
sbin/restore/tape.c
678
getfile(void (*fill)(char *, size_t), void (*skip)(char *, size_t))
sbin/restore/tape.c
737
xtrfile(char *buf, size_t size)
sbin/restore/tape.c
754
xtrskip(char *buf __unused, size_t size)
sbin/restore/tape.c
769
xtrlnkfile(char *buf, size_t size)
sbin/restore/tape.c
786
xtrlnkskip(char *buf __unused, size_t size __unused)
sbin/restore/tape.c
798
xtrmap(char *buf, size_t size)
sbin/restore/tape.c
810
xtrmapskip(char *buf __unused, size_t size)
sbin/restore/tape.c
822
xtrnull(char *buf __unused, size_t size __unused)
sbin/restore/tape.c
98
static void xtrfile(char *, size_t);
sbin/restore/tape.c
99
static void xtrlnkfile(char *, size_t);
sbin/route/route.c
1197
MIN((size_t)hp->h_length, sizeof(su->sin.sin_addr)));
sbin/route/route.c
1251
size_t needed;
sbin/route/route.c
1481
size_t evlen = 0;
sbin/route/route.c
228
size_t needed;
sbin/route/route.c
862
MIN((size_t)hp->h_length,
sbin/route/show.c
105
size_t needed;
sbin/route/show.c
348
(width < 0 || strlen(cp) > (size_t)width))
sbin/routed/defs.h
513
extern void *rtmalloc(size_t, const char *);
sbin/routed/if.c
646
static size_t sysctl_buf_size = 0;
sbin/routed/if.c
661
size_t needed;
sbin/routed/main.c
769
rtmalloc(size_t size,
sbin/routed/main.c
88
size_t len;
sbin/routed/table.c
1023
static size_t sysctl_buf_size = 0;
sbin/routed/table.c
1024
size_t needed;
sbin/spppcontrol/spppcontrol.c
58
size_t off;
sbin/svc/remote.c
260
size_t len;
sbin/svc/remote.c
327
decode_args(connect_t *conn __unused, char ***avp, const char *ptr, size_t len)
sbin/svc/remote.c
331
size_t i;
sbin/svc/remote.c
332
size_t j;
sbin/svc/remote.c
376
for (i = 1; i < (size_t)ac; ++i)
sbin/svc/remote.c
57
const char *ptr, size_t len);
sbin/svc/remote.c
94
size_t len;
sbin/svc/subs.c
105
size_t len;
sbin/svc/svc.c
364
size_t cmdlen;
sbin/svc/svc.c
365
size_t len;
sbin/swapon/swapon.c
294
size_t bytes = 0,ksize;
sbin/swapon/swapon.c
407
sizetobuf(char *buf, size_t bufsize, int hflag, long long val, int hlen,
sbin/swapon/swapon.c
424
size_t ksize, bytes = 0;
sbin/sysctl/sysctl.c
156
size_t len;
sbin/sysctl/sysctl.c
171
size_t newsize = 0;
sbin/sysctl/sysctl.c
352
S_clockinfo(size_t l2, void *p)
sbin/sysctl/sysctl.c
363
S_loadavg(size_t l2, void *p)
sbin/sysctl/sysctl.c
378
S_timespec(size_t l2, void *p)
sbin/sysctl/sysctl.c
398
S_timeval(size_t l2, void *p)
sbin/sysctl/sysctl.c
418
S_sensor(size_t l2, void *p)
sbin/sysctl/sysctl.c
563
S_efi_map(size_t l2, void *p)
sbin/sysctl/sysctl.c
568
size_t efisz;
sbin/sysctl/sysctl.c
58
static int oidfmt(int *, size_t, char *, u_int *);
sbin/sysctl/sysctl.c
60
static int show_var(int *, size_t);
sbin/sysctl/sysctl.c
61
static int sysctl_all(int *, size_t);
sbin/sysctl/sysctl.c
62
static void set_T_dev_t(const char *, void **, size_t *);
sbin/sysctl/sysctl.c
644
T_dev_t(size_t l2, void *p)
sbin/sysctl/sysctl.c
661
set_T_dev_t(const char *path, void **val, size_t *size)
sbin/sysctl/sysctl.c
726
oidfmt(int *oid, size_t len, char *fmt, u_int *kind)
sbin/sysctl/sysctl.c
731
size_t j;
sbin/sysctl/sysctl.c
759
show_var(int *oid, size_t nlen)
sbin/sysctl/sysctl.c
766
size_t j, len;
sbin/sysctl/sysctl.c
768
int (*func)(size_t, void *);
sbin/sysctl/sysctl.c
979
sysctl_all(int *oid, size_t len)
sbin/sysctl/sysctl.c
983
size_t i, l1, l2;
sbin/udevd/test_udevd.c
579
size_t sz;
sbin/udevd/test_udevd.c
599
read_xml(int s, char *buf, size_t buf_sz)
sbin/udevd/test_udevd.c
601
size_t sz;
sbin/udevd/udevd.c
171
size_t sz;
sbin/udevd/udevd_socket.c
62
size_t sz;
sbin/udevd/udevd_socket.c
85
size_t sz;
sbin/umount/umount.c
231
if ((cp = malloc((size_t)strlen(fs->fs_file) + 1)) == NULL)
sbin/umount/umount.c
249
size_t len;
sbin/umount/umount.c
302
(size_t)(delimp - name));
sbin/umount/umount.c
711
size_t bufsize;
sbin/umount/umount.c
730
size_t baselen;
sbin/umount/umount.c
731
size_t dirlen;
share/examples/kld/cdev/module/cdev.c
100
static size_t len;
share/examples/libusb20/control.c
209
size_t i;
share/examples/libusb20/control.c
210
size_t l = strlen(reqname);
share/examples/scsi_target/scsi_cmds.c
363
size_t dlen;
share/examples/scsi_target/scsi_cmds.c
92
extern size_t sector_size;
share/examples/scsi_target/scsi_cmds.c
93
extern size_t buf_size;
share/examples/scsi_target/scsi_target.c
64
size_t sector_size;
share/examples/scsi_target/scsi_target.c
65
size_t buf_size;
share/examples/scsi_target/scsi_target.h
55
size_t total_len; /* Total xfer len for this ATIO */
share/examples/scsi_target/scsi_target.h
56
size_t init_req; /* Transfer count requested to/from init */
share/examples/scsi_target/scsi_target.h
57
size_t init_ack; /* Data transferred ok to/from init */
share/examples/scsi_target/scsi_target.h
58
size_t targ_req; /* Transfer count requested to/from target */
share/examples/scsi_target/scsi_target.h
59
size_t targ_ack; /* Data transferred ok to/from target */
stand/boot/common/bcache.c
125
write_strategy(void *devdata, int unit, int rw, daddr_t blk, size_t size,
stand/boot/common/bcache.c
126
char *buf, size_t *rsize)
stand/boot/common/bcache.c
158
read_strategy(void *devdata, int unit, int rw, daddr_t blk, size_t size,
stand/boot/common/bcache.c
159
char *buf, size_t *rsize)
stand/boot/common/bcache.c
224
bcache_strategy(void *devdata, int unit, int rw, daddr_t blk, size_t size,
stand/boot/common/bcache.c
225
char *buf, size_t *rsize)
stand/boot/common/bcache.c
74
bcache_init(u_int nblks, size_t bsize)
stand/boot/common/boot.c
264
size_t len;
stand/boot/common/boot2.h
65
ssize_t (*fsread)(boot2_ino_t, void *, size_t);
stand/boot/common/bootstrap.h
105
int (*dv_strategy)(void *devdata, int rw, daddr_t blk, size_t size, char *buf, size_t *rsize);
stand/boot/common/bootstrap.h
184
size_t md_size;
stand/boot/common/bootstrap.h
221
size_t f_size; /* file size */
stand/boot/common/bootstrap.h
244
void file_addmetadata(struct preloaded_file *fp, int type, size_t size, void *p);
stand/boot/common/bootstrap.h
266
Elf_Addr dataaddr, void *data, size_t len);
stand/boot/common/bootstrap.h
306
const size_t len);
stand/boot/common/bootstrap.h
309
const size_t len);
stand/boot/common/bootstrap.h
312
const size_t len);
stand/boot/common/bootstrap.h
87
void hexdump(caddr_t region, size_t len);
stand/boot/common/bootstrap.h
88
size_t strlenout(vm_offset_t str);
stand/boot/common/bootstrap.h
90
void kern_bzero(vm_offset_t dest, size_t len);
stand/boot/common/bootstrap.h
91
int kern_pread(int fd, vm_offset_t dest, size_t len, off_t off);
stand/boot/common/bootstrap.h
92
void *alloc_pread(int fd, off_t off, size_t len);
stand/boot/common/bootstrap.h
95
int bcache_init(u_int nblks, size_t bsize);
stand/boot/common/bootstrap.h
98
size_t size, char *buf, size_t *rsize);
stand/boot/common/dev_net.c
182
net_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf,
stand/boot/common/dev_net.c
183
size_t *rsize)
stand/boot/common/dev_net.c
86
static int net_strategy(void *, int, daddr_t, size_t, char *, size_t *);
stand/boot/common/interp_parse.c
160
size_t len = strlen(val);
stand/boot/common/interp_parse.c
83
size_t i = 0;
stand/boot/common/isapnp.c
163
size_t large_len;
stand/boot/common/load_elf.c
117
ef.firstlen = (size_t)bytes_read;
stand/boot/common/load_elf.c
269
size_t chunk;
stand/boot/common/load_elf.c
442
if (result < 0 || (size_t)result != shdr[i].sh_size) {
stand/boot/common/load_elf.c
552
size_t len;
stand/boot/common/load_elf.c
61
size_t relsz;
stand/boot/common/load_elf.c
63
size_t relasz;
stand/boot/common/load_elf.c
65
size_t strsz;
stand/boot/common/load_elf.c
68
size_t firstlen;
stand/boot/common/load_elf.c
734
Elf_Addr p, void *val, size_t len)
stand/boot/common/load_elf.c
736
size_t n;
stand/boot/common/load_elf.c
76
Elf_Addr p, void *val, size_t len);
stand/boot/common/load_elf_obj.c
432
void *val, size_t len)
stand/boot/common/load_elf_obj.c
68
Elf_Addr p, void *val, size_t len);
stand/boot/common/misc.c
101
size_t chunk, resid;
stand/boot/common/misc.c
119
kern_pread(int fd, vm_offset_t dest, size_t len, off_t off)
stand/boot/common/misc.c
128
if ((size_t)nread != len) {
stand/boot/common/misc.c
140
alloc_pread(int fd, off_t off, size_t len)
stand/boot/common/misc.c
156
if ((size_t)nread != len) {
stand/boot/common/misc.c
168
hexdump(caddr_t region, size_t len)
stand/boot/common/misc.c
41
size_t hlong;
stand/boot/common/misc.c
65
size_t
stand/boot/common/misc.c
69
size_t len;
stand/boot/common/misc.c
98
kern_bzero(vm_offset_t dest, size_t len)
stand/boot/common/module.c
1032
size_t cplen;
stand/boot/common/module.c
180
uint32_t iscsi_crc32(const void *buf, size_t size);
stand/boot/common/module.c
181
uint32_t iscsi_crc32_ext(const void *buf, size_t size, uint32_t ocrc);
stand/boot/common/module.c
627
file_addmetadata(struct preloaded_file *fp, int type, size_t size, void *p)
stand/boot/common/module.c
674
size_t pathlen, extlen;
stand/boot/common/reloc_elf.c
50
int reltype, Elf_Addr relbase, Elf_Addr dataaddr, void *data, size_t len)
stand/boot/common/ufsread.c
175
size_t n;
stand/boot/common/ufsread.c
211
boot2_ufs_read_size(boot2_ino_t boot2_inode, void *buf, size_t nbyte,
stand/boot/common/ufsread.c
212
size_t *fsizep)
stand/boot/common/ufsread.c
225
size_t n, nb, size, off, vboff;
stand/boot/common/ufsread.c
334
boot2_ufs_read(boot2_ino_t boot2_inode, void *buf, size_t nbyte)
stand/boot/common/ufsread.c
86
static ssize_t boot2_ufs_read(boot2_ino_t, void *, size_t);
stand/boot/efi/boot1/boot1.c
104
return (memcmp(imgpath, devpath, (size_t)len) == 0);
stand/boot/efi/boot1/boot1.c
155
devpath_node_str(char *buf, size_t size, EFI_DEVICE_PATH *devpath)
stand/boot/efi/boot1/boot1.c
279
devpath_strlcat(char *buf, size_t size, EFI_DEVICE_PATH *devpath)
stand/boot/efi/boot1/boot1.c
281
size_t len, used;
stand/boot/efi/boot1/boot1.c
330
size_t *bufsize, BOOLEAN preferred)
stand/boot/efi/boot1/boot1.c
368
size_t bufsize, loadersize, cmdsize;
stand/boot/efi/boot1/boot1.c
69
Malloc(size_t len, const char *file __unused, int line __unused)
stand/boot/efi/boot1/boot1.c
94
size_t len;
stand/boot/efi/boot1/boot_module.h
106
extern int devpath_strlcat(char *buf, size_t size, EFI_DEVICE_PATH *devpath);
stand/boot/efi/boot1/boot_module.h
89
void **buf, size_t *bufsize);
stand/boot/efi/boot1/ufs_module.c
124
load(const char *filepath, dev_info_t *dev, void **bufp, size_t *bufsize)
stand/boot/efi/boot1/ufs_module.c
128
size_t size;
stand/boot/efi/boot1/ufs_module.c
157
if ((size_t)read != size) {
stand/boot/efi/boot1/ufs_module.c
93
size_t label_size;
stand/boot/efi/boot1/ufs_module.c
95
label_size = (sizeof(*label) + 2047) & ~(size_t)2047;
stand/boot/efi/include/efi.h
53
#define DevicePathNodeLength(a) ((size_t)(((a)->Length[0]) | ((a)->Length[1] << 8)))
stand/boot/efi/libefi/efinet.c
117
efinet_put(struct iodesc *desc, void *pkt, size_t len)
stand/boot/efi/libefi/efinet.c
145
efinet_get(struct iodesc *desc, void *pkt, size_t len, time_t timeout)
stand/boot/efi/libefi/efinet.c
47
static int efinet_get(struct iodesc *, void *, size_t, time_t);
stand/boot/efi/libefi/efinet.c
51
static int efinet_put(struct iodesc *, void *, size_t);
stand/boot/efi/libefi/efipart.c
185
size_t label_size;
stand/boot/efi/libefi/efipart.c
187
label_size = (sizeof(*label) + 2047) & ~(size_t)2047;
stand/boot/efi/libefi/efipart.c
283
efipart_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf,
stand/boot/efi/libefi/efipart.c
284
size_t *rsize)
stand/boot/efi/libefi/efipart.c
290
size_t blkoff, blksz;
stand/boot/efi/libefi/efipart.c
45
static int efipart_strategy(void *, int, daddr_t, size_t, char *, size_t *);
stand/boot/efi/libefi/efipart.c
72
size_t devpathlen;
stand/boot/efi/libefi/handles.c
48
size_t sz;
stand/boot/efi/loader/arch/x86_64/framebuffer.c
116
size_t count, maxcount = 1024;
stand/boot/efi/loader/bootinfo.c
118
size_t len;
stand/boot/efi/loader/bootinfo.c
125
if ((size_t)archsw.arch_copyin(ep->ev_name, addr, len) != len)
stand/boot/efi/loader/bootinfo.c
133
if ((size_t)archsw.arch_copyin(ep->ev_value, addr, len) != len)
stand/boot/efi/loader/bootinfo.c
239
size_t efisz;
stand/boot/efi/loader/copy.c
116
efi_copyout(const vm_offset_t src, void *dest, const size_t len)
stand/boot/efi/loader/copy.c
130
efi_readin(const int fd, vm_offset_t dest, const size_t len)
stand/boot/efi/loader/copy.c
56
size_t pages = STAGE_PAGES;
stand/boot/efi/loader/copy.c
98
efi_copyin(const void *src, vm_offset_t dest, const size_t len)
stand/boot/efi/loader/loader_efi.h
45
ssize_t efi_copyin(const void *src, vm_offset_t dest, const size_t len);
stand/boot/efi/loader/loader_efi.h
46
ssize_t efi_copyout(const vm_offset_t src, void *dest, const size_t len);
stand/boot/efi/loader/loader_efi.h
47
ssize_t efi_readin(const int fd, vm_offset_t dest, const size_t len);
stand/boot/efi/loader/main.c
102
cp16to8(const CHAR16 *src, char *dst, size_t len)
stand/boot/efi/loader/main.c
104
size_t i;
stand/boot/efi/loader/main.c
91
cpy8to16(const char *src, CHAR16 *dst, size_t len)
stand/boot/pc32/boot2/boot2.c
179
static int xfsread(boot2_ino_t, void *, size_t);
stand/boot/pc32/boot2/boot2.c
219
xfsread(boot2_ino_t inode, void *buf, size_t nbyte)
stand/boot/pc32/boot2/boot2.c
221
if ((size_t)fsapi->fsread(inode, buf, nbyte) != nbyte) {
stand/boot/pc32/boot2/scrc32.c
133
iscsi_crc32(const void *buf, size_t size)
stand/boot/pc32/boot2/scrc32.c
146
iscsi_crc32_ext(const void *buf, size_t size, uint32_t crc)
stand/boot/pc32/boot2/scrc32.c
41
uint32_t iscsi_crc32(const void *buf, size_t size);
stand/boot/pc32/boot2/scrc32.c
42
uint32_t iscsi_crc32_ext(const void *buf, size_t size, uint32_t ocrc);
stand/boot/pc32/btxld/btxld.c
111
static void copy(int, int, size_t, off_t);
stand/boot/pc32/btxld/btxld.c
112
static size_t readx(int, void *, size_t, off_t);
stand/boot/pc32/btxld/btxld.c
113
static void writex(int, const void *, size_t);
stand/boot/pc32/btxld/btxld.c
244
if ((size_t)snprintf(name, sizeof(name), "%s.tmp", oname) >= sizeof(name))
stand/boot/pc32/btxld/btxld.c
423
copy(int fdi, int fdo, size_t nbyte, off_t offset)
stand/boot/pc32/btxld/btxld.c
426
size_t n;
stand/boot/pc32/btxld/btxld.c
442
static size_t
stand/boot/pc32/btxld/btxld.c
443
readx(int fd, void *buf, size_t nbyte, off_t offset)
stand/boot/pc32/btxld/btxld.c
458
writex(int fd, const void *buf, size_t nbyte)
stand/boot/pc32/btxld/btxld.c
464
if ((size_t)n != nbyte)
stand/boot/pc32/libi386/bioscd.c
213
bc_strategy(void *devdata, int rw, daddr_t dblk, size_t size, char *buf,
stand/boot/pc32/libi386/bioscd.c
214
size_t *rsize)
stand/boot/pc32/libi386/bioscd.c
222
size_t fragsize;
stand/boot/pc32/libi386/bioscd.c
93
size_t size, char *buf, size_t *rsize);
stand/boot/pc32/libi386/biosdisk.c
121
size_t size, char *buf, size_t *rsize);
stand/boot/pc32/libi386/biosdisk.c
123
size_t size, char *buf, size_t *rsize);
stand/boot/pc32/libi386/biosdisk.c
940
bd_strategy(void *devdata, int rw, daddr_t dblk, size_t size, char *buf, size_t *rsize)
stand/boot/pc32/libi386/biosdisk.c
951
bd_realstrategy(void *devdata, int rw, daddr_t dblk, size_t size, char *buf, size_t *rsize)
stand/boot/pc32/libi386/biosdisk.c
957
size_t fragsize;
stand/boot/pc32/libi386/i386_copy.c
43
i386_copyin(const void *src, vm_offset_t dest, const size_t len)
stand/boot/pc32/libi386/i386_copy.c
55
i386_copyout(const vm_offset_t src, void *dest, const size_t len)
stand/boot/pc32/libi386/i386_copy.c
68
i386_readin(const int fd, vm_offset_t dest, const size_t len)
stand/boot/pc32/libi386/i386_copy.c
71
size_t resid, chunk, get;
stand/boot/pc32/libi386/i386_copy.c
87
bcopy(buf, PTOV(dest), (size_t)got);
stand/boot/pc32/libi386/libi386.h
110
ssize_t i386_copyin(const void *src, vm_offset_t dest, const size_t len);
stand/boot/pc32/libi386/libi386.h
111
ssize_t i386_copyout(const vm_offset_t src, void *dest, const size_t len);
stand/boot/pc32/libi386/libi386.h
112
ssize_t i386_readin(const int fd, vm_offset_t dest, const size_t len);
stand/boot/pc32/libi386/pxe.c
246
pxe_strategy(void *devdata, int flag, daddr_t dblk, size_t size,
stand/boot/pc32/libi386/pxe.c
247
char *buf, size_t *rsize)
stand/boot/pc32/libi386/pxe.c
579
pxe_netif_get(struct iodesc *desc, void *pkt, size_t len, time_t timeout)
stand/boot/pc32/libi386/pxe.c
585
pxe_netif_put(struct iodesc *desc, void *pkt, size_t len)
stand/boot/pc32/libi386/pxe.c
591
sendudp(struct iodesc *h, void *pkt, size_t len)
stand/boot/pc32/libi386/pxe.c
624
readudp(struct iodesc *h, void *pkt, size_t len, time_t timeout)
stand/boot/pc32/libi386/pxe.c
77
size_t size, char *buf, size_t *rsize);
stand/boot/pc32/libi386/pxe.c
88
static int pxe_netif_get(struct iodesc *desc, void *pkt, size_t len,
stand/boot/pc32/libi386/pxe.c
90
static int pxe_netif_put(struct iodesc *desc, void *pkt, size_t len);
stand/boot/pc32/libi386/smbios.c
306
size_t count, length;
stand/boot/pc32/loader/main.c
383
size_t bytes;
stand/lib/arp.c
146
arpsend(struct iodesc *d, void *pkt, size_t len)
stand/lib/arp.c
162
arprecv(struct iodesc *d, void *pkt, size_t len, time_t tleft)
stand/lib/arp.c
65
static ssize_t arpsend(struct iodesc *, void *, size_t);
stand/lib/arp.c
66
static ssize_t arprecv(struct iodesc *, void *, size_t, time_t);
stand/lib/bootp.c
251
bootpsend(struct iodesc *d, void *pkt, size_t len)
stand/lib/bootp.c
272
bootprecv(struct iodesc *d, void *pkt, size_t len, time_t tleft)
stand/lib/bootp.c
67
static ssize_t bootpsend(struct iodesc *, void *, size_t);
stand/lib/bootp.c
68
static ssize_t bootprecv(struct iodesc *, void *, size_t, time_t);
stand/lib/bzipfs.c
219
bzf_read(struct open_file *f, void *buf, size_t size, size_t *resid)
stand/lib/bzipfs.c
50
static int bzf_read(struct open_file *f, void *buf, size_t size, size_t *resid);
stand/lib/bzipfs.c
67
calloc(int items, size_t size)
stand/lib/cd9660.c
128
size_t read;
stand/lib/cd9660.c
161
int lenskip, size_t *len)
stand/lib/cd9660.c
225
size_t len;
stand/lib/cd9660.c
279
size_t buf_size, read, dsize, off;
stand/lib/cd9660.c
433
buf_read_file(struct open_file *f, char **buf_p, size_t *size_p)
stand/lib/cd9660.c
438
size_t read;
stand/lib/cd9660.c
467
cd9660_read(struct open_file *f, void *start, size_t size, size_t *resid)
stand/lib/cd9660.c
471
size_t buf_size, csize;
stand/lib/cd9660.c
500
size_t buf_size, namelen;
stand/lib/cd9660.c
558
cd9660_write(struct open_file *f, void *start, size_t size, size_t *resid)
stand/lib/cd9660.c
62
size_t *size_p);
stand/lib/cd9660.c
65
static int cd9660_read(struct open_file *f, void *buf, size_t size,
stand/lib/cd9660.c
66
size_t *resid);
stand/lib/cd9660.c
67
static int cd9660_write(struct open_file *f, void *buf, size_t size,
stand/lib/cd9660.c
68
size_t *resid);
stand/lib/cd9660.c
77
struct iso_directory_record *dp, int lenskip, size_t *len);
stand/lib/dosfs.c
248
dos_read(struct open_file *fd, void *buf, size_t nbyte, size_t *resid)
stand/lib/dosfs.c
374
size_t res;
stand/lib/dosfs.c
47
static int dos_read(struct open_file *fd, void *buf, size_t size, size_t *resid);
stand/lib/dosfs.c
502
size_t n;
stand/lib/ether.c
55
sendether(struct iodesc *d, void *pkt, size_t len, u_char *dea, int etype)
stand/lib/ether.c
86
readether(struct iodesc *d, void *pkt, size_t len, time_t tleft,
stand/lib/ext2fs.c
305
size_t f_blksize[NIADDR]; /* size of buffer */
stand/lib/ext2fs.c
309
size_t f_buf_size; /* size of data block */
stand/lib/ext2fs.c
318
size_t *size_p);
stand/lib/ext2fs.c
330
size_t buf_size;
stand/lib/ext2fs.c
495
size_t buf_size;
stand/lib/ext2fs.c
557
size_t rsize;
stand/lib/ext2fs.c
692
buf_read_file(struct open_file *f, char **buf_p, size_t *size_p)
stand/lib/ext2fs.c
699
size_t block_size;
stand/lib/ext2fs.c
755
size_t buf_size;
stand/lib/ext2fs.c
809
ext2fs_read(struct open_file *f, void *addr, size_t size, size_t *resid)
stand/lib/ext2fs.c
812
size_t csize, buf_size;
stand/lib/ext2fs.c
879
size_t buf_size;
stand/lib/ext2fs.c
94
size_t size, size_t *resid);
stand/lib/gzipfs.c
254
zf_read(struct open_file *f, void *buf, size_t size, size_t *resid)
stand/lib/gzipfs.c
47
static int zf_read(struct open_file *f, void *buf, size_t size, size_t *resid);
stand/lib/hammer1.c
131
size_t rlen;
stand/lib/hammer1.c
177
bzero(void *buf, size_t size)
stand/lib/hammer1.c
179
for (size_t i = 0; i < size; i++)
stand/lib/hammer1.c
184
bcopy(void *src, void *dst, size_t size)
stand/lib/hammer1.c
189
static size_t
stand/lib/hammer1.c
192
size_t l = 0;
stand/lib/hammer1.c
199
memcmp(const void *a, const void *b, size_t len)
stand/lib/hammer1.c
201
for (size_t p = 0; p < len; p++) {
stand/lib/hammer1.c
619
size_t namel = strlen(name);
stand/lib/hammer1.c
637
size_t elen = e->data_len - HAMMER_ENTRY_NAME_OFF;
stand/lib/hammer1.c
833
boot2_hammer_read(boot2_ino_t ino, void *buf, size_t len)
stand/lib/hammer1.c
978
hammer_read(struct open_file *f, void *buf, size_t len, size_t *resid)
stand/lib/hammer1.c
989
size_t maxlen = len;
stand/lib/hammer2.c
103
bcopy(void *src, void *dst, size_t size)
stand/lib/hammer2.c
109
static size_t
stand/lib/hammer2.c
112
size_t l = 0;
stand/lib/hammer2.c
120
memcmp(const void *a, const void *b, size_t len)
stand/lib/hammer2.c
122
for (size_t p = 0; p < len; p++) {
stand/lib/hammer2.c
141
size_t
stand/lib/hammer2.c
144
size_t bytes;
stand/lib/hammer2.c
146
bytes = (size_t)(bref->data_off & HAMMER2_OFF_MASK_RADIX);
stand/lib/hammer2.c
148
bytes = (size_t)1 << bytes;
stand/lib/hammer2.c
154
hammer2_dirhash(const unsigned char *name, size_t len)
stand/lib/hammer2.c
159
size_t i;
stand/lib/hammer2.c
160
size_t j;
stand/lib/hammer2.c
213
h2read(struct hammer2_fs *hfs, void *buf, size_t nbytes, off_t off)
stand/lib/hammer2.c
216
size_t rlen;
stand/lib/hammer2.c
442
size_t len;
stand/lib/hammer2.c
550
off_t off, off_t filesize, void *buf, size_t len)
stand/lib/hammer2.c
66
uint32_t iscsi_crc32(const void *buf, size_t size);
stand/lib/hammer2.c
67
uint32_t iscsi_crc32_ext(const void *buf, size_t size, uint32_t ocrc);
stand/lib/hammer2.c
736
boot2_hammer2_read(boot2_ino_t ino, void *buf, size_t len)
stand/lib/hammer2.c
873
hammer2_read(struct open_file *f, void *buf, size_t len, size_t *resid)
stand/lib/hammer2.c
96
bzero(void *buf, size_t size)
stand/lib/hammer2.c
98
for (size_t i = 0; i < size; i++)
stand/lib/net.c
70
sendrecv(struct iodesc *d, ssize_t (*sproc)(struct iodesc *, void *, size_t),
stand/lib/net.c
71
void *sbuf, size_t ssize,
stand/lib/net.c
72
ssize_t (*rproc)(struct iodesc *, void *, size_t, time_t), void *rbuf,
stand/lib/net.c
73
size_t rsize)
stand/lib/net.h
100
ssize_t sendether(struct iodesc *d, void *pkt, size_t len,
stand/lib/net.h
102
ssize_t readether(struct iodesc *d, void *pkt, size_t len,
stand/lib/net.h
105
ssize_t sendudp(struct iodesc *, void *, size_t);
stand/lib/net.h
106
ssize_t readudp(struct iodesc *, void *, size_t, time_t);
stand/lib/net.h
108
ssize_t (*)(struct iodesc *, void *, size_t),
stand/lib/net.h
109
void *, size_t,
stand/lib/net.h
110
ssize_t (*)(struct iodesc *, void *, size_t, time_t),
stand/lib/net.h
111
void *, size_t);
stand/lib/netif.c
206
netif_get(struct iodesc *desc, void *pkt, size_t len, time_t timo)
stand/lib/netif.c
233
netif_put(struct iodesc *desc, void *pkt, size_t len)
stand/lib/netif.h
17
int (*netif_get)(struct iodesc *, void *, size_t, time_t);
stand/lib/netif.h
18
int (*netif_put)(struct iodesc *, void *, size_t);
stand/lib/netif.h
59
ssize_t netif_get(struct iodesc *, void *, size_t, time_t);
stand/lib/netif.h
60
ssize_t netif_put(struct iodesc *, void *, size_t);
stand/lib/nfs.c
131
static int nfs_read(struct open_file *f, void *buf, size_t size, size_t *resid);
stand/lib/nfs.c
132
static int nfs_write(struct open_file *f, void *buf, size_t size, size_t *resid);
stand/lib/nfs.c
176
size_t cc;
stand/lib/nfs.c
332
nfs_readdata(struct nfs_iodesc *d, off_t off, void *addr, size_t len)
stand/lib/nfs.c
344
size_t cc;
stand/lib/nfs.c
593
nfs_read(struct open_file *f, void *buf, size_t size, size_t *resid)
stand/lib/nfs.c
642
nfs_write(struct open_file *f, void *buf, size_t size, size_t *resid)
stand/lib/nfs.c
702
size_t cc;
stand/lib/nullfs.c
84
null_read(struct open_file *f, void *buf, size_t size, size_t *resid)
stand/lib/nullfs.c
91
null_write(struct open_file *f, void *buf, size_t size, size_t *resid)
stand/lib/pager.c
134
size_t hmuch;
stand/lib/printf.c
115
snprintf(char *buf, size_t size, const char *cfmt, ...)
stand/lib/printf.c
127
vsnprintf(char *buf, size_t size, const char *cfmt, va_list ap)
stand/lib/printf.c
291
*(va_arg(ap, size_t *)) = retval;
stand/lib/printf.c
357
num = va_arg(ap, size_t);
stand/lib/printf.c
57
size_t remain;
stand/lib/rarp.c
133
rarpsend(struct iodesc *d, void *pkt, size_t len)
stand/lib/rarp.c
149
rarprecv(struct iodesc *d, void *pkt, size_t len, time_t tleft)
stand/lib/rarp.c
53
static ssize_t rarpsend(struct iodesc *, void *, size_t);
stand/lib/rarp.c
54
static ssize_t rarprecv(struct iodesc *, void *, size_t, time_t);
stand/lib/read.c
71
read(int fd, void *dest, size_t bcount)
stand/lib/read.c
74
size_t resid;
stand/lib/read.c
98
size_t ccount, cresid;
stand/lib/rpc.c
118
size_t slen, void *rdata, size_t rlen)
stand/lib/rpc.c
236
recvrpc(struct iodesc *d, void *pkt, size_t len, time_t tleft)
stand/lib/rpc.c
98
static ssize_t recvrpc(struct iodesc *, void *, size_t, time_t);
stand/lib/rpc.h
52
void *, size_t, void *, size_t);
stand/lib/sbrk.c
36
static size_t maxheap, heapsize = 0;
stand/lib/sbrk.c
48
getheap(size_t *sizep)
stand/lib/splitfs.c
169
splitfs_read(struct open_file *f, void *buf, size_t size, size_t *resid)
stand/lib/splitfs.c
222
size_t resid;
stand/lib/splitfs.c
49
static int splitfs_read(struct open_file *f, void *buf, size_t size, size_t *resid);
stand/lib/stand.h
105
size_t, size_t *);
stand/lib/stand.h
107
size_t, size_t *);
stand/lib/stand.h
140
int (*dv_strategy)(void *, int, daddr_t, size_t, char *, size_t *);
stand/lib/stand.h
164
size_t f_ralen; /* valid data in readahead buffer */
stand/lib/stand.h
236
extern char *getheap(size_t *sizep);
stand/lib/stand.h
240
extern void *malloc(size_t);
stand/lib/stand.h
243
extern void *calloc(size_t, size_t);
stand/lib/stand.h
244
extern void *realloc(void *, size_t);
stand/lib/stand.h
245
extern void *reallocf(void *, size_t);
stand/lib/stand.h
252
int snprintf(char *, size_t, const char *, ...) __printflike(3, 4);
stand/lib/stand.h
253
int vsnprintf(char *, size_t, const char *, __va_list)
stand/lib/stand.h
270
extern ssize_t read(int, void *, size_t);
stand/lib/stand.h
271
extern ssize_t write(int, void *, size_t);
stand/lib/stand.h
349
static __inline size_t szmax(size_t a, size_t b) { return (a > b ? a : b); }
stand/lib/stand.h
350
static __inline size_t szmin(size_t a, size_t b) { return (a < b ? a : b); }
stand/lib/stand.h
365
extern int null_read(struct open_file *, void *, size_t, size_t *);
stand/lib/stand.h
366
extern int null_write(struct open_file *, void *, size_t, size_t *);
stand/lib/stand.h
390
malloc_debug(size_t size, const char *file, int line)
stand/lib/strcasecmp.c
49
strncasecmp(const char *s1, const char *s2, size_t n)
stand/lib/strdup.c
40
size_t len;
stand/lib/tftp.c
113
recvtftp(struct iodesc *d, void *pkt, size_t max_len, time_t tleft)
stand/lib/tftp.c
318
tftp_read(struct open_file *f, void *addr, size_t size, size_t *resid)
stand/lib/tftp.c
408
tftp_write(struct open_file *f, void *start, size_t size, size_t *resid)
stand/lib/tftp.c
65
static int tftp_read(struct open_file *f, void *buf, size_t size, size_t *resid);
stand/lib/tftp.c
66
static int tftp_write(struct open_file *f, void *buf, size_t size, size_t *resid);
stand/lib/udp.c
132
readudp(struct iodesc *d, void *pkt, size_t len, time_t tleft)
stand/lib/udp.c
135
size_t hlen;
stand/lib/udp.c
60
sendudp(struct iodesc *d, void *pkt, size_t len)
stand/lib/ufs.c
106
size_t f_blksize[UFS_NIADDR];
stand/lib/ufs.c
110
size_t f_buf_size; /* size of data block */
stand/lib/ufs.c
116
static int buf_read_file(struct open_file *, char **, size_t *);
stand/lib/ufs.c
131
size_t rsize;
stand/lib/ufs.c
289
buf_read_file(struct open_file *f, char **buf_p, size_t *size_p)
stand/lib/ufs.c
296
size_t block_size;
stand/lib/ufs.c
357
size_t buf_size;
stand/lib/ufs.c
408
size_t buf_size;
stand/lib/ufs.c
541
size_t buf_size;
stand/lib/ufs.c
625
ufs_read(struct open_file *f, void *start, size_t size, size_t *resid)
stand/lib/ufs.c
628
size_t csize;
stand/lib/ufs.c
630
size_t buf_size;
stand/lib/ufs.c
697
size_t buf_size;
stand/lib/ufs.c
78
static int ufs_read(struct open_file *f, void *buf, size_t size, size_t *resid);
stand/lib/write.c
68
write(int fd, void *dest, size_t bcount)
stand/lib/write.c
71
size_t resid;
stand/lib/zalloc_defs.h
67
size_t ga_Bytes;
stand/lib/zalloc_defs.h
68
size_t ga_Magic; /* must be at least 32 bits */
stand/lib/zalloc_malloc.c
120
calloc(size_t n1, size_t n2)
stand/lib/zalloc_malloc.c
138
realloc(void *ptr, size_t size)
stand/lib/zalloc_malloc.c
141
size_t old;
stand/lib/zalloc_malloc.c
145
old = *(size_t *)((char *)ptr - MALLOCALIGN) - MALLOCALIGN;
stand/lib/zalloc_malloc.c
169
reallocf(void *ptr, size_t size)
stand/lib/zalloc_malloc.c
54
malloc(size_t bytes)
stand/lib/zalloc_malloc.c
90
size_t bytes;
sys/bus/cam/cam_xpt.c
4151
xpt_path_string(struct cam_path *path, char *str, size_t str_len)
sys/bus/cam/cam_xpt.h
73
size_t str_len);
sys/bus/cam/scsi/scsi_all.c
2711
size_t asc_tables_size[2];
sys/bus/cam/scsi/scsi_all.c
2712
size_t sense_tables_size[2];
sys/bus/cam/scsi/scsi_all.c
2899
scsi_cdb_string(u_int8_t *cdb_ptr, char *cdb_string, size_t len)
sys/bus/cam/scsi/scsi_all.h
1178
size_t len);
sys/bus/cam/scsi/scsi_ch.c
1061
size_t size, desclen;
sys/bus/cam/scsi/scsi_ses.c
1972
size_t buflen;
sys/bus/cam/scsi/scsi_target.c
1177
static size_t
sys/bus/cam/scsi/scsi_target.c
152
static size_t targccblen(xpt_opcode func_code);
sys/bus/cam/scsi/scsi_target.c
697
size_t ccb_len;
sys/bus/cam/scsi/scsi_target.c
959
size_t ccb_len;
sys/bus/iicbus/iic.c
220
uiomove(sc->sc_buffer, (size_t)count, uio);
sys/bus/iicbus/iic.c
275
error = uiomove(sc->sc_inbuf, (size_t)bufsize, uio);
sys/bus/mmc/mmc.c
120
size_t buflen);
sys/bus/mmc/mmc.c
1986
size_t buflen)
sys/bus/mmc/mmcreg.h
157
size_t len; /* size of the data */
sys/bus/mmc/mmcreg.h
158
size_t xfer_len;
sys/bus/pccard/pccard.c
1013
size_t buflen)
sys/bus/pccard/pccard.c
130
const struct pccard_product *tab, size_t ent_size,
sys/bus/pccard/pccard.c
330
const struct pccard_product *tab, size_t ent_size,
sys/bus/pccard/pccard.c
982
size_t buflen)
sys/bus/pccard/pccard.c
993
pccard_safe_quote(char *dst, const char *src, size_t len)
sys/bus/pccard/pccardvar.h
244
size_t ent_size, pccard_product_match_fn matchfn)
sys/bus/pci/pci.c
190
static size_t pci_vendordata_size;
sys/bus/pci/pci.c
3071
pci_add_children(device_t dev, int domain, int busno, size_t dinfo_size)
sys/bus/pci/pci.c
3241
pci_vendordata_size = *(size_t *)info;
sys/bus/pci/pci.c
4161
size_t buflen)
sys/bus/pci/pci.c
4171
size_t buflen)
sys/bus/pci/pci.c
531
pci_read_device(device_t pcib, int d, int b, int s, int f, size_t size)
sys/bus/pci/pci_private.h
42
size_t dinfo_size);
sys/bus/pci/pci_private.h
89
size_t size);
sys/bus/pci/pci_private.h
93
char *buf, size_t buflen);
sys/bus/pci/pci_private.h
95
char *buf, size_t buflen);
sys/bus/pci/pci_user.c
313
size_t confsz, iolen, pbufsz;
sys/bus/pci/pcivar.h
551
void * vga_pci_map_bios(device_t dev, size_t *size);
sys/bus/pci/vga_pci.c
164
vga_pci_map_bios(device_t dev, size_t *size)
sys/bus/u4b/input/ukbd.c
2011
ukbd_get_state(keyboard_t *kbd, void *buf, size_t len)
sys/bus/u4b/input/ukbd.c
2018
ukbd_set_state(keyboard_t *kbd, void *buf, size_t len)
sys/bus/u4b/quirk/usb_quirk.c
713
usb_strquirk(const char *str, size_t len)
sys/bus/u4b/usb_device.c
2417
device_get_usb_iproduct(device_t dev, char *iProduct, size_t size)
sys/bus/u4b/usb_device.c
2471
size_t temp_size;
sys/bus/u4b/usb_device.h
335
void device_get_usb_iproduct(device_t dev, char *iProduct, size_t size);
sys/bus/u4b/usb_hub.c
1662
char *buf, size_t buflen)
sys/bus/u4b/usb_hub.c
1704
char *buf, size_t buflen)
sys/bus/u4b/usb_msctest.c
190
void *, size_t, void *, size_t, usb_timeout_t);
sys/bus/u4b/usb_msctest.c
535
void *data_ptr, size_t data_len, void *cmd_ptr, size_t cmd_len,
sys/bus/u4b/usb_msctest.c
569
bbb_raw_write(struct bbb_transfer *sc, const void *data_ptr, size_t data_len,
sys/bus/u4b/wlan/if_mtw.c
1114
size_t size;
sys/bus/u4b/wlan/if_rum.c
150
size_t, uint8_t, CMD_FUNC_PROTO);
sys/bus/u4b/wlan/if_rum.c
1826
rum_write_multi(struct rum_softc *sc, uint16_t reg, void *buf, size_t len)
sys/bus/u4b/wlan/if_rum.c
1830
size_t offset;
sys/bus/u4b/wlan/if_rum.c
185
size_t);
sys/bus/u4b/wlan/if_rum.c
225
size_t);
sys/bus/u4b/wlan/if_rum.c
2636
rum_load_microcode(struct rum_softc *sc, const uint8_t *ucode, size_t size)
sys/bus/u4b/wlan/if_rum.c
746
rum_cmd_sleepable(struct rum_softc *sc, const void *ptr, size_t len,
sys/bus/u4b/wlan/if_urtwn.c
1616
urtwn_cmd_sleepable(struct urtwn_softc *sc, const void *ptr, size_t len,
sys/bus/u4b/wlan/if_urtwn.c
252
size_t, CMD_FUNC_PROTO);
sys/bus/u4b/wlan/if_urtwn.c
3868
size_t len;
sys/bus/u4b/wlan/if_urtwnvar.h
93
size_t size;
sys/cpu/x86_64/include/bus_dma.h
182
size_t count);
sys/cpu/x86_64/include/bus_dma.h
187
size_t count);
sys/cpu/x86_64/include/bus_dma.h
192
size_t count);
sys/cpu/x86_64/include/bus_dma.h
196
bus_size_t offset, u_int8_t *addr, size_t count)
sys/cpu/x86_64/include/bus_dma.h
215
bus_size_t offset, u_int16_t *addr, size_t count)
sys/cpu/x86_64/include/bus_dma.h
234
bus_size_t offset, u_int32_t *addr, size_t count)
sys/cpu/x86_64/include/bus_dma.h
263
size_t count);
sys/cpu/x86_64/include/bus_dma.h
268
size_t count);
sys/cpu/x86_64/include/bus_dma.h
273
size_t count);
sys/cpu/x86_64/include/bus_dma.h
278
bus_size_t offset, u_int8_t *addr, size_t count)
sys/cpu/x86_64/include/bus_dma.h
306
bus_size_t offset, u_int16_t *addr, size_t count)
sys/cpu/x86_64/include/bus_dma.h
334
bus_size_t offset, u_int32_t *addr, size_t count)
sys/cpu/x86_64/include/bus_dma.h
434
size_t count);
sys/cpu/x86_64/include/bus_dma.h
439
size_t count);
sys/cpu/x86_64/include/bus_dma.h
445
size_t count);
sys/cpu/x86_64/include/bus_dma.h
449
bus_size_t offset, const u_int8_t *addr, size_t count)
sys/cpu/x86_64/include/bus_dma.h
468
bus_size_t offset, const u_int16_t *addr, size_t count)
sys/cpu/x86_64/include/bus_dma.h
487
bus_size_t offset, const u_int32_t *addr, size_t count)
sys/cpu/x86_64/include/bus_dma.h
518
size_t count);
sys/cpu/x86_64/include/bus_dma.h
523
size_t count);
sys/cpu/x86_64/include/bus_dma.h
528
size_t count);
sys/cpu/x86_64/include/bus_dma.h
532
bus_size_t offset, const u_int8_t *addr, size_t count)
sys/cpu/x86_64/include/bus_dma.h
560
bus_size_t offset, const u_int16_t *addr, size_t count)
sys/cpu/x86_64/include/bus_dma.h
588
bus_size_t offset, const u_int32_t *addr, size_t count)
sys/cpu/x86_64/include/bus_dma.h
627
u_int8_t value, size_t count);
sys/cpu/x86_64/include/bus_dma.h
631
u_int16_t value, size_t count);
sys/cpu/x86_64/include/bus_dma.h
635
u_int32_t value, size_t count);
sys/cpu/x86_64/include/bus_dma.h
639
bus_size_t offset, u_int8_t value, size_t count)
sys/cpu/x86_64/include/bus_dma.h
653
bus_size_t offset, u_int16_t value, size_t count)
sys/cpu/x86_64/include/bus_dma.h
667
bus_size_t offset, u_int32_t value, size_t count)
sys/cpu/x86_64/include/bus_dma.h
691
size_t count);
sys/cpu/x86_64/include/bus_dma.h
695
size_t count);
sys/cpu/x86_64/include/bus_dma.h
699
size_t count);
sys/cpu/x86_64/include/bus_dma.h
703
bus_size_t offset, u_int8_t value, size_t count)
sys/cpu/x86_64/include/bus_dma.h
717
bus_size_t offset, u_int16_t value, size_t count)
sys/cpu/x86_64/include/bus_dma.h
731
bus_size_t offset, u_int32_t value, size_t count)
sys/cpu/x86_64/include/bus_dma.h
756
bus_size_t off2, size_t count);
sys/cpu/x86_64/include/bus_dma.h
762
bus_size_t off2, size_t count);
sys/cpu/x86_64/include/bus_dma.h
768
bus_size_t off2, size_t count);
sys/cpu/x86_64/include/bus_dma.h
773
bus_size_t off2, size_t count)
sys/cpu/x86_64/include/bus_dma.h
808
bus_size_t off2, size_t count)
sys/cpu/x86_64/include/bus_dma.h
843
bus_size_t off2, size_t count)
sys/cpu/x86_64/include/cpufunc.h
382
insb(u_int port, void *addr, size_t cnt)
sys/cpu/x86_64/include/cpufunc.h
391
insw(u_int port, void *addr, size_t cnt)
sys/cpu/x86_64/include/cpufunc.h
400
insl(u_int port, void *addr, size_t cnt)
sys/cpu/x86_64/include/cpufunc.h
483
outsb(u_int port, const void *addr, size_t cnt)
sys/cpu/x86_64/include/cpufunc.h
491
outsw(u_int port, const void *addr, size_t cnt)
sys/cpu/x86_64/include/cpufunc.h
499
outsl(u_int port, const void *addr, size_t cnt)
sys/cpu/x86_64/include/cpufunc.h
947
void insb(u_int port, void *addr, size_t cnt);
sys/cpu/x86_64/include/cpufunc.h
948
void insl(u_int port, void *addr, size_t cnt);
sys/cpu/x86_64/include/cpufunc.h
949
void insw(u_int port, void *addr, size_t cnt);
sys/cpu/x86_64/include/cpufunc.h
965
void outsb(u_int port, void *addr, size_t cnt);
sys/cpu/x86_64/include/cpufunc.h
966
void outsl(u_int port, void *addr, size_t cnt);
sys/cpu/x86_64/include/cpufunc.h
967
void outsw(u_int port, void *addr, size_t cnt);
sys/cpu/x86_64/include/tls.h
121
tls_set_gs(void *base, size_t bytes)
sys/crypto/aesni/aesni.h
64
void aesni_encrypt_cbc(int rounds, const void *key_schedule, size_t len,
sys/crypto/aesni/aesni.h
66
void aesni_decrypt_ecb(int rounds, const void *key_schedule, size_t len,
sys/crypto/aesni/aesni.h
68
void aesni_encrypt_ecb(int rounds, const void *key_schedule, size_t len,
sys/crypto/aesni/aesni.h
70
void aesni_decrypt_cbc(int rounds, const void *key_schedule, size_t len,
sys/crypto/aesni/aesni.h
79
const void *tweak_schedule, size_t len, const uint8_t *from, uint8_t *to,
sys/crypto/aesni/aesni.h
84
const void *tweak_schedule, size_t len, const uint8_t *from, uint8_t *to,
sys/crypto/aesni/aesni.h
89
const void *tweak_schedule, size_t len, const uint8_t *from, uint8_t *to,
sys/crypto/aesni/aesni_wrap.c
114
const void *tweak_schedule, size_t len, const uint8_t *from, uint8_t *to,
sys/crypto/aesni/aesni_wrap.c
119
size_t i;
sys/crypto/aesni/aesni_wrap.c
147
const void *tweak_schedule, size_t len, const uint8_t *from, uint8_t *to,
sys/crypto/aesni/aesni_wrap.c
157
const void *tweak_schedule, size_t len, const uint8_t *from, uint8_t *to,
sys/crypto/aesni/aesni_wrap.c
34
aesni_encrypt_cbc(int rounds, const void *key_schedule, size_t len,
sys/crypto/aesni/aesni_wrap.c
38
size_t i;
sys/crypto/aesni/aesni_wrap.c
51
aesni_encrypt_ecb(int rounds, const void *key_schedule, size_t len,
sys/crypto/aesni/aesni_wrap.c
54
size_t i;
sys/crypto/aesni/aesni_wrap.c
65
aesni_decrypt_ecb(int rounds, const void *key_schedule, size_t len,
sys/crypto/aesni/aesni_wrap.c
68
size_t i;
sys/crypto/blake2/blake2s.c
165
void blake2s_update(struct blake2s_state *state, const uint8_t *in, size_t inlen)
sys/crypto/blake2/blake2s.c
167
const size_t fill = BLAKE2S_BLOCK_SIZE - state->buflen;
sys/crypto/blake2/blake2s.c
179
const size_t nblocks =
sys/crypto/blake2/blake2s.c
74
void blake2s_init(struct blake2s_state *state, size_t outlen)
sys/crypto/blake2/blake2s.c
82
void blake2s_init_key(struct blake2s_state *state, size_t outlen,
sys/crypto/blake2/blake2s.c
83
const void *key, size_t keylen)
sys/crypto/blake2/blake2s.c
98
const uint8_t *block, size_t nblocks,
sys/crypto/blake2/blake2s.h
40
void blake2s_init(struct blake2s_state *state, size_t outlen);
sys/crypto/blake2/blake2s.h
41
void blake2s_init_key(struct blake2s_state *state, size_t outlen,
sys/crypto/blake2/blake2s.h
42
const void *key, size_t keylen);
sys/crypto/blake2/blake2s.h
44
size_t inlen);
sys/crypto/blake2/blake2s.h
49
size_t outlen, size_t inlen, size_t keylen)
sys/crypto/chachapoly.c
111
uint8_t *out, const uint8_t *in, size_t in_len)
sys/crypto/chachapoly.c
151
uint8_t *out, const uint8_t *in, size_t in_len)
sys/crypto/chachapoly.c
205
chacha20poly1305_encrypt(uint8_t *dst, const uint8_t *src, size_t src_len,
sys/crypto/chachapoly.c
206
const uint8_t *ad, size_t ad_len,
sys/crypto/chachapoly.c
211
size_t len;
sys/crypto/chachapoly.c
225
chacha20poly1305_decrypt(uint8_t *dst, const uint8_t *src, size_t src_len,
sys/crypto/chachapoly.c
226
const uint8_t *ad, size_t ad_len,
sys/crypto/chachapoly.c
231
size_t data_len, len;
sys/crypto/chachapoly.c
256
xchacha20poly1305_encrypt(uint8_t *dst, const uint8_t *src, size_t src_len,
sys/crypto/chachapoly.c
257
const uint8_t *ad, size_t ad_len,
sys/crypto/chachapoly.c
278
xchacha20poly1305_decrypt(uint8_t *dst, const uint8_t *src, size_t src_len,
sys/crypto/chachapoly.c
279
const uint8_t *ad, size_t ad_len,
sys/crypto/chachapoly.c
32
size_t ad_len;
sys/crypto/chachapoly.c
33
size_t data_len;
sys/crypto/chachapoly.c
360
chacha20poly1305_encrypt_mbuf(struct mbuf *m, const uint8_t *ad, size_t ad_len,
sys/crypto/chachapoly.c
382
chacha20poly1305_decrypt_mbuf(struct mbuf *m, const uint8_t *ad, size_t ad_len,
sys/crypto/chachapoly.c
90
const uint8_t *ad, size_t ad_len)
sys/crypto/chachapoly.h
35
void chacha20poly1305_encrypt(uint8_t *, const uint8_t *, size_t,
sys/crypto/chachapoly.h
36
const uint8_t *, size_t,
sys/crypto/chachapoly.h
39
bool chacha20poly1305_decrypt(uint8_t *, const uint8_t *, size_t,
sys/crypto/chachapoly.h
40
const uint8_t *, size_t,
sys/crypto/chachapoly.h
50
void xchacha20poly1305_encrypt(uint8_t *, const uint8_t *, size_t,
sys/crypto/chachapoly.h
51
const uint8_t *, size_t,
sys/crypto/chachapoly.h
54
bool xchacha20poly1305_decrypt(uint8_t *, const uint8_t *, size_t,
sys/crypto/chachapoly.h
55
const uint8_t *, size_t,
sys/crypto/chachapoly.h
63
int chacha20poly1305_encrypt_mbuf(struct mbuf *, const uint8_t *, size_t,
sys/crypto/chachapoly.h
66
int chacha20poly1305_decrypt_mbuf(struct mbuf *, const uint8_t *, size_t,
sys/crypto/cryptoapi/cryptoapi.c
1006
size_t i;
sys/crypto/cryptoapi/cryptoapi.c
1035
align_ptr(void *ptr, size_t alignment)
sys/crypto/cryptoapi/cryptoapi.c
1049
size_t sessionsz;
sys/crypto/poly1305/poly1305.c
159
poly1305_update(poly1305_state *st, const uint8_t *m, size_t bytes)
sys/crypto/poly1305/poly1305.c
161
size_t i;
sys/crypto/poly1305/poly1305.c
165
size_t want = (POLY1305_BLOCK_SIZE - st->leftover);
sys/crypto/poly1305/poly1305.c
181
size_t want = (bytes & ~(POLY1305_BLOCK_SIZE - 1));
sys/crypto/poly1305/poly1305.c
205
size_t i = st->leftover;
sys/crypto/poly1305/poly1305.c
66
poly1305_blocks(poly1305_state *st, const uint8_t *m, size_t bytes)
sys/crypto/poly1305/poly1305.h
20
size_t leftover;
sys/crypto/poly1305/poly1305.h
26
void poly1305_update(poly1305_state *, const uint8_t *, size_t);
sys/crypto/sha1.c
186
size_t padlen; /*pad length in bytes*/
sys/crypto/sha1.c
187
size_t padstart;
sys/crypto/sha1.c
218
sha1_loop(struct sha1_ctxt *ctxt, const u_int8_t *input, size_t len)
sys/crypto/sha1.c
220
size_t gaplen;
sys/crypto/sha1.c
221
size_t gapstart;
sys/crypto/sha1.c
222
size_t off;
sys/crypto/sha1.c
223
size_t copysiz;
sys/crypto/sha1.c
92
size_t t, s;
sys/crypto/sha1.h
60
extern void sha1_loop(struct sha1_ctxt *, const u_int8_t *, size_t);
sys/crypto/sha2/sha2.c
1047
char* SHA384_Data(const sha2_byte* data, size_t len, char digest[SHA384_DIGEST_STRING_LENGTH]) {
sys/crypto/sha2/sha2.c
509
void SHA256_Update(SHA256_CTX* context, const sha2_byte *data, size_t len) {
sys/crypto/sha2/sha2.c
643
char* SHA256_Data(const sha2_byte* data, size_t len, char digest[SHA256_DIGEST_STRING_LENGTH]) {
sys/crypto/sha2/sha2.c
831
void SHA512_Update(SHA512_CTX* context, const sha2_byte *data, size_t len) {
sys/crypto/sha2/sha2.c
972
char* SHA512_Data(const sha2_byte* data, size_t len, char digest[SHA512_DIGEST_STRING_LENGTH]) {
sys/crypto/sha2/sha2.c
991
void SHA384_Update(SHA384_CTX* context, const sha2_byte* data, size_t len) {
sys/crypto/sha2/sha2.h
119
void SHA256_Update(SHA256_CTX*, const u_int8_t*, size_t);
sys/crypto/sha2/sha2.h
122
char* SHA256_Data(const u_int8_t*, size_t, char[SHA256_DIGEST_STRING_LENGTH]);
sys/crypto/sha2/sha2.h
125
void SHA384_Update(SHA384_CTX*, const u_int8_t*, size_t);
sys/crypto/sha2/sha2.h
128
char* SHA384_Data(const u_int8_t*, size_t, char[SHA384_DIGEST_STRING_LENGTH]);
sys/crypto/sha2/sha2.h
131
void SHA512_Update(SHA512_CTX*, const u_int8_t*, size_t);
sys/crypto/sha2/sha2.h
134
char* SHA512_Data(const u_int8_t*, size_t, char[SHA512_DIGEST_STRING_LENGTH]);
sys/crypto/siphash/siphash.c
114
SipHash_Update(SIPHASH_CTX *ctx, const void *src, size_t len)
sys/crypto/siphash/siphash.c
119
size_t rem;
sys/crypto/siphash/siphash.c
194
const uint8_t key[static SIPHASH_KEY_LENGTH], const void *src, size_t len)
sys/crypto/siphash/siphash.c
87
static size_t
sys/crypto/siphash/siphash.c
88
SipBuf(SIPHASH_CTX *ctx, const uint8_t **src, size_t len, int final)
sys/crypto/siphash/siphash.c
90
size_t x = 0;
sys/crypto/siphash/siphash.h
72
void SipHash_Update(SIPHASH_CTX *, const void *, size_t);
sys/crypto/siphash/siphash.h
79
const uint8_t[__min_size(SIPHASH_KEY_LENGTH)], const void *, size_t);
sys/ddb/db_output.c
260
db_format_radix(char *buf, size_t bufsiz, quad_t val, int altflag)
sys/ddb/db_output.c
286
db_format_hex(char *buf, size_t bufsiz, quad_t val, int altflag)
sys/ddb/db_output.h
43
void db_format_radix(char *, size_t, quad_t, int);
sys/ddb/db_output.h
44
void db_format_hex(char *, size_t, quad_t, int);
sys/ddb/db_sym.c
211
size_t newdiff;
sys/ddb/ddb.h
105
void db_read_bytes (vm_offset_t addr, size_t size, char *data);
sys/ddb/ddb.h
115
void db_write_bytes (vm_offset_t addr, size_t size, char *data);
sys/dev/acpica/acpi.c
166
char *buf, size_t buflen);
sys/dev/acpica/acpi.c
168
char *buf, size_t buflen);
sys/dev/acpica/acpi.c
3781
size_t len;
sys/dev/acpica/acpi.c
924
size_t buflen)
sys/dev/acpica/acpi.c
938
size_t buflen)
sys/dev/acpica/acpi_hp/acpi_hp.c
305
UINT8 instance, char* outbuf, size_t outsize,
sys/dev/acpica/acpi_hp/acpi_hp.c
863
acpi_hp_get_string_from_object(ACPI_OBJECT* obj, char* dst, size_t size) {
sys/dev/acpica/acpi_hp/acpi_hp.c
900
char* outbuf, size_t outsize, UINT32* sequence, int detail)
sys/dev/acpica/acpi_package.c
70
acpi_PkgStr(ACPI_OBJECT *res, int idx, void *dst, size_t size)
sys/dev/acpica/acpi_package.c
74
size_t length;
sys/dev/acpica/acpi_pci.c
142
size_t buflen)
sys/dev/acpica/acpi_pci.c
68
device_t child, char *buf, size_t buflen);
sys/dev/acpica/acpi_pci_link.c
135
acpi_short_name(ACPI_HANDLE handle, char *buffer, size_t buflen)
sys/dev/acpica/acpi_resource.c
61
size_t len;
sys/dev/acpica/acpi_video/acpi_video.c
900
size_t i;
sys/dev/acpica/acpivar.h
498
int acpi_PkgStr(ACPI_OBJECT *res, int idx, void *dst, size_t size);
sys/dev/crypto/rndtest/rndtest.c
113
size_t i;
sys/dev/crypto/tpm/tpm.c
1072
tpm_legacy_read(struct tpm_softc *sc, void *buf, int len, size_t *count,
sys/dev/crypto/tpm/tpm.c
1076
size_t cnt;
sys/dev/crypto/tpm/tpm.c
1187
size_t cnt;
sys/dev/crypto/tpm/tpm.c
167
int tpm_tis12_read(struct tpm_softc *, void *, int, size_t *, int);
sys/dev/crypto/tpm/tpm.c
184
int tpm_legacy_read(struct tpm_softc *, void *, int, size_t *, int);
sys/dev/crypto/tpm/tpm.c
767
tpm_tis12_read(struct tpm_softc *sc, void *buf, int len, size_t *count,
sys/dev/crypto/tpm/tpm.c
771
size_t cnt;
sys/dev/crypto/tpm/tpm.c
810
size_t cnt;
sys/dev/crypto/tpm/tpm20.c
106
size_t byte_count;
sys/dev/crypto/tpm/tpm20.c
73
size_t bytes_to_transfer;
sys/dev/crypto/tpm/tpm20.h
120
size_t pending_data_length;
sys/dev/crypto/tpm/tpm20.h
129
int (*transmit)(struct tpm_sc *, size_t);
sys/dev/crypto/tpm/tpm_crb.c
128
size_t length;
sys/dev/crypto/tpm/tpm_crb.c
307
tpmcrb_transmit(struct tpm_sc *sc, size_t length)
sys/dev/crypto/tpm/tpm_crb.c
83
size_t cmd_buf_size;
sys/dev/crypto/tpm/tpm_crb.c
84
size_t rsp_buf_size;
sys/dev/crypto/tpm/tpm_crb.c
87
int tpmcrb_transmit(struct tpm_sc *sc, size_t size);
sys/dev/crypto/tpm/tpm_tis.c
296
tpmtis_read_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf)
sys/dev/crypto/tpm/tpm_tis.c
316
tpmtis_write_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf)
sys/dev/crypto/tpm/tpm_tis.c
399
tpmtis_transmit(struct tpm_sc *sc, size_t length)
sys/dev/crypto/tpm/tpm_tis.c
401
size_t bytes_available;
sys/dev/crypto/tpm/tpm_tis.c
76
static int tpmtis_transmit(struct tpm_sc *sc, size_t length);
sys/dev/crypto/tpm/tpm_tis.c
87
static bool tpmtis_read_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf);
sys/dev/crypto/tpm/tpm_tis.c
88
static bool tpmtis_write_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf);
sys/dev/crypto/tpm/tpmvar.h
29
int (*sc_read)(struct tpm_softc *, void *, int, size_t *, int);
sys/dev/disk/ahci/ahci.h
538
size_t sc_rfis_size;
sys/dev/disk/ahci/ahci.h
539
size_t sc_cmdlist_size;
sys/dev/disk/ahci/atascsi.h
364
size_t datalen;
sys/dev/disk/ahci/atascsi.h
365
size_t resid;
sys/dev/disk/dm/crypt/dm_target_crypt.c
104
size_t length;
sys/dev/disk/dm/crypt/dm_target_crypt.c
126
size_t data_buf_sz);
sys/dev/disk/dm/crypt/dm_target_crypt.c
133
size_t data_buf_sz);
sys/dev/disk/dm/crypt/dm_target_crypt.c
213
dmtc_crypto_clear(void *buf, size_t len)
sys/dev/disk/dm/crypt/dm_target_crypt.c
343
size_t iv_len, off_t sector)
sys/dev/disk/dm/crypt/dm_target_crypt.c
373
size_t iv_len, off_t sector)
sys/dev/disk/dm/crypt/dm_target_crypt.c
381
size_t iv_len, off_t sector)
sys/dev/disk/dm/crypt/dm_target_crypt.c
393
hex2key(char *hex, size_t key_len, u_int8_t *key)
sys/dev/disk/dm/crypt/dm_target_crypt.c
396
size_t key_idx;
sys/dev/disk/dm/crypt/dm_target_crypt.c
450
size_t len;
sys/dev/disk/dm/crypt/dm_target_crypt.c
61
typedef void ivgen_t(struct target_crypt_config *, u_int8_t *, size_t, off_t);
sys/dev/disk/dm/crypt/dm_target_crypt.c
76
size_t keyhash_len;
sys/dev/disk/dm/crypt/dm_target_crypt.c
784
dmtc_bio_read_decrypt(struct bio *bio, uint8_t *data_buf, size_t data_buf_sz)
sys/dev/disk/dm/crypt/dm_target_crypt.c
81
size_t params_len;
sys/dev/disk/dm/crypt/dm_target_crypt.c
884
dmtc_bio_write_encrypt(struct bio *bio, uint8_t *data_buf, size_t data_buf_sz)
sys/dev/disk/dm/crypt/dm_target_crypt.c
997
dm_target_crypt_dump(dm_table_entry_t *table_en, void *data, size_t length, off_t offset)
sys/dev/disk/dm/dm.h
167
int (*dump)(dm_table_entry_t *, void *data, size_t length, off_t offset);
sys/dev/disk/dm/dm_ioctl.c
1073
size_t i;
sys/dev/disk/dm/dm_target.c
232
size_t i;
sys/dev/disk/dm/dmirror/dm_target_dmirror.c
312
size_t fsb;
sys/dev/disk/dm/dmirror/dm_target_dmirror.c
88
size_t params_len;
sys/dev/disk/dm/linear/dm_target_linear.c
123
dm_target_linear_dump(dm_table_entry_t *table_en, void *data, size_t length, off_t offset)
sys/dev/disk/dm/snapshot/dm_target_snapshot.c
168
size_t prm_len, cow_len;
sys/dev/disk/dm/snapshot/dm_target_snapshot.c
299
size_t prm_len;
sys/dev/disk/dm/striped/dm_target_striped.c
160
size_t len;
sys/dev/disk/dm/striped/dm_target_striped.c
202
size_t len;
sys/dev/disk/dm/striped/dm_target_striped.c
373
dm_target_stripe_dump(dm_table_entry_t *table_en, void *data, size_t length, off_t offset)
sys/dev/disk/fd/fd.c
1470
size_t fdblk;
sys/dev/disk/fd/fd.c
1663
size_t fdblk;
sys/dev/disk/fd/fd.c
2251
size_t fdblk;
sys/dev/disk/iscsi/initiator/isc_sm.c
262
size_t len, n;
sys/dev/disk/iscsi/initiator/isc_soc.c
373
size_t n, len;
sys/dev/disk/iscsi/initiator/isc_subr.c
62
i_strdupin(char *s, size_t maxlen)
sys/dev/disk/iscsi/initiator/isc_subr.c
64
size_t len;
sys/dev/disk/iscsi/initiator/isc_subr.c
86
size_t len;
sys/dev/disk/iscsi/initiator/iscsi.c
515
size_t need, have, n;
sys/dev/disk/isp/isp.c
1973
size_t amt = 0;
sys/dev/disk/isp/isp_freebsd.c
1918
size_t amt = ISP_MIN(QLTM_SENSELEN, sizeof (atiop->sense_data));
sys/dev/disk/isp/isp_pci.c
648
size_t psize, xsize;
sys/dev/disk/mpt/mpt.c
1372
mpt_send_handshake_cmd(struct mpt_softc *mpt, size_t len, void *cmd)
sys/dev/disk/mpt/mpt.c
1432
mpt_recv_handshake_reply(struct mpt_softc *mpt, size_t reply_len, void *reply)
sys/dev/disk/mpt/mpt.c
1689
CONFIG_EXTENDED_PAGE_HEADER *hdr, void *buf, size_t len,
sys/dev/disk/mpt/mpt.c
1789
CONFIG_PAGE_HEADER *hdr, size_t len, int sleep_ok,
sys/dev/disk/mpt/mpt.c
1830
CONFIG_PAGE_HEADER *hdr, size_t len, int sleep_ok,
sys/dev/disk/mpt/mpt.c
1905
size_t len;
sys/dev/disk/mpt/mpt.c
2628
size_t len;
sys/dev/disk/mpt/mpt.h
1068
size_t reply_len, void *reply);
sys/dev/disk/mpt/mpt.h
1078
size_t len, void *cmd);
sys/dev/disk/mpt/mpt.h
1098
void *buf, size_t len, int sleep_ok,
sys/dev/disk/mpt/mpt.h
1107
CONFIG_PAGE_HEADER *, size_t /*len*/,
sys/dev/disk/mpt/mpt.h
1111
CONFIG_PAGE_HEADER *, size_t /*len*/,
sys/dev/disk/mpt/mpt.h
1115
CONFIG_PAGE_HEADER *hdr, size_t len,
sys/dev/disk/mpt/mpt.h
1124
CONFIG_PAGE_HEADER *hdr, size_t len, int sleep_ok,
sys/dev/disk/mpt/mpt.h
779
static __inline void mpt_write(struct mpt_softc *, size_t, uint32_t);
sys/dev/disk/mpt/mpt.h
781
static __inline void mpt_pio_write(struct mpt_softc *, size_t, uint32_t);
sys/dev/disk/mpt/mpt.h
785
mpt_write(struct mpt_softc *mpt, size_t offset, uint32_t val)
sys/dev/disk/mpt/mpt.h
802
mpt_pio_write(struct mpt_softc *mpt, size_t offset, uint32_t val)
sys/dev/disk/mpt/mpt_cam.c
4536
uint32_t lun, int send, uint8_t *data, size_t length)
sys/dev/disk/mpt/mpt_cam.c
5054
size_t len;
sys/dev/disk/mpt/mpt_debug.c
235
ptr += ksnprintf(ptr, (size_t)(end-ptr), "%s ",
sys/dev/disk/mpt/mpt_debug.c
281
ptr += ksnprintf(ptr, (size_t)(end-ptr), "%s ",
sys/dev/disk/mpt/mpt_pci.c
691
size_t len;
sys/dev/disk/mpt/mpt_raid.c
1365
size_t len;
sys/dev/disk/mpt/mpt_user.c
188
size_t len)
sys/dev/disk/nata/ata-queue.c
679
size_t left = (size_t)bioq_reorder_minor_bytes;
sys/dev/disk/nata/ata-queue.c
680
size_t n;
sys/dev/disk/ncr/ncr.c
5648
size_t vdsp_off;
sys/dev/disk/nvme/nvme.c
349
char *kva, size_t bytes,
sys/dev/disk/nvme/nvme.c
376
size_t count = 0;
sys/dev/disk/nvme/nvme.c
377
size_t idx = 0;
sys/dev/disk/nvme/nvme.c
427
char *kva, size_t bytes)
sys/dev/disk/nvme/nvme.c
494
char *kva, size_t bytes)
sys/dev/disk/nvme/nvme.c
962
size_t
sys/dev/disk/nvme/nvme.c
965
size_t i;
sys/dev/disk/nvme/nvme.c
966
size_t j;
sys/dev/disk/nvme/nvme.h
245
size_t prp_bytes;
sys/dev/disk/nvme/nvme.h
246
size_t cmd_bytes;
sys/dev/disk/nvme/nvme.h
247
size_t res_bytes;
sys/dev/disk/nvme/nvme.h
248
size_t adm_bytes;
sys/dev/disk/nvme/nvme.h
297
char *kva, size_t bytes);
sys/dev/disk/nvme/nvme.h
299
char *kva, size_t bytes);
sys/dev/disk/nvme/nvme.h
324
size_t string_cleanup(char *str, int domiddle);
sys/dev/disk/nvme/nvme_disk.c
74
size_t len;
sys/dev/disk/sbp/sbp.c
2534
(size_t)s->ds_len, i+1, (intmax_t)seg);
sys/dev/disk/sdhci/sdhci.c
1430
size_t left = data->len - slot->offset;
sys/dev/disk/sdhci/sdhci.c
1626
size_t left;
sys/dev/disk/sdhci/sdhci.c
387
size_t left;
sys/dev/disk/sdhci/sdhci.c
430
size_t left;
sys/dev/disk/sdhci/sdhci.h
387
size_t offset; /* Data buffer offset */
sys/dev/disk/sili/atascsi.h
307
size_t datalen;
sys/dev/disk/sili/atascsi.h
308
size_t resid;
sys/dev/disk/sym/sym_hipd.c
194
((type *)((char *)(ptr)-(size_t)(&((type *)0)->member)))
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
190
size_t size;
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
266
size_t size;
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
328
size_t size;
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
524
size_t size;
sys/dev/drm/amd/amdgpu/amdgpu_acpi.c
625
size_t size;
sys/dev/drm/amd/amdgpu/amdgpu_amdkfd.c
107
size_t *aperture_size,
sys/dev/drm/amd/amdgpu/amdgpu_amdkfd.c
108
size_t *start_offset)
sys/dev/drm/amd/amdgpu/amdgpu_amdkfd.c
271
int alloc_gtt_mem(struct kgd_dev *kgd, size_t size,
sys/dev/drm/amd/amdgpu/amdgpu_amdkfd.h
137
int alloc_gtt_mem(struct kgd_dev *kgd, size_t size,
sys/dev/drm/amd/amdgpu/amdgpu_bios.c
126
size_t size;
sys/dev/drm/amd/amdgpu/amdgpu_bios.c
197
size_t size;
sys/dev/drm/amd/amdgpu/amdgpu_bios.c
48
static bool check_atom_bios(uint8_t *bios, size_t size)
sys/dev/drm/amd/amdgpu/amdgpu_bo_list.c
69
size_t size;
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
100
char __user *buf, size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
202
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
211
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
230
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
269
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
309
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
348
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
388
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
427
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
469
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
558
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
618
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
690
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_job.c
53
size_t size = sizeof(struct amdgpu_job);
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
513
ret = copy_to_user(out, &ip, min((size_t)size, sizeof(ip)));
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
572
min((size_t)size, sizeof(fw_info))) ? -EFAULT : 0;
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
604
min((size_t)size, sizeof(gds_info))) ? -EFAULT : 0;
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
617
min((size_t)size, sizeof(vram_gtt))) ? -EFAULT : 0;
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
648
min((size_t)size, sizeof(mem)))
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
768
min((size_t)size, sizeof(dev_info))) ? -EFAULT : 0;
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
786
min((size_t)size, sizeof(vce_clk_table))) ? -EFAULT : 0;
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
794
min((size_t)size, sizeof(bios_size)))
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
805
min((size_t)size, (size_t)(bios_size - bios_offset)))
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
825
min((size_t)size, sizeof(handle))) ? -EFAULT : 0;
sys/dev/drm/amd/amdgpu/amdgpu_object.c
1191
size_t buffer_size, uint32_t *metadata_size,
sys/dev/drm/amd/amdgpu/amdgpu_object.c
431
size_t acc_size;
sys/dev/drm/amd/amdgpu/amdgpu_object.h
261
size_t buffer_size, uint32_t *metadata_size,
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
1095
size_t count)
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
1134
const char *buf, size_t count)
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
1277
const char *buf, size_t count)
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
1324
size_t count)
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
140
size_t count)
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
1502
size_t count)
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
265
size_t count)
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
392
size_t count)
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
466
size_t count)
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
546
size_t count)
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
669
static ssize_t amdgpu_read_mask(const char *buf, size_t count, uint32_t *mask)
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
677
size_t bytes;
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
702
size_t count)
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
738
size_t count)
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
774
size_t count)
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
811
size_t count)
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
855
size_t count)
sys/dev/drm/amd/amdgpu/amdgpu_pm.c
919
size_t count)
sys/dev/drm/amd/amdgpu/amdgpu_ring.c
424
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_ttm.c
2276
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_ttm.c
2320
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_ttm.c
2371
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_ttm.c
2380
size_t cur_size = min_t(size_t, size, PAGE_SIZE - off);
sys/dev/drm/amd/amdgpu/amdgpu_ttm.c
2425
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_ttm.c
2438
size_t bytes = PAGE_SIZE - off;
sys/dev/drm/amd/amdgpu/amdgpu_ttm.c
2483
size_t size, loff_t *pos)
sys/dev/drm/amd/amdgpu/amdgpu_ttm.c
2495
size_t bytes = PAGE_SIZE - off;
sys/dev/drm/amd/amdgpu/atombios_dp.c
133
size_t tx_size;
sys/dev/drm/amd/amdgpu/dce_v10_0.c
1494
void *buffer, size_t size)
sys/dev/drm/amd/amdgpu/dce_v11_0.c
1536
void *buffer, size_t size)
sys/dev/drm/amd/amdgpu/dce_v8_0.c
1444
void *buffer, size_t size)
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
2772
size_t mec_hpd_size;
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
2847
size_t eop_offset = (mec * adev->gfx.mec.num_pipe_per_mec + pipe)
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
1436
size_t mec_hpd_size;
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
1256
size_t mec_hpd_size;
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
623
size_t i;
sys/dev/drm/amd/amdgpu/gmc_v9_0.c
625
size_t lost_sheep;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2056
size_t count)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.h
262
size_t *values_cnt);
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
51
size_t *values_cnt)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
141
size_t size, loff_t *pos)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
278
size_t size, loff_t *pos)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
318
size_t size, loff_t *pos)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
478
size_t size, loff_t *pos)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
731
size_t size,
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
748
size_t to_copy = log_ctx.pos - *pos;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
75
size_t size, loff_t *pos)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
770
size_t size,
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
358
size_t total;
sys/dev/drm/amd/display/include/logger_types.h
71
size_t pos;
sys/dev/drm/amd/display/include/logger_types.h
72
size_t size;
sys/dev/drm/amd/include/kgd_kfd_interface.h
160
size_t doorbell_aperture_size;
sys/dev/drm/amd/include/kgd_kfd_interface.h
163
size_t doorbell_start_offset;
sys/dev/drm/amd/include/kgd_kfd_interface.h
323
int (*init_gtt_mem_allocation)(struct kgd_dev *kgd, size_t size,
sys/dev/drm/amd/include/kgd_pp_interface.h
236
int (*set_pp_table)(void *handle, const char *buf, size_t size);
sys/dev/drm/amd/powerplay/amd_powerplay.c
676
static int pp_dpm_set_pp_table(void *handle, const char *buf, size_t size)
sys/dev/drm/drm_agpsupport.c
189
static void *drm_agp_allocate_memory(size_t pages, u32 type)
sys/dev/drm/drm_atomic.c
716
size_t size;
sys/dev/drm/drm_connector.c
1520
size_t size = 0;
sys/dev/drm/drm_dp_dual_mode_helper.c
103
u8 offset, const void *buffer, size_t size)
sys/dev/drm/drm_dp_dual_mode_helper.c
61
u8 offset, void *buffer, size_t size)
sys/dev/drm/drm_dp_helper.c
219
unsigned int offset, void *buffer, size_t size)
sys/dev/drm/drm_dp_helper.c
290
void *buffer, size_t size)
sys/dev/drm/drm_dp_helper.c
335
void *buffer, size_t size)
sys/dev/drm/drm_dp_mst_topology.c
1125
size_t proppath_size)
sys/dev/drm/drm_dp_mst_topology.c
70
static u8 drm_dp_msg_header_crc4(const uint8_t *data, size_t num_nibbles)
sys/dev/drm/drm_dragonfly.c
70
size_t size;
sys/dev/drm/drm_edid.c
1513
drm_do_probe_ddc_edid(void *data, u8 *buf, unsigned int block, size_t len)
sys/dev/drm/drm_edid.c
1614
size_t len),
sys/dev/drm/drm_fb_helper.c
1146
size_t count, loff_t *ppos)
sys/dev/drm/drm_fb_helper.c
1162
size_t count, loff_t *ppos)
sys/dev/drm/drm_fb_helper.c
155
size_t size = count * sizeof(fb_conn);
sys/dev/drm/drm_fb_helper.c
780
size_t offset = clip->y1 * fb->pitches[0] + clip->x1 * cpp;
sys/dev/drm/drm_fb_helper.c
783
size_t len = (clip->x2 - clip->x1) * cpp;
sys/dev/drm/drm_file.c
663
size_t count = uio->uio_resid;
sys/dev/drm/drm_gem.c
191
struct drm_gem_object *obj, size_t size)
sys/dev/drm/drm_gem.c
217
struct drm_gem_object *obj, size_t size)
sys/dev/drm/drm_gem.c
567
drm_gem_create_mmap_offset_size(struct drm_gem_object *obj, size_t size)
sys/dev/drm/drm_ioctl.c
459
static int drm_copy_field(char __user *buf, size_t *buf_len, const char *value)
sys/dev/drm/drm_mipi_dsi.c
570
size_t size)
sys/dev/drm/drm_mipi_dsi.c
615
size_t num_params, void *data, size_t size)
sys/dev/drm/drm_mipi_dsi.c
659
const void *data, size_t len)
sys/dev/drm/drm_mipi_dsi.c
702
const void *data, size_t len)
sys/dev/drm/drm_mipi_dsi.c
705
size_t size;
sys/dev/drm/drm_mipi_dsi.c
742
size_t len)
sys/dev/drm/drm_pci.c
109
size_t sz;
sys/dev/drm/drm_pci.c
163
size_t sz;
sys/dev/drm/drm_pci.c
60
drm_dma_handle_t *drm_pci_alloc(struct drm_device * dev, size_t size, size_t align)
sys/dev/drm/drm_plane.c
91
size_t blob_size, formats_size, modifiers_size;
sys/dev/drm/drm_print.c
81
size_t len;
sys/dev/drm/drm_property.c
553
drm_property_create_blob(struct drm_device *dev, size_t length,
sys/dev/drm/drm_property.c
690
size_t length,
sys/dev/drm/drm_scdc_helper.c
54
size_t size)
sys/dev/drm/drm_scdc_helper.c
94
const void *buffer, size_t size)
sys/dev/drm/i915/i915_drv.h
1435
size_t count,
sys/dev/drm/i915/i915_drv.h
1436
size_t *offset);
sys/dev/drm/i915/i915_drv.h
1570
size_t count,
sys/dev/drm/i915/i915_drv.h
1571
size_t *offset);
sys/dev/drm/i915/i915_drv.h
2966
const void *data, size_t size);
sys/dev/drm/i915/i915_drv.h
3461
bool intel_bios_is_valid_vbt(const void *buf, size_t size);
sys/dev/drm/i915/i915_gem.c
5128
size_t size)
sys/dev/drm/i915/i915_gem.c
6468
const void *data, size_t size)
sys/dev/drm/i915/i915_gem.c
6472
size_t offset;
sys/dev/drm/i915/i915_gem_batch_pool.c
83
size_t size)
sys/dev/drm/i915/i915_gem_batch_pool.h
23
i915_gem_batch_pool_get(struct i915_gem_batch_pool *pool, size_t size);
sys/dev/drm/i915/i915_gem_execbuffer.c
2104
BUILD_BUG_ON(sizeof(size_t) > sizeof(unsigned long));
sys/dev/drm/i915/i915_gem_execbuffer.c
2459
static size_t eb_element_size(void)
sys/dev/drm/i915/i915_gem_execbuffer.c
2466
static bool check_buffer_count(size_t count)
sys/dev/drm/i915/i915_gem_execbuffer.c
2468
const size_t sz = eb_element_size();
sys/dev/drm/i915/i915_gem_execbuffer.c
2491
const size_t count = args->buffer_count;
sys/dev/drm/i915/i915_gem_execbuffer.c
2581
const size_t count = args->buffer_count;
sys/dev/drm/i915/i915_gpu_error.c
119
const size_t off = e->start - e->pos;
sys/dev/drm/i915/i915_gpu_error.c
852
size_t count, loff_t pos)
sys/dev/drm/i915/i915_gpu_error.h
317
size_t count, loff_t pos);
sys/dev/drm/i915/i915_gpu_error.h
356
size_t count, loff_t pos);
sys/dev/drm/i915/i915_perf.c
1072
size_t count,
sys/dev/drm/i915/i915_perf.c
1073
size_t *offset)
sys/dev/drm/i915/i915_perf.c
1197
size_t count,
sys/dev/drm/i915/i915_perf.c
1198
size_t *offset)
sys/dev/drm/i915/i915_perf.c
2179
size_t count,
sys/dev/drm/i915/i915_perf.c
2188
size_t offset = 0;
sys/dev/drm/i915/i915_perf.c
2214
size_t count,
sys/dev/drm/i915/i915_perf.c
562
size_t count,
sys/dev/drm/i915/i915_perf.c
563
size_t *offset,
sys/dev/drm/i915/i915_perf.c
598
size_t count,
sys/dev/drm/i915/i915_perf.c
599
size_t *offset,
sys/dev/drm/i915/i915_perf.c
651
size_t count,
sys/dev/drm/i915/i915_perf.c
652
size_t *offset)
sys/dev/drm/i915/i915_perf.c
659
size_t start_offset = *offset;
sys/dev/drm/i915/i915_perf.c
861
size_t count,
sys/dev/drm/i915/i915_perf.c
862
size_t *offset)
sys/dev/drm/i915/i915_perf.c
940
size_t count,
sys/dev/drm/i915/i915_perf.c
941
size_t *offset)
sys/dev/drm/i915/i915_perf.c
948
size_t start_offset = *offset;
sys/dev/drm/i915/i915_sysfs.c
160
loff_t offset, size_t count)
sys/dev/drm/i915/i915_sysfs.c
174
count = min_t(size_t, GEN7_L3LOG_SIZE - offset, count);
sys/dev/drm/i915/i915_sysfs.c
195
loff_t offset, size_t count)
sys/dev/drm/i915/i915_sysfs.c
304
const char *buf, size_t count)
sys/dev/drm/i915/i915_sysfs.c
354
const char *buf, size_t count)
sys/dev/drm/i915/i915_sysfs.c
412
const char *buf, size_t count)
sys/dev/drm/i915/i915_sysfs.c
516
loff_t off, size_t count)
sys/dev/drm/i915/i915_sysfs.c
546
loff_t off, size_t count)
sys/dev/drm/i915/intel_bios.c
1572
min_t(size_t, defs->child_dev_size, sizeof(*child)));
sys/dev/drm/i915/intel_bios.c
1649
bool intel_bios_is_valid_vbt(const void *buf, size_t size)
sys/dev/drm/i915/intel_bios.c
1667
if (range_overflows_t(size_t,
sys/dev/drm/i915/intel_bios.c
1676
if (range_overflows_t(size_t, vbt->bdb_offset, bdb->bdb_size, size)) {
sys/dev/drm/i915/intel_bios.c
1684
static const struct vbt_header *find_vbt(void __iomem *bios, size_t size)
sys/dev/drm/i915/intel_bios.c
1686
size_t i;
sys/dev/drm/i915/intel_bios.c
1733
size_t size;
sys/dev/drm/i915/intel_bios.c
189
size_t data_ofs = (const u8 *)data - (const u8 *)bdb;
sys/dev/drm/i915/intel_bios.c
191
size_t ofs;
sys/dev/drm/i915/intel_color.c
620
size_t gamma_length, degamma_length;
sys/dev/drm/i915/intel_display.c
11071
static void snprintf_output_types(char *buf, size_t len,
sys/dev/drm/i915/intel_dp.c
1444
size_t txsize, rxsize;
sys/dev/drm/i915/intel_dp.c
1781
static void snprintf_int_array(char *str, size_t len,
sys/dev/drm/i915/intel_dp.c
5483
size_t len = min(num_downstream - i, 3) * DRM_HDCP_KSV_LEN;
sys/dev/drm/i915/intel_drv.h
2228
const char *source_name, size_t *values_cnt);
sys/dev/drm/i915/intel_drv.h
2230
size_t *count);
sys/dev/drm/i915/intel_engine_cs.c
1214
hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize,
sys/dev/drm/i915/intel_engine_cs.c
1215
char *linebuf, size_t linebuflen, bool ascii __unused)
sys/dev/drm/i915/intel_engine_cs.c
1251
static void linux_hexdump(struct drm_printer *m, const void *buf, size_t len)
sys/dev/drm/i915/intel_engine_cs.c
1253
const size_t rowsize = 8 * sizeof(u32);
sys/dev/drm/i915/intel_engine_cs.c
1256
size_t pos;
sys/dev/drm/i915/intel_guc_log.c
102
size_t prev_padding)
sys/dev/drm/i915/intel_guc_log.c
395
size_t n_subbufs, subbuf_size;
sys/dev/drm/i915/intel_guc_submission.c
442
const size_t wqi_size = sizeof(struct guc_wq_item);
sys/dev/drm/i915/intel_hdmi.c
891
unsigned int offset, void *buffer, size_t size)
sys/dev/drm/i915/intel_hdmi.c
921
unsigned int offset, void *buffer, size_t size)
sys/dev/drm/i915/intel_uc_fw.c
46
size_t size;
sys/dev/drm/i915/intel_uc_fw.h
53
size_t size;
sys/dev/drm/include/asm/pci-dma-compat.h
35
unsigned long offset, size_t size, int direction)
sys/dev/drm/include/asm/pci-dma-compat.h
42
size_t size, int direction)
sys/dev/drm/include/asm/string_64.h
33
memset32(uint32_t *b, uint32_t c, size_t len)
sys/dev/drm/include/asm/string_64.h
42
memset64(u64 *s, uint64_t v, size_t n)
sys/dev/drm/include/asm/string_64.h
55
memset_p(void **p, void *v, size_t n)
sys/dev/drm/include/asm/uaccess.h
111
access_ok(const void *uaddr, size_t len)
sys/dev/drm/include/drm/drm_crtc.h
1105
size_t num_connectors;
sys/dev/drm/include/drm/drm_crtc.h
763
size_t *values_cnt);
sys/dev/drm/include/drm/drm_crtc.h
785
size_t *count);
sys/dev/drm/include/drm/drm_debugfs_crc.h
59
size_t values_cnt;
sys/dev/drm/include/drm/drm_dp_dual_mode_helper.h
68
u8 offset, void *buffer, size_t size);
sys/dev/drm/include/drm/drm_dp_dual_mode_helper.h
70
u8 offset, const void *buffer, size_t size);
sys/dev/drm/include/drm/drm_dp_helper.h
1079
size_t size;
sys/dev/drm/include/drm/drm_dp_helper.h
1166
void *buffer, size_t size);
sys/dev/drm/include/drm/drm_dp_helper.h
1168
void *buffer, size_t size);
sys/dev/drm/include/drm/drm_drv.h
462
size_t size);
sys/dev/drm/include/drm/drm_edid.h
344
int __drm_get_edid_firmware_path(char *buf, size_t bufsize);
sys/dev/drm/include/drm/drm_edid.h
461
size_t len),
sys/dev/drm/include/drm/drm_fb_helper.h
303
size_t count, loff_t *ppos);
sys/dev/drm/include/drm/drm_fb_helper.h
305
size_t count, loff_t *ppos);
sys/dev/drm/include/drm/drm_fb_helper.h
458
char __user *buf, size_t count,
sys/dev/drm/include/drm/drm_fb_helper.h
466
size_t count, loff_t *ppos)
sys/dev/drm/include/drm/drm_file.h
389
size_t count, loff_t *offset);
sys/dev/drm/include/drm/drm_gem.h
126
size_t size;
sys/dev/drm/include/drm/drm_gem.h
199
struct drm_gem_object *obj, size_t size);
sys/dev/drm/include/drm/drm_gem.h
201
struct drm_gem_object *obj, size_t size);
sys/dev/drm/include/drm/drm_gem.h
306
int drm_gem_create_mmap_offset_size(struct drm_gem_object *obj, size_t size);
sys/dev/drm/include/drm/drm_gem_cma_helper.h
80
size_t size);
sys/dev/drm/include/drm/drm_global.h
42
size_t size;
sys/dev/drm/include/drm/drm_legacy.h
79
size_t size;
sys/dev/drm/include/drm/drm_mipi_dsi.h
228
size_t size);
sys/dev/drm/include/drm/drm_mipi_dsi.h
230
size_t num_params, void *data, size_t size);
sys/dev/drm/include/drm/drm_mipi_dsi.h
251
const void *data, size_t len);
sys/dev/drm/include/drm/drm_mipi_dsi.h
253
const void *data, size_t len);
sys/dev/drm/include/drm/drm_mipi_dsi.h
255
size_t len);
sys/dev/drm/include/drm/drm_mipi_dsi.h
40
size_t tx_len;
sys/dev/drm/include/drm/drm_mipi_dsi.h
43
size_t rx_len;
sys/dev/drm/include/drm/drm_mipi_dsi.h
59
size_t size;
sys/dev/drm/include/drm/drm_mipi_dsi.h
61
size_t payload_length;
sys/dev/drm/include/drm/drm_pci.h
42
struct drm_dma_handle *drm_pci_alloc(struct drm_device *dev, size_t size,
sys/dev/drm/include/drm/drm_pci.h
43
size_t align);
sys/dev/drm/include/drm/drm_property.h
213
size_t length;
sys/dev/drm/include/drm/drm_property.h
270
size_t length,
sys/dev/drm/include/drm/drm_property.h
276
size_t length,
sys/dev/drm/include/drm/drm_scdc_helper.h
92
size_t size);
sys/dev/drm/include/drm/drm_scdc_helper.h
94
const void *buffer, size_t size);
sys/dev/drm/include/drm/ttm/ttm_bo_api.h
181
size_t acc_size;
sys/dev/drm/include/drm/ttm/ttm_bo_api.h
510
size_t ttm_bo_acc_size(struct ttm_bo_device *bdev,
sys/dev/drm/include/drm/ttm/ttm_bo_api.h
513
size_t ttm_bo_dma_acc_size(struct ttm_bo_device *bdev,
sys/dev/drm/include/drm/ttm/ttm_bo_api.h
559
size_t acc_size,
sys/dev/drm/include/drm/ttm/ttm_bo_api.h
604
uint32_t page_alignment, bool interrubtible, size_t acc_size,
sys/dev/drm/include/drm/ttm/ttm_bo_api.h
795
size_t count, loff_t *f_pos, bool write);
sys/dev/drm/include/drm/ttm/ttm_memory.h
94
extern size_t ttm_round_pot(size_t size);
sys/dev/drm/include/linux/dma-buf.h
67
size_t size;
sys/dev/drm/include/linux/dma-buf.h
79
size_t size;
sys/dev/drm/include/linux/dma-mapping.h
106
dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle,
sys/dev/drm/include/linux/dma-mapping.h
110
dma_free_coherent(struct device *dev, size_t size, void *cpu_addr,
sys/dev/drm/include/linux/dma-mapping.h
50
unsigned long offset, size_t size, enum dma_data_direction direction)
sys/dev/drm/include/linux/dma-mapping.h
57
unsigned long offset, size_t size, enum dma_data_direction direction, unsigned long attrs)
sys/dev/drm/include/linux/dma-mapping.h
63
size_t size, enum dma_data_direction dir)
sys/dev/drm/include/linux/fb.h
67
struct fb_info * framebuffer_alloc(size_t size, struct device *dev);
sys/dev/drm/include/linux/fs.h
79
ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
sys/dev/drm/include/linux/gfp.h
103
size_t bytes = PAGE_SIZE << order;
sys/dev/drm/include/linux/gfp.h
88
size_t bytes = PAGE_SIZE << order;
sys/dev/drm/include/linux/hdmi.h
165
size_t size);
sys/dev/drm/include/linux/hdmi.h
196
size_t size);
sys/dev/drm/include/linux/hdmi.h
274
void *buffer, size_t size);
sys/dev/drm/include/linux/hdmi.h
301
void *buffer, size_t size);
sys/dev/drm/include/linux/hdmi.h
334
hdmi_infoframe_pack(union hdmi_infoframe *frame, void *buffer, size_t size);
sys/dev/drm/include/linux/kernel.h
182
vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
sys/dev/drm/include/linux/kernel.h
188
vscnprintf(char *buf, size_t size, const char *fmt, va_list args)
sys/dev/drm/include/linux/kernel.h
203
scnprintf(char *buf, size_t size, const char *fmt, ...)
sys/dev/drm/include/linux/kfifo.h
103
static inline size_t
sys/dev/drm/include/linux/kfifo.h
106
const size_t head = meta->kfm_head;
sys/dev/drm/include/linux/kfifo.h
107
const size_t tail = meta->kfm_tail;
sys/dev/drm/include/linux/kfifo.h
108
const size_t nbytes = meta->kfm_nbytes;
sys/dev/drm/include/linux/kfifo.h
116
static inline size_t
sys/dev/drm/include/linux/kfifo.h
117
_kfifo_out_peek(struct kfifo_meta *meta, void *buf, void *ptr, size_t size)
sys/dev/drm/include/linux/kfifo.h
121
size_t copied = 0;
sys/dev/drm/include/linux/kfifo.h
124
const size_t head = meta->kfm_head;
sys/dev/drm/include/linux/kfifo.h
125
const size_t tail = meta->kfm_tail;
sys/dev/drm/include/linux/kfifo.h
126
const size_t nbytes = meta->kfm_nbytes;
sys/dev/drm/include/linux/kfifo.h
151
static inline size_t
sys/dev/drm/include/linux/kfifo.h
152
_kfifo_out(struct kfifo_meta *meta, const void *buf, void *ptr, size_t size)
sys/dev/drm/include/linux/kfifo.h
156
size_t copied = 0;
sys/dev/drm/include/linux/kfifo.h
159
const size_t head = meta->kfm_head;
sys/dev/drm/include/linux/kfifo.h
160
const size_t tail = meta->kfm_tail;
sys/dev/drm/include/linux/kfifo.h
161
const size_t nbytes = meta->kfm_nbytes;
sys/dev/drm/include/linux/kfifo.h
189
static inline size_t
sys/dev/drm/include/linux/kfifo.h
190
_kfifo_in(struct kfifo_meta *meta, void *buf, const void *ptr, size_t size)
sys/dev/drm/include/linux/kfifo.h
194
size_t copied = 0;
sys/dev/drm/include/linux/kfifo.h
197
const size_t head = meta->kfm_head;
sys/dev/drm/include/linux/kfifo.h
198
const size_t tail = meta->kfm_tail;
sys/dev/drm/include/linux/kfifo.h
199
const size_t nbytes = meta->kfm_nbytes;
sys/dev/drm/include/linux/kfifo.h
44
size_t kfm_head;
sys/dev/drm/include/linux/kfifo.h
45
size_t kfm_tail;
sys/dev/drm/include/linux/kfifo.h
46
size_t kfm_nbytes;
sys/dev/drm/include/linux/kfifo.h
63
_kfifo_alloc(struct kfifo_meta *meta, void *bufp, size_t nbytes, gfp_t gfp)
sys/dev/drm/include/linux/limits.h
33
#define SIZE_MAX (~(size_t)0)
sys/dev/drm/include/linux/mm.h
187
void * kvmalloc_array(size_t n, size_t size, gfp_t flags);
sys/dev/drm/include/linux/pci-dma-compat.h
33
pci_alloc_consistent(struct pci_dev *pdev, size_t size, dma_addr_t *dma_handle)
sys/dev/drm/include/linux/pci-dma-compat.h
43
size_t size, void *vaddr, dma_addr_t dma_handle)
sys/dev/drm/include/linux/pci.h
509
pci_map_rom(struct pci_dev *pdev, size_t *size)
sys/dev/drm/include/linux/posix_types.h
32
typedef size_t __kernel_size_t;
sys/dev/drm/include/linux/printk.h
118
int rowsize, int groupsize, const void *buf, size_t len, bool ascii)
sys/dev/drm/include/linux/scatterlist.h
349
size_t sg_pcopy_from_buffer(struct scatterlist *sgl, unsigned int nents,
sys/dev/drm/include/linux/scatterlist.h
350
const void *buf, size_t buflen, off_t skip);
sys/dev/drm/include/linux/scatterlist.h
352
static inline size_t
sys/dev/drm/include/linux/scatterlist.h
354
const char *buf, size_t buflen)
sys/dev/drm/include/linux/scatterlist.h
359
size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents,
sys/dev/drm/include/linux/scatterlist.h
360
void *buf, size_t buflen, off_t skip);
sys/dev/drm/include/linux/scatterlist.h
362
static inline size_t
sys/dev/drm/include/linux/scatterlist.h
364
char *buf, size_t buflen)
sys/dev/drm/include/linux/seq_file.h
39
size_t size;
sys/dev/drm/include/linux/slab.h
47
kmalloc_array(size_t n, size_t size, gfp_t flags)
sys/dev/drm/include/linux/slab.h
67
kmem_cache_create(const char *name, size_t size, size_t align,
sys/dev/drm/include/linux/sort.h
33
sort(void *base, size_t num, size_t size,
sys/dev/drm/include/linux/string.h
42
memchr_inv(const void *buffer, int c, size_t len)
sys/dev/drm/include/linux/string.h
54
void *kmemdup(const void *src, size_t len, gfp_t gfp);
sys/dev/drm/include/linux/sysfs.h
45
ssize_t (*store)(struct kobject *,struct attribute *,const char *, size_t);
sys/dev/drm/include/uapi/drm/drm.h
57
typedef size_t __kernel_size_t;
sys/dev/drm/linux_compat.c
46
kmemdup(const void *src, size_t len, gfp_t gfp)
sys/dev/drm/linux_compat.c
59
framebuffer_alloc(size_t size, struct device *dev)
sys/dev/drm/linux_dma.c
32
dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle,
sys/dev/drm/linux_dma.c
37
size_t align;
sys/dev/drm/linux_dma.c
56
size_t align = PAGE_SIZE << get_order(size);
sys/dev/drm/linux_dma.c
77
dma_free_coherent(struct device *dev, size_t size, void *cpu_addr,
sys/dev/drm/linux_fence-array.c
173
size_t size = sizeof(*array);
sys/dev/drm/linux_hdmi.c
1161
size_t length;
sys/dev/drm/linux_hdmi.c
193
size_t size)
sys/dev/drm/linux_hdmi.c
196
size_t length;
sys/dev/drm/linux_hdmi.c
257
void *buffer, size_t size)
sys/dev/drm/linux_hdmi.c
261
size_t length;
sys/dev/drm/linux_hdmi.c
339
void *buffer, size_t size)
sys/dev/drm/linux_hdmi.c
34
static u8 hdmi_infoframe_checksum(u8 *ptr, size_t size)
sys/dev/drm/linux_hdmi.c
342
size_t length;
sys/dev/drm/linux_hdmi.c
37
size_t i;
sys/dev/drm/linux_hdmi.c
396
void *buffer, size_t size)
sys/dev/drm/linux_hdmi.c
420
hdmi_infoframe_pack(union hdmi_infoframe *frame, void *buffer, size_t size)
sys/dev/drm/linux_hdmi.c
46
static void hdmi_infoframe_set_checksum(void *buffer, size_t size)
sys/dev/drm/linux_hdmi.c
86
size_t size)
sys/dev/drm/linux_hdmi.c
89
size_t length;
sys/dev/drm/linux_reservation.c
277
size_t size;
sys/dev/drm/linux_reservation.c
363
size_t sz = sizeof(*shared) * fobj->shared_max;
sys/dev/drm/linux_scatterlist.c
153
size_t
sys/dev/drm/linux_scatterlist.c
155
const void *buf, size_t buflen, off_t skip)
sys/dev/drm/linux_scatterlist.c
189
size_t
sys/dev/drm/linux_scatterlist.c
191
void *buf, size_t buflen, off_t skip)
sys/dev/drm/linux_sort.c
32
sort(void *base, size_t num, size_t size,
sys/dev/drm/linux_vmalloc.c
136
kvmalloc_array(size_t n, size_t size, gfp_t flags)
sys/dev/drm/linux_vmalloc.c
51
size_t size;
sys/dev/drm/linux_vmalloc.c
75
size_t size;
sys/dev/drm/radeon/atombios_dp.c
165
size_t tx_size;
sys/dev/drm/radeon/cik.c
1965
size_t pfp_req_size, me_req_size, ce_req_size,
sys/dev/drm/radeon/evergreen_hdmi.c
222
unsigned char *buffer, size_t size);
sys/dev/drm/radeon/evergreen_hdmi.c
224
unsigned char *buffer, size_t size)
sys/dev/drm/radeon/ni.c
695
size_t pfp_req_size, me_req_size, rlc_req_size, mc_req_size;
sys/dev/drm/radeon/ni.c
696
size_t smc_req_size = 0;
sys/dev/drm/radeon/r600.c
2428
size_t pfp_req_size, me_req_size, rlc_req_size, smc_req_size = 0;
sys/dev/drm/radeon/r600_hdmi.c
220
unsigned char *buffer, size_t size);
sys/dev/drm/radeon/r600_hdmi.c
222
unsigned char *buffer, size_t size)
sys/dev/drm/radeon/r600_hdmi.c
248
const void *buffer, size_t size)
sys/dev/drm/radeon/radeon_acpi.c
203
size_t size;
sys/dev/drm/radeon/radeon_acpi.c
250
size_t size;
sys/dev/drm/radeon/radeon_acpi.c
311
size_t size;
sys/dev/drm/radeon/radeon_acpi.c
485
size_t size;
sys/dev/drm/radeon/radeon_acpi.c
590
size_t size;
sys/dev/drm/radeon/radeon_asic.h
405
size_t size);
sys/dev/drm/radeon/radeon_atombios.c
904
size_t bc_size = sizeof(*bios_connectors) * ATOM_MAX_SUPPORTED_DEVICE;
sys/dev/drm/radeon/radeon_audio.c
85
unsigned char *buffer, size_t size);
sys/dev/drm/radeon/radeon_audio.c
87
unsigned char *buffer, size_t size);
sys/dev/drm/radeon/radeon_audio.h
61
unsigned char *buffer, size_t size);
sys/dev/drm/radeon/radeon_bios.c
121
size_t size;
sys/dev/drm/radeon/radeon_bios.c
146
size = (size_t)bios[2] * 512;
sys/dev/drm/radeon/radeon_bios.c
81
size_t size;
sys/dev/drm/radeon/radeon_object.c
186
size_t acc_size;
sys/dev/drm/radeon/radeon_pm.c
373
size_t count)
sys/dev/drm/radeon/radeon_pm.c
426
size_t count)
sys/dev/drm/radeon/radeon_pm.c
485
size_t count)
sys/dev/drm/radeon/radeon_pm.c
533
size_t count)
sys/dev/drm/radeon/radeon_pm.c
588
size_t count)
sys/dev/drm/radeon/radeon_pm.c
629
const char *buf, size_t count)
sys/dev/drm/radeon/radeon_ttm.c
1082
size_t size, loff_t *pos)
sys/dev/drm/radeon/radeon_ttm.c
1134
size_t size, loff_t *pos)
sys/dev/drm/radeon/radeon_ttm.c
1143
size_t cur_size = min_t(size_t, size, PAGE_SIZE - off);
sys/dev/drm/radeon/si.c
1664
size_t pfp_req_size, me_req_size, ce_req_size, rlc_req_size, mc_req_size;
sys/dev/drm/radeon/si.c
1665
size_t smc_req_size, mc2_req_size;
sys/dev/drm/ttm/ttm_bo.c
1200
size_t acc_size,
sys/dev/drm/ttm/ttm_bo.c
1309
size_t acc_size,
sys/dev/drm/ttm/ttm_bo.c
1330
size_t ttm_bo_acc_size(struct ttm_bo_device *bdev,
sys/dev/drm/ttm/ttm_bo.c
1335
size_t size = 0;
sys/dev/drm/ttm/ttm_bo.c
1344
size_t ttm_bo_dma_acc_size(struct ttm_bo_device *bdev,
sys/dev/drm/ttm/ttm_bo.c
1349
size_t size = 0;
sys/dev/drm/ttm/ttm_bo.c
1367
size_t acc_size;
sys/dev/drm/ttm/ttm_bo.c
147
size_t acc_size = bo->acc_size;
sys/dev/drm/ttm/ttm_memory.c
114
size_t size)
sys/dev/drm/ttm/ttm_memory.c
571
size_t ttm_round_pot(size_t size)
sys/dev/drm/ttm/ttm_memory.c
578
size_t tmp_size = 4;
sys/dev/drm/ttm/ttm_page_alloc.c
161
struct attribute *attr, const char *buffer, size_t size)
sys/dev/drm/ttm/ttm_page_alloc.c
949
size_t num_pages = 1;
sys/dev/drm/ttm/ttm_page_alloc.c
986
size_t num_pages = 1;
sys/dev/drm/ttm/ttm_page_alloc_dma.c
202
const char *buffer, size_t size)
sys/dev/misc/cuse/cuse.c
897
struct proc *proc_d, vm_offset_t data_d, size_t len)
sys/dev/misc/dcons/dcons_os.h
41
size_t size;
sys/dev/misc/evdev/cdev.c
104
size_t buffer_size;
sys/dev/misc/evdev/cdev.c
356
size_t nvalues;
sys/dev/misc/evdev/cdev.c
770
size_t count, head, tail, ready;
sys/dev/misc/evdev/cdev.c
819
size_t i, head, tail, ready, size;
sys/dev/misc/evdev/cdev.c
857
size_t head, tail, count, i;
sys/dev/misc/evdev/evdev.c
139
evdev_set_report_size(struct evdev_dev *evdev, size_t report_size)
sys/dev/misc/evdev/evdev.c
149
static size_t
sys/dev/misc/evdev/evdev.c
152
size_t size = 0;
sys/dev/misc/evdev/evdev.h
152
int evdev_set_report_size(struct evdev_dev *, size_t);
sys/dev/misc/evdev/evdev_mt.c
113
size_t size = offsetof(struct evdev_mt, slots);
sys/dev/misc/evdev/evdev_private.h
102
size_t ev_report_size;
sys/dev/misc/evdev/evdev_private.h
165
size_t ec_buffer_size;
sys/dev/misc/evdev/evdev_private.h
166
size_t ec_buffer_head; /* (q) */
sys/dev/misc/evdev/evdev_private.h
167
size_t ec_buffer_tail; /* (q) */
sys/dev/misc/evdev/evdev_private.h
168
size_t ec_buffer_ready; /* (q) */
sys/dev/misc/evdev/evdev_utils.c
225
size_t i;
sys/dev/misc/evdev/evdev_utils.c
281
size_t i;
sys/dev/misc/evdev/evdev_utils.c
291
size_t i;
sys/dev/misc/evdev/evdev_utils.c
350
size_t i;
sys/dev/misc/evdev/freebsd-bitstring.h
137
(((size_t)(x) + (y) - 1) & ~((size_t)(y) - 1))
sys/dev/misc/evdev/freebsd-bitstring.h
140
static inline size_t
sys/dev/misc/evdev/freebsd-bitstring.h
141
_bit_idx(size_t _bit)
sys/dev/misc/evdev/freebsd-bitstring.h
147
static inline size_t
sys/dev/misc/evdev/freebsd-bitstring.h
148
_bit_offset(size_t _bit)
sys/dev/misc/evdev/freebsd-bitstring.h
155
_bit_mask(size_t _bit)
sys/dev/misc/evdev/freebsd-bitstring.h
161
_bit_make_mask(size_t _start, size_t _stop)
sys/dev/misc/evdev/freebsd-bitstring.h
174
bit_alloc(size_t _nbits, struct malloc_type *type, int flags)
sys/dev/misc/evdev/freebsd-bitstring.h
180
bit_alloc(size_t _nbits)
sys/dev/misc/evdev/freebsd-bitstring.h
192
bit_test(const bitstr_t *_bitstr, size_t _bit)
sys/dev/misc/evdev/freebsd-bitstring.h
199
bit_set(bitstr_t *_bitstr, size_t _bit)
sys/dev/misc/evdev/freebsd-bitstring.h
206
bit_clear(bitstr_t *_bitstr, size_t _bit)
sys/dev/misc/evdev/freebsd-bitstring.h
213
bit_ntest(const bitstr_t *_bitstr, size_t _start, size_t _stop, int _match)
sys/dev/misc/evdev/freebsd-bitstring.h
241
bit_nset(bitstr_t *_bitstr, size_t _start, size_t _stop)
sys/dev/misc/evdev/freebsd-bitstring.h
264
bit_nclear(bitstr_t *_bitstr, size_t _start, size_t _stop)
sys/dev/misc/evdev/freebsd-bitstring.h
287
bit_ff_at_(bitstr_t *_bitstr, size_t _start, size_t _nbits, int _match)
sys/dev/misc/evdev/freebsd-bitstring.h
310
(_bit_offset(_nbits) != 0 && (size_t)_value >= _nbits))
sys/dev/misc/evdev/freebsd-bitstring.h
335
bit_ff_area_at_(bitstr_t *_bitstr, size_t _start, size_t _nbits, size_t _size,
sys/dev/misc/evdev/freebsd-bitstring.h
339
size_t _last, _shft, _maxshft;
sys/dev/misc/evdev/freebsd-bitstring.h
397
bit_count_(bitstr_t *_bitstr, size_t _start, size_t _nbits)
sys/dev/misc/evdev/freebsd-bitstring.h
400
size_t curbitstr_len;
sys/dev/misc/ipmi/ipmi.c
530
uint8_t command, size_t requestlen, size_t replylen)
sys/dev/misc/ipmi/ipmi_ssif.c
77
size_t len;
sys/dev/misc/ipmi/ipmivars.h
227
uint8_t, size_t, size_t);
sys/dev/misc/ipmi/ipmivars.h
46
size_t ir_requestlen;
sys/dev/misc/ipmi/ipmivars.h
48
size_t ir_replybuflen; /* Length of ir_reply[] buffer. */
sys/dev/misc/kbd/atkbd.c
1148
atkbd_get_state(keyboard_t *kbd, void *buf, size_t len)
sys/dev/misc/kbd/atkbd.c
1161
atkbd_set_state(keyboard_t *kbd, void *buf, size_t len)
sys/dev/misc/kbd/kbd.c
1110
genkbd_get_fkeystr(keyboard_t *kbd, int fkey, size_t *len)
sys/dev/misc/kbd/kbd.c
634
static size_t
sys/dev/misc/kbd/kbd.c
635
genkbd_getc(genkbd_softc_t sc, char *buf, size_t len)
sys/dev/misc/kbd/kbd.c
771
error = uiomove(buffer, (size_t)len, uio);
sys/dev/misc/kbd/kbd.c
886
size_t len;
sys/dev/misc/kbd/kbdreg.h
176
typedef int kbd_get_state_t(keyboard_t *kbd, void *buf, size_t len);
sys/dev/misc/kbd/kbdreg.h
177
typedef int kbd_set_state_t(keyboard_t *kbd, void *buf, size_t len);
sys/dev/misc/kbd/kbdreg.h
179
size_t *len);
sys/dev/misc/kbd/kbdsw.c
242
kbd_get_state(keyboard_t *kbd, void *buf, size_t len)
sys/dev/misc/kbd/kbdsw.c
255
kbd_set_state(keyboard_t *kbd, void *buf, size_t len)
sys/dev/misc/kbd/kbdsw.c
268
kbd_get_fkeystr(keyboard_t *kbd, int fkey, size_t *len)
sys/dev/misc/kbdmux/kbdmux.c
1120
kbdmux_get_state(keyboard_t *kbd, void *buf, size_t len)
sys/dev/misc/kbdmux/kbdmux.c
1136
kbdmux_set_state(keyboard_t *kbd, void *buf, size_t len)
sys/dev/misc/lpt/lpt.c
710
if ((error = uiomove(sc->sc_statbuf, (size_t)len, uio)))
sys/dev/misc/lpt/lpt.c
763
uiomove(sc->sc_cp, (size_t)n, uio);
sys/dev/misc/nmdm/nmdm.c
363
size_t cc = 0;
sys/dev/misc/ppi/ppi.c
381
if ((error = uiomove(ppi->ppi_buffer, (size_t)len, uio)))
sys/dev/misc/ppi/ppi.c
436
uiomove(ppi->ppi_buffer, (size_t)len, uio);
sys/dev/misc/ppi/ppi.c
478
uiomove(ppi->ppi_buffer, (size_t)len, uio);
sys/dev/misc/psm/psm.c
1749
size_t i;
sys/dev/misc/snp/snp.c
166
error = uiomove(ibuf, (size_t)ilen, uio);
sys/dev/misc/snp/snp.c
236
if ((error = uiomove(c, (size_t)len, uio)) != 0) {
sys/dev/misc/snp/snp.c
300
error = uiomove(from, (size_t)len, uio);
sys/dev/misc/syscons/scvtb.c
139
size_t
sys/dev/misc/syscons/scvtb.c
142
return (size_t)(cols*rows*sizeof(uint16_t));
sys/dev/misc/syscons/scvtb.c
55
sc_vtb_bcopy(void *s, void *d, size_t bytes)
sys/dev/misc/syscons/scvtb.c
57
size_t count;
sys/dev/misc/syscons/scvtb.c
58
size_t n;
sys/dev/misc/syscons/syscons.c
2054
p = kbd_get_fkeystr(scp->sc->kbd, KEYCHAR(c), (size_t *)&fkeycp);
sys/dev/misc/syscons/syscons.c
4090
size_t sz =
sys/dev/misc/syscons/syscons.c
874
size_t len;
sys/dev/misc/syscons/syscons.h
380
size_t te_size; /* size of internal buffer */
sys/dev/misc/syscons/syscons.h
600
size_t sc_vtb_size(int cols, int rows);
sys/dev/misc/tbridge/safe_mem.c
112
size_t alloc_sz;
sys/dev/misc/tbridge/safe_mem.c
47
size_t alloc_sz;
sys/dev/misc/tbridge/safe_mem.c
72
_alloc_safe_mem(size_t req_sz, const char *file, int line)
sys/dev/misc/tbridge/safe_mem.c
76
size_t alloc_sz;
sys/dev/misc/tbridge/tbridge.c
63
size_t tbridge_msgbuf_remsz;
sys/dev/misc/vkbd/vkbd.c
1408
vkbd_get_state(keyboard_t *kbd, void *buf, size_t len)
sys/dev/misc/vkbd/vkbd.c
1420
vkbd_set_state(keyboard_t *kbd, void *buf, size_t len)
sys/dev/netif/ath/ath/if_ath.c
3861
const size_t space = sizeof(struct ath_node) + sc->sc_rc->arc_space;
sys/dev/netif/ath/ath/if_athrate.h
135
int shortPreamble, size_t frameLen,
sys/dev/netif/ath/ath/if_athrate.h
72
size_t arc_space; /* space required for per-node state */
sys/dev/netif/ath/ath_hal/ah_internal.h
49
#define offsetof(type, field) ((size_t)(&((type *)0)->field))
sys/dev/netif/ath/ath_hal/ah_internal.h
625
extern void *ath_hal_malloc(size_t);
sys/dev/netif/ath/ath_hal/ah_osdep.c
121
ath_hal_malloc(size_t size)
sys/dev/netif/ath/ath_hal/ah_osdep.c
96
extern void *ath_hal_malloc(size_t);
sys/dev/netif/ath/ath_rate/amrr/amrr.c
108
int shortPreamble, size_t frameLen,
sys/dev/netif/ath/ath_rate/onoe/onoe.c
116
int shortPreamble, size_t frameLen,
sys/dev/netif/ath/ath_rate/sample/sample.c
490
int shortPreamble, size_t frameLen,
sys/dev/netif/bge/if_bge.c
342
static int bge_read_eeprom(struct bge_softc *, caddr_t, uint32_t, size_t);
sys/dev/netif/bge/if_bge.c
666
bge_read_eeprom(struct bge_softc *sc, caddr_t dest, uint32_t off, size_t len)
sys/dev/netif/bge/if_bge.c
668
size_t i;
sys/dev/netif/bnx/if_bnx.c
292
static int bnx_read_eeprom(struct bnx_softc *, caddr_t, uint32_t, size_t);
sys/dev/netif/bnx/if_bnx.c
461
bnx_read_eeprom(struct bnx_softc *sc, caddr_t dest, uint32_t off, size_t len)
sys/dev/netif/bnx/if_bnx.c
463
size_t i;
sys/dev/netif/bwn/bwn/if_bwn.c
316
const struct bwn_fwinitvals *, size_t, size_t);
sys/dev/netif/bwn/bwn/if_bwn.c
322
const uint8_t *, size_t, const uint8_t *);
sys/dev/netif/bwn/bwn/if_bwn.c
3586
const size_t hdr_len = sizeof(struct bwn_fwhdr);
sys/dev/netif/bwn/bwn/if_bwn.c
4365
size_t count, size_t array_size)
sys/dev/netif/bwn/bwn/if_bwn.c
4376
size_t i;
sys/dev/netif/bwn/bwn/if_bwn.c
4572
const uint8_t *key, size_t key_len, const uint8_t *mac_addr)
sys/dev/netif/bwn/siba/siba_core.c
123
static int sprom_check_crc(const uint16_t *, size_t);
sys/dev/netif/bwn/siba/siba_core.c
137
static void siba_pci_read_multi_1(struct siba_dev_softc *, void *, size_t,
sys/dev/netif/bwn/siba/siba_core.c
139
static void siba_pci_read_multi_2(struct siba_dev_softc *, void *, size_t,
sys/dev/netif/bwn/siba/siba_core.c
141
static void siba_pci_read_multi_4(struct siba_dev_softc *, void *, size_t,
sys/dev/netif/bwn/siba/siba_core.c
144
size_t, uint16_t);
sys/dev/netif/bwn/siba/siba_core.c
1452
sprom_check_crc(const uint16_t *sprom, size_t size)
sys/dev/netif/bwn/siba/siba_core.c
146
size_t, uint16_t);
sys/dev/netif/bwn/siba/siba_core.c
148
size_t, uint16_t);
sys/dev/netif/bwn/siba/siba_core.c
680
siba_pci_read_multi_1(struct siba_dev_softc *sd, void *buffer, size_t count,
sys/dev/netif/bwn/siba/siba_core.c
694
siba_pci_read_multi_2(struct siba_dev_softc *sd, void *buffer, size_t count,
sys/dev/netif/bwn/siba/siba_core.c
709
siba_pci_read_multi_4(struct siba_dev_softc *sd, void *buffer, size_t count,
sys/dev/netif/bwn/siba/siba_core.c
725
size_t count, uint16_t offset)
sys/dev/netif/bwn/siba/siba_core.c
737
size_t count, uint16_t offset)
sys/dev/netif/bwn/siba/siba_core.c
750
size_t count, uint16_t offset)
sys/dev/netif/bwn/siba/siba_core.c
873
siba_read_multi_1(device_t dev, void *buffer, size_t count,
sys/dev/netif/bwn/siba/siba_core.c
882
siba_read_multi_2(device_t dev, void *buffer, size_t count,
sys/dev/netif/bwn/siba/siba_core.c
891
siba_read_multi_4(device_t dev, void *buffer, size_t count,
sys/dev/netif/bwn/siba/siba_core.c
900
siba_write_multi_1(device_t dev, const void *buffer, size_t count,
sys/dev/netif/bwn/siba/siba_core.c
909
siba_write_multi_2(device_t dev, const void *buffer, size_t count,
sys/dev/netif/bwn/siba/siba_core.c
918
siba_write_multi_4(device_t dev, const void *buffer, size_t count,
sys/dev/netif/bwn/siba/sibavar.h
562
void *, size_t, uint16_t);
sys/dev/netif/bwn/siba/sibavar.h
564
void *, size_t, uint16_t);
sys/dev/netif/bwn/siba/sibavar.h
566
void *, size_t, uint16_t);
sys/dev/netif/bwn/siba/sibavar.h
568
const void *, size_t, uint16_t);
sys/dev/netif/bwn/siba/sibavar.h
570
const void *, size_t, uint16_t);
sys/dev/netif/bwn/siba/sibavar.h
572
const void *, size_t, uint16_t);
sys/dev/netif/bwn/siba/sibavar.h
650
void siba_read_multi_1(device_t, void *, size_t, uint16_t);
sys/dev/netif/bwn/siba/sibavar.h
651
void siba_read_multi_2(device_t, void *, size_t, uint16_t);
sys/dev/netif/bwn/siba/sibavar.h
652
void siba_read_multi_4(device_t, void *, size_t, uint16_t);
sys/dev/netif/bwn/siba/sibavar.h
653
void siba_write_multi_1(device_t, const void *, size_t, uint16_t);
sys/dev/netif/bwn/siba/sibavar.h
654
void siba_write_multi_2(device_t, const void *, size_t, uint16_t);
sys/dev/netif/bwn/siba/sibavar.h
655
void siba_write_multi_4(device_t, const void *, size_t, uint16_t);
sys/dev/netif/de/if_de.c
3908
tulip_busdma_allocring(device_t dev, tulip_softc_t *sc, size_t count,
sys/dev/netif/de/if_de.c
3911
size_t size;
sys/dev/netif/de/if_de.c
4049
tulip_initcsrs(tulip_softc_t *sc, tulip_csrptr_t csr_base, size_t csr_size)
sys/dev/netif/iwi/if_iwi.c
2409
size_t size = fw->size;
sys/dev/netif/iwi/if_iwivar.h
115
size_t size; /* firmware image size */
sys/dev/netif/iwm/if_iwm.c
1106
size_t maxsize;
sys/dev/netif/iwm/if_iwm.c
1989
int maxchans, int *nchans, int ch_idx, size_t ch_num,
sys/dev/netif/iwm/if_iwm.c
2035
size_t ch_num;
sys/dev/netif/iwm/if_iwm.c
260
static int iwm_store_cscheme(struct iwm_softc *, const uint8_t *, size_t);
sys/dev/netif/iwm/if_iwm.c
263
const uint8_t *, size_t);
sys/dev/netif/iwm/if_iwm.c
295
struct ieee80211_channel[], int, int *, int, size_t,
sys/dev/netif/iwm/if_iwm.c
433
iwm_store_cscheme(struct iwm_softc *sc, const uint8_t *data, size_t dlen)
sys/dev/netif/iwm/if_iwm.c
448
enum iwm_ucode_type type, const uint8_t *data, size_t dlen)
sys/dev/netif/iwm/if_iwm.c
4926
size_t size;
sys/dev/netif/iwm/if_iwm.c
579
size_t len;
sys/dev/netif/iwm/if_iwm.c
953
size_t descsz;
sys/dev/netif/iwm/if_iwm_scan.c
375
size_t remain = sizeof(preq->buf);
sys/dev/netif/iwm/if_iwm_scan.c
472
size_t cmd_size;
sys/dev/netif/iwm/if_iwm_scan.c
605
size_t req_len;
sys/dev/netif/iwm/if_iwm_scan.c
714
size_t req_len;
sys/dev/netif/iwm/if_iwm_util.c
172
size_t hdrlen, datasz;
sys/dev/netif/iwm/if_iwm_util.c
219
size_t totlen = hdrlen + paylen;
sys/dev/netif/iwn/if_iwn.c
8187
size_t hdrlen = 24;
sys/dev/netif/iwn/if_iwnvar.h
194
size_t size;
sys/dev/netif/mxge/if_mxge.c
211
mxge_dma_alloc(mxge_softc_t *sc, bus_dmamem_t *dma, size_t bytes,
sys/dev/netif/mxge/if_mxge.c
3000
size_t bytes;
sys/dev/netif/mxge/if_mxge.c
3952
size_t bytes;
sys/dev/netif/mxge/if_mxge.c
662
size_t fw_len;
sys/dev/netif/mxge/if_mxge.c
685
fw_len = (size_t)fw->version;
sys/dev/netif/mxge/if_mxge.c
857
const size_t bytes = sizeof(struct mcp_gen_header);
sys/dev/netif/mxge/if_mxge.c
858
size_t hdr_offset;
sys/dev/netif/mxge/if_mxge_var.h
233
mxge_pio_copy(volatile void *to_v, void *from_v, size_t size)
sys/dev/netif/mxge/if_mxge_var.h
237
size_t i;
sys/dev/netif/oce/oce_if.h
327
size_t item_size;
sys/dev/netif/oce/oce_if.h
328
size_t num_items;
sys/dev/netif/oce/oce_queue.c
72
*mbx, size_t req_size, enum qtype qtype);
sys/dev/netif/oce/oce_queue.c
817
oce_destroy_q(POCE_SOFTC sc, struct oce_mbx *mbx, size_t req_size,
sys/dev/netif/oce/oce_sysctl.c
483
size_t size = 0;
sys/dev/netif/wi/if_wavelan_ieee.h
166
size_t pri_len; /* Primary firmware length */
sys/dev/netif/wi/if_wavelan_ieee.h
167
size_t sec_len; /* Secondary firmware length */
sys/dev/netif/wpi/if_wpi.c
2434
size_t i;
sys/dev/netif/wpi/if_wpi_debug.h
103
static const char *wpi_get_csr_string(size_t csr)
sys/dev/netif/wpi/if_wpi_debug.h
127
static const char *wpi_get_prph_string(size_t prph)
sys/dev/netif/wpi/if_wpivar.h
119
size_t size;
sys/dev/netif/wpi/if_wpivar.h
162
size_t size;
sys/dev/powermng/amdsmn/amdsmn.c
198
size_t i;
sys/dev/powermng/intpm/intpm.c
111
size_t i;
sys/dev/powermng/powernow/powernow.c
349
size_t len , freq_len;
sys/dev/raid/aac/aac_disk.c
247
size_t length = ap->a_length;
sys/dev/raid/aac/aac_disk.c
254
size_t len, maxio;
sys/dev/raid/amr/amr.c
1014
amr_enquiry(struct amr_softc *sc, size_t bufsize, u_int8_t cmd, u_int8_t cmdsub, u_int8_t cmdqual, int *status)
sys/dev/raid/amr/amr.c
112
static void *amr_enquiry(struct amr_softc *sc, size_t bufsize,
sys/dev/raid/amr/amr_disk.c
141
size_t length = ap->a_length;
sys/dev/raid/amr/amr_pci.c
546
size_t segsize;
sys/dev/raid/amr/amrvar.h
151
size_t ac_length;
sys/dev/raid/arcmsr/arcmsr.c
3640
size_t iop_firm_model = offsetof(struct HBA_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_MODEL_OFFSET]); /*firm_model,15,60-67*/
sys/dev/raid/arcmsr/arcmsr.c
3641
size_t iop_firm_version = offsetof(struct HBA_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_VERS_OFFSET]); /*firm_version,17,68-83*/
sys/dev/raid/arcmsr/arcmsr.c
3642
size_t iop_device_map = offsetof(struct HBA_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]);
sys/dev/raid/arcmsr/arcmsr.c
3690
size_t iop_firm_model = offsetof(struct HBB_RWBUFFER, msgcode_rwbuffer[ARCMSR_FW_MODEL_OFFSET]); /*firm_model,15,60-67*/
sys/dev/raid/arcmsr/arcmsr.c
3691
size_t iop_firm_version = offsetof(struct HBB_RWBUFFER, msgcode_rwbuffer[ARCMSR_FW_VERS_OFFSET]); /*firm_version,17,68-83*/
sys/dev/raid/arcmsr/arcmsr.c
3692
size_t iop_device_map = offsetof(struct HBB_RWBUFFER, msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]);
sys/dev/raid/arcmsr/arcmsr.c
3739
size_t iop_firm_model = offsetof(struct HBC_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_MODEL_OFFSET]); /*firm_model,15,60-67*/
sys/dev/raid/arcmsr/arcmsr.c
3740
size_t iop_firm_version = offsetof(struct HBC_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_VERS_OFFSET]); /*firm_version,17,68-83*/
sys/dev/raid/arcmsr/arcmsr.c
3741
size_t iop_device_map = offsetof(struct HBC_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]);
sys/dev/raid/arcmsr/arcmsr.c
3789
size_t iop_firm_model = offsetof(struct HBD_MessageUnit, msgcode_rwbuffer[ARCMSR_FW_MODEL_OFFSET]); /*firm_model,15,60-67*/
sys/dev/raid/arcmsr/arcmsr.c
3790
size_t iop_firm_version = offsetof(struct HBD_MessageUnit, msgcode_rwbuffer[ARCMSR_FW_VERS_OFFSET]); /*firm_version,17,68-83*/
sys/dev/raid/arcmsr/arcmsr.c
3791
size_t iop_device_map = offsetof(struct HBD_MessageUnit, msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]);
sys/dev/raid/arcmsr/arcmsr.c
3840
size_t iop_firm_model = offsetof(struct HBE_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_MODEL_OFFSET]); /*firm_model,15,60-67*/
sys/dev/raid/arcmsr/arcmsr.c
3841
size_t iop_firm_version = offsetof(struct HBE_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_VERS_OFFSET]); /*firm_version,17,68-83*/
sys/dev/raid/arcmsr/arcmsr.c
3842
size_t iop_device_map = offsetof(struct HBE_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]);
sys/dev/raid/arcmsr/arcmsr.h
71
#define offsetof(type, member) ((size_t)(&((type *)0)->member))
sys/dev/raid/ciss/ciss.c
164
int opcode, void **bufp, size_t bufsize);
sys/dev/raid/ciss/ciss.c
2463
int opcode, void **bufp, size_t bufsize)
sys/dev/raid/hptiop/hptiop.h
49
#define offsetof(TYPE, MEM) ((size_t)&((TYPE*)0)->MEM)
sys/dev/raid/iir/iir.c
1148
size_t copylen = MIN(sizeof(inq), ccb->csio.dxfer_len);
sys/dev/raid/iir/iir.c
1175
size_t copylen = MIN(sizeof(mpd), ccb->csio.dxfer_len);
sys/dev/raid/iir/iir.c
1203
size_t copylen = MIN(sizeof(rcd), ccb->csio.dxfer_len);
sys/dev/raid/ips/ips_disk.c
229
size_t len;
sys/dev/raid/ips/ips_disk.c
252
size_t length = ap->a_length;
sys/dev/raid/mfi/mfi.c
2890
size_t len;
sys/dev/raid/mfi/mfi.c
830
uint32_t opcode, void **bufp, size_t bufsize)
sys/dev/raid/mfi/mfi.c
90
uint32_t, void **, size_t);
sys/dev/raid/mfi/mfi_disk.c
328
size_t len = ap->a_length;
sys/dev/raid/mfi/mfi_syspd.c
293
size_t len = ap->a_length;
sys/dev/raid/mlx/mlx.c
1450
mlx_enquire(struct mlx_softc *sc, int command, size_t bufsize, void (* complete)(struct mlx_command *mc))
sys/dev/raid/mlx/mlx.c
212
size_t segsize;
sys/dev/raid/mlx/mlx.c
97
static void *mlx_enquire(struct mlx_softc *sc, int command, size_t bufsize,
sys/dev/raid/mlx/mlxio.h
59
size_t mu_datasize; /* size of databuffer */
sys/dev/raid/mlx/mlxvar.h
96
size_t mc_length;
sys/dev/raid/mly/mly.c
1085
mly_ioctl(struct mly_softc *sc, struct mly_command_ioctl *ioctl, void **data, size_t datasize,
sys/dev/raid/mly/mly.c
1086
u_int8_t *status, void *sense_buffer, size_t *sense_length)
sys/dev/raid/mly/mly.c
567
size_t segsize;
sys/dev/raid/mly/mly.c
80
size_t datasize, u_int8_t *status, void *sense_buffer, size_t *sense_length);
sys/dev/raid/mly/mlyvar.h
139
size_t mc_length; /* data length */
sys/dev/raid/mpr/mpr.c
2689
size_t length;
sys/dev/raid/mpr/mpr.c
3232
mpr_push_sge(struct mpr_command *cm, MPI2_SGE_SIMPLE64 *sge, size_t len,
sys/dev/raid/mpr/mpr.c
3401
mpr_add_dmaseg(struct mpr_command *cm, vm_paddr_t pa, size_t len, u_int flags,
sys/dev/raid/mpr/mprvar.h
166
size_t size;
sys/dev/raid/mpr/mprvar.h
768
int mpr_push_sge(struct mpr_command *, MPI2_SGE_SIMPLE64 *, size_t, int);
sys/dev/raid/mpr/mprvar.h
770
int mpr_add_dmaseg(struct mpr_command *, vm_paddr_t, size_t, u_int, int);
sys/dev/raid/mps/mps.c
1828
mps_push_sge(struct mps_command *cm, void *sgep, size_t len, int segsleft)
sys/dev/raid/mps/mps.c
1986
mps_add_dmaseg(struct mps_command *cm, vm_paddr_t pa, size_t len, u_int flags,
sys/dev/raid/mps/mpsvar.h
189
size_t size;
sys/dev/raid/mps/mpsvar.h
693
int mps_push_sge(struct mps_command *, void *, size_t, int);
sys/dev/raid/mps/mpsvar.h
694
int mps_add_dmaseg(struct mps_command *, vm_paddr_t, size_t, u_int, int);
sys/dev/raid/twe/twe.c
49
static void *twe_get_param(struct twe_softc *sc, int table_id, int parameter_id, size_t size,
sys/dev/raid/twe/twe.c
531
size_t tr_length;
sys/dev/raid/twe/twe.c
771
twe_get_param(struct twe_softc *sc, int table_id, int param_id, size_t param_size,
sys/dev/raid/twe/twe_freebsd.c
776
size_t length = ap->a_length;
sys/dev/raid/twe/tweio.h
43
size_t tu_size; /* userspace data length */
sys/dev/raid/twe/twevar.h
95
size_t tr_length;
sys/dev/raid/vinum/vinumext.h
119
int driveio(struct drive *, char *, size_t, off_t, buf_cmd_t);
sys/dev/raid/vinum/vinumio.c
272
driveio(struct drive *drive, char *buf, size_t length, off_t offset, buf_cmd_t cmd)
sys/dev/smbus/atmel_mxt/atmel_mxt.c
657
size_t n;
sys/dev/smbus/atmel_mxt/atmel_mxt.c
754
size_t n;
sys/dev/smbus/atmel_mxt/obp-utils.c
108
obp_crc24(uint8_t *buf, size_t bytes)
sys/dev/smbus/atmel_mxt/obp-utils.c
111
size_t i;
sys/dev/smbus/atmel_mxt/obp-utils.h
506
uint32_t obp_crc24(uint8_t *buf, size_t bytes);
sys/dev/smbus/atmel_mxt/test_atmel.c
169
size_t blksize;
sys/dev/smbus/atmel_mxt/test_atmel.c
170
size_t totsize;
sys/dev/smbus/cyapa/cyapa.c
1658
size_t
sys/dev/smbus/cyapa/cyapa.c
1661
size_t n;
sys/dev/smbus/cyapa/cyapa.c
1664
if (n > (size_t)(fifo->windex - fifo->rindex))
sys/dev/smbus/cyapa/cyapa.c
1665
n = (size_t)(fifo->windex - fifo->rindex);
sys/dev/smbus/cyapa/cyapa.c
1675
size_t
sys/dev/smbus/cyapa/cyapa.c
1678
return ((size_t)(fifo->windex - fifo->rindex));
sys/dev/smbus/cyapa/cyapa.c
1691
fifo_read(struct cyapa_fifo *fifo, size_t n)
sys/dev/smbus/cyapa/cyapa.c
1741
size_t
sys/dev/smbus/cyapa/cyapa.c
1744
size_t n;
sys/dev/smbus/cyapa/cyapa.c
1747
if (n > (size_t)(CYAPA_BUFSIZE - (fifo->windex - fifo->rindex)))
sys/dev/smbus/cyapa/cyapa.c
1748
n = (size_t)(CYAPA_BUFSIZE - (fifo->windex - fifo->rindex));
sys/dev/smbus/cyapa/cyapa.c
1754
fifo_write(struct cyapa_fifo *fifo, size_t n)
sys/dev/smbus/cyapa/cyapa.c
214
static size_t fifo_ready(struct cyapa_fifo *fifo);
sys/dev/smbus/cyapa/cyapa.c
216
static size_t fifo_total_ready(struct cyapa_fifo *fifo);
sys/dev/smbus/cyapa/cyapa.c
218
static char *fifo_read(struct cyapa_fifo *fifo, size_t n);
sys/dev/smbus/cyapa/cyapa.c
219
static char *fifo_write(struct cyapa_fifo *fifo, size_t n);
sys/dev/smbus/cyapa/cyapa.c
222
static size_t fifo_space(struct cyapa_fifo *fifo);
sys/dev/smbus/cyapa/cyapa.c
621
size_t n;
sys/dev/smbus/cyapa/cyapa.c
764
size_t v;
sys/dev/smbus/cyapa/cyapa.c
793
size_t n;
sys/dev/sound/midi/midi.c
1235
midisynth_writeraw(void *n, uint8_t *buf, size_t len)
sys/dev/sound/pci/hda/hdaa.c
183
hdaa_audio_ctl_ossmixer_mask2allname(uint32_t mask, char *buf, size_t len)
sys/dev/sound/pci/hda/hdaa.c
6770
size_t buflen)
sys/dev/sound/pci/hda/hdac.c
1785
size_t buflen)
sys/dev/sound/pci/hda/hdac.c
1795
size_t buflen)
sys/dev/sound/pci/hda/hdacc.c
554
size_t buflen)
sys/dev/sound/pci/hda/hdacc.c
564
size_t buflen)
sys/dev/sound/pcm/channel.c
1131
snd_afmt2str(uint32_t afmt, char *buf, size_t len)
sys/dev/sound/pcm/channel.h
322
uint32_t snd_afmt2str(uint32_t, char *, size_t);
sys/dev/sound/pcm/dsp.c
2378
size_t len;
sys/dev/sound/pcm/dsp.c
2554
dsp_unit2name(char *buf, size_t len, int unit)
sys/dev/sound/pcm/dsp.h
43
char *dsp_unit2name(char *, size_t, int);
sys/dev/sound/pcm/feeder_eq.c
505
size_t len;
sys/dev/video/bktr/bktr_core.c
3522
(size_t)bktr->rows * bktr->cols * bktr->frames *
sys/dev/video/cxm/cxm.c
1219
unsigned int current, size_t offset)
sys/dev/video/cxm/cxm.c
1230
size_t nbytes;
sys/dev/video/cxm/cxm.c
1388
size_t max_sg_segment;
sys/dev/video/cxm/cxm.c
1390
size_t offset;
sys/dev/video/cxm/cxm.c
1391
size_t size;
sys/dev/video/cxm/cxm.c
2221
size_t nbytes;
sys/dev/video/cxm/cxm.c
2222
size_t offset;
sys/dev/video/cxm/cxm.h
66
size_t size;
sys/dev/video/cxm/cxm.h
74
size_t offset;
sys/dev/video/fb/fb.c
511
(size_t)len, uio);
sys/dev/video/fb/fbreg.h
58
typedef int vi_save_state_t(video_adapter_t *adp, void *p, size_t size);
sys/dev/video/fb/splash.c
71
decoder->data_size = *(size_t *)p;
sys/dev/video/fb/splashreg.h
44
size_t data_size;
sys/dev/video/fb/vga.c
1420
vga_save_state(video_adapter_t *adp, void *p, size_t size)
sys/dev/video/fb/vga.c
404
static void filll_io(int, vm_offset_t, size_t);
sys/dev/video/fb/vga.c
810
fill(int val, void *d, size_t size)
sys/dev/video/fb/vga.c
820
filll_io(int val, vm_offset_t d, size_t size)
sys/dev/video/vga/vga_switcheroo.c
1077
size_t amt;
sys/dev/video/vga/vga_switcheroo.c
351
size_t len;
sys/dev/video/vga/vga_switcheroo.c
791
size_t cnt, loff_t *ppos)
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
1029
size_t tbl_size;
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
1085
size_t tbl_size = (1ULL << rss->tbl_log_size) *
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
1224
size_t size;
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
1263
size_t cmd_size,
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
1265
size_t comp_size)
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
2354
memcpy(key, hash_key->key, (size_t)(hash_key->keys_num) << 2);
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
238
size_t cmd_size_in_bytes,
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
240
size_t comp_size_in_bytes)
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
298
size_t size = queue->q_depth * sizeof(struct ena_comp_ctx);
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
319
size_t cmd_size_in_bytes,
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
321
size_t comp_size_in_bytes)
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
346
size_t size;
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
424
size_t size;
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
832
size_t size;
sys/dev/virtual/amazon/ena/ena-com/ena_com.h
887
size_t cmd_size,
sys/dev/virtual/amazon/ena/ena-com/ena_com.h
889
size_t cmd_comp_size);
sys/dev/virtual/hyperv/vmbus/vmbus.c
470
vmbus_msghc_get(struct vmbus_softc *sc, size_t dsize)
sys/dev/virtual/hyperv/vmbus/vmbus_var.h
95
struct vmbus_msghc *vmbus_msghc_get(struct vmbus_softc *, size_t);
sys/dev/virtual/nvmm/nvmm.c
201
size_t i, j;
sys/dev/virtual/nvmm/nvmm.c
297
size_t i;
sys/dev/virtual/nvmm/nvmm.c
337
size_t allocsz;
sys/dev/virtual/nvmm/nvmm.c
456
size_t allocsz;
sys/dev/virtual/nvmm/nvmm.c
59
size_t i;
sys/dev/virtual/nvmm/nvmm.c
627
nvmm_hmapping_getvmobj(struct nvmm_machine *mach, uintptr_t hva, size_t size,
sys/dev/virtual/nvmm/nvmm.c
628
size_t *off)
sys/dev/virtual/nvmm/nvmm.c
631
size_t i;
sys/dev/virtual/nvmm/nvmm.c
649
nvmm_hmapping_validate(struct nvmm_machine *mach, uintptr_t hva, size_t size)
sys/dev/virtual/nvmm/nvmm.c
652
size_t i;
sys/dev/virtual/nvmm/nvmm.c
699
size_t i;
sys/dev/virtual/nvmm/nvmm.c
713
nvmm_hmapping_free(struct nvmm_machine *mach, uintptr_t hva, size_t size)
sys/dev/virtual/nvmm/nvmm.c
716
size_t i;
sys/dev/virtual/nvmm/nvmm.c
800
size_t off;
sys/dev/virtual/nvmm/nvmm.c
910
size_t i;
sys/dev/virtual/nvmm/nvmm.c
959
size_t i;
sys/dev/virtual/nvmm/nvmm.c
972
size_t i, n;
sys/dev/virtual/nvmm/nvmm.c
996
size_t i, n;
sys/dev/virtual/nvmm/nvmm_dragonfly.c
215
os_pagemem_zalloc(size_t size)
sys/dev/virtual/nvmm/nvmm_dragonfly.c
229
os_pagemem_free(void *ptr, size_t size)
sys/dev/virtual/nvmm/nvmm_dragonfly.c
252
os_contigpa_zalloc(paddr_t *pa, vaddr_t *va, size_t npages)
sys/dev/virtual/nvmm/nvmm_dragonfly.c
267
os_contigpa_free(paddr_t pa __unused, vaddr_t va, size_t npages)
sys/dev/virtual/nvmm/nvmm_internal.h
113
size_t mach_conf_max;
sys/dev/virtual/nvmm/nvmm_internal.h
114
const size_t *mach_conf_sizes;
sys/dev/virtual/nvmm/nvmm_internal.h
116
size_t vcpu_conf_max;
sys/dev/virtual/nvmm/nvmm_internal.h
117
const size_t *vcpu_conf_sizes;
sys/dev/virtual/nvmm/nvmm_internal.h
119
size_t state_size;
sys/dev/virtual/nvmm/nvmm_internal.h
76
size_t size;
sys/dev/virtual/nvmm/nvmm_ioctl.h
104
size_t size;
sys/dev/virtual/nvmm/nvmm_ioctl.h
111
size_t size;
sys/dev/virtual/nvmm/nvmm_ioctl.h
119
size_t size;
sys/dev/virtual/nvmm/nvmm_ioctl.h
126
size_t size;
sys/dev/virtual/nvmm/nvmm_ioctl.h
144
size_t size;
sys/dev/virtual/nvmm/nvmm_netbsd.c
147
os_pagemem_zalloc(size_t size)
sys/dev/virtual/nvmm/nvmm_netbsd.c
160
os_pagemem_free(void *ptr, size_t size)
sys/dev/virtual/nvmm/nvmm_netbsd.c
183
os_contigpa_zalloc(paddr_t *pa, vaddr_t *va, size_t npages)
sys/dev/virtual/nvmm/nvmm_netbsd.c
188
size_t i;
sys/dev/virtual/nvmm/nvmm_netbsd.c
221
os_contigpa_free(paddr_t pa, vaddr_t va, size_t npages)
sys/dev/virtual/nvmm/nvmm_netbsd.c
223
size_t i;
sys/dev/virtual/nvmm/nvmm_os.h
287
void * os_pagemem_zalloc(size_t);
sys/dev/virtual/nvmm/nvmm_os.h
288
void os_pagemem_free(void *, size_t);
sys/dev/virtual/nvmm/nvmm_os.h
293
int os_contigpa_zalloc(paddr_t *, vaddr_t *, size_t);
sys/dev/virtual/nvmm/nvmm_os.h
294
void os_contigpa_free(paddr_t, vaddr_t, size_t);
sys/dev/virtual/nvmm/x86/nvmm_x86.c
464
size_t i;
sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c
1081
size_t i;
sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c
1268
size_t i;
sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c
2197
size_t i, oct, bit;
sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c
2229
size_t oct, bit;
sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c
2452
size_t i;
sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c
2636
size_t i, j, allocsz;
sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c
2733
size_t allocsz;
sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c
2744
size_t i;
sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c
555
static const size_t svm_vcpu_conf_sizes[NVMM_X86_VCPU_NCONF] = {
sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
1563
size_t i;
sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
1892
size_t i;
sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
2902
size_t i, oct, bit;
sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
2930
size_t oct, bit;
sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
3140
size_t i;
sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
3281
size_t i;
sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
3311
size_t i;
sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
3491
size_t allocsz;
sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
3640
size_t allocsz;
sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
3651
size_t i;
sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
643
static size_t vmx_msrlist_entry_nmsr __read_mostly = VMX_MSRLIST_EXIT_NMSR;
sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
819
static const size_t vmx_vcpu_conf_sizes[NVMM_X86_VCPU_NCONF] = {
sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
837
size_t vmcs_refcnt;
sys/dev/virtual/virtio/balloon/virtio_balloon.c
499
size_t vmt_size = sizeof(total);
sys/dev/virtual/virtio/balloon/virtio_balloon.c
500
size_t vmm_size = sizeof(vmm);
sys/dev/virtual/virtio/balloon/virtio_balloon.c
501
size_t vms_size = sizeof(vms);
sys/dev/virtual/virtio/block/virtio_blk.c
162
static int vtblk_write_dump(struct vtblk_softc *, void *, off_t, size_t);
sys/dev/virtual/virtio/block/virtio_blk.c
993
size_t length)
sys/dev/virtual/virtio/mmio/virtio_mmio_kenv.c
145
size_t n;
sys/dev/virtual/vkernel/net/if_vke.c
303
size_t ringsize = sc->sc_ringsize * sizeof(struct mbuf *);
sys/dev/virtual/vmware/vmxnet3/if_vmx.c
1210
size_t size;
sys/dev/virtual/vmware/vmxnet3/if_vmx.c
1283
size_t descsz, compsz;
sys/kern/imgact_elf.c
1263
target_reserve(elf_buf_t target, size_t bytes, int *error)
sys/kern/imgact_elf.c
1309
size_t phoff;
sys/kern/imgact_elf.c
1310
size_t noteoff;
sys/kern/imgact_elf.c
1311
size_t notesz;
sys/kern/imgact_elf.c
1514
const void *desc, size_t descsz)
sys/kern/imgact_elf.c
1700
note_overflow(const Elf_Note *note, size_t maxsize)
sys/kern/imgact_elf.c
242
vm_offset_t offset, caddr_t vmaddr, size_t memsz,
sys/kern/imgact_elf.c
243
size_t filsz, vm_prot_t prot)
sys/kern/imgact_elf.c
245
size_t map_len;
sys/kern/imgact_elf.c
250
size_t copy_len;
sys/kern/imgact_elf.c
83
vm_offset_t offset, caddr_t vmaddr, size_t memsz, size_t filsz,
sys/kern/imgact_elf.c
921
size_t vsize; /* Total size of all writable segments. */
sys/kern/imgact_elf.c
934
size_t off;
sys/kern/imgact_elf.c
935
size_t off_max;
sys/kern/imgact_elf.c
938
static void *target_reserve(elf_buf_t target, size_t bytes, int *error);
sys/kern/imgact_elf.c
953
static int __elfN(putnote)(elf_buf_t, const char *, int, const void *, size_t);
sys/kern/imgact_shell.c
52
size_t length, offset;
sys/kern/kern_checkpoint.c
112
size_t nbyte = sizeof(Elf_Ehdr);
sys/kern/kern_checkpoint.c
152
elf_getphdrs(struct file *fp, Elf_Phdr *phdr, size_t nbyte)
sys/kern/kern_checkpoint.c
176
elf_getnotes(struct lwp *lp, struct file *fp, size_t notesz)
sys/kern/kern_checkpoint.c
224
size_t nbyte;
sys/kern/kern_checkpoint.c
314
elf_getnote(void *src, size_t *off, const char *name, unsigned int type,
sys/kern/kern_checkpoint.c
315
void **desc, size_t descsz)
sys/kern/kern_checkpoint.c
360
size_t off = 0;
sys/kern/kern_checkpoint.c
402
size_t len;
sys/kern/kern_checkpoint.c
75
static int elf_getnotes(struct lwp *lp, struct file *fp, size_t notesz);
sys/kern/kern_checkpoint.c
859
size_t namelen;
sys/kern/kern_checkpoint.c
93
read_check(struct file *fp, void *buf, size_t nbyte)
sys/kern/kern_checkpoint.c
95
size_t nread;
sys/kern/kern_clock.c
141
size_t size = sizeof(struct kinfo_cputime);
sys/kern/kern_clock.c
181
size_t size = sizeof(cpu_states);
sys/kern/kern_clock.c
204
size_t size = sizeof(cpu_states);
sys/kern/kern_collect.c
227
size_t len = strlen(kcollect_slots[i]);
sys/kern/kern_device.c
424
size_t length)
sys/kern/kern_dmsg.c
1773
size_t hbytes;
sys/kern/kern_dmsg.c
331
size_t hbytes;
sys/kern/kern_dmsg.c
332
size_t abytes;
sys/kern/kern_dmsg.c
433
size_t abytes;
sys/kern/kern_environment.c
77
size_t len, done, needed, buflen;
sys/kern/kern_exec.c
1020
size_t length;
sys/kern/kern_exec.c
1152
size_t execpath_len;
sys/kern/kern_exec.c
123
size_t limsize;
sys/kern/kern_fp.c
204
fp_pread(file_t fp, void *buf, size_t nbytes, off_t offset, ssize_t *res,
sys/kern/kern_fp.c
209
size_t count;
sys/kern/kern_fp.c
243
fp_read(file_t fp, void *buf, size_t nbytes, ssize_t *res, int all,
sys/kern/kern_fp.c
301
fp_pwrite(file_t fp, void *buf, size_t nbytes, off_t offset, ssize_t *res,
sys/kern/kern_fp.c
306
size_t count;
sys/kern/kern_fp.c
341
fp_write(file_t fp, void *buf, size_t nbytes, ssize_t *res, enum uio_seg seg)
sys/kern/kern_fp.c
345
size_t count;
sys/kern/kern_fp.c
393
fp_mmap(void *addr_arg, size_t size, int prot, int flags, struct file *fp,
sys/kern/kern_iosched.c
113
size_t bytes;
sys/kern/kern_iosched.c
135
factor = badjiosched(curthread, (size_t)bytes);
sys/kern/kern_iosched.c
66
badjiosched(thread_t td, size_t bytes)
sys/kern/kern_iosched.c
69
size_t iostotal;
sys/kern/kern_kmalloc.c
148
size_t count;
sys/kern/kern_kmalloc.c
271
struct kmalloc_mgt *mgt, size_t size)
sys/kern/kern_kmalloc.c
273
size_t offset;
sys/kern/kern_kmalloc.c
274
size_t count;
sys/kern/kern_kmalloc.c
370
size_t delta;
sys/kern/kern_kmalloc.c
445
size_t delta;
sys/kern/kern_kmalloc.c
521
size_t delta;
sys/kern/kern_kmalloc.c
627
size_t i = (((uintptr_t)obj & KMALLOC_SLAB_MASK) - slab->offset) /
sys/kern/kern_kmalloc.c
641
size_t i = (((uintptr_t)obj & KMALLOC_SLAB_MASK) - slab->offset) /
sys/kern/kern_kmalloc.c
668
size_t delta;
sys/kern/kern_kmalloc.c
669
size_t total;
sys/kern/kern_kmalloc.c
689
size_t delta;
sys/kern/kern_kmalloc.c
729
size_t i;
sys/kern/kern_kmalloc.c
756
size_t i;
sys/kern/kern_kmalloc.c
931
size_t delta;
sys/kern/kern_kmalloc.c
932
size_t i;
sys/kern/kern_ktr.c
159
size_t d3, size_t d4,
sys/kern/kern_ktr.c
160
size_t d5, size_t d6);
sys/kern/kern_ktr.c
314
(size_t)-1, (size_t)-1,
sys/kern/kern_ktr.c
315
(size_t)-1, (size_t)-1);
sys/kern/kern_ktr.c
482
(size_t)-1, (size_t)-1,
sys/kern/kern_ktr.c
483
(size_t)-1, (size_t)-1);
sys/kern/kern_ktrace.c
183
size_t mibnamelen;
sys/kern/kern_ktrace.c
92
size_t len;
sys/kern/kern_linker.c
1413
size_t name_len, prefix_len;
sys/kern/kern_linker.c
1414
size_t result_len;
sys/kern/kern_linker.c
605
size_t common_size = 0;
sys/kern/kern_linker.c
980
if ((error = copyout(&lf->size, &stat->size, sizeof(size_t))) != 0)
sys/kern/kern_module.c
122
size_t namelen;
sys/kern/kern_nrandom.c
253
size_t i;
sys/kern/kern_nrandom.c
353
const size_t keyLen);
sys/kern/kern_nrandom.c
362
const size_t keyLen);
sys/kern/kern_nrandom.c
366
const size_t keyLen);
sys/kern/kern_nrandom.c
395
const size_t keyLen)
sys/kern/kern_nrandom.c
397
size_t i, keyIndex;
sys/kern/kern_nrandom.c
420
const size_t keyLen)
sys/kern/kern_nrandom.c
446
const size_t keyLen)
sys/kern/kern_nrandom.c
729
size_t n;
sys/kern/kern_nrandom.c
730
size_t r;
sys/kern/kern_objcache.c
378
objcache_create_simple(malloc_type_t mtype, size_t objsize)
sys/kern/kern_objcache.c
394
objcache_create_mbacked(malloc_type_t mtype, size_t objsize,
sys/kern/kern_physio.c
37
size_t iolen;
sys/kern/kern_physio.c
38
size_t bcount;
sys/kern/kern_proc.c
1870
size_t n;
sys/kern/kern_proc.c
1913
size_t n;
sys/kern/kern_proc.c
1932
size_t n;
sys/kern/kern_prot.c
1253
size_t namelen;
sys/kern/kern_prot.c
243
size_t len;
sys/kern/kern_prot.c
289
size_t len;
sys/kern/kern_sig.c
2451
size_t namelen;
sys/kern/kern_slaballoc.c
1244
size_t
sys/kern/kern_slaballoc.c
1312
kstrndup_debug(const char *str, size_t maxlen, struct malloc_type *type,
sys/kern/kern_slaballoc.c
1316
kstrndup(const char *str, size_t maxlen, struct malloc_type *type)
sys/kern/kern_slaballoc.c
254
size_t
sys/kern/kern_slaballoc.c
257
size_t limsize;
sys/kern/kern_slaballoc.c
259
limsize = (size_t)vmstats.v_page_count * PAGE_SIZE;
sys/kern/kern_slaballoc.c
268
size_t limsize;
sys/kern/kern_slaballoc.c
359
size_t limsize;
sys/kern/kern_slaballoc.c
566
kmalloc_raise_limit(struct malloc_type *type, size_t bytes)
sys/kern/kern_slaballoc.c
601
size_t objsize)
sys/kern/kern_subr.c
100
size_t cnt;
sys/kern/kern_subr.c
101
size_t tot;
sys/kern/kern_subr.c
183
uiomovebp(struct buf *bp, caddr_t cp, size_t n, struct uio *uio)
sys/kern/kern_subr.c
207
uiomove_nofault(caddr_t cp, size_t n, struct uio *uio)
sys/kern/kern_subr.c
223
uiomovez(size_t n, struct uio *uio)
sys/kern/kern_subr.c
226
size_t cnt;
sys/kern/kern_subr.c
272
uiomove_frombuf(void *buf, size_t buflen, struct uio *uio)
sys/kern/kern_subr.c
274
size_t offset;
sys/kern/kern_subr.c
276
offset = (size_t)uio->uio_offset;
sys/kern/kern_subr.c
365
hashinit_ext(int elements, size_t size, struct malloc_type *type,
sys/kern/kern_subr.c
375
hashtbl = kmalloc((size_t)hashsize * size, type, M_WAITOK | M_ZERO);
sys/kern/kern_subr.c
419
phashinit_ext(int elements, size_t size, struct malloc_type *type,
sys/kern/kern_subr.c
435
hashtbl = kmalloc((size_t)hashsize * size, type, M_WAITOK | M_ZERO);
sys/kern/kern_subr.c
449
int iov_cnt, size_t *iov_len)
sys/kern/kern_subr.c
453
size_t len;
sys/kern/kern_subr.c
540
uiomove_fromphys(vm_page_t *ma, vm_offset_t offset, size_t n, struct uio *uio)
sys/kern/kern_subr.c
549
size_t cnt;
sys/kern/kern_subr.c
61
copyin_nofault(const void *udaddr, void *kaddr, size_t len)
sys/kern/kern_subr.c
73
copyout_nofault(const void *kaddr, void *udaddr, size_t len)
sys/kern/kern_subr.c
96
uiomove(caddr_t cp, size_t n, struct uio *uio)
sys/kern/kern_synch.c
1527
size_t hash_size;
sys/kern/kern_sysctl.c
1212
sysctl_old_kernel(struct sysctl_req *req, const void *p, size_t l)
sys/kern/kern_sysctl.c
1214
size_t i = 0;
sys/kern/kern_sysctl.c
1230
sysctl_new_kernel(struct sysctl_req *req, void *p, size_t l)
sys/kern/kern_sysctl.c
1244
void *old, size_t *oldlenp,
sys/kern/kern_sysctl.c
1245
void *new, size_t newlen, size_t *retval)
sys/kern/kern_sysctl.c
1297
void *old, size_t *oldlenp,
sys/kern/kern_sysctl.c
1298
void *new, size_t newlen, size_t *retval)
sys/kern/kern_sysctl.c
1301
size_t oidlen, plen;
sys/kern/kern_sysctl.c
1321
sysctl_old_user(struct sysctl_req *req, const void *p, size_t l)
sys/kern/kern_sysctl.c
1324
size_t i = 0;
sys/kern/kern_sysctl.c
1349
sysctl_new_user(struct sysctl_req *req, void *p, size_t l)
sys/kern/kern_sysctl.c
1492
size_t j;
sys/kern/kern_sysctl.c
1520
void *old, size_t *oldlenp, int inkernel,
sys/kern/kern_sysctl.c
1521
void *new, size_t newlen, size_t *retval)
sys/kern/kern_udev.c
817
size_t len;
sys/kern/kern_uuid.c
112
kern_uuidgen(struct uuid *store, size_t count)
sys/kern/kern_uuid.c
116
size_t n;
sys/kern/kern_uuid.c
163
size_t count;
sys/kern/kern_uuid.c
186
snprintf_uuid(char *buf, size_t sz, struct uuid *uuid)
sys/kern/kern_xio.c
197
xio_uio_copy(xio_t xio, int uoffset, struct uio *uio, size_t *sizep)
sys/kern/kern_xio.c
199
size_t bytes;
sys/kern/kern_xio.c
97
xio_init_kbuf(xio_t xio, void *kbase, size_t kbytes)
sys/kern/libmchain/subr_mchain.c
199
size_t cplen, srclen, dstlen;
sys/kern/link_elf.c
169
linker_kernel_file->size = *(size_t *)sizeptr;
sys/kern/link_elf.c
362
lf->size = *(size_t *)sizeptr;
sys/kern/link_elf.c
403
size_t mapsize;
sys/kern/link_elf_obj.c
108
size_t bytes; /* Chunk size in bytes */
sys/kern/link_elf_obj.c
208
lf->size = *(size_t *) sizeptr;
sys/kern/link_elf_obj.c
402
size_t mapsize;
sys/kern/subr_bus.c
1713
size_t retval;
sys/kern/subr_bus.c
3434
bus_child_pnpinfo_str(device_t child, char *buf, size_t buflen)
sys/kern/subr_bus.c
3447
bus_child_location_str(device_t child, char *buf, size_t buflen)
sys/kern/subr_csprng.c
263
const uint8_t *entropy, size_t bytes, int flags)
sys/kern/subr_csprng.c
68
csprng_pool_init(struct csprng_pool *pool, uint8_t *buf, size_t len)
sys/kern/subr_disk.c
1426
size_t left;
sys/kern/subr_disk.c
1427
size_t n;
sys/kern/subr_disk.c
1432
left = (size_t)bioq_reorder_minor_bytes;
sys/kern/subr_disk.c
1435
left = (size_t)bioq_reorder_burst_bytes;
sys/kern/subr_diskgpt.c
184
size_t j;
sys/kern/subr_diskgpt.c
249
size_t i;
sys/kern/subr_disklabel32.c
141
const size_t uuid_size = sizeof(struct uuid);
sys/kern/subr_disklabel32.c
160
l32_getpackname(disklabel_t lp, char *buf, size_t bytes)
sys/kern/subr_disklabel32.c
162
size_t slen;
sys/kern/subr_disklabel64.c
115
l64_getpackname(disklabel_t lp, char *buf, size_t bytes)
sys/kern/subr_disklabel64.c
117
size_t slen;
sys/kern/subr_disklabel64.c
153
size_t dlpcrcsize;
sys/kern/subr_disklabel64.c
154
size_t bpsize;
sys/kern/subr_disklabel64.c
215
size_t nlpcrcsize;
sys/kern/subr_disklabel64.c
330
size_t bpsize;
sys/kern/subr_disklabel64.c
392
size_t lpcrcsize;
sys/kern/subr_disklabel64.c
447
size_t lpcrcsize;
sys/kern/subr_disklabel64.c
91
const size_t uuid_size = sizeof(struct uuid);
sys/kern/subr_firmware.c
173
firmware_register(const char *imagename, const void *data, size_t datasize,
sys/kern/subr_log.c
175
if ((size_t)n > uio->uio_resid)
sys/kern/subr_log.c
182
(size_t)n, uio);
sys/kern/subr_param.c
239
size_t limsize;
sys/kern/subr_param.c
245
limsize = (size_t)physpages * PAGE_SIZE;
sys/kern/subr_prf.c
1095
msgbufinit(void *ptr, size_t size)
sys/kern/subr_prf.c
282
error = uiomove(consbuffer, (size_t)c, uio);
sys/kern/subr_prf.c
441
ksnprintf(char *str, size_t size, const char *format, ...)
sys/kern/subr_prf.c
456
kvsnprintf(char *str, size_t size, const char *format, __va_list ap)
sys/kern/subr_prf.c
470
kvasnprintf(char **strp, size_t size, const char *format, __va_list ap)
sys/kern/subr_prf.c
801
num = __va_arg(ap, size_t);
sys/kern/subr_prf.c
91
size_t remain;
sys/kern/subr_rman.c
624
rman_make_alignment_flags(size_t size)
sys/kern/subr_sbuf.c
388
sbuf_bcat(struct sbuf *s, const void *buf, size_t len)
sys/kern/subr_sbuf.c
411
sbuf_bcopyin(struct sbuf *s, const void *uaddr, size_t len)
sys/kern/subr_sbuf.c
440
sbuf_bcpy(struct sbuf *s, const void *buf, size_t len)
sys/kern/subr_sbuf.c
476
sbuf_copyin(struct sbuf *s, const void *uaddr, size_t len)
sys/kern/subr_sbuf.c
478
size_t done;
sys/kern/subr_sbuf.c
806
sbuf_end_section(struct sbuf *s, ssize_t old_len, size_t pad, int c)
sys/kern/subr_scanf.c
106
size_t width; /* field width, or 0 */
sys/kern/subr_scanf.c
290
size_t sum = 0;
sys/kern/subr_scanf.c
320
width = (size_t)~0; /* `infinity' */
sys/kern/subr_scanf.c
362
width = (size_t)~0;
sys/kern/subr_sglist.c
107
_sglist_append_buf(struct sglist *sg, void *buf, size_t len, pmap_t pmap,
sys/kern/subr_sglist.c
108
size_t *donep)
sys/kern/subr_sglist.c
114
size_t seglen;
sys/kern/subr_sglist.c
177
sglist_count(void *buf, size_t len)
sys/kern/subr_sglist.c
236
sglist_append(struct sglist *sg, void *buf, size_t len)
sys/kern/subr_sglist.c
255
sglist_append_phys(struct sglist *sg, vm_paddr_t paddr, size_t len)
sys/kern/subr_sglist.c
315
sglist_append_user(struct sglist *sg, void *buf, size_t len, struct thread *td)
sys/kern/subr_sglist.c
340
size_t resid, minlen;
sys/kern/subr_sglist.c
384
sglist_consume_uio(struct sglist *sg, struct uio *uio, size_t resid)
sys/kern/subr_sglist.c
387
size_t done;
sys/kern/subr_sglist.c
434
sglist_build(void *buf, size_t len, int mflags)
sys/kern/subr_sglist.c
476
size_t
sys/kern/subr_sglist.c
479
size_t space;
sys/kern/subr_sglist.c
506
sglist_split(struct sglist *original, struct sglist **head, size_t length,
sys/kern/subr_sglist.c
510
size_t space, split;
sys/kern/subr_sglist.c
59
size_t ss_len;
sys/kern/subr_sglist.c
637
sglist_slice(struct sglist *original, struct sglist **slice, size_t offset,
sys/kern/subr_sglist.c
638
size_t length, int mflags)
sys/kern/subr_sglist.c
641
size_t space, end, foffs, loffs;
sys/kern/subr_sglist.c
83
vm_paddr_t paddr, size_t len)
sys/kern/sys_generic.c
114
static int dofileread(int, struct file *, struct uio *, int, size_t *);
sys/kern/sys_generic.c
115
static int dofilewrite(int, struct file *, struct uio *, int, size_t *);
sys/kern/sys_generic.c
252
kern_preadv(int fd, struct uio *auio, int flags, size_t *res)
sys/kern/sys_generic.c
278
dofileread(int fd, struct file *fp, struct uio *auio, int flags, size_t *res)
sys/kern/sys_generic.c
281
size_t len;
sys/kern/sys_generic.c
456
kern_pwritev(int fd, struct uio *auio, int flags, size_t *res)
sys/kern/sys_generic.c
482
dofilewrite(int fd, struct file *fp, struct uio *auio, int flags, size_t *res)
sys/kern/sys_generic.c
487
size_t len;
sys/kern/sys_generic.c
685
error = copyin(uspc_data, data, (size_t)size);
sys/kern/sys_generic.c
696
bzero(data, (size_t)size);
sys/kern/sys_generic.c
730
error = copyout(data, uspc_data, (size_t)size);
sys/kern/sys_mqueue.c
125
mqueue_freemsg(struct mq_msg *msg, const size_t size)
sys/kern/sys_mqueue.c
137
size_t msz;
sys/kern/sys_mqueue.c
624
mq_receive1(struct lwp *l, mqd_t mqdes, void *msg_ptr, size_t msg_len,
sys/kern/sys_mqueue.c
783
mq_send1(struct lwp *l, mqd_t mqdes, const char *msg_ptr, size_t msg_len,
sys/kern/sys_mqueue.c
792
size_t size;
sys/kern/sys_pipe.c
152
size_t mbytes = kmem_lim_size();
sys/kern/sys_pipe.c
360
pipespace(struct pipe *pipe, struct pipebuf *pb, size_t size)
sys/kern/sys_pipe.c
367
size = (size + PAGE_MASK) & ~(size_t)PAGE_MASK;
sys/kern/sys_pipe.c
459
size_t nread = 0;
sys/kern/sys_pipe.c
460
size_t size; /* total bytes available */
sys/kern/sys_pipe.c
461
size_t nsize; /* total bytes to read */
sys/kern/sys_pipe.c
462
size_t rindex; /* contiguous bytes available */
sys/kern/sys_pipe.c
706
size_t windex;
sys/kern/sys_pipe.c
707
size_t space;
sys/kern/sys_pipe.c
708
size_t wcount;
sys/kern/sys_pipe.c
709
size_t orig_resid;
sys/kern/sys_pipe.c
809
size_t segsize;
sys/kern/sysv_msg.c
1033
size_t tlen;
sys/kern/sysv_msg.c
462
size_t msgsz = uap->msgsz;
sys/kern/sysv_msg.c
714
size_t tlen;
sys/kern/sysv_msg.c
794
size_t msgsz = uap->msgsz;
sys/kern/sysv_msg.c
797
size_t len;
sys/kern/sysv_shm.c
184
size_t size;
sys/kern/sysv_shm.c
201
size_t size;
sys/kern/sysv_shm.c
500
size_t size;
sys/kern/sysv_shm.c
650
size_t size;
sys/kern/sysv_shm.c
714
shminfo.shmall = (size_t)vmstats.v_page_count * 2 / 3;
sys/kern/tty.c
1873
error = uiomove(ibuf, (size_t)icc, uio);
sys/kern/tty.c
1995
size_t cnt;
sys/kern/tty.c
2065
error = uiomove(cp, (size_t)cc, uio);
sys/kern/tty_pty.c
1014
error = uiomove(cp, (size_t)cc, ap->a_uio);
sys/kern/tty_pty.c
770
error = uiomove(buf, (size_t)cc, ap->a_uio);
sys/kern/tty_pty.c
971
error = uiomove(cp, (size_t)cc, ap->a_uio);
sys/kern/uipc_mbuf.c
1146
m_getjcl(int how, short type, int flags, size_t size)
sys/kern/uipc_mbuf.c
861
mclmeta_malloc_args.objsize * (size_t)cl_limit);
sys/kern/uipc_mbuf.c
863
(MCLBYTES * (size_t)ncl_limit) +
sys/kern/uipc_mbuf.c
864
(MJUMPAGESIZE * (size_t)jcl_limit));
sys/kern/uipc_mbuf.c
868
mbuf_malloc_args.objsize * (size_t)mb_limit);
sys/kern/uipc_mbuf.c
929
mclmeta_malloc_args.objsize * (size_t)cl_limit);
sys/kern/uipc_mbuf.c
931
(MCLBYTES * (size_t)ncl_limit) +
sys/kern/uipc_mbuf.c
932
(MJUMPAGESIZE * (size_t)jcl_limit));
sys/kern/uipc_mbuf.c
935
mbuf_malloc_args.objsize * (size_t)mb_limit);
sys/kern/uipc_sockbuf.c
585
sbcreatecontrol(const void *p, size_t size, int type, int level)
sys/kern/uipc_socket.c
1072
size_t resid;
sys/kern/uipc_socket.c
1084
resid = (size_t)top->m_pkthdr.len;
sys/kern/uipc_socket.c
1141
if ((space < 0 || (size_t)space < resid) && !allatonce &&
sys/kern/uipc_socket.c
1176
error = uiomove(mtod(m, caddr_t), (size_t)len, uio);
sys/kern/uipc_socket.c
1271
size_t resid, orig_resid;
sys/kern/uipc_socket.c
1277
resid = (size_t)(sio->sb_climit - sio->sb_cc);
sys/kern/uipc_socket.c
1296
KKASSERT(resid >= (size_t)m->m_len);
sys/kern/uipc_socket.c
1297
resid -= (size_t)m->m_len;
sys/kern/uipc_socket.c
1342
(size_t)so->so_rcv.ssb_cc < resid) &&
sys/kern/uipc_socket.c
1345
resid <= (size_t)so->so_rcv.ssb_hiwat)) &&
sys/kern/uipc_socket.c
1495
resid -= (size_t)len;
sys/kern/uipc_socket.c
1627
size_t resid, orig_resid, restmp;
sys/kern/uipc_socket.c
1632
resid = (size_t)(sio->sb_climit - sio->sb_cc);
sys/kern/uipc_socket.c
1651
KKASSERT(resid >= (size_t)m->m_len);
sys/kern/uipc_socket.c
1652
resid -= (size_t)m->m_len;
sys/kern/uipc_socket.c
1698
(size_t)so->so_rcv.ssb_cc < resid) &&
sys/kern/uipc_socket.c
1700
((flags & MSG_WAITALL) && resid <= (size_t)so->so_rcv.ssb_hiwat)))) {
sys/kern/uipc_socket.c
1801
resid -= (size_t)len;
sys/kern/uipc_socket.c
2078
sooptcopyin(struct sockopt *sopt, void *buf, size_t len, size_t minlen)
sys/kern/uipc_socket.c
2084
soopt_to_kbuf(struct sockopt *sopt, void *buf, size_t len, size_t minlen)
sys/kern/uipc_socket.c
2086
size_t valsize;
sys/kern/uipc_socket.c
2277
sooptcopyout(struct sockopt *sopt, const void *buf, size_t len)
sys/kern/uipc_socket.c
2284
soopt_from_kbuf(struct sockopt *sopt, const void *buf, size_t len)
sys/kern/uipc_socket.c
2286
size_t valsize;
sys/kern/uipc_socket.c
2478
size_t valsize;
sys/kern/uipc_socket.c
2508
size_t valsize = 0;
sys/kern/uipc_socket.c
2509
size_t maxsize;
sys/kern/uipc_socket.c
768
size_t resid;
sys/kern/uipc_socket.c
777
resid = (size_t)top->m_pkthdr.len;
sys/kern/uipc_socket.c
843
if ((space < 0 || (size_t)space < resid + clen) && uio &&
sys/kern/uipc_socket.c
882
error = uiomove(mtod(m, caddr_t), (size_t)len, uio);
sys/kern/uipc_socket.c
963
size_t resid;
sys/kern/uipc_socket.c
971
resid = uio ? uio->uio_resid : (size_t)top->m_pkthdr.len;
sys/kern/uipc_socket.c
990
if (uio && (space < 0 || (size_t)space < resid)) {
sys/kern/uipc_syscalls.c
1513
getsockaddr(struct sockaddr **namp, caddr_t uaddr, size_t len)
sys/kern/uipc_syscalls.c
1591
size_t hbytes = 0;
sys/kern/uipc_syscalls.c
1592
size_t tbytes;
sys/kern/uipc_syscalls.c
1685
kern_sendfile(struct vnode *vp, int sfd, off_t offset, size_t nbytes,
sys/kern/uipc_syscalls.c
785
struct mbuf *control, int flags, size_t *res)
sys/kern/uipc_syscalls.c
791
size_t len;
sys/kern/uipc_syscalls.c
968
struct mbuf **control, int *flags, size_t *res)
sys/kern/uipc_syscalls.c
972
size_t len;
sys/kern/vfs_bio.c
4567
nestiobuf_add(struct bio *mbio, struct buf *bp, int offset, size_t size, struct devstat *stats)
sys/kern/vfs_cache.c
5061
kern_getcwd(char *buf, size_t buflen, int *error)
sys/kern/vfs_cluster.c
150
size_t hv;
sys/kern/vfs_cluster.c
154
hv = (size_t)(intptr_t)vp ^ (size_t)(intptr_t)vp / sizeof(*vp);
sys/kern/vfs_cluster.c
225
int bflags, size_t minreq, size_t maxreq,
sys/kern/vfs_cluster.c
570
int bflags, size_t minreq, size_t maxreq,
sys/kern/vfs_conf.c
235
size_t l;
sys/kern/vfs_conf.c
705
size_t len;
sys/kern/vfs_default.c
1343
size_t iosize;
sys/kern/vfs_journal.c
171
size_t avail;
sys/kern/vfs_journal.c
172
size_t bytes;
sys/kern/vfs_journal.c
173
size_t res;
sys/kern/vfs_journal.c
309
size_t count;
sys/kern/vfs_journal.c
310
size_t bytes;
sys/kern/vfs_nlookup.c
119
size_t pathlen;
sys/kern/vfs_nlookup.c
259
size_t pathlen;
sys/kern/vfs_nlookup.c
303
size_t pathlen;
sys/kern/vfs_subr.c
160
size_t freemem;
sys/kern/vfs_subr.c
1954
size_t
sys/kern/vfs_subr.c
1956
char *buf, size_t len, int *errorp)
sys/kern/vfs_subr.c
2564
size_t len;
sys/kern/vfs_syscalls.c
5172
size_t size;
sys/libiconv/iconv.c
277
size_t *inbytesleft, char **outbuf, size_t *outbytesleft)
sys/libiconv/iconv.c
284
size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype)
sys/libiconv/iconv.c
291
size_t *inbytesleft, char **outbuf, size_t *outbytesleft)
sys/libiconv/iconv.c
298
size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype)
sys/libiconv/iconv.c
507
size_t inlen, outlen;
sys/libiconv/iconv.c
530
size_t inlen, outlen;
sys/libiconv/iconv_ucs.c
167
size_t *inbytesleft, char **outbuf, size_t *outbytesleft,
sys/libiconv/iconv_ucs.c
172
size_t in, on, ir, or, inlen, outlen, ucslen;
sys/libiconv/iconv_ucs.c
411
utf8_to_ucs4(const char *src, size_t *utf8width, size_t srclen)
sys/libiconv/iconv_ucs.c
413
size_t i, w = 0;
sys/libiconv/iconv_ucs.c
481
ucs4_to_utf8(uint32_t ucs4, char *dst, size_t *utf8width, size_t dstlen)
sys/libiconv/iconv_ucs.c
484
size_t i, w;
sys/libiconv/iconv_ucs.c
65
static uint32_t utf8_to_ucs4(const char *src, size_t *utf8width, size_t srclen);
sys/libiconv/iconv_ucs.c
66
static u_char *ucs4_to_utf8(uint32_t ucs4, char * dst, size_t *utf8width, size_t dstlen);
sys/libiconv/iconv_xlat.c
80
size_t *inbytesleft, char **outbuf, size_t *outbytesleft,
sys/libiconv/iconv_xlat16.c
111
size_t *inbytesleft, char **outbuf, size_t *outbytesleft,
sys/libiconv/iconv_xlat16.c
118
size_t in, on, ir, or, inlen;
sys/libkern/arc4random.c
142
karc4random_buf(void *ptr, size_t len)
sys/libkern/bcmp.c
45
bcmp(const void *b1, const void *b2, size_t length)
sys/libkern/bsearch.c
54
kbsearch(const void *key, const void *base0, size_t nmemb, size_t size,
sys/libkern/bsearch.c
58
size_t lim;
sys/libkern/crc32.c
115
crc32(const void *buf, size_t size)
sys/libkern/crc32.c
130
crc32_ext(const void *buf, size_t size, uint32_t ocrc)
sys/libkern/crc32.c
61
uint32_t crc32(const void *buf, size_t size);
sys/libkern/crc32.c
62
uint32_t crc32_ext(const void *buf, size_t size, uint32_t ocrc);
sys/libkern/explicit_bzero.c
12
__explicit_bzero_hook(void *buf, size_t len)
sys/libkern/explicit_bzero.c
17
explicit_bzero(void *buf, size_t len)
sys/libkern/explicit_bzero.c
9
__attribute__((weak)) void __explicit_bzero_hook(void *, size_t);
sys/libkern/icrc32.c
13
uint32_t iscsi_crc32(const void *buf, size_t size);
sys/libkern/icrc32.c
14
uint32_t iscsi_crc32_ext(const void *buf, size_t size, uint32_t ocrc);
sys/libkern/icrc32.c
212
singletable_crc32c(uint32_t crc, const void *buf, size_t size)
sys/libkern/icrc32.c
777
iscsi_crc32(const void *buf, size_t size)
sys/libkern/icrc32.c
783
iscsi_crc32_ext(const void *buf, size_t size, uint32_t ocrc)
sys/libkern/memcchr.c
60
memcchr(const void *begin, int c, size_t n)
sys/libkern/qsort.c
101
kqsort_r(void *a, size_t n, size_t es, void *thunk, cmp_t *cmp)
sys/libkern/qsort.c
105
kqsort(void *a, size_t n, size_t es, cmp_t *cmp)
sys/libkern/strcasecmp.c
50
strncasecmp(const char *s1, const char *s2, size_t n)
sys/libkern/strlcat.c
42
size_t
sys/libkern/strlcat.c
43
strlcat(char *dst, const char *src, size_t siz)
sys/libkern/strlcat.c
47
size_t n = siz;
sys/libkern/strlcat.c
48
size_t dlen;
sys/libkern/strlcpy.c
40
size_t
sys/libkern/strlcpy.c
41
strlcpy(char *dst, const char *src, size_t siz)
sys/libkern/strlcpy.c
45
size_t n = siz;
sys/libkern/strlen.c
35
size_t
sys/libkern/strncat.c
44
strncat(char * __restrict dst, const char * __restrict src, size_t n)
sys/libkern/strncmp.c
36
strncmp(const char *s1, const char *s2, size_t n)
sys/libkern/strncpy.c
43
strncpy(char * __restrict dst, const char * __restrict src, size_t n)
sys/libkern/strnlen.c
31
size_t
sys/libkern/strnlen.c
32
strnlen(const char *s, size_t maxlen)
sys/libkern/strnlen.c
34
size_t len;
sys/libkern/strstr.c
38
size_t len;
sys/libkern/timingsafe_bcmp.c
21
timingsafe_bcmp(const void *b1, const void *b2, size_t n)
sys/libprop/plistref.h
45
size_t pref_len; /* total length of plist data */
sys/libprop/prop_data.c
107
size_t i, srclen;
sys/libprop/prop_data.c
224
prop_data_create_data(const void *v, size_t size)
sys/libprop/prop_data.c
249
prop_data_create_data_nocopy(const void *v, size_t size)
sys/libprop/prop_data.c
298
size_t
sys/libprop/prop_data.c
373
prop_data_equals_data(prop_data_t pd, const void *v, size_t size)
sys/libprop/prop_data.c
386
uint8_t *target, size_t targsize, size_t *sizep,
sys/libprop/prop_data.c
390
size_t tarindex;
sys/libprop/prop_data.c
539
typedef int PROP_DATA_ASSERT[/* CONSTCOND */sizeof(size_t) == sizeof(unsigned long) ? 1 : -1];
sys/libprop/prop_data.c
548
size_t len, alen;
sys/libprop/prop_data.c
55
size_t pd_size;
sys/libprop/prop_data.h
40
prop_data_t prop_data_create_data(const void *, size_t);
sys/libprop/prop_data.h
41
prop_data_t prop_data_create_data_nocopy(const void *, size_t);
sys/libprop/prop_data.h
45
size_t prop_data_size(prop_data_t);
sys/libprop/prop_data.h
51
bool prop_data_equals_data(prop_data_t, const void *, size_t);
sys/libprop/prop_dictionary.c
1315
size_t keylen;
sys/libprop/prop_dictionary.c
286
size_t size;
sys/libprop/prop_dictionary.c
63
size_t pdk_size;
sys/libprop/prop_kern.c
490
size_t len, rlen;
sys/libprop/prop_object.c
366
size_t taglen;
sys/libprop/prop_object.c
505
char *target, size_t targsize, size_t *sizep,
sys/libprop/prop_object.c
509
size_t tarindex;
sys/libprop/prop_object.c
54
_prop_standalone_calloc(size_t size)
sys/libprop/prop_object.c
579
_prop_object_internalize_match(const char *str1, size_t len1,
sys/libprop/prop_object.c
580
const char *str2, size_t len2)
sys/libprop/prop_object.c
591
size_t poi_taglen;
sys/libprop/prop_object.c
66
_prop_standalone_realloc(void *v, size_t size)
sys/libprop/prop_object.c
801
size_t len;
sys/libprop/prop_object.c
846
size_t len)
sys/libprop/prop_object.c
907
size_t pgsize = (size_t)sysconf(_SC_PAGESIZE);
sys/libprop/prop_object.c
908
size_t pgmask = pgsize - 1;
sys/libprop/prop_object.c
927
mf->poimf_mapsize = ((size_t)sb.st_size + pgmask) & ~pgmask;
sys/libprop/prop_object.c
928
if (mf->poimf_mapsize < (size_t)sb.st_size) {
sys/libprop/prop_object_impl.h
134
bool _prop_object_internalize_match(const char *, size_t,
sys/libprop/prop_object_impl.h
135
const char *, size_t);
sys/libprop/prop_object_impl.h
140
char *, size_t, size_t *, const char **);
sys/libprop/prop_object_impl.h
150
const char *, size_t);
sys/libprop/prop_object_impl.h
154
size_t poimf_mapsize;
sys/libprop/prop_object_impl.h
270
size_t size;
sys/libprop/prop_object_impl.h
313
void * _prop_standalone_calloc(size_t);
sys/libprop/prop_object_impl.h
314
void * _prop_standalone_realloc(void *, size_t);
sys/libprop/prop_object_impl.h
326
#define _PROP_POOL_INIT(p, s, d) static const size_t p = s;
sys/libprop/prop_object_impl.h
367
#define _PROP_POOL_INIT(p, s, d) static const size_t p = s;
sys/libprop/prop_object_impl.h
43
size_t poec_capacity; /* capacity of buffer */
sys/libprop/prop_object_impl.h
44
size_t poec_len; /* current length of string */
sys/libprop/prop_object_impl.h
89
size_t poic_tagname_len;
sys/libprop/prop_object_impl.h
91
size_t poic_tagattr_len;
sys/libprop/prop_object_impl.h
93
size_t poic_tagattrval_len;
sys/libprop/prop_rb.c
1249
size_t *depths, size_t depth)
sys/libprop/prop_rb.c
1269
rb_tree_depths(const struct rb_tree *rbt, size_t *depths)
sys/libprop/prop_rb_impl.h
145
size_t rbto_node_offset;
sys/libprop/prop_stack.h
54
size_t used_intern_elems;
sys/libprop/prop_string.c
166
size_t len;
sys/libprop/prop_string.c
265
size_t
sys/libprop/prop_string.c
333
size_t len;
sys/libprop/prop_string.c
366
size_t len;
sys/libprop/prop_string.c
430
size_t len, alen;
sys/libprop/prop_string.c
47
size_t ps_size; /* not including \0 */
sys/libprop/prop_string.h
47
size_t prop_string_size(prop_string_t);
sys/net/bpf.c
117
static void bpf_mcopy(volatile const void *, volatile void *, size_t);
sys/net/bpf.c
125
volatile void *, size_t),
sys/net/bpf.c
1274
bpf_mcopy(volatile const void *src_arg, volatile void *dst_arg, size_t len)
sys/net/bpf.c
1405
void (*cpfn)(volatile const void *, volatile void *, size_t),
sys/net/bpf_filter.c
140
size_t len;
sys/net/bpf_filter.c
87
size_t len;
sys/net/dummynet/ip_dummynet.c
1803
size_t *size = sz;
sys/net/dummynet/ip_dummynet.c
1812
size_t *size = sz;
sys/net/dummynet/ip_dummynet.c
1867
size_t size = 0;
sys/net/dummynet/ip_dummynet.h
342
size_t dn_sopt_arglen;
sys/net/dummynet3/ip_dummynet3.c
1782
size_t *size = sz;
sys/net/dummynet3/ip_dummynet3.c
1791
size_t *size = sz;
sys/net/dummynet3/ip_dummynet3.c
1846
size_t size = 0;
sys/net/dummynet3/ip_dummynet3.h
357
size_t dn_sopt_arglen;
sys/net/if.c
1988
size_t namelen, onamelen;
sys/net/if.c
2082
size_t descrlen;
sys/net/if.c
3077
size_t size;
sys/net/if.h
228
size_t length;
sys/net/if.h
299
size_t ifd_len;
sys/net/if_ethersubr.c
820
ether_crc32_le(const uint8_t *buf, size_t len)
sys/net/if_ethersubr.c
823
size_t i, j;
sys/net/if_ethersubr.c
842
ether_crc32_le(const uint8_t *buf, size_t len)
sys/net/if_ethersubr.c
851
size_t i;
sys/net/if_ethersubr.c
866
ether_crc32_be(const uint8_t *buf, size_t len)
sys/net/if_ethersubr.c
869
size_t i, j;
sys/net/if_var.h
341
size_t if_linkmiblen; /* length of above data */
sys/net/if_var.h
934
uint32_t ether_crc32_le(const uint8_t *, size_t);
sys/net/if_var.h
935
uint32_t ether_crc32_be(const uint8_t *, size_t);
sys/net/ipfw/ip_fw2.c
2192
size_t sz;
sys/net/ipfw/ip_fw2.c
5557
size_t size;
sys/net/ipfw/ip_fw2.c
5788
size_t size;
sys/net/ipfw/ip_fw2.c
5823
size_t old_size = size;
sys/net/ipfw/ip_fw2.c
6561
size_t size;
sys/net/ipfw3/ip_fw3.c
954
size_t size;
sys/net/ipfw3_basic/ip_fw3_state.c
427
size_t sopt_size, total_len = 0;
sys/net/ipfw3_basic/ip_fw3_sync.c
164
size_t size;
sys/net/ipfw3_nat/ip_fw3_nat.c
477
size_t valsize;
sys/net/ipfw3_nat/ip_fw3_nat.c
518
size_t sopt_size, total_len = 0;
sys/net/lagg/ieee8023ad_lacp.c
105
static int tlv_check(const void *, size_t, const struct tlvhdr *,
sys/net/lagg/ieee8023ad_lacp.c
180
size_t);
sys/net/lagg/ieee8023ad_lacp.c
182
const struct lacp_peerinfo *, char *, size_t);
sys/net/lagg/ieee8023ad_lacp.c
184
char *, size_t);
sys/net/lagg/ieee8023ad_lacp.c
185
static const char *lacp_format_state(uint8_t, char *, size_t);
sys/net/lagg/ieee8023ad_lacp.c
186
static const char *lacp_format_mac(const uint8_t *, char *, size_t);
sys/net/lagg/ieee8023ad_lacp.c
188
size_t);
sys/net/lagg/ieee8023ad_lacp.c
190
size_t);
sys/net/lagg/ieee8023ad_lacp.c
1973
tlv_check(const void *p, size_t size, const struct tlvhdr *tlv,
sys/net/lagg/ieee8023ad_lacp.c
1997
lacp_format_mac(const uint8_t *mac, char *buf, size_t buflen)
sys/net/lagg/ieee8023ad_lacp.c
2012
char *buf, size_t buflen)
sys/net/lagg/ieee8023ad_lacp.c
2024
lacp_format_portid(const struct lacp_portid *portid, char *buf, size_t buflen)
sys/net/lagg/ieee8023ad_lacp.c
2034
lacp_format_partner(const struct lacp_peerinfo *peer, char *buf, size_t buflen)
sys/net/lagg/ieee8023ad_lacp.c
2049
const struct lacp_peerinfo *b, char *buf, size_t buflen)
sys/net/lagg/ieee8023ad_lacp.c
2078
char *buf, size_t buflen)
sys/net/lagg/ieee8023ad_lacp.c
2088
lacp_format_state(uint8_t state, char *buf, size_t buflen)
sys/net/lagg/if_lagg.h
122
size_t ra_size; /* size of buffer */
sys/net/netmap/netmap.c
418
na->tx_rings = kmalloc((size_t)len, M_DEVBUF, M_NOWAIT | M_ZERO);
sys/net/netmap/netmap_mem2.c
1058
strncpy(nifp->ni_name, ifname, (size_t)IFNAMSIZ);
sys/net/netmap/netmap_mem2.c
435
size_t sz = p->_clustsize;
sys/net/netmap/netmap_mem2.c
559
size_t n;
sys/net/netmap/netmap_mem2.c
592
(size_t)0, -1UL, PAGE_SIZE, 0);
sys/net/netmap/netmap_vale.c
1330
size_t len = (ft_p->ft_len + 63) & ~63;
sys/net/netmap/netmap_vale.c
868
strncpy(name, iter->if_xname, (size_t)IFNAMSIZ);
sys/net/pf/if_pfsync.h
231
int pfsync_sysctl(int *, u_int, void *, size_t *,
sys/net/pf/if_pfsync.h
232
void *, size_t);
sys/net/pf/pf_table.c
1742
size_t siz = MAXPATHLEN;
sys/net/route.h
349
void rt_ieee80211msg(struct ifnet *, int, void *, size_t);
sys/net/rtsock.c
1441
rt_ieee80211msg(struct ifnet *ifp, int what, void *data, size_t data_len)
sys/net/rtsock.c
148
size_t rocb_missfilterlen;
sys/net/rtsock.c
489
size_t len;
sys/net/rtsock.c
578
reallocbuf_nofree(void *ptr, size_t len, size_t olen)
sys/net/sppp/if_spppsubr.c
3957
(size_t)strnlen(sp->myauth.name, AUTHNAMELEN),
sys/net/sppp/if_spppsubr.c
4275
(size_t)AUTHKEYLEN, sp->myauth.challenge,
sys/net/sppp/if_spppsubr.c
4276
(size_t)strnlen(sp->myauth.name, AUTHNAMELEN),
sys/net/sppp/if_spppsubr.c
4598
(size_t)idlen, sp->myauth.name,
sys/net/sppp/if_spppsubr.c
4600
(size_t)pwdlen, sp->myauth.secret,
sys/net/sppp/if_spppsubr.c
4653
while ((mlen = (unsigned int)__va_arg(ap, size_t)) != 0) {
sys/net/tap/if_tap.c
896
error = uiomove(mtod(m0, caddr_t), (size_t)len, uio);
sys/net/tap/if_tap.c
926
size_t tlen, mlen;
sys/net/tap/if_tap.c
957
error = uiomove(mtod(m, caddr_t), (size_t)m->m_len, uio);
sys/net/tun/if_tun.c
829
error = uiomove(mtod(m0, caddr_t), (size_t)len, uio);
sys/net/tun/if_tun.c
851
size_t tlen;
sys/net/tun/if_tun.c
877
error = uiomove(mtod(m, caddr_t), (size_t)m->m_len, uio);
sys/net/wg/if_wg.c
1076
int name, void *val, size_t len)
sys/net/wg/if_wg.c
112
(size_t)(m)->m_pkthdr.len == sizeof(struct wg_pkt_initiation))
sys/net/wg/if_wg.c
115
(size_t)(m)->m_pkthdr.len == sizeof(struct wg_pkt_response))
sys/net/wg/if_wg.c
1170
size_t len)
sys/net/wg/if_wg.c
118
(size_t)(m)->m_pkthdr.len == sizeof(struct wg_pkt_cookie))
sys/net/wg/if_wg.c
121
(size_t)(m)->m_pkthdr.len >= WG_PKT_ENCRYPTED_LEN(0))
sys/net/wg/if_wg.c
1477
wg_peer_send_buf(struct wg_peer *peer, const void *buf, size_t len)
sys/net/wg/if_wg.c
2041
size_t rx_bytes;
sys/net/wg/if_wg.c
219
size_t q_len;
sys/net/wg/if_wg.c
2392
size_t size, peer_count, aip_count;
sys/net/wg/if_wg.c
2520
size_t i;
sys/net/wg/if_wg.c
2603
size_t i;
sys/net/wg/if_wg.c
261
size_t p_aips_num;
sys/net/wg/if_wg.c
280
size_t sc_peers_num;
sys/net/wg/if_wg.c
409
static size_t
sys/net/wg/if_wg.c
926
int, void *, size_t);
sys/net/wg/if_wg.h
103
size_t wgd_size; /* size of wgd_interface */
sys/net/wg/if_wg.h
68
size_t p_aips_count;
sys/net/wg/if_wg.h
91
size_t i_peers_count;
sys/net/wg/selftest/allowedips.c
605
size_t i, count;
sys/net/wg/wg_cookie.c
104
static void macs_mac1(struct cookie_macs *, const void *, size_t,
sys/net/wg/wg_cookie.c
106
static void macs_mac2(struct cookie_macs *, const void *, size_t,
sys/net/wg/wg_cookie.c
113
const uint8_t *, size_t);
sys/net/wg/wg_cookie.c
133
siphash13(const uint8_t key[SIPHASH_KEY_LENGTH], const void *src, size_t len)
sys/net/wg/wg_cookie.c
245
const void *buf, size_t len, bool check_cookie,
sys/net/wg/wg_cookie.c
348
const void *buf, size_t len)
sys/net/wg/wg_cookie.c
374
const uint8_t *label, size_t label_len)
sys/net/wg/wg_cookie.c
385
macs_mac1(struct cookie_macs *macs, const void *buf, size_t len,
sys/net/wg/wg_cookie.c
396
macs_mac2(struct cookie_macs *macs, const void *buf, size_t len,
sys/net/wg/wg_cookie.c
448
size_t i;
sys/net/wg/wg_cookie.c
503
size_t i;
sys/net/wg/wg_cookie.c
541
size_t len;
sys/net/wg/wg_cookie.c
99
size_t rl_table_num;
sys/net/wg/wg_cookie.h
58
size_t, bool, const struct sockaddr *);
sys/net/wg/wg_cookie.h
67
const void *, size_t);
sys/net/wg/wg_noise.c
1389
size_t outlen, size_t inlen, size_t keylen)
sys/net/wg/wg_noise.c
1431
size_t a_len, size_t b_len, size_t c_len, size_t x_len,
sys/net/wg/wg_noise.c
1510
size_t src_len)
sys/net/wg/wg_noise.c
1552
noise_msg_encrypt(uint8_t *dst, const uint8_t *src, size_t src_len,
sys/net/wg/wg_noise.c
1565
noise_msg_decrypt(uint8_t *dst, const uint8_t *src, size_t src_len,
sys/net/wg/wg_noise.c
159
size_t l_remote_num;
sys/net/wg/wg_noise.c
202
size_t, size_t, size_t);
sys/net/wg/wg_noise.c
204
size_t, size_t, size_t, size_t,
sys/net/wg/wg_noise.c
214
const uint8_t *, size_t);
sys/net/wg/wg_noise.c
223
static void noise_msg_encrypt(uint8_t *, const uint8_t *, size_t,
sys/net/wg/wg_noise.c
226
static bool noise_msg_decrypt(uint8_t *, const uint8_t *, size_t,
sys/net/wg/wg_noise.c
237
siphash24(const uint8_t key[SIPHASH_KEY_LENGTH], const void *src, size_t len)
sys/net/wg/wg_noise.c
298
size_t i;
sys/net/wg/wg_noise.c
359
size_t i;
sys/netbt/rfcomm.h
335
size_t rd_rxsize; /* receive buffer (bytes, avail) */
sys/netbt/rfcomm.h
424
int rfcomm_rcvd(struct rfcomm_dlc *, size_t);
sys/netbt/rfcomm_upper.c
416
rfcomm_rcvd(struct rfcomm_dlc *dlc, size_t space)
sys/netgraph/netgraph/ng_base.c
887
const size_t namelen = strlen(tp->name);
sys/netgraph7/netgraph/ng_base.c
1234
const size_t namelen = strlen(tp->name);
sys/netgraph7/pppoe/ng_pppoe.c
937
size_t len;
sys/netgraph7/pppoe/ng_pppoe.c
970
size_t len = 0;
sys/netgraph7/rfc1490/ng_rfc1490.c
229
size_t len;
sys/netinet/icmp6.h
674
void icmp6_reflect (struct mbuf *, size_t);
sys/netinet/in_pcb.h
275
size_t xi_len; /* length of this structure */
sys/netinet/in_pcb.h
308
size_t ipi_size; /* allocation size for pcbs */
sys/netinet/ip_carp.c
270
size_t nc_datalen;
sys/netinet/tcp_input.c
2964
size_t min_protoh = isipv6 ?
sys/netinet/tcp_input.c
2969
const size_t min_protoh = sizeof(struct tcpiphdr);
sys/netinet/tcp_input.c
3182
const size_t min_protoh = sizeof(struct tcpiphdr);
sys/netinet/tcp_var.h
585
size_t xt_len;
sys/netinet6/icmp6.c
1914
icmp6_reflect(struct mbuf *m, size_t off)
sys/netinet6/icmp6.c
1947
size_t l;
sys/netinet6/icmp6.c
1960
size_t l;
sys/netinet6/icmp6.c
2366
size_t maxlen;
sys/netinet6/icmp6.c
2565
size_t extra;
sys/netinet6/in6.h
719
size_t inet6_rthdr_space (int, int);
sys/netinet6/in6_ifattach.c
224
size_t addrlen;
sys/netinet6/ip6_input.c
1366
ip6_pullexthdr(struct mbuf *m, size_t off, int nxt)
sys/netinet6/ip6_input.c
1369
size_t elen;
sys/netinet6/ip6_input.c
141
static struct mbuf *ip6_pullexthdr (struct mbuf *, size_t, int);
sys/netinet6/ip6_var.h
362
int ip6_sysctl (int *, u_int, void *, size_t *, void *, size_t);
sys/netinet6/nd6.c
2211
size_t advance;
sys/netproto/802_11/ieee80211_dragonfly.h
214
void get_random_bytes(void *, size_t);
sys/netproto/802_11/ieee80211_input.h
253
struct mbuf *ieee80211_realign(struct ieee80211vap *, struct mbuf *, size_t);
sys/netproto/802_11/ieee80211_mesh.h
474
const size_t mpp_privlen; /* size required in the routing table
sys/netproto/802_11/ieee80211_proto.h
137
const uint8_t *ssid, size_t ssidlen);
sys/netproto/802_11/ieee80211_scan.h
234
size_t ies_len; /* length of all captured ies */
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
622
ieee80211_realign(struct ieee80211vap *vap, struct mbuf *m, size_t align)
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
727
get_random_bytes(void *p, size_t n)
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
733
size_t nb = n > sizeof(uint32_t) ? sizeof(uint32_t) : n;
sys/netproto/802_11/wlan/ieee80211_hwmp.c
606
uint8_t *ie, size_t len)
sys/netproto/802_11/wlan/ieee80211_hwmp.c
74
uint8_t *, size_t);
sys/netproto/802_11/wlan/ieee80211_ioctl.c
217
const size_t off = __offsetof(struct ieee80211req_sta_stats, is_stats);
sys/netproto/802_11/wlan/ieee80211_ioctl.c
239
size_t space;
sys/netproto/802_11/wlan/ieee80211_ioctl.c
242
static size_t
sys/netproto/802_11/wlan/ieee80211_ioctl.c
245
size_t len;
sys/netproto/802_11/wlan/ieee80211_ioctl.c
360
size_t space;
sys/netproto/802_11/wlan/ieee80211_ioctl.c
363
static size_t
sys/netproto/802_11/wlan/ieee80211_ioctl.c
364
sta_space(const struct ieee80211_node *ni, size_t *ielen)
sys/netproto/802_11/wlan/ieee80211_ioctl.c
375
size_t ielen;
sys/netproto/802_11/wlan/ieee80211_ioctl.c
391
size_t ielen, len;
sys/netproto/802_11/wlan/ieee80211_ioctl.c
473
struct ieee80211_node *ni, size_t off)
sys/netproto/802_11/wlan/ieee80211_ioctl.c
477
size_t space;
sys/netproto/802_11/wlan/ieee80211_ioctl.c
523
const size_t off = __offsetof(struct ieee80211req_sta_req, info);
sys/netproto/802_11/wlan/ieee80211_ioctl.c
687
size_t len = ireq->i_len;
sys/netproto/802_11/wlan/ieee80211_ioctl.c
698
size_t len = ireq->i_len;
sys/netproto/802_11/wlan/ieee80211_mesh.c
3493
size_t len, off;
sys/netproto/802_11/wlan/ieee80211_node.c
2352
size_t size;
sys/netproto/802_11/wlan/ieee80211_output.c
2204
const uint8_t *ssid, size_t ssidlen)
sys/netproto/802_11/wlan/ieee80211_radiotap.c
296
size_t align, width;
sys/netproto/802_11/wlan/ieee80211_regdomain.c
182
sort_channels(void *a, size_t n, size_t size)
sys/netproto/802_11/wlan_ccmp/ieee80211_crypto_ccmp.c
295
xor_block(uint8_t *b, const uint8_t *a, size_t len)
sys/netproto/802_11/wlan_ccmp/ieee80211_crypto_ccmp.c
318
u_int64_t pn, size_t dlen,
sys/netproto/802_11/wlan_ccmp/ieee80211_crypto_ccmp.c
575
size_t data_len;
sys/netproto/802_11/wlan_tkip/ieee80211_crypto_tkip.c
602
wep_encrypt(u8 *key, struct mbuf *m0, u_int off, size_t data_len,
sys/netproto/802_11/wlan_tkip/ieee80211_crypto_tkip.c
606
size_t buflen;
sys/netproto/802_11/wlan_tkip/ieee80211_crypto_tkip.c
663
wep_decrypt(u8 *key, struct mbuf *m, u_int off, size_t data_len)
sys/netproto/802_11/wlan_tkip/ieee80211_crypto_tkip.c
668
size_t buflen;
sys/netproto/802_11/wlan_tkip/ieee80211_crypto_tkip.c
816
struct mbuf *m, u_int off, size_t data_len,
sys/netproto/802_11/wlan_tkip/ieee80211_crypto_tkip.c
99
struct mbuf *m, u_int off, size_t data_len,
sys/netproto/802_11/wlan_wep/ieee80211_crypto_wep.c
337
size_t buflen, data_len;
sys/netproto/802_11/wlan_wep/ieee80211_crypto_wep.c
420
size_t buflen, data_len;
sys/netproto/smb/smb_subr.c
311
size_t *srclen, size_t *dstlen)
sys/netproto/smb/smb_subr.c
314
size_t inlen = *srclen, outlen = *dstlen;
sys/platform/pc64/include/efi.h
53
size_t *datasize, void *data);
sys/platform/pc64/include/efi.h
54
int efi_var_nextname(size_t *namesize, uint16_t *name, struct uuid *vendor);
sys/platform/pc64/include/efi.h
56
size_t datasize, void *data);
sys/platform/pc64/include/md_var.h
100
void fillw(int /*u_short*/ pat, void *base, size_t cnt);
sys/platform/pc64/include/pmap.h
291
int (*copyinstr)(const void *, void *, size_t, size_t *);
sys/platform/pc64/include/pmap.h
292
int (*copyin)(const void *, void *, size_t);
sys/platform/pc64/include/pmap.h
293
int (*copyout)(const void *, void *, size_t);
sys/platform/pc64/x86_64/db_interface.c
238
db_read_bytes(vm_offset_t addr, size_t size, char *data)
sys/platform/pc64/x86_64/db_interface.c
255
db_write_bytes(vm_offset_t addr, size_t size, char *data)
sys/platform/pc64/x86_64/dump_machdep.c
110
buf_write(struct dumperinfo *di, char *ptr, size_t sz)
sys/platform/pc64/x86_64/dump_machdep.c
112
size_t len;
sys/platform/pc64/x86_64/dump_machdep.c
159
size_t counter, sz, chunk;
sys/platform/pc64/x86_64/dump_machdep.c
266
size_t hdrsz;
sys/platform/pc64/x86_64/dump_machdep.c
73
static size_t fragsz;
sys/platform/pc64/x86_64/efirt.c
394
size_t efisz;
sys/platform/pc64/x86_64/efirt.c
564
size_t *datasize, void *data)
sys/platform/pc64/x86_64/efirt.c
579
efi_var_nextname(size_t *namesize, efi_char *name, struct uuid *vendor)
sys/platform/pc64/x86_64/efirt.c
595
size_t datasize, void *data)
sys/platform/pc64/x86_64/machdep.c
132
#define MAXBUFSTRUCTSIZE ((size_t)512 * 1024 * 1024)
sys/platform/pc64/x86_64/machdep.c
2037
size_t efisz;
sys/platform/pc64/x86_64/machdep.c
413
if ((size_t)nbuf * sizeof(struct buf) > MAXBUFSTRUCTSIZE) {
sys/platform/pc64/x86_64/minidump_machdep.c
102
blk_write(struct dumperinfo *di, char *ptr, vm_paddr_t pa, size_t sz)
sys/platform/pc64/x86_64/minidump_machdep.c
104
size_t len;
sys/platform/pc64/x86_64/minidump_machdep.c
67
static size_t fragsz;
sys/platform/pc64/x86_64/minidump_machdep.c
69
static size_t counter, progress;
sys/platform/pc64/x86_64/mp_flame.c
153
size_t ebytes;
sys/platform/pc64/x86_64/mp_machdep.c
1665
size_t ipiq_size;
sys/platform/pc64/x86_64/mp_machdep.c
404
size_t ipiq_size;
sys/platform/pc64/x86_64/pmap.c
1452
static void pmap_init_iso_range(vm_offset_t base, size_t bytes);
sys/platform/pc64/x86_64/pmap.c
1596
pmap_init_iso_range(vm_offset_t base, size_t bytes)
sys/platform/pc64/x86_64/pmap.c
337
extern int std_copyinstr (const void *udaddr, void *kaddr, size_t len,
sys/platform/pc64/x86_64/pmap.c
338
size_t *lencopied);
sys/platform/pc64/x86_64/pmap.c
339
extern int std_copyin (const void *udaddr, void *kaddr, size_t len);
sys/platform/pc64/x86_64/pmap.c
340
extern int std_copyout (const void *kaddr, void *udaddr, size_t len);
sys/platform/pc64/x86_64/pmap.c
5710
pmap_copy_page_frag(vm_paddr_t src, vm_paddr_t dst, size_t bytes)
sys/platform/pc64/x86_64/uwrapper.c
15
copyin(const void *udaddr, void *kaddr, size_t len)
sys/platform/pc64/x86_64/uwrapper.c
21
copyout(const void *kaddr, void *udaddr, size_t len)
sys/platform/pc64/x86_64/uwrapper.c
9
copyinstr(const void *udaddr, void *kaddr, size_t len, size_t *res)
sys/platform/pc64/x86_64/vm_machdep.c
1051
size_t len;
sys/platform/pc64/x86_64/vm_machdep.c
660
size_t len;
sys/platform/vkernel64/platform/busdma_machdep.c
461
size_t size;
sys/platform/vkernel64/platform/copyio.c
251
copystr(const void *kfaddr, void *kdaddr, size_t len, size_t *lencopied)
sys/platform/vkernel64/platform/copyio.c
253
size_t i;
sys/platform/vkernel64/platform/copyio.c
273
copyinstr(const void *udaddr, void *kaddr, size_t len, size_t *res)
sys/platform/vkernel64/platform/copyio.c
276
size_t n;
sys/platform/vkernel64/platform/copyio.c
311
copyin(const void *udaddr, void *kaddr, size_t len)
sys/platform/vkernel64/platform/copyio.c
318
size_t n;
sys/platform/vkernel64/platform/copyio.c
351
copyout(const void *kaddr, void *udaddr, size_t len)
sys/platform/vkernel64/platform/copyio.c
359
size_t n;
sys/platform/vkernel64/platform/init.c
1523
vkernel_module_memory_alloc(vm_offset_t *basep, size_t bytes)
sys/platform/vkernel64/platform/init.c
1526
size_t xtra;
sys/platform/vkernel64/platform/init.c
1541
vkernel_module_memory_free(vm_offset_t base, size_t bytes)
sys/platform/vkernel64/platform/init.c
185
size_t vsize;
sys/platform/vkernel64/platform/init.c
186
size_t msize;
sys/platform/vkernel64/platform/init.c
187
size_t kenv_size;
sys/platform/vkernel64/platform/init.c
188
size_t kenv_size2;
sys/platform/vkernel64/platform/init.c
868
size_t l = 0;
sys/platform/vkernel64/platform/pmap.c
2745
pmap_copy_page_frag(vm_paddr_t src, vm_paddr_t dst, size_t bytes)
sys/platform/vkernel64/platform/pmap_inval.c
82
pmap_inval_cpu(struct pmap *pmap, vm_offset_t va, size_t bytes)
sys/platform/vkernel64/platform/systimer.c
202
size_t len = sizeof(info);
sys/platform/vkernel64/x86_64/autoconf.c
149
if ((size_t)nbuf * sizeof(struct buf) > MAXBUFSTRUCTSIZE) {
sys/platform/vkernel64/x86_64/autoconf.c
82
#define MAXBUFSTRUCTSIZE ((size_t)512 * 1024 * 1024)
sys/platform/vkernel64/x86_64/db_interface.c
232
db_read_bytes(vm_offset_t addr, size_t size, char *data)
sys/platform/vkernel64/x86_64/db_interface.c
249
db_write_bytes(vm_offset_t addr, size_t size, char *data)
sys/platform/vkernel64/x86_64/mp.c
151
size_t ipiq_size;
sys/platform/vkernel64/x86_64/mp.c
394
size_t ipiq_size;
sys/sys/_iovec.h
45
size_t iov_len; /* Length. */
sys/sys/_ucontext.h
56
size_t ss_size; /* signal stack length */
sys/sys/_uio.h
69
size_t uio_resid;
sys/sys/agpio.h
112
size_t aper_size; /* size of aperture */
sys/sys/agpio.h
113
size_t pg_total; /* max pages (swap + system) */
sys/sys/agpio.h
114
size_t pg_system; /* max pages (system) */
sys/sys/agpio.h
115
size_t pg_used; /* current pages used */
sys/sys/agpio.h
128
size_t pg_count; /* number of pages */
sys/sys/agpio.h
134
size_t seg_count; /* number of segments */
sys/sys/agpio.h
141
size_t pg_count; /* number of pages */
sys/sys/aio.h
81
size_t aio_nbytes; /* Number of bytes for I/O */
sys/sys/bitstring.h
56
(bitstr_t *)calloc((size_t)bitstr_size(nbits), sizeof(bitstr_t))
sys/sys/buf.h
474
size_t, size_t, struct buf **);
sys/sys/buf.h
476
size_t, size_t, void (*func)(struct bio *), void *arg);
sys/sys/buf.h
495
void nestiobuf_add(struct bio *mbio, struct buf *bp, int off, size_t size, struct devstat *stats);
sys/sys/buf2.h
373
int blksize, size_t minreq, size_t maxreq, struct buf **bpp)
sys/sys/buf2.h
382
int blksize, size_t minreq, size_t maxreq, struct buf **bpp)
sys/sys/bus.h
342
int bus_child_pnpinfo_str(device_t child, char *buf, size_t buflen);
sys/sys/bus.h
343
int bus_child_location_str(device_t child, char *buf, size_t buflen);
sys/sys/camlib.h
165
int buff_decode(u_int8_t *buff, size_t len, const char *fmt, ...)
sys/sys/camlib.h
167
int buff_decode_visit(u_int8_t *buff, size_t len, const char *fmt,
sys/sys/camlib.h
180
int buff_encode_visit(u_int8_t *buff, size_t len, const char *fmt,
sys/sys/caps.h
364
int syscap_get(int cap, void *data, size_t bytes);
sys/sys/caps.h
365
int syscap_set(int cap, int flags, const void *data, size_t bytes);
sys/sys/caps.h
69
size_t res; /* resource type, EOF ends list */
sys/sys/caps.h
70
size_t len; /* total bytes including this header */
sys/sys/ccdvar.h
157
size_t ci_pathlen; /* length of component path */
sys/sys/cpuctl.h
53
size_t size;
sys/sys/csprng.h
50
const uint8_t *entropy, size_t bytes, int flags);
sys/sys/devfs.h
101
size_t nchildren; /* number of children of a parent */
sys/sys/devfs.h
106
size_t nlinks; /* hard links */
sys/sys/devfs.h
109
size_t symlink_namelen; /* symlink name length for readlink */
sys/sys/devfs.h
140
size_t mntonnamelen;
sys/sys/devfs.h
153
size_t namlen;
sys/sys/devfs.h
373
size_t devfs_tracer_orphan_count(struct mount *, int);
sys/sys/devfs.h
421
cdev_t devfs_clone(cdev_t, const char *, size_t, int, struct ucred *);
sys/sys/device.h
165
size_t a_length;
sys/sys/device.h
194
size_t a_namelen;
sys/sys/device.h
345
size_t length);
sys/sys/disklabel.h
92
(disklabel_t, char *, size_t);
sys/sys/dmsg.h
773
size_t hdr_size;
sys/sys/dmsg.h
774
size_t aux_size;
sys/sys/dmsg.h
783
size_t aux_size;
sys/sys/efiio.h
45
size_t namesize; /* Number of wide characters in name */
sys/sys/efiio.h
49
size_t datasize; /* Number of *bytes* in the data */
sys/sys/eui64.h
57
int eui64_ntoa(const struct eui64 *, char *, size_t);
sys/sys/eui64.h
58
int eui64_ntohost(char *, size_t, const struct eui64 *);
sys/sys/extattr.h
81
void *_data, size_t _nbytes);
sys/sys/extattr.h
83
const char *_attrname, void *_data, size_t _nbytes);
sys/sys/extattr.h
85
const char *_attrname, void *_data, size_t _nbytes);
sys/sys/extattr.h
87
size_t _nbytes);
sys/sys/extattr.h
89
size_t _nbytes);
sys/sys/extattr.h
91
size_t _nbytes);
sys/sys/extattr.h
93
const void *_data, size_t _nbytes);
sys/sys/extattr.h
95
const char *_attrname, const void *_data, size_t _nbytes);
sys/sys/extattr.h
97
const char *_attrname, const void *_data, size_t _nbytes);
sys/sys/fbio.h
220
size_t vi_window_size;
sys/sys/fbio.h
221
size_t vi_window_gran;
sys/sys/fbio.h
223
size_t vi_buffer_size;
sys/sys/fbio.h
273
size_t va_window_size;
sys/sys/fbio.h
274
size_t va_window_gran;
sys/sys/fbio.h
277
size_t va_buffer_size;
sys/sys/fbio.h
303
size_t va_window_size;
sys/sys/fbio.h
304
size_t va_window_gran;
sys/sys/fbio.h
306
size_t va_buffer_size;
sys/sys/file.h
145
int fp_pread(struct file *, void *, size_t, off_t, ssize_t *, enum uio_seg);
sys/sys/file.h
146
int fp_pwrite(struct file *, void *, size_t, off_t, ssize_t *, enum uio_seg);
sys/sys/file.h
147
int fp_read(struct file *, void *, size_t, ssize_t *, int, enum uio_seg);
sys/sys/file.h
148
int fp_write(struct file *, void *, size_t, ssize_t *, enum uio_seg);
sys/sys/file.h
150
int fp_mmap(void *, size_t, int, int, struct file *, off_t, void **);
sys/sys/firmware.h
54
size_t datasize; /* size of image in bytes */
sys/sys/firmware.h
59
const void *, size_t, unsigned int, const struct firmware *);
sys/sys/fnv_hash.h
24
fnv_32_buf(const void *buf, size_t len, Fnv32_t hval)
sys/sys/hash.h
108
hash32_strne(const void *buf, size_t len, int end, const char **ep,
sys/sys/hash.h
45
hash32_buf(const void *buf, size_t len, uint32_t hash)
sys/sys/hash.h
73
hash32_strn(const void *buf, size_t len, uint32_t hash)
sys/sys/iconv.h
161
size_t *inbytesleft, char **outbuf, size_t *outbytesleft);
sys/sys/iconv.h
163
size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype);
sys/sys/iconv.h
165
size_t *inbytesleft, char **outbuf, size_t *outbytesleft);
sys/sys/iconv.h
167
size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype);
sys/sys/iconv.h
182
int (*conv)(void *handle, const char **inbuf, size_t *inbytesleft,
sys/sys/iconv.h
183
char **outbuf, size_t *outbytesleft);
sys/sys/iconv.h
184
int (*conv_case)(void *handle, const char **inbuf, size_t *inbytesleft,
sys/sys/iconv.h
185
char **outbuf, size_t *outbytesleft, int casetype);
sys/sys/iconv.h
186
int (*convchr)(void *handle, const char **inbuf, size_t *inbytesleft,
sys/sys/iconv.h
187
char **outbuf, size_t *outbytesleft);
sys/sys/iconv.h
188
int (*convchr_case)(void *handle, const char **inbuf, size_t *inbytesleft,
sys/sys/iconv.h
189
char **outbuf, size_t *outbytesleft, int casetype);
sys/sys/iosched.h
27
size_t iorbytes;
sys/sys/iosched.h
28
size_t iowbytes;
sys/sys/kern_syscall.h
119
struct mbuf **control, int *flags, size_t *res);
sys/sys/kern_syscall.h
121
int kern_sendfile(struct vnode *vp, int s, off_t offset, size_t nbytes,
sys/sys/kern_syscall.h
124
struct mbuf *control, int flags, size_t *res);
sys/sys/kern_syscall.h
171
struct uuid *kern_uuidgen(struct uuid *store, size_t count);
sys/sys/kern_syscall.h
185
char *kern_getcwd(char *, size_t, int *);
sys/sys/kern_syscall.h
190
int kern_mmap(struct vmspace *, caddr_t addr, size_t len,
sys/sys/kern_syscall.h
98
int kern_preadv(int fd, struct uio *auio, int flags, size_t *res);
sys/sys/kern_syscall.h
99
int kern_pwritev(int fd, struct uio *auio, int flags, size_t *res);
sys/sys/kerneldump.h
112
size_t _length); /* Number of bytes to dump. */
sys/sys/kerneldump.h
125
int dump_write(struct dumperinfo *, void *, vm_offset_t, off_t, size_t);
sys/sys/kinfo.h
218
size_t kp_vm_map_size; /* vmmap virtual size in bytes */
sys/sys/kinfo.h
60
size_t f_size; /* size of struct kinfo_file */
sys/sys/kobj.h
65
size_t size; /* object size */ \
sys/sys/ktrace.h
222
int utrace(const void *, size_t);
sys/sys/libkern.h
100
void *kbsearch(const void *, const void *, size_t,
sys/sys/libkern.h
101
size_t, int (*)(const void *, const void *));
sys/sys/libkern.h
117
void kqsort(void *base, size_t nmemb, size_t size,
sys/sys/libkern.h
119
void kqsort_r(void *base, size_t nmemb, size_t size, void *thunk,
sys/sys/libkern.h
128
char *strncat(char * __restrict, const char * __restrict, size_t);
sys/sys/libkern.h
132
size_t strlcat(char *, const char *, size_t);
sys/sys/libkern.h
133
size_t strlcpy(char *, const char *, size_t);
sys/sys/libkern.h
134
size_t strlen(const char *);
sys/sys/libkern.h
135
int strncmp(const char *, const char *, size_t);
sys/sys/libkern.h
136
int strncasecmp(const char *, const char *, size_t);
sys/sys/libkern.h
137
char *strncpy(char * __restrict, const char * __restrict, size_t);
sys/sys/libkern.h
138
size_t strnlen(const char *, size_t);
sys/sys/libkern.h
142
void *memcchr(const void *, int, size_t);
sys/sys/libkern.h
159
memcmp(const void *b1, const void *b2, size_t len)
sys/sys/libkern.h
85
static __inline size_t szmax(size_t a, size_t b) { return (a > b ? a : b); }
sys/sys/libkern.h
86
static __inline size_t szmin(size_t a, size_t b) { return (a < b ? a : b); }
sys/sys/libkern.h
96
void karc4random_buf(void *, size_t);
sys/sys/libkern.h
98
int bcmp(const void *, const void *, size_t);
sys/sys/libkern.h
99
int timingsafe_bcmp(const void *, const void *, size_t);
sys/sys/link_elf.h
84
size_t dlpi_tls_modid;
sys/sys/link_elf.h
90
typedef int (*__dl_iterate_hdr_callback)(struct dl_phdr_info *, size_t, void *);
sys/sys/linker.h
117
size_t size; /* size of file */
sys/sys/linker.h
347
size_t size; /* size in bytes */
sys/sys/linker.h
354
size_t symsize;
sys/sys/linker.h
67
size_t size;
sys/sys/lwp.h
32
int lwp_getname(lwpid_t, char *, size_t);
sys/sys/malloc.h
152
size_t kmem_lim_size(void);
sys/sys/malloc.h
166
size_t bytes);
sys/sys/malloc.h
171
void kmalloc_raise_limit(struct malloc_type *type, size_t bytes);
sys/sys/malloc.h
184
size_t objsize);
sys/sys/malloc.h
209
char *kstrndup_debug(const char *, size_t maxlen, struct malloc_type *,
sys/sys/malloc.h
214
size_t _size = (size); \
sys/sys/malloc.h
235
size_t _size = __VM_CACHELINE_ALIGN(size); \
sys/sys/malloc.h
275
__kmalloc(size_t _size, struct malloc_type *_type, int _flags)
sys/sys/malloc.h
291
__kmalloc_obj(size_t _size, struct malloc_type *_type, int _flags)
sys/sys/malloc.h
319
char *kstrndup(const char *, size_t maxlen, struct malloc_type *)
sys/sys/malloc.h
345
size_t kmalloc_usable_size(const void *ptr);
sys/sys/mbuf.h
537
struct mbuf *m_getjcl(int how, short type, int flags, size_t size);
sys/sys/mchain.h
57
size_t *srclen, size_t *dstlen);
sys/sys/mman.h
194
int mlock(const void *, size_t);
sys/sys/mman.h
195
void * mmap(void *, size_t, int, int, int, off_t);
sys/sys/mman.h
196
int mprotect(void *, size_t, int);
sys/sys/mman.h
197
int msync(void *, size_t, int);
sys/sys/mman.h
198
int munlock(const void *, size_t);
sys/sys/mman.h
199
int munmap(void *, size_t);
sys/sys/mman.h
201
int posix_madvise(void *, size_t, int);
sys/sys/mman.h
204
int madvise(void *, size_t, int);
sys/sys/mman.h
205
int mcontrol(void *, size_t, int, off_t);
sys/sys/mman.h
206
int mincore(const void *, size_t, char *);
sys/sys/mman.h
207
int minherit(void *, size_t, int);
sys/sys/mqueue.h
113
size_t msg_len;
sys/sys/mqueue.h
121
int mq_send1(struct lwp *, mqd_t, const char *, size_t, unsigned, struct timespec *);
sys/sys/mqueue.h
122
int mq_receive1(struct lwp *, mqd_t, void *, size_t, unsigned *, struct timespec *,
sys/sys/msg.h
131
int msgsnd(int, const void *, size_t, int);
sys/sys/msg.h
132
int msgrcv(int, void *, size_t, long, int); /* XXX should return ssize_t */
sys/sys/msgbuf.h
62
void msgbufinit (void *ptr, size_t size);
sys/sys/objcache.h
72
*objcache_create_simple(malloc_type_t mtype, size_t objsize);
sys/sys/objcache.h
74
*objcache_create_mbacked(malloc_type_t mtype, size_t objsize,
sys/sys/objcache.h
93
size_t objsize;
sys/sys/pipe.h
56
size_t rindex; /* current read index (FIFO) */
sys/sys/pipe.h
63
size_t windex; /* current write index (FIFO) */
sys/sys/pipe.h
68
size_t size; /* size of buffer */
sys/sys/procfs.h
60
size_t pr_statussz; /* sizeof(prstatus_t) (1) */
sys/sys/procfs.h
61
size_t pr_gregsetsz; /* sizeof(gregset_t) (1) */
sys/sys/procfs.h
62
size_t pr_fpregsetsz; /* sizeof(fpregset_t) (1) */
sys/sys/procfs.h
78
size_t pr_psinfosz; /* sizeof(prpsinfo_t) (1) */
sys/sys/ptrace.h
65
size_t piod_len; /* request length */
sys/sys/random.h
119
ssize_t getrandom(void *buf, size_t buflen, unsigned int flags);
sys/sys/rman.h
140
uint32_t rman_make_alignment_flags(size_t size);
sys/sys/sbuf.h
72
int sbuf_bcat(struct sbuf *, const void *, size_t);
sys/sys/sbuf.h
73
int sbuf_bcpy(struct sbuf *, const void *, size_t);
sys/sys/sbuf.h
90
ssize_t sbuf_end_section(struct sbuf *, ssize_t, size_t, int);
sys/sys/sbuf.h
95
int sbuf_bcopyin(struct sbuf *, const void *, size_t);
sys/sys/sbuf.h
96
int sbuf_copyin(struct sbuf *, const void *, size_t);
sys/sys/sched.h
81
int sched_setaffinity(pid_t, size_t, const cpu_set_t *);
sys/sys/sched.h
82
int sched_getaffinity(pid_t, size_t, cpu_set_t *);
sys/sys/sglist.h
102
size_t sglist_length(struct sglist *sg);
sys/sys/sglist.h
104
size_t offset, size_t length, int mflags);
sys/sys/sglist.h
106
size_t length, int mflags);
sys/sys/sglist.h
50
size_t ss_len;
sys/sys/sglist.h
89
int sglist_append(struct sglist *sg, void *buf, size_t len);
sys/sys/sglist.h
92
size_t len);
sys/sys/sglist.h
94
int sglist_append_user(struct sglist *sg, void *buf, size_t len,
sys/sys/sglist.h
96
struct sglist *sglist_build(void *buf, size_t len, int mflags);
sys/sys/sglist.h
98
int sglist_consume_uio(struct sglist *sg, struct uio *uio, size_t resid);
sys/sys/sglist.h
99
int sglist_count(void *buf, size_t len);
sys/sys/shm.h
115
int shmget(key_t, size_t, int);
sys/sys/shm.h
76
size_t shm_segsz; /* size of segment in bytes */
sys/sys/sockbuf.h
138
sbcreatecontrol (const void *p, size_t size, int type, int level);
sys/sys/socket.h
512
ssize_t recv(int, void *, size_t, int);
sys/sys/socket.h
513
ssize_t recvfrom(int, void * __restrict, size_t, int,
sys/sys/socket.h
516
ssize_t send(int, const void *, size_t, int);
sys/sys/socket.h
519
size_t, int, const struct sockaddr *, socklen_t);
sys/sys/socket.h
533
int sendfile(int, int, off_t, size_t, struct sf_hdtr *, off_t *, int);
sys/sys/socketvar.h
208
size_t xso_len; /* length of this structure */
sys/sys/socketvar.h
360
size_t sopt_valsize; /* (almost) fifth arg of [gs]etsockopt */
sys/sys/socketvar.h
414
int getsockaddr (struct sockaddr **namp, caddr_t uaddr, size_t len);
sys/sys/socketvar.h
456
int sooptcopyin (struct sockopt *sopt, void *buf, size_t len,
sys/sys/socketvar.h
457
size_t minlen);
sys/sys/socketvar.h
458
int soopt_to_kbuf (struct sockopt *sopt, void *buf, size_t len,
sys/sys/socketvar.h
459
size_t minlen);
sys/sys/socketvar.h
460
int sooptcopyout (struct sockopt *sopt, const void *buf, size_t len);
sys/sys/socketvar.h
461
void soopt_from_kbuf (struct sockopt *sopt, const void *buf, size_t len);
sys/sys/sysctl.h
140
size_t oldlen;
sys/sys/sysctl.h
141
size_t oldidx;
sys/sys/sysctl.h
142
int (*oldfunc)(struct sysctl_req *, const void *, size_t);
sys/sys/sysctl.h
144
size_t newlen;
sys/sys/sysctl.h
145
size_t newidx;
sys/sys/sysctl.h
146
int (*newfunc)(struct sysctl_req *, void *, size_t);
sys/sys/sysctl.h
147
size_t validlen;
sys/sys/sysctl.h
700
size_t *oldlenp, void *new, size_t newlen,
sys/sys/sysctl.h
701
size_t *retval);
sys/sys/sysctl.h
703
void *old, size_t *oldlenp, void *new, size_t newlen,
sys/sys/sysctl.h
704
size_t *retval);
sys/sys/sysctl.h
706
size_t *oldlenp, int inkernel, void *new, size_t newlen,
sys/sys/sysctl.h
707
size_t *retval);
sys/sys/sysctl.h
734
int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
sys/sys/sysctl.h
735
int sysctlbyname(const char *, void *, size_t *, const void *, size_t);
sys/sys/sysctl.h
736
int sysctlnametomib (const char *, int *, size_t *);
sys/sys/sysmsg.h
63
size_t szresult; /* size_t result */
sys/sys/sysproto.h
1001
size_t bytes; char bytes_[PAD_(size_t)];
sys/sys/sysproto.h
1007
size_t bytes; char bytes_[PAD_(size_t)];
sys/sys/sysproto.h
1045
size_t infosize; char infosize_[PAD_(size_t)];
sys/sys/sysproto.h
1050
size_t infosize; char infosize_[PAD_(size_t)];
sys/sys/sysproto.h
1080
size_t count; char count_[PAD_(size_t)];
sys/sys/sysproto.h
1102
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
1123
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
1132
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
1137
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
1144
size_t nbyte; char nbyte_[PAD_(size_t)];
sys/sys/sysproto.h
1151
size_t nbyte; char nbyte_[PAD_(size_t)];
sys/sys/sysproto.h
1267
size_t msg_len; char msg_len_[PAD_(size_t)];
sys/sys/sysproto.h
1273
size_t msg_len; char msg_len_[PAD_(size_t)];
sys/sys/sysproto.h
1279
size_t msg_len; char msg_len_[PAD_(size_t)];
sys/sys/sysproto.h
1286
size_t msg_len; char msg_len_[PAD_(size_t)];
sys/sys/sysproto.h
1328
size_t bufsize; char bufsize_[PAD_(size_t)];
sys/sys/sysproto.h
135
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
1429
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
1433
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
1439
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
188
size_t size; char size_[PAD_(size_t)];
sys/sys/sysproto.h
203
size_t namelen; char namelen_[PAD_(size_t)];
sys/sys/sysproto.h
248
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
255
size_t incr; char incr_[PAD_(size_t)];
sys/sys/sysproto.h
258
size_t incr; char incr_[PAD_(size_t)];
sys/sys/sysproto.h
262
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
266
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
271
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
276
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
35
size_t nbyte; char nbyte_[PAD_(size_t)];
sys/sys/sysproto.h
40
size_t nbyte; char nbyte_[PAD_(size_t)];
sys/sys/sysproto.h
424
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
491
size_t nbyte; char nbyte_[PAD_(size_t)];
sys/sys/sysproto.h
498
size_t nbyte; char nbyte_[PAD_(size_t)];
sys/sys/sysproto.h
532
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
559
size_t * oldlenp; char oldlenp_[PAD_(size_t *)];
sys/sys/sysproto.h
561
size_t newlen; char newlen_[PAD_(size_t)];
sys/sys/sysproto.h
565
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
569
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
614
size_t msgsz; char msgsz_[PAD_(size_t)];
sys/sys/sysproto.h
620
size_t msgsz; char msgsz_[PAD_(size_t)];
sys/sys/sysproto.h
639
size_t size; char size_[PAD_(size_t)];
sys/sys/sysproto.h
666
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
831
size_t len; char len_[PAD_(size_t)];
sys/sys/sysproto.h
919
size_t nbytes; char nbytes_[PAD_(size_t)];
sys/sys/sysproto.h
926
size_t nbytes; char nbytes_[PAD_(size_t)];
sys/sys/sysproto.h
976
size_t nbytes; char nbytes_[PAD_(size_t)];
sys/sys/systm.h
168
void *hashinit_ext (int count, size_t size,
sys/sys/systm.h
170
void *phashinit_ext (int count, size_t size,
sys/sys/systm.h
193
uint32_t crc32(const void *buf, size_t size);
sys/sys/systm.h
194
uint32_t crc32_ext(const void *buf, size_t size, uint32_t ocrc);
sys/sys/systm.h
205
uint32_t iscsi_crc32(const void *buf, size_t size);
sys/sys/systm.h
206
uint32_t iscsi_crc32_ext(const void *buf, size_t size, uint32_t ocrc);
sys/sys/systm.h
222
int ksnprintf (char *, size_t, const char *, ...) __printflike(3, 4);
sys/sys/systm.h
226
int kvsnprintf (char *, size_t, const char *,
sys/sys/systm.h
228
int kvasnprintf (char **, size_t, const char *,
sys/sys/systm.h
279
void bcopy(volatile const void *from, volatile void *to, size_t len)
sys/sys/systm.h
281
void *memcpy(void *to, const void *from, size_t len)
sys/sys/systm.h
283
void *memmove(void *, const void *, size_t);
sys/sys/systm.h
284
void *memset(void *, int, size_t);
sys/sys/systm.h
285
void bzero(volatile void *buf, size_t len) __nonnull(1);
sys/sys/systm.h
287
void _bcopy(volatile const void *from, volatile void *to, size_t len)
sys/sys/systm.h
289
void *_memcpy(void *to, const void *from, size_t len)
sys/sys/systm.h
291
void *_memmove(void *, const void *, size_t);
sys/sys/systm.h
292
void *_memset(void *, int, size_t);
sys/sys/systm.h
293
void _bzero(volatile void *buf, size_t len) __nonnull(1);
sys/sys/systm.h
294
void bzeront(volatile void *buf, size_t len) __nonnull(1);
sys/sys/systm.h
295
void explicit_bzero(void *buf, size_t len) __nonnull(1);
sys/sys/systm.h
299
int copystr (const void *kfaddr, void *kdaddr, size_t len,
sys/sys/systm.h
300
size_t *lencopied) __nonnull(1, 2);
sys/sys/systm.h
301
int copyinstr (const void *udaddr, void *kaddr, size_t len,
sys/sys/systm.h
302
size_t *lencopied) __nonnull(1, 2);
sys/sys/systm.h
303
int copyin(const void *udaddr, void *kaddr, size_t len) __nonnull(1, 2);
sys/sys/systm.h
304
int copyin_nofault(const void *udaddr, void *kaddr, size_t len)
sys/sys/systm.h
306
int copyout(const void *kaddr, void *udaddr, size_t len) __nonnull(1, 2);
sys/sys/systm.h
307
int copyout_nofault(const void *kaddr, void *udaddr, size_t len)
sys/sys/tbridge.h
63
void *_alloc_safe_mem(size_t req_sz, const char *file, int line);
sys/sys/tls.h
44
int set_tls_area(int which, struct tls_info *info, size_t infosize);
sys/sys/tls.h
45
int get_tls_area(int which, struct tls_info *info, size_t infosize);
sys/sys/uio.h
70
int uiomove (caddr_t, size_t, struct uio *);
sys/sys/uio.h
71
int uiomove_nofault (caddr_t, size_t, struct uio *);
sys/sys/uio.h
72
int uiomovebp (struct buf *, caddr_t, size_t, struct uio *);
sys/sys/uio.h
73
int uiomovez (size_t, struct uio *);
sys/sys/uio.h
74
int uiomove_frombuf (void *buf, size_t buflen, struct uio *uio);
sys/sys/uio.h
76
size_t n, struct uio *uio);
sys/sys/uio.h
79
int, size_t *);
sys/sys/unpcb.h
112
size_t xu_len; /* length of this structure */
sys/sys/uuid.h
71
int snprintf_uuid(char *, size_t, struct uuid *);
sys/sys/vmspace.h
63
void *vmspace_mmap(void *, void *, size_t, int, int, int, off_t);
sys/sys/vmspace.h
64
int vmspace_munmap(void *, void *, size_t);
sys/sys/vmspace.h
65
int vmspace_mcontrol(void *, void *, size_t, int, off_t);
sys/sys/vmspace.h
66
ssize_t vmspace_pread(void *, void *, size_t, int, off_t);
sys/sys/vmspace.h
67
ssize_t vmspace_pwrite(void *, const void *, size_t, int, off_t);
sys/sys/vnode.h
521
size_t vfs_flagstostr(int flags, const struct mountctl_opt *optp, char *buf, size_t len, int *errorp);
sys/sys/xio.h
92
int xio_init_kbuf(xio_t xio, void *kbase, size_t kbytes);
sys/sys/xio.h
95
int xio_uio_copy(xio_t xio, int uoffset, struct uio *uio, size_t *sizep);
sys/vfs/autofs/autofs.c
175
size_t len;
sys/vfs/autofs/autofs_vnops.c
280
static __inline size_t
sys/vfs/autofs/autofs_vnops.c
306
size_t reclens;
sys/vfs/devfs/devfs_core.c
1009
size_t len;
sys/vfs/devfs/devfs_core.c
137
char *, size_t, int);
sys/vfs/devfs/devfs_core.c
1684
size_t len = strlen(alias->name);
sys/vfs/devfs/devfs_core.c
185
size_t namlen = strlen(name);
sys/vfs/devfs/devfs_core.c
1963
size_t name_len, int create)
sys/vfs/devfs/devfs_core.c
1994
size_t idx = 0;
sys/vfs/devfs/devfs_core.c
2032
size_t len = strlen(fullpath) + 1;
sys/vfs/devfs/devfs_core.c
2181
size_t len = strlen(target);
sys/vfs/devfs/devfs_core.c
2315
devfs_clone(cdev_t dev, const char *name, size_t len, int mode,
sys/vfs/devfs/devfs_core.c
2396
size_t
sys/vfs/devfs/devfs_core.c
2400
size_t count = 0;
sys/vfs/devfs/devfs_core.c
987
size_t len;
sys/vfs/devfs/devfs_rules.c
189
size_t mntpointlen;
sys/vfs/devfs/devfs_rules.c
239
size_t len = 0;
sys/vfs/devfs/devfs_rules.c
82
size_t len;
sys/vfs/devfs/devfs_vfsops.c
76
size_t size;
sys/vfs/devfs/devfs_vnops.c
1529
size_t namlen;
sys/vfs/devfs/devfs_vnops.c
729
size_t targetlen;
sys/vfs/dirfs/dirfs_subr.c
381
size_t len;
sys/vfs/dirfs/dirfs_vfsops.c
102
size_t done, nlen;
sys/vfs/dirfs/dirfs_vnops.c
105
dirfs_node_t dnp, size_t size, int error);
sys/vfs/dirfs/dirfs_vnops.c
109
dirfs_node_t dnp, off_t boff, size_t resid, size_t size, int error);
sys/vfs/dirfs/dirfs_vnops.c
114
dirfs_node_t dnp, size_t size, size_t iosize, int cmd, int berror,
sys/vfs/dirfs/dirfs_vnops.c
1228
size_t bufsiz;
sys/vfs/dirfs/dirfs_vnops.c
606
size_t offset;
sys/vfs/dirfs/dirfs_vnops.c
607
size_t len;
sys/vfs/dirfs/dirfs_vnops.c
629
offset = (size_t)uio->uio_offset & BMASK;
sys/vfs/dirfs/dirfs_vnops.c
651
len = (size_t)(dnp->dn_size - uio->uio_offset);
sys/vfs/dirfs/dirfs_vnops.c
680
size_t offset;
sys/vfs/dirfs/dirfs_vnops.c
681
size_t len;
sys/vfs/dirfs/dirfs_vnops.c
733
offset = (size_t)uio->uio_offset & BMASK;
sys/vfs/dirfs/dirfs_vnops.c
786
size_t iosize;
sys/vfs/ext2fs/ext2_balloc.c
289
MAXBSIZE, (size_t)seqcount, &nbp);
sys/vfs/ext2fs/ext2_csum.c
370
size_t size;
sys/vfs/ext2fs/ext2_csum.c
668
size_t offset;
sys/vfs/ext2fs/ext2_lookup.c
153
size_t readcnt, skipcnt;
sys/vfs/ext2fs/ext2_lookup.c
192
skipcnt = (size_t)(uio->uio_offset - bp->b_loffset) &
sys/vfs/ext2fs/ext2_lookup.c
193
~(size_t)(DIRBLKSIZ - 1);
sys/vfs/ext2fs/ext2_vfsops.c
140
size_t size;
sys/vfs/fuse/fuse.h
118
size_t size;
sys/vfs/fuse/fuse.h
131
size_t len;
sys/vfs/fuse/fuse.h
160
int fuse_node_truncate(struct fuse_node*, size_t, size_t);
sys/vfs/fuse/fuse.h
164
void fuse_buf_alloc(struct fuse_buf*, size_t);
sys/vfs/fuse/fuse.h
166
struct fuse_ipc *fuse_ipc_get(struct fuse_mount*, size_t);
sys/vfs/fuse/fuse.h
178
void fuse_hexdump(const char*, size_t);
sys/vfs/fuse/fuse.h
234
static __inline size_t
sys/vfs/fuse/fuse.h
246
static __inline size_t
sys/vfs/fuse/fuse.h
258
static __inline size_t
sys/vfs/fuse/fuse.h
270
static __inline size_t
sys/vfs/fuse/fuse_io.c
35
fuse_fix_size(struct fuse_node *fnp, bool fixsize, size_t oldsize)
sys/vfs/fuse/fuse_ipc.c
74
fuse_buf_alloc(struct fuse_buf *fbp, size_t len)
sys/vfs/fuse/fuse_ipc.c
92
fuse_ipc_get(struct fuse_mount *fmp, size_t len)
sys/vfs/fuse/fuse_node.c
222
fuse_node_truncate(struct fuse_node *fnp, size_t oldsize, size_t newsize)
sys/vfs/fuse/fuse_util.c
31
fuse_hexdump(const char *p, size_t len)
sys/vfs/fuse/fuse_util.c
89
size_t len = ohd->len - sizeof(struct fuse_out_header);
sys/vfs/fuse/fuse_vnops.c
1020
size_t len;
sys/vfs/fuse/fuse_vnops.c
1053
size_t freclen;
sys/vfs/fuse/fuse_vnops.c
1325
size_t offset;
sys/vfs/fuse/fuse_vnops.c
1326
size_t len;
sys/vfs/fuse/fuse_vnops.c
1327
size_t resid;
sys/vfs/fuse/fuse_vnops.c
1367
offset = (size_t)uio->uio_offset & FUSE_BLKMASK64;
sys/vfs/fuse/fuse_vnops.c
1409
len = (size_t)(fnp->size - uio->uio_offset);
sys/vfs/fuse/fuse_vnops.c
1441
size_t offset;
sys/vfs/fuse/fuse_vnops.c
1442
size_t len;
sys/vfs/fuse/fuse_vnops.c
1521
offset = (size_t)uio->uio_offset & FUSE_BLKMASK64;
sys/vfs/hammer/hammer.h
382
size_t redo_count;
sys/vfs/hammer/hammer_btree.c
1693
const size_t esize = sizeof(*elm);
sys/vfs/hammer/hammer_crc.h
46
uint32_t crc32(const void *buf, size_t size);
sys/vfs/hammer/hammer_crc.h
47
uint32_t crc32_ext(const void *buf, size_t size, uint32_t ocrc);
sys/vfs/hammer/hammer_crc.h
48
uint32_t iscsi_crc32(const void *buf, size_t size);
sys/vfs/hammer/hammer_crc.h
49
uint32_t iscsi_crc32_ext(const void *buf, size_t size, uint32_t ocrc);
sys/vfs/hammer/hammer_recover.c
902
(size_t)(end_off - beg_off) != sizeof(*tail)) {
sys/vfs/hammer/hammer_vfsops.c
764
size_t size;
sys/vfs/hammer/hammer_vnops.c
318
size_t resid;
sys/vfs/hammer/hammer_vnops.c
750
(size_t)n);
sys/vfs/hammer2/hammer2.h
1472
hammer2_key_t hammer2_dirhash(const char *aname, size_t len);
sys/vfs/hammer2/hammer2.h
1473
int hammer2_getradix(size_t bytes);
sys/vfs/hammer2/hammer2.h
1479
void hammer2_adjreadcounter(int btype, size_t bytes);
sys/vfs/hammer2/hammer2.h
1480
void hammer2_adjwritecounter(int btype, size_t bytes);
sys/vfs/hammer2/hammer2.h
1518
const char *name, size_t name_len,
sys/vfs/hammer2/hammer2.h
1527
size_t name_len, hammer2_key_t inum, uint8_t type);
sys/vfs/hammer2/hammer2.h
1582
int type, size_t bytes, hammer2_tid_t mtid,
sys/vfs/hammer2/hammer2.h
1600
size_t name_len);
sys/vfs/hammer2/hammer2.h
1746
const char *name, size_t name_len);
sys/vfs/hammer2/hammer2.h
1748
const char *name, size_t name_len);
sys/vfs/hammer2/hammer2.h
1749
size_t hammer2_xop_setname_inum(hammer2_xop_head_t *xop, hammer2_key_t inum);
sys/vfs/hammer2/hammer2.h
1901
int hammer2_freemap_alloc(hammer2_chain_t *chain, size_t bytes);
sys/vfs/hammer2/hammer2.h
908
size_t name1_len;
sys/vfs/hammer2/hammer2.h
910
size_t name2_len;
sys/vfs/hammer2/hammer2_admin.c
364
hammer2_xop_setname(hammer2_xop_head_t *xop, const char *name, size_t name_len)
sys/vfs/hammer2/hammer2_admin.c
372
hammer2_xop_setname2(hammer2_xop_head_t *xop, const char *name, size_t name_len)
sys/vfs/hammer2/hammer2_admin.c
379
size_t
sys/vfs/hammer2/hammer2_admin.c
382
const size_t name_len = 18;
sys/vfs/hammer2/hammer2_bulkfree.c
446
static void cbinfo_bmap_init(hammer2_bulkfree_info_t *cbinfo, size_t size);
sys/vfs/hammer2/hammer2_bulkfree.c
519
size_t size;
sys/vfs/hammer2/hammer2_bulkfree.c
537
~(size_t)(HAMMER2_FREEMAP_LEVELN_PSIZE - 1);
sys/vfs/hammer2/hammer2_bulkfree.c
566
~(size_t)(HAMMER2_FREEMAP_LEVELN_PSIZE - 1);
sys/vfs/hammer2/hammer2_bulkfree.c
759
cbinfo_bmap_init(hammer2_bulkfree_info_t *cbinfo, size_t size)
sys/vfs/hammer2/hammer2_bulkfree.c
797
size_t bytes;
sys/vfs/hammer2/hammer2_bulkfree.c
849
bytes = (size_t)1 << radix;
sys/vfs/hammer2/hammer2_chain.c
1345
size_t obytes;
sys/vfs/hammer2/hammer2_chain.c
1346
size_t nbytes;
sys/vfs/hammer2/hammer2_chain.c
3094
hammer2_key_t key, int keybits, int type, size_t bytes,
sys/vfs/hammer2/hammer2_chain.c
5770
size_t name_len)
sys/vfs/hammer2/hammer2_freemap.c
183
hammer2_freemap_alloc(hammer2_chain_t *chain, size_t bytes)
sys/vfs/hammer2/hammer2_freemap.c
213
KKASSERT((size_t)1 << radix == bytes);
sys/vfs/hammer2/hammer2_freemap.c
284
size_t bytes;
sys/vfs/hammer2/hammer2_freemap.c
291
bytes = (size_t)1 << radix;
sys/vfs/hammer2/hammer2_freemap.c
354
((size_t)1 << radix)) == 0) {
sys/vfs/hammer2/hammer2_freemap.c
499
(uint32_t)~((size_t)1 << radix);
sys/vfs/hammer2/hammer2_freemap.c
574
size_t size;
sys/vfs/hammer2/hammer2_freemap.c
575
size_t bgsize;
sys/vfs/hammer2/hammer2_freemap.c
585
size = (size_t)1 << radix;
sys/vfs/hammer2/hammer2_freemap.c
729
size_t psize = HAMMER2_PBUFSIZE;
sys/vfs/hammer2/hammer2_freemap.c
84
size_t bytes;
sys/vfs/hammer2/hammer2_freemap.c
89
bytes = (size_t)1 << radix;
sys/vfs/hammer2/hammer2_freemap.c
963
size_t bytes;
sys/vfs/hammer2/hammer2_freemap.c
970
size_t bgsize = 0;
sys/vfs/hammer2/hammer2_freemap.c
983
bytes = (size_t)1 << radix;
sys/vfs/hammer2/hammer2_inode.c
1274
hammer2_dirent_create(hammer2_inode_t *dip, const char *name, size_t name_len,
sys/vfs/hammer2/hammer2_inode.c
290
size_t count;
sys/vfs/hammer2/hammer2_inode.c
291
size_t i;
sys/vfs/hammer2/hammer2_inode.c
990
const char *name, size_t name_len,
sys/vfs/hammer2/hammer2_iocom.c
293
size_t name_len;
sys/vfs/hammer2/hammer2_ioctl.c
555
size_t len;
sys/vfs/hammer2/hammer2_ioctl.c
817
size_t name_len;
sys/vfs/hammer2/hammer2_ioctl.h
135
size_t size; /* swapable kernel memory to use */
sys/vfs/hammer2/hammer2_lz4.c
398
size_t dec32table[] = {0, 3, 2, 3, 0, 0, 0, 0};
sys/vfs/hammer2/hammer2_lz4.c
400
size_t dec64table[] = {0, 0, 0, (size_t)-1, 0, 1, 2, 3};
sys/vfs/hammer2/hammer2_lz4.c
415
size_t length;
sys/vfs/hammer2/hammer2_lz4.c
481
size_t dec64 = dec64table[op-ref];
sys/vfs/hammer2/hammer2_lz4.c
483
const size_t dec64 = 0;
sys/vfs/hammer2/hammer2_strategy.c
1253
test_block_zeros(const char *buf, size_t bytes)
sys/vfs/hammer2/hammer2_strategy.c
1255
size_t i;
sys/vfs/hammer2/hammer2_strategy.c
526
static int test_block_zeros(const char *buf, size_t bytes);
sys/vfs/hammer2/hammer2_subr.c
178
hammer2_dirhash(const char *aname, size_t len)
sys/vfs/hammer2/hammer2_subr.c
182
size_t i;
sys/vfs/hammer2/hammer2_subr.c
183
size_t j;
sys/vfs/hammer2/hammer2_subr.c
238
hammer2_getradix(size_t bytes)
sys/vfs/hammer2/hammer2_subr.c
258
while (((size_t)1 << radix) < bytes)
sys/vfs/hammer2/hammer2_subr.c
317
hammer2_adjreadcounter(int btype, size_t bytes)
sys/vfs/hammer2/hammer2_subr.c
348
hammer2_adjwritecounter(int btype, size_t bytes)
sys/vfs/hammer2/hammer2_vfsops.c
931
size_t size;
sys/vfs/hammer2/hammer2_vfsops.c
932
size_t done;
sys/vfs/hammer2/hammer2_vnops.c
1447
size_t name_len;
sys/vfs/hammer2/hammer2_vnops.c
1553
size_t name_len;
sys/vfs/hammer2/hammer2_vnops.c
1639
size_t name_len;
sys/vfs/hammer2/hammer2_vnops.c
1709
size_t name_len;
sys/vfs/hammer2/hammer2_vnops.c
1778
size_t name_len;
sys/vfs/hammer2/hammer2_vnops.c
1830
size_t bytes;
sys/vfs/hammer2/hammer2_vnops.c
2035
size_t fname_len;
sys/vfs/hammer2/hammer2_vnops.c
2037
size_t tname_len;
sys/vfs/hammer2/hammer2_xops.c
1043
size_t data_len;
sys/vfs/hammer2/hammer2_xops.c
255
size_t name_len;
sys/vfs/hammer2/hammer2_xops.c
340
size_t name_len;
sys/vfs/hammer2/hammer2_xops.c
590
size_t name_len;
sys/vfs/hammer2/xxhash/xxhash.c
105
static void* XXH_malloc(size_t s) { return malloc(s); }
sys/vfs/hammer2/xxhash/xxhash.c
111
static void* XXH_memcpy(void* dest, const void* src, size_t size) { return memcpy(dest,src,size); }
sys/vfs/hammer2/xxhash/xxhash.c
328
FORCE_INLINE U32 XXH32_endian_align(const void* input, size_t len, U32 seed, XXH_endianess endian, XXH_alignment align)
sys/vfs/hammer2/xxhash/xxhash.c
338
bEnd=p=(const BYTE*)(size_t)16;
sys/vfs/hammer2/xxhash/xxhash.c
385
XXH_PUBLIC_API unsigned int XXH32 (const void* input, size_t len, unsigned int seed)
sys/vfs/hammer2/xxhash/xxhash.c
397
if ((((size_t)input) & 3) == 0) { /* Input is 4-bytes aligned, leverage the speed benefit */
sys/vfs/hammer2/xxhash/xxhash.c
428
FORCE_INLINE U64 XXH64_endian_align(const void* input, size_t len, U64 seed, XXH_endianess endian, XXH_alignment align)
sys/vfs/hammer2/xxhash/xxhash.c
438
bEnd=p=(const BYTE*)(size_t)32;
sys/vfs/hammer2/xxhash/xxhash.c
497
XXH_PUBLIC_API unsigned long long XXH64 (const void* input, size_t len, unsigned long long seed)
sys/vfs/hammer2/xxhash/xxhash.c
509
if ((((size_t)input) & 7)==0) { /* Input is aligned, let's leverage the speed advantage */
sys/vfs/hammer2/xxhash/xxhash.c
582
FORCE_INLINE XXH_errorcode XXH32_update_endian (XXH32_state_t* state, const void* input, size_t len, XXH_endianess endian)
sys/vfs/hammer2/xxhash/xxhash.c
639
XXH_PUBLIC_API XXH_errorcode XXH32_update (XXH32_state_t* state_in, const void* input, size_t len)
sys/vfs/hammer2/xxhash/xxhash.c
701
FORCE_INLINE XXH_errorcode XXH64_update_endian (XXH64_state_t* state, const void* input, size_t len, XXH_endianess endian)
sys/vfs/hammer2/xxhash/xxhash.c
756
XXH_PUBLIC_API XXH_errorcode XXH64_update (XXH64_state_t* state_in, const void* input, size_t len)
sys/vfs/hammer2/xxhash/xxhash.h
159
XXH_PUBLIC_API XXH32_hash_t XXH32 (const void* input, size_t length, unsigned int seed);
sys/vfs/hammer2/xxhash/xxhash.h
160
XXH_PUBLIC_API XXH64_hash_t XXH64 (const void* input, size_t length, unsigned long long seed);
sys/vfs/hammer2/xxhash/xxhash.h
194
XXH_PUBLIC_API XXH_errorcode XXH32_update (XXH32_state_t* statePtr, const void* input, size_t length);
sys/vfs/hammer2/xxhash/xxhash.h
198
XXH_PUBLIC_API XXH_errorcode XXH64_update (XXH64_state_t* statePtr, const void* input, size_t length);
sys/vfs/hpfs/hpfs_vfsops.c
119
size_t size;
sys/vfs/hpfs/hpfs_vnops.c
340
error = uiomove(bp->b_data + off, (size_t)(toread - off), uio);
sys/vfs/hpfs/hpfs_vnops.c
420
error = uiomove(bp->b_data + off, (size_t)(towrite - off), uio);
sys/vfs/isofs/cd9660/cd9660_util.c
195
sgetrune(const char *string, size_t n, char const **result,
sys/vfs/isofs/cd9660/cd9660_util.c
198
size_t i, j, len;
sys/vfs/isofs/cd9660/cd9660_util.c
58
size_t i, j, len;
sys/vfs/isofs/cd9660/cd9660_vfsops.c
188
size_t size;
sys/vfs/isofs/cd9660/iso.h
270
#define cd9660_sysctl ((int (*)(int *, u_int, void *, size_t *, void *, \
sys/vfs/isofs/cd9660/iso.h
271
size_t, struct proc *))eopnotsupp)
sys/vfs/isofs/cd9660/iso.h
277
u_short sgetrune(const char *, size_t, char const **, int, void *);
sys/vfs/mfs/mfs_vfsops.c
251
size_t size;
sys/vfs/msdosfs/direntry.h
135
size_t nb_len;
sys/vfs/msdosfs/direntry.h
148
int unix2dosfn(const u_char *un, u_char dn[12], size_t unlen, u_int gen,
sys/vfs/msdosfs/direntry.h
150
int unix2winfn(const u_char *un, size_t unlen, struct winentry *wep, int cnt,
sys/vfs/msdosfs/direntry.h
152
int winChkName(struct mbnambuf *nbp, const u_char *un, size_t unlen,
sys/vfs/msdosfs/direntry.h
157
int winSlotCnt(const u_char *un, size_t unlen, struct msdosfsmount *pmp);
sys/vfs/msdosfs/direntry.h
158
size_t winLenFixup(const u_char *un, size_t unlen);
sys/vfs/msdosfs/msdosfs_conv.c
1035
size_t count, newlen;
sys/vfs/msdosfs/msdosfs_conv.c
245
size_t i;
sys/vfs/msdosfs/msdosfs_conv.c
308
unix2dosfn(const u_char *un, u_char dn[12], size_t unlen, u_int gen,
sys/vfs/msdosfs/msdosfs_conv.c
353
if (unix2doschr(&cp, (size_t *)&i, pmp) == 0)
sys/vfs/msdosfs/msdosfs_conv.c
393
c = unix2doschr(&cp, (size_t *)&i, pmp);
sys/vfs/msdosfs/msdosfs_conv.c
527
unix2winfn(const u_char *un, size_t unlen, struct winentry *wep, int cnt,
sys/vfs/msdosfs/msdosfs_conv.c
591
winChkName(struct mbnambuf *nbp, const u_char *un, size_t unlen, int chksum,
sys/vfs/msdosfs/msdosfs_conv.c
594
size_t len;
sys/vfs/msdosfs/msdosfs_conv.c
67
static int mbsadjpos(const char **, size_t, size_t, int, int, void *);
sys/vfs/msdosfs/msdosfs_conv.c
68
static uint16_t dos2unixchr(u_char *, const u_char **, size_t *, int,
sys/vfs/msdosfs/msdosfs_conv.c
70
static uint16_t unix2doschr(const u_char **, size_t *, struct msdosfsmount *);
sys/vfs/msdosfs/msdosfs_conv.c
72
static uint16_t unix2winchr(const u_char **, size_t *, int,
sys/vfs/msdosfs/msdosfs_conv.c
747
winSlotCnt(const u_char *un, size_t unlen, struct msdosfsmount *pmp)
sys/vfs/msdosfs/msdosfs_conv.c
749
size_t wlen;
sys/vfs/msdosfs/msdosfs_conv.c
772
size_t
sys/vfs/msdosfs/msdosfs_conv.c
773
winLenFixup(const u_char *un, size_t unlen)
sys/vfs/msdosfs/msdosfs_conv.c
787
mbsadjpos(const char **instr, size_t inlen, size_t outlen, int weight, int flag,
sys/vfs/msdosfs/msdosfs_conv.c
807
dos2unixchr(u_char *outbuf, const u_char **instr, size_t *ilen, int lower,
sys/vfs/msdosfs/msdosfs_conv.c
813
size_t len, olen;
sys/vfs/msdosfs/msdosfs_conv.c
854
unix2doschr(const u_char **instr, size_t *ilen, struct msdosfsmount *pmp)
sys/vfs/msdosfs/msdosfs_conv.c
859
size_t len, ucslen, unixlen, olen;
sys/vfs/msdosfs/msdosfs_conv.c
935
size_t ilen, olen, len;
sys/vfs/msdosfs/msdosfs_conv.c
971
unix2winchr(const u_char **instr, size_t *ilen, int lower,
sys/vfs/msdosfs/msdosfs_conv.c
976
size_t olen;
sys/vfs/msdosfs/msdosfs_vfsops.c
154
size_t size;
sys/vfs/msdosfs/msdosfs_vnops.c
458
size_t orig_resid;
sys/vfs/msdosfs/msdosfs_vnops.c
551
error = uiomovebp(bp, bp->b_data + on, (size_t)n, uio);
sys/vfs/msdosfs/msdosfs_vnops.c
569
size_t resid;
sys/vfs/msdosfs/msdosfs_vnops.c
740
error = uiomovebp(bp, bp->b_data + croffset, (size_t)n, uio);
sys/vfs/nfs/nfs_bio.c
103
size_t n;
sys/vfs/nfs/nfs_bio.c
1057
size_t n;
sys/vfs/nfs/nfs_bio.c
1099
io.iov_len = uiop->uio_resid = (size_t)bp->b_bcount;
sys/vfs/nfs/nfs_bio.c
1119
n = (size_t)bp->b_bcount - uiop->uio_resid;
sys/vfs/nfs/nfs_bio.c
280
n = szmin(uio->uio_resid, (size_t)bp->b_bcount - bp->b_resid);
sys/vfs/nfs/nfs_bio.c
396
if ((size_t)boff > NFS_DIRBLKSIZ - bp->b_resid) {
sys/vfs/nfs/nfs_bio.c
400
NFS_DIRBLKSIZ - bp->b_resid - (size_t)boff);
sys/vfs/nfs/nfs_bio.c
403
n > (size_t)(np->n_direofoffset - uio->uio_offset)) {
sys/vfs/nfs/nfs_bio.c
404
n = (size_t)(np->n_direofoffset - uio->uio_offset);
sys/vfs/nfs/nfs_socket.c
676
(size_t)len - auio.uio_resid, len,
sys/vfs/nfs/nfs_vfsops.c
939
size_t len;
sys/vfs/ntfs/ntfs_subr.c
103
const char *name, size_t namelen, cn_t vcn)
sys/vfs/ntfs/ntfs_subr.c
1319
size_t rsize, void *rdata, size_t *initp,
sys/vfs/ntfs/ntfs_subr.c
1322
size_t init;
sys/vfs/ntfs/ntfs_subr.c
1369
struct ntvattr *vap, off_t roff, size_t rsize,
sys/vfs/ntfs/ntfs_subr.c
1370
void *rdata, size_t *initp, struct uio *uio)
sys/vfs/ntfs/ntfs_subr.c
1378
size_t tocopy;
sys/vfs/ntfs/ntfs_subr.c
1475
struct ntvattr *vap, off_t roff, size_t rsize,
sys/vfs/ntfs/ntfs_subr.c
1476
void *rdata, size_t *initp, struct uio *uio)
sys/vfs/ntfs/ntfs_subr.c
1487
size_t tocopy;
sys/vfs/ntfs/ntfs_subr.c
157
size_t namelen, len;
sys/vfs/ntfs/ntfs_subr.c
1578
size_t remains = tocopy;
sys/vfs/ntfs/ntfs_subr.c
1609
size_t rsize, void *rdata, size_t * initp,
sys/vfs/ntfs/ntfs_subr.c
1612
size_t init;
sys/vfs/ntfs/ntfs_subr.c
1657
char *attrname, off_t roff, size_t rsize, void *rdata,
sys/vfs/ntfs/ntfs_subr.c
1662
size_t init;
sys/vfs/ntfs/ntfs_subr.c
1712
size_t remains = tocopy;
sys/vfs/ntfs/ntfs_subr.c
1788
size_t len)
sys/vfs/ntfs/ntfs_subr.c
2047
size_t ilen, olen;
sys/vfs/ntfs/ntfs_subr.c
2079
size_t ilen, olen;
sys/vfs/ntfs/ntfs_subr.c
2082
ilen = (size_t)*len;
sys/vfs/ntfs/ntfs_subr.c
640
ntfs_uastricmp(struct ntfsmount *ntmp, const wchar *ustr, size_t ustrlen,
sys/vfs/ntfs/ntfs_subr.c
641
const char *astr, size_t astrlen)
sys/vfs/ntfs/ntfs_subr.c
644
size_t i, j, mbstrlen = astrlen;
sys/vfs/ntfs/ntfs_subr.c
66
static int ntfs_findvattr (struct ntfsmount *, struct ntnode *, struct ntvattr **, struct ntvattr **, u_int32_t, const char *, size_t, cn_t);
sys/vfs/ntfs/ntfs_subr.c
67
static int ntfs_uastricmp (struct ntfsmount *, const wchar *, size_t, const char *, size_t);
sys/vfs/ntfs/ntfs_subr.c
68
static int ntfs_uastrcmp (struct ntfsmount *, const wchar *, size_t, const char *, size_t);
sys/vfs/ntfs/ntfs_subr.c
685
ntfs_uastrcmp(struct ntfsmount *ntmp, const wchar *ustr, size_t ustrlen,
sys/vfs/ntfs/ntfs_subr.c
686
const char *astr, size_t astrlen)
sys/vfs/ntfs/ntfs_subr.c
689
size_t i, j, mbstrlen = astrlen;
sys/vfs/ntfs/ntfs_subr.c
793
size_t syslen, i;
sys/vfs/ntfs/ntfs_subr.h
102
int ntfs_writentvattr_plain (struct ntfsmount *, struct ntnode *, struct ntvattr *, off_t, size_t, void *, size_t *, struct uio *);
sys/vfs/ntfs/ntfs_subr.h
103
int ntfs_writeattr_plain (struct ntfsmount *, struct ntnode *, u_int32_t, char *, off_t, size_t, void *, size_t *, struct uio *);
sys/vfs/ntfs/ntfs_subr.h
77
int ntfs_procfixups ( struct ntfsmount *, u_int32_t, caddr_t, size_t );
sys/vfs/ntfs/ntfs_subr.h
80
int ntfs_readntvattr_plain ( struct ntfsmount *, struct ntnode *, struct ntvattr *, off_t, size_t, void *,size_t *, struct uio *);
sys/vfs/ntfs/ntfs_subr.h
81
int ntfs_readattr_plain ( struct ntfsmount *, struct ntnode *, u_int32_t, char *, off_t, size_t, void *,size_t *, struct uio *);
sys/vfs/ntfs/ntfs_subr.h
82
int ntfs_readattr ( struct ntfsmount *, struct ntnode *, u_int32_t, char *, off_t, size_t, void *, struct uio *);
sys/vfs/ntfs/ntfs_vfsops.c
124
size_t size;
sys/vfs/ntfs/ntfs_vfsops.c
582
size_t bmsize, i;
sys/vfs/ntfs/ntfs_vnops.c
282
size_t tmp;
sys/vfs/ntfs/ntfs_vnops.c
358
size_t towrite;
sys/vfs/ntfs/ntfs_vnops.c
359
size_t written;
sys/vfs/nullfs/null_vfsops.c
82
size_t size;
sys/vfs/procfs/procfs_mem.c
110
size_t len;
sys/vfs/procfs/procfs_rlimit.c
60
size_t xlen;
sys/vfs/procfs/procfs_status.c
187
size_t bytes_left, done;
sys/vfs/procfs/procfs_status.c
188
size_t buflen;
sys/vfs/procfs/procfs_status.c
74
size_t xlen;
sys/vfs/procfs/procfs_vfsops.c
67
size_t size;
sys/vfs/procfs/procfs_vnops.c
1030
size_t d_namlen;
sys/vfs/smbfs/smbfs_io.c
312
io.iov_len = uiop->uio_resid = (size_t)bp->b_bcount;
sys/vfs/smbfs/smbfs_io.c
322
size_t left = uiop->uio_resid;
sys/vfs/smbfs/smbfs_io.c
323
size_t nread = (size_t)bp->b_bcount - left;
sys/vfs/smbfs/smbfs_io.c
343
(size_t)(bp->b_dirtyend - bp->b_dirtyoff);
sys/vfs/smbfs/smbfs_io.c
404
size_t size, toff, nextoff, count;
sys/vfs/smbfs/smbfs_io.c
424
count = (size_t)ap->a_count;
sys/vfs/tmpfs/tmpfs.h
263
size_t tn_aobj_pages;
sys/vfs/tmpfs/tmpfs_mount.h
48
size_t ta_maxfsize_max;
sys/vfs/tmpfs/tmpfs_vfsops.c
110
size_t maxfsize_max;
sys/vfs/tmpfs/tmpfs_vfsops.c
111
size_t size;
sys/vfs/tmpfs/tmpfs_vnops.c
550
size_t offset;
sys/vfs/tmpfs/tmpfs_vnops.c
551
size_t len;
sys/vfs/tmpfs/tmpfs_vnops.c
552
size_t resid;
sys/vfs/tmpfs/tmpfs_vnops.c
601
offset = (size_t)uio->uio_offset & TMPFS_BLKMASK64;
sys/vfs/tmpfs/tmpfs_vnops.c
646
len = (size_t)(node->tn_size - uio->uio_offset);
sys/vfs/tmpfs/tmpfs_vnops.c
677
size_t offset;
sys/vfs/tmpfs/tmpfs_vnops.c
678
size_t len;
sys/vfs/tmpfs/tmpfs_vnops.c
754
offset = (size_t)uio->uio_offset & TMPFS_BLKMASK64;
sys/vfs/udf/udf_vfsops.c
136
size_t size;
sys/vfs/ufs/ffs_softdep.c
1045
size_t idsize = sizeof(struct inodedep);
sys/vfs/ufs/ffs_vfsops.c
132
size_t size;
sys/vm/pmap.h
181
void pmap_copy_page_frag (vm_paddr_t, vm_paddr_t, size_t bytes);
sys/vm/vm_extern.h
60
int grow(struct proc *, size_t);
sys/vm/vm_map.h
651
int vkernel_module_memory_alloc(vm_offset_t *, size_t);
sys/vm/vm_map.h
652
void vkernel_module_memory_free(vm_offset_t, size_t);
sys/vm/vm_mmap.c
127
kern_mmap(struct vmspace *vms, caddr_t uaddr, size_t ulen,
sys/vm/vm_page.c
1579
size_t hi;
sys/vm/vm_param.h
104
size_t xsw_size;
sys/vm/vm_param.h
108
size_t xsw_blksize;
sys/vm/vm_param.h
109
size_t xsw_nblks;
sys/vm/vm_param.h
110
size_t xsw_used;
sys/vm/vm_zone.c
333
zinitna(vm_zone_t z, char *name, size_t size, long nentries, uint32_t flags)
sys/vm/vm_zone.c
335
size_t totsize;
sys/vm/vm_zone.c
377
totsize = round_page((size_t)z->zsize * nentries);
sys/vm/vm_zone.c
449
zinit(char *name, size_t size, long nentries, uint32_t flags)
sys/vm/vm_zone.c
476
zbootinit(vm_zone_t z, char *name, size_t size, void *item, long nitems)
sys/vm/vm_zone.c
492
bzero(item, (size_t)nitems * z->zsize);
sys/vm/vm_zone.c
536
(size_t)z->zalloc * PAGE_SIZE);
sys/vm/vm_zone.c
571
size_t nbytes;
sys/vm/vm_zone.c
572
size_t noffset;
sys/vm/vm_zone.c
631
noffset = (size_t)z->zpagecount * PAGE_SIZE;
sys/vm/vm_zone.c
645
nitems = ((size_t)(savezpc + npages) * PAGE_SIZE - noffset) /
sys/vm/vm_zone.c
662
zkva = z->zkva + (size_t)(savezpc + i) * PAGE_SIZE;
sys/vm/vm_zone.c
678
nbytes = (size_t)z->zalloc * PAGE_SIZE;
sys/vm/vm_zone.c
696
nbytes = (size_t)z->zalloc * PAGE_SIZE;
sys/vm/vm_zone.c
827
size_t i;
sys/vm/vm_zone.c
828
size_t len;
sys/vm/vm_zone.h
81
vm_zone_t zinit (char *name, size_t size, long nentries, uint32_t flags);
sys/vm/vm_zone.h
83
size_t size, long nentries, uint32_t flags);
sys/vm/vm_zone.h
86
void zbootinit (vm_zone_t z, char *name, size_t size, void *item,
test/crypto/cryptoapi/crypto-api.c
36
const char *cipher_name, unsigned char *key, size_t klen, unsigned char *iv,
test/crypto/cryptoapi/crypto-api.c
37
unsigned char *in, unsigned char *out, size_t len, int do_encrypt,
test/crypto/cryptoapi/crypto-api.c
41
get_cryptoapi_cipher(const char *cipher_name, size_t keysize_in_bits)
test/crypto/cryptoapi/crypto-api.c
60
const char *cipher_name, unsigned char *key, size_t klen, unsigned char *iv,
test/crypto/cryptoapi/crypto-api.c
61
unsigned char *in, unsigned char *out, size_t len, int do_encrypt,
test/crypto/cryptoapi/cryptoapi_test.c
167
void print_hex(FILE *out, const uint8_t *bytes, size_t len)
test/crypto/cryptoapi/cryptoapi_test.c
169
for (size_t i = 0; i < len; ++i) {
test/crypto/cryptoapi/cryptoapi_test.c
196
void read_hex(const char *str, uint8_t *bytes, size_t len)
test/crypto/cryptoapi/cryptoapi_test.c
198
for (size_t i = 0; i < len; i++) {
test/crypto/cryptoapi/cryptoapi_test.c
22
size_t key_len;
test/crypto/cryptoapi/cryptoapi_test.c
224
size_t klen, const uint8_t *iv, size_t ivlen, const uint8_t *data,
test/crypto/cryptoapi/cryptoapi_test.c
225
size_t datalen, int do_encrypt, int repetitions)
test/crypto/cryptoapi/cryptoapi_test.c
23
size_t iv_len;
test/crypto/cryptoapi/cryptoapi_test.c
24
size_t data_len;
test/crypto/cryptoapi/cryptoapi_test.c
42
static void print_hex(FILE *out, const uint8_t *bytes, size_t len);
test/crypto/cryptoapi/cryptoapi_test.c
43
static void read_hex(const char *str, uint8_t *bytes, size_t len);
test/crypto/cryptoapi/cryptoapi_test.c
48
const char *cipher_name, unsigned char *key, size_t klen, unsigned char *iv,
test/crypto/cryptoapi/cryptoapi_test.c
49
unsigned char *in, unsigned char *out, size_t len, int do_encrypt,
test/crypto/cryptoapi/cryptoapi_test.c
56
size_t klen, const uint8_t *iv, size_t ivlen, const uint8_t *data,
test/crypto/cryptoapi/cryptoapi_test.c
57
size_t datalen, int do_encrypt, int repetitions);
test/debug/bufqueues.c
248
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes, int out)
test/debug/bufqueues.c
92
static int kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes, int out);
test/debug/crc32.c
11
uint32_t iscsi_crc32(const void *buf, size_t size);
test/debug/crc32.c
12
uint32_t iscsi_crc32_ext(const void *buf, size_t size, uint32_t ocrc);
test/debug/crc32.c
13
uint32_t crc32(const void *buf, size_t size);
test/debug/crc32.c
14
uint32_t crc32_ext(const void *buf, size_t size, uint32_t ocrc);
test/debug/crc32hw.c
143
static void crc32c_zeros_op(uint32_t *even, size_t len)
test/debug/crc32hw.c
182
static void crc32c_zeros(uint32_t zeros[][256], size_t len)
test/debug/crc32hw.c
226
static uint32_t crc32c_hw(uint32_t crc, const void *buf, size_t len)
test/debug/crc32hw.c
332
uint32_t crc32c(uint32_t crc, const void *buf, size_t len)
test/debug/crc32hw.c
349
size_t off, n;
test/debug/crc32hw.c
362
n = (size_t)got - off;
test/debug/crc32hw.c
368
} while (off < (size_t)got);
test/debug/crc32hw.c
78
static uint32_t crc32c_sw(uint32_t crci, const void *buf, size_t len)
test/debug/h2chains.c
170
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/h2chains.c
58
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/h2dio.c
135
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/h2dio.c
57
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/h2inodes.c
135
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/h2inodes.c
57
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/icrc32.c
11
uint32_t iscsi_crc32(const void *buf, size_t size);
test/debug/icrc32.c
12
uint32_t iscsi_crc32_ext(const void *buf, size_t size, uint32_t ocrc);
test/debug/icrc32.c
13
uint32_t crc32(const void *buf, size_t size);
test/debug/icrc32.c
14
uint32_t crc32_ext(const void *buf, size_t size, uint32_t ocrc);
test/debug/kmapinfo.c
331
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/kmapinfo.c
80
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/ksyscalls.c
116
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/ksyscalls.c
71
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/mbufinfo.c
225
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/mbufinfo.c
89
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/ncptrace.c
302
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/ncptrace.c
79
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/psinfo.c
401
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/psinfo.c
86
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/schedmon.c
147
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/schedmon.c
75
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/sigtramp.c
13
size_t len;
test/debug/slabinfo.c
184
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/slabinfo.c
79
void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/vmobjinfo.c
265
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/vmobjinfo.c
89
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/vmpagehash.c
321
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/vmpagehash.c
330
kkread_err(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/vmpagehash.c
94
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/vmpagehash.c
95
static int kkread_err(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/vmpageinfo.c
100
static int kkread_err(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/vmpageinfo.c
509
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/vmpageinfo.c
518
kkread_err(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/vmpageinfo.c
99
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/vmpagequeues.c
157
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/vmpagequeues.c
166
kkread_err(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/vmpagequeues.c
81
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/vmpagequeues.c
82
static int kkread_err(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/vmpqinactive.c
541
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/vmpqinactive.c
550
kkread_err(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/vmpqinactive.c
98
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/vmpqinactive.c
99
static int kkread_err(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/vnodeinfo.c
481
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/vnodeinfo.c
80
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/wildcardinfo.c
176
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/wildcardinfo.c
79
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/debug/zallocinfo.c
232
kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes)
test/debug/zallocinfo.c
79
static void kkread(kvm_t *kd, u_long addr, void *buf, size_t nbytes);
test/illumos/oclo/oclo.c
1196
for (size_t i = 0; i < oclo_rtdata_next; i++) {
test/illumos/oclo/oclo.c
121
size_t crt_idx;
test/illumos/oclo/oclo.c
1219
for (size_t i = 0; i < oclo_rtdata_next; i++) {
test/illumos/oclo/oclo.c
1274
for (size_t i = 0; i < oclo_rtdata_next; i++) {
test/illumos/oclo/oclo.c
128
static size_t oclo_rtdata_nents = 0;
test/illumos/oclo/oclo.c
129
static size_t oclo_rtdata_next = 0;
test/illumos/oclo/oclo.c
1302
for (size_t i = 0; i < ARRAY_SIZE(oclo_create); i++) {
test/illumos/oclo/oclo.c
188
size_t newrt = oclo_rtdata_nents + 8;
test/illumos/oclo/oclo.c
78
getpathname(pid_t pid, char *pathname, size_t maxlen)
test/illumos/oclo/oclo.c
81
size_t len;
test/interbench/interbench.c
1148
size_t vms_size = sizeof(vms);
test/interbench/interbench.c
351
inline ssize_t Read(int fd, void *buf, size_t count)
test/interbench/interbench.c
365
inline ssize_t Write(int fd, const void *buf, size_t count)
test/interbench/interbench.h
10
extern inline ssize_t Read(int fd, void *buf, size_t count);
test/nvmm/demo/smallkern/console.c
33
size_t i;
test/nvmm/demo/smallkern/main.c
109
size_t trap_types = __arraycount(trap_type);
test/nvmm/demo/smallkern/main.c
192
set_sys_segment(struct sys_segment_descriptor *sd, void *base, size_t limit,
test/nvmm/demo/smallkern/main.c
207
set_sys_gdt(int slotoff, void *base, size_t limit, int type, int dpl, int gran)
test/nvmm/demo/smallkern/main.c
233
size_t i;
test/nvmm/demo/smallkern/main.c
81
size_t, int, int, int);
test/nvmm/demo/smallkern/main.c
82
static void set_sys_gdt(int, void *, size_t, int, int, int);
test/nvmm/demo/smallkern/smallkern.h
86
void outsb(int port, char *buf, size_t size);
test/nvmm/demo/toyvirt/common.h
40
uintptr_t toyvirt_mem_add(struct nvmm_machine *, gpaddr_t, size_t);
test/nvmm/demo/toyvirt/common.h
43
void toydev_mmio(gpaddr_t, bool, uint8_t *, size_t);
test/nvmm/demo/toyvirt/common.h
44
void toydev_io(int, bool, uint8_t *, size_t);
test/nvmm/demo/toyvirt/elf.c
109
if ((size_t)st.st_size < sizeof(Elf_Ehdr))
test/nvmm/demo/toyvirt/elf.c
68
size_t i;
test/nvmm/demo/toyvirt/main.c
53
toyvirt_mem_add(struct nvmm_machine *mach, gpaddr_t gpa, size_t size)
test/nvmm/demo/toyvirt/toydev.c
114
toydev_io(int port, bool in, uint8_t *buf, size_t size)
test/nvmm/demo/toyvirt/toydev.c
47
toydev_lapic(gpaddr_t gpa, bool write, uint8_t *buf, size_t size)
test/nvmm/demo/toyvirt/toydev.c
71
toydev_cons(int port __unused, bool in, uint8_t *buf, size_t size)
test/nvmm/demo/toyvirt/toydev.c
74
size_t i;
test/nvmm/demo/toyvirt/toydev.c
97
toydev_mmio(gpaddr_t gpa, bool write, uint8_t *buf, size_t size)
test/pcpu/cpustat.c
63
size_t len = sizeof(struct kinfo_cputime) * numcpus;
test/pcpu/ncache-stats.c
60
size_t nch_len = SMP_MAXCPU * sizeof(struct nchstats);
test/stress/eatmem.c
22
size_t bytes;
test/stress/eatmem.c
23
size_t i;
test/stress/fsstress/fsstress.c
1092
readlink_path(pathname_t *name, char *lbuf, size_t lbufsiz)
test/stress/fsstress/fsstress.c
1730
size_t len;
test/stress/fsstress/fsstress.c
1821
size_t len;
test/stress/fsstress/fsstress.c
2169
size_t len;
test/stress/fsstress/fsstress.c
2580
size_t len;
test/stress/fsstress/fsstress.c
267
int readlink_path(pathname_t *, char *, size_t);
test/stress/fsx/fsx.c
1170
written = write(fd, good_buf, (size_t)maxfilelen);
test/stress/fsx/fsx.c
332
byteswritten = write(xfd, buffer, (size_t)bufferlength);
test/stress/stress2/lib/resources.c
131
size_t nlen = sizeof(mem);
test/stress/stress2/testcases/shm/shm.c
53
size_t pgsize;
test/stress/t_mlock.c
19
size_t beg;
test/stress/t_mlock.c
20
size_t len;
test/stress/t_mlock.c
21
size_t fbeg;
test/stress/t_mlock.c
22
size_t flen;
test/stress/t_mlock.c
23
size_t i;
test/stress/t_mlockall.c
15
size_t i;
test/stress/tuxload.c
54
size_t size, len;
test/sysperf/memcpy.c
12
extern void docopy1(const void *s, void *d, size_t bytes);
test/sysperf/memcpy.c
13
extern void docopy2(const void *s, void *d, size_t bytes);
test/sysperf/memcpy.c
14
extern void docopy3(const void *s, void *d, size_t bytes);
test/sysperf/memcpy.c
15
extern void docopy4(const void *s, void *d, size_t bytes);
test/sysperf/memcpy.c
16
extern void docopy5(const void *s, void *d, size_t bytes);
test/sysperf/memcpy.c
17
extern void docopy6(const void *s, void *d, size_t bytes);
test/sysperf/memcpy.c
18
extern void docopy7(const void *s, void *d, size_t bytes);
test/sysperf/memcpy.c
79
test_using(const char *ctl, char *buf, int bytes, void (*copyf)(const void *s1, void *d, size_t bytes))
test/sysperf/memcpy.c
9
void test_using(const char *ctl, char *buf, int bytes, void (*copyf)(const void *s1, void *d, size_t bytes));
test/sysperf/memzero.c
11
extern void dozero1(void *d, size_t bytes);
test/sysperf/memzero.c
12
extern void dozero2(void *d, size_t bytes);
test/sysperf/memzero.c
13
extern void dozero3(void *d, size_t bytes);
test/sysperf/memzero.c
14
extern void dozero4(void *d, size_t bytes);
test/sysperf/memzero.c
15
extern void dozero5(void *d, size_t bytes);
test/sysperf/memzero.c
16
extern void dozero6(void *d, size_t bytes);
test/sysperf/memzero.c
17
extern void dozero7(void *d, size_t bytes);
test/sysperf/memzero.c
78
test_using(const char *ctl, char *buf, int bytes, void (*zerof)(void *d, size_t bytes))
test/sysperf/memzero.c
9
void test_using(const char *ctl, char *buf, int bytes, void (*zerof)(void *d, size_t bytes));
test/sysperf/randread.c
40
size_t bytes = 512;
test/sysperf/randread.c
54
size_t tscfreq_size = sizeof(tscfreq);
test/sysperf/randread.c
66
bytes = (size_t)strtoul(av[2], NULL, 0);
test/sysperf/syscall2.c
30
size_t ncpu_size;
test/testcases/libnvmm/h_io_assist.c
219
static size_t iobuf_off = 0;
test/testcases/libnvmm/h_io_assist.c
297
size_t size;
test/testcases/libnvmm/h_io_assist.c
300
size = (size_t)test->code_end - (size_t)test->code_begin;
test/testcases/libnvmm/h_io_assist.c
384
size_t i;
test/testcases/libnvmm/h_mem_assist.c
150
size_t size;
test/testcases/libnvmm/h_mem_assist.c
152
size = (size_t)test->code_end - (size_t)test->code_begin;
test/testcases/libnvmm/h_mem_assist.c
372
size_t i;
test/testcases/libnvmm/h_mem_assist.c
460
size_t i;
test/testcases/libnvmm/h_mem_assist.c
67
size_t off;
test/testcases/sysv/sysvshm/shmtest.c
72
size_t pgsize;
tools/multimedia/cxm/extract_fw/cxm_extract_fw.c
144
if (!(start = (uint8_t *)mmap(NULL, (size_t) statbuf.st_size,
tools/multimedia/cxm/extract_fw/cxm_extract_fw.c
155
if ((size_t)(end - ptr) >= sizeof(decoder_magic) &&
tools/multimedia/cxm/extract_fw/cxm_extract_fw.c
165
if ((size_t)(end - ptr) >= sizeof(encoder_magic) &&
tools/multimedia/cxm/extract_fw/cxm_extract_fw.c
180
munmap((caddr_t)start, (size_t)statbuf.st_size);
tools/multimedia/cxm/extract_fw/cxm_extract_fw.c
66
save_firmware(const char *name, const uint8_t *buf, size_t nbytes)
tools/multimedia/cxm/extract_fw/cxm_extract_fw.c
70
size_t i;
tools/multimedia/cxm/extract_fw/cxm_extract_fw.c
75
if ((size_t)snprintf(outfile, sizeof(outfile), "%s.c", name) >=
tools/regression/lib/libc-regex/testregex.c
121
compf(const regex_t* re, const char* xstr, size_t xlen, regdisc_t* disc)
tools/regression/lib/libc-regex/testregex.c
129
execf(const regex_t* re, void* data, const char* xstr, size_t xlen, const char* sstr, size_t slen, char** snxt, regdisc_t* disc)
tools/regression/lib/libc-regex/testregex.c
138
resizef(void* handle, void* data, size_t size)
tools/regression/usr.sbin/installer/libaura/dict2/dict2.c
80
size_t len = sizeof(int);
tools/regression/usr.sbin/installer/libaura/dict3/dict3.c
41
size_t len = 0;
tools/tools/ath/athdebug/athdebug.c
150
size_t debuglen;
tools/tools/ath/athkey/athkey.c
52
getdata(const char *arg, u_int8_t *data, size_t maxlen)
tools/tools/ath/athrd/athrd.c
1639
ath_hal_malloc(size_t size)
tools/tools/ath/athregs/dumpregs.c
385
size_t space = 0;
tools/tools/ath/athstats/athstats.c
497
snprintrate(char b[], size_t bs, int rate)
tools/tools/ath/athstats/athstats.c
508
ath_get_curstat(struct statfoo *sf, int s, char b[], size_t bs)
tools/tools/ath/athstats/athstats.c
729
ath_get_totstat(struct statfoo *sf, int s, char b[], size_t bs)
tools/tools/ath/athstats/statfoo.c
82
statfoo_get(struct statfoo *sf, int s, char b[], size_t bs)
tools/tools/ath/athstats/statfoo.h
101
static int _t##_get_totstat(struct _t *wf, int s, char b[], size_t bs) \
tools/tools/ath/athstats/statfoo.h
60
int (*get_curstat)(_p, int, char [], size_t); \
tools/tools/ath/athstats/statfoo.h
62
int (*get_totstat)(_p, int, char [], size_t); \
tools/tools/ath/athstats/statfoo.h
99
static int _t##_get_curstat(struct _t *wf, int s, char b[], size_t bs) \
tools/tools/drm/radeon/mkregtable/mkregtable.c
19
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
tools/tools/drm/radeon/mkregtable/mkregtable.c
627
size_t end;
tools/tools/ifinfo/ifinfo.c
69
size_t len;
tools/tools/ifinfo/ifinfo.c
73
size_t linkmiblen;
tools/tools/ifinfo/ifinfo.h
35
typedef void (*printfcn)(const void *, size_t);
tools/tools/ifinfo/ifinfo.h
37
extern void print_1650(const void *, size_t);
tools/tools/ifinfo/rfc1650.c
27
print_1650(const void *xmd, size_t len)
tools/tools/ifinfo/rfc1650.c
94
size_t len;
tools/tools/mwait_mon/mwait_mon.c
28
size_t len;
tools/tools/mwait_mon/mwait_mon.c
69
size_t len;
tools/tools/net80211/wlanstats/statfoo.c
88
statfoo_get(struct statfoo *sf, int s, char b[], size_t bs)
tools/tools/net80211/wlanstats/statfoo.h
100
static int _t##_get_curstat(struct _t *wf, int s, char b[], size_t bs) \
tools/tools/net80211/wlanstats/statfoo.h
102
static int _t##_get_totstat(struct _t *wf, int s, char b[], size_t bs) \
tools/tools/net80211/wlanstats/statfoo.h
60
int (*get_curstat)(_p, int, char [], size_t); \
tools/tools/net80211/wlanstats/statfoo.h
62
int (*get_totstat)(_p, int, char [], size_t); \
tools/tools/net80211/wlanstats/wlanstats.c
551
setreason(char b[], size_t bs, int v)
tools/tools/net80211/wlanstats/wlanstats.c
587
setstatus(char b[], size_t bs, int v)
tools/tools/net80211/wlanstats/wlanstats.c
626
wlan_getinfo(struct wlanstatfoo_p *wf, int s, char b[], size_t bs)
tools/tools/net80211/wlanstats/wlanstats.c
664
wlan_get_curstat(struct statfoo *sf, int s, char b[], size_t bs)
tools/tools/net80211/wlanstats/wlanstats.c
824
wlan_get_totstat(struct statfoo *sf, int s, char b[], size_t bs)
tools/tools/netrate/accept_connect/accept_server/accept_server.c
57
size_t prm_len;
tools/tools/netrate/accept_connect/connect_client/connect_client.c
37
size_t prm_len;
tools/tools/netrate/accept_connect/kq_accept_server/kq_accept_server.c
67
size_t prm_len;
tools/tools/netrate/accept_connect/kq_connect_client/kq_connect_client.c
44
size_t prm_len;
tools/tools/netrate/kq_sendrecv/kq_recvserv/kq_recvserv.c
268
size_t len;
tools/tools/netrate/kq_sendrecv/kq_recvserv/kq_recvserv.c
58
size_t sz;
tools/tools/netrate/kq_sendrecv/kq_sendcli/kq_sendcli.c
162
size_t sz;
tools/tools/netrate/kq_sendrecv/kq_sendcli/kq_sendcli.c
791
size_t len;
tools/tools/netrate/pktgen/pktgen.c
274
size_t dst_size;
tools/tools/netrate/udpecho/udpecho.c
38
size_t prm_len;
tools/tools/usbtest/usbtest.c
196
size_t len;
tools/tools/usbtest/usbtest.c
525
size_t len;
usr.bin/apply/apply.c
138
if ((size_t)offset >= cmdsize)
usr.bin/apply/apply.c
144
if ((size_t)offset >= cmdsize)
usr.bin/apply/apply.c
158
if ((size_t)offset >= cmdsize)
usr.bin/apply/apply.c
191
if ((size_t)offset >= l)
usr.bin/apply/apply.c
58
size_t clen, cmdsize, l;
usr.bin/asa/asa.c
89
size_t len;
usr.bin/at/at.c
158
static size_t size = SIZE;
usr.bin/at/at.c
358
size_t i;
usr.bin/at/at.c
363
(size_t) (eqp-*atenv)) != 0);
usr.bin/at/at.c
694
size_t rv;
usr.bin/at/parsetime.c
145
static size_t sc_len; /* scanner - length of token buffer */
usr.bin/at/parsetime.c
157
size_t i;
usr.bin/at/perm.c
63
size_t len;
usr.bin/basename/basename.c
103
stripsuffix(char *p, const char *suffix, size_t suffixlen)
usr.bin/basename/basename.c
108
size_t n;
usr.bin/basename/basename.c
116
if (n == (size_t)-1 || n == (size_t)-2) {
usr.bin/basename/basename.c
45
static void stripsuffix(char *, const char *, size_t);
usr.bin/basename/basename.c
52
size_t suffixlen;
usr.bin/bc/bc.y
752
size_t newsize;
usr.bin/bc/bc.y
82
static ssize_t lookup(char *, size_t, char);
usr.bin/bc/bc.y
854
lookup(char * str, size_t len, char type)
usr.bin/bc/bc.y
893
size_t len;
usr.bin/bc/bc.y
905
size_t len;
usr.bin/bc/bc.y
917
size_t len;
usr.bin/brandelf/brandelf.c
174
size_t elfwalk;
usr.bin/brandelf/brandelf.c
187
size_t elfwalk;
usr.bin/brandelf/brandelf.c
200
size_t elfwalk;
usr.bin/calendar/basics.c
361
format_time(char *buf, size_t size, double t)
usr.bin/calendar/basics.c
380
format_zone(char *buf, size_t size, double zone)
usr.bin/calendar/basics.c
398
format_location(char *buf, size_t size, const struct location *loc)
usr.bin/calendar/basics.h
97
int format_time(char *buf, size_t size, double t);
usr.bin/calendar/basics.h
98
int format_zone(char *buf, size_t size, double zone);
usr.bin/calendar/basics.h
99
int format_location(char *buf, size_t size, const struct location *loc);
usr.bin/calendar/calendar.c
153
for (size_t i = 0; i < nitems(calendars); i++) {
usr.bin/calendar/calendar.h
89
int (*format_date)(char *buf, size_t size, int rd);
usr.bin/calendar/chinese.c
423
size_t n = nitems(jieqis);
usr.bin/calendar/chinese.c
425
for (size_t i = 0; i < n; i++) {
usr.bin/calendar/chinese.c
455
chinese_format_date(char *buf, size_t size, int rd)
usr.bin/calendar/chinese.c
560
for (size_t i = 0; i < nitems(jieqis); i++) {
usr.bin/calendar/chinese.h
69
int chinese_format_date(char *buf, size_t size, int rd);
usr.bin/calendar/dates.c
70
cal_days = xcalloc((size_t)daycount, sizeof(struct cal_day));
usr.bin/calendar/days.h
62
size_t len; /* length of the name */
usr.bin/calendar/days.h
64
size_t n_len; /* length of the national name */
usr.bin/calendar/io.c
155
for (size_t i = 0; calendarDirs[i] != NULL; i++) {
usr.bin/calendar/io.c
340
for (size_t i = 0; specialdays[i].name; i++) {
usr.bin/calendar/io.c
81
size_t line_cap; /* capacity of the 'line' buffer */
usr.bin/calendar/io.c
83
size_t nextline_cap; /* capacity of the 'nextline' buffer */
usr.bin/calendar/julian.c
127
julian_format_date(char *buf, size_t size, int rd)
usr.bin/calendar/julian.h
48
int julian_format_date(char *buf, size_t size, int rd);
usr.bin/calendar/moon.c
161
for (size_t i = 0; i < nitems(nth_new_moon_data1); i++) {
usr.bin/calendar/moon.c
172
for (size_t i = 0; i < nitems(nth_new_moon_data2); i++) {
usr.bin/calendar/moon.c
336
for (size_t i = 0; i < nitems(lunar_longitude_data); i++) {
usr.bin/calendar/moon.c
446
for (size_t i = 0; i < nitems(lunar_latitude_data); i++) {
usr.bin/calendar/moon.c
556
for (size_t i = 0; i < nitems(lunar_distance_data); i++) {
usr.bin/calendar/moon.c
874
for (size_t i = 0; i < nitems(moments); i++) {
usr.bin/calendar/moon.c
909
for (size_t i = 0; i < nitems(phi_events); i++) {
usr.bin/calendar/nnames.c
151
size_t len;
usr.bin/calendar/nnames.c
162
len = (size_t)(p - seq);
usr.bin/calendar/nnames.h
46
size_t len; /* length of short name */
usr.bin/calendar/nnames.h
48
size_t f_len; /* length of full name */
usr.bin/calendar/nnames.h
50
size_t n_len; /* length of short national name */
usr.bin/calendar/nnames.h
52
size_t fn_len; /* length of full national name */
usr.bin/calendar/parsedata.c
137
size_t len;
usr.bin/calendar/parsedata.c
143
for (size_t i = 0; specialdays[i].id != SD_NONE; i++) {
usr.bin/calendar/parsedata.c
300
for (size_t i = 0; specialdays[i].id != SD_NONE; i++) {
usr.bin/calendar/parsedata.c
391
for (size_t i = 0; specialdays[i].id != SD_NONE; i++) {
usr.bin/calendar/parsedata.c
407
check_month(const char *s, size_t *len, int *month)
usr.bin/calendar/parsedata.c
446
check_dayofweek(const char *s, size_t *len, int *dow)
usr.bin/calendar/parsedata.c
537
parse_int_ranged(const char *s, size_t len, int min, int max, int *result)
usr.bin/calendar/parsedata.c
62
static bool check_dayofweek(const char *s, size_t *len, int *dow);
usr.bin/calendar/parsedata.c
63
static bool check_month(const char *s, size_t *len, int *month);
usr.bin/calendar/parsedata.c
67
static const char *parse_int_ranged(const char *s, size_t len, int min,
usr.bin/calendar/parsedata.c
690
size_t len;
usr.bin/calendar/sun.c
157
for (size_t i = 0; i < nitems(solar_longitude_data); i++) {
usr.bin/calendar/sun.c
385
for (size_t i = 0; i < nitems(moments); i++) {
usr.bin/calendar/sun.c
402
for (size_t i = 0; i < nitems(SOLAR_EVENTS); i++) {
usr.bin/calendar/utils.c
107
xcalloc(size_t number, size_t size)
usr.bin/calendar/utils.c
119
xrealloc(void *ptr, size_t size)
usr.bin/calendar/utils.c
57
poly(double x, const double *coefs, size_t n)
usr.bin/calendar/utils.c
61
for (size_t i = 0; i < n; i++) {
usr.bin/calendar/utils.c
95
xmalloc(size_t size)
usr.bin/calendar/utils.h
254
double poly(double x, const double *coefs, size_t n);
usr.bin/calendar/utils.h
257
void * xmalloc(size_t size);
usr.bin/calendar/utils.h
258
void * xcalloc(size_t number, size_t size);
usr.bin/calendar/utils.h
259
void * xrealloc(void *ptr, size_t size);
usr.bin/calendar/utils.h
65
static inline size_t
usr.bin/calendar/utils.h
68
size_t count = 0;
usr.bin/calendar/utils.h
98
size_t l = strlen(s);
usr.bin/cap_mkdb/cap_mkdb.c
150
size_t len, bplen;
usr.bin/chat/chat.c
1176
size_t len, minlen;
usr.bin/chat/chat.c
1260
if ((size_t)(s - temp) >= len &&
usr.bin/chat/chat.c
145
static void *dup_mem(void *b, size_t c);
usr.bin/chat/chat.c
174
dup_mem(void *b, size_t c)
usr.bin/chat/chat.c
518
size_t rep_len;
usr.bin/chat/chat.c
696
return dup_mem (temp, (size_t) (s1 - temp)); /* may have embedded nuls */
usr.bin/chpass/chpass.h
51
size_t len;
usr.bin/chpass/edit.c
197
size_t len;
usr.bin/chpass/edit.c
67
size_t len;
usr.bin/cmp/regular.c
63
size_t pagesize;
usr.bin/column/column.c
76
size_t seplen;
usr.bin/column/column.c
95
if (seplen == (size_t)-1)
usr.bin/comm/comm.c
183
size_t n;
usr.bin/comm/comm.c
186
if ((n = mbstowcs(NULL, str, 0)) == (size_t)-1)
usr.bin/comm/comm.c
204
show(FILE *fp, const char *fn, const char *offset, char **bufp, size_t *buflenp)
usr.bin/comm/comm.c
53
static void show(FILE *, const char *, const char *, char **, size_t *);
usr.bin/comm/comm.c
63
size_t line1len, line2len;
usr.bin/compress/compress.c
186
size_t nr;
usr.bin/compress/compress.c
276
size_t nr;
usr.bin/compress/compress.c
62
size_t len;
usr.bin/crunch/crunchide/exec_elf64.c
103
if ((size_t)(rv = write(fd, buf, size)) != size) {
usr.bin/crunch/crunchide/exec_elf64.c
112
xmalloc(size_t size, const char *fn, const char *use)
usr.bin/crunch/crunchide/exec_elf64.c
124
xrealloc(void *ptr, size_t size, const char *fn, const char *use)
usr.bin/crunch/crunchide/exec_elf64.c
232
size_t nstrtab_size, nstrtab_nextoff, fn_size, size;
usr.bin/crunch/crunchide/exec_elf64.c
333
if ((size_t)xreadatoff(fd, shstrtabp, xewtoh(shstrtabshdr->sh_offset),
usr.bin/crunch/crunchide/exec_elf64.c
360
if ((size_t)xreadatoff(fd, layoutp[i].bufp, off, size, fn) !=
usr.bin/crunch/crunchide/exec_elf64.c
387
size_t newent_len;
usr.bin/crunch/crunchide/exec_elf64.c
455
if ((size_t)xwriteatoff(fd, &ehdr.e_shoff, off, size,
usr.bin/crunch/crunchide/exec_elf64.c
462
if ((size_t)xwriteatoff(fd, buf, off, size, fn) != size)
usr.bin/crunch/crunchide/exec_elf64.c
78
xreadatoff(int fd, void *buf, off_t off, size_t size, const char *fn)
usr.bin/crunch/crunchide/exec_elf64.c
86
if ((size_t)(rv = read(fd, buf, size)) != size) {
usr.bin/crunch/crunchide/exec_elf64.c
95
xwriteatoff(int fd, void *buf, off_t off, size_t size, const char *fn)
usr.bin/csplit/csplit.c
236
if ((size_t)snprintf(currfile, sizeof(currfile), "%s%0*ld", prefix,
usr.bin/csplit/csplit.c
298
size_t i, nread;
usr.bin/cut/cut.c
159
size_t setautostart, start, stop;
usr.bin/cut/cut.c
212
needpos(size_t n)
usr.bin/cut/cut.c
214
static size_t npos;
usr.bin/cut/cut.c
215
size_t oldnpos;
usr.bin/cut/cut.c
267
size_t col, i, lbuflen;
usr.bin/cut/cut.c
382
size_t clen, lbuflen, reallen;
usr.bin/cut/cut.c
401
if (clen == (size_t)-1 || clen == (size_t)-2) {
usr.bin/cut/cut.c
428
if (clen == (size_t)-1 || clen == (size_t)-2) {
usr.bin/cut/cut.c
58
static size_t autostart, autostop, maxval;
usr.bin/cut/cut.c
67
static void needpos(size_t);
usr.bin/cut/cut.c
76
size_t n;
usr.bin/dc/bcode.c
1694
size_t newsz = bmachine.readstack_sz * 2;
usr.bin/dc/bcode.c
46
size_t readsp;
usr.bin/dc/bcode.c
48
size_t reg_array_size;
usr.bin/dc/bcode.c
52
size_t readstack_sz;
usr.bin/dc/bcode.c
647
size_t i;
usr.bin/dc/bcode.c
710
size_t digits;
usr.bin/dc/bcode.h
59
size_t size;
usr.bin/dc/bcode.h
65
size_t size;
usr.bin/dc/bcode.h
83
size_t pos;
usr.bin/dc/extern.h
39
void *bmalloc(size_t);
usr.bin/dc/extern.h
40
void *brealloc(void *, size_t);
usr.bin/dc/extern.h
50
size_t stack_size(const struct stack *);
usr.bin/dc/extern.h
63
void frame_assign(struct stack *, size_t, const struct value *);
usr.bin/dc/extern.h
64
struct value * frame_retrieve(const struct stack *, size_t);
usr.bin/dc/inout.c
287
size_t sz;
usr.bin/dc/mem.c
63
bmalloc(size_t sz)
usr.bin/dc/mem.c
74
brealloc(void *p, size_t sz)
usr.bin/dc/stack.c
135
size_t new_size;
usr.bin/dc/stack.c
279
size_t i;
usr.bin/dc/stack.c
293
size_t i;
usr.bin/dc/stack.c
305
array_grow(struct array *array, size_t newsize)
usr.bin/dc/stack.c
307
size_t i;
usr.bin/dc/stack.c
318
array_assign(struct array *array, size_t index, const struct value *v)
usr.bin/dc/stack.c
327
array_retrieve(const struct array *array, size_t index)
usr.bin/dc/stack.c
33
static __inline void array_grow(struct array *, size_t);
usr.bin/dc/stack.c
335
frame_assign(struct stack *stack, size_t index, const struct value *v)
usr.bin/dc/stack.c
34
static __inline void array_assign(struct array *, size_t, const struct value *);
usr.bin/dc/stack.c
35
static __inline struct value *array_retrieve(const struct array *, size_t);
usr.bin/dc/stack.c
353
frame_retrieve(const struct stack *stack, size_t index)
usr.bin/dc/stack.c
98
size_t
usr.bin/dfregress/userland.c
224
size_t len;
usr.bin/dfregress/userland.c
253
sz_stdout = (size_t)lseek(fd_stdout, 0, SEEK_END);
usr.bin/dfregress/userland.c
267
sz_stderr = (size_t)lseek(fd_stderr, 0, SEEK_END);
usr.bin/dfregress/userland.c
304
size_t errbuf_sz, struct testcase_result *tr)
usr.bin/dfregress/userland.c
69
char *errbuf, size_t errbuf_sz, struct testcase_result *tr)
usr.bin/dfregress/userland.c
76
size_t sz_stdout, sz_stderr;
usr.bin/dfregress/userland.h
32
int unify_output, char *errbuf, size_t errbuf_sz,
usr.bin/dfregress/userland.h
35
size_t errbuf_sz, struct testcase_result *tr);
usr.bin/diff/diff.c
274
size_t argsize;
usr.bin/diff/diff.c
296
size_t len;
usr.bin/diff/diff.c
331
size_t len;
usr.bin/diff/diff.c
345
print_only(const char *path, size_t dirlen, const char *entry)
usr.bin/diff/diff.h
94
void print_only(const char *, size_t, const char *);
usr.bin/diff/diffdir.c
170
diffit(struct dirent *dp, char *path1, size_t plen1, char *path2, size_t plen2,
usr.bin/diff/diffdir.c
41
static void diffit(struct dirent *, char *, size_t, char *, size_t, int);
usr.bin/diff/diffdir.c
53
size_t dirlen1, dirlen2;
usr.bin/diff/diffreg.c
1234
size_t cnt;
usr.bin/diff/diffreg.c
1250
size_t nc;
usr.bin/diff/diffreg.c
186
static void prepare(int, FILE *, size_t, int);
usr.bin/diff/diffreg.c
205
static char *preadline(int, size_t, off_t);
usr.bin/diff/diffreg.c
426
size_t i, j;
usr.bin/diff/diffreg.c
484
size_t dirlen;
usr.bin/diff/diffreg.c
498
prepare(int i, FILE *fd, size_t filesize, int flags)
usr.bin/diff/diffreg.c
502
size_t sz, j;
usr.bin/diff/diffreg.c
923
preadline(int fd, size_t rlen, off_t off)
usr.bin/diff/diffreg.c
958
static size_t max_context = 64;
usr.bin/diff/xmalloc.c
26
xmalloc(size_t size)
usr.bin/diff/xmalloc.c
39
xcalloc(size_t nmemb, size_t size)
usr.bin/diff/xmalloc.c
50
xreallocarray(void *ptr, size_t nmemb, size_t size)
usr.bin/diff/xmalloc.h
22
void *xmalloc(size_t);
usr.bin/diff/xmalloc.h
23
void *xcalloc(size_t, size_t);
usr.bin/diff/xmalloc.h
24
void *xreallocarray(void *, size_t, size_t);
usr.bin/dsynth/build.c
1738
static size_t
usr.bin/dsynth/build.c
1744
size_t tot = 0;
usr.bin/dsynth/build.c
2928
size_t tot;
usr.bin/dsynth/build.c
2929
size_t len;
usr.bin/dsynth/build.c
3139
size_t len;
usr.bin/dsynth/build.c
3289
size_t size;
usr.bin/dsynth/build.c
66
static size_t childInstallPkgDeps_recurse(FILE *fp, pkglink_t *list,
usr.bin/dsynth/bulk.c
291
readall(int fd, void *buf, size_t bytes)
usr.bin/dsynth/bulk.c
313
writeall(int fd, const void *buf, size_t bytes)
usr.bin/dsynth/bulk.c
63
static int readall(int fd, void *buf, size_t bytes);
usr.bin/dsynth/bulk.c
64
static int writeall(int fd, const void *buf, size_t bytes);
usr.bin/dsynth/config.c
107
size_t len;
usr.bin/dsynth/config.c
348
size_t len;
usr.bin/dsynth/config.c
621
size_t len;
usr.bin/dsynth/config.c
654
size_t len;
usr.bin/dsynth/config.c
681
size_t size;
usr.bin/dsynth/config.c
682
size_t n;
usr.bin/dsynth/dsynth.c
560
size_t bi;
usr.bin/dsynth/dsynth.c
561
size_t i;
usr.bin/dsynth/dsynth.c
575
for (i = 0; i < (size_t)st.st_size; ++i) {
usr.bin/dsynth/dsynth.c
589
for (i = 0; i < (size_t)st.st_size; ++i) {
usr.bin/dsynth/dsynth.c
79
size_t len = sizeof(CapabilityRestrictions);
usr.bin/dsynth/dsynth.c
92
size_t len;
usr.bin/dsynth/dsynth.h
169
size_t pkgfile_size; /* size of pkgfile */
usr.bin/dsynth/dsynth.h
316
size_t pkg_dep_size; /* pkg dependency size(s) */
usr.bin/dsynth/dsynth.h
667
uint32_t iscsi_crc32(const void *buf, size_t size);
usr.bin/dsynth/dsynth.h
668
uint32_t iscsi_crc32_ext(const void *buf, size_t size, uint32_t ocrc);
usr.bin/dsynth/html.c
91
size_t len;
usr.bin/dsynth/icrc32.c
13
uint32_t iscsi_crc32(const void *buf, size_t size);
usr.bin/dsynth/icrc32.c
14
uint32_t iscsi_crc32_ext(const void *buf, size_t size, uint32_t ocrc);
usr.bin/dsynth/icrc32.c
212
singletable_crc32c(uint32_t crc, const void *buf, size_t size)
usr.bin/dsynth/icrc32.c
777
iscsi_crc32(const void *buf, size_t size)
usr.bin/dsynth/icrc32.c
783
iscsi_crc32_ext(const void *buf, size_t size, uint32_t ocrc)
usr.bin/dsynth/pkglist.c
1182
size_t len;
usr.bin/dsynth/pkglist.c
1251
size_t len;
usr.bin/dsynth/pkglist.c
251
size_t len;
usr.bin/dsynth/pkglist.c
303
size_t len;
usr.bin/dsynth/pkglist.c
973
size_t len;
usr.bin/dsynth/repo.c
128
size_t len;
usr.bin/dsynth/subs.c
169
size_t len;
usr.bin/dsynth/subs.c
189
size_t l2;
usr.bin/dsynth/subs.c
190
size_t l1;
usr.bin/dsynth/subs.c
326
size_t res;
usr.bin/dsynth/subs.c
339
res -= (size_t)r;
usr.bin/dsynth/subs.c
348
size_t res;
usr.bin/dsynth/subs.c
361
res -= (size_t)r;
usr.bin/dsynth/subs.c
411
size_t len;
usr.bin/du/du.c
324
static const size_t links_hash_initial_size = 8192;
usr.bin/du/du.c
327
static size_t number_buckets;
usr.bin/du/du.c
332
size_t i, new_size;
usr.bin/env/envopts.c
395
size_t namelen, newlen;
usr.bin/evtranalyze/evtranalyze.c
268
size_t len;
usr.bin/evtranalyze/svg.c
90
svg_transform_print(svg_transform_t tf, char *buf, size_t len)
usr.bin/fetch/fetch.c
214
stat_seconds(char *str, size_t strsz, long seconds)
usr.bin/fetch/fetch.c
235
stat_eta(char *str, size_t strsz, const struct xferstat *xs)
usr.bin/fetch/fetch.c
255
stat_bytes(char *str, size_t strsz, off_t bytes)
usr.bin/fetch/fetch.c
270
stat_bps(char *str, size_t strsz, struct xferstat *xs)
usr.bin/fetch/fetch.c
442
size_t size, readcnt, wr;
usr.bin/flame_graph/collect.c
109
if (bytes < sizeof(size_t) + sizeof(*fg))
usr.bin/flame_graph/collect.c
111
fg = (void *)((char *)ptr + sizeof(size_t));
usr.bin/flame_graph/collect.c
112
bytes -= sizeof(size_t) + sizeof(*fg);
usr.bin/flame_graph/collect.c
113
ptr = (char *)ptr + sizeof(size_t) + sizeof(*fg);
usr.bin/flame_graph/collect.c
52
size_t ncpus_size = sizeof(ncpus);
usr.bin/flame_graph/collect.c
90
size_t bytes;
usr.bin/flame_graph/collect.c
96
bytes = sizeof(size_t) +
usr.bin/flame_graph/process.c
42
size_t idlen;
usr.bin/flame_graph/process.c
89
size_t len;
usr.bin/fmt/fmt.c
187
#define SILLY ((size_t)-1)
usr.bin/fmt/fmt.c
195
static size_t
usr.bin/fmt/fmt.c
201
return (size_t) result;
usr.bin/fmt/fmt.c
204
static size_t
usr.bin/fmt/fmt.c
210
return (size_t) result;
usr.bin/fmt/fmt.c
216
static size_t goal_length=0; /* Target length for output lines */
usr.bin/fmt/fmt.c
217
static size_t max_length=0; /* Maximum length for output lines */
usr.bin/fmt/fmt.c
221
static size_t output_tab_width=8; /* Ditto, when squashing leading spaces */
usr.bin/fmt/fmt.c
228
static size_t x; /* Horizontal position in output line */
usr.bin/fmt/fmt.c
229
static size_t x0; /* Ditto, ignoring leading whitespace */
usr.bin/fmt/fmt.c
230
static size_t output_buffer_length = 0;
usr.bin/fmt/fmt.c
231
static size_t pending_spaces; /* Spaces to add before next word */
usr.bin/fmt/fmt.c
238
static size_t indent_length (const wchar_t *, size_t);
usr.bin/fmt/fmt.c
240
static void new_paragraph (size_t, size_t);
usr.bin/fmt/fmt.c
241
static void output_word (size_t, size_t, const wchar_t *, size_t,
usr.bin/fmt/fmt.c
242
size_t);
usr.bin/fmt/fmt.c
243
static void output_indent (size_t);
usr.bin/fmt/fmt.c
245
static wchar_t * get_line (FILE *, size_t *);
usr.bin/fmt/fmt.c
246
static void * xrealloc (void *, size_t);
usr.bin/fmt/fmt.c
257
size_t len;
usr.bin/fmt/fmt.c
273
if (len == (size_t)-1)
usr.bin/fmt/fmt.c
396
size_t last_indent=SILLY; /* how many spaces in last indent? */
usr.bin/fmt/fmt.c
397
size_t para_line_number=0; /* how many lines already read in this para? */
usr.bin/fmt/fmt.c
398
size_t first_indent=SILLY; /* indentation of line 0 of paragraph */
usr.bin/fmt/fmt.c
402
size_t length;
usr.bin/fmt/fmt.c
406
size_t np=indent_length(line, length);
usr.bin/fmt/fmt.c
454
{ size_t n=np;
usr.bin/fmt/fmt.c
457
size_t word_length=0, space_length=0;
usr.bin/fmt/fmt.c
477
static size_t
usr.bin/fmt/fmt.c
478
indent_length(const wchar_t *line, size_t length) {
usr.bin/fmt/fmt.c
479
size_t n=0;
usr.bin/fmt/fmt.c
500
new_paragraph(size_t old_indent, size_t indent) {
usr.bin/fmt/fmt.c
512
output_indent(size_t n_spaces) {
usr.bin/fmt/fmt.c
527
output_word(size_t indent0, size_t indent1, const wchar_t *word, size_t length, size_t spaces) {
usr.bin/fmt/fmt.c
528
size_t new_x;
usr.bin/fmt/fmt.c
529
size_t indent = output_in_paragraph ? indent1 : indent0;
usr.bin/fmt/fmt.c
530
size_t width;
usr.bin/fmt/fmt.c
600
size_t length;
usr.bin/fmt/fmt.c
601
size_t width;
usr.bin/fmt/fmt.c
604
size_t l=length;
usr.bin/fmt/fmt.c
628
get_line(FILE *stream, size_t *lengthp) {
usr.bin/fmt/fmt.c
630
static size_t length=0;
usr.bin/fmt/fmt.c
631
size_t len=0;
usr.bin/fmt/fmt.c
633
size_t spaces_pending=0;
usr.bin/fmt/fmt.c
635
size_t col=0;
usr.bin/fmt/fmt.c
661
xrealloc(void *ptr, size_t nbytes) {
usr.bin/fold/fold.c
199
size_t len;
usr.bin/fstat/fstat.c
1061
kread(const void *kaddr, void *uaddr, size_t nbytes)
usr.bin/fstat/fstat.h
92
ssize_t kread(const void *, void *, size_t);
usr.bin/gcore/elfcore.c
226
size_t hdrsize)
usr.bin/gcore/elfcore.c
228
size_t off;
usr.bin/gcore/elfcore.c
251
elf_puthdr(vm_map_entry_t map, void *dst, size_t *off, const prstatus_t *status,
usr.bin/gcore/elfcore.c
254
size_t ehoff;
usr.bin/gcore/elfcore.c
255
size_t phoff;
usr.bin/gcore/elfcore.c
256
size_t noteoff;
usr.bin/gcore/elfcore.c
257
size_t notesz;
usr.bin/gcore/elfcore.c
336
elf_putnote(void *dst, size_t *off, const char *name, int type,
usr.bin/gcore/elfcore.c
337
const void *desc, size_t descsz)
usr.bin/gcore/elfcore.c
443
size_t bufsize;
usr.bin/gcore/elfcore.c
67
size_t size; /* Total size of all writable segments. */
usr.bin/gcore/elfcore.c
75
void *hdr, size_t hdrsize);
usr.bin/gcore/elfcore.c
76
static void elf_puthdr(vm_map_entry_t, void *, size_t *,
usr.bin/gcore/elfcore.c
78
static void elf_putnote(void *dst, size_t *off, const char *name, int type,
usr.bin/gcore/elfcore.c
79
const void *desc, size_t descsz);
usr.bin/gcore/elfcore.c
93
size_t hdrsize;
usr.bin/gencat/gencat.c
109
static void *xmalloc(size_t);
usr.bin/gencat/gencat.c
110
static void *xrealloc(void *, size_t);
usr.bin/gencat/gencat.c
216
xmalloc(size_t len)
usr.bin/gencat/gencat.c
226
xrealloc(void *ptr, size_t size)
usr.bin/getaddrinfo/getaddrinfo.c
226
const char *const *table, size_t n)
usr.bin/getaddrinfo/getaddrinfo.c
230
size_t i;
usr.bin/getaddrinfo/getaddrinfo.c
270
((size_t)ai->ai_socktype < nitems(socket_types)) &&
usr.bin/getaddrinfo/getaddrinfo.c
280
((size_t)ai->ai_family < nitems(address_families)) &&
usr.bin/getaddrinfo/getaddrinfo.c
321
if (sizeof(buf) <= (size_t)n)
usr.bin/getaddrinfo/getaddrinfo.c
56
size_t);
usr.bin/getconf/getconf.c
140
size_t len;
usr.bin/gzip/gzip.c
1173
file_compress(char *file, char *outfile, size_t outsize)
usr.bin/gzip/gzip.c
1211
if ((size_t)snprintf(outfile, outsize, "%s%s",
usr.bin/gzip/gzip.c
1282
file_uncompress(char *file, char *outfile, size_t outsize)
usr.bin/gzip/gzip.c
1304
if ((size_t)snprintf(outfile, outsize, "%s", file) >= outsize)
usr.bin/gzip/gzip.c
1548
cat_fd(unsigned char * prepend, size_t count, off_t *gsizep, int fd)
usr.bin/gzip/gzip.c
1556
if (w == -1 || (size_t)w != count) {
usr.bin/gzip/gzip.c
189
static off_t gz_uncompress(int, int, char *, size_t, off_t *, const char *);
usr.bin/gzip/gzip.c
190
static off_t file_compress(char *, char *, size_t);
usr.bin/gzip/gzip.c
191
static off_t file_uncompress(char *, char *, size_t);
usr.bin/gzip/gzip.c
201
static ssize_t read_retry(int, void *, size_t);
usr.bin/gzip/gzip.c
2039
read_retry(int fd, void *buf, size_t sz)
usr.bin/gzip/gzip.c
2042
size_t left = MIN(sz, (size_t) SSIZE_MAX);
usr.bin/gzip/gzip.c
206
static off_t cat_fd(unsigned char *, size_t, off_t *, int fd);
usr.bin/gzip/gzip.c
216
static off_t unbzip2(int, int, char *, size_t, off_t *);
usr.bin/gzip/gzip.c
221
static off_t zuncompress(FILE *, FILE *, char *, size_t, off_t *);
usr.bin/gzip/gzip.c
225
static off_t unpack(int, int, char *, size_t, off_t *);
usr.bin/gzip/gzip.c
612
size_t len;
usr.bin/gzip/gzip.c
625
if (w == -1 || (size_t)w != len) {
usr.bin/gzip/gzip.c
681
gz_uncompress(int in, int out, char *pre, size_t prelen, off_t *gsizep,
usr.bin/gzip/unbzip2.c
36
unbzip2(int in, int out, char *pre, size_t prelen, off_t *bytes_in)
usr.bin/gzip/unpack.c
148
unpack_parse_header(int in, int out, char *pre, size_t prelen, off_t *bytes_in,
usr.bin/gzip/unpack.c
311
unpack(int in, int out, char *pre, size_t prelen, off_t *bytes_in)
usr.bin/gzip/zuncompress.c
131
zuncompress(FILE *in, FILE *out, char *pre, size_t prelen,
usr.bin/gzip/zuncompress.c
81
size_t compressed_prelen;
usr.bin/head/head.c
122
head(FILE *fp, size_t cnt)
usr.bin/head/head.c
125
size_t error, readlen;
usr.bin/head/head.c
136
head_bytes(FILE *fp, size_t cnt)
usr.bin/head/head.c
139
size_t readlen;
usr.bin/head/head.c
47
static void head(FILE *, size_t);
usr.bin/head/head.c
48
static void head_bytes(FILE *, size_t);
usr.bin/hexdump/odsyntax.c
309
size_t isize;
usr.bin/hexdump/odsyntax.c
330
isize = (size_t)strtoul(fmt, &end, 10);
usr.bin/hexdump/odsyntax.c
369
size_t isize;
usr.bin/hexdump/odsyntax.c
394
isize = (size_t)strtoul(fmt, &end, 10);
usr.bin/iconv/iconv.c
101
if (ret == (size_t)-1 && errno != E2BIG) {
usr.bin/iconv/iconv.c
128
if (ret == (size_t)-1)
usr.bin/iconv/iconv.c
77
size_t inbytes, outbytes, ret;
usr.bin/iconv/iconv.c
91
size_t inval;
usr.bin/indent/indent.c
1155
if ((size_t)ifdef_level < nitems(state_stack)) {
usr.bin/join/join.c
267
size_t len;
usr.bin/join/join.c
358
size_t n;
usr.bin/join/join.c
364
if (n == (size_t)-1 || n == (size_t)-2)
usr.bin/join/join.c
411
size_t n;
usr.bin/join/join.c
413
if ((n = mbsrtowcs(NULL, &s, 0, NULL)) == (size_t)-1)
usr.bin/join/join.c
565
size_t len;
usr.bin/jot/jot.c
346
size_t sz;
usr.bin/kcollect/gnuplot.c
181
size_t ncpu_size = sizeof(ncpu);
usr.bin/kcollect/gnuplot.c
74
dump_gnuplot(kcollect_t *ary, size_t count)
usr.bin/kcollect/kcollect.c
230
size_t loop_bytes;
usr.bin/kcollect/kcollect.c
485
dump_influxdb(kcollect_t *ary, size_t count, size_t total_count __unused,
usr.bin/kcollect/kcollect.c
491
size_t ts_nsec;
usr.bin/kcollect/kcollect.c
53
static void dump_text(kcollect_t *, size_t, size_t, const char *);
usr.bin/kcollect/kcollect.c
540
dump_text(kcollect_t *ary, size_t count, size_t total_count,
usr.bin/kcollect/kcollect.c
55
static void dump_influxdb(kcollect_t *, size_t, size_t, const char *);
usr.bin/kcollect/kcollect.c
57
static void (*dumpfn)(kcollect_t *, size_t, size_t, const char *);
usr.bin/kcollect/kcollect.c
59
static void dump_dbm(kcollect_t *, size_t, const char *);
usr.bin/kcollect/kcollect.c
60
static void load_dbm(const char *datafile, kcollect_t **, size_t *);
usr.bin/kcollect/kcollect.c
66
static kcollect_t *load_kernel(kcollect_t *, kcollect_t *, size_t *);
usr.bin/kcollect/kcollect.c
662
dump_dbm(kcollect_t *ary, size_t count, const char *datafile)
usr.bin/kcollect/kcollect.c
788
load_kernel(kcollect_t *scaleid, kcollect_t *ary, size_t *counter)
usr.bin/kcollect/kcollect.c
813
size_t *counter)
usr.bin/kcollect/kcollect.c
819
size_t recCounter = DATA_BASE_INDEX;
usr.bin/kcollect/kcollect.c
82
size_t bytes = 0;
usr.bin/kcollect/kcollect.c
83
size_t count;
usr.bin/kcollect/kcollect.c
84
size_t total_count;
usr.bin/kcollect/kcollect.h
49
void dump_gnuplot(kcollect_t *ary, size_t count);
usr.bin/kdump/kdump.c
1048
size_t s;
usr.bin/kdump/kdump.c
961
size_t mapsize;
usr.bin/killall/killall.c
146
size_t miblen;
usr.bin/killall/killall.c
148
size_t size;
usr.bin/ktrdump/ktrdump.c
1068
va_arg(va, size_t));
usr.bin/ktrdump/ktrdump.c
1158
static size_t
usr.bin/ktrdump/ktrdump.c
1162
size_t convsize, intsz;
usr.bin/ktrdump/ktrdump.c
1221
intsz = sizeof(size_t);
usr.bin/ktrdump/ktrdump.c
1275
va_list_push_integral(struct my_va_list *valist, void *val, size_t valsize,
usr.bin/ktrdump/ktrdump.c
1276
size_t *stacksize)
usr.bin/ktrdump/ktrdump.c
1335
va_list_from_blob(machine_va_list *_valist, const char *fmt, char *blob, size_t blobsize)
usr.bin/ktrdump/ktrdump.c
1341
size_t stacksize, sz;
usr.bin/ktrdump/ktrdump.c
159
static int va_list_from_blob(machine_va_list *valist, const char *fmt, char *blob, size_t blobsize);
usr.bin/ktrdump/ktrdump.c
532
size_t skipsize, intsz;
usr.bin/ktrdump/ktrdump.c
593
intsz = sizeof(size_t);
usr.bin/ktrdump/ktrdump.c
764
size_t buflen = sizeof(buf);
usr.bin/last/last.c
329
size_t len = sizeof(*bufx) * MAXUTMP;
usr.bin/ldd/ldd.c
127
if ((size_t)n >= sizeof hdr.elf && IS_ELF(hdr.elf)) {
usr.bin/locale/locale.c
305
size_t i;
usr.bin/locale/locale.c
332
size_t i;
usr.bin/locale/locale.c
433
size_t i;
usr.bin/locale/locale.c
562
size_t i;
usr.bin/locale/locale.c
629
size_t i;
usr.bin/locale/locale.c
644
size_t i;
usr.bin/localedef/collate.c
1081
wsncpy(wchar_t *s1, const wchar_t *s2, size_t n)
usr.bin/localedef/collate.c
1114
size_t sz;
usr.bin/localedef/localedef.c
208
wr_category(void *buf, size_t sz, FILE *f)
usr.bin/localedef/localedef.h
123
wchar_t * wsncpy(wchar_t *, const wchar_t *, size_t);
usr.bin/localedef/localedef.h
63
int wr_category(void *, size_t, FILE *);
usr.bin/locate/locate/locate.c
281
if ((p = mmap((caddr_t)0, (size_t)len,
usr.bin/locate/locate/locate.c
301
if (munmap(p, (size_t)len) == -1)
usr.bin/logger/logger.c
130
size_t len;
usr.bin/login/login.c
775
size_t n;
usr.bin/look/look.c
146
if ((front = mmap(NULL, (size_t)sb.st_size, PROT_READ, MAP_SHARED, fd, (off_t)0)) == MAP_FAILED)
usr.bin/look/look.c
162
size_t clen;
usr.bin/look/look.c
173
if (clen == (size_t)-1 || clen == (size_t)-2)
usr.bin/look/look.c
323
size_t len2;
usr.bin/look/look.c
328
if (len2 == (size_t)-1 || len2 == (size_t)-2) {
usr.bin/lsvfs/lsvfs.c
80
size_t i;
usr.bin/m4/eval.c
104
size_t mark = SIZE_MAX;
usr.bin/m4/extern.h
107
extern void *xalloc(size_t, const char *fmt, ...) __printf0like(2, 3);
usr.bin/m4/extern.h
108
extern void *xrealloc(void *, size_t, const char *fmt, ...)
usr.bin/m4/extern.h
113
extern size_t buffer_mark(void);
usr.bin/m4/extern.h
114
extern void dump_buffer(FILE *, size_t);
usr.bin/m4/extern.h
146
extern size_t trace(const char **, int, struct input_file *);
usr.bin/m4/extern.h
147
extern void finish_trace(size_t);
usr.bin/m4/gnum4.c
191
static size_t bufsize = 0;
usr.bin/m4/gnum4.c
192
static size_t current = 0;
usr.bin/m4/gnum4.c
194
static void addchars(const char *, size_t);
usr.bin/m4/gnum4.c
207
addchars(const char *c, size_t n)
usr.bin/m4/gnum4.c
247
size_t errlen;
usr.bin/m4/gnum4.c
443
size_t len;
usr.bin/m4/gnum4.c
457
size_t l = strlen(argv[3]);
usr.bin/m4/gnum4.c
517
size_t l;
usr.bin/m4/lib/ohash.h
32
void *(*halloc)(size_t, void *);
usr.bin/m4/lib/ohash.h
33
void (*hfree)(void *, size_t, void *);
usr.bin/m4/lib/ohash.h
34
void *(*alloc)(size_t, void *);
usr.bin/m4/lib/ohash.h
60
size_t, uint32_t);
usr.bin/m4/lib/ohash_lookup_memory.c
25
ohash_lookup_memory(struct ohash *h, const char *k, size_t size, uint32_t hv)
usr.bin/m4/look.c
54
static void *hash_alloc(size_t, void *);
usr.bin/m4/look.c
55
static void hash_free(void *, size_t, void *);
usr.bin/m4/look.c
56
static void *element_alloc(size_t, void *);
usr.bin/m4/look.c
68
hash_alloc(size_t s, __unused void *u)
usr.bin/m4/look.c
77
hash_free(void *p, __unused size_t s, __unused void *u)
usr.bin/m4/look.c
83
element_alloc(size_t s, __unused void *u)
usr.bin/m4/main.c
63
static size_t STACKMAX; /* current maximum size of stack */
usr.bin/m4/manual_tokenizer.c
158
typedef size_t yy_size_t;
usr.bin/m4/manual_tokenizer.c
253
static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
usr.bin/m4/manual_tokenizer.c
254
static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
usr.bin/m4/manual_tokenizer.c
358
yyleng = (size_t) (yy_cp - yy_bp); \
usr.bin/m4/manual_tokenizer.c
603
size_t n; \
usr.bin/m4/misc.c
101
size_t n;
usr.bin/m4/misc.c
296
xalloc(size_t n, const char *fmt, ...)
usr.bin/m4/misc.c
315
xrealloc(void *old, size_t n, const char *fmt, ...)
usr.bin/m4/misc.c
413
size_t
usr.bin/m4/misc.c
421
dump_buffer(FILE *f, size_t m)
usr.bin/m4/misc.c
56
static size_t strsize = STRSPMAX;
usr.bin/m4/misc.c
57
static size_t bufsize = BUFSIZE;
usr.bin/m4/trace.c
147
size_t
usr.bin/m4/trace.c
189
finish_trace(size_t mark)
usr.bin/mail/cmd3.c
88
bangexp(char *str, size_t strsize)
usr.bin/mail/extern.h
155
void istrncpy(char *, const char *, size_t);
usr.bin/mail/extern.h
86
int bangexp(char *, size_t);
usr.bin/mail/fio.c
217
size_t size;
usr.bin/mail/list.c
385
size_t linebufsize = BUFSIZ;
usr.bin/mail/util.c
229
istrncpy(char *dest, const char *src, size_t dsize)
usr.bin/mkcsmapper/yacc.y
222
put8(void *ptr, size_t ofs, u_int32_t val)
usr.bin/mkcsmapper/yacc.y
229
put16(void *ptr, size_t ofs, u_int32_t val)
usr.bin/mkcsmapper/yacc.y
237
put32(void *ptr, size_t ofs, u_int32_t val)
usr.bin/mkcsmapper/yacc.y
248
size_t i;
usr.bin/mkcsmapper/yacc.y
305
size_t i, len, ofs;
usr.bin/mkcsmapper/yacc.y
341
size_t ofs;
usr.bin/mkcsmapper/yacc.y
368
size_t size;
usr.bin/mkcsmapper/yacc.y
451
size_t i;
usr.bin/mkcsmapper/yacc.y
556
size_t i;
usr.bin/mkcsmapper/yacc.y
586
size_t i, ofs;
usr.bin/mkcsmapper/yacc.y
67
static size_t rowcol_len = 0;
usr.bin/mkcsmapper/yacc.y
68
static size_t table_size;
usr.bin/mkcsmapper/yacc.y
74
static void (*putfunc)(void *, size_t, u_int32_t) = NULL;
usr.bin/mkcsmapper/yacc.y
95
static void put8(void *, size_t, u_int32_t);
usr.bin/mkcsmapper/yacc.y
96
static void put16(void *, size_t, u_int32_t);
usr.bin/mkcsmapper/yacc.y
97
static void put32(void *, size_t, u_int32_t);
usr.bin/mkesdb/yacc.y
141
size_t size;
usr.bin/mkstr/mkstr.c
84
size_t namelen;
usr.bin/mt/mt.c
537
size_t l = strlen(s);
usr.bin/mt/mt.c
584
size_t l = strlen(s);
usr.bin/netstat/inet.c
100
size_t i, len;
usr.bin/netstat/inet.c
177
size_t size = sizeof(clockinfo);
usr.bin/netstat/inet.c
398
size_t len = sizeof(struct tcp_stats) * SMP_MAXCPU;
usr.bin/netstat/inet.c
570
size_t len = sizeof(struct udpstat) * SMP_MAXCPU;
usr.bin/netstat/inet.c
638
size_t len = sizeof(struct carpstats);
usr.bin/netstat/inet.c
683
size_t len = sizeof(struct ip_stats) * SMP_MAXCPU;
usr.bin/netstat/inet.c
782
size_t len;
usr.bin/netstat/inet.c
855
size_t len = sizeof igmpstat;
usr.bin/netstat/inet.c
891
size_t len = sizeof pimstat;
usr.bin/netstat/inet6.c
342
size_t len;
usr.bin/netstat/inet6.c
815
size_t i, len;
usr.bin/netstat/inet6.c
986
size_t l;
usr.bin/netstat/main.c
217
size_t nsz;
usr.bin/netstat/mbuf.c
71
size_t nmbclen, nmbjclen, nmbuflen, mbstatlen, mbtypeslen;
usr.bin/netstat/route.c
518
size_t needed;
usr.bin/netstat/unix.c
66
size_t i, len;
usr.bin/nfsstat/nfsstat.c
164
size_t buflen = sizeof *stp;
usr.bin/nfsstat/nfsstat.c
172
if (sysctl(name, 3, stp, &buflen, NULL, (size_t)0) < 0) {
usr.bin/nl/nl.c
131
size_t intbuffersize, clen;
usr.bin/nl/nl.c
133
size_t delim1len = 1, delim2len = 1;
usr.bin/nl/nl.c
147
if (clen == (size_t)-1 || clen == (size_t)-2)
usr.bin/nl/nl.c
153
if (clen == (size_t)-1 ||
usr.bin/nl/nl.c
154
clen == (size_t)-2)
usr.bin/nl/nl.c
269
size_t buffersize;
usr.bin/nohup/nohup.c
103
(size_t)snprintf(path, sizeof(path), "%s/%s", p, FILENAME) <
usr.bin/paste/paste.c
65
size_t len;
usr.bin/paste/paste.c
75
if (len == (size_t)-1)
usr.bin/paste/paste.c
82
if (len == (size_t)-1)
usr.bin/patch/backupfile.c
144
version_number(const char *base, const char *backup, size_t base_length)
usr.bin/patch/backupfile.c
183
size_t arglen; /* Length of ARG. */
usr.bin/patch/backupfile.c
44
static int version_number(const char *, const char *, size_t);
usr.bin/patch/backupfile.c
99
size_t file_name_length;
usr.bin/patch/common.h
63
extern size_t buf_size; /* size of general purpose buffer */
usr.bin/patch/inp.c
115
reallocate_lines(size_t *lines_allocated)
usr.bin/patch/inp.c
118
size_t new_size;
usr.bin/patch/inp.c
144
size_t i;
usr.bin/patch/inp.c
145
size_t iline, lines_allocated;
usr.bin/patch/inp.c
180
i_size = (size_t)filestat.st_size;
usr.bin/patch/inp.c
287
size_t i = 0, j, len, maxlen = 1;
usr.bin/patch/inp.c
422
size_t patlen;
usr.bin/patch/inp.c
56
static size_t i_size; /* size of the input file */
usr.bin/patch/inp.c
64
static size_t lines_per_buf; /* how many lines per buffer */
usr.bin/patch/inp.c
65
static size_t tibuflen; /* plan b buffer length */
usr.bin/patch/inp.c
66
static size_t tireclen; /* length of records in tmp file */
usr.bin/patch/inp.c
69
static bool reallocate_lines(size_t *);
usr.bin/patch/patch.c
53
size_t buf_size; /* size of the general purpose buffer */
usr.bin/patch/patch.c
805
size_t len;
usr.bin/patch/pch.c
1219
size_t
usr.bin/patch/pch.c
1223
size_t len;
usr.bin/patch/pch.c
1565
size_t min_components, min_baselen, min_len, tmp;
usr.bin/patch/pch.c
1620
static size_t
usr.bin/patch/pch.c
1623
size_t n;
usr.bin/patch/pch.c
323
size_t off = 4;
usr.bin/patch/pch.c
331
size_t off = 4;
usr.bin/patch/pch.c
482
size_t len;
usr.bin/patch/pch.c
551
size_t len;
usr.bin/patch/pch.c
79
static size_t pgets(bool _do_indent);
usr.bin/patch/pch.c
82
static size_t num_components(const char *);
usr.bin/pathchk/pathchk.c
172
if (pathmax != -1 && strlen(path) >= (size_t)pathmax) {
usr.bin/pctrack/pctrack.c
246
size_t buflen = sizeof(buf);
usr.bin/pkill/pkill.c
134
size_t jsz;
usr.bin/printenv/printenv.c
56
size_t len;
usr.bin/printf/printf.c
361
size_t len;
usr.bin/printf/printf.c
439
static size_t copy_size;
usr.bin/printf/printf.c
441
size_t len, newlen;
usr.bin/printf/printf.c
462
escape(char *fmt, int percent, size_t *len)
usr.bin/printf/printf.c
656
case (size_t)-2:
usr.bin/printf/printf.c
657
case (size_t)-1:
usr.bin/printf/printf.c
77
static int escape(char *, int, size_t *);
usr.bin/printf/printf.c
99
size_t len;
usr.bin/rev/rev.c
92
size_t len;
usr.bin/rfcomm_sppd/rfcomm_sppd.c
475
if ((nw = write(dst, buf + off, (size_t)nr)) == -1) {
usr.bin/rpcgen/rpc_util.c
454
xmalloc(size_t size)
usr.bin/rpcgen/rpc_util.c
466
xrealloc(void *ptr, size_t size)
usr.bin/rpcgen/rpc_util.h
155
void *xmalloc(size_t);
usr.bin/rpcgen/rpc_util.h
156
void *xrealloc(void *, size_t);
usr.bin/ruptime/ruptime.c
136
if ((hsp->hs_wd = malloc((size_t)WHDRSIZE)) == NULL)
usr.bin/ruptime/ruptime.c
138
memmove(hsp->hs_wd, buf, (size_t)WHDRSIZE);
usr.bin/ruptime/ruptime.c
58
static size_t nhosts;
usr.bin/ruptime/ruptime.c
77
size_t hspace;
usr.bin/rwall/rwall.c
133
size_t mbufsize;
usr.bin/rwall/rwall.c
175
mbufsize = (size_t)sbuf.st_size;
usr.bin/rwho/rwho.c
78
size_t cc;
usr.bin/script/script.c
338
record(FILE *fp, char *buf, size_t cc, int direction)
usr.bin/script/script.c
360
size_t l;
usr.bin/script/script.c
393
size_t l;
usr.bin/script/script.c
77
static void record(FILE *, char *, size_t, int);
usr.bin/sdiff/edit.c
146
size_t len;
usr.bin/sdiff/edit.c
151
(size_t)nwritten != len) {
usr.bin/sdiff/edit.c
175
size_t nwritten;
usr.bin/sdiff/edit.c
87
size_t nread;
usr.bin/sdiff/sdiff.c
1049
printa(FILE *file, size_t line2)
usr.bin/sdiff/sdiff.c
1066
printc(FILE *file1, size_t file1end, FILE *file2, size_t file2end)
usr.bin/sdiff/sdiff.c
1139
printd(FILE *file1, size_t file1end)
usr.bin/sdiff/sdiff.c
186
wcount = write(ofd, buf, (size_t)rcount);
usr.bin/sdiff/sdiff.c
211
size_t diffargc = 0, flagc = 0, wval = WIDTH;
usr.bin/sdiff/sdiff.c
518
printcol(const char *s, size_t *col, const size_t col_max)
usr.bin/sdiff/sdiff.c
522
size_t new_col;
usr.bin/sdiff/sdiff.c
57
static void printa(FILE *, size_t);
usr.bin/sdiff/sdiff.c
58
static void printc(FILE *, size_t, FILE *, size_t);
usr.bin/sdiff/sdiff.c
59
static void printcol(const char *, size_t *, const size_t);
usr.bin/sdiff/sdiff.c
60
static void printd(FILE *, size_t);
usr.bin/sdiff/sdiff.c
642
size_t col;
usr.bin/sdiff/sdiff.c
68
static size_t line_width; /* width of a line (two columns and divider) */
usr.bin/sdiff/sdiff.c
686
size_t linecap;
usr.bin/sdiff/sdiff.c
69
static size_t width; /* width of each column */
usr.bin/sdiff/sdiff.c
70
static size_t file1ln, file2ln; /* line number of file1 and file2 */
usr.bin/sdiff/sdiff.c
714
size_t file1start, file1end, file2start, file2end, n;
usr.bin/sdiff/sdiff.c
924
static size_t offset = 0;
usr.bin/sdiff/sdiff.c
925
size_t newsiz;
usr.bin/sed/compile.c
765
size_t oclen, oldlen, nclen, newlen;
usr.bin/sed/compile.c
788
if (oldlen == (size_t)-1)
usr.bin/sed/compile.c
792
if (newlen == (size_t)-1)
usr.bin/sed/compile.c
820
if (oclen == (size_t)-1 || oclen == (size_t)-2)
usr.bin/sed/compile.c
823
if (nclen == (size_t)-1 || nclen == (size_t)-2)
usr.bin/sed/compile.c
949
size_t len;
usr.bin/sed/defs.h
133
size_t len;
usr.bin/sed/defs.h
146
size_t len; /* Current length. */
usr.bin/sed/defs.h
150
size_t blen; /* Backing memory length. */
usr.bin/sed/defs.h
81
size_t fromlen;
usr.bin/sed/defs.h
83
size_t tolen;
usr.bin/sed/extern.h
42
extern size_t maxnsub;
usr.bin/sed/extern.h
54
void cspace(SPACE *, const char *, size_t, enum e_spflag);
usr.bin/sed/main.c
248
if (((size_t)snprintf(string_ident,
usr.bin/sed/main.c
327
static size_t plen = 0;
usr.bin/sed/misc.c
62
size_t s;
usr.bin/sed/process.c
100
size_t oldpsl;
usr.bin/sed/process.c
500
size_t clen, left;
usr.bin/sed/process.c
586
lputs(char *s, size_t len)
usr.bin/sed/process.c
593
size_t clen, i;
usr.bin/sed/process.c
617
if (clen == (size_t)-1 || clen == (size_t)-2) {
usr.bin/sed/process.c
667
size_t start, size_t stop)
usr.bin/sed/process.c
73
static void lputs(char *, size_t);
usr.bin/sed/process.c
74
static int regexec_e(regex_t *, const char *, int, int, size_t,
usr.bin/sed/process.c
745
cspace(SPACE *sp, const char *p, size_t len, enum e_spflag spflag)
usr.bin/sed/process.c
747
size_t tlen;
usr.bin/sed/process.c
75
size_t);
usr.bin/sed/process.c
87
size_t maxnsub;
usr.bin/sockstat/sockstat.c
189
size_t len;
usr.bin/sockstat/sockstat.c
226
so_begin + sizeof(size_t) < so_end &&
usr.bin/sockstat/sockstat.c
227
so_begin + *(size_t *)so_begin <= so_end;
usr.bin/sockstat/sockstat.c
228
so_begin = so_begin + *(size_t *)so_begin) {
usr.bin/sockstat/sockstat.c
300
size_t len;
usr.bin/sockstat/sockstat.c
328
so_begin + sizeof(size_t) < so_end &&
usr.bin/sockstat/sockstat.c
329
so_begin + *(size_t *)so_begin <= so_end;
usr.bin/sockstat/sockstat.c
330
so_begin = so_begin + *(size_t *)so_begin) {
usr.bin/sockstat/sockstat.c
432
size_t len;
usr.bin/sockstat/sockstat.c
91
static size_t nxfiles;
usr.bin/soelim/soelim.c
58
size_t i;
usr.bin/soelim/soelim.c
88
size_t linecap = 0;
usr.bin/sort/bwstring.c
1005
size_t newlen = str->len;
usr.bin/sort/bwstring.c
1058
size_t newlen = str->len;
usr.bin/sort/bwstring.c
1136
bws_disorder_warnx(struct bwstring *s, const char *fn, size_t pos)
usr.bin/sort/bwstring.c
122
for (size_t i = 0; ; ++i) {
usr.bin/sort/bwstring.c
156
size_t bwsrawlen(const struct bwstring *bws)
usr.bin/sort/bwstring.c
162
size_t
usr.bin/sort/bwstring.c
171
bws_setlen(struct bwstring *bws, size_t newlen)
usr.bin/sort/bwstring.c
187
bwsalloc(size_t sz)
usr.bin/sort/bwstring.c
233
bwssbdup(const wchar_t *str, size_t len)
usr.bin/sort/bwstring.c
244
for (size_t i = 0; i < len; ++i)
usr.bin/sort/bwstring.c
257
bwscsbdup(const unsigned char *str, size_t len)
usr.bin/sort/bwstring.c
269
size_t charlen, chars, cptr;
usr.bin/sort/bwstring.c
278
size_t n = MB_CUR_MAX;
usr.bin/sort/bwstring.c
286
case (size_t) -1:
usr.bin/sort/bwstring.c
288
case (size_t) -2:
usr.bin/sort/bwstring.c
296
if ((n == (size_t)-1) || (n == (size_t)-2))
usr.bin/sort/bwstring.c
326
size_t
usr.bin/sort/bwstring.c
329
size_t nums = src->len;
usr.bin/sort/bwstring.c
354
bwsncpy(struct bwstring *dst, const struct bwstring *src, size_t size)
usr.bin/sort/bwstring.c
356
size_t nums = src->len;
usr.bin/sort/bwstring.c
384
bwsnocpy(struct bwstring *dst, const struct bwstring *src, size_t offset,
usr.bin/sort/bwstring.c
385
size_t size)
usr.bin/sort/bwstring.c
392
size_t nums = src->len - offset;
usr.bin/sort/bwstring.c
417
size_t
usr.bin/sort/bwstring.c
422
size_t len = bws->len;
usr.bin/sort/bwstring.c
438
size_t printed = 0;
usr.bin/sort/bwstring.c
473
bwsfgetln(FILE *f, size_t *len, bool zero_ended, struct reader_buffer *rb)
usr.bin/sort/bwstring.c
579
size_t offset, size_t len)
usr.bin/sort/bwstring.c
58
size_t len;
usr.bin/sort/bwstring.c
581
size_t cmp_len, len1, len2;
usr.bin/sort/bwstring.c
635
bwscmp(const struct bwstring *bws1, const struct bwstring *bws2, size_t offset)
usr.bin/sort/bwstring.c
637
size_t len1, len2, cmp_len;
usr.bin/sort/bwstring.c
664
bws_iterator_cmp(bwstring_iterator iter1, bwstring_iterator iter2, size_t len)
usr.bin/sort/bwstring.c
667
size_t i = 0;
usr.bin/sort/bwstring.c
682
bwscoll(const struct bwstring *bws1, const struct bwstring *bws2, size_t offset)
usr.bin/sort/bwstring.c
684
size_t len1, len2;
usr.bin/sort/bwstring.c
722
size_t i, maxlen;
usr.bin/sort/bwstring.c
781
size_t i, maxlen;
usr.bin/sort/bwstring.c
95
((size_t) - 1)) {
usr.bin/sort/bwstring.c
962
size_t newlen;
usr.bin/sort/bwstring.c
985
size_t newlen = BWSLEN(str) - (src - dst);
usr.bin/sort/bwstring.h
116
bws_iterator_inc(bwstring_iterator iter, size_t pos)
usr.bin/sort/bwstring.h
136
bws_iterator_cmp(bwstring_iterator iter1, bwstring_iterator iter2, size_t len);
usr.bin/sort/bwstring.h
51
size_t len;
usr.bin/sort/bwstring.h
62
size_t fgetwln_z_buffer_size;
usr.bin/sort/bwstring.h
69
struct bwstring *bwsalloc(size_t sz);
usr.bin/sort/bwstring.h
71
size_t bwsrawlen(const struct bwstring *bws);
usr.bin/sort/bwstring.h
73
void bws_setlen(struct bwstring *bws, size_t newlen);
usr.bin/sort/bwstring.h
74
size_t bws_memsize(const struct bwstring *bws);
usr.bin/sort/bwstring.h
84
void bws_disorder_warnx(struct bwstring *s, const char *fn, size_t pos);
usr.bin/sort/bwstring.h
87
struct bwstring *bwssbdup(const wchar_t *str, size_t size);
usr.bin/sort/bwstring.h
88
struct bwstring *bwscsbdup(const unsigned char *str, size_t size);
usr.bin/sort/bwstring.h
90
size_t bwscpy(struct bwstring *dst, const struct bwstring *src);
usr.bin/sort/bwstring.h
91
struct bwstring *bwsncpy(struct bwstring *dst, const struct bwstring *src, size_t size);
usr.bin/sort/bwstring.h
92
struct bwstring *bwsnocpy(struct bwstring *dst, const struct bwstring *src, size_t offset, size_t size);
usr.bin/sort/bwstring.h
93
int bwscmp(const struct bwstring *bws1, const struct bwstring *bws2, size_t offset);
usr.bin/sort/bwstring.h
94
int bwsncmp(const struct bwstring *bws1, const struct bwstring *bws2, size_t offset, size_t len);
usr.bin/sort/bwstring.h
95
int bwscoll(const struct bwstring *bws1, const struct bwstring *bws2, size_t offset);
usr.bin/sort/bwstring.h
96
size_t bwsfwrite(struct bwstring *bws, FILE *f, bool zero_ended);
usr.bin/sort/bwstring.h
97
struct bwstring *bwsfgetln(FILE *file, size_t *len, bool zero_ended, struct reader_buffer *rb);
usr.bin/sort/coll.c
1053
size_t offset __unused)
usr.bin/sort/coll.c
112
for (size_t i = 0; i < keys_num; ++i)
usr.bin/sort/coll.c
1127
size_t offset __unused)
usr.bin/sort/coll.c
123
set_key_on_keys_array(struct keys_array *ka, struct bwstring *s, size_t ind)
usr.bin/sort/coll.c
1283
monthcoll(struct key_value *kv1, struct key_value *kv2, size_t offset __unused)
usr.bin/sort/coll.c
144
size_t sz;
usr.bin/sort/coll.c
153
size_t
usr.bin/sort/coll.c
156
size_t ret = 0;
usr.bin/sort/coll.c
162
for (size_t i = 0; i < keys_num; ++i) {
usr.bin/sort/coll.c
227
static size_t
usr.bin/sort/coll.c
228
skip_cols_to_start(const struct bwstring *s, size_t cols, size_t start,
usr.bin/sort/coll.c
252
static size_t
usr.bin/sort/coll.c
253
skip_fields_to_start(const struct bwstring *s, size_t fields, bool *empty_field)
usr.bin/sort/coll.c
261
size_t cpos = 0;
usr.bin/sort/coll.c
281
size_t cpos = 0;
usr.bin/sort/coll.c
302
size_t *field_start, size_t *key_start, bool *empty_field, bool *empty_key)
usr.bin/sort/coll.c
316
static size_t
usr.bin/sort/coll.c
319
size_t f2, next_field_start, pos_end;
usr.bin/sort/coll.c
366
size_t field_start, key_end, key_start, sz;
usr.bin/sort/coll.c
403
for (size_t i = 0; i < keys_num; i++) {
usr.bin/sort/coll.c
482
key_coll(struct keys_array *ps1, struct keys_array *ps2, size_t offset)
usr.bin/sort/coll.c
487
for (size_t i = 0; i < keys_num; ++i) {
usr.bin/sort/coll.c
50
size_t keys_num = 0;
usr.bin/sort/coll.c
568
size_t offset)
usr.bin/sort/coll.c
58
static int wstrcoll(struct key_value *kv1, struct key_value *kv2, size_t offset);
usr.bin/sort/coll.c
59
static int gnumcoll(struct key_value*, struct key_value *, size_t offset);
usr.bin/sort/coll.c
60
static int monthcoll(struct key_value*, struct key_value *, size_t offset);
usr.bin/sort/coll.c
61
static int numcoll(struct key_value*, struct key_value *, size_t offset);
usr.bin/sort/coll.c
62
static int hnumcoll(struct key_value*, struct key_value *, size_t offset);
usr.bin/sort/coll.c
634
get_list_call_func(size_t offset)
usr.bin/sort/coll.c
64
static int randomcoll(struct key_value*, struct key_value *, size_t offset);
usr.bin/sort/coll.c
66
static int versioncoll(struct key_value*, struct key_value *, size_t offset);
usr.bin/sort/coll.c
708
read_number(struct bwstring *s0, int *sign, wchar_t *smain, size_t *main_len, wchar_t *sfrac, size_t *frac_len, unsigned char *si)
usr.bin/sort/coll.c
75
size_t sz;
usr.bin/sort/coll.c
772
wstrcoll(struct key_value *kv1, struct key_value *kv2, size_t offset)
usr.bin/sort/coll.c
802
size_t offset __unused, bool use_suffix)
usr.bin/sort/coll.c
808
size_t frac1, frac2, main1, main2;
usr.bin/sort/coll.c
87
static size_t
usr.bin/sort/coll.c
957
numcoll(struct key_value *kv1, struct key_value *kv2, size_t offset)
usr.bin/sort/coll.c
967
hnumcoll(struct key_value *kv1, struct key_value *kv2, size_t offset)
usr.bin/sort/coll.c
97
size_t
usr.bin/sort/coll.c
999
size_t offset __unused)
usr.bin/sort/coll.h
110
size_t c1;
usr.bin/sort/coll.h
111
size_t c2;
usr.bin/sort/coll.h
112
size_t f1;
usr.bin/sort/coll.h
113
size_t f2;
usr.bin/sort/coll.h
133
extern size_t keys_num;
usr.bin/sort/coll.h
148
size_t keys_array_size(void);
usr.bin/sort/coll.h
149
void set_key_on_keys_array(struct keys_array *ka, struct bwstring *s, size_t ind);
usr.bin/sort/coll.h
155
size_t sort_list_item_size(struct sort_list_item *si);
usr.bin/sort/coll.h
159
int key_coll(struct keys_array *ks1, struct keys_array *ks2, size_t offset);
usr.bin/sort/coll.h
163
int list_coll_offset(struct sort_list_item **ss1, struct sort_list_item **ss2, size_t offset);
usr.bin/sort/coll.h
165
listcoll_t get_list_call_func(size_t offset);
usr.bin/sort/file.c
1013
file_header_list_rearrange_from_header(struct file_header **fh, size_t size)
usr.bin/sort/file.c
1023
file_header_list_push(struct file_header *f, struct file_header **fh, size_t size)
usr.bin/sort/file.c
1086
file_headers_merge(size_t fnum, struct file_header **fh, FILE *f_out)
usr.bin/sort/file.c
1089
size_t i;
usr.bin/sort/file.c
1117
merge_files_array(size_t argc, char **argv, const char *fn_out)
usr.bin/sort/file.c
1123
size_t i;
usr.bin/sort/file.c
1133
file_header_init(fh + i, argv[i], (size_t) i);
usr.bin/sort/file.c
1153
if ((fl == NULL) || (size_t) (fl->count) < max_open_files)
usr.bin/sort/file.c
1157
size_t indx = 0;
usr.bin/sort/file.c
1162
size_t num;
usr.bin/sort/file.c
1167
if ((size_t) num >= max_open_files)
usr.bin/sort/file.c
1171
size_t i;
usr.bin/sort/file.c
119
int (*sort_func)(void *, size_t, size_t,
usr.bin/sort/file.c
1222
static int sort_qsort(void *list, size_t count, size_t elem_size,
usr.bin/sort/file.c
1301
static int (*g_sort_func)(void *, size_t, size_t,
usr.bin/sort/file.c
1350
sub_list_swap(struct sort_list **sl, size_t i1, size_t i2)
usr.bin/sort/file.c
1366
sub_list_swim(struct sort_list **sl, size_t indx)
usr.bin/sort/file.c
1370
size_t parent_index;
usr.bin/sort/file.c
1386
sub_list_sink(struct sort_list **sl, size_t indx, size_t size)
usr.bin/sort/file.c
1388
size_t left_child_index;
usr.bin/sort/file.c
1389
size_t right_child_index;
usr.bin/sort/file.c
1395
size_t min_child_index;
usr.bin/sort/file.c
1416
sub_list_push(struct sort_list *s, struct sort_list **sl, size_t size)
usr.bin/sort/file.c
1467
merge_sub_lists(struct sort_list **sl, size_t n, FILE* f_out)
usr.bin/sort/file.c
1470
size_t i;
usr.bin/sort/file.c
1492
merge_list_parts(struct sort_list **parts, size_t n, const char *fn)
usr.bin/sort/file.c
1509
int(*sort_func)(void *, size_t, size_t, int(*)(const void *, const void *)),
usr.bin/sort/file.c
1514
size_t nthreads_save = nthreads;
usr.bin/sort/file.c
1527
size_t avgsize, cstart, i;
usr.bin/sort/file.c
1539
size_t sz = 0;
usr.bin/sort/file.c
196
static size_t tfcounter = 0;
usr.bin/sort/file.c
199
size_t sz;
usr.bin/sort/file.c
267
size_t i;
usr.bin/sort/file.c
309
size_t indx = l->count;
usr.bin/sort/file.c
312
size_t newsize = (l->size + 1) + 1024;
usr.bin/sort/file.c
336
size_t i;
usr.bin/sort/file.c
373
size_t i;
usr.bin/sort/file.c
407
size_t pos, posdisorder;
usr.bin/sort/file.c
552
size_t cmdsz;
usr.bin/sort/file.c
61
size_t max_open_files = 16;
usr.bin/sort/file.c
630
size_t sz = 0;
usr.bin/sort/file.c
700
size_t sz;
usr.bin/sort/file.c
717
size_t bsz1, remsz, search_start;
usr.bin/sort/file.c
788
size_t len = 0;
usr.bin/sort/file.c
79
size_t bsz;
usr.bin/sort/file.c
80
size_t cbsz;
usr.bin/sort/file.c
81
size_t mmapsize;
usr.bin/sort/file.c
82
size_t strbeg;
usr.bin/sort/file.c
896
file_header_init(struct file_header **fh, const char *fn, size_t file_pos)
usr.bin/sort/file.c
94
size_t file_pos;
usr.bin/sort/file.c
947
file_header_swap(struct file_header **fh, size_t i1, size_t i2)
usr.bin/sort/file.c
963
file_header_heap_swim(struct file_header **fh, size_t indx)
usr.bin/sort/file.c
967
size_t parent_index;
usr.bin/sort/file.c
983
file_header_heap_sink(struct file_header **fh, size_t indx, size_t size)
usr.bin/sort/file.c
985
size_t left_child_index;
usr.bin/sort/file.c
986
size_t right_child_index;
usr.bin/sort/file.c
992
size_t min_child_index;
usr.bin/sort/file.h
52
size_t count;
usr.bin/sort/file.h
53
size_t size;
usr.bin/sort/file.h
54
size_t sub_list_pos;
usr.bin/sort/file.h
68
size_t count;
usr.bin/sort/file.h
69
size_t sz;
usr.bin/sort/file.h
90
extern size_t max_open_files;
usr.bin/sort/mem.c
41
sort_malloc(size_t size)
usr.bin/sort/mem.c
65
sort_realloc(void *ptr, size_t size)
usr.bin/sort/mem.h
40
void *sort_malloc(size_t);
usr.bin/sort/mem.h
42
void *sort_realloc(void *, size_t);
usr.bin/sort/radixsort.c
100
sort_left_dec(size_t n)
usr.bin/sort/radixsort.c
221
add_to_sublevel(struct sort_level *sl, struct sort_list_item *item, size_t indx)
usr.bin/sort/radixsort.c
259
get_wc_index(struct sort_list_item *sli, size_t level)
usr.bin/sort/radixsort.c
271
place_item(struct sort_level *sl, size_t item)
usr.bin/sort/radixsort.c
298
size_t sln;
usr.bin/sort/radixsort.c
302
for (size_t i = 0; i < sln; ++i) {
usr.bin/sort/radixsort.c
319
size_t i, sln, tosort_num;
usr.bin/sort/radixsort.c
453
size_t n;
usr.bin/sort/radixsort.c
544
for (size_t i = 0; i < sl->tosort_num; ++i)
usr.bin/sort/radixsort.c
57
static const size_t slsz = 256 * sizeof(struct sort_level*);
usr.bin/sort/radixsort.c
571
for (size_t i = 0; i < sl->sln; ++i) {
usr.bin/sort/radixsort.c
584
size_t n;
usr.bin/sort/radixsort.c
586
for (size_t i = 0; i < sl->sln; ++i) {
usr.bin/sort/radixsort.c
612
size_t i;
usr.bin/sort/radixsort.c
643
run_sort(struct sort_list_item **base, size_t nmemb)
usr.bin/sort/radixsort.c
648
size_t nthreads_save = nthreads;
usr.bin/sort/radixsort.c
66
size_t leaves_num;
usr.bin/sort/radixsort.c
67
size_t leaves_sz;
usr.bin/sort/radixsort.c
68
size_t level;
usr.bin/sort/radixsort.c
69
size_t real_sln;
usr.bin/sort/radixsort.c
693
rxsort(struct sort_list_item **base, size_t nmemb)
usr.bin/sort/radixsort.c
70
size_t start_position;
usr.bin/sort/radixsort.c
71
size_t sln;
usr.bin/sort/radixsort.c
72
size_t tosort_num;
usr.bin/sort/radixsort.c
73
size_t tosort_sz;
usr.bin/sort/radixsort.c
90
static size_t sort_left;
usr.bin/sort/radixsort.h
36
void rxsort(struct sort_list_item **base, size_t nmemb);
usr.bin/sort/sort.c
1186
nthreads = (size_t)(atoi(optarg));
usr.bin/sort/sort.c
119
size_t nthreads = 1;
usr.bin/sort/sort.c
1226
max_open_files = (size_t) mof + 1;
usr.bin/sort/sort.c
1273
for (size_t i = 0; i < keys_num; i++) {
usr.bin/sort/sort.c
132
static size_t argc_from_file0 = (size_t)-1;
usr.bin/sort/sort.c
249
size_t linesize = 0;
usr.bin/sort/sort.c
261
if (argc_from_file0 == (size_t) - 1)
usr.bin/sort/sort.c
652
size_t len, nmatch;
usr.bin/sort/sort.c
679
ks->f2 = (size_t) strtoul(f, NULL, 10);
usr.bin/sort/sort.c
688
ks->f1 = (size_t) strtoul(f, NULL, 10);
usr.bin/sort/sort.c
706
ks->c2 = (size_t) strtoul(c, NULL, 10);
usr.bin/sort/sort.c
711
ks->c1 = (size_t) strtoul(c, NULL, 10);
usr.bin/sort/sort.c
75
static size_t random_seed_size;
usr.bin/sort/sort.c
769
size_t size1;
usr.bin/sort/sort.c
808
size_t len, nmatch;
usr.bin/sort/sort.c
834
*nf = (size_t) strtoul(f, NULL, 10);
usr.bin/sort/sort.c
846
*nc = (size_t) strtoul(c, NULL, 10);
usr.bin/sort/sort.c
998
size_t sz = 0;
usr.bin/sort/sort.h
105
typedef int (*cmpcoll_t)(struct key_value *kv1, struct key_value *kv2, size_t offset);
usr.bin/sort/sort.h
60
extern size_t nthreads;
usr.bin/sort/vsort.c
205
size_t len1, len2, slen1, slen2;
usr.bin/sort/vsort.c
67
find_suffix(bwstring_iterator si, bwstring_iterator se, size_t *len)
usr.bin/sort/vsort.c
70
size_t clen;
usr.bin/stat/stat.c
184
char *, size_t, /* a place to put the output */
usr.bin/stat/stat.c
619
char *buf, size_t blen,
usr.bin/strfile/strfile.c
136
size_t length;
usr.bin/strfile/strfile.c
173
length = (size_t)(pos - last_off) -
usr.bin/strfile/strfile.c
179
if ((size_t)Tbl.str_longlen < length)
usr.bin/strfile/strfile.c
181
if ((size_t)Tbl.str_shortlen > length)
usr.bin/strfile/strfile.c
239
fwrite(Seekpts, sizeof(*Seekpts), (size_t)Num_pts, outf);
usr.bin/strfile/strfile.c
341
qsort(Firstch, (size_t)Tbl.str_numstr, sizeof(*Firstch), cmp_str);
usr.bin/su/su.c
226
nargv = malloc(sizeof(char *) * (size_t)(argc + 4));
usr.bin/su/su.c
597
size_t n;
usr.bin/systat/altqs.c
370
size_t datalen = 0;
usr.bin/systat/altqs.c
378
if (sysctl(name, 5, (void *)&data, (size_t *)&datalen, NULL,
usr.bin/systat/altqs.c
379
(size_t)0) != 0)
usr.bin/systat/altqs.c
387
size_t datalen = 0;
usr.bin/systat/altqs.c
397
if ((sysctl(name, 6, (void *)data, (size_t *)&datalen, NULL,
usr.bin/systat/altqs.c
398
(size_t)0) != 0) && (errno != ENOENT))
usr.bin/systat/convtbl.c
130
size_t len;
usr.bin/systat/icmp.c
214
size_t len;
usr.bin/systat/icmp.c
242
size_t len;
usr.bin/systat/icmp.c
261
size_t len;
usr.bin/systat/icmp6.c
209
size_t len;
usr.bin/systat/icmp6.c
237
size_t len;
usr.bin/systat/icmp6.c
256
size_t len;
usr.bin/systat/ifstat.c
361
size_t datalen = 0;
usr.bin/systat/ifstat.c
369
if (sysctl(name, 5, (void *)&data, (size_t *)&datalen, NULL,
usr.bin/systat/ifstat.c
370
(size_t)0) != 0)
usr.bin/systat/ifstat.c
378
size_t datalen = 0;
usr.bin/systat/ifstat.c
388
if ((sysctl(name, 6, (void *)data, (size_t *)&datalen, NULL,
usr.bin/systat/ifstat.c
389
(size_t)0) != 0) && (errno != ENOENT))
usr.bin/systat/ip.c
269
size_t len;
usr.bin/systat/ip.c
292
size_t len;
usr.bin/systat/ip6.c
230
size_t len;
usr.bin/systat/ip6.c
258
size_t len;
usr.bin/systat/ip6.c
278
size_t len;
usr.bin/systat/mbufs.c
155
size_t len, mbtypeslen;
usr.bin/systat/mbufs.c
181
size_t len;
usr.bin/systat/netbw.c
217
size_t npcbs;
usr.bin/systat/netbw.c
218
size_t len;
usr.bin/systat/netbw.c
219
size_t i;
usr.bin/systat/netbw.c
220
size_t j;
usr.bin/systat/netbw.c
221
size_t ncpus;
usr.bin/systat/netstat.c
176
size_t i, len, elem_len;
usr.bin/systat/netstat.c
200
if (len < sizeof(size_t)) {
usr.bin/systat/netstat.c
205
elem_len = *(size_t *)buf;
usr.bin/systat/netstat.c
209
if (*(size_t *)(buf2) != elem_len) {
usr.bin/systat/pftop.c
237
size_t nstates;
usr.bin/systat/pftop.c
238
size_t i;
usr.bin/systat/pftop.c
299
size_t i;
usr.bin/systat/pftop.c
300
size_t n;
usr.bin/systat/pigs.c
137
size_t oldlen;
usr.bin/systat/sensors.c
230
(size_t)sensor.value < NELEM(drvstat)) {
usr.bin/systat/sensors.c
88
size_t slen, sdlen, idmax_len;
usr.bin/systat/symbols.c
79
size_t buflen = sizeof(buf);
usr.bin/systat/tcp.c
278
size_t len;
usr.bin/systat/vmmeter.c
53
size_t sz;
usr.bin/systat/vmstat.c
196
size_t nlen;
usr.bin/systat/vmstat.c
197
size_t ilen;
usr.bin/systat/vmstat.c
222
size_t bytes;
usr.bin/systat/vmstat.c
223
size_t b;
usr.bin/systat/vmstat.c
224
size_t i;
usr.bin/systat/vmstat.c
437
static const size_t cpuoffsets[] = {
usr.bin/systat/vmstat.c
752
if (strlen(b) <= (size_t)w) {
usr.bin/systat/vmstat.c
837
if (strlen(b) > (size_t)w)
usr.bin/systat/vmstat.c
839
if (strlen(b) > (size_t)w) {
usr.bin/systat/vmstat.c
859
if (strlen(b) > (size_t)w)
usr.bin/systat/vmstat.c
861
if (strlen(b) > (size_t)w) {
usr.bin/systat/vmstat.c
888
size_t size;
usr.bin/systat/vmstat.c
889
size_t vms_size = sizeof(ls->Vms);
usr.bin/systat/vmstat.c
890
size_t vmm_size = sizeof(ls->Vmm);
usr.bin/systat/vmstat.c
891
size_t nch_size = sizeof(ls->nchstats) * SMP_MAXCPU;
usr.bin/systat/vmstat.c
892
size_t phys_size = sizeof(ls->physmem);
usr.bin/tail/extern.h
48
size_t maplen;
usr.bin/tail/reverse.c
168
size_t len;
usr.bin/tail/reverse.c
186
size_t llen;
usr.bin/tail/reverse.c
194
size_t len;
usr.bin/tail/tail.c
283
size_t len;
usr.bin/tcopy/tcopy.c
291
if ((bp = malloc((size_t)blk)) == NULL)
usr.bin/telnet/commands.c
1619
size_t buflen;
usr.bin/telnet/ring.c
48
#ifdef size_t
usr.bin/time/time.c
110
setvbuf(out, NULL, _IONBF, (size_t)0);
usr.bin/tip/tip.c
321
prompt(char *s, char *p, size_t sz)
usr.bin/tip/tip.c
65
int prompt(char *, char *, size_t);
usr.bin/tip/tip.h
301
int prompt(char *, char *, size_t);
usr.bin/tip/tipout.c
69
while (c != '\n' && (size_t)(pline - line) < sizeof(line)) {
usr.bin/top/m_dragonfly.c
256
size_t prmlen;
usr.bin/top/m_dragonfly.c
343
size_t len;
usr.bin/top/m_dragonfly.c
400
size_t vms_size = sizeof(vms);
usr.bin/top/m_dragonfly.c
401
size_t vmm_size = sizeof(vmm);
usr.bin/tr/str.c
188
size_t clen;
usr.bin/tr/str.c
198
if (clen == (size_t)-1 || clen == (size_t)-2 || clen == 0)
usr.bin/tr/str.c
239
size_t clen;
usr.bin/tr/str.c
248
if (clen == (size_t)-1 || clen == (size_t)-2)
usr.bin/tr/str.c
292
size_t clen;
usr.bin/tr/str.c
301
if (clen == (size_t)-1 || clen == (size_t)-2)
usr.bin/tr/str.c
60
size_t clen;
usr.bin/tr/str.c
81
if (clen == (size_t)-1 || clen == (size_t)-2 ||
usr.bin/truss/syscall.h
47
char *get_string(int, off_t, size_t);
usr.bin/truss/syscalls.c
147
get_string(int procfd, off_t offset, size_t max) {
usr.bin/tsort/tsort.c
100
static void *grow_buf(void *, size_t);
usr.bin/tsort/tsort.c
183
grow_buf(void *bp, size_t size)
usr.bin/tsort/tsort.c
200
size_t bsize;
usr.bin/tsort/tsort.c
89
size_t b_bsize;
usr.bin/uname/uname.c
224
size_t len; \
usr.bin/uname/uname.c
236
size_t len; \
usr.bin/uname/uname.c
262
size_t n;
usr.bin/uname/uname.c
289
size_t len;
usr.bin/unifdef/unifdef.c
1522
size_t size;
usr.bin/unifdef/unifdef.c
1527
size = (size_t)len + 1;
usr.bin/unifdef/unifdef.c
1541
size_t n;
usr.bin/unifdef/unifdef.c
1545
n = (size_t)(end - start) + 1;
usr.bin/uniq/uniq.c
182
size_t n;
usr.bin/uniq/uniq.c
185
if ((n = mbstowcs(NULL, str, 0)) == (size_t)-1)
usr.bin/uniq/uniq.c
69
size_t prevbuflen, thisbuflen, b1;
usr.bin/units/units.c
510
size_t len = strlen(prefixtable[i].prefixname);
usr.bin/unstr/unstr.c
79
if ((size_t)snprintf(Datafile, sizeof(Datafile), "%s.dat", Infile) >=
usr.bin/unzip/unzip.c
205
size_t i, len;
usr.bin/unzip/unzip.c
230
size_t prelen, len;
usr.bin/unzip/unzip.c
266
size_t len;
usr.bin/unzip/unzip.c
417
size_t alen;
usr.bin/unzip/unzip.c
479
check_binary(const unsigned char *buf, size_t len)
usr.bin/usbhidaction/usbhidaction.c
158
sz = (size_t)hid_report_size(repd, hid_input, -1);
usr.bin/usbhidaction/usbhidaction.c
469
size_t len;
usr.bin/usbhidaction/usbhidaction.c
89
size_t sz, sz1;
usr.bin/uudecode/uudecode.c
168
size_t n, m;
usr.bin/uudecode/uudecode.c
298
get_line(char *buf, size_t size)
usr.bin/uudecode/uudecode.c
311
size_t n;
usr.bin/uuencode/uuencode.c
140
size_t n;
usr.bin/vmstat/vmstat.c
1069
size_t usebytes;
usr.bin/vmstat/vmstat.c
1143
size_t len, count;
usr.bin/vmstat/vmstat.c
1186
size_t namesz;
usr.bin/vmstat/vmstat.c
1263
kread(int nlx, void *addr, size_t size)
usr.bin/vmstat/vmstat.c
145
static void kread(int, void *, size_t);
usr.bin/vmstat/vmstat.c
418
size_t vmm_size = sizeof(vmm);
usr.bin/vmstat/vmstat.c
419
size_t vms_size = sizeof(vms);
usr.bin/vmstat/vmstat.c
420
size_t vmt_size = sizeof(total);
usr.bin/vmstat/vmstat.c
729
size_t vms_size = sizeof(vms);
usr.bin/vmstat/vmstat.c
730
size_t vmm_size = sizeof(vmm);
usr.bin/vmstat/vmstat.c
734
size_t nch_size = sizeof(struct nchstats) * SMP_MAXCPU;
usr.bin/vmstat/vmstat.c
898
size_t nintr, inamlen, i, size;
usr.bin/w/w.c
573
size_t size;
usr.bin/wall/ttymsg.c
107
for (cnt = 0; (size_t)wret >= iov->iov_len; ++cnt) {
usr.bin/wc/wc.c
169
size_t clen;
usr.bin/wc/wc.c
265
(size_t)-1) {
usr.bin/wc/wc.c
275
} else if (clen == (size_t)-2)
usr.bin/wc/wc.c
300
if (mbrtowc(NULL, NULL, 0, &mbs) == (size_t)-1 && !warned)
usr.bin/whereis/whereis.c
228
size_t s;
usr.bin/whereis/whereis.c
254
size_t s;
usr.bin/whereis/whereis.c
362
size_t nlen, olen, s;
usr.bin/who/utmpentry.c
84
size_t len = strlen(fname);
usr.bin/who/who.c
214
size_t len;
usr.bin/who/who.c
288
size_t i;
usr.bin/whois/whois.c
264
size_t c, len;
usr.bin/window/string.c
115
str_alloc(size_t l)
usr.bin/window/window_string.h
65
char *str_alloc(size_t);
usr.bin/write/write.c
156
search_utmpx(const char *user, char *tty, size_t ttyl, const char *mytty, uid_t myuid)
usr.bin/write/write.c
59
static void search_utmpx(const char *, char *, size_t, const char *, uid_t);
usr.bin/xargs/strnsubst.c
20
bool strnsubst(char **, const char *, const char *, size_t);
usr.bin/xargs/strnsubst.c
34
strnsubst(char **str, const char *match, const char *replstr, size_t maxsize)
usr.bin/xargs/xargs.c
119
size_t linelen;
usr.bin/xargs/xargs.c
301
if ((bbp = malloc((size_t)(nline + 1))) == NULL)
usr.bin/xargs/xargs.c
360
size_t curlen;
usr.bin/xargs/xargs.c
468
memcpy(bbp, argp, (size_t)cnt);
usr.bin/xargs/xargs.c
526
if (strnsubst(tmp++, replstr, inpline, (size_t)Sflag)) {
usr.bin/xargs/xargs.c
72
bool strnsubst(char **, const char *, const char *, size_t);
usr.bin/xargs/xargs.c
796
size_t rsize;
usr.bin/xinstall/xinstall.c
1021
(p = mmap(NULL, (size_t)size, PROT_READ, MAP_SHARED,
usr.bin/xinstall/xinstall.c
661
(size_t)from_sb.st_size, to_fd,
usr.bin/xinstall/xinstall.c
662
to_name, (size_t)to_sb.st_size));
usr.bin/xinstall/xinstall.c
718
if (compare(temp_fd, tempfile, (size_t)temp_sb.st_size, to_fd,
usr.bin/xinstall/xinstall.c
719
to_name, (size_t)to_sb.st_size) == 0) {
usr.bin/xinstall/xinstall.c
748
if ((size_t)snprintf(backup, MAXPATHLEN, "%s%s", to_name,
usr.bin/xinstall/xinstall.c
874
compare(int from_fd, const char *from_name __unused, size_t from_len,
usr.bin/xinstall/xinstall.c
875
int to_fd, const char *to_name __unused, size_t to_len)
usr.bin/xinstall/xinstall.c
88
static int compare(int, const char *, size_t, int, const char *, size_t);
usr.bin/xinstall/xinstall.c
91
static int create_tempfile(const char *, char *, size_t);
usr.bin/xinstall/xinstall.c
940
create_tempfile(const char *path, char *temp, size_t tsize)
usr.bin/xinstall/xinstall.c
976
if ((size_t)snprintf(backup, MAXPATHLEN, "%s%s",
usr.sbin/ac/ac.c
75
size_t len;
usr.sbin/acpi/acpicall/acpicall.c
206
size_t len = strlen(src) / 2, i;
usr.sbin/acpi/acpicall/acpicall.c
49
static size_t result_buf_size = 1024;
usr.sbin/arp/arp.c
478
size_t needed;
usr.sbin/asf/asf.c
100
size_t module_name_len = strlen(module_name);
usr.sbin/authpf/authpf.c
444
size_t len;
usr.sbin/autofs/common.c
563
size_t len;
usr.sbin/autofs/common.c
666
size_t tmplen;
usr.sbin/autofs/common.c
891
size_t linecap = 0;
usr.sbin/btconfig/btconfig.c
366
hci_req(uint16_t opcode, uint8_t event, void *cbuf, size_t clen, void *rbuf, size_t rlen)
usr.sbin/btconfig/btconfig.c
77
static void hci_req(uint16_t, uint8_t , void *, size_t, void *, size_t);
usr.sbin/bthcid/hci.c
341
send_hci_cmd(int sock, struct sockaddr_bt *sa, uint16_t opcode, size_t len, void *buf)
usr.sbin/bthcid/hci.c
80
(int, struct sockaddr_bt *, uint16_t, size_t, void *);
usr.sbin/chkgrp/chkgrp.c
55
size_t len;
usr.sbin/ckdist/ckdist.c
245
if ((size_t)size > sizeof(buffer))
usr.sbin/ckdist/ckdist.c
407
size_t plen, nlen;
usr.sbin/ckdist/ckdist.c
426
(size_t)(s - path) : 0;
usr.sbin/clog/clog.c
185
init_log(const char *lname, size_t size)
usr.sbin/clog/clog.c
188
size_t fill = size;
usr.sbin/clog/clog.c
59
static void init_log(const char *lname, size_t size) __dead2;
usr.sbin/config/main.c
381
cp = malloc((size_t)(strlen(destdir) + (file ? strlen(file) : 0) + 2));
usr.sbin/config/main.c
438
size_t tsize;
usr.sbin/config/main.c
459
tsize = (size_t)from_sb.st_size;
usr.sbin/cpucontrol/amd.c
86
size_t fw_size;
usr.sbin/cpucontrol/amd10h.c
104
size_t fw_size;
usr.sbin/cpucontrol/amd10h.c
105
size_t selected_size;
usr.sbin/cpucontrol/amd10h.c
160
if (st.st_size < 0 || (size_t)st.st_size <
usr.sbin/cpucontrol/cpucontrol.c
227
size_t len;
usr.sbin/cpucontrol/intel.c
87
size_t payload_size;
usr.sbin/cpucontrol/intel.c
94
size_t ext_table_size;
usr.sbin/cpucontrol/intel.c
96
size_t data_size, total_size;
usr.sbin/cpucontrol/via.c
86
size_t payload_size;
usr.sbin/cpucontrol/via.c
91
size_t data_size, total_size;
usr.sbin/daemon/daemon.c
508
static size_t bytes_read = 0;
usr.sbin/daemon/daemon.c
527
size_t bytes_line = cp - buf + 1;
usr.sbin/daemon/daemon.c
562
do_output(const unsigned char *buf, size_t len, struct log_params *logpar)
usr.sbin/daemon/daemon.c
73
static void do_output(const unsigned char *, size_t, struct log_params *);
usr.sbin/dconschat/dconschat.c
127
dread(struct dcons_state *dc, void *buf, size_t n, off_t offset)
usr.sbin/dconschat/dconschat.c
139
dwrite(struct dcons_state *dc, void *buf, size_t n, off_t offset)
usr.sbin/dntpd/system.c
110
size_t delta_len;
usr.sbin/dntpd/system.c
92
size_t ts_size;
usr.sbin/efibootmgr/efibootmgr.c
135
size_t size;
usr.sbin/efibootmgr/efibootmgr.c
171
set_bootvar(const char *name, uint8_t *data, size_t size)
usr.sbin/efibootmgr/efibootmgr.c
349
size_t size;
usr.sbin/efibootmgr/efibootmgr.c
384
size_t size;
usr.sbin/efibootmgr/efibootmgr.c
419
size_t size;
usr.sbin/efibootmgr/efibootmgr.c
458
size_t size, i, j;
usr.sbin/efibootmgr/efibootmgr.c
605
static size_t
usr.sbin/efibootmgr/efibootmgr.c
606
create_loadopt(uint8_t *buf, size_t bufmax, uint32_t attributes, efidp dp, size_t dp_size,
usr.sbin/efibootmgr/efibootmgr.c
607
const char *description, const uint8_t *optional_data, size_t optional_data_size)
usr.sbin/efibootmgr/efibootmgr.c
611
size_t desc_len = 0;
usr.sbin/efibootmgr/efibootmgr.c
612
size_t len;
usr.sbin/efibootmgr/efibootmgr.c
63
#define BAD_LENGTH ((size_t)-1)
usr.sbin/efibootmgr/efibootmgr.c
658
size_t lopt_size, llen, klen;
usr.sbin/efibootmgr/efibootmgr.c
733
print_loadopt_str(uint8_t *data, size_t datalen)
usr.sbin/efibootmgr/efibootmgr.c
814
size_t size;
usr.sbin/efibootmgr/efibootmgr.c
840
size_t size;
usr.sbin/efibootmgr/efibootmgr.c
855
size_t size;
usr.sbin/efibootmgr/efibootmgr.c
887
size_t size;
usr.sbin/efibootmgr/efibootmgr.c
920
for (size_t i = 0; i < size; i += 2) {
usr.sbin/efibootmgr/efibootmgr.c
983
size_t size, len;
usr.sbin/efidp/efidp.c
194
size_t dplen;
usr.sbin/efidp/efidp.c
64
size_t len;
usr.sbin/efivar/efiutil.c
109
bindump(uint8_t *data, size_t datalen)
usr.sbin/efivar/efiutil.c
116
#define SIZE(dp, edp) (size_t)((intptr_t)(void *)edp - (intptr_t)(void *)dp)
usr.sbin/efivar/efiutil.c
119
efi_print_load_option(uint8_t *data, size_t datalen, int Aflag, int bflag, int uflag)
usr.sbin/efivar/efiutil.c
47
asciidump(uint8_t *data, size_t datalen)
usr.sbin/efivar/efiutil.c
49
size_t i;
usr.sbin/efivar/efiutil.c
74
utf8dump(uint8_t *data, size_t datalen)
usr.sbin/efivar/efiutil.c
93
hexdump(uint8_t *data, size_t datalen)
usr.sbin/efivar/efiutil.c
95
size_t i;
usr.sbin/efivar/efiutil.h
32
void asciidump(uint8_t *data, size_t datalen);
usr.sbin/efivar/efiutil.h
33
void bindump(uint8_t *data, size_t datalen);
usr.sbin/efivar/efiutil.h
34
void efi_print_load_option(uint8_t *, size_t, int, int, int);
usr.sbin/efivar/efiutil.h
35
void hexdump(uint8_t *data, size_t datalen);
usr.sbin/efivar/efiutil.h
36
void utf8dump(uint8_t *data, size_t datalen);
usr.sbin/efivar/efivar.c
101
get_value(char *val, size_t *datalen)
usr.sbin/efivar/efivar.c
120
size_t datalen;
usr.sbin/efivar/efivar.c
145
size_t datalen;
usr.sbin/efivar/efivar.c
155
devpath_dump(uint8_t *data, size_t datalen)
usr.sbin/efivar/efivar.c
185
size_t datalen;
usr.sbin/fstyp/apfs.c
84
fstyp_apfs(FILE *fp, char *label, size_t size, const char *devpath)
usr.sbin/fstyp/befs.c
48
fstyp_befs(FILE *fp, char *label, size_t size, const char *devpath)
usr.sbin/fstyp/cd9660.c
44
fstyp_cd9660(FILE *fp, char *label, size_t size, const char *devpath)
usr.sbin/fstyp/exfat.c
186
*label_out, size_t label_sz)
usr.sbin/fstyp/exfat.c
191
size_t srcleft, rc;
usr.sbin/fstyp/exfat.c
224
if (rc == (size_t)-1) {
usr.sbin/fstyp/exfat.c
261
char *label_out, size_t label_sz)
usr.sbin/fstyp/exfat.c
318
fstyp_exfat(FILE *fp, char *label, size_t size, const char *devpath)
usr.sbin/fstyp/ext2fs.c
53
fstyp_ext2fs(FILE *fp, char *label, size_t size, const char *devpath)
usr.sbin/fstyp/fstyp.c
132
rtrim(char *label, size_t size)
usr.sbin/fstyp/fstyp.c
54
typedef int (*fstyp_function)(FILE *, char *, size_t, const char *);
usr.sbin/fstyp/fstyp.c
55
typedef int (*fsvtyp_function)(const char *, char *, size_t);
usr.sbin/fstyp/fstyp.c
91
read_buf(FILE *fp, off_t off, size_t len)
usr.sbin/fstyp/fstyp.c
94
size_t nread;
usr.sbin/fstyp/fstyp.h
51
void *read_buf(FILE *fp, off_t off, size_t len);
usr.sbin/fstyp/fstyp.h
53
void rtrim(char *label, size_t size);
usr.sbin/fstyp/fstyp.h
55
int fstyp_apfs(FILE *fp, char *label, size_t size, const char *devpath);
usr.sbin/fstyp/fstyp.h
56
int fstyp_befs(FILE *fp, char *label, size_t size, const char *devpath);
usr.sbin/fstyp/fstyp.h
57
int fstyp_cd9660(FILE *fp, char *label, size_t size, const char *devpath);
usr.sbin/fstyp/fstyp.h
58
int fstyp_exfat(FILE *fp, char *label, size_t size, const char *devpath);
usr.sbin/fstyp/fstyp.h
59
int fstyp_ext2fs(FILE *fp, char *label, size_t size, const char *devpath);
usr.sbin/fstyp/fstyp.h
60
int fstyp_hfsp(FILE *fp, char *label, size_t size, const char *devpath);
usr.sbin/fstyp/fstyp.h
61
int fstyp_msdosfs(FILE *fp, char *label, size_t size, const char *devpath);
usr.sbin/fstyp/fstyp.h
62
int fstyp_ntfs(FILE *fp, char *label, size_t size, const char *devpath);
usr.sbin/fstyp/fstyp.h
63
int fstyp_ufs(FILE *fp, char *label, size_t size, const char *devpath);
usr.sbin/fstyp/fstyp.h
64
int fstyp_hammer(FILE *fp, char *label, size_t size, const char *devpath);
usr.sbin/fstyp/fstyp.h
65
int fstyp_hammer2(FILE *fp, char *label, size_t size, const char *devpath);
usr.sbin/fstyp/fstyp.h
67
int fsvtyp_hammer(const char *blkdevs, char *label, size_t size);
usr.sbin/fstyp/fstyp.h
68
int fsvtyp_hammer_partial(const char *blkdevs, char *label, size_t size);
usr.sbin/fstyp/fstyp.h
69
int fsvtyp_hammer2(const char *blkdevs, char *label, size_t size);
usr.sbin/fstyp/fstyp.h
70
int fsvtyp_hammer2_partial(const char *blkdevs, char *label, size_t size);
usr.sbin/fstyp/hammer.c
160
__fsvtyp_hammer(const char *blkdevs, char *label, size_t size, int partial)
usr.sbin/fstyp/hammer.c
234
fsvtyp_hammer(const char *blkdevs, char *label, size_t size)
usr.sbin/fstyp/hammer.c
240
fsvtyp_hammer_partial(const char *blkdevs, char *label, size_t size)
usr.sbin/fstyp/hammer.c
98
fstyp_hammer(FILE *fp, char *label, size_t size, const char *devpath)
usr.sbin/fstyp/hammer2.c
126
read_media(FILE *fp, const hammer2_blockref_t *bref, size_t *media_bytes)
usr.sbin/fstyp/hammer2.c
130
size_t bytes, io_bytes, boff, fbytes;
usr.sbin/fstyp/hammer2.c
134
bytes = (size_t)1 << bytes;
usr.sbin/fstyp/hammer2.c
190
size_t bytes;
usr.sbin/fstyp/hammer2.c
278
read_label(FILE *fp, char *label, size_t size, const char *devpath)
usr.sbin/fstyp/hammer2.c
282
size_t bytes;
usr.sbin/fstyp/hammer2.c
380
fstyp_hammer2(FILE *fp, char *label, size_t size, const char *devpath)
usr.sbin/fstyp/hammer2.c
399
__fsvtyp_hammer2(const char *blkdevs, char *label, size_t size, int partial)
usr.sbin/fstyp/hammer2.c
481
size_t siz = strlen(volpath) + strlen(target_label) + 2;
usr.sbin/fstyp/hammer2.c
501
fsvtyp_hammer2(const char *blkdevs, char *label, size_t size)
usr.sbin/fstyp/hammer2.c
507
fsvtyp_hammer2_partial(const char *blkdevs, char *label, size_t size)
usr.sbin/fstyp/hfsplus.c
102
fstyp_hfsp(FILE *fp, char *label, size_t size, const char *devpath)
usr.sbin/fstyp/msdosfs.c
44
fstyp_msdosfs(FILE *fp, char *label, size_t size, const char *devpath)
usr.sbin/fstyp/msdosfs.c
50
size_t copysize;
usr.sbin/fstyp/ntfs.c
101
size_t rc;
usr.sbin/fstyp/ntfs.c
114
if (rc == (size_t)-1) {
usr.sbin/fstyp/ntfs.c
128
fstyp_ntfs(FILE *fp, char *label, size_t size, const char *devpath)
usr.sbin/fstyp/ntfs.c
96
convert_label(const void *label /* LE */, size_t labellen, char *label_out,
usr.sbin/fstyp/ntfs.c
97
size_t label_sz)
usr.sbin/fstyp/ufs.c
112
(size_t)fs->fs_bsize < sizeof(struct fs)) {
usr.sbin/fstyp/ufs.c
61
fstyp_ufs(FILE *fp, char *label, size_t labelsize, const char *devpath)
usr.sbin/ftp-proxy/ftp-proxy.c
102
int get_line(char *, size_t *);
usr.sbin/ftp-proxy/ftp-proxy.c
1124
size_t buf_avail, bread, bwritten;
usr.sbin/ftp-proxy/ftp-proxy.c
1166
size_t written;
usr.sbin/ftp-proxy/ftp-proxy.c
118
size_t linelen;
usr.sbin/ftp-proxy/ftp-proxy.c
134
buffer_data(struct session *s, struct cbuf *cb, char *buf, size_t len)
usr.sbin/ftp-proxy/ftp-proxy.c
187
size_t written;
usr.sbin/ftp-proxy/ftp-proxy.c
256
size_t buf_avail, bread, bwritten;
usr.sbin/ftp-proxy/ftp-proxy.c
295
size_t written;
usr.sbin/ftp-proxy/ftp-proxy.c
383
get_line(char *buf, size_t *valid)
usr.sbin/ftp-proxy/ftp-proxy.c
385
size_t i;
usr.sbin/ftp-proxy/ftp-proxy.c
67
size_t buffer_size;
usr.sbin/ftp-proxy/ftp-proxy.c
68
size_t buffer_offset;
usr.sbin/ftp-proxy/ftp-proxy.c
82
size_t cbuf_valid;
usr.sbin/ftp-proxy/ftp-proxy.c
84
size_t sbuf_valid;
usr.sbin/ftp-proxy/ftp-proxy.c
93
void buffer_data(struct session *, struct cbuf *, char *, size_t);
usr.sbin/ftp-proxy/ftp-proxy.c
957
linelen = (size_t)r;
usr.sbin/gifconfig/gifconfig.c
198
size_t needed;
usr.sbin/inetd/builtins.c
349
size_t size, bufsiz;
usr.sbin/inetd/builtins.c
370
size_t i;
usr.sbin/inetd/builtins.c
477
if ((size_t)onreadlen > bufsiz)
usr.sbin/inetd/builtins.c
479
ssize = read(s, &buf[size], (size_t)onreadlen);
usr.sbin/installer/dfuibe_installer/fn_configure.c
464
size_t rk_len;
usr.sbin/installer/dfuibe_installer/fn_configure.c
775
size_t hlen, dlen;
usr.sbin/installer/dfuibe_installer/fn_configure.c
850
set_interface_router(char *router, size_t len, const char *ip, const char *netmask)
usr.sbin/installer/dfuife_curses/curses_form.c
321
size_t sb_off = 0, sb_size = 0;
usr.sbin/installer/libaura/buffer.c
107
size_t
usr.sbin/installer/libaura/buffer.c
117
size_t
usr.sbin/installer/libaura/buffer.c
129
aura_buffer_ensure_size(struct aura_buffer *e, size_t size)
usr.sbin/installer/libaura/buffer.c
146
aura_buffer_set(struct aura_buffer *e, const char *buf, size_t length)
usr.sbin/installer/libaura/buffer.c
166
aura_buffer_append(struct aura_buffer *e, const char *buf, size_t length)
usr.sbin/installer/libaura/buffer.c
265
aura_buffer_seek(struct aura_buffer *e, size_t pos)
usr.sbin/installer/libaura/buffer.c
275
size_t
usr.sbin/installer/libaura/buffer.c
302
size_t i, pos;
usr.sbin/installer/libaura/buffer.c
330
aura_buffer_push(struct aura_buffer *e, const void *src, size_t len)
usr.sbin/installer/libaura/buffer.c
338
aura_buffer_pop(struct aura_buffer *e, void *dest, size_t len)
usr.sbin/installer/libaura/buffer.c
59
aura_buffer_new(size_t size)
usr.sbin/installer/libaura/buffer.h
47
size_t len;
usr.sbin/installer/libaura/buffer.h
48
size_t size;
usr.sbin/installer/libaura/buffer.h
49
size_t pos;
usr.sbin/installer/libaura/buffer.h
52
struct aura_buffer *aura_buffer_new(size_t);
usr.sbin/installer/libaura/buffer.h
55
size_t aura_buffer_len(struct aura_buffer *);
usr.sbin/installer/libaura/buffer.h
56
size_t aura_buffer_size(struct aura_buffer *);
usr.sbin/installer/libaura/buffer.h
58
void aura_buffer_ensure_size(struct aura_buffer *, size_t);
usr.sbin/installer/libaura/buffer.h
59
void aura_buffer_set(struct aura_buffer *, const char *, size_t);
usr.sbin/installer/libaura/buffer.h
60
void aura_buffer_append(struct aura_buffer *, const char *, size_t);
usr.sbin/installer/libaura/buffer.h
69
int aura_buffer_seek(struct aura_buffer *, size_t);
usr.sbin/installer/libaura/buffer.h
70
size_t aura_buffer_tell(struct aura_buffer *);
usr.sbin/installer/libaura/buffer.h
77
void aura_buffer_push(struct aura_buffer *, const void *, size_t);
usr.sbin/installer/libaura/buffer.h
78
int aura_buffer_pop(struct aura_buffer *, void *, size_t);
usr.sbin/installer/libaura/dict.c
129
size_t bucket_no = 0;
usr.sbin/installer/libaura/dict.c
149
static size_t
usr.sbin/installer/libaura/dict.c
150
hashpjw(const void *key, size_t key_size, size_t table_size) {
usr.sbin/installer/libaura/dict.c
153
size_t h = 0, g;
usr.sbin/installer/libaura/dict.c
170
aura_bucket_new(const void *key, size_t key_size, const void *data, size_t data_size)
usr.sbin/installer/libaura/dict.c
192
aura_dict_locate_hash(struct aura_dict *d, const void *key, size_t key_size,
usr.sbin/installer/libaura/dict.c
193
size_t *b_index, struct aura_bucket **b)
usr.sbin/installer/libaura/dict.c
207
aura_dict_locate_list(struct aura_dict *d, const void *key, size_t key_size,
usr.sbin/installer/libaura/dict.c
221
aura_dict_fetch_hash(struct aura_dict *d, const void *key, size_t key_size,
usr.sbin/installer/libaura/dict.c
222
void **data, size_t *data_size)
usr.sbin/installer/libaura/dict.c
225
size_t i;
usr.sbin/installer/libaura/dict.c
237
aura_dict_store_hash(struct aura_dict *d, const void *key, size_t key_size,
usr.sbin/installer/libaura/dict.c
238
const void *data, size_t data_size)
usr.sbin/installer/libaura/dict.c
241
size_t i;
usr.sbin/installer/libaura/dict.c
261
aura_dict_fetch_list(struct aura_dict *d, const void *key, size_t key_size,
usr.sbin/installer/libaura/dict.c
262
void **data, size_t *data_size)
usr.sbin/installer/libaura/dict.c
277
aura_dict_store_list(struct aura_dict *d, const void *key, size_t key_size,
usr.sbin/installer/libaura/dict.c
278
const void *data, size_t data_size)
usr.sbin/installer/libaura/dict.c
300
keycmp(const void *key, size_t key_size, struct aura_bucket *b)
usr.sbin/installer/libaura/dict.c
316
aura_dict_store_list_sorted(struct aura_dict *d, const void *key, size_t key_size,
usr.sbin/installer/libaura/dict.c
317
const void *data, size_t data_size)
usr.sbin/installer/libaura/dict.c
369
aura_dict_fetch(struct aura_dict *d, const void *key, size_t key_size,
usr.sbin/installer/libaura/dict.c
370
void **data, size_t *data_size)
usr.sbin/installer/libaura/dict.c
376
aura_dict_exists(struct aura_dict *d, const void *key, size_t key_size)
usr.sbin/installer/libaura/dict.c
379
size_t data_size;
usr.sbin/installer/libaura/dict.c
389
aura_dict_store(struct aura_dict *d, const void *key, size_t key_size,
usr.sbin/installer/libaura/dict.c
390
const void *data, size_t data_size)
usr.sbin/installer/libaura/dict.c
428
aura_dict_get_current_key(struct aura_dict *d, void **key, size_t *key_size)
usr.sbin/installer/libaura/dict.c
446
size_t
usr.sbin/installer/libaura/dict.c
450
size_t bucket_no = 0;
usr.sbin/installer/libaura/dict.c
451
size_t count = 0;
usr.sbin/installer/libaura/dict.c
48
void aura_dict_locate_hash(struct aura_dict *d, const void *key, size_t key_size,
usr.sbin/installer/libaura/dict.c
49
size_t *b_index, struct aura_bucket **b);
usr.sbin/installer/libaura/dict.c
50
void aura_dict_locate_list(struct aura_dict *d, const void *key, size_t key_size,
usr.sbin/installer/libaura/dict.c
54
static void aura_dict_fetch_hash(struct aura_dict *d, const void *key, size_t key_size,
usr.sbin/installer/libaura/dict.c
55
void **data, size_t *data_size);
usr.sbin/installer/libaura/dict.c
56
static void aura_dict_store_hash(struct aura_dict *d, const void *key, size_t key_size,
usr.sbin/installer/libaura/dict.c
57
const void *data, size_t data_size);
usr.sbin/installer/libaura/dict.c
58
static void aura_dict_fetch_list(struct aura_dict *d, const void *key, size_t key_size,
usr.sbin/installer/libaura/dict.c
59
void **data, size_t *data_size);
usr.sbin/installer/libaura/dict.c
60
static void aura_dict_store_list(struct aura_dict *d, const void *key, size_t key_size,
usr.sbin/installer/libaura/dict.c
61
const void *data, size_t data_size);
usr.sbin/installer/libaura/dict.c
62
static void aura_dict_store_list_sorted(struct aura_dict *d, const void *key, size_t key_size,
usr.sbin/installer/libaura/dict.c
63
const void *data, size_t data_size);
usr.sbin/installer/libaura/dict.c
71
aura_dict_new(size_t num_buckets, int method)
usr.sbin/installer/libaura/dict.c
74
size_t i;
usr.sbin/installer/libaura/dict.h
52
size_t num_buckets;
usr.sbin/installer/libaura/dict.h
53
void (*fetch)(struct aura_dict *, const void *, size_t, void **, size_t *);
usr.sbin/installer/libaura/dict.h
54
void (*store)(struct aura_dict *, const void *, size_t, const void *, size_t);
usr.sbin/installer/libaura/dict.h
56
size_t cur_bucket;
usr.sbin/installer/libaura/dict.h
62
size_t key_size;
usr.sbin/installer/libaura/dict.h
64
size_t data_size;
usr.sbin/installer/libaura/dict.h
67
struct aura_dict *aura_dict_new(size_t, int);
usr.sbin/installer/libaura/dict.h
70
void aura_dict_fetch(struct aura_dict *, const void *, size_t,
usr.sbin/installer/libaura/dict.h
71
void **, size_t *);
usr.sbin/installer/libaura/dict.h
72
int aura_dict_exists(struct aura_dict *, const void *, size_t);
usr.sbin/installer/libaura/dict.h
73
void aura_dict_store(struct aura_dict *, const void *, size_t,
usr.sbin/installer/libaura/dict.h
74
const void *, size_t);
usr.sbin/installer/libaura/dict.h
79
void **, size_t *);
usr.sbin/installer/libaura/dict.h
81
size_t aura_dict_size(struct aura_dict *);
usr.sbin/installer/libaura/mem.c
53
aura_malloc(size_t size, const char *what)
usr.sbin/installer/libaura/mem.h
52
void *aura_malloc(size_t, const char *);
usr.sbin/installer/libaura/popen.c
238
aura_pgets(FILE *p, char *buf, size_t len, long msec, int *err)
usr.sbin/installer/libaura/popen.h
60
int aura_pgets(FILE *, char *, size_t, long, int *);
usr.sbin/installer/libaura/test.c
51
size_t rv_len, rk_len;
usr.sbin/installer/libdfui/connection.c
195
size_t start, end, counter, i;
usr.sbin/installer/libdfui/lang.c
37
size_t i;
usr.sbin/installer/libdfui/system.c
22
size_t len;
usr.sbin/installer/libinstaller/confed.c
129
size_t rk_len, rv_len;
usr.sbin/installer/libinstaller/confed.c
96
size_t rv_len;
usr.sbin/installer/libinstaller/diskutil.c
777
size_t len = 0;
usr.sbin/installer/libinstaller/functions.c
341
size_t rk_len;
usr.sbin/installer/libinstaller/survey.c
159
size_t len;
usr.sbin/installer/libinstaller/survey.c
162
size_t rk_len;
usr.sbin/ip6addrctl/ip6addrctl.c
112
size_t l;
usr.sbin/ip6addrctl/ip6addrctl.c
149
size_t addrlen;
usr.sbin/jls/jls.c
46
size_t len;
usr.sbin/kbdcontrol/kbdcontrol.c
969
size_t i;
usr.sbin/lpr/common_source/common.c
105
size_t arraysz, entrysz, nitems;
usr.sbin/lpr/common_source/common.c
218
lock_file_name(const struct printer *pp, char *buf, size_t len)
usr.sbin/lpr/common_source/common.c
236
status_file_name(const struct printer *pp, char *buf, size_t len)
usr.sbin/lpr/common_source/common.c
396
lpd_gettime(struct timespec *tsp, char *strp, size_t strsize)
usr.sbin/lpr/common_source/common.c
489
lpd_gettime(&pp->tr_start, pp->tr_timestr, (size_t)TIMESTR_SIZE);
usr.sbin/lpr/common_source/common.c
495
trstat_write(struct printer *pp, tr_sendrecv sendrecv, size_t bytecnt,
usr.sbin/lpr/common_source/common.c
500
size_t remspace;
usr.sbin/lpr/common_source/common.c
511
lpd_gettime(&pp->tr_done, NULL, (size_t)0);
usr.sbin/lpr/common_source/common.c
77
while ((c = getc(cfp)) != '\n' && (size_t)(linel+1) < sizeof(line)) {
usr.sbin/lpr/common_source/common.c
84
} while ((linel & 07) != 0 && (size_t)(linel+1) <
usr.sbin/lpr/common_source/ctlinfo.c
242
size_t msize, sroom, sroom2;
usr.sbin/lpr/common_source/ctlinfo.c
600
if (strncmp(lbuff, "df", (size_t)2) == 0) {
usr.sbin/lpr/common_source/ctlinfo.c
642
size_t size1;
usr.sbin/lpr/common_source/lp.h
284
char *lock_file_name(const struct printer *_pp, char *_buf, size_t _len);
usr.sbin/lpr/common_source/lp.h
285
void lpd_gettime(struct timespec *_tsp, char *_strp, size_t _strsize);
usr.sbin/lpr/common_source/lp.h
298
size_t _len);
usr.sbin/lpr/common_source/lp.h
301
size_t _bytecnt, const char *_userid, const char *_otherhost,
usr.sbin/lpr/common_source/matchjobs.c
78
size_t strsize;
usr.sbin/lpr/lpc/cmds.c
646
size_t linerem;
usr.sbin/lpr/lpc/lpc.c
141
size_t len;
usr.sbin/lpr/lpc/lpc.c
260
for (cp = cmdline; *cp && (size_t)(cp - cmdline) < sizeof(cmdline) &&
usr.sbin/lpr/lpd/printjob.c
493
(size_t)50);
usr.sbin/lpr/lpd/recvjob.c
148
size = read(STDOUT_FILENO, cp, (size_t)1);
usr.sbin/lpr/lpd/recvjob.c
183
+ (size_t)(line - cp - 6));
usr.sbin/lpr/lpd/recvjob.c
192
write(STDOUT_FILENO, "\2", (size_t)1);
usr.sbin/lpr/lpd/recvjob.c
195
if (!readfile(pp, tfname, (size_t)size)) {
usr.sbin/lpr/lpd/recvjob.c
221
write(STDOUT_FILENO, "\2", (size_t)1);
usr.sbin/lpr/lpd/recvjob.c
227
readfile(pp, dfname, (size_t)size);
usr.sbin/lpr/lpd/recvjob.c
228
trstat_write(pp, TR_RECVING, (size_t)size, givenid,
usr.sbin/lpr/lpd/recvjob.c
241
readfile(struct printer *pp, char *file, size_t size)
usr.sbin/lpr/lpd/recvjob.c
245
size_t amt, i;
usr.sbin/lpr/lpd/recvjob.c
297
if (read(STDOUT_FILENO, &resp, (size_t)1) != 1) {
usr.sbin/lpr/lpd/recvjob.c
59
#define ack() write(STDOUT_FILENO, sp, (size_t)1);
usr.sbin/lpr/lpd/recvjob.c
71
static int readfile(struct printer *_pp, char *_file, size_t _size);
usr.sbin/lpr/lpr/lpr.c
613
size_t len = 2;
usr.sbin/lpr/lpr/lpr.c
697
size_t dlen;
usr.sbin/lpr/pac/pac.c
246
size_t c;
usr.sbin/lpr/pac/pac.c
329
hp = (struct hent *) calloc(sizeof *hp, (size_t)1);
usr.sbin/lpr/pac/pac.c
56
static size_t hcount; /* Count of hash entries */
usr.sbin/mailwrapper/mailwrapper.c
47
size_t argc, maxc;
usr.sbin/mailwrapper/mailwrapper.c
85
size_t len, lineno = 0;
usr.sbin/makefs/cd9660.c
113
static int cd9660_arguments_set_string(const char *, const char *, size_t,
usr.sbin/makefs/cd9660.c
142
size_t, int);
usr.sbin/makefs/cd9660.c
144
size_t, int);
usr.sbin/makefs/cd9660.c
145
static int cd9660_convert_filename(iso9660_disk *, const char *, char *, size_t,
usr.sbin/makefs/cd9660.c
1573
char *newname, size_t newnamelen, int is_file)
usr.sbin/makefs/cd9660.c
1629
char *newname, size_t newnamelen, int is_file)
usr.sbin/makefs/cd9660.c
1696
char *newname, size_t newnamelen, int is_file)
usr.sbin/makefs/cd9660.c
317
size_t length, char testmode, char *dest)
usr.sbin/makefs/cd9660.c
319
size_t len;
usr.sbin/makefs/cd9660.h
281
void cd9660_uppercase_characters(char *, size_t);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
253
size_t i;
usr.sbin/makefs/cd9660/cd9660_strings.c
47
cd9660_uppercase_characters(char *str, size_t len)
usr.sbin/makefs/cd9660/cd9660_strings.c
49
size_t p;
usr.sbin/makefs/cd9660/cd9660_write.c
395
size_t success;
usr.sbin/makefs/ffs.c
646
if ((size_t)(x) < UFS_NDADDR * (size_t)ffs_opts->bsize) { \
usr.sbin/makefs/ffs.c
677
size_t slen;
usr.sbin/makefs/ffs.c
704
size_t slen;
usr.sbin/makefs/ffs.c
753
size_t slen;
usr.sbin/makefs/ffs.c
917
if ((size_t)snprintf(path, sizeof(path), "%s/%s", dir,
usr.sbin/makefs/ffs/buf.c
132
size_t bytes;
usr.sbin/makefs/ffs/buf.c
138
bytes = (size_t)bp->b_bcount;
usr.sbin/makefs/ffs/buf.c
234
n = erealloc(bp->b_data, (size_t)size);
usr.sbin/makefs/ffs/buf.c
235
memset(n, 0, (size_t)size);
usr.sbin/makefs/ffs/buf.c
81
rv = read((*bpp)->b_fs->fd, (*bpp)->b_data, (size_t)(*bpp)->b_bcount);
usr.sbin/makefs/ffs/ffs_bswap.c
181
size_t i;
usr.sbin/makefs/ffs/ffs_bswap.c
70
size_t i;
usr.sbin/makefs/hammer2.c
1236
size_t nsize, bufsize;
usr.sbin/makefs/hammer2.c
1276
size_t n;
usr.sbin/makefs/hammer2.c
1931
size_t usermem;
usr.sbin/makefs/hammer2.c
1932
size_t usermem_size = sizeof(usermem);
usr.sbin/makefs/hammer2.c
2230
size_t resid, n;
usr.sbin/makefs/hammer2.c
542
size_t n;
usr.sbin/makefs/hammer2.c
587
size_t n;
usr.sbin/makefs/hammer2.c
987
size_t st_size = node->inode->st.st_size;
usr.sbin/makefs/hammer2.c
991
size_t nlen = strlen(node->symlink);
usr.sbin/makefs/hammer2/hammer2.h
1518
hammer2_key_t hammer2_dirhash(const char *aname, size_t len);
usr.sbin/makefs/hammer2/hammer2.h
1519
int hammer2_getradix(size_t bytes);
usr.sbin/makefs/hammer2/hammer2.h
1525
void hammer2_adjreadcounter(int btype, size_t bytes);
usr.sbin/makefs/hammer2/hammer2.h
1526
void hammer2_adjwritecounter(int btype, size_t bytes);
usr.sbin/makefs/hammer2/hammer2.h
1564
const char *name, size_t name_len,
usr.sbin/makefs/hammer2/hammer2.h
1573
size_t name_len, hammer2_key_t inum, uint8_t type);
usr.sbin/makefs/hammer2/hammer2.h
1630
int type, size_t bytes, hammer2_tid_t mtid,
usr.sbin/makefs/hammer2/hammer2.h
1648
size_t name_len);
usr.sbin/makefs/hammer2/hammer2.h
1807
const char *name, size_t name_len);
usr.sbin/makefs/hammer2/hammer2.h
1809
const char *name, size_t name_len);
usr.sbin/makefs/hammer2/hammer2.h
1810
size_t hammer2_xop_setname_inum(hammer2_xop_head_t *xop, hammer2_key_t inum);
usr.sbin/makefs/hammer2/hammer2.h
1972
int hammer2_freemap_alloc(hammer2_chain_t *chain, size_t bytes);
usr.sbin/makefs/hammer2/hammer2.h
2037
int hammer2_readdir(struct m_vnode *vp, void *buf, size_t size, off_t *offsetp,
usr.sbin/makefs/hammer2/hammer2.h
2039
int hammer2_readlink(struct m_vnode *vp, void *buf, size_t size);
usr.sbin/makefs/hammer2/hammer2.h
2040
int hammer2_read(struct m_vnode *vp, void *buf, size_t size, off_t offset);
usr.sbin/makefs/hammer2/hammer2.h
2041
int hammer2_write(struct m_vnode *vp, void *buf, size_t size, off_t offset);
usr.sbin/makefs/hammer2/hammer2.h
2062
int uiomove(caddr_t cp, size_t n, struct uio *uio);
usr.sbin/makefs/hammer2/hammer2.h
2063
int uiomovebp(struct m_buf *bp, caddr_t cp, size_t n, struct uio *uio);
usr.sbin/makefs/hammer2/hammer2.h
950
size_t name1_len;
usr.sbin/makefs/hammer2/hammer2.h
952
size_t name2_len;
usr.sbin/makefs/hammer2/hammer2_admin.c
336
hammer2_xop_fifo_alloc(hammer2_xop_fifo_t *fifo, size_t nmemb)
usr.sbin/makefs/hammer2/hammer2_admin.c
338
size_t size;
usr.sbin/makefs/hammer2/hammer2_admin.c
411
hammer2_xop_setname(hammer2_xop_head_t *xop, const char *name, size_t name_len)
usr.sbin/makefs/hammer2/hammer2_admin.c
419
hammer2_xop_setname2(hammer2_xop_head_t *xop, const char *name, size_t name_len)
usr.sbin/makefs/hammer2/hammer2_admin.c
426
size_t
usr.sbin/makefs/hammer2/hammer2_admin.c
429
const size_t name_len = 18;
usr.sbin/makefs/hammer2/hammer2_buf.c
125
uiomove(caddr_t cp, size_t n, struct uio *uio)
usr.sbin/makefs/hammer2/hammer2_buf.c
128
size_t cnt;
usr.sbin/makefs/hammer2/hammer2_buf.c
178
uiomovebp(struct m_buf *bp, caddr_t cp, size_t n, struct uio *uio)
usr.sbin/makefs/hammer2/hammer2_bulkfree.c
451
static void cbinfo_bmap_init(hammer2_bulkfree_info_t *cbinfo, size_t size);
usr.sbin/makefs/hammer2/hammer2_bulkfree.c
528
size_t size;
usr.sbin/makefs/hammer2/hammer2_bulkfree.c
546
~(size_t)(HAMMER2_FREEMAP_LEVELN_PSIZE - 1);
usr.sbin/makefs/hammer2/hammer2_bulkfree.c
577
~(size_t)(HAMMER2_FREEMAP_LEVELN_PSIZE - 1);
usr.sbin/makefs/hammer2/hammer2_bulkfree.c
770
cbinfo_bmap_init(hammer2_bulkfree_info_t *cbinfo, size_t size)
usr.sbin/makefs/hammer2/hammer2_bulkfree.c
808
size_t bytes;
usr.sbin/makefs/hammer2/hammer2_bulkfree.c
860
bytes = (size_t)1 << radix;
usr.sbin/makefs/hammer2/hammer2_chain.c
1351
size_t obytes;
usr.sbin/makefs/hammer2/hammer2_chain.c
1352
size_t nbytes;
usr.sbin/makefs/hammer2/hammer2_chain.c
3100
hammer2_key_t key, int keybits, int type, size_t bytes,
usr.sbin/makefs/hammer2/hammer2_chain.c
5782
size_t name_len)
usr.sbin/makefs/hammer2/hammer2_compat.h
463
size_t uio_resid;
usr.sbin/makefs/hammer2/hammer2_freemap.c
187
hammer2_freemap_alloc(hammer2_chain_t *chain, size_t bytes)
usr.sbin/makefs/hammer2/hammer2_freemap.c
217
KKASSERT((size_t)1 << radix == bytes);
usr.sbin/makefs/hammer2/hammer2_freemap.c
288
size_t bytes;
usr.sbin/makefs/hammer2/hammer2_freemap.c
295
bytes = (size_t)1 << radix;
usr.sbin/makefs/hammer2/hammer2_freemap.c
349
((size_t)1 << radix)) == 0) {
usr.sbin/makefs/hammer2/hammer2_freemap.c
480
(uint32_t)~((size_t)1 << radix);
usr.sbin/makefs/hammer2/hammer2_freemap.c
553
size_t size;
usr.sbin/makefs/hammer2/hammer2_freemap.c
554
size_t bgsize;
usr.sbin/makefs/hammer2/hammer2_freemap.c
564
size = (size_t)1 << radix;
usr.sbin/makefs/hammer2/hammer2_freemap.c
708
size_t psize = HAMMER2_PBUFSIZE;
usr.sbin/makefs/hammer2/hammer2_freemap.c
88
size_t bytes;
usr.sbin/makefs/hammer2/hammer2_freemap.c
93
bytes = (size_t)1 << radix;
usr.sbin/makefs/hammer2/hammer2_freemap.c
942
size_t bytes;
usr.sbin/makefs/hammer2/hammer2_freemap.c
949
size_t bgsize = 0;
usr.sbin/makefs/hammer2/hammer2_freemap.c
962
bytes = (size_t)1 << radix;
usr.sbin/makefs/hammer2/hammer2_inode.c
1282
hammer2_dirent_create(hammer2_inode_t *dip, const char *name, size_t name_len,
usr.sbin/makefs/hammer2/hammer2_inode.c
294
size_t count;
usr.sbin/makefs/hammer2/hammer2_inode.c
295
size_t i;
usr.sbin/makefs/hammer2/hammer2_inode.c
997
const char *name, size_t name_len,
usr.sbin/makefs/hammer2/hammer2_ioctl.c
559
size_t len;
usr.sbin/makefs/hammer2/hammer2_ioctl.c
821
size_t name_len;
usr.sbin/makefs/hammer2/hammer2_lz4.c
400
size_t dec32table[] = {0, 3, 2, 3, 0, 0, 0, 0};
usr.sbin/makefs/hammer2/hammer2_lz4.c
402
size_t dec64table[] = {0, 0, 0, (size_t)-1, 0, 1, 2, 3};
usr.sbin/makefs/hammer2/hammer2_lz4.c
417
size_t length;
usr.sbin/makefs/hammer2/hammer2_lz4.c
483
size_t dec64 = dec64table[op-ref];
usr.sbin/makefs/hammer2/hammer2_lz4.c
485
const size_t dec64 = 0;
usr.sbin/makefs/hammer2/hammer2_strategy.c
1277
test_block_zeros(const char *buf, size_t bytes)
usr.sbin/makefs/hammer2/hammer2_strategy.c
1279
size_t i;
usr.sbin/makefs/hammer2/hammer2_strategy.c
547
static int test_block_zeros(const char *buf, size_t bytes);
usr.sbin/makefs/hammer2/hammer2_subr.c
194
hammer2_dirhash(const char *aname, size_t len)
usr.sbin/makefs/hammer2/hammer2_subr.c
198
size_t i;
usr.sbin/makefs/hammer2/hammer2_subr.c
199
size_t j;
usr.sbin/makefs/hammer2/hammer2_subr.c
254
hammer2_getradix(size_t bytes)
usr.sbin/makefs/hammer2/hammer2_subr.c
274
while (((size_t)1 << radix) < bytes)
usr.sbin/makefs/hammer2/hammer2_subr.c
355
hammer2_adjreadcounter(int btype, size_t bytes)
usr.sbin/makefs/hammer2/hammer2_subr.c
386
hammer2_adjwritecounter(int btype, size_t bytes)
usr.sbin/makefs/hammer2/hammer2_vnops.c
1052
hammer2_write(struct m_vnode *vp, void *buf, size_t size, off_t offset)
usr.sbin/makefs/hammer2/hammer2_vnops.c
1704
size_t name_len;
usr.sbin/makefs/hammer2/hammer2_vnops.c
1862
size_t name_len;
usr.sbin/makefs/hammer2/hammer2_vnops.c
1970
size_t name_len;
usr.sbin/makefs/hammer2/hammer2_vnops.c
2080
size_t name_len;
usr.sbin/makefs/hammer2/hammer2_vnops.c
2189
size_t name_len;
usr.sbin/makefs/hammer2/hammer2_vnops.c
2241
size_t bytes;
usr.sbin/makefs/hammer2/hammer2_vnops.c
2516
size_t fname_len;
usr.sbin/makefs/hammer2/hammer2_vnops.c
2518
size_t tname_len;
usr.sbin/makefs/hammer2/hammer2_vnops.c
618
size_t len;
usr.sbin/makefs/hammer2/hammer2_vnops.c
825
hammer2_readdir(struct m_vnode *vp, void *buf, size_t size, off_t *offsetp,
usr.sbin/makefs/hammer2/hammer2_vnops.c
884
hammer2_readlink(struct m_vnode *vp, void *buf, size_t size)
usr.sbin/makefs/hammer2/hammer2_vnops.c
945
hammer2_read(struct m_vnode *vp, void *buf, size_t size, off_t offset)
usr.sbin/makefs/hammer2/hammer2_xops.c
1046
size_t data_len;
usr.sbin/makefs/hammer2/hammer2_xops.c
258
size_t name_len;
usr.sbin/makefs/hammer2/hammer2_xops.c
343
size_t name_len;
usr.sbin/makefs/hammer2/hammer2_xops.c
593
size_t name_len;
usr.sbin/makefs/makefs.c
363
set_option(const option_t *options, const char *option, char *buf, size_t len)
usr.sbin/makefs/makefs.c
383
char *buf, size_t len)
usr.sbin/makefs/makefs.c
386
size_t i;
usr.sbin/makefs/makefs.c
407
strlcpy((void *)options[i].value, val, (size_t)
usr.sbin/makefs/makefs.c
453
size_t i;
usr.sbin/makefs/makefs.c
502
size_t i;
usr.sbin/makefs/makefs.h
174
int set_option(const option_t *, const char *, char *, size_t);
usr.sbin/makefs/makefs.h
176
char *, size_t);
usr.sbin/makefs/msdos.c
227
if ((size_t)snprintf(pbuf, sizeof(pbuf), "%s/%s/%s",
usr.sbin/makefs/msdos.h
50
size_t cn_namelen;
usr.sbin/makefs/msdos/direntry.h
138
int unix2dosfn(const u_char *un, u_char dn[12], size_t unlen, u_int gen);
usr.sbin/makefs/msdos/direntry.h
139
int unix2winfn(const u_char *un, size_t unlen, struct winentry *wep, int cnt,
usr.sbin/makefs/msdos/direntry.h
141
int winChkName(const u_char *un, size_t unlen, struct winentry *wep,
usr.sbin/makefs/msdos/direntry.h
144
int winSlotCnt(const u_char *un, size_t unlen);
usr.sbin/makefs/msdos/msdosfs_conv.c
145
winSlotCnt(const u_char *un, size_t unlen)
usr.sbin/makefs/msdos/msdosfs_conv.c
164
winChkName(const u_char *un, size_t unlen, struct winentry *wep, int chksum)
usr.sbin/makefs/msdos/msdosfs_conv.c
235
unix2winfn(const u_char *un, size_t unlen, struct winentry *wep, int cnt,
usr.sbin/makefs/msdos/msdosfs_conv.c
299
unix2dosfn(const u_char *un, u_char dn[12], size_t unlen, u_int gen)
usr.sbin/makefs/msdos/msdosfs_vnops.c
372
__func__, node->name, st->st_mode, (size_t)st->st_size));
usr.sbin/makefs/msdos/msdosfs_vnops.c
438
size_t osize = dep->de_FileSize;
usr.sbin/makefs/msdos/msdosfs_vnops.c
440
size_t nsize, offs;
usr.sbin/makefs/mtree.c
195
size_t len;
usr.sbin/makefs/mtree.c
332
read_word(FILE *fp, char *buf, size_t bufsz)
usr.sbin/makefs/mtree.c
335
size_t idx, qidx;
usr.sbin/makefs/walk.c
125
if ((size_t)snprintf(path + len, sizeof(path) - len, "/%s",
usr.sbin/makefs/walk.c
404
if ((size_t)snprintf(path, sizeof(path), "%s/%s", dir,
usr.sbin/makefs/walk.c
84
size_t len;
usr.sbin/mfiutil/mfi_cmd.c
214
size_t len;
usr.sbin/mfiutil/mfi_cmd.c
257
mfi_dcmd_command(int fd, uint32_t opcode, void *buf, size_t bufsize,
usr.sbin/mfiutil/mfi_cmd.c
258
uint8_t *mbox, size_t mboxlen, uint8_t *statusp)
usr.sbin/mfiutil/mfi_config.c
1218
size_t len;
usr.sbin/mfiutil/mfi_config.c
522
size_t config_size;
usr.sbin/mfiutil/mfi_config.c
57
struct mfi_config_data **configp, uint8_t *mbox, size_t mboxlen)
usr.sbin/mfiutil/mfi_evt.c
325
simple_hex(void *ptr, size_t length, const char *separator)
usr.sbin/mfiutil/mfi_evt.c
55
size_t size;
usr.sbin/mfiutil/mfi_flash.c
91
size_t nread;
usr.sbin/mfiutil/mfi_show.c
47
format_stripe(char *buf, size_t buflen, uint8_t stripe)
usr.sbin/mfiutil/mfiutil.h
112
void format_stripe(char *buf, size_t buflen, uint8_t stripe);
usr.sbin/mfiutil/mfiutil.h
95
struct mfi_config_data **configp, uint8_t *mbox, size_t mboxlen);
usr.sbin/mfiutil/mfiutil.h
98
int mfi_dcmd_command(int fd, uint32_t opcode, void *buf, size_t bufsize,
usr.sbin/mfiutil/mfiutil.h
99
uint8_t *mbox, size_t mboxlen, uint8_t *statusp);
usr.sbin/mld6query/mld6query.c
228
if ((size_t)i < sizeof(struct mld6_hdr)) {
usr.sbin/mpsutil/mps_debug.c
66
size_t len;
usr.sbin/mptable/mptable.c
389
findMpSig(uint32_t target, size_t bufsize)
usr.sbin/mptutil/mpt_cam.c
127
size_t bufsize;
usr.sbin/mptutil/mpt_cam.c
400
size_t bufsize;
usr.sbin/mptutil/mpt_cam.c
64
size_t bufsize;
usr.sbin/mptutil/mpt_config.c
475
size_t page_size;
usr.sbin/mptutil/mpt_show.c
48
format_stripe(char *buf, size_t buflen, U32 stripe)
usr.sbin/mtree/extern.h
85
extern size_t mtree_lineno;
usr.sbin/mtree/hash.c
111
if ((size_t)size > sizeof(buffer))
usr.sbin/mtree/misc.c
114
size_t i;
usr.sbin/mtree/mtree.h
65
size_t lineno; /* line # entry came from */
usr.sbin/mtree/only.c
119
size_t len, lineno;
usr.sbin/mtree/spec.c
104
size_t tnamelen, plen;
usr.sbin/mtree/spec.c
82
size_t mtree_lineno; /* Current spec line number */
usr.sbin/ndp/ndp.c
1026
size_t l;
usr.sbin/ndp/ndp.c
1120
size_t l;
usr.sbin/ndp/ndp.c
575
size_t needed;
usr.sbin/newsyslog/extern.h
65
char *timebuf, size_t bufsize);
usr.sbin/newsyslog/newsyslog.c
1000
size_t i;
usr.sbin/newsyslog/newsyslog.c
1083
size_t i;
usr.sbin/newsyslog/newsyslog.c
1482
size_t logfname_len;
usr.sbin/newsyslog/newsyslog.c
1658
gen_classiclog_fname(char *fname, size_t fname_sz, const char *archive_dir,
usr.sbin/newsyslog/newsyslog.c
2153
size_t tmpsiz;
usr.sbin/newsyslog/newsyslog.c
2209
size_t tmpsiz;
usr.sbin/newsyslog/ptimes.c
495
char *timebuf, size_t bufsize)
usr.sbin/nscd/agent.c
112
size_t i;
usr.sbin/nscd/agent.c
72
size_t new_agents_num;
usr.sbin/nscd/agent.h
51
int (*lookup_func)(const char *, size_t, char **, size_t *);
usr.sbin/nscd/agent.h
57
int (*mp_lookup_func)(char **, size_t *, void *);
usr.sbin/nscd/agent.h
63
size_t agents_num;
usr.sbin/nscd/agents/group.c
118
group_lookup_func(const char *key, size_t key_size, char **buffer,
usr.sbin/nscd/agents/group.c
119
size_t *buffer_size)
usr.sbin/nscd/agents/group.c
123
size_t size;
usr.sbin/nscd/agents/group.c
195
group_mp_lookup_func(char **buffer, size_t *buffer_size, void *mdata)
usr.sbin/nscd/agents/group.c
39
static int group_marshal_func(struct group *, char *, size_t *);
usr.sbin/nscd/agents/group.c
40
static int group_lookup_func(const char *, size_t, char **, size_t *);
usr.sbin/nscd/agents/group.c
42
static int group_mp_lookup_func(char **, size_t *, void *);
usr.sbin/nscd/agents/group.c
46
group_marshal_func(struct group *grp, char *buffer, size_t *buffer_size)
usr.sbin/nscd/agents/group.c
49
size_t desired_size, size, mem_size;
usr.sbin/nscd/agents/passwd.c
126
passwd_lookup_func(const char *key, size_t key_size, char **buffer,
usr.sbin/nscd/agents/passwd.c
127
size_t *buffer_size)
usr.sbin/nscd/agents/passwd.c
131
size_t size;
usr.sbin/nscd/agents/passwd.c
202
passwd_mp_lookup_func(char **buffer, size_t *buffer_size, void *mdata)
usr.sbin/nscd/agents/passwd.c
38
static int passwd_marshal_func(struct passwd *, char *, size_t *);
usr.sbin/nscd/agents/passwd.c
39
static int passwd_lookup_func(const char *, size_t, char **, size_t *);
usr.sbin/nscd/agents/passwd.c
41
static int passwd_mp_lookup_func(char **, size_t *, void *);
usr.sbin/nscd/agents/passwd.c
45
passwd_marshal_func(struct passwd *pwd, char *buffer, size_t *buffer_size)
usr.sbin/nscd/agents/passwd.c
49
size_t desired_size, size;
usr.sbin/nscd/agents/services.c
121
services_lookup_func(const char *key, size_t key_size, char **buffer,
usr.sbin/nscd/agents/services.c
122
size_t *buffer_size)
usr.sbin/nscd/agents/services.c
127
size_t size, size2;
usr.sbin/nscd/agents/services.c
216
services_mp_lookup_func(char **buffer, size_t *buffer_size, void *mdata)
usr.sbin/nscd/agents/services.c
39
static int services_marshal_func(struct servent *, char *, size_t *);
usr.sbin/nscd/agents/services.c
40
static int services_lookup_func(const char *, size_t, char **, size_t *);
usr.sbin/nscd/agents/services.c
42
static int services_mp_lookup_func(char **, size_t *, void *);
usr.sbin/nscd/agents/services.c
46
services_marshal_func(struct servent *serv, char *buffer, size_t *buffer_size)
usr.sbin/nscd/agents/services.c
49
size_t desired_size;
usr.sbin/nscd/agents/services.c
52
size_t size;
usr.sbin/nscd/agents/services.c
53
size_t aliases_size;
usr.sbin/nscd/cachelib.c
101
size_t min_size;
usr.sbin/nscd/cachelib.c
1074
cache_mp_read(struct cache_mp_read_session_ *rs, char *data, size_t *data_size)
usr.sbin/nscd/cachelib.c
1157
size_t key_part_size, enum part_position_t part_position)
usr.sbin/nscd/cachelib.c
127
ht_item_hash_func(const void *p, size_t cache_entries_size)
usr.sbin/nscd/cachelib.c
130
size_t i;
usr.sbin/nscd/cachelib.c
289
size_t entry_size;
usr.sbin/nscd/cachelib.c
505
size_t i;
usr.sbin/nscd/cachelib.c
521
size_t entry_name_size;
usr.sbin/nscd/cachelib.c
535
size_t new_capacity;
usr.sbin/nscd/cachelib.c
66
static hashtable_index_t ht_item_hash_func(const void *, size_t);
usr.sbin/nscd/cachelib.c
693
cache_read(struct cache_entry_ *entry, const char *key, size_t key_size,
usr.sbin/nscd/cachelib.c
694
char *value, size_t *value_size)
usr.sbin/nscd/cachelib.c
75
size_t min_size;
usr.sbin/nscd/cachelib.c
794
cache_write(struct cache_entry_ *entry, const char *key, size_t key_size,
usr.sbin/nscd/cachelib.c
795
char const *value, size_t value_size)
usr.sbin/nscd/cachelib.c
933
size_t data_size)
usr.sbin/nscd/cachelib.h
100
size_t max_elemsize; /* if 0 then no check is made */
usr.sbin/nscd/cachelib.h
101
size_t satisf_elemsize; /* if entry size is exceeded,
usr.sbin/nscd/cachelib.h
116
size_t max_elemsize; /* if 0 then no check is made */
usr.sbin/nscd/cachelib.h
117
size_t max_sessions; /* maximum number of active sessions */
usr.sbin/nscd/cachelib.h
126
size_t key_size;
usr.sbin/nscd/cachelib.h
129
size_t value_size;
usr.sbin/nscd/cachelib.h
153
size_t items_size;
usr.sbin/nscd/cachelib.h
162
size_t policies_size;
usr.sbin/nscd/cachelib.h
169
size_t value_size;
usr.sbin/nscd/cachelib.h
183
size_t items_size;
usr.sbin/nscd/cachelib.h
205
size_t ws_size;
usr.sbin/nscd/cachelib.h
209
size_t rs_size;
usr.sbin/nscd/cachelib.h
233
size_t entries_capacity;
usr.sbin/nscd/cachelib.h
234
size_t entries_size;
usr.sbin/nscd/cachelib.h
263
extern int cache_read(cache_entry, const char *, size_t, char *, size_t *);
usr.sbin/nscd/cachelib.h
264
extern int cache_write(cache_entry, const char *, size_t, char const *, size_t);
usr.sbin/nscd/cachelib.h
268
extern int cache_mp_write(cache_mp_write_session, char *, size_t);
usr.sbin/nscd/cachelib.h
273
extern int cache_mp_read(cache_mp_read_session, char *, size_t *);
usr.sbin/nscd/cachelib.h
279
const char *, size_t, enum part_position_t);
usr.sbin/nscd/cachelib.h
98
size_t cache_entries_size;
usr.sbin/nscd/cacheplcs.h
47
size_t key_size;
usr.sbin/nscd/cacheplcs.h
49
size_t request_count;
usr.sbin/nscd/config.c
111
size_t size;
usr.sbin/nscd/config.c
288
size_t
usr.sbin/nscd/config.c
298
configuration_get_entry(struct configuration *config, size_t index)
usr.sbin/nscd/config.c
529
size_t len, i;
usr.sbin/nscd/config.h
105
size_t entries_capacity;
usr.sbin/nscd/config.h
106
size_t entries_size;
usr.sbin/nscd/config.h
132
extern size_t configuration_get_entries_size(struct configuration *);
usr.sbin/nscd/config.h
134
struct configuration *, size_t);
usr.sbin/nscd/config.h
83
size_t mp_cache_entries_size;
usr.sbin/nscd/hashtable.h
55
size_t capacity; \
usr.sbin/nscd/hashtable.h
56
size_t size; \
usr.sbin/nscd/hashtable.h
66
size_t entries_size; \
usr.sbin/nscd/mp_rs_query.c
104
&c_mp_rs_request->entry_length, sizeof(size_t));
usr.sbin/nscd/mp_rs_query.c
106
if (result != sizeof(size_t)) {
usr.sbin/nscd/mp_rs_query.c
162
size_t buffer_size;
usr.sbin/nscd/mp_rs_query.c
437
qstate->kevent_watermark = sizeof(size_t) + sizeof(int);
usr.sbin/nscd/mp_rs_query.c
461
sizeof(size_t));
usr.sbin/nscd/mp_rs_query.c
96
qstate->kevent_watermark = sizeof(size_t);
usr.sbin/nscd/mp_ws_query.c
106
&c_mp_ws_request->entry_length, sizeof(size_t));
usr.sbin/nscd/mp_ws_query.c
108
if (result != sizeof(size_t)) {
usr.sbin/nscd/mp_ws_query.c
311
qstate->kevent_watermark = sizeof(size_t);
usr.sbin/nscd/mp_ws_query.c
359
sizeof(size_t));
usr.sbin/nscd/mp_ws_query.c
361
if (result != sizeof(size_t)) {
usr.sbin/nscd/mp_ws_query.c
98
qstate->kevent_watermark = sizeof(size_t);
usr.sbin/nscd/nscd.c
104
size_t size, i;
usr.sbin/nscd/nscdcli.c
244
size_t name_size;
usr.sbin/nscd/nscdcli.c
261
result = safe_write(connection, &name_size, sizeof(size_t));
usr.sbin/nscd/nscdcli.c
48
static int safe_write(struct nscd_connection_ *, const void *, size_t);
usr.sbin/nscd/nscdcli.c
49
static int safe_read(struct nscd_connection_ *, void *, size_t);
usr.sbin/nscd/nscdcli.c
54
size_t data_size)
usr.sbin/nscd/nscdcli.c
58
size_t result;
usr.sbin/nscd/nscdcli.c
90
safe_read(struct nscd_connection_ *connection, void *data, size_t data_size)
usr.sbin/nscd/nscdcli.c
93
size_t result;
usr.sbin/nscd/protocol.h
104
size_t data_size;
usr.sbin/nscd/protocol.h
113
size_t entry_length;
usr.sbin/nscd/protocol.h
122
size_t data_size;
usr.sbin/nscd/protocol.h
48
size_t entry_length;
usr.sbin/nscd/protocol.h
49
size_t cache_key_size;
usr.sbin/nscd/protocol.h
50
size_t data_size;
usr.sbin/nscd/protocol.h
63
size_t entry_length;
usr.sbin/nscd/protocol.h
64
size_t cache_key_size;
usr.sbin/nscd/protocol.h
70
size_t data_size; // ignored if error_code is not 0
usr.sbin/nscd/protocol.h
83
size_t entry_length;
usr.sbin/nscd/protocol.h
95
size_t entry_length;
usr.sbin/nscd/query.c
1100
query_io_buffer_read(struct query_state *qstate, void *buf, size_t nbytes)
usr.sbin/nscd/query.c
1136
size_t nbytes)
usr.sbin/nscd/query.c
1170
query_socket_read(struct query_state *qstate, void *buf, size_t nbytes)
usr.sbin/nscd/query.c
118
const char *eid_str, size_t eid_str_length)
usr.sbin/nscd/query.c
1192
query_socket_write(struct query_state *qstate, const void *buf, size_t nbytes)
usr.sbin/nscd/query.c
1214
init_query_state(int sockfd, size_t kevent_watermark, uid_t euid, gid_t egid)
usr.sbin/nscd/query.c
264
qstate->kevent_watermark = sizeof(size_t);
usr.sbin/nscd/query.c
268
qstate->kevent_watermark = sizeof(size_t);
usr.sbin/nscd/query.c
309
qstate->kevent_watermark = sizeof(size_t) * 3;
usr.sbin/nscd/query.c
315
sizeof(size_t));
usr.sbin/nscd/query.c
317
&write_request->cache_key_size, sizeof(size_t));
usr.sbin/nscd/query.c
319
&write_request->data_size, sizeof(size_t));
usr.sbin/nscd/query.c
321
if (result != sizeof(size_t) * 3) {
usr.sbin/nscd/query.c
54
const char *, size_t);
usr.sbin/nscd/query.c
586
qstate->kevent_watermark = sizeof(size_t) * 2;
usr.sbin/nscd/query.c
592
&read_request->entry_length, sizeof(size_t));
usr.sbin/nscd/query.c
594
&read_request->cache_key_size, sizeof(size_t));
usr.sbin/nscd/query.c
596
if (result != sizeof(size_t) * 2) {
usr.sbin/nscd/query.c
814
qstate->kevent_watermark = sizeof(int) + sizeof(size_t);
usr.sbin/nscd/query.c
837
sizeof(size_t));
usr.sbin/nscd/query.c
85
size_t i;
usr.sbin/nscd/query.c
901
qstate->kevent_watermark = sizeof(size_t) + sizeof(int);
usr.sbin/nscd/query.c
908
&transform_request->entry_length, sizeof(size_t));
usr.sbin/nscd/query.c
912
if (result != sizeof(size_t) + sizeof(int)) {
usr.sbin/nscd/query.c
974
size_t i, size;
usr.sbin/nscd/query.h
100
size_t);
usr.sbin/nscd/query.h
102
extern ssize_t query_socket_read(struct query_state *, void *, size_t);
usr.sbin/nscd/query.h
103
extern ssize_t query_socket_write(struct query_state *, const void *, size_t);
usr.sbin/nscd/query.h
105
extern struct query_state *init_query_state(int, size_t, uid_t, gid_t);
usr.sbin/nscd/query.h
45
typedef ssize_t (*query_read_func)(struct query_state *, void *, size_t);
usr.sbin/nscd/query.h
46
typedef ssize_t (*query_write_func)(struct query_state *, const void *, size_t);
usr.sbin/nscd/query.h
72
size_t eid_str_length;
usr.sbin/nscd/query.h
79
size_t io_buffer_size;
usr.sbin/nscd/query.h
80
size_t io_buffer_watermark;
usr.sbin/nscd/query.h
81
size_t kevent_watermark; /* bytes to be sent/received */
usr.sbin/nscd/query.h
98
extern ssize_t query_io_buffer_read(struct query_state *, void *, size_t);
usr.sbin/nvmmctl/nvmmctl.c
146
size_t i;
usr.sbin/pfctl/parse.y
311
void expand_label_str(char *, size_t, const char *, const char *);
usr.sbin/pfctl/parse.y
312
void expand_label_if(const char *, char *, size_t, const char *);
usr.sbin/pfctl/parse.y
313
void expand_label_addr(const char *, char *, size_t, u_int8_t,
usr.sbin/pfctl/parse.y
315
void expand_label_port(const char *, char *, size_t,
usr.sbin/pfctl/parse.y
317
void expand_label_proto(const char *, char *, size_t, u_int8_t);
usr.sbin/pfctl/parse.y
318
void expand_label_nr(const char *, char *, size_t);
usr.sbin/pfctl/parse.y
319
void expand_label(char *, size_t, const char *, u_int8_t,
usr.sbin/pfctl/parse.y
4636
expand_label_str(char *label, size_t len, const char *srch, const char *repl)
usr.sbin/pfctl/parse.y
4659
expand_label_if(const char *name, char *label, size_t len, const char *ifname)
usr.sbin/pfctl/parse.y
4670
expand_label_addr(const char *name, char *label, size_t len, sa_family_t af,
usr.sbin/pfctl/parse.y
4726
expand_label_port(const char *name, char *label, size_t len,
usr.sbin/pfctl/parse.y
4757
expand_label_proto(const char *name, char *label, size_t len, u_int8_t proto)
usr.sbin/pfctl/parse.y
4774
expand_label_nr(const char *name, char *label, size_t len)
usr.sbin/pfctl/parse.y
4785
expand_label(char *label, size_t len, const char *ifname, sa_family_t af,
usr.sbin/pfctl/pfctl.c
1541
size_t size;
usr.sbin/pfctl/pfctl_altq.c
1258
size_t datalen;
usr.sbin/pfctl/pfctl_optimize.c
93
size_t prf_offset;
usr.sbin/pfctl/pfctl_optimize.c
94
size_t prf_size;
usr.sbin/pfctl/pfctl_osfp.c
457
pfctl_lookup_fingerprint(pf_osfp_t fp, char *buf, size_t len)
usr.sbin/pfctl/pfctl_osfp.c
74
char *get_field(char **, size_t *, int *);
usr.sbin/pfctl/pfctl_osfp.c
75
int get_int(char **, size_t *, int *, int *, const char *,
usr.sbin/pfctl/pfctl_osfp.c
77
int get_str(char **, size_t *, char **, const char *, int,
usr.sbin/pfctl/pfctl_osfp.c
779
get_int(char **line, size_t *len, int *var, int *mod,
usr.sbin/pfctl/pfctl_osfp.c
868
get_str(char **line, size_t *len, char **v, const char *name, int minlen,
usr.sbin/pfctl/pfctl_osfp.c
909
for (i = 0; tcpopts[i] && (size_t)*optcnt < PF_OSFP_MAX_OPTS;) {
usr.sbin/pfctl/pfctl_osfp.c
94
size_t len, i;
usr.sbin/pfctl/pfctl_osfp.c
981
get_field(char **line, size_t *len, int *fieldlen)
usr.sbin/pfctl/pfctl_osfp.c
984
size_t plen = *len;
usr.sbin/pfctl/pfctl_parser.c
1264
size_t len;
usr.sbin/pfctl/pfctl_parser.h
279
char *pfctl_lookup_fingerprint(pf_osfp_t, char *, size_t);
usr.sbin/pfctl/pfctl_radix.c
401
size_t buf_esize[PFRB_MAX] = { 0,
usr.sbin/pfctl/pfctl_radix.c
413
size_t bs;
usr.sbin/pfctl/pfctl_radix.c
436
size_t bs;
usr.sbin/pfctl/pfctl_radix.c
446
(size_t)b->pfrb_size)
usr.sbin/pfctl/pfctl_radix.c
460
size_t bs;
usr.sbin/pfctl/pfctl_radix.c
479
if (minsize < 0 || (size_t)minsize >= SIZE_T_MAX / bs) {
usr.sbin/pflogd/pflogd.c
100
static size_t bufleft = 0; /* bytes left in buffer */
usr.sbin/pflogd/pflogd.c
121
size_t len = 0, n;
usr.sbin/pflogd/pflogd.c
467
if ((size_t)pos < sizeof(sh) ||
usr.sbin/pflogd/pflogd.c
538
size_t len = sizeof(sh) + h->caplen;
usr.sbin/pflogd/pflogd.c
540
if (len < sizeof(*h) || h->caplen > (size_t)cur_snaplen) {
usr.sbin/pflogd/pflogd.c
97
static size_t buflen = 0; /* allocated size of buffer */
usr.sbin/pflogd/privsep.c
305
may_read(int fd, void *buf, size_t n)
usr.sbin/pflogd/privsep.c
309
size_t pos = 0;
usr.sbin/pflogd/privsep.c
330
must_read(int fd, void *buf, size_t n)
usr.sbin/pflogd/privsep.c
334
size_t pos = 0;
usr.sbin/pflogd/privsep.c
354
must_write(int fd, void *buf, size_t n)
usr.sbin/pflogd/privsep.c
358
size_t pos = 0;
usr.sbin/pflogd/privsep.c
55
static int may_read(int, void *, size_t);
usr.sbin/pflogd/privsep.c
56
static void must_read(int, void *, size_t);
usr.sbin/pflogd/privsep.c
57
static void must_write(int, void *, size_t);
usr.sbin/powerd/powerd.c
1272
size_t len;
usr.sbin/powerd/powerd.c
1332
size_t len;
usr.sbin/powerd/powerd.c
1369
size_t sensor_size;
usr.sbin/powerd/powerd.c
1423
size_t freq_size;
usr.sbin/powerd/powerd.c
444
size_t msize;
usr.sbin/powerd/powerd.c
536
size_t slen;
usr.sbin/powerd/powerd.c
569
size_t buflen;
usr.sbin/powerd/powerd.c
631
size_t freqlen;
usr.sbin/powerd/powerd.c
705
size_t len;
usr.sbin/powerd/powerd.c
783
size_t len;
usr.sbin/powerd/powerd.c
866
size_t slen;
usr.sbin/powerd/powerd.c
878
size_t slen;
usr.sbin/powerd/powerd.c
914
size_t len;
usr.sbin/ppp/arp.c
233
size_t needed;
usr.sbin/ppp/async.c
109
size_t cnt;
usr.sbin/ppp/async.c
192
size_t cnt;
usr.sbin/ppp/auth.c
300
auth_GetSecret(const char *name, size_t len)
usr.sbin/ppp/auth.c
399
size_t len;
usr.sbin/ppp/auth.c
420
auth_ReadName(struct authinfo *authp, struct mbuf *bp, size_t len)
usr.sbin/ppp/auth.c
425
size_t mlen = m_length(bp);
usr.sbin/ppp/auth.h
65
extern char *auth_GetSecret(const char *, size_t);
usr.sbin/ppp/auth.h
69
extern struct mbuf *auth_ReadName(struct authinfo *, struct mbuf *, size_t);
usr.sbin/ppp/bundle.c
457
size_t queued;
usr.sbin/ppp/bundle.c
555
size_t sz;
usr.sbin/ppp/cbcp.c
624
size_t len;
usr.sbin/ppp/chap.c
133
size_t nlen, klen;
usr.sbin/ppp/chap.c
142
size_t f;
usr.sbin/ppp/chap.c
189
size_t f;
usr.sbin/ppp/chap.c
694
size_t nlen;
usr.sbin/ppp/command.c
1166
size_t n;
usr.sbin/ppp/command.c
1413
size_t mlen;
usr.sbin/ppp/defs.c
339
NumStr(long val, char *buf, size_t sz)
usr.sbin/ppp/defs.c
352
HexStr(long val, char *buf, size_t sz)
usr.sbin/ppp/defs.c
404
Concatinate(char *buf, size_t sz, int argc, const char *const *argv)
usr.sbin/ppp/defs.c
77
fullread(int fd, void *v, size_t n)
usr.sbin/ppp/defs.c
79
size_t got, total;
usr.sbin/ppp/defs.h
126
extern ssize_t fullread(int, void *, size_t);
usr.sbin/ppp/defs.h
134
extern const char *NumStr(long, char *, size_t);
usr.sbin/ppp/defs.h
135
extern const char *HexStr(long, char *, size_t);
usr.sbin/ppp/defs.h
140
extern void Concatinate(char *, size_t, int, const char *const *);
usr.sbin/ppp/ether.c
128
ether_Write(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/ether.c
136
ether_Read(struct physical *p, void *v, size_t n)
usr.sbin/ppp/ether.c
455
size_t ifacelen;
usr.sbin/ppp/fsm.c
1047
size_t len;
usr.sbin/ppp/fsm.c
807
size_t plen;
usr.sbin/ppp/hdlc.c
110
hdlc_Fcs(u_char *cp, size_t len)
usr.sbin/ppp/hdlc.c
361
size_t len, cmp;
usr.sbin/ppp/hdlc.h
108
extern u_short hdlc_Fcs(u_char *, size_t);
usr.sbin/ppp/id.c
156
ID0write(int fd, const void *data, size_t len)
usr.sbin/ppp/id.h
40
extern int ID0write(int, const void *, size_t);
usr.sbin/ppp/iface.c
95
size_t needed, namelen;
usr.sbin/ppp/ip.c
879
static size_t
usr.sbin/ppp/ip.c
883
size_t nb;
usr.sbin/ppp/ipcp.c
1414
size_t
usr.sbin/ppp/ipcp.c
1418
size_t result;
usr.sbin/ppp/ipcp.h
132
extern size_t ipcp_QueueLen(struct ipcp *);
usr.sbin/ppp/ipv6cp.c
406
size_t
usr.sbin/ppp/ipv6cp.c
410
size_t result;
usr.sbin/ppp/ipv6cp.h
82
extern size_t ipv6cp_QueueLen(struct ipv6cp *);
usr.sbin/ppp/lcp.c
455
size_t sz = strlen(lcp->want_callback.msg);
usr.sbin/ppp/lcp.c
661
size_t sz;
usr.sbin/ppp/libradius/radlib.c
1132
rad_put_attr(struct rad_handle *h, int type, const void *value, size_t len)
usr.sbin/ppp/libradius/radlib.c
1289
split(char *str, const char *fields[], int maxfields, char *msg, size_t msglen)
usr.sbin/ppp/libradius/radlib.c
1353
rad_get_vendor_attr(u_int32_t *vendor, const void **data, size_t *len)
usr.sbin/ppp/libradius/radlib.c
1384
const void *value, size_t len)
usr.sbin/ppp/libradius/radlib.c
1432
rad_request_authenticator(struct rad_handle *h, char *buf, size_t len)
usr.sbin/ppp/libradius/radlib.c
1443
rad_demangle(struct rad_handle *h, const void *mangled, size_t mlen)
usr.sbin/ppp/libradius/radlib.c
1499
size_t mlen, size_t *len)
usr.sbin/ppp/libradius/radlib.c
341
put_password_attr(struct rad_handle *h, int type, const void *value, size_t len)
usr.sbin/ppp/libradius/radlib.c
371
put_raw_attr(struct rad_handle *h, int type, const void *value, size_t len)
usr.sbin/ppp/libradius/radlib.c
76
const void *, size_t);
usr.sbin/ppp/libradius/radlib.c
78
const void *, size_t);
usr.sbin/ppp/libradius/radlib.c
79
static int split(char *, const char *[], int, char *, size_t);
usr.sbin/ppp/libradius/radlib.c
931
rad_cvt_string(const void *data, size_t len)
usr.sbin/ppp/libradius/radlib.c
948
rad_get_attr(struct rad_handle *h, const void **value, size_t *len)
usr.sbin/ppp/libradius/radlib.h
211
char *rad_cvt_string(const void *, size_t);
usr.sbin/ppp/libradius/radlib.h
213
size_t *);
usr.sbin/ppp/libradius/radlib.h
220
const void *, size_t);
usr.sbin/ppp/libradius/radlib.h
226
size_t);
usr.sbin/ppp/libradius/radlib.h
234
size_t);
usr.sbin/ppp/libradius/radlib_vs.h
74
int rad_get_vendor_attr(u_int32_t *, const void **, size_t *);
usr.sbin/ppp/libradius/radlib_vs.h
78
size_t);
usr.sbin/ppp/libradius/radlib_vs.h
81
u_char *rad_demangle_mppe_key(struct rad_handle *, const void *, size_t,
usr.sbin/ppp/libradius/radlib_vs.h
82
size_t *);
usr.sbin/ppp/link.c
120
size_t
usr.sbin/ppp/link.c
124
size_t len;
usr.sbin/ppp/link.c
132
size_t
usr.sbin/ppp/link.c
136
size_t len, bytes;
usr.sbin/ppp/link.c
251
link_PullPacket(struct link *l, char *buf, size_t len, struct bundle *b)
usr.sbin/ppp/link.h
67
extern size_t link_QueueLen(struct link *);
usr.sbin/ppp/link.h
68
extern size_t link_QueueBytes(struct link *);
usr.sbin/ppp/link.h
73
extern void link_PullPacket(struct link *, char *, size_t, struct bundle *);
usr.sbin/ppp/mbuf.c
105
m_get(size_t m_len, int type)
usr.sbin/ppp/mbuf.c
109
size_t size;
usr.sbin/ppp/mbuf.c
196
mbuf_Read(struct mbuf *bp, void *v, size_t len)
usr.sbin/ppp/mbuf.c
223
size_t
usr.sbin/ppp/mbuf.c
224
mbuf_View(struct mbuf *bp, void *v, size_t len)
usr.sbin/ppp/mbuf.c
226
size_t nb, l = len;
usr.sbin/ppp/mbuf.c
244
m_prepend(struct mbuf *bp, const void *ptr, size_t len, u_short extra)
usr.sbin/ppp/mbuf.c
276
if ((size_t)n < bp->m_len) {
usr.sbin/ppp/mbuf.c
290
if ((size_t)n < bp->m_len) {
usr.sbin/ppp/mbuf.c
302
mbuf_Write(struct mbuf *bp, const void *ptr, size_t m_len)
usr.sbin/ppp/mbuf.c
304
size_t plen;
usr.sbin/ppp/mbuf.c
419
m_append(struct mbuf *bp, const void *v, size_t sz)
usr.sbin/ppp/mbuf.c
56
size_t count;
usr.sbin/ppp/mbuf.c
72
size_t fragments;
usr.sbin/ppp/mbuf.c
73
size_t octets;
usr.sbin/ppp/mbuf.c
78
size_t
usr.sbin/ppp/mbuf.c
81
size_t len;
usr.sbin/ppp/mbuf.h
102
extern size_t m_length(struct mbuf *);
usr.sbin/ppp/mbuf.h
103
extern struct mbuf *m_get(size_t, int);
usr.sbin/ppp/mbuf.h
106
extern void mbuf_Write(struct mbuf *, const void *, size_t);
usr.sbin/ppp/mbuf.h
107
extern struct mbuf *mbuf_Read(struct mbuf *, void *, size_t);
usr.sbin/ppp/mbuf.h
108
extern size_t mbuf_View(struct mbuf *, void *, size_t);
usr.sbin/ppp/mbuf.h
109
extern struct mbuf *m_prepend(struct mbuf *, const void *, size_t, u_short);
usr.sbin/ppp/mbuf.h
113
extern struct mbuf *m_append(struct mbuf *, const void *, size_t);
usr.sbin/ppp/mbuf.h
32
size_t m_size; /* size allocated (excluding header) */
usr.sbin/ppp/mbuf.h
34
size_t m_len; /* available byte count in buffer */
usr.sbin/ppp/mbuf.h
44
size_t len;
usr.sbin/ppp/mp.c
1127
f < peer->enddisc.len && (size_t)l < sizeof s->socket.sun_path - 2;
usr.sbin/ppp/mp.c
1205
size_t
usr.sbin/ppp/mp.c
671
size_t total, add, len;
usr.sbin/ppp/mp.c
900
mp_Enddisc(u_char c, const char *address, size_t len)
usr.sbin/ppp/mp.h
141
extern const char *mp_Enddisc(u_char, const char *, size_t);
usr.sbin/ppp/mp.h
147
extern size_t mp_QueueLen(struct mp *);
usr.sbin/ppp/nat_cmd.c
395
size_t len;
usr.sbin/ppp/ncp.c
252
size_t
usr.sbin/ppp/ncp.c
255
size_t result;
usr.sbin/ppp/ncp.c
300
size_t
usr.sbin/ppp/ncp.c
303
size_t total;
usr.sbin/ppp/ncp.c
309
size_t add;
usr.sbin/ppp/ncp.h
66
extern size_t ncp_QueueLen(struct ncp *);
usr.sbin/ppp/ncp.h
67
extern size_t ncp_FillPhysicalQueues(struct ncp *, struct bundle *);
usr.sbin/ppp/netgraph.c
119
size_t len;
usr.sbin/ppp/netgraph.c
174
ng_MessageIn(struct physical *p, char *buf, size_t sz)
usr.sbin/ppp/netgraph.c
180
size_t len;
usr.sbin/ppp/netgraph.c
228
ng_Write(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/netgraph.c
241
ng_Read(struct physical *p, void *v, size_t n)
usr.sbin/ppp/netgraph.c
435
getsegment(const char *what, char *word, size_t sz, const char *from,
usr.sbin/ppp/netgraph.c
438
size_t len;
usr.sbin/ppp/physical.c
797
physical_Read(struct physical *p, void *buf, size_t nbytes)
usr.sbin/ppp/physical.c
812
physical_Write(struct physical *p, const void *buf, size_t nbytes)
usr.sbin/ppp/physical.h
154
extern ssize_t physical_Read(struct physical *, void *, size_t);
usr.sbin/ppp/physical.h
155
extern ssize_t physical_Write(struct physical *, const void *, size_t);
usr.sbin/ppp/physical.h
70
ssize_t (*read)(struct physical *, void *, size_t);
usr.sbin/ppp/physical.h
71
ssize_t (*write)(struct physical *, const void *, size_t);
usr.sbin/ppp/physical.h
91
size_t sz;
usr.sbin/ppp/prompt.c
398
size_t len = strlen(fmt);
usr.sbin/ppp/proto.c
91
size_t got;
usr.sbin/ppp/radius.c
144
demangle(struct radius *r, const void *mangled, size_t mlen,
usr.sbin/ppp/radius.c
145
char **buf, size_t *len)
usr.sbin/ppp/radius.c
227
size_t len;
usr.sbin/ppp/radius.h
59
size_t recvkeylen;
usr.sbin/ppp/radius.h
61
size_t sendkeylen;
usr.sbin/ppp/route.c
219
size_t needed;
usr.sbin/ppp/route.c
334
size_t needed;
usr.sbin/ppp/route.c
387
size_t needed;
usr.sbin/ppp/route.c
478
size_t needed;
usr.sbin/ppp/route.c
699
static size_t
usr.sbin/ppp/route.c
700
memcpy_roundup(char *cp, const void *data, size_t len)
usr.sbin/ppp/route.c
702
size_t padlen;
usr.sbin/ppp/systems.c
152
len = ptr ? (size_t)(ptr - from) : strlen(from);
usr.sbin/ppp/systems.c
199
DecodeCtrlCommand(char *line, char *arg, size_t argsiz)
usr.sbin/ppp/systems.c
73
InterpretArg(const char *from, char *to, size_t tosiz)
usr.sbin/ppp/systems.h
44
extern const char *InterpretArg(const char *, char *, size_t);
usr.sbin/ppp/tcpmss.c
100
MSSFixup(struct tcphdr *tc, size_t pktlen, u_int16_t maxmss)
usr.sbin/ppp/tcpmss.c
102
size_t hlen, olen, optlen;
usr.sbin/ppp/tcpmss.c
148
size_t hlen, plen;
usr.sbin/ppp/tty.c
415
tty_Write(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/tty.c
426
tty_Read(struct physical *p, void *v, size_t n)
usr.sbin/ppp/udp.c
112
udp_Recvfrom(struct physical *p, void *v, size_t n)
usr.sbin/ppp/udp.c
84
udp_Sendto(struct physical *p, const void *v, size_t n)
usr.sbin/pstat/pstat.c
291
size_t i;
usr.sbin/pstat/pstat.c
632
size_t copysize;
usr.sbin/pstat/pstat.c
710
size_t len, i;
usr.sbin/pstat/pstat.c
864
size_t len;
usr.sbin/pstat/pstat.c
94
const size_t NL_LAST_MANDATORY = NL_NUMVNODES;
usr.sbin/pwd_mkdb/pwd_mkdb.c
626
size_t len;
usr.sbin/resident/resident.c
184
if ((size_t)n >= sizeof hdr.elf && IS_ELF(hdr.elf)) {
usr.sbin/resident/resident.c
55
size_t res_count, res_total, i;
usr.sbin/route6d/route6d.c
2185
size_t msize;
usr.sbin/route6d/route6d.c
2363
size_t msize;
usr.sbin/rpc.umntall/rpc.umntall.c
230
size_t bufsize;
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
123
size_t i;
usr.sbin/rpcbind/rpcb_svc_com.c
1097
size_t nfds;
usr.sbin/rpcbind/rpcb_svc_com.c
117
static char *getowner(SVCXPRT *, char *, size_t);
usr.sbin/rpcbind/rpcb_svc_com.c
1375
getowner(SVCXPRT *transp, char *owner, size_t ownersize)
usr.sbin/rtadvctl/rtadvctl.c
140
for (i = 0; (size_t)i < sizeof(dtable)/sizeof(dtable[0]); i++) {
usr.sbin/rtadvctl/rtadvctl.c
175
for (i = 0; (size_t)i < sizeof(dtable)/sizeof(dtable[0]); i++) {
usr.sbin/rtadvctl/rtadvctl.c
900
static size_t
usr.sbin/rtadvctl/rtadvctl.c
901
dname_labeldec(char *dst, size_t dlen, const char *src)
usr.sbin/rtadvctl/rtadvctl.c
903
size_t len;
usr.sbin/rtadvctl/rtadvctl.c
94
static size_t dname_labeldec(char *, size_t, const char *);
usr.sbin/rtadvd/config.c
1094
makeentry(char *buf, size_t len, int id, const char *string)
usr.sbin/rtadvd/config.c
1307
size_t packlen, lladdroptlen = 0;
usr.sbin/rtadvd/config.c
1318
size_t len;
usr.sbin/rtadvd/config.c
79
static void makeentry(char *, size_t, int, const char *);
usr.sbin/rtadvd/config.c
80
static size_t dname_labelenc(char *, const char *);
usr.sbin/rtadvd/config.c
83
static size_t
usr.sbin/rtadvd/config.c
88
size_t len;
usr.sbin/rtadvd/control.c
345
size_t len;
usr.sbin/rtadvd/control.c
346
size_t *lenp;
usr.sbin/rtadvd/control.c
353
lenp = (size_t *)p;
usr.sbin/rtadvd/control.c
368
lenp = (size_t *)p;
usr.sbin/rtadvd/control.c
383
lenp = (size_t *)p;
usr.sbin/rtadvd/control.c
402
size_t
usr.sbin/rtadvd/control.c
405
size_t len;
usr.sbin/rtadvd/control.c
406
size_t *lenp;
usr.sbin/rtadvd/control.c
410
len = sizeof(size_t);
usr.sbin/rtadvd/control.c
413
len += sizeof(size_t);
usr.sbin/rtadvd/control.c
416
len += sizeof(size_t);
usr.sbin/rtadvd/control.c
428
lenp = (size_t *)p;
usr.sbin/rtadvd/control.c
440
lenp = (size_t *)p;
usr.sbin/rtadvd/control.c
451
lenp = (size_t *)p;
usr.sbin/rtadvd/control.c
465
size_t
usr.sbin/rtadvd/control.c
466
cm_str2bin(char *bin, void *str, size_t len)
usr.sbin/rtadvd/control.c
484
cm_bin2str(char *bin, void *str, size_t len)
usr.sbin/rtadvd/control.h
52
size_t cm_len;
usr.sbin/rtadvd/control.h
60
size_t cp_val_len;
usr.sbin/rtadvd/control.h
71
size_t cm_pl2bin(char *, struct ctrl_msg_pl *);
usr.sbin/rtadvd/control.h
73
size_t cm_str2bin(char *, void *, size_t);
usr.sbin/rtadvd/control.h
74
void *cm_bin2str(char *, void *, size_t);
usr.sbin/rtadvd/control_server.c
133
size_t len;
usr.sbin/rtadvd/control_server.c
167
size_t len;
usr.sbin/rtadvd/control_server.c
203
size_t len;
usr.sbin/rtadvd/control_server.c
245
size_t len;
usr.sbin/rtadvd/control_server.c
291
size_t len;
usr.sbin/rtadvd/control_server.c
340
size_t len;
usr.sbin/rtadvd/control_server.c
390
size_t len;
usr.sbin/rtadvd/control_server.c
459
size_t len;
usr.sbin/rtadvd/control_server.c
522
size_t i;
usr.sbin/rtadvd/if.c
149
size_t len;
usr.sbin/rtadvd/if.c
162
get_next_msg(char *buf, char *lim, int ifindex, size_t *lenp, int filter)
usr.sbin/rtadvd/if.c
415
size_t len;
usr.sbin/rtadvd/if.c
622
size_t size;
usr.sbin/rtadvd/if.h
47
char *get_next_msg(char *, char *, int, size_t *, int);
usr.sbin/rtadvd/rrenum.c
328
if ((size_t)len < sizeof(struct rr_pco_match)) {
usr.sbin/rtadvd/rrenum.c
363
if ((size_t)len < (sizeof(struct icmp6_router_renum) +
usr.sbin/rtadvd/rrenum.c
450
if ((size_t)len < sizeof(struct icmp6_router_renum)) {
usr.sbin/rtadvd/rtadvd.c
1410
if ((size_t)limit < sizeof(struct nd_opt_hdr)) {
usr.sbin/rtadvd/rtadvd.c
1759
if (i < 0 || (size_t)i != rai->rai_ra_datalen) {
usr.sbin/rtadvd/rtadvd.c
464
size_t len;
usr.sbin/rtadvd/rtadvd.c
784
if ((size_t)i < sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr)) {
usr.sbin/rtadvd/rtadvd.c
793
if ((size_t)i < sizeof(struct icmp6_hdr)) {
usr.sbin/rtadvd/rtadvd.c
828
if ((size_t)i < sizeof(struct nd_router_solicit)) {
usr.sbin/rtadvd/rtadvd.c
87
static size_t rcvcmsgbuflen;
usr.sbin/rtadvd/rtadvd.c
873
if ((size_t)i < sizeof(struct nd_router_advert)) {
usr.sbin/rtadvd/rtadvd.c
89
static size_t sndcmsgbuflen;
usr.sbin/rtadvd/rtadvd.h
214
size_t rai_ra_datalen;
usr.sbin/rtsold/if.c
253
size_t len;
usr.sbin/rtsold/if.c
306
size_t size;
usr.sbin/rtsold/rtsock.c
65
size_t minlen;
usr.sbin/rtsold/rtsol.c
220
if (i < 0 || (size_t)i != ifinfo->rs_datalen) {
usr.sbin/rtsold/rtsol.c
279
if ((size_t)i < sizeof(struct nd_router_advert)) {
usr.sbin/rtsold/rtsold.c
434
size_t packlen = sizeof(struct nd_router_solicit), lladdroptlen = 0;
usr.sbin/rtsold/rtsold.h
53
size_t rs_datalen;
usr.sbin/rwhod/rwhod.c
155
static ssize_t Sendto(int, const void *, size_t, int,
usr.sbin/rwhod/rwhod.c
562
size_t needed;
usr.sbin/rwhod/rwhod.c
687
Sendto(int s_debug, const void *buf, size_t cc, int flags,
usr.sbin/sa/pdb.c
305
size_t len;
usr.sbin/sensorsd/sensorsd.c
169
size_t sdlen = sizeof(sensordev);
usr.sbin/sensorsd/sensorsd.c
196
size_t slen = sizeof(sensor);
usr.sbin/sensorsd/sensorsd.c
254
size_t sdlen = sizeof(sensordev);
usr.sbin/sensorsd/sensorsd.c
327
size_t len;
usr.sbin/slstat/slstat.c
163
size_t len;
usr.sbin/slstat/slstat.c
70
size_t len;
usr.sbin/syslogd/syslogd.c
2354
size_t l1, l2;
usr.sbin/sysvipcd/shmd.c
284
size_t size;
usr.sbin/sysvipcd/shmd.c
405
size_t size;
usr.sbin/sysvipcd/shmd.c
583
size_t new_size = shmat_msg->size;
usr.sbin/sysvipcd/shmd.c
76
create_sysv_file(struct shmget_msg *msg, size_t size,
usr.sbin/sysvipcd/shmd.c
790
size_t size;
usr.sbin/sysvipcd/shmd.c
826
size_t size;
usr.sbin/tcpdrop/tcpdrop.c
136
tcpcblist(const char *name, size_t *len0)
usr.sbin/tcpdrop/tcpdrop.c
139
size_t len;
usr.sbin/tcpdrop/tcpdrop.c
209
size_t len;
usr.sbin/tcpdrop/tcpdrop.c
54
static struct xtcpcb *tcpcblist(const char *, size_t *);
usr.sbin/traceroute/traceroute.c
322
size_t size = sizeof(max_ttl);
usr.sbin/traceroute6/traceroute6.c
342
size_t size;
usr.sbin/tzsetup/tzsetup.c
345
size_t len;
usr.sbin/tzsetup/tzsetup.c
476
size_t len, contlen;
usr.sbin/tzsetup/tzsetup.c
869
if ((size_t)snprintf(path_zoneinfo_file, sizeof(path_zoneinfo_file),
usr.sbin/tzsetup/tzsetup.c
904
size_t len = sizeof(vmm_guest);
usr.sbin/uefisign/child.c
100
size_t sum_of_bytes_hashed;
usr.sbin/uefisign/child.c
214
size_t nwritten;
usr.sbin/uefisign/child.c
57
size_t nread, len;
usr.sbin/uefisign/child.c
82
digest_range(struct executable *x, EVP_MD_CTX *mdctx, off_t off, size_t len)
usr.sbin/uefisign/pe.c
143
range_check(const struct executable *x, off_t off, size_t len,
usr.sbin/uefisign/pe.c
165
size_t
usr.sbin/uefisign/pe.c
501
append(struct executable *x, void *ptr, size_t len, size_t aligment)
usr.sbin/uefisign/pe.c
522
size_t pc_len;
usr.sbin/uefisign/pe.c
523
size_t pc_aligment;
usr.sbin/uefisign/uefisign.c
101
size_t len;
usr.sbin/uefisign/uefisign.c
121
bin2hex(const char *bin, size_t bin_len)
usr.sbin/uefisign/uefisign.c
124
size_t hex_len;
usr.sbin/uefisign/uefisign.c
125
size_t i;
usr.sbin/uefisign/uefisign.c
152
magic(PKCS7 *pkcs7, const char *digest, size_t digest_len)
usr.sbin/uefisign/uefisign.c
249
size_t digest_len, signature_len;
usr.sbin/uefisign/uefisign.c
85
send_chunk(const void *buf, size_t len, int pipefd)
usr.sbin/uefisign/uefisign.c
98
receive_chunk(void **bufp, size_t *lenp, int pipefd)
usr.sbin/uefisign/uefisign.h
48
size_t x_len;
usr.sbin/uefisign/uefisign.h
53
size_t x_headers_len;
usr.sbin/uefisign/uefisign.h
56
size_t x_checksum_len;
usr.sbin/uefisign/uefisign.h
59
size_t x_certificate_entry_len;
usr.sbin/uefisign/uefisign.h
63
size_t x_section_len[MAX_SECTIONS];
usr.sbin/uefisign/uefisign.h
75
size_t x_signature_len;
usr.sbin/uefisign/uefisign.h
80
void send_chunk(const void *buf, size_t len, int pipefd);
usr.sbin/uefisign/uefisign.h
81
void receive_chunk(void **bufp, size_t *lenp, int pipefd);
usr.sbin/uefisign/uefisign.h
88
size_t signature_size(const struct executable *x);
usr.sbin/uefisign/uefisign.h
91
off_t off, size_t len, const char *name);
usr.sbin/usbdump/usbdump.c
455
size_t len;
usr.sbin/usbdump/usbdump.c
787
size_t no_pf_len = sizeof(int);
usr.sbin/vidcontrol/vidcontrol.c
267
if (fread(&scrnmap, 1, size, fd) != (size_t)size) {
usr.sbin/vidcontrol/vidcontrol.c
311
size_t i;
usr.sbin/vidcontrol/vidcontrol.c
445
fread(fontmap, 1, size, fd) != (size_t)size) {
usr.sbin/vipw/vipw.c
62
size_t len;
usr.sbin/watch/watch.c
288
size_t nread, b_size = MIN_SIZE;
usr.sbin/watchdogd/watchdogd.c
60
size_t len;
usr.sbin/wlandebug/wlandebug.c
143
setoid(char oid[], size_t oidlen, const char *wlan)
usr.sbin/wlandebug/wlandebug.c
158
size_t debuglen;
usr.sbin/ypserv/yp_dnslookup.c
508
qp += (size_t)sprintf(qp, "%x.%x.", uaddr[n] & 0xf,
usr.sbin/ypserv/yp_dnslookup.c
71
size_t len;
usr.sbin/zic/zdump.c
130
static size_t longest;