Symbol: l
bin/ed/ed.h
174
#define NUL_TO_NEWLINE(s, l) translit_text(s, l, '\0', '\n')
bin/ed/ed.h
177
#define NEWLINE_TO_NUL(s, l) translit_text(s, l, '\n', '\0')
bin/ed/ed.h
92
#define INC_MOD(l, k) ((l) + 1 > (k) ? 0 : (l) + 1)
bin/ed/ed.h
93
#define DEC_MOD(l, k) ((l) - 1 < 0 ? (k) : (l) - 1)
bin/ed/io.c
213
int l, n;
bin/ed/io.c
218
if ((l = t - ibufp) < 2 || !has_trailing_escape(ibufp, ibufp + l - 1)) {
bin/ed/io.c
219
*sizep = l;
bin/ed/io.c
223
REALLOC(cvbuf, cvbufsz, l, NULL);
bin/ed/io.c
224
memcpy(cvbuf, ibufp, l);
bin/ed/io.c
225
*(cvbuf + --l - 1) = '\n'; /* strip trailing esc */
bin/ed/io.c
226
if (nonl) l--; /* strip newline */
bin/ed/io.c
234
REALLOC(cvbuf, cvbufsz, l + n, NULL);
bin/ed/io.c
235
memcpy(cvbuf + l, ibuf, n);
bin/ed/io.c
236
l += n;
bin/ed/io.c
237
if (n < 2 || !has_trailing_escape(cvbuf, cvbuf + l - 1))
bin/ed/io.c
239
*(cvbuf + --l - 1) = '\n'; /* strip trailing esc */
bin/ed/io.c
240
if (nonl) l--; /* strip newline */
bin/ed/io.c
242
REALLOC(cvbuf, cvbufsz, l + 1, NULL);
bin/ed/io.c
243
cvbuf[l] = '\0';
bin/ed/io.c
244
*sizep = l;
bin/ed/io.c
296
put_tty_line(const char *s, int l, long n, int gflag)
bin/ed/io.c
310
for (; l > 0;) {
bin/ed/io.c
313
l--;
bin/ed/io.c
318
clen = mbrtowc(&wc, s, l, &mbs);
bin/ed/io.c
339
l -= clen;
bin/ed/io.c
371
l--;
bin/ed/main.c
1012
int l;
bin/ed/main.c
1019
if ((l = get_tty_line()) < 0)
bin/ed/main.c
1021
else if (l == 0 || ibuf[l - 1] != '\n') {
bin/ed/main.c
1023
return l ? EOF : 0;
bin/ed/main.c
1031
l = ibufp - lp;
bin/ed/main.c
1033
if (l == 2 && lp[0] == '.' && lp[1] == '\n') {
bin/ed/main.c
1036
eot = lp + l;
bin/ps/ps.c
1035
inf->l.uids[(inf->count)++] = pwd->pw_uid;
bin/ps/ps.c
1212
newlist = realloc(inf->l.ptr, newmax * inf->elemsize);
bin/ps/ps.c
1214
free(inf->l.ptr);
bin/ps/ps.c
1218
inf->l.ptr = newlist;
bin/ps/ps.c
1228
if (inf->l.ptr != NULL)
bin/ps/ps.c
1229
free(inf->l.ptr);
bin/ps/ps.c
1232
inf->l.ptr = NULL;
bin/ps/ps.c
1244
inf->l.ptr = NULL;
bin/ps/ps.c
131
} l;
bin/ps/ps.c
537
uidlist.l.uids[uidlist.count++] = geteuid();
bin/ps/ps.c
553
flag = *gidlist.l.gids;
bin/ps/ps.c
557
flag = *pgrplist.l.pids;
bin/ps/ps.c
561
flag = *pidlist.l.pids;
bin/ps/ps.c
565
flag = *ruidlist.l.uids;
bin/ps/ps.c
569
flag = *sesslist.l.pids;
bin/ps/ps.c
573
flag = *ttylist.l.ttys;
bin/ps/ps.c
577
flag = *uidlist.l.uids;
bin/ps/ps.c
600
if (kp[i].ki_ppid == pidlist.l.pids[elem]) {
bin/ps/ps.c
603
pidlist.l.pids[pidlist.count++] = kp[i].ki_pid;
bin/ps/ps.c
614
if (kp[i].ki_pid == pidlist.l.pids[elem]) {
bin/ps/ps.c
617
pidlist.l.pids[pidlist.count++] = kp[i].ki_ppid;
bin/ps/ps.c
632
if (kp->ki_pid == pidlist.l.pids[elem])
bin/ps/ps.c
649
if (kp->ki_rgid == gidlist.l.gids[elem])
bin/ps/ps.c
654
if (kp->ki_jid == jidlist.l.jids[elem])
bin/ps/ps.c
660
pgrplist.l.pids[elem])
bin/ps/ps.c
666
ruidlist.l.uids[elem])
bin/ps/ps.c
671
if (kp->ki_sid == sesslist.l.pids[elem])
bin/ps/ps.c
676
if (kp->ki_tdev == ttylist.l.ttys[elem])
bin/ps/ps.c
681
if (kp->ki_uid == uidlist.l.uids[elem])
bin/ps/ps.c
854
inf->l.gids[(inf->count)++] = grp->gr_gid;
bin/ps/ps.c
878
inf->l.jids[(inf->count)++] = tempid;
bin/ps/ps.c
909
inf->l.pids[(inf->count)++] = tempid;
bin/ps/ps.c
990
inf->l.ttys[(inf->count)++] = sb.st_rdev;
bin/sh/histedit.c
702
const char *l = matches[uniq] + curpos;
bin/sh/histedit.c
706
while (*l != '\0' && *r != '\0' && *l == *r)
bin/sh/histedit.c
707
(void)l++, r++, common++;
bin/sh/histedit.c
710
if (*l == *r)
bin/sh/miscbltin.c
528
const struct limits *l)
bin/sh/miscbltin.c
540
val /= l->factor;
bin/sh/miscbltin.c
550
const struct limits *l;
bin/sh/miscbltin.c
571
for (l = limits; l->name && l->option != what; l++)
bin/sh/miscbltin.c
573
if (!l->name)
bin/sh/miscbltin.c
594
if (uval > UINTMAX_MAX / l->factor)
bin/sh/miscbltin.c
596
uval *= l->factor;
bin/sh/miscbltin.c
604
for (l = limits; l->name; l++) {
bin/sh/miscbltin.c
606
if (getrlimit(l->cmd, &limit) < 0)
bin/sh/miscbltin.c
609
if (l->units)
bin/sh/miscbltin.c
611
"(%s, -%c) ", l->units, l->option);
bin/sh/miscbltin.c
614
"(-%c) ", l->option);
bin/sh/miscbltin.c
615
out1fmt("%-18s %18s ", l->name, optbuf);
bin/sh/miscbltin.c
616
printlimit(how, &limit, l);
bin/sh/miscbltin.c
621
if (getrlimit(l->cmd, &limit) < 0)
bin/sh/miscbltin.c
628
if (setrlimit(l->cmd, &limit) < 0)
bin/sh/miscbltin.c
631
printlimit(how, &limit, l);
cddl/lib/libdtrace/libproc_compat.h
41
#define Pxlookup_by_name(p, l, s1, s2, sym, a) \
cddl/lib/libdtrace/libproc_compat.h
47
#define Plmid(p, a, l) (-1)
cddl/lib/libdtrace/libproc_compat.h
48
#define Plmid_to_map(p, l, o) proc_name2map(p, o)
crypto/heimdal/appl/ftp/ftp/main.c
275
int l;
crypto/heimdal/appl/ftp/ftp/main.c
299
l = strlen(line);
crypto/heimdal/appl/ftp/ftp/main.c
300
if (l == 0)
crypto/heimdal/appl/ftp/ftp/main.c
302
if (line[--l] == '\n') {
crypto/heimdal/appl/ftp/ftp/main.c
303
if (l == 0)
crypto/heimdal/appl/ftp/ftp/main.c
305
line[l] = '\0';
crypto/heimdal/appl/ftp/ftp/main.c
306
} else if (l == sizeof(line) - 2) {
crypto/heimdal/appl/ftp/ftp/main.c
308
while ((l = getchar()) != '\n' && l != EOF)
crypto/heimdal/appl/ftp/ftp/security.c
795
int l = name_to_level(level);
crypto/heimdal/appl/ftp/ftp/security.c
796
if(l == -1)
crypto/heimdal/appl/ftp/ftp/security.c
798
request_data_prot = (enum protection_level)l;
crypto/heimdal/appl/ftp/ftpd/security.c
795
int l = name_to_level(level);
crypto/heimdal/appl/ftp/ftpd/security.c
796
if(l == -1)
crypto/heimdal/appl/ftp/ftpd/security.c
798
request_data_prot = (enum protection_level)l;
crypto/heimdal/appl/login/limits_conf.c
106
struct limit *l;
crypto/heimdal/appl/login/limits_conf.c
152
l = find_limit(args[2]);
crypto/heimdal/appl/login/limits_conf.c
153
if(l == NULL) {
crypto/heimdal/appl/login/limits_conf.c
170
if(value * l->scale < value)
crypto/heimdal/appl/login/limits_conf.c
173
value *= l->scale;
crypto/heimdal/appl/login/limits_conf.c
188
if(level == 0 || level < l->has_limit) /* not for us */
crypto/heimdal/appl/login/limits_conf.c
190
if(l->has_limit < level) {
crypto/heimdal/appl/login/limits_conf.c
191
if(getrlimit(l->resource, &l->limit) < 0)
crypto/heimdal/appl/login/limits_conf.c
193
l->has_limit = level;
crypto/heimdal/appl/login/limits_conf.c
199
l->limit.rlim_cur = value;
crypto/heimdal/appl/login/limits_conf.c
201
l->limit.rlim_max = value;
crypto/heimdal/appl/login/limits_conf.c
204
for(l = limits; l->name != NULL; l++) {
crypto/heimdal/appl/login/limits_conf.c
205
if(l->has_limit) {
crypto/heimdal/appl/login/limits_conf.c
206
if(l->limit.rlim_cur > l->limit.rlim_max)
crypto/heimdal/appl/login/limits_conf.c
207
l->limit.rlim_cur = l->limit.rlim_max;
crypto/heimdal/appl/login/limits_conf.c
208
if(setrlimit(l->resource, &l->limit) != 0)
crypto/heimdal/appl/login/limits_conf.c
209
syslog(LOG_ERR, "setrlimit RLIM_%s failed: %m", l->name);
crypto/heimdal/appl/login/limits_conf.c
211
l->has_limit = 0;
crypto/heimdal/appl/login/limits_conf.c
84
struct limit *l;
crypto/heimdal/appl/login/limits_conf.c
85
for(l = limits; l->name != NULL; l++)
crypto/heimdal/appl/login/limits_conf.c
86
if(strcasecmp(name, l->name) == 0)
crypto/heimdal/appl/login/limits_conf.c
87
return l;
crypto/heimdal/appl/rsh/common.c
112
unsigned long l;
crypto/heimdal/appl/rsh/common.c
115
_krb5_get_int(data.data, &l, 4);
crypto/heimdal/appl/rsh/common.c
116
if(l != len)
crypto/heimdal/appl/rsh/limits_conf.c
106
struct limit *l;
crypto/heimdal/appl/rsh/limits_conf.c
152
l = find_limit(args[2]);
crypto/heimdal/appl/rsh/limits_conf.c
153
if(l == NULL) {
crypto/heimdal/appl/rsh/limits_conf.c
170
if(value * l->scale < value)
crypto/heimdal/appl/rsh/limits_conf.c
173
value *= l->scale;
crypto/heimdal/appl/rsh/limits_conf.c
188
if(level == 0 || level < l->has_limit) /* not for us */
crypto/heimdal/appl/rsh/limits_conf.c
190
if(l->has_limit < level) {
crypto/heimdal/appl/rsh/limits_conf.c
191
if(getrlimit(l->resource, &l->limit) < 0)
crypto/heimdal/appl/rsh/limits_conf.c
193
l->has_limit = level;
crypto/heimdal/appl/rsh/limits_conf.c
199
l->limit.rlim_cur = value;
crypto/heimdal/appl/rsh/limits_conf.c
201
l->limit.rlim_max = value;
crypto/heimdal/appl/rsh/limits_conf.c
204
for(l = limits; l->name != NULL; l++) {
crypto/heimdal/appl/rsh/limits_conf.c
205
if(l->has_limit) {
crypto/heimdal/appl/rsh/limits_conf.c
206
if(l->limit.rlim_cur > l->limit.rlim_max)
crypto/heimdal/appl/rsh/limits_conf.c
207
l->limit.rlim_cur = l->limit.rlim_max;
crypto/heimdal/appl/rsh/limits_conf.c
208
if(setrlimit(l->resource, &l->limit) != 0)
crypto/heimdal/appl/rsh/limits_conf.c
209
syslog(LOG_ERR, "setrlimit RLIM_%s failed: %m", l->name);
crypto/heimdal/appl/rsh/limits_conf.c
211
l->has_limit = 0;
crypto/heimdal/appl/rsh/limits_conf.c
84
struct limit *l;
crypto/heimdal/appl/rsh/limits_conf.c
85
for(l = limits; l->name != NULL; l++)
crypto/heimdal/appl/rsh/limits_conf.c
86
if(strcasecmp(name, l->name) == 0)
crypto/heimdal/appl/rsh/limits_conf.c
87
return l;
crypto/heimdal/include/heim_threads.h
100
#define HEIMDAL_RWLOCK_tryrdlock(l) pthread_rwlock_tryrdlock(l)
crypto/heimdal/include/heim_threads.h
101
#define HEIMDAL_RWLOCK_trywrlock(l) pthread_rwlock_trywrlock(l)
crypto/heimdal/include/heim_threads.h
102
#define HEIMDAL_RWLOCK_unlock(l) pthread_rwlock_unlock(l)
crypto/heimdal/include/heim_threads.h
103
#define HEIMDAL_RWLOCK_destroy(l) pthread_rwlock_destroy(l)
crypto/heimdal/include/heim_threads.h
125
#define HEIMDAL_RWLOCK_init(l) do { } while(0)
crypto/heimdal/include/heim_threads.h
126
#define HEIMDAL_RWLOCK_rdlock(l) do { } while(0)
crypto/heimdal/include/heim_threads.h
127
#define HEIMDAL_RWLOCK_wrlock(l) do { } while(0)
crypto/heimdal/include/heim_threads.h
128
#define HEIMDAL_RWLOCK_tryrdlock(l) do { } while(0)
crypto/heimdal/include/heim_threads.h
129
#define HEIMDAL_RWLOCK_trywrlock(l) do { } while(0)
crypto/heimdal/include/heim_threads.h
130
#define HEIMDAL_RWLOCK_unlock(l) do { } while(0)
crypto/heimdal/include/heim_threads.h
131
#define HEIMDAL_RWLOCK_destroy(l) do { } while(0)
crypto/heimdal/include/heim_threads.h
146
#define HEIMDAL_RWLOCK_init(l) do { } while(0)
crypto/heimdal/include/heim_threads.h
147
#define HEIMDAL_RWLOCK_rdlock(l) do { } while(0)
crypto/heimdal/include/heim_threads.h
148
#define HEIMDAL_RWLOCK_wrlock(l) do { } while(0)
crypto/heimdal/include/heim_threads.h
149
#define HEIMDAL_RWLOCK_tryrdlock(l) do { } while(0)
crypto/heimdal/include/heim_threads.h
150
#define HEIMDAL_RWLOCK_trywrlock(l) do { } while(0)
crypto/heimdal/include/heim_threads.h
151
#define HEIMDAL_RWLOCK_unlock(l) do { } while(0)
crypto/heimdal/include/heim_threads.h
152
#define HEIMDAL_RWLOCK_destroy(l) do { } while(0)
crypto/heimdal/include/heim_threads.h
70
#define HEIMDAL_RWLOCK_init(l) rwlock_init(l, NULL)
crypto/heimdal/include/heim_threads.h
71
#define HEIMDAL_RWLOCK_rdlock(l) rwlock_rdlock(l)
crypto/heimdal/include/heim_threads.h
72
#define HEIMDAL_RWLOCK_wrlock(l) rwlock_wrlock(l)
crypto/heimdal/include/heim_threads.h
73
#define HEIMDAL_RWLOCK_tryrdlock(l) rwlock_tryrdlock(l)
crypto/heimdal/include/heim_threads.h
74
#define HEIMDAL_RWLOCK_trywrlock(l) rwlock_trywrlock(l)
crypto/heimdal/include/heim_threads.h
75
#define HEIMDAL_RWLOCK_unlock(l) rwlock_unlock(l)
crypto/heimdal/include/heim_threads.h
76
#define HEIMDAL_RWLOCK_destroy(l) rwlock_destroy(l)
crypto/heimdal/include/heim_threads.h
97
#define HEIMDAL_RWLOCK_init(l) pthread_rwlock_init(l, NULL)
crypto/heimdal/include/heim_threads.h
98
#define HEIMDAL_RWLOCK_rdlock(l) pthread_rwlock_rdlock(l)
crypto/heimdal/include/heim_threads.h
99
#define HEIMDAL_RWLOCK_wrlock(l) pthread_rwlock_wrlock(l)
crypto/heimdal/kadmin/rpc.c
115
size_t l;
crypto/heimdal/kadmin/rpc.c
127
l = (p[0] << 8) | p[1];
crypto/heimdal/kadmin/rpc.c
130
if (l < 2 || len < l)
crypto/heimdal/kadmin/rpc.c
134
if (p[0] != 6 || p[1] != l - 2)
crypto/heimdal/kadmin/rpc.c
137
l -= 2;
crypto/heimdal/kadmin/rpc.c
141
if (l != oid->length || memcmp(p, oid->elements, oid->length) != 0)
crypto/heimdal/kadmin/rpc.c
143
len -= l;
crypto/heimdal/kadmin/rpc.c
144
p += l;
crypto/heimdal/kadmin/rpc.c
149
l = p[0] << 24 | p[1] << 16 | p[2] << 8 | p[3];
crypto/heimdal/kadmin/rpc.c
154
if (len != l)
crypto/heimdal/kadmin/rpc.c
157
*name = malloc(l + 1);
crypto/heimdal/kadmin/rpc.c
159
memcpy(*name, p, l);
crypto/heimdal/kadmin/rpc.c
160
(*name)[l] = '\0';
crypto/heimdal/kdc/connect.c
409
unsigned char l[4];
crypto/heimdal/kdc/connect.c
410
l[0] = (reply->length >> 24) & 0xff;
crypto/heimdal/kdc/connect.c
411
l[1] = (reply->length >> 16) & 0xff;
crypto/heimdal/kdc/connect.c
412
l[2] = (reply->length >> 8) & 0xff;
crypto/heimdal/kdc/connect.c
413
l[3] = reply->length & 0xff;
crypto/heimdal/kdc/connect.c
414
if(rk_IS_SOCKET_ERROR(sendto(d->s, l, sizeof(l), 0, d->sa, d->sock_len))) {
crypto/heimdal/kdc/krb5tgs.c
686
size_t l = 0;
crypto/heimdal/kdc/krb5tgs.c
689
l += strlen(realms[i]) + 2;
crypto/heimdal/kdc/krb5tgs.c
690
rs = malloc(l);
crypto/heimdal/kdc/krb5tgs.c
695
strlcat(rs, ", ", l);
crypto/heimdal/kdc/krb5tgs.c
696
strlcat(rs, realms[i], l);
crypto/heimdal/lib/asn1/asn1_gen.c
106
l = atoi(length);
crypto/heimdal/lib/asn1/asn1_gen.c
110
line, (unsigned long)offset, c, ty, ta, l,
crypto/heimdal/lib/asn1/asn1_gen.c
114
l,
crypto/heimdal/lib/asn1/asn1_gen.c
74
int ret, l, c, ty, ta;
crypto/heimdal/lib/asn1/der_format.c
137
long l;
crypto/heimdal/lib/asn1/der_format.c
160
l = strtol(w, &endptr, 10);
crypto/heimdal/lib/asn1/der_format.c
161
if (*endptr != '\0' || l < 0 || l > INT_MAX) {
crypto/heimdal/lib/asn1/der_format.c
166
data->components[data->length++] = l;
crypto/heimdal/lib/asn1/der_get.c
137
size_t l;
crypto/heimdal/lib/asn1/der_get.c
148
e = der_get_unsigned (p, v, &tmp, &l);
crypto/heimdal/lib/asn1/der_get.c
151
if(size) *size = l + 1;
crypto/heimdal/lib/asn1/der_get.c
318
size_t l, datalen, oldlen = len;
crypto/heimdal/lib/asn1/der_get.c
324
e = der_get_tag (p, len, &class, &type, &tag, &l);
crypto/heimdal/lib/asn1/der_get.c
340
p += l;
crypto/heimdal/lib/asn1/der_get.c
341
len -= l;
crypto/heimdal/lib/asn1/der_get.c
342
e = der_get_length (p, len, &datalen, &l);
crypto/heimdal/lib/asn1/der_get.c
344
p += l;
crypto/heimdal/lib/asn1/der_get.c
345
len -= l;
crypto/heimdal/lib/asn1/der_get.c
599
size_t l;
crypto/heimdal/lib/asn1/der_get.c
604
e = der_get_tag (p, len, &thisclass, type, &thistag, &l);
crypto/heimdal/lib/asn1/der_get.c
612
if(size) *size = l;
crypto/heimdal/lib/asn1/der_get.c
621
size_t l, ret = 0;
crypto/heimdal/lib/asn1/der_get.c
624
e = der_match_tag2 (p, len, class, type, tag, &l);
crypto/heimdal/lib/asn1/der_get.c
626
p += l;
crypto/heimdal/lib/asn1/der_get.c
627
len -= l;
crypto/heimdal/lib/asn1/der_get.c
628
ret += l;
crypto/heimdal/lib/asn1/der_get.c
629
e = der_get_length (p, len, length_ret, &l);
crypto/heimdal/lib/asn1/der_get.c
631
if(size) *size = ret + l;
crypto/heimdal/lib/asn1/der_put.c
201
size_t l = 0;
crypto/heimdal/lib/asn1/der_put.c
209
l++;
crypto/heimdal/lib/asn1/der_put.c
211
*p = 0x80 | l;
crypto/heimdal/lib/asn1/der_put.c
213
*size = l + 1;
crypto/heimdal/lib/asn1/der_put.c
378
size_t l;
crypto/heimdal/lib/asn1/der_put.c
384
e = der_put_octet_string(p, len, &k, &l);
crypto/heimdal/lib/asn1/der_put.c
389
*size = l;
crypto/heimdal/lib/asn1/der_put.c
398
size_t l;
crypto/heimdal/lib/asn1/der_put.c
404
e = der_put_octet_string(p, len, &k, &l);
crypto/heimdal/lib/asn1/der_put.c
409
*size = l;
crypto/heimdal/lib/asn1/der_put.c
480
size_t l;
crypto/heimdal/lib/asn1/der_put.c
483
e = der_put_length (p, len, len_val, &l);
crypto/heimdal/lib/asn1/der_put.c
486
p -= l;
crypto/heimdal/lib/asn1/der_put.c
487
len -= l;
crypto/heimdal/lib/asn1/der_put.c
488
ret += l;
crypto/heimdal/lib/asn1/der_put.c
489
e = der_put_tag (p, len, class, type, tag, &l);
crypto/heimdal/lib/asn1/der_put.c
493
ret += l;
crypto/heimdal/lib/asn1/extra.c
52
size_t len_len, length, l;
crypto/heimdal/lib/asn1/extra.c
60
e = der_get_tag (p, len, &thisclass, &thistype, &thistag, &l);
crypto/heimdal/lib/asn1/extra.c
62
if (l > len)
crypto/heimdal/lib/asn1/extra.c
64
e = der_get_length(p + l, len - l, &length, &len_len);
crypto/heimdal/lib/asn1/extra.c
67
if (len < len_len + l)
crypto/heimdal/lib/asn1/extra.c
69
length = len - (len_len + l);
crypto/heimdal/lib/asn1/extra.c
71
if (len < length + len_len + l)
crypto/heimdal/lib/asn1/extra.c
75
data->data = malloc(length + len_len + l);
crypto/heimdal/lib/asn1/extra.c
78
data->length = length + len_len + l;
crypto/heimdal/lib/asn1/extra.c
79
memcpy(data->data, p, length + len_len + l);
crypto/heimdal/lib/asn1/extra.c
82
*size = length + len_len + l;
crypto/heimdal/lib/asn1/template.c
209
size_t datalen, l;
crypto/heimdal/lib/asn1/template.c
216
&datalen, &l);
crypto/heimdal/lib/asn1/template.c
223
p += l; len -= l;
crypto/heimdal/lib/asn1/template.c
280
&datalen, &l);
crypto/heimdal/lib/asn1/template.c
287
p += l; len -= l;
crypto/heimdal/lib/asn1/template.c
481
size_t l, datalen;
crypto/heimdal/lib/asn1/template.c
503
A1_TAG_TAG(t->tt), &l);
crypto/heimdal/lib/asn1/template.c
507
p -= l; len -= l;
crypto/heimdal/lib/asn1/template.c
549
size_t l;
crypto/heimdal/lib/asn1/template.c
555
val[i].length, elptr, &l);
crypto/heimdal/lib/hdb/hdb-ldap.c
1020
size_t l;
crypto/heimdal/lib/hdb/hdb-ldap.c
1031
(size_t) keys[i]->bv_len, &ent->entry.keys.val[i], &l);
crypto/heimdal/lib/hdb/hdb-ldap.c
293
const char *attribute, unsigned long l)
crypto/heimdal/lib/hdb/hdb-ldap.c
298
ret = asprintf(&buf, "%ld", l);
crypto/heimdal/lib/hx509/file.c
101
l = base64_encode(p, length, &line);
crypto/heimdal/lib/hx509/file.c
102
if (l < 0) {
crypto/heimdal/lib/hx509/file.c
95
ssize_t l;
crypto/heimdal/lib/hx509/lock.c
62
hx509_lock l;
crypto/heimdal/lib/hx509/lock.c
67
l = calloc(1, sizeof(*l));
crypto/heimdal/lib/hx509/lock.c
68
if (l == NULL)
crypto/heimdal/lib/hx509/lock.c
75
&l->certs);
crypto/heimdal/lib/hx509/lock.c
77
free(l);
crypto/heimdal/lib/hx509/lock.c
81
*lock = l;
crypto/heimdal/lib/hx509/name.c
107
int l = snprintf((char *)&to[j], tolen - j - 1,
crypto/heimdal/lib/hx509/name.c
109
j += l;
crypto/heimdal/lib/hx509/test_name.c
296
compare_subject(hx509_cert c1, hx509_cert c2, int *l)
crypto/heimdal/lib/hx509/test_name.c
306
*l = hx509_name_cmp(n1, n2);
crypto/heimdal/lib/kadm5/ipropd_master.c
331
slave *l = *root;
crypto/heimdal/lib/kadm5/ipropd_master.c
333
while (l) {
crypto/heimdal/lib/kadm5/ipropd_master.c
334
if (strcmp(l->name, s->name) == 0)
crypto/heimdal/lib/kadm5/ipropd_master.c
336
l = l->next;
crypto/heimdal/lib/kadm5/ipropd_master.c
338
if (l) {
crypto/heimdal/lib/kadm5/ipropd_master.c
339
if (l->flags & SLAVE_F_DEAD) {
crypto/heimdal/lib/kadm5/ipropd_master.c
340
remove_slave(context, l, root);
crypto/heimdal/lib/krb5/addr_families.c
1115
int l;
crypto/heimdal/lib/krb5/addr_families.c
1119
l = snprintf(s, len, "TYPE_%d:", addr->addr_type);
crypto/heimdal/lib/krb5/addr_families.c
1120
if (l < 0 || (size_t)l >= len)
crypto/heimdal/lib/krb5/addr_families.c
1122
s += l;
crypto/heimdal/lib/krb5/addr_families.c
1123
len -= l;
crypto/heimdal/lib/krb5/addr_families.c
1125
l = snprintf(s, len, "%02x", ((char*)addr->address.data)[i]);
crypto/heimdal/lib/krb5/addr_families.c
1126
if (l < 0 || (size_t)l >= len)
crypto/heimdal/lib/krb5/addr_families.c
1128
len -= l;
crypto/heimdal/lib/krb5/addr_families.c
1129
s += l;
crypto/heimdal/lib/krb5/addr_families.c
204
uint32_t l, h, m = 0xffffffff;
crypto/heimdal/lib/krb5/addr_families.c
215
l = ia & m;
crypto/heimdal/lib/krb5/addr_families.c
216
h = l | ~m;
crypto/heimdal/lib/krb5/addr_families.c
221
_krb5_put_int(low->address.data, l, low->address.length);
crypto/heimdal/lib/krb5/addr_families.c
604
size_t l, size, ret_len;
crypto/heimdal/lib/krb5/addr_families.c
608
l = strlcpy(str, "RANGE:", len);
crypto/heimdal/lib/krb5/addr_families.c
609
ret_len = l;
crypto/heimdal/lib/krb5/addr_families.c
610
if (l > len)
crypto/heimdal/lib/krb5/addr_families.c
611
l = len;
crypto/heimdal/lib/krb5/addr_families.c
612
size = l;
crypto/heimdal/lib/krb5/addr_families.c
614
ret = krb5_print_address (&a->low, str + size, len - size, &l);
crypto/heimdal/lib/krb5/addr_families.c
617
ret_len += l;
crypto/heimdal/lib/krb5/addr_families.c
618
if (len - size > l)
crypto/heimdal/lib/krb5/addr_families.c
619
size += l;
crypto/heimdal/lib/krb5/addr_families.c
623
l = strlcat(str + size, "-", len - size);
crypto/heimdal/lib/krb5/addr_families.c
624
ret_len += l;
crypto/heimdal/lib/krb5/addr_families.c
625
if (len - size > l)
crypto/heimdal/lib/krb5/addr_families.c
626
size += l;
crypto/heimdal/lib/krb5/addr_families.c
630
ret = krb5_print_address (&a->high, str + size, len - size, &l);
crypto/heimdal/lib/krb5/addr_families.c
633
ret_len += l;
crypto/heimdal/lib/krb5/addr_families.c
687
size_t ret_len = 0, l, size = 0;
crypto/heimdal/lib/krb5/addr_families.c
708
l = strlcpy(str, "ADDRPORT:", len);
crypto/heimdal/lib/krb5/addr_families.c
709
ret_len += l;
crypto/heimdal/lib/krb5/addr_families.c
710
if (len > l)
crypto/heimdal/lib/krb5/addr_families.c
711
size += l;
crypto/heimdal/lib/krb5/addr_families.c
715
ret = krb5_print_address(&addr1, str + size, len - size, &l);
crypto/heimdal/lib/krb5/addr_families.c
718
ret_len += l;
crypto/heimdal/lib/krb5/addr_families.c
719
if (len - size > l)
crypto/heimdal/lib/krb5/addr_families.c
720
size += l;
crypto/heimdal/lib/krb5/config_file.c
1250
long l;
crypto/heimdal/lib/krb5/config_file.c
1251
l = strtol(str, &endptr, 0);
crypto/heimdal/lib/krb5/config_file.c
1255
return l;
crypto/heimdal/lib/krb5/config_file.c
58
ssize_t l;
crypto/heimdal/lib/krb5/config_file.c
64
l = min(len, (size_t)(p - ptr->s));
crypto/heimdal/lib/krb5/config_file.c
66
memcpy(str, ptr->s, l);
crypto/heimdal/lib/krb5/config_file.c
67
str[l] = '\0';
crypto/heimdal/lib/krb5/context.c
697
ssize_t l;
crypto/heimdal/lib/krb5/context.c
699
l = strsep_copy(&q, PATH_SEP, NULL, 0);
crypto/heimdal/lib/krb5/context.c
700
if(l == -1)
crypto/heimdal/lib/krb5/context.c
702
fn = malloc(l + 1);
crypto/heimdal/lib/krb5/context.c
707
(void)strsep_copy(&p, PATH_SEP, fn, l + 1);
crypto/heimdal/lib/krb5/crypto.c
1049
l = len - et->confoundersize;
crypto/heimdal/lib/krb5/crypto.c
1050
memmove(p, p + et->confoundersize, l);
crypto/heimdal/lib/krb5/crypto.c
1051
result->data = realloc(p, l);
crypto/heimdal/lib/krb5/crypto.c
1052
if(result->data == NULL && l != 0) {
crypto/heimdal/lib/krb5/crypto.c
1057
result->length = l;
crypto/heimdal/lib/krb5/crypto.c
1072
size_t checksum_sz, l;
crypto/heimdal/lib/krb5/crypto.c
1117
l = len - et->confoundersize - checksum_sz;
crypto/heimdal/lib/krb5/crypto.c
1118
memmove(p, p + et->confoundersize + checksum_sz, l);
crypto/heimdal/lib/krb5/crypto.c
1119
result->data = realloc(p, l);
crypto/heimdal/lib/krb5/crypto.c
1120
if(result->data == NULL && l != 0) {
crypto/heimdal/lib/krb5/crypto.c
1125
result->length = l;
crypto/heimdal/lib/krb5/crypto.c
995
unsigned long l;
crypto/heimdal/lib/krb5/fcache.c
120
struct flock l;
crypto/heimdal/lib/krb5/fcache.c
121
l.l_start = 0;
crypto/heimdal/lib/krb5/fcache.c
122
l.l_len = 0;
crypto/heimdal/lib/krb5/fcache.c
123
l.l_type = F_UNLCK;
crypto/heimdal/lib/krb5/fcache.c
124
l.l_whence = SEEK_SET;
crypto/heimdal/lib/krb5/fcache.c
125
ret = fcntl(fd, F_SETLKW, &l);
crypto/heimdal/lib/krb5/fcache.c
77
struct flock l;
crypto/heimdal/lib/krb5/fcache.c
79
l.l_start = 0;
crypto/heimdal/lib/krb5/fcache.c
80
l.l_len = 0;
crypto/heimdal/lib/krb5/fcache.c
81
l.l_type = exclusive ? F_WRLCK : F_RDLCK;
crypto/heimdal/lib/krb5/fcache.c
82
l.l_whence = SEEK_SET;
crypto/heimdal/lib/krb5/fcache.c
83
ret = fcntl(fd, F_SETLKW, &l);
crypto/heimdal/lib/krb5/mcache.c
198
struct link *l;
crypto/heimdal/lib/krb5/mcache.c
220
l = m->creds;
crypto/heimdal/lib/krb5/mcache.c
221
while (l != NULL) {
crypto/heimdal/lib/krb5/mcache.c
224
krb5_free_cred_contents (context, &l->cred);
crypto/heimdal/lib/krb5/mcache.c
225
old = l;
crypto/heimdal/lib/krb5/mcache.c
226
l = l->next;
crypto/heimdal/lib/krb5/mcache.c
241
struct link *l;
crypto/heimdal/lib/krb5/mcache.c
246
l = malloc (sizeof(*l));
crypto/heimdal/lib/krb5/mcache.c
247
if (l == NULL) {
crypto/heimdal/lib/krb5/mcache.c
252
l->next = m->creds;
crypto/heimdal/lib/krb5/mcache.c
253
m->creds = l;
crypto/heimdal/lib/krb5/mcache.c
254
memset (&l->cred, 0, sizeof(l->cred));
crypto/heimdal/lib/krb5/mcache.c
255
ret = krb5_copy_creds_contents (context, creds, &l->cred);
crypto/heimdal/lib/krb5/mcache.c
257
m->creds = l->next;
crypto/heimdal/lib/krb5/mcache.c
258
free (l);
crypto/heimdal/lib/krb5/mcache.c
300
struct link *l;
crypto/heimdal/lib/krb5/mcache.c
305
l = *cursor;
crypto/heimdal/lib/krb5/mcache.c
306
if (l != NULL) {
crypto/heimdal/lib/krb5/mcache.c
307
*cursor = l->next;
crypto/heimdal/lib/krb5/mcache.c
309
&l->cred,
crypto/heimdal/lib/krb5/n-fold.c
106
size_t l = 0;
crypto/heimdal/lib/krb5/n-fold.c
118
memcpy(tmp + l, buf, len);
crypto/heimdal/lib/krb5/n-fold.c
119
l += len;
crypto/heimdal/lib/krb5/n-fold.c
123
while(l >= size) {
crypto/heimdal/lib/krb5/n-fold.c
125
l -= size;
crypto/heimdal/lib/krb5/n-fold.c
126
if(l == 0)
crypto/heimdal/lib/krb5/n-fold.c
128
memmove(tmp, tmp + size, l);
crypto/heimdal/lib/krb5/n-fold.c
130
} while(l != 0);
crypto/heimdal/lib/krb5/pac.c
68
#define CHECK(r,f,l) \
crypto/heimdal/lib/krb5/pac.c
72
goto l; \
crypto/heimdal/lib/krb5/pac.c
984
size_t l;
crypto/heimdal/lib/krb5/pac.c
987
l = len;
crypto/heimdal/lib/krb5/pac.c
988
if (l > sizeof(zeros))
crypto/heimdal/lib/krb5/pac.c
989
l = sizeof(zeros);
crypto/heimdal/lib/krb5/pac.c
990
sret = krb5_storage_write(sp, zeros, l);
crypto/heimdal/lib/krb5/pkinit.c
1218
size_t l;
crypto/heimdal/lib/krb5/pkinit.c
1223
ASN1_C_UNIV, CONS, UT_Sequence, &l);
crypto/heimdal/lib/krb5/plugin.c
207
size_t l;
crypto/heimdal/lib/krb5/plugin.c
209
l = strlen(path);
crypto/heimdal/lib/krb5/plugin.c
210
while (l > 0 && (path[l - 1] == '/'
crypto/heimdal/lib/krb5/plugin.c
212
|| path[l - 1] == '\\'
crypto/heimdal/lib/krb5/plugin.c
215
path[--l] = '\0';
crypto/heimdal/lib/roken/environment.c
104
tmp = realloc(l, (idx+2) * sizeof (char *));
crypto/heimdal/lib/roken/environment.c
110
l = tmp;
crypto/heimdal/lib/roken/environment.c
111
l[idx] = strdup(p);
crypto/heimdal/lib/roken/environment.c
112
if(l[idx] == NULL) {
crypto/heimdal/lib/roken/environment.c
116
l[++idx] = NULL;
crypto/heimdal/lib/roken/environment.c
121
*env = l;
crypto/heimdal/lib/roken/environment.c
67
char **l;
crypto/heimdal/lib/roken/environment.c
75
l = *env;
crypto/heimdal/lib/roken/environment.c
92
if((i = find_var(l, p, r - p + 1)) >= 0) {
crypto/heimdal/lib/roken/environment.c
98
free(l[i]);
crypto/heimdal/lib/roken/environment.c
99
l[i] = val;
crypto/heimdal/lib/roken/hex.c
101
for (i = 0; i < l / 2; i++)
crypto/heimdal/lib/roken/hex.c
103
return i + (l & 1);
crypto/heimdal/lib/roken/hex.c
86
size_t l;
crypto/heimdal/lib/roken/hex.c
90
l = strlen(str);
crypto/heimdal/lib/roken/hex.c
93
if ((l/2) + (l&1) > len)
crypto/heimdal/lib/roken/hex.c
96
if (l & 1) {
crypto/heimdal/lib/roken/resolve.c
508
#define resolve_search(h,n,c,t,r,l) \
crypto/heimdal/lib/roken/resolve.c
509
((int)dns_search(h,n,c,t,r,l,(struct sockaddr *)&from,&fromsize))
crypto/heimdal/lib/roken/resolve.c
512
#define resolve_search(h,n,c,t,r,l) res_nsearch(h,n,c,t,r,l)
crypto/heimdal/lib/roken/resolve.c
515
#define resolve_search(h,n,c,t,r,l) res_search(n,c,t,r,l)
crypto/heimdal/lib/roken/strsep_copy.c
48
size_t l;
crypto/heimdal/lib/roken/strsep_copy.c
52
l = min(len, (size_t)(*stringp - save));
crypto/heimdal/lib/roken/strsep_copy.c
54
memcpy(buf, save, l);
crypto/heimdal/lib/roken/strsep_copy.c
55
buf[l] = '\0';
crypto/heimdal/lib/roken/strsep_copy.c
58
l = *stringp - save;
crypto/heimdal/lib/roken/strsep_copy.c
63
return l;
crypto/heimdal/lib/roken/test-readenv.c
49
make_file(char *tmpl, size_t l)
crypto/heimdal/lib/roken/test-readenv.c
52
strlcpy(tmpl, "env.XXXXXX", l);
crypto/heimdal/lib/wind/bidi.c
76
unsigned l = 0;
crypto/heimdal/lib/wind/bidi.c
83
l |= is_l(in[i]);
crypto/heimdal/lib/wind/bidi.c
86
if (l)
crypto/heimdal/lib/wind/normalize.c
73
unsigned l, v, t;
crypto/heimdal/lib/wind/normalize.c
79
l = l_base + s_index / n_count;
crypto/heimdal/lib/wind/normalize.c
87
out[0] = l;
crypto/krb5/src/appl/user_user/server.c
161
l = sizeof(f_inaddr);
crypto/krb5/src/appl/user_user/server.c
162
if (getpeername(0, (struct sockaddr *)&f_inaddr, &l) == -1)
crypto/krb5/src/appl/user_user/server.c
168
l = sizeof(l_inaddr);
crypto/krb5/src/appl/user_user/server.c
169
if (getsockname(0, (struct sockaddr *)&l_inaddr, &l) == -1)
crypto/krb5/src/appl/user_user/server.c
47
socklen_t l;
crypto/krb5/src/include/k5-platform.h
398
void JOIN__2(NAME, auxfini)(shl_t h, int l) { if (!l) NAME(); } \
crypto/krb5/src/include/k5-utf8.h
109
#define KRB5_UTF8_CHARLEN2(p, l) ( \
crypto/krb5/src/include/k5-utf8.h
110
((l = KRB5_UTF8_CHARLEN(p)) < 3 || \
crypto/krb5/src/include/k5-utf8.h
112
l : 0)
crypto/krb5/src/include/port-sockets.h
29
#define SOCKET_READ(fd, b, l) (recv(fd, b, l, 0))
crypto/krb5/src/include/port-sockets.h
30
#define SOCKET_WRITE(fd, b, l) (send(fd, b, l, 0))
crypto/krb5/src/lib/apputils/udppktinfo.c
213
#define check_cmsg_v4_pktinfo(c, t, l, a) 0
crypto/krb5/src/lib/apputils/udppktinfo.c
243
#define check_cmsg_v6_pktinfo(c, t, l, a) 0
crypto/krb5/src/lib/apputils/udppktinfo.c
366
#define set_msg_from_ipv4(m, c, f, l, a) EINVAL
crypto/krb5/src/lib/apputils/udppktinfo.c
401
#define set_msg_from_ipv6(m, c, f, l, a) EINVAL
crypto/krb5/src/lib/crypto/builtin/aes/aes.h
89
{ uint32_t l;
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
210
#define inv_lrnd(y,x,k,c) (s(y,c) = (k)[c] ^ four_tables(x,t_use(i,l),inv_var,rf1,c))
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
212
#define inv_lrnd(y,x,k,c) (s(y,c) = (k)[c] ^ one_table(x,ups,t_use(i,l),inv_var,rf1,c))
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
93
#define fwd_lrnd(y,x,k,c) (s(y,c) = (k)[c] ^ four_tables(x,t_use(f,l),fwd_var,rf1,c))
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
95
#define fwd_lrnd(y,x,k,c) (s(y,c) = (k)[c] ^ one_table(x,ups,t_use(f,l),fwd_var,rf1,c))
crypto/krb5/src/lib/crypto/builtin/aes/aeskey.c
113
cx->inf.l = 0;
crypto/krb5/src/lib/crypto/builtin/aes/aeskey.c
163
cx->inf.l = 0;
crypto/krb5/src/lib/crypto/builtin/aes/aeskey.c
216
cx->inf.l = 0;
crypto/krb5/src/lib/crypto/builtin/aes/aeskey.c
344
cx->inf.l = 0;
crypto/krb5/src/lib/crypto/builtin/aes/aeskey.c
432
cx->inf.l = 0;
crypto/krb5/src/lib/crypto/builtin/aes/aeskey.c
533
cx->inf.l = 0;
crypto/krb5/src/lib/crypto/builtin/aes/aesopt.h
769
# define ls_box(x,c) four_tables(x,t_use(f,l),vf1,rf2,c)
crypto/krb5/src/lib/crypto/builtin/aes/aesopt.h
771
# define ls_box(x,c) four_tables(x,t_use(l,s),vf1,rf2,c)
crypto/krb5/src/lib/crypto/builtin/aes/aesopt.h
773
# define ls_box(x,c) one_table(x,upr,t_use(f,l),vf1,rf2,c)
crypto/krb5/src/lib/crypto/builtin/aes/aesopt.h
775
# define ls_box(x,c) one_table(x,upr,t_use(l,s),vf1,rf2,c)
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
330
t_set(f,l)[i] = w; /* be used in the key schedule) */
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
333
t_set(f,l)[0][i] = w;
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
334
t_set(f,l)[1][i] = upr(w,1);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
335
t_set(f,l)[2][i] = upr(w,2);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
336
t_set(f,l)[3][i] = upr(w,3);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
340
t_set(l,s)[i] = w; /* not of the required form */
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
343
t_set(l,s)[0][i] = w;
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
344
t_set(l,s)[1][i] = upr(w,1);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
345
t_set(l,s)[2][i] = upr(w,2);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
346
t_set(l,s)[3][i] = upr(w,3);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
376
t_set(i,l)[i] = w;
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
379
t_set(i,l)[0][i] = w;
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
380
t_set(i,l)[1][i] = upr(w,1);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
381
t_set(i,l)[2][i] = upr(w,2);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
382
t_set(i,l)[3][i] = upr(w,3);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
127
d_1(uint32_t, t_dec(f,l), sb_data, w0);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
130
d_4(uint32_t, t_dec(f,l), sb_data, w0, w1, w2, w3);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
141
d_1(uint32_t, t_dec(i,l), isb_data, w0);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
144
d_4(uint32_t, t_dec(i,l), isb_data, w0, w1, w2, w3);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
151
d_1(uint32_t, t_dec(l,s), sb_data, w0);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
159
d_4(uint32_t, t_dec(l,s), sb_data, w0, w1, w2, w3);
crypto/krb5/src/lib/crypto/builtin/des/destest.c
69
union { unsigned char c[8*4+3]; long l; } u;
crypto/krb5/src/lib/crypto/builtin/des/f_tables.h
261
extern void krb5int_des_do_encrypt_2(unsigned DES_INT32 *l,
crypto/krb5/src/lib/crypto/builtin/des/f_tables.h
264
extern void krb5int_des_do_decrypt_2(unsigned DES_INT32 *l,
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
106
cache->dec_ctx.inf.l = 1;
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
172
CACHE(key)->enc_ctx.inf.l = CACHE(key)->dec_ctx.inf.l = 0;
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
180
if (CACHE(key)->enc_ctx.inf.l != 0)
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
192
if (CACHE(key)->dec_ctx.inf.l != 0)
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
94
cache->enc_ctx.inf.l = 1;
crypto/krb5/src/lib/crypto/builtin/pbkdf2.c
144
int l, i;
crypto/krb5/src/lib/crypto/builtin/pbkdf2.c
154
l = (output->length + hlen - 1) / hlen;
crypto/krb5/src/lib/crypto/builtin/pbkdf2.c
166
for (i = 1; i <= l; i++) {
crypto/krb5/src/lib/crypto/builtin/pbkdf2.c
170
if (i == l)
crypto/krb5/src/lib/crypto/builtin/pbkdf2.c
180
if (i == l)
crypto/krb5/src/lib/crypto/builtin/sha1/t_shs3.c
490
unsigned int i, j, k, l;
crypto/krb5/src/lib/crypto/builtin/sha1/t_shs3.c
550
for (l = 0; l < SHS_DIGESTSIZE; ++l)
crypto/krb5/src/lib/crypto/builtin/sha1/t_shs3.c
551
printf("%02x",digest[l]);
crypto/krb5/src/lib/crypto/builtin/sha2/sha256.c
206
size_t l = min(len, 64 - offset);
crypto/krb5/src/lib/crypto/builtin/sha2/sha256.c
207
memcpy(m->save + offset, p, l);
crypto/krb5/src/lib/crypto/builtin/sha2/sha256.c
208
offset += l;
crypto/krb5/src/lib/crypto/builtin/sha2/sha256.c
209
p += l;
crypto/krb5/src/lib/crypto/builtin/sha2/sha256.c
210
len -= l;
crypto/krb5/src/lib/crypto/builtin/sha2/sha512.c
212
size_t l = min(len, 128 - offset);
crypto/krb5/src/lib/crypto/builtin/sha2/sha512.c
213
memcpy(m->save + offset, p, l);
crypto/krb5/src/lib/crypto/builtin/sha2/sha512.c
214
offset += l;
crypto/krb5/src/lib/crypto/builtin/sha2/sha512.c
215
p += l;
crypto/krb5/src/lib/crypto/builtin/sha2/sha512.c
216
len -= l;
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
643
krb5_mcc_link *l;
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
647
for (l = data->link; l != NULL; l = l->next) {
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
648
if (l->creds != NULL &&
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
649
krb5int_cc_creds_match_request(context, flags, creds, l->creds)) {
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
650
krb5_free_creds(context, l->creds);
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
651
l->creds = NULL;
crypto/krb5/src/lib/krb5/krb/chk_trans.c
176
int next_lit, intermediates, l;
crypto/krb5/src/lib/krb5/krb/chk_trans.c
207
for (p = transit->data, l = transit->length; l; p++, l--) {
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
409
long l;
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
440
l = strtol(p, &q, 10);
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
445
if (padata[i]->pa_type == l) {
crypto/krb5/src/lib/krb5/krb/parse_host_string.c
106
l = strtoul(port, &endptr, 10);
crypto/krb5/src/lib/krb5/krb/parse_host_string.c
107
if (errno || endptr == port || *endptr != '\0' || l > 65535)
crypto/krb5/src/lib/krb5/krb/parse_host_string.c
109
port_num = l;
crypto/krb5/src/lib/krb5/krb/parse_host_string.c
78
unsigned long l;
crypto/krb5/src/lib/krb5/os/dnsglue.c
106
#define SEARCH(h, n, c, t, a, l) res_search(n, c, t, a, l)
crypto/krb5/src/lib/krb5/os/dnsglue.c
84
#define SEARCH(h, n, c, t, a, l) dns_search(h, n, c, t, a, l, NULL, NULL)
crypto/krb5/src/lib/krb5/os/dnsglue.c
93
#define SEARCH(h, n, c, t, a, l) res_nsearch(&h, n, c, t, a, l)
crypto/krb5/src/lib/krb5/os/hostrealm.c
287
size_t l;
crypto/krb5/src/lib/krb5/os/hostrealm.c
308
l = strlen(cleanname);
crypto/krb5/src/lib/krb5/os/hostrealm.c
309
if (l > 0 && cleanname[l - 1] == '.')
crypto/krb5/src/lib/krb5/os/hostrealm.c
310
cleanname[l - 1] = '\0';
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1091
long l, r, m;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1093
l = 0;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1096
while (l <= r) {
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1097
m = (l + r) >> 1;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1100
l = m + 3;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1198
long l, r, m;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1201
l = 0;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1203
while (l <= r) {
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1208
m = (l + r) >> 1;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1211
l = m + 2;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1227
long l, r, m;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1230
l = 0;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1232
while (l <= r) {
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1237
m = (l + r) >> 1;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1240
l = m + 2;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
244
long l, r, m;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
254
if ((l = _ucprop_offsets[n]) == 0xffff)
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
266
while (l <= r) {
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
271
m = (l + r) >> 1;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
274
l = m + 2;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
393
_uccase_lookup(krb5_ui_4 code, long l, long r, int field)
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
401
while (l <= r) {
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
406
m = (l + r) >> 1;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
409
l = m + 1;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
423
long l, r;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
433
l = _uccase_len[0];
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
434
r = (l + _uccase_len[1]) - 1;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
440
l = _uccase_len[0] + _uccase_len[1];
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
443
return _uccase_lookup(code, l, r, field);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
450
long l, r;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
460
l = 0;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
467
l = _uccase_len[0] + _uccase_len[1];
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
470
return _uccase_lookup(code, l, r, field);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
477
long l, r;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
491
l = 0;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
497
l = _uccase_len[0];
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
498
r = (l + _uccase_len[1]) - 1;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
500
return _uccase_lookup(code, l, r, field);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
592
int l, r, m;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
594
l = 0;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
597
while (l <= r) {
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
598
m = ((r + l) >> 1);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
601
l = m + 4;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
605
l = m + 4;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
854
long l, r, m;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
860
l = 0;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
863
while (l <= r) {
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
868
m = (l + r) >> 1;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
871
l = m + 2;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
886
long l, r, m;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
892
l = 0;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
895
while (l <= r) {
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
900
m = (l + r) >> 1;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
903
l = m + 2;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
935
int l, size;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
958
for (l = i; l > 0; l--)
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
959
if (class >= uccombining_class((*out)[l-1]))
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
961
memmove(*out + l + 1, *out + l, (i - l) * sizeof(**out));
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
962
(*out)[l] = decomp[k];
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
988
for (l = i; l > 0; l--)
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
989
if (class >= uccombining_class((*out)[l-1]))
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
991
memmove(*out + l + 1, *out + l, (i - l) * sizeof(**out));
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
992
(*out)[l] = in[j];
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1129
long l, r, m;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1132
l = 0;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1135
while (l <= r) {
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1136
m = (l + r) >> 1;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1138
l = m + 1;
crypto/krb5/src/lib/rpc/auth_gssapi.c
28
#define L_PRINTF(l,args) if (auth_debug_gssapi >= l) gssrpcint_printf args
crypto/krb5/src/lib/rpc/auth_gssapi.c
34
#define L_PRINTF(l, args)
crypto/krb5/src/lib/rpc/auth_gssapi_misc.c
21
#define L_PRINTF(l,args) if (misc_debug_gssapi >= l) gssrpcint_printf args
crypto/krb5/src/lib/rpc/auth_gssapi_misc.c
27
#define L_PRINTF(l, args)
crypto/krb5/src/lib/rpc/svc_auth_gssapi.c
69
#define L_PRINTF(l,args) if (svc_debug_gssapi >= l) gssrpcint_printf args
crypto/krb5/src/lib/rpc/svc_auth_gssapi.c
75
#define L_PRINTF(l, args)
crypto/krb5/src/lib/rpc/xdr.c
100
long l;
crypto/krb5/src/lib/rpc/xdr.c
109
l = (long) *ip;
crypto/krb5/src/lib/rpc/xdr.c
110
return (XDR_PUTLONG(xdrs, &l));
crypto/krb5/src/lib/rpc/xdr.c
113
if (!XDR_GETLONG(xdrs, &l))
crypto/krb5/src/lib/rpc/xdr.c
116
if (l > INT_MAX || l < INT_MIN)
crypto/krb5/src/lib/rpc/xdr.c
119
*ip = (int) l;
crypto/krb5/src/lib/rpc/xdr.c
134
u_long l;
crypto/krb5/src/lib/rpc/xdr.c
143
l = (u_long)*up;
crypto/krb5/src/lib/rpc/xdr.c
144
return (XDR_PUTLONG(xdrs, (long *) &l));
crypto/krb5/src/lib/rpc/xdr.c
147
if (!XDR_GETLONG(xdrs, (long *) &l))
crypto/krb5/src/lib/rpc/xdr.c
150
if ((uint32_t)l > UINT_MAX)
crypto/krb5/src/lib/rpc/xdr.c
153
*up = (u_int) l;
crypto/krb5/src/lib/rpc/xdr.c
217
long l;
crypto/krb5/src/lib/rpc/xdr.c
223
l = (long) *sp;
crypto/krb5/src/lib/rpc/xdr.c
224
return (XDR_PUTLONG(xdrs, &l));
crypto/krb5/src/lib/rpc/xdr.c
227
if (!XDR_GETLONG(xdrs, &l)) {
crypto/krb5/src/lib/rpc/xdr.c
230
if (l > SHRT_MAX || l < SHRT_MIN)
crypto/krb5/src/lib/rpc/xdr.c
233
*sp = (short) l;
crypto/krb5/src/lib/rpc/xdr.c
248
u_long l;
crypto/krb5/src/lib/rpc/xdr.c
254
l = (u_long) *usp;
crypto/krb5/src/lib/rpc/xdr.c
255
return (XDR_PUTLONG(xdrs, (long *) &l));
crypto/krb5/src/lib/rpc/xdr.c
258
if (!XDR_GETLONG(xdrs, (long *) &l)) {
crypto/krb5/src/lib/rpc/xdr.c
261
*usp = (u_short) l;
crypto/krb5/src/lib/rpc/xdr.c
499
long l;
crypto/krb5/src/lib/rpc/xdr.c
505
l = *ip;
crypto/krb5/src/lib/rpc/xdr.c
506
return (xdr_long(xdrs, &l));
crypto/krb5/src/lib/rpc/xdr.c
509
if (!xdr_long(xdrs, &l)) {
crypto/krb5/src/lib/rpc/xdr.c
512
*ip = l;
crypto/krb5/src/lib/rpc/xdr_alloc.c
103
DynSize((DynObject) xdrs->x_private), &l,
crypto/krb5/src/lib/rpc/xdr_alloc.c
99
int l = htonl((uint32_t) *lp); /* XXX need bounds checking */
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
104
bt_root(t, sp, &l, &r, &skip, ilen) :
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
105
bt_page(t, sp, &l, &r, &skip, ilen);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
123
bt_rroot(t, sp, l, r) : bt_broot(t, sp, l, r)) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
150
lchild = l;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
217
bt_root(t, h, &l, &r, &skip, nbytes) :
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
218
bt_page(t, h, &l, &r, &skip, nbytes);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
259
dest = (char *)l + l->linp[NEXTINDEX(l) - 1];
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
277
dest = (char *)l + l->linp[NEXTINDEX(l) - 1];
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
300
bt_rroot(t, sp, l, r) : bt_broot(t, sp, l, r)) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
308
mpool_put(t->bt_mp, l, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
322
err2: mpool_put(t->bt_mp, l, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
345
PAGE *l, *r, *tp;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
384
if ((l = (PAGE *)malloc(t->bt_psize)) == NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
389
memset(l, 0xff, t->bt_psize);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
391
l->pgno = h->pgno;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
392
l->nextpg = r->pgno;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
393
l->prevpg = h->prevpg;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
394
l->lower = BTDATAOFF;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
395
l->upper = t->bt_psize;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
396
l->flags = h->flags & P_TYPE;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
401
free(l);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
416
tp = bt_psplit(t, h, l, r, skip, ilen);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
419
memmove(h, l, t->bt_psize);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
420
if (tp == l)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
422
free(l);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
446
PAGE *l, *r, *tp;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
454
if ((l = __bt_new(t, &lnpg)) == NULL ||
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
457
l->pgno = lnpg;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
459
l->nextpg = r->pgno;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
460
r->prevpg = l->pgno;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
461
l->prevpg = r->nextpg = P_INVALID;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
462
l->lower = r->lower = BTDATAOFF;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
463
l->upper = r->upper = t->bt_psize;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
464
l->flags = r->flags = h->flags & P_TYPE;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
467
tp = bt_psplit(t, h, l, r, skip, ilen);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
469
*lp = l;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
487
bt_rroot(BTREE *t, PAGE *h, PAGE *l, PAGE *r)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
495
l->flags & P_RLEAF ? NEXTINDEX(l) : rec_total(l), l->pgno);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
525
bt_broot(BTREE *t, PAGE *h, PAGE *l, PAGE *r)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
543
WR_BINTERNAL(dest, 0, l->pgno, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
603
bt_psplit(BTREE *t, PAGE *h, PAGE *l, PAGE *r, indx_t *pskip, size_t ilen)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
673
l->linp[off] = l->upper -= nbytes;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
674
memmove((char *)l + l->upper, src, nbytes);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
690
l->lower += (off + 1) * sizeof(indx_t);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
704
c->pg.pgno = l->pgno;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
718
rval = l;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
89
PAGE *h, *l, *r, *lchild, *rchild;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
1546
for (l=0; bersecretkey[l]; ++l) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
1547
if (bersecretkey[l]->bv_val)
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
1548
free (bersecretkey[l]->bv_val);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
1549
free (bersecretkey[l]);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
870
size_t l=0, ntrees=0, tre=0;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
212
size_t i=0, j=0, l=0, ntree=0;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
258
for (l=0; l < ntree; ++l) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
259
LDAP_SEARCH(subtrees[l], rparam->search_scope, filter, attr);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
260
result_arr[l] = result;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
314
for (l=0; l < ntree; ++l) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
315
if (subtrees[l])
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
316
free (subtrees[l]);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
322
for (l = 0; l < ntree; l++)
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
323
ldap_msgfree(result_arr[l]);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2315
int l;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2343
l = X509_get_ext_by_NID(cert, NID_subject_alt_name, -1);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2344
if (l < 0)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2347
if (!(ext = X509_get_ext(cert, l)) || !(ialt = X509V3_EXT_d2i(ext))) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_profile.c
198
long l;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_profile.c
199
l = strtol(string, &endptr, 0);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_profile.c
203
*ret_value = l;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_profile.c
358
long l;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_profile.c
359
l = strtol(string, &endptr, 0);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_profile.c
363
*ret_value = l;
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
511
fe_loose l;
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
512
fe_copy_lt(&l, z);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
513
fe_loose_invert(out, &l);
crypto/krb5/src/windows/leashdll/lsh_pwd.c
1647
#define LONG2POINT(l,pt) ((pt).x=(SHORT)LOWORD(l), \
crypto/krb5/src/windows/leashdll/lsh_pwd.c
1648
(pt).y=(SHORT)HIWORD(l))
crypto/krb5/src/windows/leashdll/lsh_pwd.c
1886
#define LONG2POINT(l,pt) ((pt).x=(SHORT)LOWORD(l), \
crypto/krb5/src/windows/leashdll/lsh_pwd.c
1887
(pt).y=(SHORT)HIWORD(l))
crypto/krb5/src/windows/leashdll/lsh_pwd.c
530
#define CSendDlgItemMessage(hDlg, id, m, w, l) checkfirst(id, SendDlgItemMessage(hDlg, id, m, w, l))
crypto/krb5/src/windows/leashdll/lsh_pwd.c
531
#define CSendMessage(hwnd, m, w, l) IsWindow(hwnd) ? SendMessage(hwnd, m, w, l) : 0
crypto/krb5/src/windows/leashdll/lsh_pwd.c
929
#define LONG2POINT(l,pt) ((pt).x=(SHORT)LOWORD(l), \
crypto/krb5/src/windows/leashdll/lsh_pwd.c
930
(pt).y=(SHORT)HIWORD(l))
crypto/libecc/include/libecc/hash/streebog.h
1267
u64 l, CF;
crypto/libecc/include/libecc/hash/streebog.h
1275
l = ctx->N[0];
crypto/libecc/include/libecc/hash/streebog.h
1278
if((ctx->N[0] < l) || (ctx->N[0] < num)){
crypto/libecc/src/sig/bign_common.c
209
u8 q_len, l;
crypto/libecc/src/sig/bign_common.c
230
l = (u8)BIGN_S0_LEN(q_bit_len);
crypto/libecc/src/sig/bign_common.c
244
ret = belt_hash_update(&belt_hash_ctx, &FE2OS_D[0], (u32)(2*l)); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
480
u8 hsize, p_len, l;
crypto/libecc/src/sig/bign_common.c
523
l = (u8)BIGN_S0_LEN(q_bit_len);
crypto/libecc/src/sig/bign_common.c
637
ret = belt_hash_update(&belt_hash_ctx, &FE2OS_W[0], (u32)(2*l)); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
643
ret = local_memset(&sig[0], 0, l); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
644
ret = local_memcpy(&sig[0], &hash_belt[0], LOCAL_MIN(l, BELT_HASH_DIGEST_SIZE)); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
645
dbg_buf_print("s0", &sig[0], LOCAL_MIN(l, BELT_HASH_DIGEST_SIZE));
crypto/libecc/src/sig/bign_common.c
654
ret = local_memcpy(FE2OS_W, &sig[0], l); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
655
ret = _reverse_endianness(FE2OS_W, l); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
656
ret = nn_init_from_buf(&s1, FE2OS_W, l); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
661
ret = nn_lshift(&tmp, &tmp, (bitcnt_t)(8*l)); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
689
ret = nn_export_to_buf(&sig[l], (u16)BIGN_S1_LEN(q_bit_len), &s1); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
690
ret = _reverse_endianness(&sig[l], (u16)BIGN_S1_LEN(q_bit_len));
crypto/libecc/src/sig/bign_common.c
750
u8 l;
crypto/libecc/src/sig/bign_common.c
777
l = (u8)BIGN_S0_LEN(q_bit_len);
crypto/libecc/src/sig/bign_common.c
783
ret = local_memcpy(s0_sig, sig, l); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
786
ret = local_memcpy(&TMP[0], sig, l); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
787
ret = _reverse_endianness(&TMP[0], l); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
788
ret = nn_init_from_buf(s0, &TMP[0], l); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
790
ret = local_memcpy(&TMP[0], &sig[l], (u32)BIGN_S1_LEN(q_bit_len)); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
857
u8 hsize, p_len, l;
crypto/libecc/src/sig/bign_common.c
904
l = (u8)BIGN_S0_LEN(q_bit_len);
crypto/libecc/src/sig/bign_common.c
926
ret = nn_lshift(&tmp, &tmp, (bitcnt_t)(8*l)); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
950
ret = belt_hash_update(&belt_hash_ctx, &FE2OS_W[0], (u32)(2*l)); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
956
ret = local_memset(&t[0], 0, l); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
957
ret = local_memcpy(&t[0], &hash_belt[0], LOCAL_MIN(l, BELT_HASH_DIGEST_SIZE)); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
960
ret = are_equal(t, s0_sig, l, &cmp); EG(ret, err);
crypto/openssh/addr.c
168
addr_netmask(int af, u_int l, struct xaddr *n)
crypto/openssh/addr.c
172
if (masklen_valid(af, l) != 0 || n == NULL)
crypto/openssh/addr.c
179
if (l == 0)
crypto/openssh/addr.c
181
n->v4.s_addr = htonl((0xffffffff << (32 - l)) & 0xffffffff);
crypto/openssh/addr.c
185
for (i = 0; i < 4 && l >= 32; i++, l -= 32)
crypto/openssh/addr.c
187
if (i < 4 && l != 0)
crypto/openssh/addr.c
188
n->addr32[i] = htonl((0xffffffff << (32 - l)) &
crypto/openssh/addr.c
197
addr_hostmask(int af, u_int l, struct xaddr *n)
crypto/openssh/addr.c
199
if (addr_netmask(af, l, n) == -1 || addr_invert(n) == -1)
crypto/openssh/addr.c
460
addr_pton_cidr(const char *p, struct xaddr *n, u_int *l)
crypto/openssh/addr.c
491
if (l != NULL)
crypto/openssh/addr.c
492
*l = masklen;
crypto/openssh/addr.h
43
int addr_netmask(int af, u_int l, struct xaddr *n);
crypto/openssh/addr.h
45
int addr_pton_cidr(const char *p, struct xaddr *n, u_int *l);
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
422
cp[l] = '\0'; /* truncate at '=' */
crypto/openssh/auth-options.c
431
if (strncmp(ret->env[i], cp, l) == 0 &&
crypto/openssh/auth-options.c
432
ret->env[i][l] == '=')
crypto/openssh/auth-pam.c
969
size_t i, l = wire_password != NULL ? strlen(wire_password) : 0;
crypto/openssh/auth-pam.c
971
if (l >= INT_MAX)
crypto/openssh/auth-pam.c
972
fatal("%s: password length too long: %zu", __func__, l);
crypto/openssh/auth-pam.c
974
ret = malloc(l + 1);
crypto/openssh/auth-pam.c
977
for (i = 0; i < l; i++)
crypto/openssh/auth2.c
606
size_t l = strlen(method);
crypto/openssh/auth2.c
610
if (strncmp(methods, method, l) != 0)
crypto/openssh/auth2.c
612
p = methods + l;
crypto/openssh/auth2.c
617
l = strlen(submethod);
crypto/openssh/auth2.c
619
if (strncmp(submethod, p, l))
crypto/openssh/auth2.c
621
p += l;
crypto/openssh/auth2.c
638
size_t l = strlen(method);
crypto/openssh/auth2.c
644
p = omethods + l;
crypto/openssh/authfd.c
141
size_t l, len;
crypto/openssh/authfd.c
168
l = len;
crypto/openssh/authfd.c
169
if (l > sizeof(buf))
crypto/openssh/authfd.c
170
l = sizeof(buf);
crypto/openssh/authfd.c
171
if (atomicio(read, sock, buf, l) != l)
crypto/openssh/authfd.c
173
if ((r = sshbuf_put(reply, buf, l)) != 0)
crypto/openssh/authfd.c
175
len -= l;
crypto/openssh/bitmap.c
168
bitmap_to_string(struct bitmap *b, void *p, size_t l)
crypto/openssh/bitmap.c
173
if (l < need || b->top >= b->len)
crypto/openssh/bitmap.c
175
if (l > need)
crypto/openssh/bitmap.c
176
l = need;
crypto/openssh/bitmap.c
180
if (k >= l)
crypto/openssh/bitmap.c
189
bitmap_from_string(struct bitmap *b, const void *p, size_t l)
crypto/openssh/bitmap.c
195
if (l > BITMAP_MAX / 8)
crypto/openssh/bitmap.c
197
if ((r = reserve(b, l * 8)) != 0)
crypto/openssh/bitmap.c
200
if (l == 0)
crypto/openssh/bitmap.c
202
b->top = offset = ((l + (BITMAP_BYTES - 1)) / BITMAP_BYTES) - 1;
crypto/openssh/bitmap.c
203
shift = ((l + (BITMAP_BYTES - 1)) % BITMAP_BYTES) * 8;
crypto/openssh/bitmap.c
204
for (i = 0; i < l; i++) {
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/clientloop.c
2089
hostkeys_find(struct hostkey_foreach_line *l, void *_ctx)
crypto/openssh/clientloop.c
2095
if (l->key == NULL)
crypto/openssh/clientloop.c
2097
if (l->status != HKF_STATUS_MATCHED) {
crypto/openssh/clientloop.c
2100
if (sshkey_equal(l->key, ctx->keys[i])) {
crypto/openssh/clientloop.c
2105
l->path, l->linenum);
crypto/openssh/clientloop.c
2113
if (l->marker != MRK_NONE) {
crypto/openssh/clientloop.c
2115
l->path, l->linenum);
crypto/openssh/clientloop.c
2121
if (ctx->ip_str != NULL && strchr(l->hosts, ',') != NULL) {
crypto/openssh/clientloop.c
2122
if ((l->match & HKF_MATCH_HOST) == 0) {
crypto/openssh/clientloop.c
2126
"at %s:%ld", ctx->ip_str, l->path, l->linenum);
crypto/openssh/clientloop.c
2128
} else if ((l->match & HKF_MATCH_IP) == 0) {
crypto/openssh/clientloop.c
2132
"at %s:%ld", ctx->host_str, l->path, l->linenum);
crypto/openssh/clientloop.c
2140
if (hostspec_is_complex(l->hosts)) {
crypto/openssh/clientloop.c
2142
l->path, l->linenum);
crypto/openssh/clientloop.c
2149
if (!sshkey_equal(l->key, ctx->keys[i]))
crypto/openssh/clientloop.c
2152
sshkey_ssh_name(ctx->keys[i]), l->path, l->linenum);
crypto/openssh/clientloop.c
2153
ctx->keys_match[i] |= l->match;
crypto/openssh/clientloop.c
2157
debug3_f("deprecated %s key at %s:%ld", sshkey_ssh_name(l->key),
crypto/openssh/clientloop.c
2158
l->path, l->linenum);
crypto/openssh/clientloop.c
2163
ctx->old_keys[ctx->nold++] = l->key;
crypto/openssh/clientloop.c
2164
l->key = NULL;
crypto/openssh/clientloop.c
2171
hostkeys_check_old(struct hostkey_foreach_line *l, void *_ctx)
crypto/openssh/clientloop.c
2178
if (l->status == HKF_STATUS_MATCHED || l->key == NULL)
crypto/openssh/clientloop.c
2181
hashed = l->match & (HKF_MATCH_HOST_HASHED|HKF_MATCH_IP_HASHED);
crypto/openssh/clientloop.c
2183
if (!sshkey_equal(l->key, ctx->old_keys[i]))
crypto/openssh/clientloop.c
2186
sshkey_ssh_name(ctx->old_keys[i]), l->path, l->linenum,
crypto/openssh/clientloop.c
2187
hashed ? "[HASHED]" : l->hosts);
crypto/openssh/digest-openssl.c
162
u_int l = dlen;
crypto/openssh/digest-openssl.c
168
if (EVP_DigestFinal_ex(ctx->mdctx, d, &l) != 1)
crypto/openssh/digest-openssl.c
170
if (l != digest->digest_len) /* sanity */
crypto/openssh/hostfile.c
231
record_hostkey(struct hostkey_foreach_line *l, void *_ctx)
crypto/openssh/hostfile.c
237
if (l->status == HKF_STATUS_INVALID) {
crypto/openssh/hostfile.c
240
l->path, l->linenum);
crypto/openssh/hostfile.c
245
l->marker == MRK_NONE ? "" :
crypto/openssh/hostfile.c
246
(l->marker == MRK_CA ? "ca " : "revoked "),
crypto/openssh/hostfile.c
247
sshkey_type(l->key), l->path, l->linenum);
crypto/openssh/hostfile.c
253
hostkeys->entries[hostkeys->num_entries].file = xstrdup(l->path);
crypto/openssh/hostfile.c
254
hostkeys->entries[hostkeys->num_entries].line = l->linenum;
crypto/openssh/hostfile.c
255
hostkeys->entries[hostkeys->num_entries].key = l->key;
crypto/openssh/hostfile.c
256
l->key = NULL; /* steal it */
crypto/openssh/hostfile.c
257
hostkeys->entries[hostkeys->num_entries].marker = l->marker;
crypto/openssh/hostfile.c
258
hostkeys->entries[hostkeys->num_entries].note = l->note;
crypto/openssh/hostfile.c
551
host_delete(struct hostkey_foreach_line *l, void *_ctx)
crypto/openssh/hostfile.c
558
if (l->status == HKF_STATUS_MATCHED && l->marker == MRK_NONE) {
crypto/openssh/hostfile.c
565
if (!sshkey_equal(ctx->keys[i], l->key))
crypto/openssh/hostfile.c
567
ctx->match_keys[i] |= l->match;
crypto/openssh/hostfile.c
568
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/hostfile.c
570
sshkey_type(l->key), l->path, l->linenum);
crypto/openssh/hostfile.c
580
l->path, l->linenum, sshkey_type(l->key), ctx->host);
crypto/openssh/hostfile.c
585
if (l->status == HKF_STATUS_INVALID) {
crypto/openssh/hostfile.c
588
l->path, l->linenum);
crypto/openssh/hostfile.c
590
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/hostfile.c
69
extract_salt(const char *s, u_int l, u_char *salt, size_t salt_len)
crypto/openssh/hostfile.c
75
if (l < sizeof(HASH_MAGIC) - 1) {
crypto/openssh/hostfile.c
770
size_t linesize = 0, l;
crypto/openssh/hostfile.c
84
l -= sizeof(HASH_MAGIC) - 1;
crypto/openssh/hostfile.c
85
if ((p = memchr(s, HASH_DELIM, l)) == NULL) {
crypto/openssh/hostfile.c
881
l = strcspn(lineinfo.rawkey, " \t");
crypto/openssh/hostfile.c
882
if (l <= 1 || l >= sizeof(ktype) ||
crypto/openssh/hostfile.c
883
lineinfo.rawkey[l] == '\0')
crypto/openssh/hostfile.c
885
memcpy(ktype, lineinfo.rawkey, l);
crypto/openssh/hostfile.c
886
ktype[l] = '\0';
crypto/openssh/hostfile.c
893
if (lineinfo.keytype == KEY_UNSPEC && l < 8 &&
crypto/openssh/hostfile.c
894
strspn(ktype, "0123456789") == l)
crypto/openssh/hostfile.c
902
cp2 += l; /* Skip past key type */
crypto/openssh/hostfile.h
111
typedef int hostkeys_foreach_fn(struct hostkey_foreach_line *l, void *ctx);
crypto/openssh/loginrec.c
1625
struct lastlogx l, *ll;
crypto/openssh/loginrec.c
1627
if ((ll = getlastlogxbyname(li->username, &l)) == NULL) {
crypto/openssh/loginrec.c
1628
memset(&l, '\0', sizeof(l));
crypto/openssh/loginrec.c
1629
ll = &l;
crypto/openssh/misc.c
1554
tohex(const void *vp, size_t l)
crypto/openssh/misc.c
1560
if (l > 65536)
crypto/openssh/misc.c
1563
hl = l * 2 + 1;
crypto/openssh/misc.c
1565
for (i = 0; i < l; i++) {
crypto/openssh/misc.c
2401
size_t i, l = strlen(name);
crypto/openssh/misc.c
2405
if (l == 0) {
crypto/openssh/misc.c
2415
for (i = 0; i < l; i++) {
crypto/openssh/misc.c
2432
if (name[l - 1] == '.')
crypto/openssh/misc.c
2433
name[l - 1] = '\0';
crypto/openssh/misc.c
2480
size_t l;
crypto/openssh/misc.c
2485
l = strlen(s);
crypto/openssh/misc.c
2486
if (l > 1 && strcasecmp(s + l - 1, "Z") == 0) {
crypto/openssh/misc.c
2488
l--;
crypto/openssh/misc.c
2489
} else if (l > 3 && strcasecmp(s + l - 3, "UTC") == 0) {
crypto/openssh/misc.c
2491
l -= 3;
crypto/openssh/misc.c
2498
switch (l) {
crypto/openssh/misc.c
2696
opt_array_free2(char **array, int **iarray, u_int l)
crypto/openssh/misc.c
2700
if (array == NULL || l == 0)
crypto/openssh/misc.c
2702
for (i = 0; i < l; i++)
crypto/openssh/misc.h
222
void opt_array_free2(char **array, int **iarray, u_int l);
crypto/openssh/monitor.c
980
char *s, *l, *ol = xstrdup(list);
crypto/openssh/monitor.c
983
l = ol;
crypto/openssh/monitor.c
984
for ((s = strsep(&l, ",")); s && *s != '\0'; (s = strsep(&l, ","))) {
crypto/openssh/openbsd-compat/blowfish.c
540
u_int32_t l, r;
crypto/openssh/openbsd-compat/blowfish.c
544
l = data[0] << 24 | data[1] << 16 | data[2] << 8 | data[3];
crypto/openssh/openbsd-compat/blowfish.c
546
Blowfish_encipher(c, &l, &r);
crypto/openssh/openbsd-compat/blowfish.c
547
data[0] = l >> 24 & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
548
data[1] = l >> 16 & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
549
data[2] = l >> 8 & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
550
data[3] = l & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
562
u_int32_t l, r;
crypto/openssh/openbsd-compat/blowfish.c
566
l = data[0] << 24 | data[1] << 16 | data[2] << 8 | data[3];
crypto/openssh/openbsd-compat/blowfish.c
568
Blowfish_decipher(c, &l, &r);
crypto/openssh/openbsd-compat/blowfish.c
569
data[0] = l >> 24 & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
570
data[1] = l >> 16 & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
571
data[2] = l >> 8 & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
572
data[3] = l & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
584
u_int32_t l, r;
crypto/openssh/openbsd-compat/blowfish.c
590
l = data[0] << 24 | data[1] << 16 | data[2] << 8 | data[3];
crypto/openssh/openbsd-compat/blowfish.c
592
Blowfish_encipher(c, &l, &r);
crypto/openssh/openbsd-compat/blowfish.c
593
data[0] = l >> 24 & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
594
data[1] = l >> 16 & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
595
data[2] = l >> 8 & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
596
data[3] = l & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
609
u_int32_t l, r;
crypto/openssh/openbsd-compat/blowfish.c
616
l = data[0] << 24 | data[1] << 16 | data[2] << 8 | data[3];
crypto/openssh/openbsd-compat/blowfish.c
618
Blowfish_decipher(c, &l, &r);
crypto/openssh/openbsd-compat/blowfish.c
619
data[0] = l >> 24 & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
620
data[1] = l >> 16 & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
621
data[2] = l >> 8 & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
622
data[3] = l & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
632
l = data[0] << 24 | data[1] << 16 | data[2] << 8 | data[3];
crypto/openssh/openbsd-compat/blowfish.c
634
Blowfish_decipher(c, &l, &r);
crypto/openssh/openbsd-compat/blowfish.c
635
data[0] = l >> 24 & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
636
data[1] = l >> 16 & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
637
data[2] = l >> 8 & 0xff;
crypto/openssh/openbsd-compat/blowfish.c
638
data[3] = l & 0xff;
crypto/openssh/openbsd-compat/bsd-snprintf.c
671
long l;
crypto/openssh/openbsd-compat/bsd-snprintf.c
676
l = (long)x;
crypto/openssh/openbsd-compat/bsd-snprintf.c
677
if (l <= (x+1) && l >= (x-1)) break;
crypto/openssh/openbsd-compat/bsd-snprintf.c
695
ret = my_modf(x0-l*f, &i2);
crypto/openssh/openbsd-compat/bsd-snprintf.c
696
(*iptr) = l*f + i2;
crypto/openssh/openbsd-compat/bsd-snprintf.c
700
(*iptr) = l;
crypto/openssh/openbsd-compat/getrrsetbyname.c
101
#define GETLONG(l, cp) { \
crypto/openssh/openbsd-compat/getrrsetbyname.c
103
(l) = ((u_int32_t)t_cp[0] << 24) \
crypto/openssh/openbsd-compat/inet_ntop.c
89
int l;
crypto/openssh/openbsd-compat/inet_ntop.c
91
l = snprintf(tmp, size, fmt, src[0], src[1], src[2], src[3]);
crypto/openssh/openbsd-compat/inet_ntop.c
92
if (l <= 0 || l >= size) {
crypto/openssh/openbsd-compat/memmem.c
113
while (jp+k<l) {
crypto/openssh/openbsd-compat/memmem.c
134
p = MAX(ms, l-ms-1) + 1;
crypto/openssh/openbsd-compat/memmem.c
135
} else mem0 = l-p;
crypto/openssh/openbsd-compat/memmem.c
141
if (z-h < l) return 0;
crypto/openssh/openbsd-compat/memmem.c
144
if (BITOP(byteset, h[l-1], &)) {
crypto/openssh/openbsd-compat/memmem.c
145
k = l-shift[h[l-1]];
crypto/openssh/openbsd-compat/memmem.c
153
h += l;
crypto/openssh/openbsd-compat/memmem.c
159
for (k=MAX(ms+1,mem); k<l && n[k] == h[k]; k++);
crypto/openssh/openbsd-compat/memmem.c
160
if (k < l) {
crypto/openssh/openbsd-compat/memmem.c
174
memmem(const void *h0, size_t k, const void *n0, size_t l)
crypto/openssh/openbsd-compat/memmem.c
179
if (!l) return (void *)h;
crypto/openssh/openbsd-compat/memmem.c
182
if (k<l) return 0;
crypto/openssh/openbsd-compat/memmem.c
186
if (!h || l==1) return (void *)h;
crypto/openssh/openbsd-compat/memmem.c
188
if (k<l) return 0;
crypto/openssh/openbsd-compat/memmem.c
189
if (l==2) return twobyte_memmem(h, k, n);
crypto/openssh/openbsd-compat/memmem.c
190
if (l==3) return threebyte_memmem(h, k, n);
crypto/openssh/openbsd-compat/memmem.c
191
if (l==4) return fourbyte_memmem(h, k, n);
crypto/openssh/openbsd-compat/memmem.c
193
return twoway_memmem(h, h+k, n, l);
crypto/openssh/openbsd-compat/memmem.c
81
const unsigned char *n, size_t l)
crypto/openssh/openbsd-compat/memmem.c
88
for (i=0; i<l; i++)
crypto/openssh/openbsd-compat/memmem.c
93
while (jp+k<l) {
crypto/openssh/openbsd-compat/sha1.c
31
# define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \
crypto/openssh/openbsd-compat/sha1.c
32
|(rol(block->l[i],8)&0x00FF00FF))
crypto/openssh/openbsd-compat/sha1.c
34
# define blk0(i) block->l[i]
crypto/openssh/openbsd-compat/sha1.c
36
#define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \
crypto/openssh/openbsd-compat/sha1.c
37
^block->l[(i+2)&15]^block->l[i&15],1))
crypto/openssh/openbsd-compat/sha1.c
50
u_int32_t l[16];
crypto/openssh/packet.c
1982
sshpkt_fmt_connection_id(struct ssh *ssh, char *s, size_t l)
crypto/openssh/packet.c
1984
snprintf(s, l, "%.200s%s%s port %d",
crypto/openssh/packet.h
211
void sshpkt_fmt_connection_id(struct ssh *ssh, char *s, size_t l);
crypto/openssh/regress/misc/fuzz-harness/mkcorpus_sntrup761.c
21
void randombytes(unsigned char *ptr, size_t l);
crypto/openssh/regress/misc/fuzz-harness/mkcorpus_sntrup761.c
32
randombytes(unsigned char *ptr, size_t l)
crypto/openssh/regress/misc/fuzz-harness/mkcorpus_sntrup761.c
35
arc4random_buf(ptr, l);
crypto/openssh/regress/misc/fuzz-harness/mkcorpus_sntrup761.c
37
memset(ptr, 0, l);
crypto/openssh/regress/misc/fuzz-harness/mkcorpus_sntrup761.c
41
const void *ptr, size_t l)
crypto/openssh/regress/misc/fuzz-harness/mkcorpus_sntrup761.c
49
if (fwrite(ptr, l, 1, f) != 1)
crypto/openssh/regress/misc/fuzz-harness/sntrup761_dec_fuzz.cc
21
void randombytes(unsigned char *ptr, size_t l);
crypto/openssh/regress/misc/fuzz-harness/sntrup761_dec_fuzz.cc
30
randombytes(unsigned char *ptr, size_t l)
crypto/openssh/regress/misc/fuzz-harness/sntrup761_dec_fuzz.cc
33
arc4random_buf(ptr, l);
crypto/openssh/regress/misc/fuzz-harness/sntrup761_dec_fuzz.cc
35
memset(ptr, 0, l);
crypto/openssh/regress/misc/fuzz-harness/sntrup761_enc_fuzz.cc
21
void randombytes(unsigned char *ptr, size_t l);
crypto/openssh/regress/misc/fuzz-harness/sntrup761_enc_fuzz.cc
30
randombytes(unsigned char *ptr, size_t l)
crypto/openssh/regress/misc/fuzz-harness/sntrup761_enc_fuzz.cc
33
arc4random_buf(ptr, l);
crypto/openssh/regress/misc/fuzz-harness/sntrup761_enc_fuzz.cc
35
memset(ptr, 0, l);
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
290
dump(const char *preamble, const void *sv, size_t l)
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
296
fprintf(stderr, "%s (len %zu):\n", preamble, l);
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
297
for (i = 0; i < l; i++) {
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
301
if (i % 16 == 15 || i == l - 1)
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
103
if (expected->l.keytype == KEY_DSA ||
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
105
expected->l.keytype == KEY_RSA ||
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
107
expected->l.keytype == KEY_ECDSA ||
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
121
ASSERT_PTR_NE(l->path, NULL); /* Don't care about path */
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
122
ASSERT_LONG_LONG_EQ(l->linenum, expected->l.linenum);
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
123
ASSERT_U_INT_EQ(l->status, expected_status);
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
124
ASSERT_U_INT_EQ(l->match, expected_match);
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
126
if (expected->l.line != NULL)
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
127
ASSERT_STRING_EQ(l->line, expected->l.line);
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
128
ASSERT_INT_EQ(l->marker, expected->l.marker);
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
130
if (expected->l.hosts != NULL)
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
131
ASSERT_STRING_EQ(l->hosts, expected->l.hosts);
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
133
if (expected->l.rawkey != NULL)
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
134
ASSERT_STRING_EQ(l->rawkey, expected->l.rawkey);
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
136
ASSERT_INT_EQ(l->keytype, expected_keytype);
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
138
if (expected->l.key == NULL)
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
139
ASSERT_PTR_EQ(l->key, NULL);
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
140
if (expected->l.key != NULL) {
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
141
ASSERT_PTR_NE(l->key, NULL);
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
142
ASSERT_INT_EQ(sshkey_equal(l->key, expected->l.key), 1);
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
145
if (parse_key && !(l->comment == NULL && expected->l.comment == NULL))
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
146
ASSERT_STRING_EQ(l->comment, expected->l.comment);
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
160
if (expected[i].l.keytype == KEY_ECDSA)
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
164
if (expected[i].l.keytype == KEY_DSA)
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
168
switch (expected[i].l.keytype) {
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
176
test_data_file(expected[i].key_file), &expected[i].l.key,
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
187
sshkey_free(expected[i].l.key);
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
188
expected[i].l.key = NULL;
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
33
struct hostkey_foreach_line l; /* Expected line contents */
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
52
check(struct hostkey_foreach_line *l, void *_ctx)
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
62
ctx->i + 1, ctx->nexpected, l->linenum);
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
80
expected->l.status : (u_int)expected->no_parse_status;
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
81
expected_match = expected->l.match;
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
90
expected->l.keytype : expected->no_parse_keytype;
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
93
if (expected->l.keytype == KEY_ECDSA ||
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
98
if (expected->l.keytype == KEY_DSA ||
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_fixed.c
35
size_t l;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_fixed.c
60
ASSERT_INT_EQ(sshbuf_get_cstring(p1, &s, &l), 0);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_fixed.c
63
ASSERT_SIZE_T_EQ(l, 5);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_fixed.c
91
ASSERT_INT_EQ(sshbuf_get_cstring(p2, &s, &l), 0);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_fixed.c
94
ASSERT_SIZE_T_EQ(l, 5);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c
43
size_t l;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c
56
if (sshbuf_get_string(p1, &s, &l) == 0) {
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c
57
bzero(s, l);
crypto/openssh/regress/unittests/sshkey/test_fuzz.c
82
size_t l;
crypto/openssh/regress/unittests/sshkey/test_fuzz.c
91
ASSERT_INT_EQ(sshkey_sign(k, &sig, &l, c, sizeof(c),
crypto/openssh/regress/unittests/sshkey/test_fuzz.c
93
ASSERT_SIZE_T_GT(l, 0);
crypto/openssh/regress/unittests/sshkey/test_fuzz.c
94
fuzz = fuzz_begin(fuzzers, sig, l);
crypto/openssh/regress/unittests/sshkey/test_fuzz.c
95
ASSERT_INT_EQ(sshkey_verify(k, sig, l, c, sizeof(c), NULL, 0, NULL), 0);
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
120
const u_char *d, size_t l)
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
125
ASSERT_INT_EQ(sshkey_sign(k, &sig, &len, d, l, sig_alg,
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
129
ASSERT_INT_EQ(sshkey_verify(k, sig, len, d, l, NULL, 0, NULL), 0);
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
130
ASSERT_INT_NE(sshkey_verify(bad, sig, len, d, l, NULL, 0, NULL), 0);
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
133
ASSERT_INT_NE(sshkey_verify(k, sig, len, d, l, NULL, 0, NULL), 0);
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
138
banana(u_char *s, size_t l)
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
143
for (o = 0; o < l; o += sizeof(the_banana)) {
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
144
if (l - o < sizeof(the_banana)) {
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
145
memcpy(s + o, "nanananana", l - o);
crypto/openssh/regress/unittests/test_helper/fuzz.c
215
fuzz_begin(u_int strategies, const void *p, size_t l)
crypto/openssh/regress/unittests/test_helper/fuzz.c
221
ret->seed = malloc(l);
crypto/openssh/regress/unittests/test_helper/fuzz.c
223
memcpy(ret->seed, p, l);
crypto/openssh/regress/unittests/test_helper/fuzz.c
224
ret->slen = l;
crypto/openssh/regress/unittests/test_helper/test_helper.c
386
tohex(const void *_s, size_t l)
crypto/openssh/regress/unittests/test_helper/test_helper.c
391
char *r = malloc((l * 2) + 1);
crypto/openssh/regress/unittests/test_helper/test_helper.c
394
for (i = j = 0; i < l; i++) {
crypto/openssh/regress/unittests/test_helper/test_helper.c
404
const void *aa1, const void *aa2, size_t l, enum test_predicate pred)
crypto/openssh/regress/unittests/test_helper/test_helper.c
410
if (l == 0)
crypto/openssh/regress/unittests/test_helper/test_helper.c
416
r = memcmp(aa1, aa2, l);
crypto/openssh/regress/unittests/test_helper/test_helper.c
419
aa1_tohex = tohex(aa1, MINIMUM(l, 256));
crypto/openssh/regress/unittests/test_helper/test_helper.c
420
aa2_tohex = tohex(aa2, MINIMUM(l, 256));
crypto/openssh/regress/unittests/test_helper/test_helper.c
421
fprintf(stderr, "%12s = %s (len %zu)\n", a1, aa1_tohex, l);
crypto/openssh/regress/unittests/test_helper/test_helper.c
422
fprintf(stderr, "%12s = %s (len %zu)\n", a2, aa2_tohex, l);
crypto/openssh/regress/unittests/test_helper/test_helper.c
429
memvalcmp(const u_int8_t *s, u_char v, size_t l, size_t *where)
crypto/openssh/regress/unittests/test_helper/test_helper.c
433
for (i = 0; i < l; i++) {
crypto/openssh/regress/unittests/test_helper/test_helper.c
444
const void *aa1, u_char v, size_t l, enum test_predicate pred)
crypto/openssh/regress/unittests/test_helper/test_helper.c
451
if (l == 0)
crypto/openssh/regress/unittests/test_helper/test_helper.c
456
r = memvalcmp(aa1, v, l, &where);
crypto/openssh/regress/unittests/test_helper/test_helper.c
459
aa1_tohex = tohex(aa1, MINIMUM(l, 20));
crypto/openssh/regress/unittests/test_helper/test_helper.c
461
aa1_tohex, l > 20 ? "..." : "", l);
crypto/openssh/regress/unittests/test_helper/test_helper.h
112
#define ASSERT_MEM_EQ(a1, a2, l) \
crypto/openssh/regress/unittests/test_helper/test_helper.h
113
assert_mem(__FILE__, __LINE__, #a1, #a2, a1, a2, l, TEST_EQ)
crypto/openssh/regress/unittests/test_helper/test_helper.h
114
#define ASSERT_MEM_FILLED_EQ(a1, c, l) \
crypto/openssh/regress/unittests/test_helper/test_helper.h
115
assert_mem_filled(__FILE__, __LINE__, #a1, a1, c, l, TEST_EQ)
crypto/openssh/regress/unittests/test_helper/test_helper.h
116
#define ASSERT_MEM_ZERO_EQ(a1, l) \
crypto/openssh/regress/unittests/test_helper/test_helper.h
117
assert_mem_filled(__FILE__, __LINE__, #a1, a1, '\0', l, TEST_EQ)
crypto/openssh/regress/unittests/test_helper/test_helper.h
145
#define ASSERT_MEM_NE(a1, a2, l) \
crypto/openssh/regress/unittests/test_helper/test_helper.h
146
assert_mem(__FILE__, __LINE__, #a1, #a2, a1, a2, l, TEST_NE)
crypto/openssh/regress/unittests/test_helper/test_helper.h
147
#define ASSERT_MEM_ZERO_NE(a1, l) \
crypto/openssh/regress/unittests/test_helper/test_helper.h
148
assert_mem_filled(__FILE__, __LINE__, #a1, a1, '\0', l, TEST_NE)
crypto/openssh/regress/unittests/test_helper/test_helper.h
176
#define ASSERT_MEM_LT(a1, a2, l) \
crypto/openssh/regress/unittests/test_helper/test_helper.h
177
assert_mem(__FILE__, __LINE__, #a1, #a2, a1, a2, l, TEST_LT)
crypto/openssh/regress/unittests/test_helper/test_helper.h
205
#define ASSERT_MEM_LE(a1, a2, l) \
crypto/openssh/regress/unittests/test_helper/test_helper.h
206
assert_mem(__FILE__, __LINE__, #a1, #a2, a1, a2, l, TEST_LE)
crypto/openssh/regress/unittests/test_helper/test_helper.h
234
#define ASSERT_MEM_GT(a1, a2, l) \
crypto/openssh/regress/unittests/test_helper/test_helper.h
235
assert_mem(__FILE__, __LINE__, #a1, #a2, a1, a2, l, TEST_GT)
crypto/openssh/regress/unittests/test_helper/test_helper.h
263
#define ASSERT_MEM_GE(a1, a2, l) \
crypto/openssh/regress/unittests/test_helper/test_helper.h
264
assert_mem(__FILE__, __LINE__, #a1, #a2, a1, a2, l, TEST_GE)
crypto/openssh/regress/unittests/test_helper/test_helper.h
301
struct fuzz *fuzz_begin(u_int strategies, const void *p, size_t l);
crypto/openssh/regress/unittests/test_helper/test_helper.h
65
const void *aa1, const void *aa2, size_t l, enum test_predicate pred);
crypto/openssh/regress/unittests/test_helper/test_helper.h
68
const void *aa1, u_char v, size_t l, enum test_predicate pred);
crypto/openssh/sftp-client.c
3006
size_t l = strlen(pathname);
crypto/openssh/sftp-client.c
3008
return l > 0 && pathname[l - 1] == '/';
crypto/openssh/sftp-glob.c
141
size_t l;
crypto/openssh/sftp-glob.c
170
(l = strlen(s)) > 0 && s[l-1] != '/') {
crypto/openssh/sftp-glob.c
173
if ((s = realloc(s, l + 2)) != NULL) {
crypto/openssh/sftp-glob.c
174
memcpy(s + l, "/", 2);
crypto/openssh/ssh-keygen.c
1219
known_hosts_hash(struct hostkey_foreach_line *l, void *_ctx)
crypto/openssh/ssh-keygen.c
1223
int has_wild = l->hosts && strcspn(l->hosts, "*?!") != strlen(l->hosts);
crypto/openssh/ssh-keygen.c
1224
int was_hashed = l->hosts && l->hosts[0] == HASH_DELIM;
crypto/openssh/ssh-keygen.c
1226
switch (l->status) {
crypto/openssh/ssh-keygen.c
1233
if (was_hashed || has_wild || l->marker != MRK_NONE) {
crypto/openssh/ssh-keygen.c
1234
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/ssh-keygen.c
1237
"with wildcard: %.64s", l->path,
crypto/openssh/ssh-keygen.c
1238
l->linenum, l->hosts);
crypto/openssh/ssh-keygen.c
1246
ohosts = hosts = xstrdup(l->hosts);
crypto/openssh/ssh-keygen.c
1251
fprintf(ctx->out, "%s %s\n", hashed, l->rawkey);
crypto/openssh/ssh-keygen.c
1260
logit("%s:%lu: invalid line", l->path, l->linenum);
crypto/openssh/ssh-keygen.c
1263
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/ssh-keygen.c
1271
known_hosts_find_delete(struct hostkey_foreach_line *l, void *_ctx)
crypto/openssh/ssh-keygen.c
1281
if (l->status == HKF_STATUS_MATCHED) {
crypto/openssh/ssh-keygen.c
1283
if (l->marker != MRK_NONE) {
crypto/openssh/ssh-keygen.c
1285
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/ssh-keygen.c
1295
ctx->host, l->linenum);
crypto/openssh/ssh-keygen.c
1303
l->linenum, l->marker == MRK_CA ? "CA" :
crypto/openssh/ssh-keygen.c
1304
(l->marker == MRK_REVOKE ? "REVOKED" : ""));
crypto/openssh/ssh-keygen.c
1307
known_hosts_hash(l, ctx);
crypto/openssh/ssh-keygen.c
1309
fp = sshkey_fingerprint(l->key, fptype, rep);
crypto/openssh/ssh-keygen.c
1310
ra = sshkey_fingerprint(l->key,
crypto/openssh/ssh-keygen.c
1315
sshkey_type(l->key), fp,
crypto/openssh/ssh-keygen.c
1316
l->comment[0] ? " " : "",
crypto/openssh/ssh-keygen.c
1317
l->comment);
crypto/openssh/ssh-keygen.c
1323
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/ssh-keygen.c
1328
if (l->status == HKF_STATUS_INVALID) {
crypto/openssh/ssh-keygen.c
1330
logit("%s:%lu: invalid line", l->path, l->linenum);
crypto/openssh/ssh-keygen.c
1332
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/ssh-pkcs11-client.c
204
u_int l, len;
crypto/openssh/ssh-pkcs11-client.c
220
l = len;
crypto/openssh/ssh-pkcs11-client.c
221
if (l > sizeof(buf))
crypto/openssh/ssh-pkcs11-client.c
222
l = sizeof(buf);
crypto/openssh/ssh-pkcs11-client.c
223
if (atomicio(read, fd, buf, l) != l) {
crypto/openssh/ssh-pkcs11-client.c
227
if ((r = sshbuf_put(m, buf, l)) != 0)
crypto/openssh/ssh-pkcs11-client.c
229
len -= l;
crypto/openssh/sshbuf-misc.c
177
size_t i, l;
crypto/openssh/sshbuf-misc.c
186
l = sshbuf_len(b);
crypto/openssh/sshbuf-misc.c
187
if (l <= 1 || sshbuf_ptr(b) == NULL) {
crypto/openssh/sshbuf-misc.c
191
if (sshbuf_ptr(b)[l - 1] != '=')
crypto/openssh/sshbuf-misc.c
197
l = sshbuf_len(b);
crypto/openssh/sshbuf-misc.c
202
for (i = 0; i < l; i++) {
crypto/openssh/sshbuf-misc.c
218
size_t l = sshbuf_len(buf);
crypto/openssh/sshbuf-misc.c
221
if (s == NULL || l > SIZE_MAX)
crypto/openssh/sshbuf-misc.c
224
if (l > 0 && (p = memchr(s, '\0', l)) != NULL) {
crypto/openssh/sshbuf-misc.c
225
if (p != s + l - 1)
crypto/openssh/sshbuf-misc.c
227
l--; /* the nul is put back below */
crypto/openssh/sshbuf-misc.c
229
if ((r = malloc(l + 1)) == NULL)
crypto/openssh/sshbuf-misc.c
231
if (l > 0)
crypto/openssh/sshbuf-misc.c
232
memcpy(r, s, l);
crypto/openssh/sshbuf-misc.c
233
r[l] = '\0';
crypto/openssh/sshconnect.c
709
size_t l;
crypto/openssh/sshconnect.c
713
if ((home = getenv("HOME")) == NULL || (l = strlen(home)) == 0)
crypto/openssh/sshconnect.c
715
if (strncmp(path, home, l) != 0)
crypto/openssh/sshconnect.c
722
if (home[l - 1] != '/' && path[l] != '/')
crypto/openssh/sshconnect.c
724
if (path[l] == '/')
crypto/openssh/sshconnect.c
725
l++;
crypto/openssh/sshconnect.c
726
xasprintf(&ret, "~/%s", path + l);
crypto/openssh/sshconnect.c
754
hostkeys_find_by_key_cb(struct hostkey_foreach_line *l, void *_ctx)
crypto/openssh/sshconnect.c
760
if ((l->match & HKF_MATCH_HOST) != 0)
crypto/openssh/sshconnect.c
763
if (l->marker != MRK_NONE)
crypto/openssh/sshconnect.c
766
if (l->key == NULL || !sshkey_equal(ctx->key, l->key))
crypto/openssh/sshconnect.c
768
path = try_tilde_unexpand(l->path);
crypto/openssh/sshconnect.c
769
debug_f("found matching key in %s:%lu", path, l->linenum);
crypto/openssh/sshconnect.c
772
xasprintf(&ctx->names[ctx->nnames], "%s:%lu: %s", path, l->linenum,
crypto/openssh/sshconnect.c
773
strncmp(l->hosts, HASH_MAGIC, strlen(HASH_MAGIC)) == 0 ?
crypto/openssh/sshconnect.c
774
"[hashed name]" : l->hosts);
crypto/openssh/sshd.c
1169
const struct linger l = { .l_onoff = 1,
crypto/openssh/sshd.c
1173
SO_LINGER, &l, sizeof(l));
crypto/openssh/sshkey.c
1290
peek_type_nid(const char *s, size_t l, int *nid)
crypto/openssh/sshkey.c
1297
if (impl->name == NULL || strlen(impl->name) != l)
crypto/openssh/sshkey.c
1299
if (memcmp(s, impl->name, l) == 0) {
crypto/openssh/sshkey.c
2507
sshkey_format_cert_validity(const struct sshkey_cert *cert, char *s, size_t l)
crypto/openssh/sshkey.c
2514
return strlcpy(s, "forever", l);
crypto/openssh/sshkey.c
2528
return strlcpy(s, ret, l);
crypto/openssh/xmss_fast.c
113
unsigned int l = params->wots_par.len;
crypto/openssh/xmss_fast.c
122
while (l > 1) {
crypto/openssh/xmss_fast.c
123
bound = l >> 1; //floor(l / 2);
crypto/openssh/xmss_fast.c
131
if (l & 1) {
crypto/openssh/xmss_fast.c
133
memcpy(wots_pk+(l>>1)*n, wots_pk+(l-1)*n, n);
crypto/openssh/xmss_fast.c
135
l=(l>>1)+1;
crypto/openssh/xmss_fast.c
139
l=(l>>1);
crypto/openssl/apps/errstr.c
41
unsigned long l;
crypto/openssl/apps/errstr.c
68
if (sscanf(*argv, "%lx", &l) <= 0) {
crypto/openssl/apps/errstr.c
71
ERR_error_string_n(l, buf, sizeof(buf));
crypto/openssl/apps/lib/apps.c
1353
int i, l;
crypto/openssl/apps/lib/apps.c
1355
l = BN_bn2bin(in, buffer);
crypto/openssl/apps/lib/apps.c
1356
for (i = 0; i < l; i++) {
crypto/openssl/apps/lib/apps.c
1358
if (i < l - 1)
crypto/openssl/apps/lib/opt.c
542
long l;
crypto/openssl/apps/lib/opt.c
544
if (!opt_long(value, &l))
crypto/openssl/apps/lib/opt.c
546
*result = (int)l;
crypto/openssl/apps/lib/opt.c
547
if (*result != l) {
crypto/openssl/apps/lib/opt.c
591
long l;
crypto/openssl/apps/lib/opt.c
595
l = strtol(value, &endp, 0);
crypto/openssl/apps/lib/opt.c
598
|| ((l == LONG_MAX || l == LONG_MIN) && errno == ERANGE)
crypto/openssl/apps/lib/opt.c
599
|| (l == 0 && errno != 0)) {
crypto/openssl/apps/lib/opt.c
604
*result = l;
crypto/openssl/apps/lib/opt.c
697
unsigned long l;
crypto/openssl/apps/lib/opt.c
700
l = strtoul(value, &endptr, 0);
crypto/openssl/apps/lib/opt.c
703
|| ((l == ULONG_MAX) && errno == ERANGE)
crypto/openssl/apps/lib/opt.c
704
|| (l == 0 && errno != 0)) {
crypto/openssl/apps/lib/opt.c
709
*result = l;
crypto/openssl/apps/lib/tlssrp_depr.c
103
int l;
crypto/openssl/apps/lib/tlssrp_depr.c
107
if ((l = password_callback(pass, PWD_STRLEN, 0, &cb_tmp)) < 0) {
crypto/openssl/apps/lib/tlssrp_depr.c
112
*(pass + l) = '\0';
crypto/openssl/apps/pkeyutl.c
535
size_t l = buf_inlen;
crypto/openssl/apps/pkeyutl.c
537
for (i = 0; i < l / 2; i++) {
crypto/openssl/apps/pkeyutl.c
539
buf_in[i] = buf_in[l - 1 - i];
crypto/openssl/apps/pkeyutl.c
540
buf_in[l - 1 - i] = ctmp;
crypto/openssl/apps/s_server.c
2545
unsigned long l;
crypto/openssl/apps/s_server.c
2872
l = k = 0;
crypto/openssl/apps/s_server.c
2882
k = SSL_write(con, &(buf[l]), (unsigned int)i);
crypto/openssl/apps/s_server.c
2889
k = SSL_write(con, &(buf[l]), (unsigned int)i);
crypto/openssl/apps/s_server.c
2925
l += k;
crypto/openssl/crypto/LPdir_vms.c
169
l = (*ctx)->result_dsc.dsc$w_length;
crypto/openssl/crypto/LPdir_vms.c
176
l -= p + 1 - r;
crypto/openssl/crypto/LPdir_vms.c
179
l = p - r;
crypto/openssl/crypto/LPdir_vms.c
184
strncpy((*ctx)->result, r, l);
crypto/openssl/crypto/LPdir_vms.c
185
(*ctx)->result[l] = '\0';
crypto/openssl/crypto/LPdir_vms.c
73
size_t l;
crypto/openssl/crypto/asn1/a_object.c
101
if (!use_bn && l >= ((ULONG_MAX - 80) / 10L)) {
crypto/openssl/crypto/asn1/a_object.c
105
if (bl == NULL || !BN_set_word(bl, l))
crypto/openssl/crypto/asn1/a_object.c
113
l = l * 10L + (long)(c - '0');
crypto/openssl/crypto/asn1/a_object.c
116
if ((first < 2) && (l >= 40)) {
crypto/openssl/crypto/asn1/a_object.c
124
l += (long)first * 40;
crypto/openssl/crypto/asn1/a_object.c
148
tmp[i++] = (unsigned char)l & 0x7f;
crypto/openssl/crypto/asn1/a_object.c
149
l >>= 7L;
crypto/openssl/crypto/asn1/a_object.c
150
if (l == 0L)
crypto/openssl/crypto/asn1/a_object.c
57
unsigned long l;
crypto/openssl/crypto/asn1/a_object.c
88
l = 0;
crypto/openssl/crypto/asn1/a_time.c
113
l = d->length;
crypto/openssl/crypto/asn1/a_time.c
124
if (l < min_l)
crypto/openssl/crypto/asn1/a_time.c
135
if (++o == l)
crypto/openssl/crypto/asn1/a_time.c
142
if (++o == l)
crypto/openssl/crypto/asn1/a_time.c
196
if (++o == l)
crypto/openssl/crypto/asn1/a_time.c
199
while ((o < l) && ossl_ascii_isdigit(a[o]))
crypto/openssl/crypto/asn1/a_time.c
205
if (o == l)
crypto/openssl/crypto/asn1/a_time.c
227
if (o + 4 != l)
crypto/openssl/crypto/asn1/a_time.c
255
if (o == l) {
crypto/openssl/crypto/asn1/a_time.c
492
int l;
crypto/openssl/crypto/asn1/a_time.c
500
l = tm->length;
crypto/openssl/crypto/asn1/a_time.c
515
while (15 + f_len < l && ossl_ascii_isdigit(f[f_len]))
crypto/openssl/crypto/asn1/a_time.c
82
int n, i, i2, l, o, min_l, strict = 0, end = 6, btz = 5, md;
crypto/openssl/crypto/asn1/x_long.c
191
long l;
crypto/openssl/crypto/asn1/x_long.c
193
memcpy(&l, pval, COPY_SIZE(*pval, l));
crypto/openssl/crypto/asn1/x_long.c
194
return BIO_printf(out, "%ld\n", l);
crypto/openssl/crypto/bf/bf_cfb64.c
31
register long l = length;
crypto/openssl/crypto/bf/bf_cfb64.c
37
while (l--) {
crypto/openssl/crypto/bf/bf_cfb64.c
57
while (l--) {
crypto/openssl/crypto/bf/bf_ecb.c
34
BF_LONG l, d[2];
crypto/openssl/crypto/bf/bf_ecb.c
36
n2l(in, l);
crypto/openssl/crypto/bf/bf_ecb.c
37
d[0] = l;
crypto/openssl/crypto/bf/bf_ecb.c
38
n2l(in, l);
crypto/openssl/crypto/bf/bf_ecb.c
39
d[1] = l;
crypto/openssl/crypto/bf/bf_ecb.c
44
l = d[0];
crypto/openssl/crypto/bf/bf_ecb.c
45
l2n(l, out);
crypto/openssl/crypto/bf/bf_ecb.c
46
l = d[1];
crypto/openssl/crypto/bf/bf_ecb.c
47
l2n(l, out);
crypto/openssl/crypto/bf/bf_ecb.c
48
l = d[0] = d[1] = 0;
crypto/openssl/crypto/bf/bf_enc.c
100
BF_ENC(r, l, s, p[2]);
crypto/openssl/crypto/bf/bf_enc.c
101
BF_ENC(l, r, s, p[1]);
crypto/openssl/crypto/bf/bf_enc.c
104
data[1] = l & 0xffffffffU;
crypto/openssl/crypto/bf/bf_enc.c
113
register long l = length;
crypto/openssl/crypto/bf/bf_enc.c
120
for (l -= 8; l >= 0; l -= 8) {
crypto/openssl/crypto/bf/bf_enc.c
133
if (l != -8) {
crypto/openssl/crypto/bf/bf_enc.c
134
n2ln(in, tin0, tin1, l + 8);
crypto/openssl/crypto/bf/bf_enc.c
151
for (l -= 8; l >= 0; l -= 8) {
crypto/openssl/crypto/bf/bf_enc.c
164
if (l != -8) {
crypto/openssl/crypto/bf/bf_enc.c
172
l2nn(tout0, tout1, out, l + 8);
crypto/openssl/crypto/bf/bf_enc.c
32
register BF_LONG l, r;
crypto/openssl/crypto/bf/bf_enc.c
37
l = data[0];
crypto/openssl/crypto/bf/bf_enc.c
40
l ^= p[0];
crypto/openssl/crypto/bf/bf_enc.c
41
BF_ENC(r, l, s, p[1]);
crypto/openssl/crypto/bf/bf_enc.c
42
BF_ENC(l, r, s, p[2]);
crypto/openssl/crypto/bf/bf_enc.c
43
BF_ENC(r, l, s, p[3]);
crypto/openssl/crypto/bf/bf_enc.c
44
BF_ENC(l, r, s, p[4]);
crypto/openssl/crypto/bf/bf_enc.c
45
BF_ENC(r, l, s, p[5]);
crypto/openssl/crypto/bf/bf_enc.c
46
BF_ENC(l, r, s, p[6]);
crypto/openssl/crypto/bf/bf_enc.c
47
BF_ENC(r, l, s, p[7]);
crypto/openssl/crypto/bf/bf_enc.c
48
BF_ENC(l, r, s, p[8]);
crypto/openssl/crypto/bf/bf_enc.c
49
BF_ENC(r, l, s, p[9]);
crypto/openssl/crypto/bf/bf_enc.c
50
BF_ENC(l, r, s, p[10]);
crypto/openssl/crypto/bf/bf_enc.c
51
BF_ENC(r, l, s, p[11]);
crypto/openssl/crypto/bf/bf_enc.c
52
BF_ENC(l, r, s, p[12]);
crypto/openssl/crypto/bf/bf_enc.c
53
BF_ENC(r, l, s, p[13]);
crypto/openssl/crypto/bf/bf_enc.c
54
BF_ENC(l, r, s, p[14]);
crypto/openssl/crypto/bf/bf_enc.c
55
BF_ENC(r, l, s, p[15]);
crypto/openssl/crypto/bf/bf_enc.c
56
BF_ENC(l, r, s, p[16]);
crypto/openssl/crypto/bf/bf_enc.c
58
BF_ENC(r, l, s, p[17]);
crypto/openssl/crypto/bf/bf_enc.c
59
BF_ENC(l, r, s, p[18]);
crypto/openssl/crypto/bf/bf_enc.c
60
BF_ENC(r, l, s, p[19]);
crypto/openssl/crypto/bf/bf_enc.c
61
BF_ENC(l, r, s, p[20]);
crypto/openssl/crypto/bf/bf_enc.c
65
data[1] = l & 0xffffffffU;
crypto/openssl/crypto/bf/bf_enc.c
71
register BF_LONG l, r;
crypto/openssl/crypto/bf/bf_enc.c
76
l = data[0];
crypto/openssl/crypto/bf/bf_enc.c
79
l ^= p[BF_ROUNDS + 1];
crypto/openssl/crypto/bf/bf_enc.c
81
BF_ENC(r, l, s, p[20]);
crypto/openssl/crypto/bf/bf_enc.c
82
BF_ENC(l, r, s, p[19]);
crypto/openssl/crypto/bf/bf_enc.c
83
BF_ENC(r, l, s, p[18]);
crypto/openssl/crypto/bf/bf_enc.c
84
BF_ENC(l, r, s, p[17]);
crypto/openssl/crypto/bf/bf_enc.c
86
BF_ENC(r, l, s, p[16]);
crypto/openssl/crypto/bf/bf_enc.c
87
BF_ENC(l, r, s, p[15]);
crypto/openssl/crypto/bf/bf_enc.c
88
BF_ENC(r, l, s, p[14]);
crypto/openssl/crypto/bf/bf_enc.c
89
BF_ENC(l, r, s, p[13]);
crypto/openssl/crypto/bf/bf_enc.c
90
BF_ENC(r, l, s, p[12]);
crypto/openssl/crypto/bf/bf_enc.c
91
BF_ENC(l, r, s, p[11]);
crypto/openssl/crypto/bf/bf_enc.c
92
BF_ENC(r, l, s, p[10]);
crypto/openssl/crypto/bf/bf_enc.c
93
BF_ENC(l, r, s, p[9]);
crypto/openssl/crypto/bf/bf_enc.c
94
BF_ENC(r, l, s, p[8]);
crypto/openssl/crypto/bf/bf_enc.c
95
BF_ENC(l, r, s, p[7]);
crypto/openssl/crypto/bf/bf_enc.c
96
BF_ENC(r, l, s, p[6]);
crypto/openssl/crypto/bf/bf_enc.c
97
BF_ENC(l, r, s, p[5]);
crypto/openssl/crypto/bf/bf_enc.c
98
BF_ENC(r, l, s, p[4]);
crypto/openssl/crypto/bf/bf_enc.c
99
BF_ENC(l, r, s, p[3]);
crypto/openssl/crypto/bf/bf_local.h
78
#define n2l(c, l) (l = ((unsigned long)(*((c)++))) << 24L, \
crypto/openssl/crypto/bf/bf_local.h
79
l |= ((unsigned long)(*((c)++))) << 16L, \
crypto/openssl/crypto/bf/bf_local.h
80
l |= ((unsigned long)(*((c)++))) << 8L, \
crypto/openssl/crypto/bf/bf_local.h
81
l |= ((unsigned long)(*((c)++))))
crypto/openssl/crypto/bf/bf_local.h
84
#define l2n(l, c) (*((c)++) = (unsigned char)(((l) >> 24L) & 0xff), \
crypto/openssl/crypto/bf/bf_local.h
85
*((c)++) = (unsigned char)(((l) >> 16L) & 0xff), \
crypto/openssl/crypto/bf/bf_local.h
86
*((c)++) = (unsigned char)(((l) >> 8L) & 0xff), \
crypto/openssl/crypto/bf/bf_local.h
87
*((c)++) = (unsigned char)(((l)) & 0xff))
crypto/openssl/crypto/bf/bf_ofb64.c
30
register long l = length;
crypto/openssl/crypto/bf/bf_ofb64.c
45
while (l--) {
crypto/openssl/crypto/bio/bio_addr.c
171
int BIO_ADDR_rawaddress(const BIO_ADDR *ap, void *p, size_t *l)
crypto/openssl/crypto/bio/bio_addr.c
199
if (l != NULL)
crypto/openssl/crypto/bio/bio_addr.c
200
*l = len;
crypto/openssl/crypto/bio/bio_cb.c
26
size_t l = 0;
crypto/openssl/crypto/bio/bio_cb.c
31
l = *processed;
crypto/openssl/crypto/bio/bio_cb.c
85
BIO_snprintf(p, left, "read return %d processed: %zu\n", ret, l);
crypto/openssl/crypto/bio/bio_cb.c
88
BIO_snprintf(p, left, "write return %d processed: %zu\n", ret, l);
crypto/openssl/crypto/bio/bio_cb.c
91
BIO_snprintf(p, left, "gets return %d processed: %zu\n", ret, l);
crypto/openssl/crypto/bio/bio_cb.c
94
BIO_snprintf(p, left, "puts return %d processed: %zu\n", ret, l);
crypto/openssl/crypto/bio/bio_sock.c
356
int l;
crypto/openssl/crypto/bio/bio_sock.c
358
l = mode;
crypto/openssl/crypto/bio/bio_sock.c
360
l = mode;
crypto/openssl/crypto/bio/bio_sock.c
362
ret = BIO_socket_ioctl(s, FIONBIO, &l);
crypto/openssl/crypto/bio/bio_sock.c
366
l = fcntl(s, F_GETFL, 0);
crypto/openssl/crypto/bio/bio_sock.c
367
if (l == -1) {
crypto/openssl/crypto/bio/bio_sock.c
373
l &= ~O_NONBLOCK;
crypto/openssl/crypto/bio/bio_sock.c
375
l &= ~FNDELAY; /* BSD4.x */
crypto/openssl/crypto/bio/bio_sock.c
379
l |= O_NONBLOCK;
crypto/openssl/crypto/bio/bio_sock.c
381
l |= FNDELAY; /* BSD4.x */
crypto/openssl/crypto/bio/bio_sock.c
384
ret = fcntl(s, F_SETFL, l);
crypto/openssl/crypto/bio/bio_sock.c
54
size_t l;
crypto/openssl/crypto/bio/bio_sock.c
58
} else if (BIO_ADDR_rawaddress(BIO_ADDRINFO_address(res), NULL, &l)) {
crypto/openssl/crypto/bio/bio_sock.c
63
if (ossl_assert(l == 4))
crypto/openssl/crypto/bio/bio_sock.c
64
ret = BIO_ADDR_rawaddress(BIO_ADDRINFO_address(res), ip, &l);
crypto/openssl/crypto/bio/bss_dgram.c
1353
ossl_ssize_t l;
crypto/openssl/crypto/bio/bss_dgram.c
1451
l = sendmsg(b->num, &mh, sysflags);
crypto/openssl/crypto/bio/bss_dgram.c
1452
if (l < 0) {
crypto/openssl/crypto/bio/bss_dgram.c
1458
msg->data_len = (size_t)l;
crypto/openssl/crypto/bio/bss_dgram.c
1555
ossl_ssize_t l;
crypto/openssl/crypto/bio/bss_dgram.c
1656
l = recvmsg(b->num, &mh, sysflags);
crypto/openssl/crypto/bio/bss_dgram.c
1657
if (l < 0) {
crypto/openssl/crypto/bio/bss_dgram.c
1663
msg->data_len = (size_t)l;
crypto/openssl/crypto/bio/bss_dgram_pair.c
1010
ossl_ssize_t l;
crypto/openssl/crypto/bio/bss_dgram_pair.c
1035
l = dgram_pair_read_actual(bio, buf, (size_t)sz_, NULL, NULL, 0);
crypto/openssl/crypto/bio/bss_dgram_pair.c
1036
if (l < 0) {
crypto/openssl/crypto/bio/bss_dgram_pair.c
1037
if (l != -BIO_R_NON_FATAL)
crypto/openssl/crypto/bio/bss_dgram_pair.c
1038
ERR_raise(ERR_LIB_BIO, -l);
crypto/openssl/crypto/bio/bss_dgram_pair.c
1041
ret = (int)l;
crypto/openssl/crypto/bio/bss_dgram_pair.c
1055
ossl_ssize_t l;
crypto/openssl/crypto/bio/bss_dgram_pair.c
1084
l = dgram_pair_read_actual(bio, m->data, m->data_len,
crypto/openssl/crypto/bio/bss_dgram_pair.c
1086
if (l < 0) {
crypto/openssl/crypto/bio/bss_dgram_pair.c
1091
ERR_raise(ERR_LIB_BIO, -l);
crypto/openssl/crypto/bio/bss_dgram_pair.c
1097
m->data_len = l;
crypto/openssl/crypto/bio/bss_dgram_pair.c
1112
ossl_ssize_t l;
crypto/openssl/crypto/bio/bss_dgram_pair.c
1125
l = dgram_pair_read_actual(bio, buf, (size_t)sz_, NULL, NULL, 0);
crypto/openssl/crypto/bio/bss_dgram_pair.c
1126
if (l < 0) {
crypto/openssl/crypto/bio/bss_dgram_pair.c
1127
if (l != -BIO_R_NON_FATAL)
crypto/openssl/crypto/bio/bss_dgram_pair.c
1128
ERR_raise(ERR_LIB_BIO, -l);
crypto/openssl/crypto/bio/bss_dgram_pair.c
1131
ret = (int)l;
crypto/openssl/crypto/bio/bss_dgram_pair.c
1275
ossl_ssize_t l;
crypto/openssl/crypto/bio/bss_dgram_pair.c
1288
l = dgram_pair_write_actual(bio, buf, (size_t)sz_, NULL, NULL, 0);
crypto/openssl/crypto/bio/bss_dgram_pair.c
1289
if (l < 0) {
crypto/openssl/crypto/bio/bss_dgram_pair.c
1290
ERR_raise(ERR_LIB_BIO, -l);
crypto/openssl/crypto/bio/bss_dgram_pair.c
1293
ret = (int)l;
crypto/openssl/crypto/bio/bss_dgram_pair.c
1305
ossl_ssize_t ret, l;
crypto/openssl/crypto/bio/bss_dgram_pair.c
1323
l = dgram_pair_write_actual(bio, m->data, m->data_len,
crypto/openssl/crypto/bio/bss_dgram_pair.c
1325
if (l < 0) {
crypto/openssl/crypto/bio/bss_dgram_pair.c
1330
ERR_raise(ERR_LIB_BIO, -l);
crypto/openssl/crypto/bio/bss_dgram_pair.c
497
size_t l;
crypto/openssl/crypto/bio/bss_dgram_pair.c
513
l = dgram_pair_read_inner(readb, (uint8_t *)&hdr, sizeof(hdr));
crypto/openssl/crypto/bio/bss_dgram_pair.c
520
if (!ossl_assert(l == 0 || l == sizeof(hdr)))
crypto/openssl/crypto/bio/bss_dgram_pair.c
523
return l > 0 ? hdr.len : 0;
crypto/openssl/crypto/bio/bss_dgram_pair.c
529
size_t l;
crypto/openssl/crypto/bio/bss_dgram_pair.c
535
l = b->rbuf.len - b->rbuf.count;
crypto/openssl/crypto/bio/bss_dgram_pair.c
536
if (l >= sizeof(struct dgram_hdr))
crypto/openssl/crypto/bio/bss_dgram_pair.c
537
l -= sizeof(struct dgram_hdr);
crypto/openssl/crypto/bio/bss_dgram_pair.c
543
if (l < b->mtu)
crypto/openssl/crypto/bio/bss_dgram_pair.c
544
l = 0;
crypto/openssl/crypto/bio/bss_dgram_pair.c
547
return l;
crypto/openssl/crypto/bio/bss_dgram_pair.c
894
size_t l, trunc = 0, saved_idx, saved_count;
crypto/openssl/crypto/bio/bss_dgram_pair.c
924
l = dgram_pair_read_inner(readb, (uint8_t *)&hdr, sizeof(hdr));
crypto/openssl/crypto/bio/bss_dgram_pair.c
925
if (l == 0) {
crypto/openssl/crypto/bio/bss_dgram_pair.c
932
if (!ossl_assert(l == sizeof(hdr)))
crypto/openssl/crypto/bio/bss_dgram_pair.c
952
l = dgram_pair_read_inner(readb, (uint8_t *)buf, sz);
crypto/openssl/crypto/bio/bss_dgram_pair.c
953
if (!ossl_assert(l == sz))
crypto/openssl/crypto/bio/bss_dgram_pair.c
970
return (ossl_ssize_t)l;
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
198
BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
203
: "a"(l), "d"(h), "r"(d)
crypto/openssl/crypto/bn/bn_asm.c
198
BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d)
crypto/openssl/crypto/bn/bn_asm.c
200
return ((BN_ULONG)(((((BN_ULLONG)h) << BN_BITS2) | l) / (BN_ULLONG)d));
crypto/openssl/crypto/bn/bn_asm.c
207
BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d)
crypto/openssl/crypto/bn/bn_asm.c
224
h = (h << i) | (l >> (BN_BITS2 - i));
crypto/openssl/crypto/bn/bn_asm.c
225
l <<= i;
crypto/openssl/crypto/bn/bn_asm.c
239
if ((t & BN_MASK2h) || ((tl) <= ((t << BN_BITS4) | ((l & BN_MASK2h) >> BN_BITS4))))
crypto/openssl/crypto/bn/bn_asm.c
249
if (l < tl)
crypto/openssl/crypto/bn/bn_asm.c
251
l -= tl;
crypto/openssl/crypto/bn/bn_asm.c
262
h = ((h << BN_BITS4) | (l >> BN_BITS4)) & BN_MASK2;
crypto/openssl/crypto/bn/bn_asm.c
263
l = (l & BN_MASK2l) << BN_BITS4;
crypto/openssl/crypto/bn/bn_asm.c
315
BN_ULONG c, l, t;
crypto/openssl/crypto/bn/bn_asm.c
327
l = (t + b[0]) & BN_MASK2;
crypto/openssl/crypto/bn/bn_asm.c
328
c += (l < t);
crypto/openssl/crypto/bn/bn_asm.c
329
r[0] = l;
crypto/openssl/crypto/bn/bn_asm.c
333
l = (t + b[1]) & BN_MASK2;
crypto/openssl/crypto/bn/bn_asm.c
334
c += (l < t);
crypto/openssl/crypto/bn/bn_asm.c
335
r[1] = l;
crypto/openssl/crypto/bn/bn_asm.c
339
l = (t + b[2]) & BN_MASK2;
crypto/openssl/crypto/bn/bn_asm.c
340
c += (l < t);
crypto/openssl/crypto/bn/bn_asm.c
341
r[2] = l;
crypto/openssl/crypto/bn/bn_asm.c
345
l = (t + b[3]) & BN_MASK2;
crypto/openssl/crypto/bn/bn_asm.c
346
c += (l < t);
crypto/openssl/crypto/bn/bn_asm.c
347
r[3] = l;
crypto/openssl/crypto/bn/bn_asm.c
358
l = (t + b[0]) & BN_MASK2;
crypto/openssl/crypto/bn/bn_asm.c
359
c += (l < t);
crypto/openssl/crypto/bn/bn_asm.c
360
r[0] = l;
crypto/openssl/crypto/bn/bn_conv.c
122
BN_ULONG l = 0;
crypto/openssl/crypto/bn/bn_conv.c
166
l = 0;
crypto/openssl/crypto/bn/bn_conv.c
172
l = (l << 4) | k;
crypto/openssl/crypto/bn/bn_conv.c
175
ret->d[h++] = l;
crypto/openssl/crypto/bn/bn_conv.c
199
BN_ULONG l = 0;
crypto/openssl/crypto/bn/bn_conv.c
239
l = 0;
crypto/openssl/crypto/bn/bn_conv.c
241
l *= 10;
crypto/openssl/crypto/bn/bn_conv.c
242
l += *a - '0';
crypto/openssl/crypto/bn/bn_conv.c
246
|| !BN_add_word(ret, l))
crypto/openssl/crypto/bn/bn_conv.c
248
l = 0;
crypto/openssl/crypto/bn/bn_gf2m.c
102
l ^= s << 30;
crypto/openssl/crypto/bn/bn_gf2m.c
108
l ^= b << 30;
crypto/openssl/crypto/bn/bn_gf2m.c
112
l ^= b << 31;
crypto/openssl/crypto/bn/bn_gf2m.c
117
*r0 = l;
crypto/openssl/crypto/bn/bn_gf2m.c
124
register BN_ULONG h, l, s;
crypto/openssl/crypto/bn/bn_gf2m.c
151
l = s;
crypto/openssl/crypto/bn/bn_gf2m.c
153
l ^= s << 4;
crypto/openssl/crypto/bn/bn_gf2m.c
156
l ^= s << 8;
crypto/openssl/crypto/bn/bn_gf2m.c
159
l ^= s << 12;
crypto/openssl/crypto/bn/bn_gf2m.c
162
l ^= s << 16;
crypto/openssl/crypto/bn/bn_gf2m.c
165
l ^= s << 20;
crypto/openssl/crypto/bn/bn_gf2m.c
168
l ^= s << 24;
crypto/openssl/crypto/bn/bn_gf2m.c
171
l ^= s << 28;
crypto/openssl/crypto/bn/bn_gf2m.c
174
l ^= s << 32;
crypto/openssl/crypto/bn/bn_gf2m.c
177
l ^= s << 36;
crypto/openssl/crypto/bn/bn_gf2m.c
180
l ^= s << 40;
crypto/openssl/crypto/bn/bn_gf2m.c
183
l ^= s << 44;
crypto/openssl/crypto/bn/bn_gf2m.c
186
l ^= s << 48;
crypto/openssl/crypto/bn/bn_gf2m.c
189
l ^= s << 52;
crypto/openssl/crypto/bn/bn_gf2m.c
192
l ^= s << 56;
crypto/openssl/crypto/bn/bn_gf2m.c
195
l ^= s << 60;
crypto/openssl/crypto/bn/bn_gf2m.c
201
l ^= b << 61;
crypto/openssl/crypto/bn/bn_gf2m.c
205
l ^= b << 62;
crypto/openssl/crypto/bn/bn_gf2m.c
209
l ^= b << 63;
crypto/openssl/crypto/bn/bn_gf2m.c
214
*r0 = l;
crypto/openssl/crypto/bn/bn_gf2m.c
55
register BN_ULONG h, l, s;
crypto/openssl/crypto/bn/bn_gf2m.c
73
l = s;
crypto/openssl/crypto/bn/bn_gf2m.c
75
l ^= s << 3;
crypto/openssl/crypto/bn/bn_gf2m.c
78
l ^= s << 6;
crypto/openssl/crypto/bn/bn_gf2m.c
81
l ^= s << 9;
crypto/openssl/crypto/bn/bn_gf2m.c
84
l ^= s << 12;
crypto/openssl/crypto/bn/bn_gf2m.c
87
l ^= s << 15;
crypto/openssl/crypto/bn/bn_gf2m.c
90
l ^= s << 18;
crypto/openssl/crypto/bn/bn_gf2m.c
93
l ^= s << 21;
crypto/openssl/crypto/bn/bn_gf2m.c
96
l ^= s << 24;
crypto/openssl/crypto/bn/bn_gf2m.c
99
l ^= s << 27;
crypto/openssl/crypto/bn/bn_lib.c
101
int BN_num_bits_word(BN_ULONG l)
crypto/openssl/crypto/bn/bn_lib.c
104
int bits = (l != 0);
crypto/openssl/crypto/bn/bn_lib.c
107
x = l >> 32;
crypto/openssl/crypto/bn/bn_lib.c
111
l ^= (x ^ l) & mask;
crypto/openssl/crypto/bn/bn_lib.c
114
x = l >> 16;
crypto/openssl/crypto/bn/bn_lib.c
118
l ^= (x ^ l) & mask;
crypto/openssl/crypto/bn/bn_lib.c
120
x = l >> 8;
crypto/openssl/crypto/bn/bn_lib.c
124
l ^= (x ^ l) & mask;
crypto/openssl/crypto/bn/bn_lib.c
126
x = l >> 4;
crypto/openssl/crypto/bn/bn_lib.c
130
l ^= (x ^ l) & mask;
crypto/openssl/crypto/bn/bn_lib.c
132
x = l >> 2;
crypto/openssl/crypto/bn/bn_lib.c
136
l ^= (x ^ l) & mask;
crypto/openssl/crypto/bn/bn_lib.c
138
x = l >> 1;
crypto/openssl/crypto/bn/bn_lib.c
513
BN_ULONG l = 0; /* Accumulator */
crypto/openssl/crypto/bn/bn_lib.c
521
l |= (byte << m);
crypto/openssl/crypto/bn/bn_lib.c
523
ret->d[i] = l;
crypto/openssl/crypto/bn/bn_lib.c
550
BN_ULONG l;
crypto/openssl/crypto/bn/bn_lib.c
613
l = a->d[i / BN_BYTES];
crypto/openssl/crypto/bn/bn_lib.c
615
byte = (unsigned char)(l >> (8 * (i % BN_BYTES)) & mask);
crypto/openssl/crypto/bn/bn_local.h
234
BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d);
crypto/openssl/crypto/bn/bn_local.h
576
#define mul64(l, h, bl, bh) \
crypto/openssl/crypto/bn/bn_local.h
580
lt = l; \
crypto/openssl/crypto/bn/bn_local.h
592
(l) = lt; \
crypto/openssl/crypto/bn/bn_local.h
598
BN_ULONG l, h, m; \
crypto/openssl/crypto/bn/bn_local.h
601
l = LBITS(h); \
crypto/openssl/crypto/bn/bn_local.h
603
m = (l) * (h); \
crypto/openssl/crypto/bn/bn_local.h
604
l *= l; \
crypto/openssl/crypto/bn/bn_local.h
608
l = (l + m) & BN_MASK2; \
crypto/openssl/crypto/bn/bn_local.h
609
h += (l < m); \
crypto/openssl/crypto/bn/bn_local.h
610
(lo) = l; \
crypto/openssl/crypto/bn/bn_local.h
616
BN_ULONG l, h; \
crypto/openssl/crypto/bn/bn_local.h
619
l = LBITS(h); \
crypto/openssl/crypto/bn/bn_local.h
621
mul64(l, h, (bl), (bh)); \
crypto/openssl/crypto/bn/bn_local.h
624
l = (l + (c)) & BN_MASK2; \
crypto/openssl/crypto/bn/bn_local.h
625
h += (l < (c)); \
crypto/openssl/crypto/bn/bn_local.h
627
l = (l + (c)) & BN_MASK2; \
crypto/openssl/crypto/bn/bn_local.h
628
h += (l < (c)); \
crypto/openssl/crypto/bn/bn_local.h
630
(r) = l; \
crypto/openssl/crypto/bn/bn_local.h
635
BN_ULONG l, h; \
crypto/openssl/crypto/bn/bn_local.h
638
l = LBITS(h); \
crypto/openssl/crypto/bn/bn_local.h
640
mul64(l, h, (bl), (bh)); \
crypto/openssl/crypto/bn/bn_local.h
643
l += (c); \
crypto/openssl/crypto/bn/bn_local.h
644
h += ((l & BN_MASK2) < (c)); \
crypto/openssl/crypto/bn/bn_local.h
646
(r) = l & BN_MASK2; \
crypto/openssl/crypto/bn/bn_mpi.c
19
long l;
crypto/openssl/crypto/bn/bn_mpi.c
29
l = num + ext;
crypto/openssl/crypto/bn/bn_mpi.c
30
d[0] = (unsigned char)(l >> 24) & 0xff;
crypto/openssl/crypto/bn/bn_mpi.c
31
d[1] = (unsigned char)(l >> 16) & 0xff;
crypto/openssl/crypto/bn/bn_mpi.c
32
d[2] = (unsigned char)(l >> 8) & 0xff;
crypto/openssl/crypto/bn/bn_mpi.c
33
d[3] = (unsigned char)(l) & 0xff;
crypto/openssl/crypto/bn/bn_shift.c
109
BN_ULONG l, m, rmask = 0;
crypto/openssl/crypto/bn/bn_shift.c
128
l = f[a->top - 1];
crypto/openssl/crypto/bn/bn_shift.c
129
t[a->top] = (l >> rb) & rmask;
crypto/openssl/crypto/bn/bn_shift.c
131
m = l << lb;
crypto/openssl/crypto/bn/bn_shift.c
132
l = f[i - 1];
crypto/openssl/crypto/bn/bn_shift.c
133
t[i] = (m | ((l >> rb) & rmask)) & BN_MASK2;
crypto/openssl/crypto/bn/bn_shift.c
135
t[0] = (l << lb) & BN_MASK2;
crypto/openssl/crypto/bn/bn_shift.c
181
BN_ULONG l, m, mask;
crypto/openssl/crypto/bn/bn_shift.c
203
l = f[0];
crypto/openssl/crypto/bn/bn_shift.c
206
t[i] = (l >> rb) | ((m << lb) & mask);
crypto/openssl/crypto/bn/bn_shift.c
207
l = m;
crypto/openssl/crypto/bn/bn_shift.c
209
t[i] = l >> rb;
crypto/openssl/crypto/bn/bn_word.c
120
a->d[i] = l = (a->d[i] + w) & BN_MASK2;
crypto/openssl/crypto/bn/bn_word.c
121
w = (w > l) ? 1 : 0;
crypto/openssl/crypto/bn/bn_word.c
81
BN_ULONG l, d;
crypto/openssl/crypto/bn/bn_word.c
83
l = a->d[i];
crypto/openssl/crypto/bn/bn_word.c
84
d = bn_div_words(ret, l, w);
crypto/openssl/crypto/bn/bn_word.c
85
ret = (l - ((d * w) & BN_MASK2)) & BN_MASK2;
crypto/openssl/crypto/bn/bn_word.c
99
BN_ULONG l;
crypto/openssl/crypto/bsearch.c
18
int l, h, i = 0, c = 0;
crypto/openssl/crypto/bsearch.c
23
l = 0;
crypto/openssl/crypto/bsearch.c
25
while (l < h) {
crypto/openssl/crypto/bsearch.c
26
i = l + (h - l) / 2;
crypto/openssl/crypto/bsearch.c
32
l = i + 1;
crypto/openssl/crypto/cast/c_cfb64.c
31
register long l = length;
crypto/openssl/crypto/cast/c_cfb64.c
37
while (l--) {
crypto/openssl/crypto/cast/c_cfb64.c
57
while (l--) {
crypto/openssl/crypto/cast/c_ecb.c
23
CAST_LONG l, d[2];
crypto/openssl/crypto/cast/c_ecb.c
25
n2l(in, l);
crypto/openssl/crypto/cast/c_ecb.c
26
d[0] = l;
crypto/openssl/crypto/cast/c_ecb.c
27
n2l(in, l);
crypto/openssl/crypto/cast/c_ecb.c
28
d[1] = l;
crypto/openssl/crypto/cast/c_ecb.c
33
l = d[0];
crypto/openssl/crypto/cast/c_ecb.c
34
l2n(l, out);
crypto/openssl/crypto/cast/c_ecb.c
35
l = d[1];
crypto/openssl/crypto/cast/c_ecb.c
36
l2n(l, out);
crypto/openssl/crypto/cast/c_ecb.c
37
l = d[0] = d[1] = 0;
crypto/openssl/crypto/cast/c_enc.c
109
if (l != -8) {
crypto/openssl/crypto/cast/c_enc.c
110
n2ln(in, tin0, tin1, l + 8);
crypto/openssl/crypto/cast/c_enc.c
127
for (l -= 8; l >= 0; l -= 8) {
crypto/openssl/crypto/cast/c_enc.c
140
if (l != -8) {
crypto/openssl/crypto/cast/c_enc.c
148
l2nn(tout0, tout1, out, l + 8);
crypto/openssl/crypto/cast/c_enc.c
21
CAST_LONG l, r, t;
crypto/openssl/crypto/cast/c_enc.c
25
l = data[0];
crypto/openssl/crypto/cast/c_enc.c
28
E_CAST(0, k, l, r, +, ^, -);
crypto/openssl/crypto/cast/c_enc.c
29
E_CAST(1, k, r, l, ^, -, +);
crypto/openssl/crypto/cast/c_enc.c
30
E_CAST(2, k, l, r, -, +, ^);
crypto/openssl/crypto/cast/c_enc.c
31
E_CAST(3, k, r, l, +, ^, -);
crypto/openssl/crypto/cast/c_enc.c
32
E_CAST(4, k, l, r, ^, -, +);
crypto/openssl/crypto/cast/c_enc.c
33
E_CAST(5, k, r, l, -, +, ^);
crypto/openssl/crypto/cast/c_enc.c
34
E_CAST(6, k, l, r, +, ^, -);
crypto/openssl/crypto/cast/c_enc.c
35
E_CAST(7, k, r, l, ^, -, +);
crypto/openssl/crypto/cast/c_enc.c
36
E_CAST(8, k, l, r, -, +, ^);
crypto/openssl/crypto/cast/c_enc.c
37
E_CAST(9, k, r, l, +, ^, -);
crypto/openssl/crypto/cast/c_enc.c
38
E_CAST(10, k, l, r, ^, -, +);
crypto/openssl/crypto/cast/c_enc.c
39
E_CAST(11, k, r, l, -, +, ^);
crypto/openssl/crypto/cast/c_enc.c
41
E_CAST(12, k, l, r, +, ^, -);
crypto/openssl/crypto/cast/c_enc.c
42
E_CAST(13, k, r, l, ^, -, +);
crypto/openssl/crypto/cast/c_enc.c
43
E_CAST(14, k, l, r, -, +, ^);
crypto/openssl/crypto/cast/c_enc.c
44
E_CAST(15, k, r, l, +, ^, -);
crypto/openssl/crypto/cast/c_enc.c
47
data[1] = l & 0xffffffffL;
crypto/openssl/crypto/cast/c_enc.c
53
CAST_LONG l, r, t;
crypto/openssl/crypto/cast/c_enc.c
57
l = data[0];
crypto/openssl/crypto/cast/c_enc.c
61
E_CAST(15, k, l, r, +, ^, -);
crypto/openssl/crypto/cast/c_enc.c
62
E_CAST(14, k, r, l, -, +, ^);
crypto/openssl/crypto/cast/c_enc.c
63
E_CAST(13, k, l, r, ^, -, +);
crypto/openssl/crypto/cast/c_enc.c
64
E_CAST(12, k, r, l, +, ^, -);
crypto/openssl/crypto/cast/c_enc.c
66
E_CAST(11, k, l, r, -, +, ^);
crypto/openssl/crypto/cast/c_enc.c
67
E_CAST(10, k, r, l, ^, -, +);
crypto/openssl/crypto/cast/c_enc.c
68
E_CAST(9, k, l, r, +, ^, -);
crypto/openssl/crypto/cast/c_enc.c
69
E_CAST(8, k, r, l, -, +, ^);
crypto/openssl/crypto/cast/c_enc.c
70
E_CAST(7, k, l, r, ^, -, +);
crypto/openssl/crypto/cast/c_enc.c
71
E_CAST(6, k, r, l, +, ^, -);
crypto/openssl/crypto/cast/c_enc.c
72
E_CAST(5, k, l, r, -, +, ^);
crypto/openssl/crypto/cast/c_enc.c
73
E_CAST(4, k, r, l, ^, -, +);
crypto/openssl/crypto/cast/c_enc.c
74
E_CAST(3, k, l, r, +, ^, -);
crypto/openssl/crypto/cast/c_enc.c
75
E_CAST(2, k, r, l, -, +, ^);
crypto/openssl/crypto/cast/c_enc.c
76
E_CAST(1, k, l, r, ^, -, +);
crypto/openssl/crypto/cast/c_enc.c
77
E_CAST(0, k, r, l, +, ^, -);
crypto/openssl/crypto/cast/c_enc.c
79
data[1] = l & 0xffffffffL;
crypto/openssl/crypto/cast/c_enc.c
89
register long l = length;
crypto/openssl/crypto/cast/c_enc.c
96
for (l -= 8; l >= 0; l -= 8) {
crypto/openssl/crypto/cast/c_ofb64.c
30
register long l = length;
crypto/openssl/crypto/cast/c_ofb64.c
45
while (l--) {
crypto/openssl/crypto/cast/c_skey.c
101
l = Z[2] ^ S4[z[5]] ^ S5[z[7]] ^ S6[z[4]] ^ S7[z[6]] ^ S6[z[0]];
crypto/openssl/crypto/cast/c_skey.c
102
CAST_exp(l, X, x, 0);
crypto/openssl/crypto/cast/c_skey.c
103
l = Z[0] ^ S4[x[0]] ^ S5[x[2]] ^ S6[x[1]] ^ S7[x[3]] ^ S7[z[2]];
crypto/openssl/crypto/cast/c_skey.c
104
CAST_exp(l, X, x, 4);
crypto/openssl/crypto/cast/c_skey.c
105
l = Z[1] ^ S4[x[7]] ^ S5[x[6]] ^ S6[x[5]] ^ S7[x[4]] ^ S4[z[1]];
crypto/openssl/crypto/cast/c_skey.c
106
CAST_exp(l, X, x, 8);
crypto/openssl/crypto/cast/c_skey.c
107
l = Z[3] ^ S4[x[10]] ^ S5[x[9]] ^ S6[x[11]] ^ S7[x[8]] ^ S5[z[3]];
crypto/openssl/crypto/cast/c_skey.c
108
CAST_exp(l, X, x, 12);
crypto/openssl/crypto/cast/c_skey.c
20
#define CAST_exp(l, A, a, n) \
crypto/openssl/crypto/cast/c_skey.c
21
A[n / 4] = l; \
crypto/openssl/crypto/cast/c_skey.c
22
a[n + 3] = (l) & 0xff; \
crypto/openssl/crypto/cast/c_skey.c
23
a[n + 2] = (l >> 8) & 0xff; \
crypto/openssl/crypto/cast/c_skey.c
24
a[n + 1] = (l >> 16) & 0xff; \
crypto/openssl/crypto/cast/c_skey.c
25
a[n + 0] = (l >> 24) & 0xff;
crypto/openssl/crypto/cast/c_skey.c
38
CAST_LONG l, *K;
crypto/openssl/crypto/cast/c_skey.c
59
l = X[0] ^ S4[x[13]] ^ S5[x[15]] ^ S6[x[12]] ^ S7[x[14]] ^ S6[x[8]];
crypto/openssl/crypto/cast/c_skey.c
60
CAST_exp(l, Z, z, 0);
crypto/openssl/crypto/cast/c_skey.c
61
l = X[2] ^ S4[z[0]] ^ S5[z[2]] ^ S6[z[1]] ^ S7[z[3]] ^ S7[x[10]];
crypto/openssl/crypto/cast/c_skey.c
62
CAST_exp(l, Z, z, 4);
crypto/openssl/crypto/cast/c_skey.c
63
l = X[3] ^ S4[z[7]] ^ S5[z[6]] ^ S6[z[5]] ^ S7[z[4]] ^ S4[x[9]];
crypto/openssl/crypto/cast/c_skey.c
64
CAST_exp(l, Z, z, 8);
crypto/openssl/crypto/cast/c_skey.c
65
l = X[1] ^ S4[z[10]] ^ S5[z[9]] ^ S6[z[11]] ^ S7[z[8]] ^ S5[x[11]];
crypto/openssl/crypto/cast/c_skey.c
66
CAST_exp(l, Z, z, 12);
crypto/openssl/crypto/cast/c_skey.c
73
l = Z[2] ^ S4[z[5]] ^ S5[z[7]] ^ S6[z[4]] ^ S7[z[6]] ^ S6[z[0]];
crypto/openssl/crypto/cast/c_skey.c
74
CAST_exp(l, X, x, 0);
crypto/openssl/crypto/cast/c_skey.c
75
l = Z[0] ^ S4[x[0]] ^ S5[x[2]] ^ S6[x[1]] ^ S7[x[3]] ^ S7[z[2]];
crypto/openssl/crypto/cast/c_skey.c
76
CAST_exp(l, X, x, 4);
crypto/openssl/crypto/cast/c_skey.c
77
l = Z[1] ^ S4[x[7]] ^ S5[x[6]] ^ S6[x[5]] ^ S7[x[4]] ^ S4[z[1]];
crypto/openssl/crypto/cast/c_skey.c
78
CAST_exp(l, X, x, 8);
crypto/openssl/crypto/cast/c_skey.c
79
l = Z[3] ^ S4[x[10]] ^ S5[x[9]] ^ S6[x[11]] ^ S7[x[8]] ^ S5[z[3]];
crypto/openssl/crypto/cast/c_skey.c
80
CAST_exp(l, X, x, 12);
crypto/openssl/crypto/cast/c_skey.c
87
l = X[0] ^ S4[x[13]] ^ S5[x[15]] ^ S6[x[12]] ^ S7[x[14]] ^ S6[x[8]];
crypto/openssl/crypto/cast/c_skey.c
88
CAST_exp(l, Z, z, 0);
crypto/openssl/crypto/cast/c_skey.c
89
l = X[2] ^ S4[z[0]] ^ S5[z[2]] ^ S6[z[1]] ^ S7[z[3]] ^ S7[x[10]];
crypto/openssl/crypto/cast/c_skey.c
90
CAST_exp(l, Z, z, 4);
crypto/openssl/crypto/cast/c_skey.c
91
l = X[3] ^ S4[z[7]] ^ S5[z[6]] ^ S6[z[5]] ^ S7[z[4]] ^ S4[x[9]];
crypto/openssl/crypto/cast/c_skey.c
92
CAST_exp(l, Z, z, 8);
crypto/openssl/crypto/cast/c_skey.c
93
l = X[1] ^ S4[z[10]] ^ S5[z[9]] ^ S6[z[11]] ^ S7[z[8]] ^ S5[x[11]];
crypto/openssl/crypto/cast/c_skey.c
94
CAST_exp(l, Z, z, 12);
crypto/openssl/crypto/cast/cast_local.h
78
#define n2l(c, l) (l = ((unsigned long)(*((c)++))) << 24L, \
crypto/openssl/crypto/cast/cast_local.h
79
l |= ((unsigned long)(*((c)++))) << 16L, \
crypto/openssl/crypto/cast/cast_local.h
80
l |= ((unsigned long)(*((c)++))) << 8L, \
crypto/openssl/crypto/cast/cast_local.h
81
l |= ((unsigned long)(*((c)++))))
crypto/openssl/crypto/cast/cast_local.h
84
#define l2n(l, c) (*((c)++) = (unsigned char)(((l) >> 24L) & 0xff), \
crypto/openssl/crypto/cast/cast_local.h
85
*((c)++) = (unsigned char)(((l) >> 16L) & 0xff), \
crypto/openssl/crypto/cast/cast_local.h
86
*((c)++) = (unsigned char)(((l) >> 8L) & 0xff), \
crypto/openssl/crypto/cast/cast_local.h
87
*((c)++) = (unsigned char)(((l)) & 0xff))
crypto/openssl/crypto/cmac/cmac.c
41
static void make_kn(unsigned char *k1, const unsigned char *l, int bl)
crypto/openssl/crypto/cmac/cmac.c
44
unsigned char c = l[0], carry = c >> 7, cnext;
crypto/openssl/crypto/cmac/cmac.c
48
k1[i] = (c << 1) | ((cnext = l[i + 1]) >> 7);
crypto/openssl/crypto/core_namemap.c
331
size_t l;
crypto/openssl/crypto/core_namemap.c
334
l = strlen(p); /* offset to \0 */
crypto/openssl/crypto/core_namemap.c
335
q = p + l;
crypto/openssl/crypto/core_namemap.c
337
l = q - p; /* offset to the next separator */
crypto/openssl/crypto/ct/ct_local.h
34
#define l2n3(l, c) ((c[0] = (unsigned char)(((l) >> 16) & 0xff), \
crypto/openssl/crypto/ct/ct_local.h
35
c[1] = (unsigned char)(((l) >> 8) & 0xff), \
crypto/openssl/crypto/ct/ct_local.h
36
c[2] = (unsigned char)(((l)) & 0xff)), \
crypto/openssl/crypto/ct/ct_local.h
39
#define n2l8(c, l) (l = ((uint64_t)(*((c)++))) << 56, \
crypto/openssl/crypto/ct/ct_local.h
40
l |= ((uint64_t)(*((c)++))) << 48, \
crypto/openssl/crypto/ct/ct_local.h
41
l |= ((uint64_t)(*((c)++))) << 40, \
crypto/openssl/crypto/ct/ct_local.h
42
l |= ((uint64_t)(*((c)++))) << 32, \
crypto/openssl/crypto/ct/ct_local.h
43
l |= ((uint64_t)(*((c)++))) << 24, \
crypto/openssl/crypto/ct/ct_local.h
44
l |= ((uint64_t)(*((c)++))) << 16, \
crypto/openssl/crypto/ct/ct_local.h
45
l |= ((uint64_t)(*((c)++))) << 8, \
crypto/openssl/crypto/ct/ct_local.h
46
l |= ((uint64_t)(*((c)++))))
crypto/openssl/crypto/ct/ct_local.h
48
#define l2n8(l, c) (*((c)++) = (unsigned char)(((l) >> 56) & 0xff), \
crypto/openssl/crypto/ct/ct_local.h
49
*((c)++) = (unsigned char)(((l) >> 48) & 0xff), \
crypto/openssl/crypto/ct/ct_local.h
50
*((c)++) = (unsigned char)(((l) >> 40) & 0xff), \
crypto/openssl/crypto/ct/ct_local.h
51
*((c)++) = (unsigned char)(((l) >> 32) & 0xff), \
crypto/openssl/crypto/ct/ct_local.h
52
*((c)++) = (unsigned char)(((l) >> 24) & 0xff), \
crypto/openssl/crypto/ct/ct_local.h
53
*((c)++) = (unsigned char)(((l) >> 16) & 0xff), \
crypto/openssl/crypto/ct/ct_local.h
54
*((c)++) = (unsigned char)(((l) >> 8) & 0xff), \
crypto/openssl/crypto/ct/ct_local.h
55
*((c)++) = (unsigned char)(((l)) & 0xff))
crypto/openssl/crypto/des/cbc_cksm.c
23
register long l = length;
crypto/openssl/crypto/des/cbc_cksm.c
30
for (; l > 0; l -= 8) {
crypto/openssl/crypto/des/cbc_cksm.c
31
if (l >= 8) {
crypto/openssl/crypto/des/cbc_cksm.c
35
c2ln(in, tin0, tin1, l);
crypto/openssl/crypto/des/cfb64ede.c
109
while (l >= n) {
crypto/openssl/crypto/des/cfb64ede.c
110
l -= n;
crypto/openssl/crypto/des/cfb64ede.c
150
while (l >= n) {
crypto/openssl/crypto/des/cfb64ede.c
151
l -= n;
crypto/openssl/crypto/des/cfb64ede.c
30
register long l = length;
crypto/openssl/crypto/des/cfb64ede.c
37
while (l--) {
crypto/openssl/crypto/des/cfb64ede.c
59
while (l--) {
crypto/openssl/crypto/des/cfb64ede.c
97
register unsigned long l = length, n = ((unsigned int)numbits + 7) / 8;
crypto/openssl/crypto/des/cfb64enc.c
29
register long l = length;
crypto/openssl/crypto/des/cfb64enc.c
36
while (l--) {
crypto/openssl/crypto/des/cfb64enc.c
56
while (l--) {
crypto/openssl/crypto/des/cfb_enc.c
103
while (l >= (unsigned long)n) {
crypto/openssl/crypto/des/cfb_enc.c
104
l -= n;
crypto/openssl/crypto/des/cfb_enc.c
35
register unsigned long l = length;
crypto/openssl/crypto/des/cfb_enc.c
57
while (l >= (unsigned long)n) {
crypto/openssl/crypto/des/cfb_enc.c
58
l -= n;
crypto/openssl/crypto/des/des_enc.c
107
l = ROTATE(l, 29) & 0xffffffffL;
crypto/openssl/crypto/des/des_enc.c
115
D_ENCRYPT(l, r, 0); /* 1 */
crypto/openssl/crypto/des/des_enc.c
116
D_ENCRYPT(r, l, 2); /* 2 */
crypto/openssl/crypto/des/des_enc.c
117
D_ENCRYPT(l, r, 4); /* 3 */
crypto/openssl/crypto/des/des_enc.c
118
D_ENCRYPT(r, l, 6); /* 4 */
crypto/openssl/crypto/des/des_enc.c
119
D_ENCRYPT(l, r, 8); /* 5 */
crypto/openssl/crypto/des/des_enc.c
120
D_ENCRYPT(r, l, 10); /* 6 */
crypto/openssl/crypto/des/des_enc.c
121
D_ENCRYPT(l, r, 12); /* 7 */
crypto/openssl/crypto/des/des_enc.c
122
D_ENCRYPT(r, l, 14); /* 8 */
crypto/openssl/crypto/des/des_enc.c
123
D_ENCRYPT(l, r, 16); /* 9 */
crypto/openssl/crypto/des/des_enc.c
124
D_ENCRYPT(r, l, 18); /* 10 */
crypto/openssl/crypto/des/des_enc.c
125
D_ENCRYPT(l, r, 20); /* 11 */
crypto/openssl/crypto/des/des_enc.c
126
D_ENCRYPT(r, l, 22); /* 12 */
crypto/openssl/crypto/des/des_enc.c
127
D_ENCRYPT(l, r, 24); /* 13 */
crypto/openssl/crypto/des/des_enc.c
128
D_ENCRYPT(r, l, 26); /* 14 */
crypto/openssl/crypto/des/des_enc.c
129
D_ENCRYPT(l, r, 28); /* 15 */
crypto/openssl/crypto/des/des_enc.c
130
D_ENCRYPT(r, l, 30); /* 16 */
crypto/openssl/crypto/des/des_enc.c
132
D_ENCRYPT(l, r, 30); /* 16 */
crypto/openssl/crypto/des/des_enc.c
133
D_ENCRYPT(r, l, 28); /* 15 */
crypto/openssl/crypto/des/des_enc.c
134
D_ENCRYPT(l, r, 26); /* 14 */
crypto/openssl/crypto/des/des_enc.c
135
D_ENCRYPT(r, l, 24); /* 13 */
crypto/openssl/crypto/des/des_enc.c
136
D_ENCRYPT(l, r, 22); /* 12 */
crypto/openssl/crypto/des/des_enc.c
137
D_ENCRYPT(r, l, 20); /* 11 */
crypto/openssl/crypto/des/des_enc.c
138
D_ENCRYPT(l, r, 18); /* 10 */
crypto/openssl/crypto/des/des_enc.c
139
D_ENCRYPT(r, l, 16); /* 9 */
crypto/openssl/crypto/des/des_enc.c
140
D_ENCRYPT(l, r, 14); /* 8 */
crypto/openssl/crypto/des/des_enc.c
141
D_ENCRYPT(r, l, 12); /* 7 */
crypto/openssl/crypto/des/des_enc.c
142
D_ENCRYPT(l, r, 10); /* 6 */
crypto/openssl/crypto/des/des_enc.c
143
D_ENCRYPT(r, l, 8); /* 5 */
crypto/openssl/crypto/des/des_enc.c
144
D_ENCRYPT(l, r, 6); /* 4 */
crypto/openssl/crypto/des/des_enc.c
145
D_ENCRYPT(r, l, 4); /* 3 */
crypto/openssl/crypto/des/des_enc.c
146
D_ENCRYPT(l, r, 2); /* 2 */
crypto/openssl/crypto/des/des_enc.c
147
D_ENCRYPT(r, l, 0); /* 1 */
crypto/openssl/crypto/des/des_enc.c
150
data[0] = ROTATE(l, 3) & 0xffffffffL;
crypto/openssl/crypto/des/des_enc.c
152
l = r = t = u = 0;
crypto/openssl/crypto/des/des_enc.c
158
register DES_LONG l, r;
crypto/openssl/crypto/des/des_enc.c
160
l = data[0];
crypto/openssl/crypto/des/des_enc.c
162
IP(l, r);
crypto/openssl/crypto/des/des_enc.c
163
data[0] = l;
crypto/openssl/crypto/des/des_enc.c
168
l = data[0];
crypto/openssl/crypto/des/des_enc.c
170
FP(r, l);
crypto/openssl/crypto/des/des_enc.c
171
data[0] = l;
crypto/openssl/crypto/des/des_enc.c
178
register DES_LONG l, r;
crypto/openssl/crypto/des/des_enc.c
180
l = data[0];
crypto/openssl/crypto/des/des_enc.c
182
IP(l, r);
crypto/openssl/crypto/des/des_enc.c
183
data[0] = l;
crypto/openssl/crypto/des/des_enc.c
188
l = data[0];
crypto/openssl/crypto/des/des_enc.c
190
FP(r, l);
crypto/openssl/crypto/des/des_enc.c
191
data[0] = l;
crypto/openssl/crypto/des/des_enc.c
211
register long l = length;
crypto/openssl/crypto/des/des_enc.c
22
register DES_LONG l, r, t, u;
crypto/openssl/crypto/des/des_enc.c
222
for (l -= 8; l >= 0; l -= 8) {
crypto/openssl/crypto/des/des_enc.c
237
if (l != -8) {
crypto/openssl/crypto/des/des_enc.c
238
c2ln(in, tin0, tin1, l + 8);
crypto/openssl/crypto/des/des_enc.c
259
for (l -= 8; l >= 0; l -= 8) {
crypto/openssl/crypto/des/des_enc.c
26
l = data[1];
crypto/openssl/crypto/des/des_enc.c
279
if (l != -8) {
crypto/openssl/crypto/des/des_enc.c
28
IP(r, l);
crypto/openssl/crypto/des/des_enc.c
294
l2cn(tout0, tout1, out, l + 8);
crypto/openssl/crypto/des/des_enc.c
38
l = ROTATE(l, 29) & 0xffffffffL;
crypto/openssl/crypto/des/des_enc.c
46
D_ENCRYPT(l, r, 0); /* 1 */
crypto/openssl/crypto/des/des_enc.c
47
D_ENCRYPT(r, l, 2); /* 2 */
crypto/openssl/crypto/des/des_enc.c
48
D_ENCRYPT(l, r, 4); /* 3 */
crypto/openssl/crypto/des/des_enc.c
49
D_ENCRYPT(r, l, 6); /* 4 */
crypto/openssl/crypto/des/des_enc.c
50
D_ENCRYPT(l, r, 8); /* 5 */
crypto/openssl/crypto/des/des_enc.c
51
D_ENCRYPT(r, l, 10); /* 6 */
crypto/openssl/crypto/des/des_enc.c
52
D_ENCRYPT(l, r, 12); /* 7 */
crypto/openssl/crypto/des/des_enc.c
53
D_ENCRYPT(r, l, 14); /* 8 */
crypto/openssl/crypto/des/des_enc.c
54
D_ENCRYPT(l, r, 16); /* 9 */
crypto/openssl/crypto/des/des_enc.c
55
D_ENCRYPT(r, l, 18); /* 10 */
crypto/openssl/crypto/des/des_enc.c
56
D_ENCRYPT(l, r, 20); /* 11 */
crypto/openssl/crypto/des/des_enc.c
57
D_ENCRYPT(r, l, 22); /* 12 */
crypto/openssl/crypto/des/des_enc.c
58
D_ENCRYPT(l, r, 24); /* 13 */
crypto/openssl/crypto/des/des_enc.c
59
D_ENCRYPT(r, l, 26); /* 14 */
crypto/openssl/crypto/des/des_enc.c
60
D_ENCRYPT(l, r, 28); /* 15 */
crypto/openssl/crypto/des/des_enc.c
61
D_ENCRYPT(r, l, 30); /* 16 */
crypto/openssl/crypto/des/des_enc.c
63
D_ENCRYPT(l, r, 30); /* 16 */
crypto/openssl/crypto/des/des_enc.c
64
D_ENCRYPT(r, l, 28); /* 15 */
crypto/openssl/crypto/des/des_enc.c
65
D_ENCRYPT(l, r, 26); /* 14 */
crypto/openssl/crypto/des/des_enc.c
66
D_ENCRYPT(r, l, 24); /* 13 */
crypto/openssl/crypto/des/des_enc.c
67
D_ENCRYPT(l, r, 22); /* 12 */
crypto/openssl/crypto/des/des_enc.c
68
D_ENCRYPT(r, l, 20); /* 11 */
crypto/openssl/crypto/des/des_enc.c
69
D_ENCRYPT(l, r, 18); /* 10 */
crypto/openssl/crypto/des/des_enc.c
70
D_ENCRYPT(r, l, 16); /* 9 */
crypto/openssl/crypto/des/des_enc.c
71
D_ENCRYPT(l, r, 14); /* 8 */
crypto/openssl/crypto/des/des_enc.c
72
D_ENCRYPT(r, l, 12); /* 7 */
crypto/openssl/crypto/des/des_enc.c
73
D_ENCRYPT(l, r, 10); /* 6 */
crypto/openssl/crypto/des/des_enc.c
74
D_ENCRYPT(r, l, 8); /* 5 */
crypto/openssl/crypto/des/des_enc.c
75
D_ENCRYPT(l, r, 6); /* 4 */
crypto/openssl/crypto/des/des_enc.c
76
D_ENCRYPT(r, l, 4); /* 3 */
crypto/openssl/crypto/des/des_enc.c
77
D_ENCRYPT(l, r, 2); /* 2 */
crypto/openssl/crypto/des/des_enc.c
78
D_ENCRYPT(r, l, 0); /* 1 */
crypto/openssl/crypto/des/des_enc.c
82
l = ROTATE(l, 3) & 0xffffffffL;
crypto/openssl/crypto/des/des_enc.c
85
FP(r, l);
crypto/openssl/crypto/des/des_enc.c
86
data[0] = l;
crypto/openssl/crypto/des/des_enc.c
88
l = r = t = u = 0;
crypto/openssl/crypto/des/des_enc.c
93
register DES_LONG l, r, t, u;
crypto/openssl/crypto/des/des_enc.c
97
l = data[1];
crypto/openssl/crypto/des/des_local.h
220
#define IP(l, r) \
crypto/openssl/crypto/des/des_local.h
223
PERM_OP(r, l, tt, 4, 0x0f0f0f0fL); \
crypto/openssl/crypto/des/des_local.h
224
PERM_OP(l, r, tt, 16, 0x0000ffffL); \
crypto/openssl/crypto/des/des_local.h
225
PERM_OP(r, l, tt, 2, 0x33333333L); \
crypto/openssl/crypto/des/des_local.h
226
PERM_OP(l, r, tt, 8, 0x00ff00ffL); \
crypto/openssl/crypto/des/des_local.h
227
PERM_OP(r, l, tt, 1, 0x55555555L); \
crypto/openssl/crypto/des/des_local.h
230
#define FP(l, r) \
crypto/openssl/crypto/des/des_local.h
233
PERM_OP(l, r, tt, 1, 0x55555555L); \
crypto/openssl/crypto/des/des_local.h
234
PERM_OP(r, l, tt, 8, 0x00ff00ffL); \
crypto/openssl/crypto/des/des_local.h
235
PERM_OP(l, r, tt, 2, 0x33333333L); \
crypto/openssl/crypto/des/des_local.h
236
PERM_OP(r, l, tt, 16, 0x0000ffffL); \
crypto/openssl/crypto/des/des_local.h
237
PERM_OP(l, r, tt, 4, 0x0f0f0f0fL); \
crypto/openssl/crypto/des/des_local.h
29
#define c2l(c, l) (l = ((DES_LONG)(*((c)++))), \
crypto/openssl/crypto/des/des_local.h
30
l |= ((DES_LONG)(*((c)++))) << 8L, \
crypto/openssl/crypto/des/des_local.h
31
l |= ((DES_LONG)(*((c)++))) << 16L, \
crypto/openssl/crypto/des/des_local.h
32
l |= ((DES_LONG)(*((c)++))) << 24L)
crypto/openssl/crypto/des/des_local.h
66
#define l2c(l, c) (*((c)++) = (unsigned char)(((l)) & 0xff), \
crypto/openssl/crypto/des/des_local.h
67
*((c)++) = (unsigned char)(((l) >> 8L) & 0xff), \
crypto/openssl/crypto/des/des_local.h
68
*((c)++) = (unsigned char)(((l) >> 16L) & 0xff), \
crypto/openssl/crypto/des/des_local.h
69
*((c)++) = (unsigned char)(((l) >> 24L) & 0xff))
crypto/openssl/crypto/des/ecb_enc.c
38
register DES_LONG l;
crypto/openssl/crypto/des/ecb_enc.c
43
c2l(in, l);
crypto/openssl/crypto/des/ecb_enc.c
44
ll[0] = l;
crypto/openssl/crypto/des/ecb_enc.c
45
c2l(in, l);
crypto/openssl/crypto/des/ecb_enc.c
46
ll[1] = l;
crypto/openssl/crypto/des/ecb_enc.c
48
l = ll[0];
crypto/openssl/crypto/des/ecb_enc.c
49
l2c(l, out);
crypto/openssl/crypto/des/ecb_enc.c
50
l = ll[1];
crypto/openssl/crypto/des/ecb_enc.c
51
l2c(l, out);
crypto/openssl/crypto/des/ecb_enc.c
52
l = ll[0] = ll[1] = 0;
crypto/openssl/crypto/des/fcrypt_b.c
34
register DES_LONG l, r, t, u;
crypto/openssl/crypto/des/fcrypt_b.c
39
l = 0;
crypto/openssl/crypto/des/fcrypt_b.c
47
D_ENCRYPT(l, r, 0); /* 1 */
crypto/openssl/crypto/des/fcrypt_b.c
48
D_ENCRYPT(r, l, 2); /* 2 */
crypto/openssl/crypto/des/fcrypt_b.c
49
D_ENCRYPT(l, r, 4); /* 3 */
crypto/openssl/crypto/des/fcrypt_b.c
50
D_ENCRYPT(r, l, 6); /* 4 */
crypto/openssl/crypto/des/fcrypt_b.c
51
D_ENCRYPT(l, r, 8); /* 5 */
crypto/openssl/crypto/des/fcrypt_b.c
52
D_ENCRYPT(r, l, 10); /* 6 */
crypto/openssl/crypto/des/fcrypt_b.c
53
D_ENCRYPT(l, r, 12); /* 7 */
crypto/openssl/crypto/des/fcrypt_b.c
54
D_ENCRYPT(r, l, 14); /* 8 */
crypto/openssl/crypto/des/fcrypt_b.c
55
D_ENCRYPT(l, r, 16); /* 9 */
crypto/openssl/crypto/des/fcrypt_b.c
56
D_ENCRYPT(r, l, 18); /* 10 */
crypto/openssl/crypto/des/fcrypt_b.c
57
D_ENCRYPT(l, r, 20); /* 11 */
crypto/openssl/crypto/des/fcrypt_b.c
58
D_ENCRYPT(r, l, 22); /* 12 */
crypto/openssl/crypto/des/fcrypt_b.c
59
D_ENCRYPT(l, r, 24); /* 13 */
crypto/openssl/crypto/des/fcrypt_b.c
60
D_ENCRYPT(r, l, 26); /* 14 */
crypto/openssl/crypto/des/fcrypt_b.c
61
D_ENCRYPT(l, r, 28); /* 15 */
crypto/openssl/crypto/des/fcrypt_b.c
62
D_ENCRYPT(r, l, 30); /* 16 */
crypto/openssl/crypto/des/fcrypt_b.c
63
t = l;
crypto/openssl/crypto/des/fcrypt_b.c
64
l = r;
crypto/openssl/crypto/des/fcrypt_b.c
67
l = ROTATE(l, 3) & 0xffffffffL;
crypto/openssl/crypto/des/fcrypt_b.c
70
PERM_OP(l, r, t, 1, 0x55555555L);
crypto/openssl/crypto/des/fcrypt_b.c
71
PERM_OP(r, l, t, 8, 0x00ff00ffL);
crypto/openssl/crypto/des/fcrypt_b.c
72
PERM_OP(l, r, t, 2, 0x33333333L);
crypto/openssl/crypto/des/fcrypt_b.c
73
PERM_OP(r, l, t, 16, 0x0000ffffL);
crypto/openssl/crypto/des/fcrypt_b.c
74
PERM_OP(l, r, t, 4, 0x0f0f0f0fL);
crypto/openssl/crypto/des/fcrypt_b.c
77
out[1] = l;
crypto/openssl/crypto/des/ncbc_enc.c
29
register long l = length;
crypto/openssl/crypto/des/ncbc_enc.c
38
for (l -= 8; l >= 0; l -= 8) {
crypto/openssl/crypto/des/ncbc_enc.c
51
if (l != -8) {
crypto/openssl/crypto/des/ncbc_enc.c
52
c2ln(in, tin0, tin1, l + 8);
crypto/openssl/crypto/des/ncbc_enc.c
71
for (l -= 8; l >= 0; l -= 8) {
crypto/openssl/crypto/des/ncbc_enc.c
84
if (l != -8) {
crypto/openssl/crypto/des/ncbc_enc.c
92
l2cn(tout0, tout1, out, l + 8);
crypto/openssl/crypto/des/ofb64ede.c
30
register long l = length;
crypto/openssl/crypto/des/ofb64ede.c
45
while (l--) {
crypto/openssl/crypto/des/ofb64enc.c
29
register long l = length;
crypto/openssl/crypto/des/ofb64enc.c
44
while (l--) {
crypto/openssl/crypto/des/ofb_enc.c
30
register long l = length;
crypto/openssl/crypto/des/ofb_enc.c
56
while (l-- > 0) {
crypto/openssl/crypto/des/qud_cksm.c
39
long l;
crypto/openssl/crypto/des/qud_cksm.c
52
l = length;
crypto/openssl/crypto/des/qud_cksm.c
53
while (l > 0) {
crypto/openssl/crypto/des/qud_cksm.c
54
if (l > 1) {
crypto/openssl/crypto/des/qud_cksm.c
57
l--;
crypto/openssl/crypto/des/qud_cksm.c
60
l--;
crypto/openssl/crypto/des/xcbc_enc.c
29
register long l = length;
crypto/openssl/crypto/des/xcbc_enc.c
45
for (l -= 8; l >= 0; l -= 8) {
crypto/openssl/crypto/des/xcbc_enc.c
58
if (l != -8) {
crypto/openssl/crypto/des/xcbc_enc.c
59
c2ln(in, tin0, tin1, l + 8);
crypto/openssl/crypto/des/xcbc_enc.c
76
for (l -= 8; l > 0; l -= 8) {
crypto/openssl/crypto/des/xcbc_enc.c
89
if (l != -8) {
crypto/openssl/crypto/des/xcbc_enc.c
97
l2cn(tout0, tout1, out, l + 8);
crypto/openssl/crypto/dh/dh_ameth.c
459
long l = DH_get_length(dh);
crypto/openssl/crypto/dh/dh_ameth.c
480
if (l > 0) {
crypto/openssl/crypto/dh/dh_ameth.c
481
if (!OSSL_PARAM_BLD_push_long(tmpl, OSSL_PKEY_PARAM_DH_PRIV_LEN, l))
crypto/openssl/crypto/dh/dh_backend.c
92
long l = DH_get_length(dh);
crypto/openssl/crypto/dh/dh_backend.c
96
if (l > 0
crypto/openssl/crypto/dh/dh_backend.c
97
&& !ossl_param_build_set_long(bld, params, OSSL_PKEY_PARAM_DH_PRIV_LEN, l))
crypto/openssl/crypto/dh/dh_key.c
270
int l;
crypto/openssl/crypto/dh/dh_key.c
330
l = BN_num_bits(dh->params.p);
crypto/openssl/crypto/dh/dh_key.c
331
if (dh->length >= l)
crypto/openssl/crypto/dh/dh_key.c
333
l -= 2;
crypto/openssl/crypto/dh/dh_key.c
334
if (dh->length != 0 && dh->length < l)
crypto/openssl/crypto/dh/dh_key.c
335
l = dh->length;
crypto/openssl/crypto/dh/dh_key.c
336
if (!BN_priv_rand_ex(priv_key, l, BN_RAND_TOP_ONE,
crypto/openssl/crypto/dsa/dsa_ossl.c
225
BIGNUM *l;
crypto/openssl/crypto/dsa/dsa_ossl.c
249
l = BN_new();
crypto/openssl/crypto/dsa/dsa_ossl.c
250
if (k == NULL || l == NULL)
crypto/openssl/crypto/dsa/dsa_ossl.c
265
|| !bn_wexpand(l, q_words + 2))
crypto/openssl/crypto/dsa/dsa_ossl.c
295
BN_set_flags(l, BN_FLG_CONSTTIME);
crypto/openssl/crypto/dsa/dsa_ossl.c
318
if (!BN_add(l, k, dsa->params.q)
crypto/openssl/crypto/dsa/dsa_ossl.c
319
|| !BN_add(k, l, dsa->params.q))
crypto/openssl/crypto/dsa/dsa_ossl.c
322
BN_consttime_swap(BN_is_bit_set(l, q_bits), k, l, q_words + 2);
crypto/openssl/crypto/dsa/dsa_ossl.c
351
BN_clear_free(l);
crypto/openssl/crypto/encode_decode/decoder_meth.c
155
size_t l = (q == NULL ? strlen(names) : (size_t)(q - names));
crypto/openssl/crypto/encode_decode/decoder_meth.c
159
id = ossl_namemap_name2num_n(namemap, names, l);
crypto/openssl/crypto/encode_decode/decoder_meth.c
182
size_t l = 0;
crypto/openssl/crypto/encode_decode/decoder_meth.c
193
l = (q == NULL ? strlen(names) : (size_t)(q - names));
crypto/openssl/crypto/encode_decode/decoder_meth.c
197
|| (id = ossl_namemap_name2num_n(namemap, names, l)) == 0)
crypto/openssl/crypto/encode_decode/decoder_meth.c
641
size_t l;
crypto/openssl/crypto/encode_decode/decoder_meth.c
651
l = OSSL_DECODER_CTX_get_num_decoders(ctx);
crypto/openssl/crypto/encode_decode/decoder_meth.c
652
for (i = 0; i < l; i++) {
crypto/openssl/crypto/encode_decode/encoder_meth.c
155
size_t l = (q == NULL ? strlen(names) : (size_t)(q - names));
crypto/openssl/crypto/encode_decode/encoder_meth.c
159
id = ossl_namemap_name2num_n(namemap, methdata->names, l);
crypto/openssl/crypto/encode_decode/encoder_meth.c
182
size_t l = 0;
crypto/openssl/crypto/encode_decode/encoder_meth.c
193
l = (q == NULL ? strlen(names) : (size_t)(q - names));
crypto/openssl/crypto/encode_decode/encoder_meth.c
197
|| (id = ossl_namemap_name2num_n(namemap, names, l)) == 0)
crypto/openssl/crypto/encode_decode/encoder_meth.c
621
size_t l;
crypto/openssl/crypto/encode_decode/encoder_meth.c
631
l = OSSL_ENCODER_CTX_get_num_encoders(ctx);
crypto/openssl/crypto/encode_decode/encoder_meth.c
632
for (i = 0; i < l; i++) {
crypto/openssl/crypto/engine/eng_ctrl.c
226
long l;
crypto/openssl/crypto/engine/eng_ctrl.c
306
l = strtol(arg, &ptr, 10);
crypto/openssl/crypto/engine/eng_ctrl.c
315
if (ENGINE_ctrl(e, num, l, NULL, NULL) > 0)
crypto/openssl/crypto/engine/eng_local.h
66
const char *f, int l);
crypto/openssl/crypto/engine/eng_openssl.c
547
int l = EVP_MD_CTX_get_size(mctx);
crypto/openssl/crypto/engine/eng_openssl.c
549
if (l < 0)
crypto/openssl/crypto/engine/eng_openssl.c
551
*siglen = l;
crypto/openssl/crypto/engine/eng_table.c
201
const char *f, int l)
crypto/openssl/crypto/engine/eng_table.c
215
f, l, nid);
crypto/openssl/crypto/engine/eng_table.c
236
f, l, nid, fnd->funct->id);
crypto/openssl/crypto/engine/eng_table.c
250
f, l, nid);
crypto/openssl/crypto/engine/eng_table.c
267
f, l, nid, ret->id);
crypto/openssl/crypto/engine/eng_table.c
271
f, l, nid, ret->id);
crypto/openssl/crypto/engine/eng_table.c
285
f, l, nid, ret->id);
crypto/openssl/crypto/engine/eng_table.c
289
f, l, nid);
crypto/openssl/crypto/err/err.c
175
unsigned long ret, l;
crypto/openssl/crypto/err/err.c
177
l = a->error;
crypto/openssl/crypto/err/err.c
178
ret = l ^ ERR_GET_LIB(l);
crypto/openssl/crypto/err/err.c
528
unsigned long l, r;
crypto/openssl/crypto/err/err.c
533
l = ERR_GET_LIB(e);
crypto/openssl/crypto/err/err.c
536
BIO_snprintf(lsbuf, sizeof(lsbuf), "lib(%lu)", l);
crypto/openssl/crypto/err/err.c
564
BIO_snprintf(buf, len, "err:%lx:%lx:%lx:%lx", e, l, 0L, r);
crypto/openssl/crypto/err/err.c
591
unsigned long l;
crypto/openssl/crypto/err/err.c
597
l = ERR_GET_LIB(e);
crypto/openssl/crypto/err/err.c
598
d.error = ERR_PACK(l, 0, 0);
crypto/openssl/crypto/err/err.c
617
unsigned long l, r;
crypto/openssl/crypto/err/err.c
631
l = ERR_GET_LIB(e);
crypto/openssl/crypto/err/err.c
633
d.error = ERR_PACK(l, 0, r);
crypto/openssl/crypto/err/err_prn.c
24
unsigned long l;
crypto/openssl/crypto/err/err_prn.c
28
while ((l = ERR_get_error_all(&file, &line, &func, &data, &flags)) != 0) {
crypto/openssl/crypto/err/err_prn.c
39
ossl_err_string_int(l, func, buf + offset, sizeof(buf) - offset);
crypto/openssl/crypto/evp/e_aes.c
1001
int l;
crypto/openssl/crypto/evp/e_aes.c
1804
memcpy(ctx->aes.ccm.nonce.b + 1, nonce, 15 - ctx->aes.ccm.l);
crypto/openssl/crypto/evp/e_aes.c
1881
unsigned int i, l, num;
crypto/openssl/crypto/evp/e_aes.c
1890
l = flags & 0x7;
crypto/openssl/crypto/evp/e_aes.c
1891
ctx->aes.ccm.nonce.b[0] = l;
crypto/openssl/crypto/evp/e_aes.c
1898
for (i = 15 - l; i < 15; i++) {
crypto/openssl/crypto/evp/e_aes.c
1954
for (i = 15 - l; i < 16; i++)
crypto/openssl/crypto/evp/e_aes.c
2044
cctx->aes.ccm.nonce.b[0] = ((cctx->aes.ccm.l - 1) & 0x7)
crypto/openssl/crypto/evp/e_aes.c
2054
memcpy(ctx->iv, iv, 15 - cctx->aes.ccm.l);
crypto/openssl/crypto/evp/e_aes.c
2167
cctx->aes.ccm.l = 8;
crypto/openssl/crypto/evp/e_aes.c
2175
*(int *)ptr = 15 - cctx->aes.ccm.l;
crypto/openssl/crypto/evp/e_aes.c
2225
cctx->aes.ccm.l = arg;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
410
unsigned int l;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
466
for (l = len - plen - 1; plen < len; plen++)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
467
out[plen] = l;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
424
unsigned int l;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
494
for (l = len - plen - 1; plen < len; plen++)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
495
out[plen] = l;
crypto/openssl/crypto/evp/e_rc2.c
135
unsigned int l;
crypto/openssl/crypto/evp/e_rc2.c
139
l = EVP_CIPHER_CTX_get_iv_length(c);
crypto/openssl/crypto/evp/e_rc2.c
140
OPENSSL_assert(l <= sizeof(iv));
crypto/openssl/crypto/evp/e_rc2.c
141
i = ASN1_TYPE_get_int_octetstring(type, &num, iv, l);
crypto/openssl/crypto/evp/e_rc2.c
142
if (i != (int)l)
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
149
l = (key->md.Nl + (blocks << 3)) & 0xffffffffU;
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
150
if (l < key->md.Nl)
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
152
key->md.Nl = l;
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
82
unsigned int l;
crypto/openssl/crypto/evp/encode.c
456
unsigned long l;
crypto/openssl/crypto/evp/encode.c
466
l = (((unsigned long)f[0]) << 16L) | (((unsigned long)f[1]) << 8L) | f[2];
crypto/openssl/crypto/evp/encode.c
467
*(t++) = conv_bin2ascii(l >> 18L, table);
crypto/openssl/crypto/evp/encode.c
468
*(t++) = conv_bin2ascii(l >> 12L, table);
crypto/openssl/crypto/evp/encode.c
469
*(t++) = conv_bin2ascii(l >> 6L, table);
crypto/openssl/crypto/evp/encode.c
470
*(t++) = conv_bin2ascii(l, table);
crypto/openssl/crypto/evp/encode.c
472
l = ((unsigned long)f[0]) << 16L;
crypto/openssl/crypto/evp/encode.c
474
l |= ((unsigned long)f[1] << 8L);
crypto/openssl/crypto/evp/encode.c
476
*(t++) = conv_bin2ascii(l >> 18L, table);
crypto/openssl/crypto/evp/encode.c
477
*(t++) = conv_bin2ascii(l >> 12L, table);
crypto/openssl/crypto/evp/encode.c
478
*(t++) = (i == 1) ? '=' : conv_bin2ascii(l >> 6L, table);
crypto/openssl/crypto/evp/encode.c
638
unsigned long l;
crypto/openssl/crypto/evp/encode.c
675
l = ((((unsigned long)a) << 18L) | (((unsigned long)b) << 12L) | (((unsigned long)c) << 6L) | (((unsigned long)d)));
crypto/openssl/crypto/evp/encode.c
676
*(t++) = (unsigned char)(l >> 16L) & 0xff;
crypto/openssl/crypto/evp/encode.c
677
*(t++) = (unsigned char)(l >> 8L) & 0xff;
crypto/openssl/crypto/evp/encode.c
678
*(t++) = (unsigned char)(l) & 0xff;
crypto/openssl/crypto/evp/encode.c
689
l = ((((unsigned long)a) << 18L) | (((unsigned long)b) << 12L) | (((unsigned long)c) << 6L) | (((unsigned long)d)));
crypto/openssl/crypto/evp/encode.c
696
*(t++) = (unsigned char)(l >> 16L) & 0xff;
crypto/openssl/crypto/evp/encode.c
699
*(t++) = (unsigned char)(l >> 16L) & 0xff;
crypto/openssl/crypto/evp/encode.c
700
*(t++) = (unsigned char)(l >> 8L) & 0xff;
crypto/openssl/crypto/evp/encode.c
703
*(t++) = (unsigned char)(l >> 16L) & 0xff;
crypto/openssl/crypto/evp/encode.c
704
*(t++) = (unsigned char)(l >> 8L) & 0xff;
crypto/openssl/crypto/evp/encode.c
705
*(t++) = (unsigned char)(l) & 0xff;
crypto/openssl/crypto/evp/evp_fetch.c
143
size_t l = (q == NULL ? strlen(names) : (size_t)(q - names));
crypto/openssl/crypto/evp/evp_fetch.c
147
name_id = ossl_namemap_name2num_n(namemap, names, l);
crypto/openssl/crypto/evp/evp_fetch.c
173
size_t l = 0;
crypto/openssl/crypto/evp/evp_fetch.c
184
l = (q == NULL ? strlen(names) : (size_t)(q - names));
crypto/openssl/crypto/evp/evp_fetch.c
188
|| (name_id = ossl_namemap_name2num_n(namemap, names, l)) == 0
crypto/openssl/crypto/evp/evp_lib.c
48
unsigned int l;
crypto/openssl/crypto/evp/evp_lib.c
53
l = EVP_CIPHER_CTX_get_iv_length(ctx);
crypto/openssl/crypto/evp/evp_lib.c
54
if (!ossl_assert(l <= sizeof(iv)))
crypto/openssl/crypto/evp/evp_lib.c
56
i = ASN1_TYPE_get_octetstring(type, iv, l);
crypto/openssl/crypto/evp/evp_lib.c
57
if (i != (int)l)
crypto/openssl/crypto/evp/mac_lib.c
144
size_t l;
crypto/openssl/crypto/evp/mac_lib.c
180
res = ctx->meth->final(ctx->algctx, out, &l, outsize);
crypto/openssl/crypto/evp/mac_lib.c
182
*outl = l;
crypto/openssl/crypto/idea/i_cbc.c
26
register long l = length;
crypto/openssl/crypto/idea/i_cbc.c
33
for (l -= 8; l >= 0; l -= 8) {
crypto/openssl/crypto/idea/i_cbc.c
46
if (l != -8) {
crypto/openssl/crypto/idea/i_cbc.c
47
n2ln(in, tin0, tin1, l + 8);
crypto/openssl/crypto/idea/i_cbc.c
64
for (l -= 8; l >= 0; l -= 8) {
crypto/openssl/crypto/idea/i_cbc.c
77
if (l != -8) {
crypto/openssl/crypto/idea/i_cbc.c
85
l2nn(tout0, tout1, out, l + 8);
crypto/openssl/crypto/idea/i_cfb64.c
32
register long l = length;
crypto/openssl/crypto/idea/i_cfb64.c
44
while (l--) {
crypto/openssl/crypto/idea/i_cfb64.c
64
while (l--) {
crypto/openssl/crypto/idea/i_ofb64.c
31
register long l = length;
crypto/openssl/crypto/idea/i_ofb64.c
52
while (l--) {
crypto/openssl/crypto/idea/idea_local.h
100
l |= ((IDEA_INT)(*((c)++))))
crypto/openssl/crypto/idea/idea_local.h
83
#define n2l(c, l) (l = ((unsigned long)(*((c)++))) << 24L, \
crypto/openssl/crypto/idea/idea_local.h
84
l |= ((unsigned long)(*((c)++))) << 16L, \
crypto/openssl/crypto/idea/idea_local.h
85
l |= ((unsigned long)(*((c)++))) << 8L, \
crypto/openssl/crypto/idea/idea_local.h
86
l |= ((unsigned long)(*((c)++))))
crypto/openssl/crypto/idea/idea_local.h
89
#define l2n(l, c) (*((c)++) = (unsigned char)(((l) >> 24L) & 0xff), \
crypto/openssl/crypto/idea/idea_local.h
90
*((c)++) = (unsigned char)(((l) >> 16L) & 0xff), \
crypto/openssl/crypto/idea/idea_local.h
91
*((c)++) = (unsigned char)(((l) >> 8L) & 0xff), \
crypto/openssl/crypto/idea/idea_local.h
92
*((c)++) = (unsigned char)(((l)) & 0xff))
crypto/openssl/crypto/idea/idea_local.h
95
#define s2n(l, c) (*((c)++) = (unsigned char)(((l)) & 0xff), \
crypto/openssl/crypto/idea/idea_local.h
96
*((c)++) = (unsigned char)(((l) >> 8L) & 0xff))
crypto/openssl/crypto/idea/idea_local.h
99
#define n2s(c, l) (l = ((IDEA_INT)(*((c)++))) << 8L, \
crypto/openssl/crypto/md4/md4_dgst.c
100
X(12) = l;
crypto/openssl/crypto/md4/md4_dgst.c
102
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md4/md4_dgst.c
103
X(13) = l;
crypto/openssl/crypto/md4/md4_dgst.c
105
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md4/md4_dgst.c
106
X(14) = l;
crypto/openssl/crypto/md4/md4_dgst.c
108
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md4/md4_dgst.c
109
X(15) = l;
crypto/openssl/crypto/md4/md4_dgst.c
46
register unsigned MD32_REG_T A, B, C, D, l;
crypto/openssl/crypto/md4/md4_dgst.c
63
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md4/md4_dgst.c
64
X(0) = l;
crypto/openssl/crypto/md4/md4_dgst.c
65
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md4/md4_dgst.c
66
X(1) = l;
crypto/openssl/crypto/md4/md4_dgst.c
69
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md4/md4_dgst.c
70
X(2) = l;
crypto/openssl/crypto/md4/md4_dgst.c
72
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md4/md4_dgst.c
73
X(3) = l;
crypto/openssl/crypto/md4/md4_dgst.c
75
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md4/md4_dgst.c
76
X(4) = l;
crypto/openssl/crypto/md4/md4_dgst.c
78
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md4/md4_dgst.c
79
X(5) = l;
crypto/openssl/crypto/md4/md4_dgst.c
81
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md4/md4_dgst.c
82
X(6) = l;
crypto/openssl/crypto/md4/md4_dgst.c
84
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md4/md4_dgst.c
85
X(7) = l;
crypto/openssl/crypto/md4/md4_dgst.c
87
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md4/md4_dgst.c
88
X(8) = l;
crypto/openssl/crypto/md4/md4_dgst.c
90
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md4/md4_dgst.c
91
X(9) = l;
crypto/openssl/crypto/md4/md4_dgst.c
93
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md4/md4_dgst.c
94
X(10) = l;
crypto/openssl/crypto/md4/md4_dgst.c
96
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md4/md4_dgst.c
97
X(11) = l;
crypto/openssl/crypto/md4/md4_dgst.c
99
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md5/md5_dgst.c
100
X(12) = l;
crypto/openssl/crypto/md5/md5_dgst.c
102
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md5/md5_dgst.c
103
X(13) = l;
crypto/openssl/crypto/md5/md5_dgst.c
105
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md5/md5_dgst.c
106
X(14) = l;
crypto/openssl/crypto/md5/md5_dgst.c
108
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md5/md5_dgst.c
109
X(15) = l;
crypto/openssl/crypto/md5/md5_dgst.c
46
register unsigned MD32_REG_T A, B, C, D, l;
crypto/openssl/crypto/md5/md5_dgst.c
63
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md5/md5_dgst.c
64
X(0) = l;
crypto/openssl/crypto/md5/md5_dgst.c
65
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md5/md5_dgst.c
66
X(1) = l;
crypto/openssl/crypto/md5/md5_dgst.c
69
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md5/md5_dgst.c
70
X(2) = l;
crypto/openssl/crypto/md5/md5_dgst.c
72
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md5/md5_dgst.c
73
X(3) = l;
crypto/openssl/crypto/md5/md5_dgst.c
75
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md5/md5_dgst.c
76
X(4) = l;
crypto/openssl/crypto/md5/md5_dgst.c
78
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md5/md5_dgst.c
79
X(5) = l;
crypto/openssl/crypto/md5/md5_dgst.c
81
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md5/md5_dgst.c
82
X(6) = l;
crypto/openssl/crypto/md5/md5_dgst.c
84
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md5/md5_dgst.c
85
X(7) = l;
crypto/openssl/crypto/md5/md5_dgst.c
87
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md5/md5_dgst.c
88
X(8) = l;
crypto/openssl/crypto/md5/md5_dgst.c
90
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md5/md5_dgst.c
91
X(9) = l;
crypto/openssl/crypto/md5/md5_dgst.c
93
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md5/md5_dgst.c
94
X(10) = l;
crypto/openssl/crypto/md5/md5_dgst.c
96
(void)HOST_c2l(data, l);
crypto/openssl/crypto/md5/md5_dgst.c
97
X(11) = l;
crypto/openssl/crypto/md5/md5_dgst.c
99
(void)HOST_c2l(data, l);
crypto/openssl/crypto/mdc2/mdc2dgst.c
24
#define c2l(c, l) (l = ((DES_LONG)(*((c)++))), \
crypto/openssl/crypto/mdc2/mdc2dgst.c
25
l |= ((DES_LONG)(*((c)++))) << 8L, \
crypto/openssl/crypto/mdc2/mdc2dgst.c
26
l |= ((DES_LONG)(*((c)++))) << 16L, \
crypto/openssl/crypto/mdc2/mdc2dgst.c
27
l |= ((DES_LONG)(*((c)++))) << 24L)
crypto/openssl/crypto/mdc2/mdc2dgst.c
30
#define l2c(l, c) (*((c)++) = (unsigned char)(((l)) & 0xff), \
crypto/openssl/crypto/mdc2/mdc2dgst.c
31
*((c)++) = (unsigned char)(((l) >> 8L) & 0xff), \
crypto/openssl/crypto/mdc2/mdc2dgst.c
32
*((c)++) = (unsigned char)(((l) >> 16L) & 0xff), \
crypto/openssl/crypto/mdc2/mdc2dgst.c
33
*((c)++) = (unsigned char)(((l) >> 24L) & 0xff))
crypto/openssl/crypto/ml_dsa/ml_dsa_encoders.c
711
size_t i, written = 0, k = params->k, l = params->l;
crypto/openssl/crypto/ml_dsa/ml_dsa_encoders.c
732
for (i = 0; i < l; ++i)
crypto/openssl/crypto/ml_dsa/ml_dsa_encoders.c
768
size_t i, k = params->k, l = params->l;
crypto/openssl/crypto/ml_dsa/ml_dsa_encoders.c
797
for (i = 0; i < l; ++i)
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
112
size_t k = key->params->k, l = key->params->l;
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
117
if (!vector_alloc(&key->s1, l + 2 * k))
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
121
key->s1.num_poly = l;
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
122
vector_init(&key->s2, poly + l, k);
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
123
vector_init(&key->t0, poly + l + k, k);
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
320
uint32_t k = params->k, l = params->l;
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
326
polys = OPENSSL_malloc(sizeof(*polys) * (k + l + k * l));
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
331
vector_init(&s1_ntt, t.poly + k, l);
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
332
matrix_init(&a_ntt, s1_ntt.poly + l, k, l);
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
436
augmented_seed[ML_DSA_SEED_BYTES + 1] = (uint8_t)params->l;
crypto/openssl/crypto/ml_dsa/ml_dsa_matrix.c
32
for (j = 0; j < a->l; j++) {
crypto/openssl/crypto/ml_dsa/ml_dsa_matrix.h
13
size_t k, l;
crypto/openssl/crypto/ml_dsa/ml_dsa_matrix.h
26
matrix_init(MATRIX *m, POLY *polys, size_t k, size_t l)
crypto/openssl/crypto/ml_dsa/ml_dsa_matrix.h
29
m->l = l;
crypto/openssl/crypto/ml_dsa/ml_dsa_sample.c
212
for (j = 0; j < out->l; j++) {
crypto/openssl/crypto/ml_dsa/ml_dsa_sample.c
248
size_t l = s1->num_poly;
crypto/openssl/crypto/ml_dsa/ml_dsa_sample.c
263
for (i = 0; i < l; i++) {
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
103
vector_init(&s1_ntt, p, l);
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
104
vector_init(&y, p + l, l);
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
105
vector_init(&cs1, p + 2 * l, l);
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
107
signature_init(&sig, p, k, p + k, l, c_tilde, c_tilde_len);
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
137
for (kappa = 0;; kappa += l) {
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
218
uint32_t l = pub->params->l;
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
221
size_t num_polys_sig = k + l;
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
223
size_t num_polys_l = 1 * l;
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
224
size_t num_polys_k_by_l = k * l;
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
247
matrix_init(&a_ntt, p, k, l);
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
249
signature_init(&sig, p, k, p + k, l, c_tilde_sig, c_tilde_len);
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
36
POLY *hint, uint32_t k, POLY *z, uint32_t l,
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
39
vector_init(&sig->z, z, l);
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
58
uint32_t k = params->k, l = params->l;
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
64
size_t num_polys_l = 3 * l;
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
65
size_t num_polys_k_by_l = k * l;
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
95
matrix_init(&a_ntt, p, k, l);
crypto/openssl/crypto/modes/cfb128.c
129
while (l < len) {
crypto/openssl/crypto/modes/cfb128.c
134
out[l] = ivec[n] ^ (c = in[l]);
crypto/openssl/crypto/modes/cfb128.c
136
++l;
crypto/openssl/crypto/modes/cfb128.c
31
size_t l = 0;
crypto/openssl/crypto/modes/cfb128.c
77
while (l < len) {
crypto/openssl/crypto/modes/cfb128.c
81
out[l] = ivec[n] ^= in[l];
crypto/openssl/crypto/modes/cfb128.c
82
++l;
crypto/openssl/crypto/modes/ctr128.c
124
while (l < len) {
crypto/openssl/crypto/modes/ctr128.c
129
out[l] = in[l] ^ ecount_buf[n];
crypto/openssl/crypto/modes/ctr128.c
130
++l;
crypto/openssl/crypto/modes/ctr128.c
80
size_t l = 0;
crypto/openssl/crypto/modes/ocb128.c
113
tmp_ptr = OPENSSL_realloc(ctx->l, ctx->max_l_index * sizeof(OCB_BLOCK));
crypto/openssl/crypto/modes/ocb128.c
116
ctx->l = tmp_ptr;
crypto/openssl/crypto/modes/ocb128.c
119
ocb_double(ctx->l + l_index, ctx->l + l_index + 1);
crypto/openssl/crypto/modes/ocb128.c
124
return ctx->l + idx;
crypto/openssl/crypto/modes/ocb128.c
158
if ((ctx->l = OPENSSL_malloc(ctx->max_l_index * 16)) == NULL)
crypto/openssl/crypto/modes/ocb128.c
179
ocb_double(&ctx->l_dollar, ctx->l);
crypto/openssl/crypto/modes/ocb128.c
182
ocb_double(ctx->l, ctx->l + 1);
crypto/openssl/crypto/modes/ocb128.c
183
ocb_double(ctx->l + 1, ctx->l + 2);
crypto/openssl/crypto/modes/ocb128.c
184
ocb_double(ctx->l + 2, ctx->l + 3);
crypto/openssl/crypto/modes/ocb128.c
185
ocb_double(ctx->l + 3, ctx->l + 4);
crypto/openssl/crypto/modes/ocb128.c
202
if (src->l) {
crypto/openssl/crypto/modes/ocb128.c
203
if ((dest->l = OPENSSL_malloc(src->max_l_index * 16)) == NULL)
crypto/openssl/crypto/modes/ocb128.c
205
memcpy(dest->l, src->l, (src->l_index + 1) * 16);
crypto/openssl/crypto/modes/ocb128.c
353
(const unsigned char (*)[16])ctx->l, ctx->sess.checksum.c);
crypto/openssl/crypto/modes/ocb128.c
448
(const unsigned char (*)[16])ctx->l, ctx->sess.checksum.c);
crypto/openssl/crypto/modes/ocb128.c
558
OPENSSL_clear_free(ctx->l, ctx->max_l_index * 16);
crypto/openssl/crypto/modes/ocb128.c
97
return ctx->l + idx;
crypto/openssl/crypto/modes/ofb128.c
30
size_t l = 0;
crypto/openssl/crypto/modes/ofb128.c
74
while (l < len) {
crypto/openssl/crypto/modes/ofb128.c
78
out[l] = in[l] ^ ivec[n];
crypto/openssl/crypto/modes/ofb128.c
79
++l;
crypto/openssl/crypto/o_str.c
77
size_t l = 0;
crypto/openssl/crypto/o_str.c
80
l++;
crypto/openssl/crypto/o_str.c
84
return l + strlen(src);
crypto/openssl/crypto/o_str.c
89
size_t l = 0;
crypto/openssl/crypto/o_str.c
91
l++;
crypto/openssl/crypto/o_str.c
92
return l + OPENSSL_strlcpy(dst, src, size);
crypto/openssl/crypto/objects/obj_dat.c
469
unsigned long l;
crypto/openssl/crypto/objects/obj_dat.c
471
char tbuf[DECIMAL_SIZE(i) + DECIMAL_SIZE(l) + 2];
crypto/openssl/crypto/objects/obj_dat.c
518
l = 0;
crypto/openssl/crypto/objects/obj_dat.c
530
l |= c & 0x7f;
crypto/openssl/crypto/objects/obj_dat.c
534
if (!use_bn && l > (ULONG_MAX >> 7L)) {
crypto/openssl/crypto/objects/obj_dat.c
537
if (!BN_set_word(bl, l))
crypto/openssl/crypto/objects/obj_dat.c
545
l <<= 7L;
crypto/openssl/crypto/objects/obj_dat.c
551
if (l >= 80) {
crypto/openssl/crypto/objects/obj_dat.c
557
l -= 80;
crypto/openssl/crypto/objects/obj_dat.c
560
i = (int)(l / 40);
crypto/openssl/crypto/objects/obj_dat.c
561
l -= (long)(i * 40);
crypto/openssl/crypto/objects/obj_dat.c
596
BIO_snprintf(tbuf, sizeof(tbuf), ".%lu", l);
crypto/openssl/crypto/objects/obj_dat.c
609
l = 0;
crypto/openssl/crypto/objects/obj_dat.c
708
int l, h, i = 0, c = 0;
crypto/openssl/crypto/objects/obj_dat.c
731
char *o, *s, *l = NULL;
crypto/openssl/crypto/objects/obj_dat.c
751
l = s;
crypto/openssl/crypto/objects/obj_dat.c
752
while (*l != '\0' && !ossl_isspace(*l))
crypto/openssl/crypto/objects/obj_dat.c
753
l++;
crypto/openssl/crypto/objects/obj_dat.c
754
if (*l != '\0') {
crypto/openssl/crypto/objects/obj_dat.c
755
*(l++) = '\0';
crypto/openssl/crypto/objects/obj_dat.c
756
while (ossl_isspace(*l))
crypto/openssl/crypto/objects/obj_dat.c
757
l++;
crypto/openssl/crypto/objects/obj_dat.c
758
if (*l == '\0') {
crypto/openssl/crypto/objects/obj_dat.c
759
l = NULL;
crypto/openssl/crypto/objects/obj_dat.c
762
l = NULL;
crypto/openssl/crypto/objects/obj_dat.c
770
if (!OBJ_create(o, s, l))
crypto/openssl/crypto/ocsp/ocsp_prn.c
100
l = ASN1_INTEGER_get(inf->version);
crypto/openssl/crypto/ocsp/ocsp_prn.c
101
if (BIO_printf(bp, " Version: %lu (0x%lx)", l + 1, l) <= 0)
crypto/openssl/crypto/ocsp/ocsp_prn.c
137
long l;
crypto/openssl/crypto/ocsp/ocsp_prn.c
149
l = ASN1_ENUMERATED_get(o->responseStatus);
crypto/openssl/crypto/ocsp/ocsp_prn.c
151
OCSP_response_status_str(l), l)
crypto/openssl/crypto/ocsp/ocsp_prn.c
168
l = ASN1_INTEGER_get(rd->version);
crypto/openssl/crypto/ocsp/ocsp_prn.c
169
if (BIO_printf(bp, "\n Version: %lu (0x%lx)\n", l + 1, l) <= 0)
crypto/openssl/crypto/ocsp/ocsp_prn.c
209
l = ASN1_ENUMERATED_get(rev->revocationReason);
crypto/openssl/crypto/ocsp/ocsp_prn.c
212
OCSP_crl_reason_str(l), l)
crypto/openssl/crypto/ocsp/ocsp_prn.c
92
long l;
crypto/openssl/crypto/params_dup.c
140
const OSSL_PARAM *l = *(const OSSL_PARAM **)left;
crypto/openssl/crypto/params_dup.c
143
return OPENSSL_strcasecmp(l->key, r->key);
crypto/openssl/crypto/params_from_text.c
182
size_t l = 0;
crypto/openssl/crypto/params_from_text.c
184
if (!OPENSSL_hexstr2buf_ex(buf, buf_n, &l, value, ':'))
crypto/openssl/crypto/property/property_string.c
128
const size_t l = strlen(s);
crypto/openssl/crypto/property/property_string.c
129
PROPERTY_STRING *ps = OPENSSL_malloc(sizeof(*ps) + l);
crypto/openssl/crypto/property/property_string.c
132
memcpy(ps->body, s, l + 1);
crypto/openssl/crypto/rc2/rc2_cbc.c
101
l = d[0];
crypto/openssl/crypto/rc2/rc2_cbc.c
102
x0 = (RC2_INT)l & 0xffff;
crypto/openssl/crypto/rc2/rc2_cbc.c
103
x1 = (RC2_INT)(l >> 16L);
crypto/openssl/crypto/rc2/rc2_cbc.c
104
l = d[1];
crypto/openssl/crypto/rc2/rc2_cbc.c
105
x2 = (RC2_INT)l & 0xffff;
crypto/openssl/crypto/rc2/rc2_cbc.c
106
x3 = (RC2_INT)(l >> 16L);
crypto/openssl/crypto/rc2/rc2_cbc.c
143
unsigned long l;
crypto/openssl/crypto/rc2/rc2_cbc.c
145
l = d[0];
crypto/openssl/crypto/rc2/rc2_cbc.c
146
x0 = (RC2_INT)l & 0xffff;
crypto/openssl/crypto/rc2/rc2_cbc.c
147
x1 = (RC2_INT)(l >> 16L);
crypto/openssl/crypto/rc2/rc2_cbc.c
148
l = d[1];
crypto/openssl/crypto/rc2/rc2_cbc.c
149
x2 = (RC2_INT)l & 0xffff;
crypto/openssl/crypto/rc2/rc2_cbc.c
150
x3 = (RC2_INT)(l >> 16L);
crypto/openssl/crypto/rc2/rc2_cbc.c
24
register long l = length;
crypto/openssl/crypto/rc2/rc2_cbc.c
31
for (l -= 8; l >= 0; l -= 8) {
crypto/openssl/crypto/rc2/rc2_cbc.c
44
if (l != -8) {
crypto/openssl/crypto/rc2/rc2_cbc.c
45
c2ln(in, tin0, tin1, l + 8);
crypto/openssl/crypto/rc2/rc2_cbc.c
62
for (l -= 8; l >= 0; l -= 8) {
crypto/openssl/crypto/rc2/rc2_cbc.c
75
if (l != -8) {
crypto/openssl/crypto/rc2/rc2_cbc.c
83
l2cn(tout0, tout1, out, l + 8);
crypto/openssl/crypto/rc2/rc2_cbc.c
99
unsigned long l;
crypto/openssl/crypto/rc2/rc2_ecb.c
31
unsigned long l, d[2];
crypto/openssl/crypto/rc2/rc2_ecb.c
33
c2l(in, l);
crypto/openssl/crypto/rc2/rc2_ecb.c
34
d[0] = l;
crypto/openssl/crypto/rc2/rc2_ecb.c
35
c2l(in, l);
crypto/openssl/crypto/rc2/rc2_ecb.c
36
d[1] = l;
crypto/openssl/crypto/rc2/rc2_ecb.c
41
l = d[0];
crypto/openssl/crypto/rc2/rc2_ecb.c
42
l2c(l, out);
crypto/openssl/crypto/rc2/rc2_ecb.c
43
l = d[1];
crypto/openssl/crypto/rc2/rc2_ecb.c
44
l2c(l, out);
crypto/openssl/crypto/rc2/rc2_ecb.c
45
l = d[0] = d[1] = 0;
crypto/openssl/crypto/rc2/rc2_local.h
11
#define c2l(c, l) (l = ((unsigned long)(*((c)++))), \
crypto/openssl/crypto/rc2/rc2_local.h
12
l |= ((unsigned long)(*((c)++))) << 8L, \
crypto/openssl/crypto/rc2/rc2_local.h
13
l |= ((unsigned long)(*((c)++))) << 16L, \
crypto/openssl/crypto/rc2/rc2_local.h
14
l |= ((unsigned long)(*((c)++))) << 24L)
crypto/openssl/crypto/rc2/rc2_local.h
50
#define l2c(l, c) (*((c)++) = (unsigned char)(((l)) & 0xff), \
crypto/openssl/crypto/rc2/rc2_local.h
51
*((c)++) = (unsigned char)(((l) >> 8L) & 0xff), \
crypto/openssl/crypto/rc2/rc2_local.h
52
*((c)++) = (unsigned char)(((l) >> 16L) & 0xff), \
crypto/openssl/crypto/rc2/rc2_local.h
53
*((c)++) = (unsigned char)(((l) >> 24L) & 0xff))
crypto/openssl/crypto/rc2/rc2cfb64.c
31
register long l = length;
crypto/openssl/crypto/rc2/rc2cfb64.c
37
while (l--) {
crypto/openssl/crypto/rc2/rc2cfb64.c
57
while (l--) {
crypto/openssl/crypto/rc2/rc2ofb64.c
30
register long l = length;
crypto/openssl/crypto/rc2/rc2ofb64.c
45
while (l--) {
crypto/openssl/crypto/rc5/rc5_ecb.c
23
unsigned long l, d[2];
crypto/openssl/crypto/rc5/rc5_ecb.c
25
c2l(in, l);
crypto/openssl/crypto/rc5/rc5_ecb.c
26
d[0] = l;
crypto/openssl/crypto/rc5/rc5_ecb.c
27
c2l(in, l);
crypto/openssl/crypto/rc5/rc5_ecb.c
28
d[1] = l;
crypto/openssl/crypto/rc5/rc5_ecb.c
33
l = d[0];
crypto/openssl/crypto/rc5/rc5_ecb.c
34
l2c(l, out);
crypto/openssl/crypto/rc5/rc5_ecb.c
35
l = d[1];
crypto/openssl/crypto/rc5/rc5_ecb.c
36
l2c(l, out);
crypto/openssl/crypto/rc5/rc5_ecb.c
37
l = d[0] = d[1] = 0;
crypto/openssl/crypto/rc5/rc5_enc.c
26
register long l = length;
crypto/openssl/crypto/rc5/rc5_enc.c
33
for (l -= 8; l >= 0; l -= 8) {
crypto/openssl/crypto/rc5/rc5_enc.c
46
if (l != -8) {
crypto/openssl/crypto/rc5/rc5_enc.c
47
c2ln(in, tin0, tin1, l + 8);
crypto/openssl/crypto/rc5/rc5_enc.c
64
for (l -= 8; l >= 0; l -= 8) {
crypto/openssl/crypto/rc5/rc5_enc.c
77
if (l != -8) {
crypto/openssl/crypto/rc5/rc5_enc.c
85
l2cn(tout0, tout1, out, l + 8);
crypto/openssl/crypto/rc5/rc5_local.h
13
#define c2l(c, l) (l = ((unsigned long)(*((c)++))), \
crypto/openssl/crypto/rc5/rc5_local.h
14
l |= ((unsigned long)(*((c)++))) << 8L, \
crypto/openssl/crypto/rc5/rc5_local.h
15
l |= ((unsigned long)(*((c)++))) << 16L, \
crypto/openssl/crypto/rc5/rc5_local.h
16
l |= ((unsigned long)(*((c)++))) << 24L)
crypto/openssl/crypto/rc5/rc5_local.h
52
#define l2c(l, c) (*((c)++) = (unsigned char)(((l)) & 0xff), \
crypto/openssl/crypto/rc5/rc5_local.h
53
*((c)++) = (unsigned char)(((l) >> 8L) & 0xff), \
crypto/openssl/crypto/rc5/rc5_local.h
54
*((c)++) = (unsigned char)(((l) >> 16L) & 0xff), \
crypto/openssl/crypto/rc5/rc5_local.h
55
*((c)++) = (unsigned char)(((l) >> 24L) & 0xff))
crypto/openssl/crypto/rc5/rc5_skey.c
22
RC5_32_INT L[64], l, ll, A, B, *S, k;
crypto/openssl/crypto/rc5/rc5_skey.c
35
c2l(data, l);
crypto/openssl/crypto/rc5/rc5_skey.c
36
L[j++] = l;
crypto/openssl/crypto/rc5/rc5_skey.c
37
c2l(data, l);
crypto/openssl/crypto/rc5/rc5_skey.c
38
L[j++] = l;
crypto/openssl/crypto/rc5/rc5_skey.c
43
c2ln(data, l, ll, k);
crypto/openssl/crypto/rc5/rc5_skey.c
44
L[j + 0] = l;
crypto/openssl/crypto/rc5/rc5cfb64.c
31
register long l = length;
crypto/openssl/crypto/rc5/rc5cfb64.c
37
while (l--) {
crypto/openssl/crypto/rc5/rc5cfb64.c
57
while (l--) {
crypto/openssl/crypto/rc5/rc5ofb64.c
30
register long l = length;
crypto/openssl/crypto/rc5/rc5ofb64.c
45
while (l--) {
crypto/openssl/crypto/ripemd/rmd_dgst.c
100
(void)HOST_c2l(data, l);
crypto/openssl/crypto/ripemd/rmd_dgst.c
101
X(12) = l;
crypto/openssl/crypto/ripemd/rmd_dgst.c
103
(void)HOST_c2l(data, l);
crypto/openssl/crypto/ripemd/rmd_dgst.c
104
X(13) = l;
crypto/openssl/crypto/ripemd/rmd_dgst.c
106
(void)HOST_c2l(data, l);
crypto/openssl/crypto/ripemd/rmd_dgst.c
107
X(14) = l;
crypto/openssl/crypto/ripemd/rmd_dgst.c
109
(void)HOST_c2l(data, l);
crypto/openssl/crypto/ripemd/rmd_dgst.c
110
X(15) = l;
crypto/openssl/crypto/ripemd/rmd_dgst.c
46
unsigned MD32_REG_T a, b, c, d, e, l;
crypto/openssl/crypto/ripemd/rmd_dgst.c
65
(void)HOST_c2l(data, l);
crypto/openssl/crypto/ripemd/rmd_dgst.c
66
X(0) = l;
crypto/openssl/crypto/ripemd/rmd_dgst.c
67
(void)HOST_c2l(data, l);
crypto/openssl/crypto/ripemd/rmd_dgst.c
68
X(1) = l;
crypto/openssl/crypto/ripemd/rmd_dgst.c
70
(void)HOST_c2l(data, l);
crypto/openssl/crypto/ripemd/rmd_dgst.c
71
X(2) = l;
crypto/openssl/crypto/ripemd/rmd_dgst.c
73
(void)HOST_c2l(data, l);
crypto/openssl/crypto/ripemd/rmd_dgst.c
74
X(3) = l;
crypto/openssl/crypto/ripemd/rmd_dgst.c
76
(void)HOST_c2l(data, l);
crypto/openssl/crypto/ripemd/rmd_dgst.c
77
X(4) = l;
crypto/openssl/crypto/ripemd/rmd_dgst.c
79
(void)HOST_c2l(data, l);
crypto/openssl/crypto/ripemd/rmd_dgst.c
80
X(5) = l;
crypto/openssl/crypto/ripemd/rmd_dgst.c
82
(void)HOST_c2l(data, l);
crypto/openssl/crypto/ripemd/rmd_dgst.c
83
X(6) = l;
crypto/openssl/crypto/ripemd/rmd_dgst.c
85
(void)HOST_c2l(data, l);
crypto/openssl/crypto/ripemd/rmd_dgst.c
86
X(7) = l;
crypto/openssl/crypto/ripemd/rmd_dgst.c
88
(void)HOST_c2l(data, l);
crypto/openssl/crypto/ripemd/rmd_dgst.c
89
X(8) = l;
crypto/openssl/crypto/ripemd/rmd_dgst.c
91
(void)HOST_c2l(data, l);
crypto/openssl/crypto/ripemd/rmd_dgst.c
92
X(9) = l;
crypto/openssl/crypto/ripemd/rmd_dgst.c
94
(void)HOST_c2l(data, l);
crypto/openssl/crypto/ripemd/rmd_dgst.c
95
X(10) = l;
crypto/openssl/crypto/ripemd/rmd_dgst.c
97
(void)HOST_c2l(data, l);
crypto/openssl/crypto/ripemd/rmd_dgst.c
98
X(11) = l;
crypto/openssl/crypto/rsa/rsa_chk.c
119
if (!BN_mul(l, i, j, ctx)) {
crypto/openssl/crypto/rsa/rsa_chk.c
127
if (!BN_div(m, NULL, l, m, ctx)) { /* remainder is 0 */
crypto/openssl/crypto/rsa/rsa_chk.c
137
if (!BN_mul(l, m, k, ctx)) {
crypto/openssl/crypto/rsa/rsa_chk.c
145
if (!BN_div(m, NULL, l, m, ctx)) { /* remainder is 0 */
crypto/openssl/crypto/rsa/rsa_chk.c
230
BN_free(l);
crypto/openssl/crypto/rsa/rsa_chk.c
24
BIGNUM *i, *j, *k, *l, *m;
crypto/openssl/crypto/rsa/rsa_chk.c
48
l = BN_new();
crypto/openssl/crypto/rsa/rsa_chk.c
51
if (i == NULL || j == NULL || k == NULL || l == NULL
crypto/openssl/crypto/seed/seed_local.h
50
#define word2char(l, c) \
crypto/openssl/crypto/seed/seed_local.h
51
*((c) + 0) = (unsigned char)((l) >> 24) & 0xff; \
crypto/openssl/crypto/seed/seed_local.h
52
*((c) + 1) = (unsigned char)((l) >> 16) & 0xff; \
crypto/openssl/crypto/seed/seed_local.h
53
*((c) + 2) = (unsigned char)((l) >> 8) & 0xff; \
crypto/openssl/crypto/seed/seed_local.h
54
*((c) + 3) = (unsigned char)((l)) & 0xff
crypto/openssl/crypto/sha/sha256.c
220
SHA_LONG X[16], l;
crypto/openssl/crypto/sha/sha256.c
236
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
237
T1 = X[i] = l;
crypto/openssl/crypto/sha/sha256.c
363
SHA_LONG l;
crypto/openssl/crypto/sha/sha256.c
365
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
366
T1 = X[0] = l;
crypto/openssl/crypto/sha/sha256.c
368
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
369
T1 = X[1] = l;
crypto/openssl/crypto/sha/sha256.c
371
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
372
T1 = X[2] = l;
crypto/openssl/crypto/sha/sha256.c
374
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
375
T1 = X[3] = l;
crypto/openssl/crypto/sha/sha256.c
377
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
378
T1 = X[4] = l;
crypto/openssl/crypto/sha/sha256.c
380
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
381
T1 = X[5] = l;
crypto/openssl/crypto/sha/sha256.c
383
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
384
T1 = X[6] = l;
crypto/openssl/crypto/sha/sha256.c
386
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
387
T1 = X[7] = l;
crypto/openssl/crypto/sha/sha256.c
389
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
390
T1 = X[8] = l;
crypto/openssl/crypto/sha/sha256.c
392
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
393
T1 = X[9] = l;
crypto/openssl/crypto/sha/sha256.c
395
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
396
T1 = X[10] = l;
crypto/openssl/crypto/sha/sha256.c
398
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
399
T1 = X[11] = l;
crypto/openssl/crypto/sha/sha256.c
401
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
402
T1 = X[12] = l;
crypto/openssl/crypto/sha/sha256.c
404
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
405
T1 = X[13] = l;
crypto/openssl/crypto/sha/sha256.c
407
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
408
T1 = X[14] = l;
crypto/openssl/crypto/sha/sha256.c
410
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha256.c
411
T1 = X[15] = l;
crypto/openssl/crypto/sha/sha512.c
281
SHA_LONG64 l;
crypto/openssl/crypto/sha/sha512.c
288
l = (c->Nl + (((SHA_LONG64)len) << 3)) & U64(0xffffffffffffffff);
crypto/openssl/crypto/sha/sha512.c
289
if (l < c->Nl)
crypto/openssl/crypto/sha/sha512.c
293
c->Nl = l;
crypto/openssl/crypto/sha/sha_local.h
145
register unsigned MD32_REG_T A, B, C, D, E, T, l;
crypto/openssl/crypto/sha/sha_local.h
201
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
202
X(0) = l;
crypto/openssl/crypto/sha/sha_local.h
203
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
204
X(1) = l;
crypto/openssl/crypto/sha/sha_local.h
206
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
207
X(2) = l;
crypto/openssl/crypto/sha/sha_local.h
209
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
210
X(3) = l;
crypto/openssl/crypto/sha/sha_local.h
212
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
213
X(4) = l;
crypto/openssl/crypto/sha/sha_local.h
215
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
216
X(5) = l;
crypto/openssl/crypto/sha/sha_local.h
218
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
219
X(6) = l;
crypto/openssl/crypto/sha/sha_local.h
221
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
222
X(7) = l;
crypto/openssl/crypto/sha/sha_local.h
224
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
225
X(8) = l;
crypto/openssl/crypto/sha/sha_local.h
227
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
228
X(9) = l;
crypto/openssl/crypto/sha/sha_local.h
230
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
231
X(10) = l;
crypto/openssl/crypto/sha/sha_local.h
233
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
234
X(11) = l;
crypto/openssl/crypto/sha/sha_local.h
236
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
237
X(12) = l;
crypto/openssl/crypto/sha/sha_local.h
239
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
240
X(13) = l;
crypto/openssl/crypto/sha/sha_local.h
242
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
243
X(14) = l;
crypto/openssl/crypto/sha/sha_local.h
245
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
246
X(15) = l;
crypto/openssl/crypto/sha/sha_local.h
383
register unsigned MD32_REG_T A, B, C, D, E, T, l;
crypto/openssl/crypto/sha/sha_local.h
395
(void)HOST_c2l(data, l);
crypto/openssl/crypto/sha/sha_local.h
396
X[i] = l;
crypto/openssl/crypto/sparse_array.c
129
static void trampoline(ossl_uintmax_t n, void *l, void *arg)
crypto/openssl/crypto/sparse_array.c
131
((const struct trampoline_st *)arg)->func(n, l);
crypto/openssl/crypto/sparse_array.c
71
int l = 0;
crypto/openssl/crypto/sparse_array.c
75
while (l >= 0) {
crypto/openssl/crypto/sparse_array.c
76
const int n = i[l];
crypto/openssl/crypto/sparse_array.c
77
void **const p = nodes[l];
crypto/openssl/crypto/sparse_array.c
82
l--;
crypto/openssl/crypto/sparse_array.c
85
i[l] = n + 1;
crypto/openssl/crypto/sparse_array.c
88
if (l < sa->levels - 1) {
crypto/openssl/crypto/sparse_array.c
89
i[++l] = 0;
crypto/openssl/crypto/sparse_array.c
90
nodes[l] = p[n];
crypto/openssl/crypto/txt_db/txt_db.c
189
long i, j, n, nn, l, tot = 0;
crypto/openssl/crypto/txt_db/txt_db.c
201
l = 0;
crypto/openssl/crypto/txt_db/txt_db.c
204
l += strlen(pp[j]);
crypto/openssl/crypto/txt_db/txt_db.c
206
if (!BUF_MEM_grow_clean(buf, (int)(l * 2 + nn)))
crypto/openssl/crypto/x509/pcy_node.c
32
X509_POLICY_NODE l;
crypto/openssl/crypto/x509/pcy_node.c
36
l.data = &n;
crypto/openssl/crypto/x509/pcy_node.c
38
idx = sk_X509_POLICY_NODE_find(nodes, &l);
crypto/openssl/crypto/x509/t_acert.c
101
long l;
crypto/openssl/crypto/x509/t_acert.c
103
l = X509_ACERT_get_version(x);
crypto/openssl/crypto/x509/t_acert.c
104
if (l == X509_ACERT_VERSION_2) {
crypto/openssl/crypto/x509/t_acert.c
105
if (BIO_printf(bp, "%8sVersion: %ld (0x%lx)\n", "", l + 1,
crypto/openssl/crypto/x509/t_acert.c
106
(unsigned long)l)
crypto/openssl/crypto/x509/t_acert.c
110
if (BIO_printf(bp, "%8sVersion: Unknown (%ld)\n", "", l) <= 0)
crypto/openssl/crypto/x509/t_crl.c
46
long l;
crypto/openssl/crypto/x509/t_crl.c
50
l = X509_CRL_get_version(x);
crypto/openssl/crypto/x509/t_crl.c
51
if (l >= X509_CRL_VERSION_1 && l <= X509_CRL_VERSION_2)
crypto/openssl/crypto/x509/t_crl.c
52
BIO_printf(out, "%8sVersion %ld (0x%lx)\n", "", l + 1, (unsigned long)l);
crypto/openssl/crypto/x509/t_crl.c
54
BIO_printf(out, "%8sVersion unknown (%ld)\n", "", l);
crypto/openssl/crypto/x509/t_req.c
40
long l;
crypto/openssl/crypto/x509/t_req.c
62
l = X509_REQ_get_version(x);
crypto/openssl/crypto/x509/t_req.c
63
if (l == X509_REQ_VERSION_1) {
crypto/openssl/crypto/x509/t_req.c
64
if (BIO_printf(bp, "%8sVersion: %ld (0x%lx)\n", "", l + 1, (unsigned long)l) <= 0)
crypto/openssl/crypto/x509/t_req.c
67
if (BIO_printf(bp, "%8sVersion: Unknown (%ld)\n", "", l) <= 0)
crypto/openssl/crypto/x509/t_x509.c
513
int64_t l;
crypto/openssl/crypto/x509/t_x509.c
524
ok = ASN1_INTEGER_get_int64(&l, bs);
crypto/openssl/crypto/x509/t_x509.c
529
ul = 0 - (uint64_t)l;
crypto/openssl/crypto/x509/t_x509.c
532
ul = l;
crypto/openssl/crypto/x509/t_x509.c
56
long l;
crypto/openssl/crypto/x509/t_x509.c
77
l = X509_get_version(x);
crypto/openssl/crypto/x509/t_x509.c
78
if (l >= X509_VERSION_1 && l <= X509_VERSION_3) {
crypto/openssl/crypto/x509/t_x509.c
79
if (BIO_printf(bp, "%8sVersion: %ld (0x%lx)\n", "", l + 1, (unsigned long)l) <= 0)
crypto/openssl/crypto/x509/t_x509.c
82
if (BIO_printf(bp, "%8sVersion: Unknown (%ld)\n", "", l) <= 0)
crypto/openssl/crypto/x509/v3_purp.c
727
void X509_set_proxy_pathlen(X509 *x, long l)
crypto/openssl/crypto/x509/v3_purp.c
729
x->ex_pcpathlen = l;
crypto/openssl/crypto/x509/v3_utl.c
616
unsigned char l = *pattern;
crypto/openssl/crypto/x509/v3_utl.c
620
if (l == 0)
crypto/openssl/crypto/x509/v3_utl.c
622
if (l != r) {
crypto/openssl/crypto/x509/v3_utl.c
623
if ('A' <= l && l <= 'Z')
crypto/openssl/crypto/x509/v3_utl.c
624
l = (l - 'A') + 'a';
crypto/openssl/crypto/x509/v3_utl.c
627
if (l != r)
crypto/openssl/crypto/x509/x509_obj.c
113
lold = l;
crypto/openssl/crypto/x509/x509_obj.c
114
l += 1 + l1 + 1 + l2;
crypto/openssl/crypto/x509/x509_obj.c
115
if (l > NAME_ONELINE_MAX) {
crypto/openssl/crypto/x509/x509_obj.c
120
if (!BUF_MEM_grow(b, l + 1))
crypto/openssl/crypto/x509/x509_obj.c
123
} else if (l > len) {
crypto/openssl/crypto/x509/x509_obj.c
29
int n, lold, l, l1, l2, num, j, type;
crypto/openssl/crypto/x509/x509_obj.c
62
l = 0;
crypto/openssl/demos/http3/ossl-nghttp3-demo-server.c
346
size_t l = sizeof(msg2);
crypto/openssl/demos/http3/ossl-nghttp3-demo-server.c
351
ret = SSL_read(stream, msg2, l);
crypto/openssl/demos/http3/ossl-nghttp3-demo-server.c
674
size_t l = sizeof(msg);
crypto/openssl/demos/http3/ossl-nghttp3-demo-server.c
677
r = SSL_read(s, msg, l);
crypto/openssl/doc/designs/ddd/ddd-01-conn-blocking.c
144
int l, mlen, res = 1;
crypto/openssl/doc/designs/ddd/ddd-01-conn-blocking.c
167
l = tx(b, msg, mlen);
crypto/openssl/doc/designs/ddd/ddd-01-conn-blocking.c
168
if (l < mlen) {
crypto/openssl/doc/designs/ddd/ddd-01-conn-blocking.c
174
l = rx(b, buf, sizeof(buf));
crypto/openssl/doc/designs/ddd/ddd-01-conn-blocking.c
175
if (l <= 0)
crypto/openssl/doc/designs/ddd/ddd-01-conn-blocking.c
177
fwrite(buf, 1, l, stdout);
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
142
int l;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
146
l = BIO_write(conn->ssl_bio, buf, buf_len);
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
147
if (l <= 0) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
156
return l;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
167
int l;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
171
l = BIO_read(conn->ssl_bio, buf, buf_len);
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
172
if (l <= 0) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
181
return l;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
264
int res = 1, l, tx_len;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
292
l = tx(conn, tx_p, tx_len);
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
293
if (l > 0) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
294
tx_p += l;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
295
tx_len -= l;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
296
} else if (l == -1) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
298
} else if (l == -2) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
311
l = rx(conn, rx_buf, sizeof(rx_buf));
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
312
if (l > 0) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
313
fwrite(rx_buf, 1, l, stdout);
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
314
} else if (l == -1) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
316
} else if (l == -2) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
154
int l;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
158
l = BIO_write(conn->ssl_bio, buf, buf_len);
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
159
if (l <= 0) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
168
return l;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
179
int l;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
183
l = BIO_read(conn->ssl_bio, buf, buf_len);
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
184
if (l <= 0) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
193
return l;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
319
int res = 1, l, tx_len;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
355
l = tx(conn, tx_p, tx_len);
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
356
if (l > 0) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
357
tx_p += l;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
358
tx_len -= l;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
359
} else if (l == -1) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
361
} else if (l == -2) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
400
l = rx(conn, rx_buf, sizeof(rx_buf));
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
401
if (l > 0) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
402
fwrite(rx_buf, 1, l, stdout);
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
403
} else if (l == -1) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
405
} else if (l == -2) {
crypto/openssl/doc/designs/ddd/ddd-03-fd-blocking.c
139
int rc, fd = -1, l, mlen, res = 1;
crypto/openssl/doc/designs/ddd/ddd-03-fd-blocking.c
193
l = tx(ssl, msg, mlen);
crypto/openssl/doc/designs/ddd/ddd-03-fd-blocking.c
194
if (l < mlen) {
crypto/openssl/doc/designs/ddd/ddd-03-fd-blocking.c
200
l = rx(ssl, buf, sizeof(buf));
crypto/openssl/doc/designs/ddd/ddd-03-fd-blocking.c
201
if (l <= 0)
crypto/openssl/doc/designs/ddd/ddd-03-fd-blocking.c
203
fwrite(buf, 1, l, stdout);
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
116
int rc, l;
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
120
l = SSL_write(conn->ssl, buf, buf_len);
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
121
if (l <= 0) {
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
122
rc = SSL_get_error(conn->ssl, l);
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
134
return l;
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
145
int rc, l;
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
149
l = SSL_read(conn->ssl, buf, buf_len);
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
150
if (l <= 0) {
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
151
rc = SSL_get_error(conn->ssl, l);
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
162
return l;
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
300
int l, tx_len;
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
369
l = tx(conn, tx_p, tx_len);
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
370
if (l > 0) {
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
371
tx_p += l;
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
372
tx_len -= l;
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
373
} else if (l == -1) {
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
376
} else if (l == -2) {
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
415
l = rx(conn, rx_buf, sizeof(rx_buf));
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
416
if (l > 0) {
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
417
fwrite(rx_buf, 1, l, stdout);
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
418
} else if (l == -1) {
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
420
} else if (l == -2) {
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
141
int rc, l;
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
143
l = BIO_write(conn->ssl_bio, buf, buf_len);
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
144
if (l <= 0) {
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
145
rc = SSL_get_error(conn->ssl, l);
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
159
return l;
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
170
int rc, l;
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
172
l = BIO_read(conn->ssl_bio, buf, buf_len);
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
173
if (l <= 0) {
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
174
rc = SSL_get_error(conn->ssl, l);
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
187
return l;
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
299
int l, l2;
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
319
l = read(fd, buf, wspace > sizeof(buf) ? sizeof(buf) : wspace);
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
320
if (l <= 0) {
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
325
if (l == 0) /* EOF */
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
333
l2 = write_net_rx(conn, buf, l);
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
334
if (l2 < l)
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
335
fprintf(stderr, "short write %d %d\n", l2, l);
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
342
l = read_net_tx(conn, buf, sizeof(buf));
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
343
if (l <= 0)
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
345
l2 = write(fd, buf, l);
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
346
if (l2 < l)
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
347
fprintf(stderr, "short read %d %d\n", l2, l);
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
360
int l, tx_len;
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
422
l = tx(conn, tx_p, tx_len);
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
423
if (l > 0) {
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
424
tx_p += l;
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
425
tx_len -= l;
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
426
} else if (l == -1) {
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
428
} else if (l == -2) {
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
438
l = rx(conn, rx_buf, sizeof(rx_buf));
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
439
if (l > 0) {
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
440
fwrite(rx_buf, 1, l, stdout);
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
441
} else if (l == -1) {
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
443
} else if (l == -2) {
crypto/openssl/engines/e_ossltest.c
794
unsigned int l;
crypto/openssl/engines/e_ossltest.c
816
for (l = len - plen - 1; plen < len; plen++)
crypto/openssl/engines/e_ossltest.c
817
out[plen] = l;
crypto/openssl/include/crypto/md32_common.h
125
#define HOST_c2l(c, l) (l = (((unsigned long)(*((c)++))) << 24), \
crypto/openssl/include/crypto/md32_common.h
126
l |= (((unsigned long)(*((c)++))) << 16), \
crypto/openssl/include/crypto/md32_common.h
127
l |= (((unsigned long)(*((c)++))) << 8), \
crypto/openssl/include/crypto/md32_common.h
128
l |= (((unsigned long)(*((c)++)))))
crypto/openssl/include/crypto/md32_common.h
129
#define HOST_l2c(l, c) (*((c)++) = (unsigned char)(((l) >> 24) & 0xff), \
crypto/openssl/include/crypto/md32_common.h
130
*((c)++) = (unsigned char)(((l) >> 16) & 0xff), \
crypto/openssl/include/crypto/md32_common.h
131
*((c)++) = (unsigned char)(((l) >> 8) & 0xff), \
crypto/openssl/include/crypto/md32_common.h
132
*((c)++) = (unsigned char)(((l)) & 0xff), \
crypto/openssl/include/crypto/md32_common.h
133
l)
crypto/openssl/include/crypto/md32_common.h
137
#define HOST_c2l(c, l) (l = (((unsigned long)(*((c)++)))), \
crypto/openssl/include/crypto/md32_common.h
138
l |= (((unsigned long)(*((c)++))) << 8), \
crypto/openssl/include/crypto/md32_common.h
139
l |= (((unsigned long)(*((c)++))) << 16), \
crypto/openssl/include/crypto/md32_common.h
140
l |= (((unsigned long)(*((c)++))) << 24))
crypto/openssl/include/crypto/md32_common.h
141
#define HOST_l2c(l, c) (*((c)++) = (unsigned char)(((l)) & 0xff), \
crypto/openssl/include/crypto/md32_common.h
142
*((c)++) = (unsigned char)(((l) >> 8) & 0xff), \
crypto/openssl/include/crypto/md32_common.h
143
*((c)++) = (unsigned char)(((l) >> 16) & 0xff), \
crypto/openssl/include/crypto/md32_common.h
144
*((c)++) = (unsigned char)(((l) >> 24) & 0xff), \
crypto/openssl/include/crypto/md32_common.h
145
l)
crypto/openssl/include/crypto/md32_common.h
157
HASH_LONG l;
crypto/openssl/include/crypto/md32_common.h
163
l = (c->Nl + (((HASH_LONG)len) << 3)) & 0xffffffffUL;
crypto/openssl/include/crypto/md32_common.h
164
if (l < c->Nl) /* overflow */
crypto/openssl/include/crypto/md32_common.h
168
c->Nl = l;
crypto/openssl/include/crypto/ml_dsa.h
62
size_t k, l; /* matrix dimensions of 'A' */
crypto/openssl/include/crypto/modes.h
197
OCB_BLOCK *l;
crypto/openssl/include/internal/common.h
104
#define c2l(c, l) (l = ((unsigned long)(*((c)++))), \
crypto/openssl/include/internal/common.h
105
l |= (((unsigned long)(*((c)++))) << 8), \
crypto/openssl/include/internal/common.h
106
l |= (((unsigned long)(*((c)++))) << 16), \
crypto/openssl/include/internal/common.h
107
l |= (((unsigned long)(*((c)++))) << 24))
crypto/openssl/include/internal/common.h
134
#define l2c(l, c) (*((c)++) = (unsigned char)(((l)) & 0xff), \
crypto/openssl/include/internal/common.h
135
*((c)++) = (unsigned char)(((l) >> 8) & 0xff), \
crypto/openssl/include/internal/common.h
136
*((c)++) = (unsigned char)(((l) >> 16) & 0xff), \
crypto/openssl/include/internal/common.h
137
*((c)++) = (unsigned char)(((l) >> 24) & 0xff))
crypto/openssl/include/internal/common.h
139
#define n2l(c, l) (l = ((unsigned long)(*((c)++))) << 24, \
crypto/openssl/include/internal/common.h
140
l |= ((unsigned long)(*((c)++))) << 16, \
crypto/openssl/include/internal/common.h
141
l |= ((unsigned long)(*((c)++))) << 8, \
crypto/openssl/include/internal/common.h
142
l |= ((unsigned long)(*((c)++))))
crypto/openssl/include/internal/common.h
144
#define n2l8(c, l) (l = ((uint64_t)(*((c)++))) << 56, \
crypto/openssl/include/internal/common.h
145
l |= ((uint64_t)(*((c)++))) << 48, \
crypto/openssl/include/internal/common.h
146
l |= ((uint64_t)(*((c)++))) << 40, \
crypto/openssl/include/internal/common.h
147
l |= ((uint64_t)(*((c)++))) << 32, \
crypto/openssl/include/internal/common.h
148
l |= ((uint64_t)(*((c)++))) << 24, \
crypto/openssl/include/internal/common.h
149
l |= ((uint64_t)(*((c)++))) << 16, \
crypto/openssl/include/internal/common.h
150
l |= ((uint64_t)(*((c)++))) << 8, \
crypto/openssl/include/internal/common.h
151
l |= ((uint64_t)(*((c)++))))
crypto/openssl/include/internal/common.h
153
#define l2n(l, c) (*((c)++) = (unsigned char)(((l) >> 24) & 0xff), \
crypto/openssl/include/internal/common.h
154
*((c)++) = (unsigned char)(((l) >> 16) & 0xff), \
crypto/openssl/include/internal/common.h
155
*((c)++) = (unsigned char)(((l) >> 8) & 0xff), \
crypto/openssl/include/internal/common.h
156
*((c)++) = (unsigned char)(((l)) & 0xff))
crypto/openssl/include/internal/common.h
158
#define l2n8(l, c) (*((c)++) = (unsigned char)(((l) >> 56) & 0xff), \
crypto/openssl/include/internal/common.h
159
*((c)++) = (unsigned char)(((l) >> 48) & 0xff), \
crypto/openssl/include/internal/common.h
160
*((c)++) = (unsigned char)(((l) >> 40) & 0xff), \
crypto/openssl/include/internal/common.h
161
*((c)++) = (unsigned char)(((l) >> 32) & 0xff), \
crypto/openssl/include/internal/common.h
162
*((c)++) = (unsigned char)(((l) >> 24) & 0xff), \
crypto/openssl/include/internal/common.h
163
*((c)++) = (unsigned char)(((l) >> 16) & 0xff), \
crypto/openssl/include/internal/common.h
164
*((c)++) = (unsigned char)(((l) >> 8) & 0xff), \
crypto/openssl/include/internal/common.h
165
*((c)++) = (unsigned char)(((l)) & 0xff))
crypto/openssl/include/internal/common.h
196
#define n2l3(c, l) ((l = (((unsigned long)((c)[0])) << 16) | (((unsigned long)((c)[1])) << 8) | (((unsigned long)((c)[2])))), (c) += 3)
crypto/openssl/include/internal/common.h
198
#define l2n3(l, c) (((c)[0] = (unsigned char)(((l) >> 16) & 0xff), \
crypto/openssl/include/internal/common.h
199
(c)[1] = (unsigned char)(((l) >> 8) & 0xff), \
crypto/openssl/include/internal/common.h
200
(c)[2] = (unsigned char)(((l)) & 0xff)), \
crypto/openssl/include/internal/list.h
27
#define OSSL_LIST_FOREACH(p, name, l) \
crypto/openssl/include/internal/list.h
28
OSSL_LIST_FOREACH_FROM(p, name, ossl_list_##name##_head(l))
crypto/openssl/include/internal/list.h
34
#define OSSL_LIST_FOREACH_REV(p, name, l) \
crypto/openssl/include/internal/list.h
35
OSSL_LIST_FOREACH_FROM(p, name, ossl_list_##name##_tail(l))
crypto/openssl/include/internal/list.h
41
#define OSSL_LIST_FOREACH_DELSAFE(p, pn, name, l) \
crypto/openssl/include/internal/list.h
42
OSSL_LIST_FOREACH_DELSAFE_FROM(p, pn, name, ossl_list_##name##_head(l))
crypto/openssl/include/internal/list.h
48
#define OSSL_LIST_FOREACH_REV_DELSAFE(p, pn, name, l) \
crypto/openssl/include/internal/list.h
49
OSSL_LIST_FOREACH_REV_DELSAFE_FROM(p, pn, name, ossl_list_##name##_tail(l))
crypto/openssl/include/internal/quic_demux.h
162
void ossl_quic_urxe_remove(QUIC_URXE_LIST *l, QUIC_URXE *e);
crypto/openssl/include/internal/quic_demux.h
163
void ossl_quic_urxe_insert_head(QUIC_URXE_LIST *l, QUIC_URXE *e);
crypto/openssl/include/internal/quic_demux.h
164
void ossl_quic_urxe_insert_tail(QUIC_URXE_LIST *l, QUIC_URXE *e);
crypto/openssl/include/internal/ring_buf.h
100
if (r->head_offset < logical_offset + l)
crypto/openssl/include/internal/ring_buf.h
101
r->head_offset = logical_offset + l;
crypto/openssl/include/internal/ring_buf.h
103
logical_offset += l;
crypto/openssl/include/internal/ring_buf.h
104
buf += l;
crypto/openssl/include/internal/ring_buf.h
105
buf_len -= l;
crypto/openssl/include/internal/ring_buf.h
117
size_t pushed = 0, avail, idx, l;
crypto/openssl/include/internal/ring_buf.h
132
l = r->alloc - idx;
crypto/openssl/include/internal/ring_buf.h
133
if (buf_len < l)
crypto/openssl/include/internal/ring_buf.h
134
l = buf_len;
crypto/openssl/include/internal/ring_buf.h
136
memcpy(start + idx, buf, l);
crypto/openssl/include/internal/ring_buf.h
137
r->head_offset += l;
crypto/openssl/include/internal/ring_buf.h
138
buf += l;
crypto/openssl/include/internal/ring_buf.h
139
buf_len -= l;
crypto/openssl/include/internal/ring_buf.h
140
pushed += l;
crypto/openssl/include/internal/ring_buf.h
178
size_t idx, l;
crypto/openssl/include/internal/ring_buf.h
190
l = (size_t)(r->head_offset - logical_offset);
crypto/openssl/include/internal/ring_buf.h
191
if (l > r->alloc - idx)
crypto/openssl/include/internal/ring_buf.h
192
l = r->alloc - idx;
crypto/openssl/include/internal/ring_buf.h
195
*buf_len = l;
crypto/openssl/include/internal/ring_buf.h
211
size_t l;
crypto/openssl/include/internal/ring_buf.h
215
l = (size_t)(cleanse_end - r->ctail_offset);
crypto/openssl/include/internal/ring_buf.h
216
if (l > r->alloc - idx) {
crypto/openssl/include/internal/ring_buf.h
218
l -= r->alloc - idx;
crypto/openssl/include/internal/ring_buf.h
221
if (l > 0)
crypto/openssl/include/internal/ring_buf.h
222
OPENSSL_cleanse((unsigned char *)r->start + idx, l);
crypto/openssl/include/internal/ring_buf.h
80
size_t avail, idx, l;
crypto/openssl/include/internal/ring_buf.h
95
l = r->alloc - idx;
crypto/openssl/include/internal/ring_buf.h
96
if (buf_len < l)
crypto/openssl/include/internal/ring_buf.h
97
l = buf_len;
crypto/openssl/include/internal/ring_buf.h
99
memcpy(start + idx, buf, l);
crypto/openssl/include/internal/sockets.h
62
#define accept(s, f, l) ((int)accept(s, f, l))
crypto/openssl/include/openssl/bio.h
648
#define BIO_buffer_peek(b, s, l) BIO_ctrl(b, BIO_CTRL_PEEK, (l), (s))
crypto/openssl/include/openssl/bio.h
708
#define BIO_get_ex_new_index(l, p, newf, dupf, freef) \
crypto/openssl/include/openssl/bio.h
709
CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_BIO, l, p, newf, dupf, freef)
crypto/openssl/include/openssl/bio.h
850
int BIO_ADDR_rawaddress(const BIO_ADDR *ap, void *p, size_t *l);
crypto/openssl/include/openssl/bn.h
235
int BN_num_bits_word(BN_ULONG l);
crypto/openssl/include/openssl/crypto.h
442
#define OpenSSLDie(f, l, a) OPENSSL_die((a), (f), (l))
crypto/openssl/include/openssl/des.h
64
#define DES_ede2_cbc_encrypt(i, o, l, k1, k2, iv, e) \
crypto/openssl/include/openssl/des.h
65
DES_ede3_cbc_encrypt((i), (o), (l), (k1), (k2), (k1), (iv), (e))
crypto/openssl/include/openssl/des.h
67
#define DES_ede2_cfb64_encrypt(i, o, l, k1, k2, iv, n, e) \
crypto/openssl/include/openssl/des.h
68
DES_ede3_cfb64_encrypt((i), (o), (l), (k1), (k2), (k1), (iv), (n), (e))
crypto/openssl/include/openssl/des.h
70
#define DES_ede2_ofb64_encrypt(i, o, l, k1, k2, iv, n) \
crypto/openssl/include/openssl/des.h
71
DES_ede3_ofb64_encrypt((i), (o), (l), (k1), (k2), (k1), (iv), (n))
crypto/openssl/include/openssl/dh.h
217
#define DH_get_ex_new_index(l, p, newf, dupf, freef) \
crypto/openssl/include/openssl/dh.h
218
CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_DH, l, p, newf, dupf, freef)
crypto/openssl/include/openssl/dsa.h
147
#define DSA_get_ex_new_index(l, p, newf, dupf, freef) \
crypto/openssl/include/openssl/dsa.h
148
CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_DSA, l, p, newf, dupf, freef)
crypto/openssl/include/openssl/ec.h
1090
#define EC_KEY_get_ex_new_index(l, p, newf, dupf, freef) \
crypto/openssl/include/openssl/ec.h
1091
CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_EC_KEY, l, p, newf, dupf, freef)
crypto/openssl/include/openssl/engine.h
530
#define ENGINE_get_ex_new_index(l, p, newf, dupf, freef) \
crypto/openssl/include/openssl/engine.h
531
CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_ENGINE, l, p, newf, dupf, freef)
crypto/openssl/include/openssl/err.h
41
#define ERR_PUT_error(l, f, r, fn, ln) ERR_put_error(l, f, r, fn, ln)
crypto/openssl/include/openssl/err.h
43
#define ERR_PUT_error(l, f, r, fn, ln) ERR_put_error(l, f, r, NULL, 0)
crypto/openssl/include/openssl/evp.h
2097
#define EVP_PKEY_get_ex_new_index(l, p, newf, dupf, freef) \
crypto/openssl/include/openssl/evp.h
2098
CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_EVP_PKEY, l, p, newf, dupf, freef)
crypto/openssl/include/openssl/evp.h
669
#define EVP_ENCODE_LENGTH(l) ((((l) + 2) / 3 * 4) + ((l) / 48 + 1) * 2 + 80)
crypto/openssl/include/openssl/evp.h
670
#define EVP_DECODE_LENGTH(l) (((l) + 3) / 4 * 3 + 80)
crypto/openssl/include/openssl/rsa.h
453
#define RSA_get_ex_new_index(l, p, newf, dupf, freef) \
crypto/openssl/include/openssl/rsa.h
454
CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_RSA, l, p, newf, dupf, freef)
crypto/openssl/include/openssl/ssl.h
2216
#define SSL_get_ex_new_index(l, p, newf, dupf, freef) \
crypto/openssl/include/openssl/ssl.h
2217
CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_SSL, l, p, newf, dupf, freef)
crypto/openssl/include/openssl/ssl.h
2220
#define SSL_SESSION_get_ex_new_index(l, p, newf, dupf, freef) \
crypto/openssl/include/openssl/ssl.h
2221
CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_SSL_SESSION, l, p, newf, dupf, freef)
crypto/openssl/include/openssl/ssl.h
2224
#define SSL_CTX_get_ex_new_index(l, p, newf, dupf, freef) \
crypto/openssl/include/openssl/ssl.h
2225
CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_SSL_CTX, l, p, newf, dupf, freef)
crypto/openssl/include/openssl/ui.h
222
#define UI_get_ex_new_index(l, p, newf, dupf, freef) \
crypto/openssl/include/openssl/ui.h
223
CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_UI, l, p, newf, dupf, freef)
crypto/openssl/include/openssl/x509.h
767
#define X509_get_ex_new_index(l, p, newf, dupf, freef) \
crypto/openssl/include/openssl/x509.h
768
CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_X509, l, p, newf, dupf, freef)
crypto/openssl/include/openssl/x509_vfy.h
564
#define X509_STORE_get_ex_new_index(l, p, newf, dupf, freef) \
crypto/openssl/include/openssl/x509_vfy.h
565
CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_X509_STORE, l, p, newf, dupf, freef)
crypto/openssl/include/openssl/x509_vfy.h
758
#define X509_STORE_CTX_get_ex_new_index(l, p, newf, dupf, freef) \
crypto/openssl/include/openssl/x509_vfy.h
759
CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_X509_STORE_CTX, l, p, newf, dupf, freef)
crypto/openssl/include/openssl/x509v3.h
1017
void X509_set_proxy_pathlen(X509 *x, long l);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
378
unsigned int l;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
428
for (l = len - plen - 1; plen < len; plen++)
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
429
out[plen] = l;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
401
unsigned int l;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
466
for (l = len - plen - 1; plen < len; plen++)
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
467
out[plen] = l;
crypto/openssl/providers/implementations/ciphers/cipher_aes_ccm_hw.c
22
CRYPTO_ccm128_init(&ctx->ccm_ctx, ctx->m, ctx->l, &actx->ccm.ks.ks, \
crypto/openssl/providers/implementations/ciphers/cipher_aria_ccm_hw.c
22
CRYPTO_ccm128_init(&ctx->ccm_ctx, ctx->m, ctx->l, &actx->ks.ks,
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
131
l = (ctx->md.Nl + (blocks << 3)) & 0xffffffffU;
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
132
if (l < ctx->md.Nl)
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
134
ctx->md.Nl = l;
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
59
unsigned int l;
crypto/openssl/providers/implementations/ciphers/cipher_sm4_ccm_hw.c
19
CRYPTO_ccm128_init(&ctx->ccm_ctx, ctx->m, ctx->l, &actx->ks.ks, \
crypto/openssl/providers/implementations/ciphers/ciphercommon_ccm.c
112
if (ctx->l != ivlen) {
crypto/openssl/providers/implementations/ciphers/ciphercommon_ccm.c
113
ctx->l = ivlen;
crypto/openssl/providers/implementations/ciphers/ciphercommon_ccm.c
452
ctx->l = 8;
crypto/openssl/providers/implementations/ciphers/ciphercommon_ccm.c
65
return 15 - ctx->l;
crypto/openssl/providers/implementations/include/prov/ciphercommon_ccm.h
40
size_t l, m; /* L and M parameters from RFC3610 */
crypto/openssl/providers/implementations/kdfs/argon2.c
346
uint32_t l;
crypto/openssl/providers/implementations/kdfs/argon2.c
353
for (l = 0; l < ctx->lanes; ++l) {
crypto/openssl/providers/implementations/kdfs/argon2.c
355
store32(blockhash + ARGON2_PREHASH_DIGEST_LENGTH + 4, l);
crypto/openssl/providers/implementations/kdfs/argon2.c
358
load_block(&ctx->memory[l * ctx->lane_length + 0],
crypto/openssl/providers/implementations/kdfs/argon2.c
363
load_block(&ctx->memory[l * ctx->lane_length + 1],
crypto/openssl/providers/implementations/kdfs/argon2.c
558
uint32_t r, s, l, ll;
crypto/openssl/providers/implementations/kdfs/argon2.c
570
for (l = 0; l < ctx->lanes; ++l) {
crypto/openssl/providers/implementations/kdfs/argon2.c
572
if (l >= ctx->threads) {
crypto/openssl/providers/implementations/kdfs/argon2.c
573
if (ossl_crypto_thread_join(t[l - ctx->threads], NULL) == 0)
crypto/openssl/providers/implementations/kdfs/argon2.c
575
if (ossl_crypto_thread_clean(t[l - ctx->threads]) == 0)
crypto/openssl/providers/implementations/kdfs/argon2.c
577
t[l] = NULL;
crypto/openssl/providers/implementations/kdfs/argon2.c
581
p.lane = l;
crypto/openssl/providers/implementations/kdfs/argon2.c
585
t_data[l].ctx = ctx;
crypto/openssl/providers/implementations/kdfs/argon2.c
586
memcpy(&(t_data[l].pos), &p, sizeof(ARGON2_POS));
crypto/openssl/providers/implementations/kdfs/argon2.c
587
t[l] = ossl_crypto_thread_start(ctx->libctx, &fill_segment_thr,
crypto/openssl/providers/implementations/kdfs/argon2.c
588
(void *)&t_data[l]);
crypto/openssl/providers/implementations/kdfs/argon2.c
589
if (t[l] == NULL) {
crypto/openssl/providers/implementations/kdfs/argon2.c
590
for (ll = 0; ll < l; ++ll) {
crypto/openssl/providers/implementations/kdfs/argon2.c
600
for (l = ctx->lanes - ctx->threads; l < ctx->lanes; ++l) {
crypto/openssl/providers/implementations/kdfs/argon2.c
601
if (ossl_crypto_thread_join(t[l], NULL) == 0)
crypto/openssl/providers/implementations/kdfs/argon2.c
603
if (ossl_crypto_thread_clean(t[l]) == 0)
crypto/openssl/providers/implementations/kdfs/argon2.c
605
t[l] = NULL;
crypto/openssl/providers/implementations/kdfs/argon2.c
627
uint32_t r, s, l;
crypto/openssl/providers/implementations/kdfs/argon2.c
631
for (l = 0; l < ctx->lanes; ++l)
crypto/openssl/providers/implementations/kdfs/argon2.c
632
fill_segment(ctx, r, l, s);
crypto/openssl/providers/implementations/kdfs/argon2.c
755
uint32_t l;
crypto/openssl/providers/implementations/kdfs/argon2.c
763
for (l = 1; l < ctx->lanes; ++l) {
crypto/openssl/providers/implementations/kdfs/argon2.c
764
last_block_in_lane = l * ctx->lane_length + (ctx->lane_length - 1);
crypto/openssl/providers/implementations/kdfs/kbkdf.c
210
unsigned char *k_i, size_t h, uint32_t l, int has_separator,
crypto/openssl/providers/implementations/kdfs/kbkdf.c
228
int has_l = (l != 0);
crypto/openssl/providers/implementations/kdfs/kbkdf.c
249
|| (has_l && !EVP_MAC_update(ctx, (unsigned char *)&l, 4))
crypto/openssl/providers/implementations/kdfs/kbkdf.c
299
uint32_t l = 0;
crypto/openssl/providers/implementations/kdfs/kbkdf.c
350
l = be32(keylen * 8);
crypto/openssl/providers/implementations/kdfs/kbkdf.c
357
ctx->label_len, ctx->context, ctx->context_len, k_i, h, l,
crypto/openssl/providers/implementations/kdfs/krb5kdf.c
289
int b, l;
crypto/openssl/providers/implementations/kdfs/krb5kdf.c
313
for (l = lcm - 1; l >= 0; l--) {
crypto/openssl/providers/implementations/kdfs/krb5kdf.c
317
b = l % blocksize;
crypto/openssl/providers/implementations/kdfs/krb5kdf.c
320
rotbits = 13 * (l / constant_len);
crypto/openssl/providers/implementations/kdfs/krb5kdf.c
322
rbyte = l - (rotbits / 8);
crypto/openssl/ssl/quic/qlog.c
112
size_t i, l, strl;
crypto/openssl/ssl/quic/qlog.c
117
l = strlen(qlogdir);
crypto/openssl/ssl/quic/qlog.c
118
if (l == 0)
crypto/openssl/ssl/quic/qlog.c
124
strl = l + 1 + info->odcid.id_len * 2 + 1 + 6 + 6 + 1;
crypto/openssl/ssl/quic/qlog.c
129
memcpy(filename, qlogdir, l);
crypto/openssl/ssl/quic/qlog.c
131
filename[l++] = qlogdir_sep;
crypto/openssl/ssl/quic/qlog.c
134
l += BIO_snprintf(filename + l, strl - l, "%02x", info->odcid.id[i]);
crypto/openssl/ssl/quic/qlog.c
136
l += BIO_snprintf(filename + l, strl - l, "_%s.sqlog",
crypto/openssl/ssl/quic/qlog.c
663
static int validate_name(const char **p, size_t *l)
crypto/openssl/ssl/quic/qlog.c
666
size_t i, l_ = *l;
crypto/openssl/ssl/quic/qlog.c
670
*l = 0;
crypto/openssl/ssl/quic/quic_cfq.c
101
if (l->head == n)
crypto/openssl/ssl/quic/quic_cfq.c
102
l->head = n->next;
crypto/openssl/ssl/quic/quic_cfq.c
103
if (l->tail == n)
crypto/openssl/ssl/quic/quic_cfq.c
104
l->tail = n->prev;
crypto/openssl/ssl/quic/quic_cfq.c
112
static void list_insert_head(QUIC_CFQ_ITEM_LIST *l, QUIC_CFQ_ITEM_EX *n)
crypto/openssl/ssl/quic/quic_cfq.c
114
n->next = l->head;
crypto/openssl/ssl/quic/quic_cfq.c
116
l->head = n;
crypto/openssl/ssl/quic/quic_cfq.c
119
if (l->tail == NULL)
crypto/openssl/ssl/quic/quic_cfq.c
120
l->tail = n;
crypto/openssl/ssl/quic/quic_cfq.c
123
static void list_insert_tail(QUIC_CFQ_ITEM_LIST *l, QUIC_CFQ_ITEM_EX *n)
crypto/openssl/ssl/quic/quic_cfq.c
125
n->prev = l->tail;
crypto/openssl/ssl/quic/quic_cfq.c
127
l->tail = n;
crypto/openssl/ssl/quic/quic_cfq.c
130
if (l->head == NULL)
crypto/openssl/ssl/quic/quic_cfq.c
131
l->head = n;
crypto/openssl/ssl/quic/quic_cfq.c
134
static void list_insert_after(QUIC_CFQ_ITEM_LIST *l,
crypto/openssl/ssl/quic/quic_cfq.c
143
if (l->tail == ref)
crypto/openssl/ssl/quic/quic_cfq.c
144
l->tail = n;
crypto/openssl/ssl/quic/quic_cfq.c
147
static void list_insert_sorted(QUIC_CFQ_ITEM_LIST *l, QUIC_CFQ_ITEM_EX *n,
crypto/openssl/ssl/quic/quic_cfq.c
151
QUIC_CFQ_ITEM_EX *p = l->head, *pprev = NULL;
crypto/openssl/ssl/quic/quic_cfq.c
154
l->head = l->tail = n;
crypto/openssl/ssl/quic/quic_cfq.c
163
list_insert_tail(l, n);
crypto/openssl/ssl/quic/quic_cfq.c
165
list_insert_head(l, n);
crypto/openssl/ssl/quic/quic_cfq.c
167
list_insert_after(l, pprev, n);
crypto/openssl/ssl/quic/quic_cfq.c
193
static void free_list_items(QUIC_CFQ_ITEM_LIST *l)
crypto/openssl/ssl/quic/quic_cfq.c
197
for (p = l->head; p != NULL; p = pnext) {
crypto/openssl/ssl/quic/quic_cfq.c
99
static void list_remove(QUIC_CFQ_ITEM_LIST *l, QUIC_CFQ_ITEM_EX *n)
crypto/openssl/ssl/quic/quic_channel.c
2189
uint64_t limit = UINT64_MAX, l;
crypto/openssl/ssl/quic/quic_channel.c
2204
l = ossl_qrx_get_max_forged_pkt_count(ch->qrx, enc_level);
crypto/openssl/ssl/quic/quic_channel.c
2205
if (l < limit)
crypto/openssl/ssl/quic/quic_channel.c
2206
limit = l;
crypto/openssl/ssl/quic/quic_channel.c
3104
size_t l = src->reason_len;
crypto/openssl/ssl/quic/quic_channel.c
3107
if (l >= SIZE_MAX)
crypto/openssl/ssl/quic/quic_channel.c
3108
--l;
crypto/openssl/ssl/quic/quic_channel.c
3114
dst->reason = r = OPENSSL_memdup(src->reason, l + 1);
crypto/openssl/ssl/quic/quic_channel.c
3118
r[l] = '\0';
crypto/openssl/ssl/quic/quic_channel.c
3119
dst->reason_len = l;
crypto/openssl/ssl/quic/quic_channel.c
3236
size_t l;
crypto/openssl/ssl/quic/quic_channel.c
3252
if (!WPACKET_get_total_written(&wpkt, &l))
crypto/openssl/ssl/quic/quic_channel.c
3257
(unsigned char *)buf_mem->data, l,
crypto/openssl/ssl/quic/quic_channel.c
570
size_t l = 0;
crypto/openssl/ssl/quic/quic_channel.c
587
if (!WPACKET_get_total_written(&wpkt, &l))
crypto/openssl/ssl/quic/quic_channel.c
593
(unsigned char *)buf_mem->data, l,
crypto/openssl/ssl/quic/quic_demux.c
101
for (e = ossl_list_urxe_head(l); e != NULL; e = enext) {
crypto/openssl/ssl/quic/quic_demux.c
103
ossl_list_urxe_remove(l, e);
crypto/openssl/ssl/quic/quic_demux.c
97
static void demux_free_urxl(QUIC_URXE_LIST *l)
crypto/openssl/ssl/quic/quic_record_rx.c
218
static void qrx_cleanup_rxl(RXE_LIST *l)
crypto/openssl/ssl/quic/quic_record_rx.c
222
for (e = ossl_list_rxe_head(l); e != NULL; e = enext) {
crypto/openssl/ssl/quic/quic_record_rx.c
224
ossl_list_rxe_remove(l, e);
crypto/openssl/ssl/quic/quic_record_rx.c
229
static void qrx_cleanup_urxl(OSSL_QRX *qrx, QUIC_URXE_LIST *l)
crypto/openssl/ssl/quic/quic_record_rx.c
233
for (e = ossl_list_urxe_head(l); e != NULL; e = enext) {
crypto/openssl/ssl/quic/quic_record_rx.c
235
ossl_list_urxe_remove(l, e);
crypto/openssl/ssl/quic/quic_record_rx.c
895
int l = 0, l2 = 0, is_old_key, nonce_len;
crypto/openssl/ssl/quic/quic_record_rx.c
962
if (EVP_CipherUpdate(cctx, NULL, &l, aad, aad_len) != 1)
crypto/openssl/ssl/quic/quic_record_rx.c
966
if (EVP_CipherUpdate(cctx, dst, &l, src, src_len - el->tag_len) != 1)
crypto/openssl/ssl/quic/quic_record_rx.c
974
memcpy(dst, src, l);
crypto/openssl/ssl/quic/quic_record_rx.c
989
*dec_len = l;
crypto/openssl/ssl/quic/quic_record_tx.c
134
static void qtx_cleanup_txl(TXE_LIST *l)
crypto/openssl/ssl/quic/quic_record_tx.c
138
for (e = ossl_list_txe_head(l); e != NULL; e = enext) {
crypto/openssl/ssl/quic/quic_record_tx.c
343
size_t i, l = 0;
crypto/openssl/ssl/quic/quic_record_tx.c
346
l += iovec[i].buf_len;
crypto/openssl/ssl/quic/quic_record_tx.c
348
return l;
crypto/openssl/ssl/quic/quic_record_tx.c
372
size_t l;
crypto/openssl/ssl/quic/quic_record_tx.c
383
l = cur->iovec[cur->idx].buf_len - cur->byte_off;
crypto/openssl/ssl/quic/quic_record_tx.c
384
if (l > max_buf_len)
crypto/openssl/ssl/quic/quic_record_tx.c
385
l = max_buf_len;
crypto/openssl/ssl/quic/quic_record_tx.c
387
if (l > 0) {
crypto/openssl/ssl/quic/quic_record_tx.c
389
cur->byte_off += l;
crypto/openssl/ssl/quic/quic_record_tx.c
390
cur->bytes_remaining -= l;
crypto/openssl/ssl/quic/quic_record_tx.c
391
return l;
crypto/openssl/ssl/quic/quic_record_tx.c
465
size_t l = 0;
crypto/openssl/ssl/quic/quic_record_tx.c
473
|| !WPACKET_get_total_written(&wpkt, &l)) {
crypto/openssl/ssl/quic/quic_record_tx.c
480
qtx->msg_callback(1, OSSL_QUIC1_VERSION, SSL3_RT_QUIC_PACKET, data, l,
crypto/openssl/ssl/quic/quic_record_tx.c
483
txe->data_len += l;
crypto/openssl/ssl/quic/quic_record_tx.c
493
int l = 0, l2 = 0, nonce_len;
crypto/openssl/ssl/quic/quic_record_tx.c
544
if (EVP_CipherUpdate(cctx, NULL, &l, hdr, hdr_len) != 1) {
crypto/openssl/ssl/quic/quic_record_tx.c
559
&l, src, src_len)
crypto/openssl/ssl/quic/quic_record_tx.c
567
memcpy(txe_data(txe) + txe->data_len, src, l);
crypto/openssl/ssl/quic/quic_record_tx.c
570
assert(l > 0 && src_len == (size_t)l);
crypto/openssl/ssl/quic/quic_rstream.c
103
if (max_len < l) {
crypto/openssl/ssl/quic/quic_rstream.c
108
l -= max_len;
crypto/openssl/ssl/quic/quic_rstream.c
111
if (!ossl_assert(data != NULL) || !ossl_assert(max_len > l))
crypto/openssl/ssl/quic/quic_rstream.c
116
memcpy(buf, data, l);
crypto/openssl/ssl/quic/quic_rstream.c
117
size -= l;
crypto/openssl/ssl/quic/quic_rstream.c
118
buf += l;
crypto/openssl/ssl/quic/quic_rstream.c
119
readbytes_ += l;
crypto/openssl/ssl/quic/quic_rstream.c
87
size_t l = (size_t)(range.end - range.start);
crypto/openssl/ssl/quic/quic_rstream.c
89
if (l > size) {
crypto/openssl/ssl/quic/quic_rstream.c
90
l = size;
crypto/openssl/ssl/quic/quic_rstream.c
93
offset = range.start + l;
crypto/openssl/ssl/quic/quic_rstream.c
94
if (l == 0)
crypto/openssl/ssl/quic/quic_srtm.c
85
unsigned long l;
crypto/openssl/ssl/quic/quic_srtm.c
87
memcpy(&l, item->srt_blinded, sizeof(l));
crypto/openssl/ssl/quic/quic_srtm.c
88
return l;
crypto/openssl/ssl/quic/quic_sstream.c
287
size_t l, consumed_ = 0;
crypto/openssl/ssl/quic/quic_sstream.c
308
l = ring_buf_push(&qss->ring_buf, buf, buf_len);
crypto/openssl/ssl/quic/quic_sstream.c
309
if (l == 0)
crypto/openssl/ssl/quic/quic_sstream.c
312
buf += l;
crypto/openssl/ssl/quic/quic_sstream.c
313
buf_len -= l;
crypto/openssl/ssl/quic/quic_sstream.c
314
consumed_ += l;
crypto/openssl/ssl/quic/quic_stream_map.c
22
static void list_insert_tail(QUIC_STREAM_LIST_NODE *l,
crypto/openssl/ssl/quic/quic_stream_map.c
27
&& l->prev != NULL && l->next != NULL);
crypto/openssl/ssl/quic/quic_stream_map.c
29
n->prev = l->prev;
crypto/openssl/ssl/quic/quic_stream_map.c
31
l->prev = n;
crypto/openssl/ssl/quic/quic_stream_map.c
32
n->next = l;
crypto/openssl/ssl/quic/quic_stream_map.c
35
static void list_remove(QUIC_STREAM_LIST_NODE *l,
crypto/openssl/ssl/quic/quic_stream_map.c
46
static QUIC_STREAM *list_next(QUIC_STREAM_LIST_NODE *l, QUIC_STREAM_LIST_NODE *n,
crypto/openssl/ssl/quic/quic_stream_map.c
50
&& (n == l || (n->prev != n && n->next != n))
crypto/openssl/ssl/quic/quic_stream_map.c
51
&& l->prev != NULL && l->next != NULL);
crypto/openssl/ssl/quic/quic_stream_map.c
55
if (n == l)
crypto/openssl/ssl/quic/quic_stream_map.c
57
if (n == l)
crypto/openssl/ssl/quic/quic_stream_map.c
65
#define active_next(l, s) list_next((l), &(s)->active_node, \
crypto/openssl/ssl/quic/quic_stream_map.c
67
#define accept_next(l, s) list_next((l), &(s)->accept_node, \
crypto/openssl/ssl/quic/quic_stream_map.c
69
#define accept_head(l) list_next((l), (l), \
crypto/openssl/ssl/quic/quic_stream_map.c
71
#define ready_for_gc_head(l) list_next((l), (l), \
crypto/openssl/ssl/quic/quic_txp.c
1956
size_t l;
crypto/openssl/ssl/quic/quic_txp.c
1987
&& WPACKET_get_total_written(wpkt, &l)
crypto/openssl/ssl/quic/quic_txp.c
1988
&& try_commit_conn_close(txp, l)) {
crypto/openssl/ssl/quic/quic_txp.c
342
size_t l = 0;
crypto/openssl/ssl/quic/quic_txp.c
347
if (!WPACKET_get_total_written(&h->txn.wpkt, &l)) {
crypto/openssl/ssl/quic/quic_txp.c
352
if (!tx_helper_append_iovec(h, h->txn.data, l)) {
crypto/openssl/ssl/quic/quic_txp.c
357
if (h->txp->msg_callback != NULL && l > 0) {
crypto/openssl/ssl/quic/quic_txp.c
362
if (!PACKET_buf_init(&pkt, h->txn.data, l)
crypto/openssl/ssl/quic/quic_txp.c
374
h->txp->msg_callback(1, OSSL_QUIC1_VERSION, ctype, h->txn.data, l,
crypto/openssl/ssl/quic/quic_txp.c
379
h->scratch_bytes += l;
crypto/openssl/ssl/quic/quic_txpim.c
44
static void free_list(QUIC_TXPIM_PKT_EX_LIST *l)
crypto/openssl/ssl/quic/quic_txpim.c
48
for (n = l->head; n != NULL; n = nnext) {
crypto/openssl/ssl/quic/quic_txpim.c
55
l->head = l->tail = NULL;
crypto/openssl/ssl/quic/quic_txpim.c
68
static void list_remove(QUIC_TXPIM_PKT_EX_LIST *l, QUIC_TXPIM_PKT_EX *n)
crypto/openssl/ssl/quic/quic_txpim.c
70
if (l->head == n)
crypto/openssl/ssl/quic/quic_txpim.c
71
l->head = n->next;
crypto/openssl/ssl/quic/quic_txpim.c
72
if (l->tail == n)
crypto/openssl/ssl/quic/quic_txpim.c
73
l->tail = n->prev;
crypto/openssl/ssl/quic/quic_txpim.c
81
static void list_insert_tail(QUIC_TXPIM_PKT_EX_LIST *l, QUIC_TXPIM_PKT_EX *n)
crypto/openssl/ssl/quic/quic_txpim.c
83
n->prev = l->tail;
crypto/openssl/ssl/quic/quic_txpim.c
85
l->tail = n;
crypto/openssl/ssl/quic/quic_txpim.c
88
if (l->head == NULL)
crypto/openssl/ssl/quic/quic_txpim.c
89
l->head = n;
crypto/openssl/ssl/quic/quic_wire_pkt.c
107
|| !EVP_CipherUpdate(hpr->cipher_ctx, mask, &l,
crypto/openssl/ssl/quic/quic_wire_pkt.c
195
size_t l = PACKET_remaining(pkt);
crypto/openssl/ssl/quic/quic_wire_pkt.c
207
if (l < QUIC_MIN_VALID_PKT_LEN
crypto/openssl/ssl/quic/quic_wire_pkt.c
221
|| l < QUIC_MIN_VALID_PKT_LEN_CRYPTO)
crypto/openssl/ssl/quic/quic_wire_pkt.c
344
if (l < QUIC_MIN_VALID_PKT_LEN_CRYPTO)
crypto/openssl/ssl/quic/quic_wire_pkt.c
80
int l = 0;
crypto/openssl/ssl/quic/quic_wire_pkt.c
871
int ok = 0, l = 0, l2 = 0, wpkt_valid = 0;
crypto/openssl/ssl/quic/quic_wire_pkt.c
93
|| !EVP_CipherUpdate(hpr->cipher_ctx, dst, &l, sample, 16)) {
crypto/openssl/ssl/quic/quic_wire_pkt.c
940
if (EVP_CipherUpdate(cctx, NULL, &l, buf, hdr_enc_len) != 1) {
crypto/openssl/ssl/quic/quic_wire_pkt.c
946
if (EVP_CipherUpdate(cctx, NULL, &l, hdr->data,
crypto/openssl/ssl/record/methods/recmethod_local.h
529
#define TLS_BUFFER_set_left(b, l) ((b)->left = (l))
crypto/openssl/ssl/record/methods/recmethod_local.h
530
#define TLS_BUFFER_sub_left(b, l) ((b)->left -= (l))
crypto/openssl/ssl/record/methods/recmethod_local.h
534
#define TLS_BUFFER_set_app_buffer(b, l) ((b)->app_buffer = (l))
crypto/openssl/ssl/record/methods/recmethod_local.h
86
#define TLS_RL_RECORD_set_length(r, l) ((r)->length = (l))
crypto/openssl/ssl/record/methods/recmethod_local.h
87
#define TLS_RL_RECORD_add_length(r, l) ((r)->length += (l))
crypto/openssl/ssl/record/methods/ssl3_meth.c
101
size_t l, i;
crypto/openssl/ssl/record/methods/ssl3_meth.c
119
l = rec->length;
crypto/openssl/ssl/record/methods/ssl3_meth.c
132
i = bs - (l % bs);
crypto/openssl/ssl/record/methods/ssl3_meth.c
135
l += i;
crypto/openssl/ssl/record/methods/ssl3_meth.c
142
rec->input[l - 1] = (unsigned char)(i - 1);
crypto/openssl/ssl/record/methods/ssl3_meth.c
146
if (l == 0 || l % bs != 0) {
crypto/openssl/ssl/record/methods/ssl3_meth.c
157
(unsigned int)l))
crypto/openssl/ssl/record/methods/ssl3_meth.c
180
if (EVP_Cipher(ds, rec->data, rec->input, (unsigned int)l) < 1) {
crypto/openssl/ssl/ssl_asn1.c
133
long l;
crypto/openssl/ssl/ssl_asn1.c
147
l = in->cipher_id;
crypto/openssl/ssl/ssl_asn1.c
149
l = in->cipher->id;
crypto/openssl/ssl/ssl_asn1.c
150
cipher_data[0] = ((unsigned char)(l >> 8L)) & 0xff;
crypto/openssl/ssl/ssl_asn1.c
151
cipher_data[1] = ((unsigned char)(l)) & 0xff;
crypto/openssl/ssl/ssl_ciph.c
1003
ch = *l;
crypto/openssl/ssl/ssl_ciph.c
1004
buf = l;
crypto/openssl/ssl/ssl_ciph.c
1013
ch = *(++l);
crypto/openssl/ssl/ssl_ciph.c
1035
l++;
crypto/openssl/ssl/ssl_ciph.c
1195
while ((*l != '\0') && !ITEM_SEP(*l))
crypto/openssl/ssl/ssl_ciph.c
1196
l++;
crypto/openssl/ssl/ssl_ciph.c
1203
while ((*l != '\0') && !ITEM_SEP(*l))
crypto/openssl/ssl/ssl_ciph.c
1204
l++;
crypto/openssl/ssl/ssl_ciph.c
1206
if (*l == '\0')
crypto/openssl/ssl/ssl_ciph.c
962
const char *l, *buf;
crypto/openssl/ssl/ssl_ciph.c
968
l = rule_str;
crypto/openssl/ssl/ssl_ciph.c
970
ch = *l;
crypto/openssl/ssl/ssl_ciph.c
976
l++;
crypto/openssl/ssl/ssl_ciph.c
979
l++;
crypto/openssl/ssl/ssl_ciph.c
982
l++;
crypto/openssl/ssl/ssl_ciph.c
985
l++;
crypto/openssl/ssl/ssl_ciph.c
991
l++;
crypto/openssl/ssl/ssl_lib.c
2943
long l;
crypto/openssl/ssl/ssl_lib.c
2971
l = RECORD_LAYER_get_read_ahead(&sc->rlayer);
crypto/openssl/ssl/ssl_lib.c
2973
return l;
crypto/openssl/ssl/ssl_lib.c
2996
l = (long)sc->max_cert_list;
crypto/openssl/ssl/ssl_lib.c
2998
return l;
crypto/openssl/ssl/ssl_lib.c
3092
long l;
crypto/openssl/ssl/ssl_lib.c
3111
l = ctx->read_ahead;
crypto/openssl/ssl/ssl_lib.c
3113
return l;
crypto/openssl/ssl/ssl_lib.c
3124
l = (long)ctx->max_cert_list;
crypto/openssl/ssl/ssl_lib.c
3126
return l;
crypto/openssl/ssl/ssl_lib.c
3131
l = (long)ctx->session_cache_size;
crypto/openssl/ssl/ssl_lib.c
3133
return l;
crypto/openssl/ssl/ssl_lib.c
3137
l = ctx->session_cache_mode;
crypto/openssl/ssl/ssl_lib.c
3139
return l;
crypto/openssl/ssl/ssl_lib.c
3850
unsigned long l;
crypto/openssl/ssl/ssl_lib.c
3859
l = (unsigned long)((unsigned long)session_id[0]) | ((unsigned long)session_id[1] << 8L) | ((unsigned long)session_id[2] << 16L) | ((unsigned long)session_id[3] << 24L);
crypto/openssl/ssl/ssl_lib.c
3860
return l;
crypto/openssl/ssl/ssl_lib.c
4827
unsigned long l;
crypto/openssl/ssl/ssl_lib.c
4849
if (check_err && (l = ERR_peek_error()) != 0) {
crypto/openssl/ssl/ssl_lib.c
4850
if (ERR_GET_LIB(l) == ERR_LIB_SYS)
crypto/openssl/ssl/ssl_sess.c
1131
long l;
crypto/openssl/ssl/ssl_sess.c
1135
l = (long)ossl_time2seconds(s->session_timeout);
crypto/openssl/ssl/ssl_sess.c
1137
return l;
crypto/openssl/ssl/statem/statem_lib.c
1559
size_t l, readbytes;
crypto/openssl/ssl/statem/statem_lib.c
1642
l = s->rlayer.tlsrecs[0].length + SSL3_HM_HEADER_LENGTH;
crypto/openssl/ssl/statem/statem_lib.c
1643
s->s3.tmp.message_size = l;
crypto/openssl/ssl/statem/statem_lib.c
1648
n2l3(p, l);
crypto/openssl/ssl/statem/statem_lib.c
1650
if (l > (INT_MAX - SSL3_HM_HEADER_LENGTH)) {
crypto/openssl/ssl/statem/statem_lib.c
1655
s->s3.tmp.message_size = l;
crypto/openssl/ssl/statem/statem_srvr.c
3647
unsigned long l;
crypto/openssl/ssl/statem/statem_srvr.c
3693
if (!PACKET_get_net_3(&spkt, &l)
crypto/openssl/ssl/statem/statem_srvr.c
3694
|| !PACKET_get_bytes(&spkt, &certbytes, l)) {
crypto/openssl/ssl/statem/statem_srvr.c
3705
if (d2i_X509(&x, (const unsigned char **)&certbytes, l) == NULL) {
crypto/openssl/ssl/statem/statem_srvr.c
3710
if (certbytes != (certstart + l)) {
crypto/openssl/ssl/tls13_enc.c
782
int ret = 0, l;
crypto/openssl/ssl/tls13_enc.c
788
if ((l = EVP_MD_get_size(md)) <= 0) {
crypto/openssl/ssl/tls13_enc.c
792
hashlen = (size_t)l;
crypto/openssl/ssl/tls_depr.c
132
unsigned int l;
crypto/openssl/ssl/tls_depr.c
134
if (HMAC_Final(ctx->old_ctx, md, &l) > 0) {
crypto/openssl/ssl/tls_depr.c
136
*len = l;
crypto/openssl/test/asn1_internal_test.c
220
int l = ERR_GET_LIB(err);
crypto/openssl/test/asn1_internal_test.c
224
if (l != ERR_LIB_OBJ || r != OBJ_R_OID_EXISTS) {
crypto/openssl/test/casttest.c
87
long l;
crypto/openssl/test/casttest.c
95
for (l = 0; l < 1000000L; l++) {
crypto/openssl/test/ctype_internal_test.c
54
int l;
crypto/openssl/test/ctype_internal_test.c
68
return TEST_int_eq(ossl_toupper(case_change[n].l), case_change[n].u)
crypto/openssl/test/ctype_internal_test.c
74
return TEST_int_eq(ossl_tolower(case_change[n].u), case_change[n].l)
crypto/openssl/test/ctype_internal_test.c
75
&& TEST_int_eq(ossl_tolower(case_change[n].l), case_change[n].l);
crypto/openssl/test/drbgtest.c
297
const drbg_fork_result *l = left;
crypto/openssl/test/drbgtest.c
301
result = l->private - r->private;
crypto/openssl/test/drbgtest.c
304
result = memcmp(l->random, r->random, RANDOM_SIZE);
crypto/openssl/test/drbgtest.c
307
result = l->pindex - r->pindex;
crypto/openssl/test/errtest.c
144
int l, start_line = -1, end_line = -1;
crypto/openssl/test/errtest.c
154
if (!TEST_ulong_ne(e = ERR_get_error_all(&f, &l, NULL, &data, NULL), 0)
crypto/openssl/test/errtest.c
156
|| (l > 0 && !(TEST_int_eq(l, start_line) || TEST_int_eq(l, end_line)))
crypto/openssl/test/evp_kdf_test.c
2297
int l = 0, sep = 0, r = 8;
crypto/openssl/test/evp_kdf_test.c
2330
*p++ = OSSL_PARAM_construct_int(OSSL_KDF_PARAM_KBKDF_USE_L, &l);
crypto/openssl/test/list_test.c
101
l;
crypto/openssl/test/list_test.c
106
ossl_list_int_init(&l);
crypto/openssl/test/list_test.c
113
ossl_list_int_insert_head(&l, elem + 3); /* 3 */
crypto/openssl/test/list_test.c
114
ossl_list_int_insert_tail(&l, elem + 6); /* 3 6 */
crypto/openssl/test/list_test.c
115
ossl_list_int_insert_before(&l, elem + 6, elem + 5); /* 3 5 6 */
crypto/openssl/test/list_test.c
116
ossl_list_int_insert_before(&l, elem + 3, elem + 1); /* 1 3 5 6 */
crypto/openssl/test/list_test.c
117
ossl_list_int_insert_after(&l, elem + 1, elem + 2); /* 1 2 3 5 6 */
crypto/openssl/test/list_test.c
118
ossl_list_int_insert_after(&l, elem + 6, elem + 7); /* 1 2 3 5 6 7 */
crypto/openssl/test/list_test.c
119
ossl_list_int_insert_after(&l, elem + 3, elem + 4); /* 1 2 3 4 5 6 7 */
crypto/openssl/test/list_test.c
120
if (!TEST_size_t_eq(ossl_list_int_num(&l), 7))
crypto/openssl/test/list_test.c
122
c = ossl_list_int_head(&l);
crypto/openssl/test/list_test.c
123
d = ossl_list_int_tail(&l);
crypto/openssl/test/list_test.c
135
ossl_list_int_remove(&l, elem + 1); /* 2 3 4 5 6 7 */
crypto/openssl/test/list_test.c
136
ossl_list_int_remove(&l, elem + 6); /* 2 3 4 5 7 */
crypto/openssl/test/list_test.c
137
ossl_list_int_remove(&l, elem + 7); /* 2 3 4 5 */
crypto/openssl/test/list_test.c
139
c = ossl_list_int_head(&l);
crypto/openssl/test/list_test.c
140
d = ossl_list_int_tail(&l);
crypto/openssl/test/list_test.c
152
ossl_list_int_remove(&l, elem + 2); /* 3 4 5 */
crypto/openssl/test/list_test.c
153
ossl_list_int_remove(&l, elem + 4); /* 3 5 */
crypto/openssl/test/list_test.c
154
ossl_list_int_remove(&l, elem + 3); /* 5 */
crypto/openssl/test/list_test.c
155
if (!TEST_ptr(ossl_list_int_head(&l))
crypto/openssl/test/list_test.c
156
|| !TEST_ptr(ossl_list_int_tail(&l))
crypto/openssl/test/list_test.c
157
|| !TEST_int_eq(ossl_list_int_head(&l)->n, 5)
crypto/openssl/test/list_test.c
158
|| !TEST_int_eq(ossl_list_int_tail(&l)->n, 5))
crypto/openssl/test/list_test.c
162
ossl_list_int_insert_head(&l, elem); /* 0 5 */
crypto/openssl/test/list_test.c
163
ossl_list_int_remove(&l, elem + 5); /* 0 */
crypto/openssl/test/list_test.c
164
if (!TEST_ptr(ossl_list_int_head(&l))
crypto/openssl/test/list_test.c
165
|| !TEST_ptr(ossl_list_int_tail(&l))
crypto/openssl/test/list_test.c
166
|| !TEST_int_eq(ossl_list_int_head(&l)->n, 0)
crypto/openssl/test/list_test.c
167
|| !TEST_int_eq(ossl_list_int_tail(&l)->n, 0))
crypto/openssl/test/list_test.c
171
ossl_list_int_remove(&l, elem);
crypto/openssl/test/list_test.c
172
if (!TEST_ptr_null(ossl_list_int_head(&l))
crypto/openssl/test/list_test.c
173
|| !TEST_ptr_null(ossl_list_int_tail(&l)))
crypto/openssl/test/param_build_test.c
171
|| !TEST_true(OSSL_PARAM_get_long(p, &l))
crypto/openssl/test/param_build_test.c
172
|| !TEST_long_eq(l, 42)
crypto/openssl/test/param_build_test.c
242
unsigned long int l;
crypto/openssl/test/param_build_test.c
330
|| !TEST_true(OSSL_PARAM_get_ulong(p, &l))
crypto/openssl/test/param_build_test.c
331
|| !TEST_ulong_eq(l, 42)
crypto/openssl/test/param_build_test.c
449
unsigned long int l;
crypto/openssl/test/param_build_test.c
509
|| !TEST_true(OSSL_PARAM_get_ulong(p, &l))
crypto/openssl/test/param_build_test.c
510
|| !TEST_ulong_eq(l, 42)
crypto/openssl/test/param_build_test.c
94
long int l;
crypto/openssl/test/params_api_test.c
613
long int l;
crypto/openssl/test/params_api_test.c
625
params[n++] = OSSL_PARAM_construct_long("long", &l);
crypto/openssl/test/params_api_test.c
735
vp = &l;
crypto/openssl/test/params_test.c
330
int l = 0;
crypto/openssl/test/params_test.c
337
|| (l = BN_bn2nativepad(app_p3, bignumbin, sizeof(bignumbin))) < 0)
crypto/openssl/test/quic_client_test.c
132
sizeof(msg2) - 1 - c_total_read, &l);
crypto/openssl/test/quic_client_test.c
141
c_total_read += l;
crypto/openssl/test/quic_client_test.c
42
size_t l = 0, c_total_read = 0;
crypto/openssl/test/quic_multistream_test.c
4960
size_t l;
crypto/openssl/test/quic_multistream_test.c
4986
if (!TEST_true(WPACKET_get_total_written(&wpkt, &l)))
crypto/openssl/test/quic_multistream_test.c
4989
if (!TEST_true(qtest_fault_resize_datagram(h->qtf, l)))
crypto/openssl/test/quic_multistream_test.c
4992
memcpy(msg->data, buf->data, l);
crypto/openssl/test/quic_multistream_test.c
5265
size_t l;
crypto/openssl/test/quic_multistream_test.c
5293
if (!TEST_true(WPACKET_get_total_written(&wpkt, &l)))
crypto/openssl/test/quic_multistream_test.c
5296
if (!qtest_fault_prepend_frame(h->qtf, frame_buf, l))
crypto/openssl/test/quic_record_test.c
10018
size_t l = 0, i, j;
crypto/openssl/test/quic_record_test.c
10102
if (!TEST_true(WPACKET_get_total_written(&wpkt, &l)))
crypto/openssl/test/quic_record_test.c
10105
if (!TEST_mem_eq(buf, l, t->expected, t->expected_len))
crypto/openssl/test/quic_stream_test.c
222
size_t i, j, num_iov = 0, init_size = 8192, l;
crypto/openssl/test/quic_stream_test.c
267
l = (test_random() % init_size) + 1;
crypto/openssl/test/quic_stream_test.c
268
if (!TEST_true(ossl_quic_sstream_append(sstream, src_buf, l, &consumed)))
crypto/openssl/test/quic_tserver_test.c
246
sizeof(msg2) - s_total_read, &l)) {
crypto/openssl/test/quic_tserver_test.c
256
s_total_read += l;
crypto/openssl/test/quic_tserver_test.c
265
sizeof(msg1) - 1 - s_total_written, &l)))
crypto/openssl/test/quic_tserver_test.c
268
s_total_written += l;
crypto/openssl/test/quic_tserver_test.c
278
sizeof(msg1) - 1 - c_total_read, &l);
crypto/openssl/test/quic_tserver_test.c
282
c_total_read += l;
crypto/openssl/test/quic_tserver_test.c
296
ret = SSL_read_ex(c_ssl, &c, sizeof(c), &l);
crypto/openssl/test/quic_tserver_test.c
71
size_t l = 0, s_total_read = 0, s_total_written = 0, c_total_read = 0;
crypto/openssl/test/quic_txp_test.c
432
size_t l = 0;
crypto/openssl/test/quic_txp_test.c
453
if (!TEST_true(WPACKET_get_total_written(&wpkt, &l)))
crypto/openssl/test/quic_txp_test.c
459
(unsigned char *)buf_mem->data, l,
crypto/openssl/test/quic_txp_test.c
513
size_t l = 0;
crypto/openssl/test/quic_txp_test.c
529
if (!TEST_true(WPACKET_get_total_written(&wpkt, &l)))
crypto/openssl/test/quic_txp_test.c
535
(unsigned char *)buf_mem->data, l,
crypto/openssl/test/radix/quic_bindings.c
338
long l;
crypto/openssl/test/radix/quic_bindings.c
358
l = BIO_get_mem_data(rt->debug_bio, &p);
crypto/openssl/test/radix/quic_bindings.c
359
BIO_write(bio, p, l);
crypto/openssl/test/radix/terp.c
245
#define OP_PUSH_BUFP(p, l) (OP_PUSH_P(p), OP_PUSH_SIZE(l))
crypto/openssl/test/test_test.c
451
long l = -9000;
crypto/openssl/test/test_test.c
466
&& TEST_long_eq(l--, -9000L)
crypto/openssl/test/test_test.c
467
&& TEST_long_eq(++l, -9000L)
crypto/openssl/test/test_test.c
468
&& TEST_long_ne(-9000L, l /= 2)
crypto/openssl/test/test_test.c
469
&& TEST_long_lt(--l, -4500L)
crypto/openssl/test/testutil.h
570
void test_output_string(const char *name, const char *m, size_t l);
crypto/openssl/test/testutil.h
572
void test_output_memory(const char *name, const unsigned char *m, size_t l);
crypto/openssl/test/testutil/fake_random.c
75
size_t l;
crypto/openssl/test/testutil/fake_random.c
82
l = outlen < sizeof(r) ? outlen : sizeof(r);
crypto/openssl/test/testutil/fake_random.c
84
memcpy(out, &r, l);
crypto/openssl/test/testutil/fake_random.c
85
out += l;
crypto/openssl/test/testutil/fake_random.c
86
outlen -= l;
crypto/openssl/test/testutil/format_output.c
137
void test_output_string(const char *name, const char *m, size_t l)
crypto/openssl/test/testutil/format_output.c
140
m, l, m, l);
crypto/openssl/test/testutil/format_output.c
530
void test_output_memory(const char *name, const unsigned char *m, size_t l)
crypto/openssl/test/testutil/format_output.c
533
m, l, m, l);
include/arpa/nameser.h
482
#define NS_GET32(l, cp) do { \
include/arpa/nameser.h
484
(l) = ((u_int32_t)t_cp[0] << 24) \
include/arpa/nameser.h
500
#define NS_PUT32(l, cp) do { \
include/arpa/nameser.h
501
register u_int32_t t_l = (u_int32_t)(l); \
include/rpc/xdr.h
156
long l;
include/rpc/xdr.h
158
if (!xdr_getlong(xdrs, &l))
include/rpc/xdr.h
160
*ip = (int32_t)l;
include/rpc/xdr.h
167
long l;
include/rpc/xdr.h
169
l = (long)*ip;
include/rpc/xdr.h
170
return xdr_putlong(xdrs, &l);
include/tgmath.h
127
__tg_impl_simple(x, x, x, fn##l, fn, fn##f, x)
include/tgmath.h
129
__tg_impl_simple(x, x, y, fn##l, fn, fn##f, x, y)
include/tgmath.h
131
__tg_impl_simple(x, y, z, fn##l, fn, fn##f, x, y, z)
include/tgmath.h
133
__tg_impl_simple(x, x, x, fn##l, fn, fn##f, __VA_ARGS__)
include/tgmath.h
135
__tg_impl_full(x, x, c##fn##l, c##fn, c##fn##f, fn##l, fn, fn##f, x)
include/tgmath.h
137
__tg_impl_full(x, y, c##fn##l, c##fn, c##fn##f, fn##l, fn, fn##f, x, y)
krb5/lib/gssapi/errmap.h
177
if ((*fn)(pair->l, pair->r, p) != 0)
krb5/lib/gssapi/errmap.h
183
mecherrmap_add (mecherrmap *m, OM_uint32 l, struct mecherror r)
krb5/lib/gssapi/errmap.h
194
assert ((*cmp_OM_uint32)(l, pair->l) != 0);
krb5/lib/gssapi/errmap.h
195
if ((*cmp_OM_uint32)(l, pair->l) == 0)
krb5/lib/gssapi/errmap.h
201
newpair.l = l;
krb5/lib/gssapi/errmap.h
214
mecherrmap_findleft (mecherrmap *m, OM_uint32 l)
krb5/lib/gssapi/errmap.h
221
if ((*cmp_OM_uint32)(l, pair->l) == 0)
krb5/lib/gssapi/errmap.h
236
return &pair->l;
krb5/lib/gssapi/errmap.h
246
mecherrmap__printone (OM_uint32 l, struct mecherror r, void *p)
krb5/lib/gssapi/errmap.h
251
(*print_OM_uint32)(l, ps->f);
krb5/lib/gssapi/errmap.h
30
OM_uint32 l;
lib/clang/liblldb/LLDBWrapLua.cpp
584
size_t l = 0;
lib/clang/liblldb/LLDBWrapLua.cpp
588
size_t i = (l + r) >> 1;
lib/clang/liblldb/LLDBWrapLua.cpp
601
l = i + 1;
lib/clang/liblldb/LLDBWrapLua.cpp
606
} while (l <= r);
lib/geom/part/geom_part.c
1006
} else if (l < 4 || created == 0)
lib/geom/part/geom_part.c
1008
else if (l == 5) {
lib/geom/part/geom_part.c
1013
} else if (l == 6) {
lib/geom/part/geom_part.c
1053
l = ap - &argv[0];
lib/geom/part/geom_part.c
1055
while (l > 0) {
lib/geom/part/geom_part.c
1062
gctl_ro_param(r, "attrib", -1, argv[--l]);
lib/geom/part/geom_part.c
910
int error, forced, i, l, nargs, created, rl;
lib/geom/part/geom_part.c
977
l = ap - &argv[0];
lib/geom/part/geom_part.c
979
if (l == 1 || l == 2) { /* create table */
lib/geom/part/geom_part.c
982
if (l == 2)
lib/geom/part/geom_part.c
991
if (l == 2)
lib/libc/db/btree/bt_split.c
114
bt_rroot(t, sp, l, r) : bt_broot(t, sp, l, r)) == RET_ERROR)
lib/libc/db/btree/bt_split.c
141
lchild = l;
lib/libc/db/btree/bt_split.c
207
bt_root(t, h, &l, &r, &skip, nbytes) :
lib/libc/db/btree/bt_split.c
208
bt_page(t, h, &l, &r, &skip, nbytes);
lib/libc/db/btree/bt_split.c
249
dest = (char *)l + l->linp[NEXTINDEX(l) - 1];
lib/libc/db/btree/bt_split.c
267
dest = (char *)l + l->linp[NEXTINDEX(l) - 1];
lib/libc/db/btree/bt_split.c
290
bt_rroot(t, sp, l, r) : bt_broot(t, sp, l, r)) == RET_ERROR)
lib/libc/db/btree/bt_split.c
298
mpool_put(t->bt_mp, l, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
312
err2: mpool_put(t->bt_mp, l, 0);
lib/libc/db/btree/bt_split.c
335
PAGE *l, *r, *tp;
lib/libc/db/btree/bt_split.c
374
if ((l = (PAGE *)calloc(1, t->bt_psize)) == NULL) {
lib/libc/db/btree/bt_split.c
378
l->pgno = h->pgno;
lib/libc/db/btree/bt_split.c
379
l->nextpg = r->pgno;
lib/libc/db/btree/bt_split.c
380
l->prevpg = h->prevpg;
lib/libc/db/btree/bt_split.c
381
l->lower = BTDATAOFF;
lib/libc/db/btree/bt_split.c
382
l->upper = t->bt_psize;
lib/libc/db/btree/bt_split.c
383
l->flags = h->flags & P_TYPE;
lib/libc/db/btree/bt_split.c
388
free(l);
lib/libc/db/btree/bt_split.c
403
tp = bt_psplit(t, h, l, r, skip, ilen);
lib/libc/db/btree/bt_split.c
406
memmove(h, l, t->bt_psize);
lib/libc/db/btree/bt_split.c
407
if (tp == l)
lib/libc/db/btree/bt_split.c
409
free(l);
lib/libc/db/btree/bt_split.c
433
PAGE *l, *r, *tp;
lib/libc/db/btree/bt_split.c
441
if ((l = __bt_new(t, &lnpg)) == NULL ||
lib/libc/db/btree/bt_split.c
444
l->pgno = lnpg;
lib/libc/db/btree/bt_split.c
446
l->nextpg = r->pgno;
lib/libc/db/btree/bt_split.c
447
r->prevpg = l->pgno;
lib/libc/db/btree/bt_split.c
448
l->prevpg = r->nextpg = P_INVALID;
lib/libc/db/btree/bt_split.c
449
l->lower = r->lower = BTDATAOFF;
lib/libc/db/btree/bt_split.c
450
l->upper = r->upper = t->bt_psize;
lib/libc/db/btree/bt_split.c
451
l->flags = r->flags = h->flags & P_TYPE;
lib/libc/db/btree/bt_split.c
454
tp = bt_psplit(t, h, l, r, skip, ilen);
lib/libc/db/btree/bt_split.c
456
*lp = l;
lib/libc/db/btree/bt_split.c
474
bt_rroot(BTREE *t, PAGE *h, PAGE *l, PAGE *r)
lib/libc/db/btree/bt_split.c
482
l->flags & P_RLEAF ? NEXTINDEX(l) : rec_total(l), l->pgno);
lib/libc/db/btree/bt_split.c
512
bt_broot(BTREE *t, PAGE *h, PAGE *l, PAGE *r)
lib/libc/db/btree/bt_split.c
530
WR_BINTERNAL(dest, 0, l->pgno, 0);
lib/libc/db/btree/bt_split.c
590
bt_psplit(BTREE *t, PAGE *h, PAGE *l, PAGE *r, indx_t *pskip, size_t ilen)
lib/libc/db/btree/bt_split.c
659
l->linp[off] = l->upper -= nbytes;
lib/libc/db/btree/bt_split.c
660
memmove((char *)l + l->upper, src, nbytes);
lib/libc/db/btree/bt_split.c
676
l->lower += (off + 1) * sizeof(indx_t);
lib/libc/db/btree/bt_split.c
690
c->pg.pgno = l->pgno;
lib/libc/db/btree/bt_split.c
704
rval = l;
lib/libc/db/btree/bt_split.c
80
PAGE *h, *l, *r, *lchild, *rchild;
lib/libc/db/btree/bt_split.c
95
bt_root(t, sp, &l, &r, &skip, ilen) :
lib/libc/db/btree/bt_split.c
96
bt_page(t, sp, &l, &r, &skip, ilen);
lib/libc/gen/disklabel.c
125
long l;
lib/libc/gen/disklabel.c
127
if (cgetnum(buf, psize, &l) == -1)
lib/libc/gen/disklabel.c
130
pp->p_size = l;
lib/libc/gen/disklabel.c
131
cgetnum(buf, poffset, &l);
lib/libc/gen/disklabel.c
132
pp->p_offset = l;
lib/libc/gen/pututxline.c
259
uint16_t l;
lib/libc/gen/pututxline.c
267
for (l = sizeof(*fu); l > 0 && ((const char *)fu)[l - 1] == '\0'; l--) ;
lib/libc/gen/pututxline.c
268
vec[0].iov_base = &l;
lib/libc/gen/pututxline.c
269
vec[0].iov_len = sizeof(l);
lib/libc/gen/pututxline.c
271
vec[1].iov_len = l;
lib/libc/gen/pututxline.c
272
l = htobe16(l);
lib/libc/gen/rand48.h
43
#define LOADRAND48(l, x) do { \
lib/libc/gen/rand48.h
44
(l) = TOUINT48((x)[0], (x)[1], (x)[2]); \
lib/libc/gen/rand48.h
47
#define STORERAND48(l, x) do { \
lib/libc/gen/rand48.h
48
(x)[0] = (unsigned short)(l); \
lib/libc/gen/rand48.h
49
(x)[1] = (unsigned short)((l) >> 16); \
lib/libc/gen/rand48.h
50
(x)[2] = (unsigned short)((l) >> 32); \
lib/libc/gen/rand48.h
53
#define _DORAND48(l) do { \
lib/libc/gen/rand48.h
54
(l) = (l) * _rand48_mult + _rand48_add; \
lib/libc/gen/rand48.h
57
#define DORAND48(l, x) do { \
lib/libc/gen/rand48.h
58
LOADRAND48(l, x); \
lib/libc/gen/rand48.h
59
_DORAND48(l); \
lib/libc/gen/rand48.h
60
STORERAND48(l, x); \
lib/libc/gen/telldir.c
107
return (ddloc.l);
lib/libc/gen/telldir.c
123
ddloc.l = loc;
lib/libc/gen/telldir.h
72
long l; /* Opaque type returned by telldir(3) */
lib/libc/include/reentrant.h
112
#define rwlock_init(l, a) _pthread_rwlock_init(l, a)
lib/libc/include/reentrant.h
113
#define rwlock_rdlock(l) if (__isthreaded) \
lib/libc/include/reentrant.h
114
_pthread_rwlock_rdlock(l)
lib/libc/include/reentrant.h
115
#define rwlock_wrlock(l) if (__isthreaded) \
lib/libc/include/reentrant.h
116
_pthread_rwlock_wrlock(l)
lib/libc/include/reentrant.h
117
#define rwlock_unlock(l) if (__isthreaded) \
lib/libc/include/reentrant.h
118
_pthread_rwlock_unlock(l)
lib/libc/inet/inet_ntop.c
83
int l;
lib/libc/inet/inet_ntop.c
85
l = snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]);
lib/libc/inet/inet_ntop.c
86
if (l <= 0 || (socklen_t) l >= size) {
lib/libc/locale/ascii.c
63
_ascii_init(struct xlocale_ctype *l,_RuneLocale *rl)
lib/libc/locale/ascii.c
66
l->__mbrtowc = _ascii_mbrtowc;
lib/libc/locale/ascii.c
67
l->__mbsinit = _ascii_mbsinit;
lib/libc/locale/ascii.c
68
l->__mbsnrtowcs = _ascii_mbsnrtowcs;
lib/libc/locale/ascii.c
69
l->__wcrtomb = _ascii_wcrtomb;
lib/libc/locale/ascii.c
70
l->__wcsnrtombs = _ascii_wcsnrtombs;
lib/libc/locale/ascii.c
71
l->runes = rl;
lib/libc/locale/ascii.c
72
l->__mb_cur_max = 1;
lib/libc/locale/ascii.c
73
l->__mb_sb_limit = 128;
lib/libc/locale/big5.c
68
_BIG5_init(struct xlocale_ctype *l, _RuneLocale *rl)
lib/libc/locale/big5.c
71
l->__mbrtowc = _BIG5_mbrtowc;
lib/libc/locale/big5.c
72
l->__wcrtomb = _BIG5_wcrtomb;
lib/libc/locale/big5.c
73
l->__mbsnrtowcs = _BIG5_mbsnrtowcs;
lib/libc/locale/big5.c
74
l->__wcsnrtombs = _BIG5_wcsnrtombs;
lib/libc/locale/big5.c
75
l->__mbsinit = _BIG5_mbsinit;
lib/libc/locale/big5.c
76
l->runes = rl;
lib/libc/locale/big5.c
77
l->__mb_cur_max = 2;
lib/libc/locale/big5.c
78
l->__mb_sb_limit = 128;
lib/libc/locale/btowc.c
39
btowc_l(int c, locale_t l)
lib/libc/locale/btowc.c
45
FIX_LOCALE(l);
lib/libc/locale/btowc.c
55
if (XLOCALE_CTYPE(l)->__mbrtowc(&wc, &cc, 1, &mbs) > 1)
lib/libc/locale/collate.c
261
int next, compar, l;
lib/libc/locale/collate.c
273
l = wcsnlen(p->str, COLLATE_STR_LEN);
lib/libc/locale/collate.c
274
compar = wcsncmp(key, p->str, l);
lib/libc/locale/collate.c
276
*len = l;
lib/libc/locale/collate.c
320
int p, l;
lib/libc/locale/collate.c
356
if (((p2 = chainsearch(table, t, &l)) != NULL) &&
lib/libc/locale/collate.c
359
*len = l;
lib/libc/locale/collate.c
756
size_t len, l;
lib/libc/locale/collate.c
770
l = mbrtowc(&w, src, slen, ps);
lib/libc/locale/collate.c
771
if (l == (size_t)-1 || l == (size_t)-2)
lib/libc/locale/collate.c
773
if (l == 0)
lib/libc/locale/collate.c
778
src += l;
lib/libc/locale/collate.c
779
slen -= l;
lib/libc/locale/collate.c
832
size_t len, l;
lib/libc/locale/collate.c
841
l = mbrtowc(&w, src, slen, ps);
lib/libc/locale/collate.c
842
if (l == (size_t)-1 || l == (size_t)-2)
lib/libc/locale/collate.c
844
if (l == 0)
lib/libc/locale/collate.c
849
src += l;
lib/libc/locale/collate.c
850
slen -= l;
lib/libc/locale/collate.c
904
size_t len, l, clen;
lib/libc/locale/collate.c
930
l = mbrtowc(&w, s, sl, ps);
lib/libc/locale/collate.c
931
if (l == (size_t)-1 || l == (size_t)-2 || l == 0)
lib/libc/locale/collate.c
934
s += l;
lib/libc/locale/collate.c
935
clen += l;
lib/libc/locale/collate.c
936
sl -= l;
lib/libc/locale/collate.c
975
l = mbrtowc(&w, src, slen, ps);
lib/libc/locale/collate.c
976
src += l;
lib/libc/locale/collate.c
977
clen += l;
lib/libc/locale/collate.c
978
slen -= l;
lib/libc/locale/euc.c
122
_EUC_CN_init(struct xlocale_ctype *l, _RuneLocale *rl)
lib/libc/locale/euc.c
124
l->__mbrtowc = _EUC_CN_mbrtowc;
lib/libc/locale/euc.c
125
l->__wcrtomb = _EUC_CN_wcrtomb;
lib/libc/locale/euc.c
126
l->__mbsnrtowcs = _EUC_CN_mbsnrtowcs;
lib/libc/locale/euc.c
127
l->__wcsnrtombs = _EUC_CN_wcsnrtombs;
lib/libc/locale/euc.c
128
l->__mbsinit = _EUC_mbsinit;
lib/libc/locale/euc.c
130
l->runes = rl;
lib/libc/locale/euc.c
131
l->__mb_cur_max = 4;
lib/libc/locale/euc.c
132
l->__mb_sb_limit = 128;
lib/libc/locale/euc.c
169
_EUC_KR_init(struct xlocale_ctype *l, _RuneLocale *rl)
lib/libc/locale/euc.c
171
l->__mbrtowc = _EUC_KR_mbrtowc;
lib/libc/locale/euc.c
172
l->__wcrtomb = _EUC_KR_wcrtomb;
lib/libc/locale/euc.c
173
l->__mbsnrtowcs = _EUC_KR_mbsnrtowcs;
lib/libc/locale/euc.c
174
l->__wcsnrtombs = _EUC_KR_wcsnrtombs;
lib/libc/locale/euc.c
175
l->__mbsinit = _EUC_mbsinit;
lib/libc/locale/euc.c
177
l->runes = rl;
lib/libc/locale/euc.c
178
l->__mb_cur_max = 2;
lib/libc/locale/euc.c
179
l->__mb_sb_limit = 128;
lib/libc/locale/euc.c
216
_EUC_JP_init(struct xlocale_ctype *l, _RuneLocale *rl)
lib/libc/locale/euc.c
218
l->__mbrtowc = _EUC_JP_mbrtowc;
lib/libc/locale/euc.c
219
l->__wcrtomb = _EUC_JP_wcrtomb;
lib/libc/locale/euc.c
220
l->__mbsnrtowcs = _EUC_JP_mbsnrtowcs;
lib/libc/locale/euc.c
221
l->__wcsnrtombs = _EUC_JP_wcsnrtombs;
lib/libc/locale/euc.c
222
l->__mbsinit = _EUC_mbsinit;
lib/libc/locale/euc.c
224
l->runes = rl;
lib/libc/locale/euc.c
225
l->__mb_cur_max = 3;
lib/libc/locale/euc.c
226
l->__mb_sb_limit = 128;
lib/libc/locale/euc.c
263
_EUC_TW_init(struct xlocale_ctype *l, _RuneLocale *rl)
lib/libc/locale/euc.c
265
l->__mbrtowc = _EUC_TW_mbrtowc;
lib/libc/locale/euc.c
266
l->__wcrtomb = _EUC_TW_wcrtomb;
lib/libc/locale/euc.c
267
l->__mbsnrtowcs = _EUC_TW_mbsnrtowcs;
lib/libc/locale/euc.c
268
l->__wcsnrtombs = _EUC_TW_wcsnrtombs;
lib/libc/locale/euc.c
269
l->__mbsinit = _EUC_mbsinit;
lib/libc/locale/euc.c
271
l->runes = rl;
lib/libc/locale/euc.c
272
l->__mb_cur_max = 4;
lib/libc/locale/euc.c
273
l->__mb_sb_limit = 128;
lib/libc/locale/gb18030.c
69
_GB18030_init(struct xlocale_ctype *l, _RuneLocale *rl)
lib/libc/locale/gb18030.c
72
l->__mbrtowc = _GB18030_mbrtowc;
lib/libc/locale/gb18030.c
73
l->__wcrtomb = _GB18030_wcrtomb;
lib/libc/locale/gb18030.c
74
l->__mbsinit = _GB18030_mbsinit;
lib/libc/locale/gb18030.c
75
l->__mbsnrtowcs = _GB18030_mbsnrtowcs;
lib/libc/locale/gb18030.c
76
l->__wcsnrtombs = _GB18030_wcsnrtombs;
lib/libc/locale/gb18030.c
77
l->runes = rl;
lib/libc/locale/gb18030.c
78
l->__mb_cur_max = 4;
lib/libc/locale/gb18030.c
79
l->__mb_sb_limit = 128;
lib/libc/locale/gb2312.c
64
_GB2312_init(struct xlocale_ctype *l, _RuneLocale *rl)
lib/libc/locale/gb2312.c
67
l->runes = rl;
lib/libc/locale/gb2312.c
68
l->__mbrtowc = _GB2312_mbrtowc;
lib/libc/locale/gb2312.c
69
l->__wcrtomb = _GB2312_wcrtomb;
lib/libc/locale/gb2312.c
70
l->__mbsinit = _GB2312_mbsinit;
lib/libc/locale/gb2312.c
71
l->__mbsnrtowcs = _GB2312_mbsnrtowcs;
lib/libc/locale/gb2312.c
72
l->__wcsnrtombs = _GB2312_wcsnrtombs;
lib/libc/locale/gb2312.c
73
l->__mb_cur_max = 2;
lib/libc/locale/gb2312.c
74
l->__mb_sb_limit = 128;
lib/libc/locale/gbk.c
70
_GBK_init(struct xlocale_ctype *l, _RuneLocale *rl)
lib/libc/locale/gbk.c
73
l->__mbrtowc = _GBK_mbrtowc;
lib/libc/locale/gbk.c
74
l->__wcrtomb = _GBK_wcrtomb;
lib/libc/locale/gbk.c
75
l->__mbsinit = _GBK_mbsinit;
lib/libc/locale/gbk.c
76
l->__mbsnrtowcs = _GBK_mbsnrtowcs;
lib/libc/locale/gbk.c
77
l->__wcsnrtombs = _GBK_wcsnrtombs;
lib/libc/locale/gbk.c
78
l->runes = rl;
lib/libc/locale/gbk.c
79
l->__mb_cur_max = 2;
lib/libc/locale/gbk.c
80
l->__mb_sb_limit = 128;
lib/libc/locale/lmessages.c
104
if (messages_load_locale(new, &l->using_messages_locale, name) ==
lib/libc/locale/lmessages.c
63
struct xlocale_messages *l = v;
lib/libc/locale/lmessages.c
64
if (l->buffer)
lib/libc/locale/lmessages.c
65
free(l->buffer);
lib/libc/locale/lmessages.c
66
free(l);
lib/libc/locale/lmessages.c
74
struct lc_messages_T *l = &loc->locale;
lib/libc/locale/lmessages.c
79
(const char **)l);
lib/libc/locale/lmessages.c
81
if (l->yesstr == NULL)
lib/libc/locale/lmessages.c
82
l->yesstr = empty;
lib/libc/locale/lmessages.c
83
if (l->nostr == NULL)
lib/libc/locale/lmessages.c
84
l->nostr = empty;
lib/libc/locale/lmessages.c
97
__messages_load(const char *name, locale_t l)
lib/libc/locale/lmonetary.c
101
struct lc_monetary_T *l = &loc->locale;
lib/libc/locale/lmonetary.c
106
(const char **)l);
lib/libc/locale/lmonetary.c
108
l->mon_grouping =
lib/libc/locale/lmonetary.c
109
__fix_locale_grouping_str(l->mon_grouping);
lib/libc/locale/lmonetary.c
111
#define M_ASSIGN_CHAR(NAME) (((char *)l->NAME)[0] = \
lib/libc/locale/lmonetary.c
112
cnv(l->NAME))
lib/libc/locale/lmonetary.c
130
if (l->int_##NAME == NULL) \
lib/libc/locale/lmonetary.c
131
l->int_##NAME = \
lib/libc/locale/lmonetary.c
132
l->NAME; \
lib/libc/locale/lmonetary.c
158
__monetary_load(const char *name, locale_t l)
lib/libc/locale/lmonetary.c
165
if (monetary_load_locale_l(new, &l->using_monetary_locale,
lib/libc/locale/lmonetary.c
166
&l->monetary_locale_changed, name) == _LDP_ERROR) {
lib/libc/locale/lmonetary.c
90
struct xlocale_monetary *l = v;
lib/libc/locale/lmonetary.c
91
if (l->buffer)
lib/libc/locale/lmonetary.c
92
free(l->buffer);
lib/libc/locale/lmonetary.c
93
free(l);
lib/libc/locale/lnumeric.c
102
if (numeric_load_locale(new, &l->using_numeric_locale,
lib/libc/locale/lnumeric.c
103
&l->numeric_locale_changed, name) == _LDP_ERROR) {
lib/libc/locale/lnumeric.c
54
struct xlocale_numeric *l = v;
lib/libc/locale/lnumeric.c
55
if (l->buffer)
lib/libc/locale/lnumeric.c
56
free(l->buffer);
lib/libc/locale/lnumeric.c
57
free(l);
lib/libc/locale/lnumeric.c
67
struct lc_numeric_T *l = &loc->locale;
lib/libc/locale/lnumeric.c
72
(const char**)l);
lib/libc/locale/lnumeric.c
75
if (*l->decimal_point == '\0')
lib/libc/locale/lnumeric.c
76
l->decimal_point =
lib/libc/locale/lnumeric.c
78
l->grouping =
lib/libc/locale/lnumeric.c
79
__fix_locale_grouping_str(l->grouping);
lib/libc/locale/lnumeric.c
95
__numeric_load(const char *name, locale_t l)
lib/libc/locale/mskanji.c
72
_MSKanji_init(struct xlocale_ctype *l, _RuneLocale *rl)
lib/libc/locale/mskanji.c
75
l->__mbrtowc = _MSKanji_mbrtowc;
lib/libc/locale/mskanji.c
76
l->__wcrtomb = _MSKanji_wcrtomb;
lib/libc/locale/mskanji.c
77
l->__mbsnrtowcs = _MSKanji_mbsnrtowcs;
lib/libc/locale/mskanji.c
78
l->__wcsnrtombs = _MSKanji_wcsnrtombs;
lib/libc/locale/mskanji.c
79
l->__mbsinit = _MSKanji_mbsinit;
lib/libc/locale/mskanji.c
80
l->runes = rl;
lib/libc/locale/mskanji.c
81
l->__mb_cur_max = 2;
lib/libc/locale/mskanji.c
82
l->__mb_sb_limit = 224;
lib/libc/locale/none.c
70
_none_init(struct xlocale_ctype *l, _RuneLocale *rl)
lib/libc/locale/none.c
73
l->__mbrtowc = _none_mbrtowc;
lib/libc/locale/none.c
74
l->__mbsinit = _none_mbsinit;
lib/libc/locale/none.c
75
l->__mbsnrtowcs = _none_mbsnrtowcs;
lib/libc/locale/none.c
76
l->__wcrtomb = _none_wcrtomb;
lib/libc/locale/none.c
77
l->__wcsnrtombs = _none_wcsnrtombs;
lib/libc/locale/none.c
78
l->runes = rl;
lib/libc/locale/none.c
79
l->__mb_cur_max = 1;
lib/libc/locale/none.c
80
l->__mb_sb_limit = 256;
lib/libc/locale/setrunelocale.c
105
(void) _none_init(l, (_RuneLocale*)&_DefaultRuneLocale);
lib/libc/locale/setrunelocale.c
120
l->__mbrtowc = NULL;
lib/libc/locale/setrunelocale.c
121
l->__mbsinit = NULL;
lib/libc/locale/setrunelocale.c
122
l->__mbsnrtowcs = NULL;
lib/libc/locale/setrunelocale.c
123
l->__wcrtomb = NULL;
lib/libc/locale/setrunelocale.c
124
l->__wcsnrtombs = NULL;
lib/libc/locale/setrunelocale.c
129
ret = _ascii_init(l, rl);
lib/libc/locale/setrunelocale.c
131
ret = _none_init(l, rl);
lib/libc/locale/setrunelocale.c
133
ret = _UTF8_init(l, rl);
lib/libc/locale/setrunelocale.c
135
ret = _EUC_CN_init(l, rl);
lib/libc/locale/setrunelocale.c
137
ret = _EUC_JP_init(l, rl);
lib/libc/locale/setrunelocale.c
139
ret = _EUC_KR_init(l, rl);
lib/libc/locale/setrunelocale.c
141
ret = _EUC_TW_init(l, rl);
lib/libc/locale/setrunelocale.c
143
ret = _GB18030_init(l, rl);
lib/libc/locale/setrunelocale.c
145
ret = _GB2312_init(l, rl);
lib/libc/locale/setrunelocale.c
147
ret = _GBK_init(l, rl);
lib/libc/locale/setrunelocale.c
149
ret = _BIG5_init(l, rl);
lib/libc/locale/setrunelocale.c
151
ret = _MSKanji_init(l, rl);
lib/libc/locale/setrunelocale.c
159
memset(&l->c16rtomb, 0, sizeof(l->c16rtomb));
lib/libc/locale/setrunelocale.c
160
memset(&l->c32rtomb, 0, sizeof(l->c32rtomb));
lib/libc/locale/setrunelocale.c
161
memset(&l->mblen, 0, sizeof(l->mblen));
lib/libc/locale/setrunelocale.c
162
memset(&l->mbrlen, 0, sizeof(l->mbrlen));
lib/libc/locale/setrunelocale.c
163
memset(&l->mbrtoc16, 0, sizeof(l->mbrtoc16));
lib/libc/locale/setrunelocale.c
164
memset(&l->mbrtoc32, 0, sizeof(l->mbrtoc32));
lib/libc/locale/setrunelocale.c
165
memset(&l->mbrtowc, 0, sizeof(l->mbrtowc));
lib/libc/locale/setrunelocale.c
166
memset(&l->mbsnrtowcs, 0, sizeof(l->mbsnrtowcs));
lib/libc/locale/setrunelocale.c
167
memset(&l->mbsrtowcs, 0, sizeof(l->mbsrtowcs));
lib/libc/locale/setrunelocale.c
168
memset(&l->mbtowc, 0, sizeof(l->mbtowc));
lib/libc/locale/setrunelocale.c
169
memset(&l->wcrtomb, 0, sizeof(l->wcrtomb));
lib/libc/locale/setrunelocale.c
170
memset(&l->wcsnrtombs, 0, sizeof(l->wcsnrtombs));
lib/libc/locale/setrunelocale.c
171
memset(&l->wcsrtombs, 0, sizeof(l->wcsrtombs));
lib/libc/locale/setrunelocale.c
172
memset(&l->wctomb, 0, sizeof(l->wctomb));
lib/libc/locale/setrunelocale.c
175
memcpy(l, &saved, sizeof(struct xlocale_ctype));
lib/libc/locale/setrunelocale.c
213
struct xlocale_ctype *l = calloc(sizeof(struct xlocale_ctype), 1);
lib/libc/locale/setrunelocale.c
214
if (l == NULL)
lib/libc/locale/setrunelocale.c
217
l->header.header.destructor = destruct_ctype;
lib/libc/locale/setrunelocale.c
218
if (__setrunelocale(l, locale)) {
lib/libc/locale/setrunelocale.c
219
free(l);
lib/libc/locale/setrunelocale.c
222
return (l);
lib/libc/locale/setrunelocale.c
65
static int __setrunelocale(struct xlocale_ctype *l, const char *);
lib/libc/locale/setrunelocale.c
70
struct xlocale_ctype *l = v;
lib/libc/locale/setrunelocale.c
72
if (&_DefaultRuneLocale != l->runes)
lib/libc/locale/setrunelocale.c
73
free(l->runes);
lib/libc/locale/setrunelocale.c
74
free(l);
lib/libc/locale/setrunelocale.c
93
__setrunelocale(struct xlocale_ctype *l, const char *encoding)
lib/libc/locale/setrunelocale.c
98
struct xlocale_ctype saved = *l;
lib/libc/locale/tolower.c
47
___tolower_l(__ct_rune_t c, locale_t l)
lib/libc/locale/tolower.c
50
FIX_LOCALE(l);
lib/libc/locale/tolower.c
51
_RuneRange *rr = &XLOCALE_CTYPE(l)->runes->__maplower_ext;
lib/libc/locale/toupper.c
47
___toupper_l(__ct_rune_t c, locale_t l)
lib/libc/locale/toupper.c
50
FIX_LOCALE(l);
lib/libc/locale/toupper.c
51
_RuneRange *rr = &XLOCALE_CTYPE(l)->runes->__mapupper_ext;
lib/libc/locale/utf8.c
65
_UTF8_init(struct xlocale_ctype *l, _RuneLocale *rl)
lib/libc/locale/utf8.c
68
l->__mbrtowc = _UTF8_mbrtowc;
lib/libc/locale/utf8.c
69
l->__wcrtomb = _UTF8_wcrtomb;
lib/libc/locale/utf8.c
70
l->__mbsinit = _UTF8_mbsinit;
lib/libc/locale/utf8.c
71
l->__mbsnrtowcs = _UTF8_mbsnrtowcs;
lib/libc/locale/utf8.c
72
l->__wcsnrtombs = _UTF8_wcsnrtombs;
lib/libc/locale/utf8.c
73
l->runes = rl;
lib/libc/locale/utf8.c
74
l->__mb_cur_max = 4;
lib/libc/locale/utf8.c
80
l->__mb_sb_limit = 128;
lib/libc/locale/xlocale.c
150
locale_t l = (loc == LC_GLOBAL_LOCALE) ? 0 : loc;
lib/libc/locale/xlocale.c
154
if (NULL != l) {
lib/libc/locale/xlocale.c
155
xlocale_retain((struct xlocale_refcounted*)l);
lib/libc/locale/xlocale.c
158
if ((NULL != old) && (l != old)) {
lib/libc/locale/xlocale.c
162
thread_local_locale = l;
lib/libc/locale/xlocale.c
164
pthread_setspecific(locale_info_key, l);
lib/libc/locale/xlocale.c
166
__thread_locale = l;
lib/libc/locale/xlocale.c
175
destruct_locale(void *l)
lib/libc/locale/xlocale.c
177
locale_t loc = l;
lib/libc/locale/xlocale.c
187
free(l);
lib/libc/locale/xlocale_private.h
224
#define FIX_LOCALE(l) (l = get_real_locale(l))
lib/libc/nameser/ns_name.c
101
int l;
lib/libc/nameser/ns_name.c
1134
u_char l = *lp;
lib/libc/nameser/ns_name.c
1136
if ((l & NS_CMPRSFLGS) == NS_CMPRSFLGS) {
lib/libc/nameser/ns_name.c
1141
if ((l & NS_CMPRSFLGS) == NS_TYPE_ELT) {
lib/libc/nameser/ns_name.c
1142
if (l == DNS_LABELTYPE_BITSTRING) {
lib/libc/nameser/ns_name.c
1149
return (l);
lib/libc/nameser/ns_name.c
120
if ((l = labellen(cp - 1)) < 0) {
lib/libc/nameser/ns_name.c
124
if (dn + l >= eom) {
lib/libc/nameser/ns_name.c
144
for ((void)NULL; l > 0; l--) {
lib/libc/nameser/ns_name.c
358
int l;
lib/libc/nameser/ns_name.c
375
if ((l = labellen(cp - 1)) < 0) {
lib/libc/nameser/ns_name.c
379
if (dn + l >= eom) {
lib/libc/nameser/ns_name.c
383
for ((void)NULL; l > 0; l--) {
lib/libc/nameser/ns_name.c
422
int n, len, checked, l;
lib/libc/nameser/ns_name.c
440
if ((l = labellen(srcp - 1)) < 0) {
lib/libc/nameser/ns_name.c
444
if (dstp + l + 1 >= dstlim || srcp + l >= eom) {
lib/libc/nameser/ns_name.c
448
checked += l + 1;
lib/libc/nameser/ns_name.c
450
memcpy(dstp, srcp, l);
lib/libc/nameser/ns_name.c
451
dstp += l;
lib/libc/nameser/ns_name.c
452
srcp += l;
lib/libc/nameser/ns_name.c
462
l = ((n & 0x3f) << 8) | (*srcp & 0xff);
lib/libc/nameser/ns_name.c
463
if (l >= eom - msg) { /*%< Out of range. */
lib/libc/nameser/ns_name.c
467
srcp = msg + l;
lib/libc/nameser/ns_name.c
519
int n, l, first = 1;
lib/libc/nameser/ns_name.c
535
l = 0;
lib/libc/nameser/ns_name.c
548
l += l0 + 1;
lib/libc/nameser/ns_name.c
549
if (l > MAXCDNAME) {
lib/libc/nameser/ns_name.c
562
l = dn_find(srcp, msg, (const u_char * const *)dnptrs,
lib/libc/nameser/ns_name.c
564
if (l >= 0) {
lib/libc/nameser/ns_name.c
568
*dstp++ = (l >> 8) | NS_CMPRSFLGS;
lib/libc/nameser/ns_name.c
569
*dstp++ = l % 256;
lib/libc/nameser/ns_name.c
681
int l = 0;
lib/libc/nameser/ns_name.c
691
if (cp < eom && (l = labellen(cp - 1)) < 0) {
lib/libc/nameser/ns_name.c
695
cp += l;
lib/libc/nameser/ns_name.c
790
int l;
lib/libc/nameser/ns_name.c
818
l = ns_name_map(nname + n, namelen - n, map, mapsize);
lib/libc/nameser/ns_name.c
819
if (l < 0)
lib/libc/nameser/ns_name.c
823
if (l >= mapsize) {
lib/libc/nameser/ns_name.c
829
map[l].base = nname;
lib/libc/nameser/ns_name.c
830
map[l].len = n;
lib/libc/nameser/ns_name.c
831
return (l + 1);
lib/libc/nameser/ns_print.c
740
u_int t, w, l, j, k, c;
lib/libc/nameser/ns_print.c
836
l = *rdata++;
lib/libc/nameser/ns_print.c
837
for (j = 0; j < l; j++) {
lib/libc/nameser/ns_print.c
848
rdata += l;
lib/libc/nameser/ns_print.c
854
u_int w, l, j, k, c;
lib/libc/nameser/ns_print.c
860
l = *rdata++;
lib/libc/nameser/ns_print.c
861
for (j = 0; j < l; j++) {
lib/libc/nameser/ns_print.c
872
rdata += l;
lib/libc/net/ether_addr.c
67
ether_line(const char *l, struct ether_addr *e, char *hostname)
lib/libc/net/ether_addr.c
71
i = sscanf(l, "%x:%x:%x:%x:%x:%x %s", &o[0], &o[1], &o[2], &o[3],
lib/libc/net/eui64.c
86
static int eui64_line(const char *l, struct eui64 *e, char *hostname,
lib/libc/net/eui64.c
94
eui64_line(const char *l, struct eui64 *e, char *hostname, size_t len)
lib/libc/net/eui64.c
98
linehead = strdup(l);
lib/libc/net/getaddrinfo.c
1447
size_t l;
lib/libc/net/getaddrinfo.c
1449
l = sizeof(*ai) + pai->ai_addrlen;
lib/libc/net/getaddrinfo.c
1450
if ((ai = calloc(1, l)) == NULL)
lib/libc/net/getaddrinfo.c
1457
l = strlen(pai->ai_canonname) + 1;
lib/libc/net/getaddrinfo.c
1458
if ((ai->ai_canonname = malloc(l)) == NULL) {
lib/libc/net/getaddrinfo.c
1462
strlcpy(ai->ai_canonname, pai->ai_canonname, l);
lib/libc/net/getaddrinfo.c
733
size_t l;
lib/libc/net/getaddrinfo.c
737
if (sysctl(mib, nitems(mib), NULL, &l, NULL, 0) < 0)
lib/libc/net/getaddrinfo.c
739
if (l == 0)
lib/libc/net/getaddrinfo.c
741
if ((buf = malloc(l)) == NULL)
lib/libc/net/getaddrinfo.c
743
if (sysctl(mib, nitems(mib), buf, &l, NULL, 0) < 0) {
lib/libc/net/getaddrinfo.c
748
ep = (struct in6_addrpolicy *)(buf + l);
lib/libc/net/getprotoent.c
361
long l;
lib/libc/net/getprotoent.c
383
l = strtol(cp, &endp, 10);
lib/libc/net/getprotoent.c
384
if (endp == cp || *endp != '\0' || l < 0 || l > USHRT_MAX)
lib/libc/net/getprotoent.c
386
pe->p_proto = l;
lib/libc/net/getservent.c
166
long l;
lib/libc/net/getservent.c
189
l = strtol(p, &endp, 10);
lib/libc/net/getservent.c
190
if (endp == p || *endp != '\0' || l < 0 || l > USHRT_MAX)
lib/libc/net/getservent.c
192
serv->s_port = htons((in_port_t)l);
lib/libc/net/name6.c
735
size_t l;
lib/libc/net/name6.c
739
if (sysctl(mib, nitems(mib), NULL, &l, NULL, 0) < 0)
lib/libc/net/name6.c
741
if ((buf = malloc(l)) == NULL)
lib/libc/net/name6.c
743
if (sysctl(mib, nitems(mib), buf, &l, NULL, 0) < 0) {
lib/libc/net/name6.c
748
ep = (struct in6_addrpolicy *)(buf + l);
lib/libc/net/sctp_sys_calls.c
694
socklen_t l;
lib/libc/net/sctp_sys_calls.c
701
l = addrs->sa_len;
lib/libc/net/sctp_sys_calls.c
703
msg, msg_len, addrs, l, sinfo, flags);
lib/libc/nls/msgcat.c
280
int i, l, r, u;
lib/libc/nls/msgcat.c
293
l = 0;
lib/libc/nls/msgcat.c
295
while (l <= u) {
lib/libc/nls/msgcat.c
296
i = (l + u) / 2;
lib/libc/nls/msgcat.c
305
l = ntohl((u_int32_t)set_hdr[i].__index);
lib/libc/nls/msgcat.c
306
u = l + ntohl((u_int32_t)set_hdr[i].__nmsgs) - 1;
lib/libc/nls/msgcat.c
307
while (l <= u) {
lib/libc/nls/msgcat.c
308
i = (l + u) / 2;
lib/libc/nls/msgcat.c
321
l = i + 1;
lib/libc/nls/msgcat.c
331
l = i + 1;
lib/libc/nls/msgcat.c
81
#define SAVEFAIL(n, l, e) { np = calloc(1, sizeof(struct catentry)); \
lib/libc/nls/msgcat.c
85
np->lang = (l == NULL) ? NULL : \
lib/libc/nls/msgcat.c
86
strdup(l); \
lib/libc/nls/msgcat.c
89
(l != NULL && np->lang == NULL)) { \
lib/libc/posix1e/acl_from_text.c
277
unsigned long l;
lib/libc/posix1e/acl_from_text.c
284
l = strtoul(name, &endp, 0);
lib/libc/posix1e/acl_from_text.c
285
if (*endp != '\0' || l != (unsigned long)(uid_t)l) {
lib/libc/posix1e/acl_from_text.c
289
*id = (uid_t)l;
lib/libc/posix1e/acl_from_text.c
298
l = strtoul(name, &endp, 0);
lib/libc/posix1e/acl_from_text.c
299
if (*endp != '\0' || l != (unsigned long)(gid_t)l) {
lib/libc/posix1e/acl_from_text.c
303
*id = (gid_t)l;
lib/libc/powerpc/gen/syncicache.c
76
int l, off;
lib/libc/powerpc/gen/syncicache.c
85
l = len += off;
lib/libc/powerpc/gen/syncicache.c
91
} while ((l -= cacheline_size) > 0);
lib/libc/powerpc64/gen/syncicache.c
76
off_t l, off;
lib/libc/powerpc64/gen/syncicache.c
85
l = len += off;
lib/libc/powerpc64/gen/syncicache.c
91
} while ((l -= cacheline_size) > 0);
lib/libc/rpc/svc_generic.c
101
if (svc_reg(l->xprt, prognum, versnum,
lib/libc/rpc/svc_generic.c
112
if (l == NULL) {
lib/libc/rpc/svc_generic.c
116
l = (struct xlist *)malloc(sizeof (*l));
lib/libc/rpc/svc_generic.c
117
if (l == NULL) {
lib/libc/rpc/svc_generic.c
123
l->xprt = xprt;
lib/libc/rpc/svc_generic.c
124
l->next = xprtlist;
lib/libc/rpc/svc_generic.c
125
xprtlist = l;
lib/libc/rpc/svc_generic.c
82
} *l;
lib/libc/rpc/svc_generic.c
97
for (l = xprtlist; l; l = l->next) {
lib/libc/rpc/svc_generic.c
98
if (strcmp(l->xprt->xp_netid, nconf->nc_netid) == 0) {
lib/libc/stdio/fgetwc.c
79
struct xlocale_ctype *l = XLOCALE_CTYPE(locale);
lib/libc/stdio/fgetwc.c
85
nconv = l->__mbrtowc(&wc, fp->_p, fp->_r, mbs);
lib/libc/stdio/fgetws.c
104
if (!l->__mbsinit(&fp->_mbstate)) {
lib/libc/stdio/fgetws.c
53
struct xlocale_ctype *l = XLOCALE_CTYPE(locale);
lib/libc/stdio/fgetws.c
76
nconv = l->__mbsnrtowcs(wsp, &src,
lib/libc/stdio/fputwc.c
53
struct xlocale_ctype *l = XLOCALE_CTYPE(locale);
lib/libc/stdio/fputwc.c
55
if ((len = l->__wcrtomb(buf, wc, &fp->_mbstate)) == (size_t)-1) {
lib/libc/stdio/fputws.c
54
struct xlocale_ctype *l = XLOCALE_CTYPE(locale);
lib/libc/stdio/fputws.c
67
nbytes = l->__wcsnrtombs(buf, &wsp, SIZE_T_MAX, sizeof(buf),
lib/libc/stdio/ungetwc.c
54
struct xlocale_ctype *l = XLOCALE_CTYPE(locale);
lib/libc/stdio/ungetwc.c
58
if ((len = l->__wcrtomb(buf, wc, &fp->_mbstate)) == (size_t)-1) {
lib/libc/stdio/xprintf_hexdump.c
52
unsigned u, l, j, a;
lib/libc/stdio/xprintf_hexdump.c
57
l = pi->width;
lib/libc/stdio/xprintf_hexdump.c
59
l = 16;
lib/libc/stdio/xprintf_hexdump.c
72
for (j = 0; j < l && j < u; j++)
lib/libc/stdio/xprintf_hexdump.c
75
for (; j < l; j++)
lib/libc/stdio/xprintf_hexdump.c
78
for (j = 0; j < l && j < u; j++) {
lib/libc/stdio/xprintf_hexdump.c
84
for (; j < l; j++)
lib/libc/stdio/xprintf_hexdump.c
88
if (l < u)
lib/libc/stdio/xprintf_hexdump.c
89
j = l;
lib/libc/stdio/xprintf_int.c
262
int l, ngrp, rdx, sign, zext;
lib/libc/stdio/xprintf_int.c
354
l = 0;
lib/libc/stdio/xprintf_int.c
376
l += 2;
lib/libc/stdio/xprintf_int.c
379
l += pe - p;
lib/libc/stdio/xprintf_int.c
381
l++;
lib/libc/stdio/xprintf_int.c
392
else if (pi->pad == '0' && pi->width > l && !pi->left)
lib/libc/stdio/xprintf_int.c
393
zext = pi->width - l;
lib/libc/stdio/xprintf_int.c
397
l += zext;
lib/libc/stdio/xprintf_int.c
404
if (l < BUF) {
lib/libc/stdio/xprintf_int.c
412
l = pi->width - (pe - p);
lib/libc/stdio/xprintf_int.c
413
while (l > 0 && p > buf) {
lib/libc/stdio/xprintf_int.c
415
l--;
lib/libc/stdio/xprintf_int.c
417
if (l)
lib/libc/stdio/xprintf_int.c
418
ret += __printf_pad(io, l, 0);
lib/libc/stdio/xprintf_int.c
421
if (!pi->left && pi->width > l)
lib/libc/stdio/xprintf_int.c
422
ret += __printf_pad(io, pi->width - l, 0);
lib/libc/stdio/xprintf_str.c
126
int l;
lib/libc/stdio/xprintf_str.c
135
l = __printf_out(io, pi, convbuf, strlen(convbuf));
lib/libc/stdio/xprintf_str.c
137
return (l);
lib/libc/stdio/xprintf_str.c
142
l = strlen(p);
lib/libc/stdio/xprintf_str.c
143
if (pi->prec >= 0 && pi->prec < l)
lib/libc/stdio/xprintf_str.c
144
l = pi->prec;
lib/libc/stdio/xprintf_str.c
145
return (__printf_out(io, pi, p, l));
lib/libc/stdio/xprintf_vis.c
52
unsigned l;
lib/libc/stdio/xprintf_vis.c
60
l = pi->prec;
lib/libc/stdio/xprintf_vis.c
62
l = strlen(p);
lib/libc/stdio/xprintf_vis.c
63
buf = malloc(l * 4 + 1);
lib/libc/stdio/xprintf_vis.c
67
ret = strvisx(buf, p, l, VIS_WHITE | VIS_HTTPSTYLE);
lib/libc/stdio/xprintf_vis.c
69
ret = strvisx(buf, p, l, VIS_WHITE | VIS_OCTAL);
lib/libc/stdio/xprintf_vis.c
71
ret = strvisx(buf, p, l, VIS_WHITE);
lib/libc/stdio/xprintf_vis.c
73
ret = strvisx(buf, p, l, VIS_WHITE | VIS_CSTYLE | VIS_OCTAL);
lib/libc/stdlib/heapsort.c
159
size_t cnt, i, j, l;
lib/libc/stdlib/heapsort.c
180
for (l = nmemb / 2 + 1; --l;)
lib/libc/stdlib/heapsort.c
181
CREATE(l, nmemb, i, j, t, p, size, cnt, tmp);
lib/libc/stdlib/malloc/jemalloc/include/jemalloc/internal/jemalloc_preamble.h
10
# define UTRACE_CALL(p, l) utrace(p, l)
lib/libc/stdlib/malloc/jemalloc/include/jemalloc/internal/jemalloc_preamble.h
12
# define UTRACE_CALL(p, l) utrace("jemalloc_process", p, l)
lib/libc/stdtime/timelocal.c
112
struct xlocale_time *l = v;
lib/libc/stdtime/timelocal.c
113
if (l->buffer)
lib/libc/stdtime/timelocal.c
114
free(l->buffer);
lib/libc/stdtime/timelocal.c
115
free(l);
lib/libc/stdtime/timelocal.c
128
time_load_locale(struct xlocale_time *l, int *using_locale, const char *name)
lib/libc/stdtime/timelocal.c
130
struct lc_time_T *time_locale = &l->locale;
lib/libc/stdtime/timelocal.c
132
&l->buffer, "LC_TIME",
lib/libc/string/memmem.c
114
while (jp + k < l) {
lib/libc/string/memmem.c
138
p = MAX(ms, l - ms - 1) + 1;
lib/libc/string/memmem.c
140
mem0 = l - p;
lib/libc/string/memmem.c
146
if (z - h < l)
lib/libc/string/memmem.c
150
if (BITOP(byteset, h[l - 1], &)) {
lib/libc/string/memmem.c
151
k = l - shift[h[l - 1]];
lib/libc/string/memmem.c
160
h += l;
lib/libc/string/memmem.c
166
for (k = MAX(ms + 1, mem); k < l && n[k] == h[k]; k++)
lib/libc/string/memmem.c
168
if (k < l) {
lib/libc/string/memmem.c
184
memmem(const void *h0, size_t k, const void *n0, size_t l)
lib/libc/string/memmem.c
189
if (!l)
lib/libc/string/memmem.c
193
if (k < l)
lib/libc/string/memmem.c
198
if (!h || l == 1)
lib/libc/string/memmem.c
201
if (k < l)
lib/libc/string/memmem.c
203
if (l == 2)
lib/libc/string/memmem.c
205
if (l == 3)
lib/libc/string/memmem.c
207
if (l == 4)
lib/libc/string/memmem.c
210
return twoway_memmem(h, h + k, n, l);
lib/libc/string/memmem.c
77
const unsigned char *n, size_t l)
lib/libc/string/memmem.c
84
for (i = 0; i < l; i++)
lib/libc/string/memmem.c
91
while (jp + k < l) {
lib/libc/string/strstr.c
113
while (jp + k < l) {
lib/libc/string/strstr.c
137
p = MAX(ms, l - ms - 1) + 1;
lib/libc/string/strstr.c
139
mem0 = l - p;
lib/libc/string/strstr.c
148
if (z - h < l) {
lib/libc/string/strstr.c
150
size_t grow = l | 63;
lib/libc/string/strstr.c
154
if (z - h < l)
lib/libc/string/strstr.c
161
if (BITOP(byteset, h[l - 1], &)) {
lib/libc/string/strstr.c
162
k = l - shift[h[l - 1]];
lib/libc/string/strstr.c
171
h += l;
lib/libc/string/strstr.c
76
size_t l, ip, jp, k, p, ms, p0, mem, mem0;
lib/libc/string/strstr.c
81
for (l = 0; n[l] && h[l]; l++)
lib/libc/string/strstr.c
82
BITOP(byteset, n[l], |=), shift[n[l]] = l + 1;
lib/libc/string/strstr.c
83
if (n[l])
lib/libc/string/strstr.c
90
while (jp + k < l) {
lib/libc/string/wcswidth.c
52
int len, l;
lib/libc/string/wcswidth.c
57
if ((l = wcwidth_l(wc, locale)) < 0)
lib/libc/string/wcswidth.c
59
len += l;
lib/libc/tests/string/memrchr_test.c
55
size_t i, j, k, l;
lib/libc/tests/string/memrchr_test.c
64
for (l = 0; l <= k; l++) {
lib/libc/tests/string/memrchr_test.c
66
do_found_test(buf + i + 1, j, l, k);
lib/libc/tests/string/strcspn_test.c
214
size_t i, j, k, l, outcome;
lib/libc/tests/string/strcspn_test.c
227
for (l = k + 1; l < buflen; l++) {
lib/libc/tests/string/strcspn_test.c
229
buf[l] = set[j];
lib/libc/tests/string/strcspn_test.c
235
buf[l] = '-';
lib/libc/tests/string/strrchr_test.c
86
size_t i, j, k, l;
lib/libc/tests/string/strrchr_test.c
95
for (l = 0; l <= k; l++) {
lib/libc/tests/string/strrchr_test.c
98
do_found_test(buf + i + 1, l, k);
lib/libc/xdr/xdr.c
103
l = (long) *ip;
lib/libc/xdr/xdr.c
104
return (XDR_PUTLONG(xdrs, &l));
lib/libc/xdr/xdr.c
107
if (!XDR_GETLONG(xdrs, &l)) {
lib/libc/xdr/xdr.c
110
*ip = (int) l;
lib/libc/xdr/xdr.c
126
u_long l;
lib/libc/xdr/xdr.c
131
l = (u_long) *up;
lib/libc/xdr/xdr.c
132
return (XDR_PUTLONG(xdrs, (long *)&l));
lib/libc/xdr/xdr.c
135
if (!XDR_GETLONG(xdrs, (long *)&l)) {
lib/libc/xdr/xdr.c
138
*up = (u_int) l;
lib/libc/xdr/xdr.c
195
long l;
lib/libc/xdr/xdr.c
200
l = (long) *int32_p;
lib/libc/xdr/xdr.c
201
return (XDR_PUTLONG(xdrs, &l));
lib/libc/xdr/xdr.c
204
if (!XDR_GETLONG(xdrs, &l)) {
lib/libc/xdr/xdr.c
207
*int32_p = (int32_t) l;
lib/libc/xdr/xdr.c
224
u_long l;
lib/libc/xdr/xdr.c
229
l = (u_long) *u_int32_p;
lib/libc/xdr/xdr.c
230
return (XDR_PUTLONG(xdrs, (long *)&l));
lib/libc/xdr/xdr.c
233
if (!XDR_GETLONG(xdrs, (long *)&l)) {
lib/libc/xdr/xdr.c
236
*u_int32_p = (u_int32_t) l;
lib/libc/xdr/xdr.c
253
u_long l;
lib/libc/xdr/xdr.c
258
l = (u_long) *u_int32_p;
lib/libc/xdr/xdr.c
259
return (XDR_PUTLONG(xdrs, (long *)&l));
lib/libc/xdr/xdr.c
262
if (!XDR_GETLONG(xdrs, (long *)&l)) {
lib/libc/xdr/xdr.c
265
*u_int32_p = (u_int32_t) l;
lib/libc/xdr/xdr.c
281
long l;
lib/libc/xdr/xdr.c
286
l = (long) *sp;
lib/libc/xdr/xdr.c
287
return (XDR_PUTLONG(xdrs, &l));
lib/libc/xdr/xdr.c
290
if (!XDR_GETLONG(xdrs, &l)) {
lib/libc/xdr/xdr.c
293
*sp = (short) l;
lib/libc/xdr/xdr.c
309
u_long l;
lib/libc/xdr/xdr.c
314
l = (u_long) *usp;
lib/libc/xdr/xdr.c
315
return (XDR_PUTLONG(xdrs, (long *)&l));
lib/libc/xdr/xdr.c
318
if (!XDR_GETLONG(xdrs, (long *)&l)) {
lib/libc/xdr/xdr.c
321
*usp = (u_short) l;
lib/libc/xdr/xdr.c
338
long l;
lib/libc/xdr/xdr.c
343
l = (long) *int16_p;
lib/libc/xdr/xdr.c
344
return (XDR_PUTLONG(xdrs, &l));
lib/libc/xdr/xdr.c
347
if (!XDR_GETLONG(xdrs, &l)) {
lib/libc/xdr/xdr.c
350
*int16_p = (int16_t) l;
lib/libc/xdr/xdr.c
366
u_long l;
lib/libc/xdr/xdr.c
371
l = (u_long) *u_int16_p;
lib/libc/xdr/xdr.c
372
return (XDR_PUTLONG(xdrs, (long *)&l));
lib/libc/xdr/xdr.c
375
if (!XDR_GETLONG(xdrs, (long *)&l)) {
lib/libc/xdr/xdr.c
378
*u_int16_p = (u_int16_t) l;
lib/libc/xdr/xdr.c
394
u_long l;
lib/libc/xdr/xdr.c
399
l = (u_long) *u_int16_p;
lib/libc/xdr/xdr.c
400
return (XDR_PUTLONG(xdrs, (long *)&l));
lib/libc/xdr/xdr.c
403
if (!XDR_GETLONG(xdrs, (long *)&l)) {
lib/libc/xdr/xdr.c
406
*u_int16_p = (u_int16_t) l;
lib/libc/xdr/xdr.c
98
long l;
lib/libc/xdr/xdr_mem.c
140
u_int32_t l;
lib/libc/xdr/xdr_mem.c
145
memmove(&l, xdrs->x_private, sizeof(int32_t));
lib/libc/xdr/xdr_mem.c
146
*lp = ntohl(l);
lib/libc/xdr/xdr_mem.c
154
u_int32_t l;
lib/libc/xdr/xdr_mem.c
159
l = htonl((u_int32_t)*lp);
lib/libc/xdr/xdr_mem.c
160
memmove(xdrs->x_private, &l, sizeof(int32_t));
lib/libcalendar/easter.c
40
int c, i, j, k, l, n;
lib/libcalendar/easter.c
48
l = i - j;
lib/libcalendar/easter.c
49
dt->m = 3 + (l + 40) / 44;
lib/libcalendar/easter.c
50
dt->d = l + 28 - 31*(dt->m / 4);
lib/libcrypt/crypt-md5.c
129
l = (final[ 0]<<16) | (final[ 6]<<8) | final[12];
lib/libcrypt/crypt-md5.c
130
_crypt_to64(buffer, l, 4); buffer += 4;
lib/libcrypt/crypt-md5.c
131
l = (final[ 1]<<16) | (final[ 7]<<8) | final[13];
lib/libcrypt/crypt-md5.c
132
_crypt_to64(buffer, l, 4); buffer += 4;
lib/libcrypt/crypt-md5.c
133
l = (final[ 2]<<16) | (final[ 8]<<8) | final[14];
lib/libcrypt/crypt-md5.c
134
_crypt_to64(buffer, l, 4); buffer += 4;
lib/libcrypt/crypt-md5.c
135
l = (final[ 3]<<16) | (final[ 9]<<8) | final[15];
lib/libcrypt/crypt-md5.c
136
_crypt_to64(buffer, l, 4); buffer += 4;
lib/libcrypt/crypt-md5.c
137
l = (final[ 4]<<16) | (final[10]<<8) | final[ 5];
lib/libcrypt/crypt-md5.c
138
_crypt_to64(buffer, l, 4); buffer += 4;
lib/libcrypt/crypt-md5.c
139
l = final[11];
lib/libcrypt/crypt-md5.c
140
_crypt_to64(buffer, l, 2); buffer += 2;
lib/libcrypt/crypt-md5.c
48
unsigned long l;
lib/libefivar/uefi-dplib.h
494
#define CopyMem(d, s, l) memcpy(d, s, l)
lib/libefivar/uefi-dplib.h
509
#define StrCpyS(d, l, s) strcpy(d, s)
lib/libefivar/uefi-dplib.h
514
#define StrnCatS(d, l, s, len) strncat(d, s, len)
lib/libefivar/uefi-dplib.h
521
#define ZeroMem(p,l) memset(p, 0, l)
lib/libefivar/uefi-dplib.h
538
AllocateCopyPool(size_t l, const void *p)
lib/libefivar/uefi-dplib.h
542
rv = malloc(l);
lib/libefivar/uefi-dplib.h
545
memcpy(rv, p, l);
lib/libfetch/common.c
760
fetch_ssl_is_trad_domain_label(const char *l, size_t len, int wcok)
lib/libfetch/common.c
764
if (!len || l[0] == '-' || l[len-1] == '-')
lib/libfetch/common.c
767
if (!isdigit(l[i]) &&
lib/libfetch/common.c
768
!fetch_ssl_isalpha(l[i]) &&
lib/libfetch/common.c
769
!(l[i] == '*' && wcok) &&
lib/libfetch/common.c
770
!(l[i] == '-' && l[i - 1] != '-'))
lib/libfetch/file.c
128
int l;
lib/libfetch/file.c
140
l = sizeof(fn) - strlen(fn) - 1;
lib/libfetch/file.c
143
strncpy(p, de->d_name, l - 1);
lib/libfetch/file.c
144
p[l - 1] = 0;
lib/libfetch/ftp.c
629
socklen_t l;
lib/libfetch/ftp.c
650
l = sizeof(sa);
lib/libfetch/ftp.c
651
if (getsockname(conn->sd, (struct sockaddr *)&sa, &l) == -1)
lib/libfetch/ftp.c
704
l = (e == FTP_PASSIVE_MODE ? 6 : 21);
lib/libfetch/ftp.c
705
for (i = 0; *p && i < l; i++, p++) {
lib/libfetch/ftp.c
707
if (*p == '\0' && i < l - 1)
lib/libfetch/ftp.c
710
if (i < l) {
lib/libfetch/ftp.c
739
l = sizeof(sa);
lib/libfetch/ftp.c
740
if (getpeername(conn->sd, (struct sockaddr *)&sa, &l) == -1)
lib/libfetch/ftp.c
818
if (getsockname(sd, (struct sockaddr *)&sa, &l) == -1)
lib/libfetch/http.c
713
size_t l;
lib/libfetch/http.c
732
l = strcspn(*cpp, " \t,=");
lib/libfetch/http.c
733
memcpy(buf, *cpp, l);
lib/libfetch/http.c
734
buf[l] = 0;
lib/libfetch/http.c
735
*cpp += l;
lib/libfetch/http.c
976
size_t l;
lib/libfetch/http.c
979
l = strlen(src);
lib/libfetch/http.c
980
if ((str = malloc(((l + 2) / 3) * 4 + 1)) == NULL)
lib/libfetch/http.c
984
while (l >= 3) {
lib/libfetch/http.c
990
src += 3; l -= 3;
lib/libfetch/http.c
994
switch (l) {
lib/libgeom/geom_getxml.c
63
size_t l = 0;
lib/libgeom/geom_getxml.c
71
if (sysctl(mib, sizep, NULL, &l, NULL, 0) != 0)
lib/libgeom/geom_getxml.c
73
l += GEOM_GETXML_SLACK;
lib/libgeom/geom_getxml.c
76
p = malloc(l);
lib/libgeom/geom_getxml.c
79
if (sysctl(mib, sizep, p, &l, NULL, 0) == 0)
lib/libgeom/geom_getxml.c
91
l *= 2;
lib/libiconv_modules/BIG5/citrus_big5.c
362
size_t l;
lib/libiconv_modules/BIG5/citrus_big5.c
378
l = 2;
lib/libiconv_modules/BIG5/citrus_big5.c
384
l = 1;
lib/libiconv_modules/BIG5/citrus_big5.c
387
if (n < l) {
lib/libiconv_modules/BIG5/citrus_big5.c
393
if (l == 2) {
lib/libiconv_modules/BIG5/citrus_big5.c
399
*nresult = l;
lib/libiconv_modules/JOHAB/citrus_johab.c
123
ishangul(int l, int t)
lib/libiconv_modules/JOHAB/citrus_johab.c
126
return ((l >= 0x84 && l <= 0xD3) &&
lib/libiconv_modules/JOHAB/citrus_johab.c
131
isuda(int l, int t)
lib/libiconv_modules/JOHAB/citrus_johab.c
134
return ((l == 0xD8) &&
lib/libiconv_modules/JOHAB/citrus_johab.c
139
ishanja(int l, int t)
lib/libiconv_modules/JOHAB/citrus_johab.c
142
return (((l >= 0xD9 && l <= 0xDE) || (l >= 0xE0 && l <= 0xF9)) &&
lib/libiconv_modules/JOHAB/citrus_johab.c
153
int l, t;
lib/libiconv_modules/JOHAB/citrus_johab.c
166
l = *s0++ & 0xFF;
lib/libiconv_modules/JOHAB/citrus_johab.c
167
if (l <= 0x7F) {
lib/libiconv_modules/JOHAB/citrus_johab.c
169
*pwc = (wchar_t)l;
lib/libiconv_modules/JOHAB/citrus_johab.c
170
*nresult = (l == 0) ? 0 : 1;
lib/libiconv_modules/JOHAB/citrus_johab.c
174
psenc->ch[psenc->chlen++] = l;
lib/libiconv_modules/JOHAB/citrus_johab.c
177
l = psenc->ch[0] & 0xFF;
lib/libiconv_modules/JOHAB/citrus_johab.c
189
if (!ishangul(l, t) && !isuda(l, t) && !ishanja(l, t)) {
lib/libiconv_modules/JOHAB/citrus_johab.c
194
*pwc = (wchar_t)(l << 8 | t);
lib/libiconv_modules/JOHAB/citrus_johab.c
208
int l, t;
lib/libiconv_modules/JOHAB/citrus_johab.c
225
l = (wc >> 8) & 0xFF;
lib/libiconv_modules/JOHAB/citrus_johab.c
227
if (!ishangul(l, t) && !isuda(l, t) && !ishanja(l, t))
lib/libiconv_modules/JOHAB/citrus_johab.c
229
*s++ = l;
lib/libiconv_modules/JOHAB/citrus_johab.c
246
int m, l, linear, t;
lib/libiconv_modules/JOHAB/citrus_johab.c
253
l = (wc >> 8) & 0xFF;
lib/libiconv_modules/JOHAB/citrus_johab.c
255
if (ishangul(l, t) || isuda(l, t)) {
lib/libiconv_modules/JOHAB/citrus_johab.c
259
if (l >= 0xD9 && l <= 0xDE) {
lib/libiconv_modules/JOHAB/citrus_johab.c
260
linear = l - 0xD9;
lib/libiconv_modules/JOHAB/citrus_johab.c
262
} else if (l >= 0xE0 && l <= 0xF9) {
lib/libiconv_modules/JOHAB/citrus_johab.c
263
linear = l - 0xE0;
lib/libiconv_modules/JOHAB/citrus_johab.c
274
l = (linear / 94) + m;
lib/libiconv_modules/JOHAB/citrus_johab.c
276
*idx = (_index_t)((l << 8) | t);
lib/libiconv_modules/JOHAB/citrus_johab.c
289
int m, n, l, linear, t;
lib/libiconv_modules/JOHAB/citrus_johab.c
305
l = ((idx >> 8) & 0xFF) - n;
lib/libiconv_modules/JOHAB/citrus_johab.c
307
linear = (l * 94) + t;
lib/libiconv_modules/JOHAB/citrus_johab.c
308
l = (linear / 188) + m;
lib/libifconfig/libifconfig_lagg.c
47
struct ifconfig_lagg_status l; /* Must be first */
lib/libifconfig/libifconfig_lagg.c
76
ls->l.ra = &ls->ra;
lib/libifconfig/libifconfig_lagg.c
77
ls->l.ro = &ls->ro;
lib/libifconfig/libifconfig_lagg.c
78
ls->l.rf = &ls->rf;
lib/libifconfig/libifconfig_lagg.c
79
*lagg_status = &ls->l;
lib/libifconfig/libifconfig_sfp.c
100
l = MIN(sizeof(req.data), len);
lib/libifconfig/libifconfig_sfp.c
101
req.len = l;
lib/libifconfig/libifconfig_sfp.c
108
memcpy(&buf[i], req.data, l);
lib/libifconfig/libifconfig_sfp.c
109
len -= l;
lib/libifconfig/libifconfig_sfp.c
110
i += l;
lib/libifconfig/libifconfig_sfp.c
111
req.offset += l;
lib/libifconfig/libifconfig_sfp.c
85
int i, l;
lib/libifconfig/libifconfig_sfp.c
93
l = 0;
lib/liblua/luaconf.h
456
#define l_mathop(op) op##l
lib/liblua/luaconf.h
695
#define luai_apicheck(l,e) assert(e)
lib/liblua/luaconf.h
749
#define LUAI_MAXALIGN lua_Number n; double u; void *s; lua_Integer i; long l
lib/libmd/rmd160c.c
104
u_int32_t l;
lib/libmd/rmd160c.c
109
l=(c->Nl+(len<<3))&0xffffffffL;
lib/libmd/rmd160c.c
110
if (l < c->Nl) /* overflow */
lib/libmd/rmd160c.c
113
c->Nl=l;
lib/libmd/rmd160c.c
123
l= p[sw];
lib/libmd/rmd160c.c
124
p_c2l(data,l,sc);
lib/libmd/rmd160c.c
125
p[sw++]=l;
lib/libmd/rmd160c.c
128
c2l(data,l);
lib/libmd/rmd160c.c
129
p[sw]=l;
lib/libmd/rmd160c.c
144
l= p[sw];
lib/libmd/rmd160c.c
145
p_c2l_p(data,l,sc,len);
lib/libmd/rmd160c.c
146
p[sw]=l;
lib/libmd/rmd160c.c
152
l= p[sw];
lib/libmd/rmd160c.c
153
p_c2l(data,l,sc);
lib/libmd/rmd160c.c
154
p[sw++]=l;
lib/libmd/rmd160c.c
156
{ c2l(data,l); p[sw]=l; }
lib/libmd/rmd160c.c
159
c2l_p(data,l,ec);
lib/libmd/rmd160c.c
160
p[sw]=l;
lib/libmd/rmd160c.c
201
c2l(data,l); *(p++)=l;
lib/libmd/rmd160c.c
202
c2l(data,l); *(p++)=l;
lib/libmd/rmd160c.c
203
c2l(data,l); *(p++)=l;
lib/libmd/rmd160c.c
204
c2l(data,l); *(p++)=l;
lib/libmd/rmd160c.c
222
{ c2l(data,l); *(p++)=l; }
lib/libmd/rmd160c.c
223
c2l_p(data,l,sc);
lib/libmd/rmd160c.c
224
*p=l;
lib/libmd/rmd160c.c
254
u_int32_t l;
lib/libmd/rmd160c.c
255
c2l(b,l); *(q++)=l;
lib/libmd/rmd160c.c
256
c2l(b,l); *(q++)=l;
lib/libmd/rmd160c.c
257
c2l(b,l); *(q++)=l;
lib/libmd/rmd160c.c
258
c2l(b,l); *(q++)=l;
lib/libmd/rmd160c.c
466
u_int32_t l;
lib/libmd/rmd160c.c
488
l=p[i];
lib/libmd/rmd160c.c
489
p_c2l(cp,l,j&0x03);
lib/libmd/rmd160c.c
490
p[i]=l;
lib/libmd/rmd160c.c
506
l=c->A; l2c(l,cp);
lib/libmd/rmd160c.c
507
l=c->B; l2c(l,cp);
lib/libmd/rmd160c.c
508
l=c->C; l2c(l,cp);
lib/libmd/rmd160c.c
509
l=c->D; l2c(l,cp);
lib/libmd/rmd160c.c
510
l=c->E; l2c(l,cp);
lib/libmd/rmd160c.c
517
int printit(unsigned long *l)
lib/libmd/rmd160c.c
525
fprintf(stderr,"%08lx ",l[i*8+ii]);
lib/libmd/rmd_locl.h
102
#define nl2c(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \
lib/libmd/rmd_locl.h
103
*((c)++)=(unsigned char)(((l)>>16)&0xff), \
lib/libmd/rmd_locl.h
104
*((c)++)=(unsigned char)(((l)>> 8)&0xff), \
lib/libmd/rmd_locl.h
105
*((c)++)=(unsigned char)(((l) )&0xff))
lib/libmd/rmd_locl.h
108
#define c2l(c,l) (l =(((u_int32_t)(*((c)++))) ), \
lib/libmd/rmd_locl.h
109
l|=(((u_int32_t)(*((c)++)))<< 8), \
lib/libmd/rmd_locl.h
110
l|=(((u_int32_t)(*((c)++)))<<16), \
lib/libmd/rmd_locl.h
111
l|=(((u_int32_t)(*((c)++)))<<24))
lib/libmd/rmd_locl.h
114
#define p_c2l(c,l,n) { \
lib/libmd/rmd_locl.h
116
case 0: l =((u_int32_t)(*((c)++))); \
lib/libmd/rmd_locl.h
117
case 1: l|=((u_int32_t)(*((c)++)))<< 8; \
lib/libmd/rmd_locl.h
118
case 2: l|=((u_int32_t)(*((c)++)))<<16; \
lib/libmd/rmd_locl.h
119
case 3: l|=((u_int32_t)(*((c)++)))<<24; \
lib/libmd/rmd_locl.h
125
#define c2l_p(c,l,n) { \
lib/libmd/rmd_locl.h
126
l=0; \
lib/libmd/rmd_locl.h
129
case 3: l =((u_int32_t)(*(--(c))))<<16; \
lib/libmd/rmd_locl.h
130
case 2: l|=((u_int32_t)(*(--(c))))<< 8; \
lib/libmd/rmd_locl.h
131
case 1: l|=((u_int32_t)(*(--(c)))); \
lib/libmd/rmd_locl.h
136
#define p_c2l_p(c,l,sc,len) { \
lib/libmd/rmd_locl.h
139
case 0: l =((u_int32_t)(*((c)++))); \
lib/libmd/rmd_locl.h
141
case 1: l|=((u_int32_t)(*((c)++)))<< 8; \
lib/libmd/rmd_locl.h
143
case 2: l|=((u_int32_t)(*((c)++)))<<16; \
lib/libmd/rmd_locl.h
148
#define l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \
lib/libmd/rmd_locl.h
149
*((c)++)=(unsigned char)(((l)>> 8)&0xff), \
lib/libmd/rmd_locl.h
150
*((c)++)=(unsigned char)(((l)>>16)&0xff), \
lib/libmd/rmd_locl.h
151
*((c)++)=(unsigned char)(((l)>>24)&0xff))
lib/libmd/rmd_locl.h
165
u_int32_t l=(a); \
lib/libmd/rmd_locl.h
166
(a)=((ROTATE(l,8)&0x00FF00FF)|(ROTATE(l,24)&0xFF00FF00)); \
lib/libmd/rmd_locl.h
172
u_int32_t l=(a); \
lib/libmd/rmd_locl.h
173
l=(((l&0xFF00FF00)>>8L)|((l&0x00FF00FF)<<8L)); \
lib/libmd/rmd_locl.h
174
(a)=ROTATE(l,16L); \
lib/libmd/rmd_locl.h
62
#define c2nl(c,l) (l =(((u_int32_t)(*((c)++)))<<24), \
lib/libmd/rmd_locl.h
63
l|=(((u_int32_t)(*((c)++)))<<16), \
lib/libmd/rmd_locl.h
64
l|=(((u_int32_t)(*((c)++)))<< 8), \
lib/libmd/rmd_locl.h
65
l|=(((u_int32_t)(*((c)++))) ))
lib/libmd/rmd_locl.h
68
#define p_c2nl(c,l,n) { \
lib/libmd/rmd_locl.h
70
case 0: l =((u_int32_t)(*((c)++)))<<24; \
lib/libmd/rmd_locl.h
71
case 1: l|=((u_int32_t)(*((c)++)))<<16; \
lib/libmd/rmd_locl.h
72
case 2: l|=((u_int32_t)(*((c)++)))<< 8; \
lib/libmd/rmd_locl.h
73
case 3: l|=((u_int32_t)(*((c)++))); \
lib/libmd/rmd_locl.h
79
#define c2nl_p(c,l,n) { \
lib/libmd/rmd_locl.h
80
l=0; \
lib/libmd/rmd_locl.h
83
case 3: l =((u_int32_t)(*(--(c))))<< 8; \
lib/libmd/rmd_locl.h
84
case 2: l|=((u_int32_t)(*(--(c))))<<16; \
lib/libmd/rmd_locl.h
85
case 1: l|=((u_int32_t)(*(--(c))))<<24; \
lib/libmd/rmd_locl.h
90
#define p_c2nl_p(c,l,sc,len) { \
lib/libmd/rmd_locl.h
93
case 0: l =((u_int32_t)(*((c)++)))<<24; \
lib/libmd/rmd_locl.h
95
case 1: l|=((u_int32_t)(*((c)++)))<<16; \
lib/libmd/rmd_locl.h
97
case 2: l|=((u_int32_t)(*((c)++)))<< 8; \
lib/libmd/sha0c.c
118
u_int32_t l;
lib/libmd/sha0c.c
123
l=(c->Nl+(len<<3))&0xffffffffL;
lib/libmd/sha0c.c
124
if (l < c->Nl) /* overflow */
lib/libmd/sha0c.c
127
c->Nl=l;
lib/libmd/sha0c.c
137
l= p[sw];
lib/libmd/sha0c.c
138
M_p_c2nl(data,l,sc);
lib/libmd/sha0c.c
139
p[sw++]=l;
lib/libmd/sha0c.c
142
M_c2nl(data,l);
lib/libmd/sha0c.c
143
p[sw]=l;
lib/libmd/sha0c.c
156
l= p[sw];
lib/libmd/sha0c.c
157
M_p_c2nl_p(data,l,sc,len);
lib/libmd/sha0c.c
158
p[sw]=l;
lib/libmd/sha0c.c
164
l= p[sw];
lib/libmd/sha0c.c
165
M_p_c2nl(data,l,sc);
lib/libmd/sha0c.c
166
p[sw++]=l;
lib/libmd/sha0c.c
168
{ M_c2nl(data,l); p[sw]=l; }
lib/libmd/sha0c.c
171
M_c2nl_p(data,l,ec);
lib/libmd/sha0c.c
172
p[sw]=l;
lib/libmd/sha0c.c
224
M_c2nl(data,l); *(p++)=l;
lib/libmd/sha0c.c
225
M_c2nl(data,l); *(p++)=l;
lib/libmd/sha0c.c
226
M_c2nl(data,l); *(p++)=l;
lib/libmd/sha0c.c
227
M_c2nl(data,l); *(p++)=l;
lib/libmd/sha0c.c
240
{ M_c2nl(data,l); p[sw]=l; }
lib/libmd/sha0c.c
241
M_c2nl_p(data,l,ec);
lib/libmd/sha0c.c
242
p[sw]=l;
lib/libmd/sha0c.c
270
u_int32_t l;
lib/libmd/sha0c.c
271
c2nl(b,l); *(q++)=l;
lib/libmd/sha0c.c
272
c2nl(b,l); *(q++)=l;
lib/libmd/sha0c.c
273
c2nl(b,l); *(q++)=l;
lib/libmd/sha0c.c
274
c2nl(b,l); *(q++)=l;
lib/libmd/sha0c.c
399
u_int32_t l;
lib/libmd/sha0c.c
411
l=p[i];
lib/libmd/sha0c.c
412
M_p_c2nl(cp,l,j&0x03);
lib/libmd/sha0c.c
413
p[i]=l;
lib/libmd/sha0c.c
429
l=c->h0; nl2c(l,cp);
lib/libmd/sha0c.c
430
l=c->h1; nl2c(l,cp);
lib/libmd/sha0c.c
431
l=c->h2; nl2c(l,cp);
lib/libmd/sha0c.c
432
l=c->h3; nl2c(l,cp);
lib/libmd/sha0c.c
433
l=c->h4; nl2c(l,cp);
lib/libmd/sha_locl.h
103
#define p_c2nl_p(c,l,sc,len) { \
lib/libmd/sha_locl.h
106
case 0: l =((unsigned long)(*((c)++)))<<24; \
lib/libmd/sha_locl.h
108
case 1: l|=((unsigned long)(*((c)++)))<<16; \
lib/libmd/sha_locl.h
110
case 2: l|=((unsigned long)(*((c)++)))<< 8; \
lib/libmd/sha_locl.h
115
#define nl2c(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \
lib/libmd/sha_locl.h
116
*((c)++)=(unsigned char)(((l)>>16)&0xff), \
lib/libmd/sha_locl.h
117
*((c)++)=(unsigned char)(((l)>> 8)&0xff), \
lib/libmd/sha_locl.h
118
*((c)++)=(unsigned char)(((l) )&0xff))
lib/libmd/sha_locl.h
121
#define c2l(c,l) (l =(((unsigned long)(*((c)++))) ), \
lib/libmd/sha_locl.h
122
l|=(((unsigned long)(*((c)++)))<< 8), \
lib/libmd/sha_locl.h
123
l|=(((unsigned long)(*((c)++)))<<16), \
lib/libmd/sha_locl.h
124
l|=(((unsigned long)(*((c)++)))<<24))
lib/libmd/sha_locl.h
127
#define p_c2l(c,l,n) { \
lib/libmd/sha_locl.h
129
case 0: l =((unsigned long)(*((c)++))); \
lib/libmd/sha_locl.h
130
case 1: l|=((unsigned long)(*((c)++)))<< 8; \
lib/libmd/sha_locl.h
131
case 2: l|=((unsigned long)(*((c)++)))<<16; \
lib/libmd/sha_locl.h
132
case 3: l|=((unsigned long)(*((c)++)))<<24; \
lib/libmd/sha_locl.h
138
#define c2l_p(c,l,n) { \
lib/libmd/sha_locl.h
139
l=0; \
lib/libmd/sha_locl.h
142
case 3: l =((unsigned long)(*(--(c))))<<16; \
lib/libmd/sha_locl.h
143
case 2: l|=((unsigned long)(*(--(c))))<< 8; \
lib/libmd/sha_locl.h
144
case 1: l|=((unsigned long)(*(--(c)))); \
lib/libmd/sha_locl.h
149
#define p_c2l_p(c,l,sc,len) { \
lib/libmd/sha_locl.h
152
case 0: l =((unsigned long)(*((c)++))); \
lib/libmd/sha_locl.h
154
case 1: l|=((unsigned long)(*((c)++)))<< 8; \
lib/libmd/sha_locl.h
156
case 2: l|=((unsigned long)(*((c)++)))<<16; \
lib/libmd/sha_locl.h
161
#define l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \
lib/libmd/sha_locl.h
162
*((c)++)=(unsigned char)(((l)>> 8)&0xff), \
lib/libmd/sha_locl.h
163
*((c)++)=(unsigned char)(((l)>>16)&0xff), \
lib/libmd/sha_locl.h
164
*((c)++)=(unsigned char)(((l)>>24)&0xff))
lib/libmd/sha_locl.h
178
unsigned long l=(a); \
lib/libmd/sha_locl.h
179
(a)=((ROTATE(l,8)&0x00FF00FF)|(ROTATE(l,24)&0xFF00FF00)); \
lib/libmd/sha_locl.h
185
unsigned long l=(a); \
lib/libmd/sha_locl.h
186
l=(((l&0xFF00FF00)>>8L)|((l&0x00FF00FF)<<8L)); \
lib/libmd/sha_locl.h
187
(a)=ROTATE(l,16L); \
lib/libmd/sha_locl.h
75
#define c2nl(c,l) (l =(((unsigned long)(*((c)++)))<<24), \
lib/libmd/sha_locl.h
76
l|=(((unsigned long)(*((c)++)))<<16), \
lib/libmd/sha_locl.h
77
l|=(((unsigned long)(*((c)++)))<< 8), \
lib/libmd/sha_locl.h
78
l|=(((unsigned long)(*((c)++))) ))
lib/libmd/sha_locl.h
81
#define p_c2nl(c,l,n) { \
lib/libmd/sha_locl.h
83
case 0: l =((unsigned long)(*((c)++)))<<24; \
lib/libmd/sha_locl.h
84
case 1: l|=((unsigned long)(*((c)++)))<<16; \
lib/libmd/sha_locl.h
85
case 2: l|=((unsigned long)(*((c)++)))<< 8; \
lib/libmd/sha_locl.h
86
case 3: l|=((unsigned long)(*((c)++))); \
lib/libmd/sha_locl.h
92
#define c2nl_p(c,l,n) { \
lib/libmd/sha_locl.h
93
l=0; \
lib/libmd/sha_locl.h
96
case 3: l =((unsigned long)(*(--(c))))<< 8; \
lib/libmd/sha_locl.h
97
case 2: l|=((unsigned long)(*(--(c))))<<16; \
lib/libmd/sha_locl.h
98
case 1: l|=((unsigned long)(*(--(c))))<<24; \
lib/libmt/mtlib.c
708
size_t l = strlen(density_name);
lib/libmt/mtlib.c
711
if (strncasecmp(sd->name, density_name, l) == 0)
lib/libpfctl/libpfctl.c
1498
struct snl_parsed_labels *l = (struct snl_parsed_labels *)target;
lib/libpfctl/libpfctl.c
1501
if (l->i >= PF_RULE_MAX_LABEL_COUNT)
lib/libpfctl/libpfctl.c
1505
l->labels[l->i]);
lib/libpfctl/libpfctl.c
1507
l->i++;
lib/libsdp/sdp.h
329
#define SDP_GET32(l, cp) { \
lib/libsdp/sdp.h
331
(l) = ((uint32_t)t_cp[0] << 24) \
lib/libsdp/sdp.h
339
#define SDP_GET64(l, cp) { \
lib/libsdp/sdp.h
341
(l) = ((uint64_t)t_cp[0] << 56) \
lib/libsdp/sdp.h
354
#define SDP_GET128(l, cp) { \
lib/libsdp/sdp.h
356
(l)->b[15] = *t_cp++; \
lib/libsdp/sdp.h
357
(l)->b[14] = *t_cp++; \
lib/libsdp/sdp.h
358
(l)->b[13] = *t_cp++; \
lib/libsdp/sdp.h
359
(l)->b[12] = *t_cp++; \
lib/libsdp/sdp.h
360
(l)->b[11] = *t_cp++; \
lib/libsdp/sdp.h
361
(l)->b[10] = *t_cp++; \
lib/libsdp/sdp.h
362
(l)->b[9] = *t_cp++; \
lib/libsdp/sdp.h
363
(l)->b[8] = *t_cp++; \
lib/libsdp/sdp.h
364
(l)->b[7] = *t_cp++; \
lib/libsdp/sdp.h
365
(l)->b[6] = *t_cp++; \
lib/libsdp/sdp.h
366
(l)->b[5] = *t_cp++; \
lib/libsdp/sdp.h
367
(l)->b[4] = *t_cp++; \
lib/libsdp/sdp.h
368
(l)->b[3] = *t_cp++; \
lib/libsdp/sdp.h
369
(l)->b[2] = *t_cp++; \
lib/libsdp/sdp.h
370
(l)->b[1] = *t_cp++; \
lib/libsdp/sdp.h
371
(l)->b[0] = *t_cp++; \
lib/libsdp/sdp.h
375
#define SDP_GET_UUID128(l, cp) { \
lib/libsdp/sdp.h
377
(l)->b[0] = *t_cp++; \
lib/libsdp/sdp.h
378
(l)->b[1] = *t_cp++; \
lib/libsdp/sdp.h
379
(l)->b[2] = *t_cp++; \
lib/libsdp/sdp.h
380
(l)->b[3] = *t_cp++; \
lib/libsdp/sdp.h
381
(l)->b[4] = *t_cp++; \
lib/libsdp/sdp.h
382
(l)->b[5] = *t_cp++; \
lib/libsdp/sdp.h
383
(l)->b[6] = *t_cp++; \
lib/libsdp/sdp.h
384
(l)->b[7] = *t_cp++; \
lib/libsdp/sdp.h
385
(l)->b[8] = *t_cp++; \
lib/libsdp/sdp.h
386
(l)->b[9] = *t_cp++; \
lib/libsdp/sdp.h
387
(l)->b[10] = *t_cp++; \
lib/libsdp/sdp.h
388
(l)->b[11] = *t_cp++; \
lib/libsdp/sdp.h
389
(l)->b[12] = *t_cp++; \
lib/libsdp/sdp.h
390
(l)->b[13] = *t_cp++; \
lib/libsdp/sdp.h
391
(l)->b[14] = *t_cp++; \
lib/libsdp/sdp.h
392
(l)->b[15] = *t_cp++; \
lib/libsdp/sdp.h
396
#define SDP_GET128(l, cp) { \
lib/libsdp/sdp.h
398
(l)->b[0] = *t_cp++; \
lib/libsdp/sdp.h
399
(l)->b[1] = *t_cp++; \
lib/libsdp/sdp.h
400
(l)->b[2] = *t_cp++; \
lib/libsdp/sdp.h
401
(l)->b[3] = *t_cp++; \
lib/libsdp/sdp.h
402
(l)->b[4] = *t_cp++; \
lib/libsdp/sdp.h
403
(l)->b[5] = *t_cp++; \
lib/libsdp/sdp.h
404
(l)->b[6] = *t_cp++; \
lib/libsdp/sdp.h
405
(l)->b[7] = *t_cp++; \
lib/libsdp/sdp.h
406
(l)->b[8] = *t_cp++; \
lib/libsdp/sdp.h
407
(l)->b[9] = *t_cp++; \
lib/libsdp/sdp.h
408
(l)->b[10] = *t_cp++; \
lib/libsdp/sdp.h
409
(l)->b[11] = *t_cp++; \
lib/libsdp/sdp.h
410
(l)->b[12] = *t_cp++; \
lib/libsdp/sdp.h
411
(l)->b[13] = *t_cp++; \
lib/libsdp/sdp.h
412
(l)->b[14] = *t_cp++; \
lib/libsdp/sdp.h
413
(l)->b[15] = *t_cp++; \
lib/libsdp/sdp.h
417
#define SDP_GET_UUID128(l, cp) SDP_GET128(l, cp)
lib/libsdp/sdp.h
437
#define SDP_PUT32(l, cp) { \
lib/libsdp/sdp.h
438
register uint32_t t_l = (uint32_t)(l); \
lib/libsdp/sdp.h
447
#define SDP_PUT64(l, cp) { \
lib/libsdp/sdp.h
448
register uint64_t t_l = (uint64_t)(l); \
lib/libsdp/sdp.h
462
#define SDP_PUT128(l, cp) { \
lib/libsdp/sdp.h
464
*t_cp++ = (l)->b[15]; \
lib/libsdp/sdp.h
465
*t_cp++ = (l)->b[14]; \
lib/libsdp/sdp.h
466
*t_cp++ = (l)->b[13]; \
lib/libsdp/sdp.h
467
*t_cp++ = (l)->b[12]; \
lib/libsdp/sdp.h
468
*t_cp++ = (l)->b[11]; \
lib/libsdp/sdp.h
469
*t_cp++ = (l)->b[10]; \
lib/libsdp/sdp.h
470
*t_cp++ = (l)->b[9]; \
lib/libsdp/sdp.h
471
*t_cp++ = (l)->b[8]; \
lib/libsdp/sdp.h
472
*t_cp++ = (l)->b[7]; \
lib/libsdp/sdp.h
473
*t_cp++ = (l)->b[6]; \
lib/libsdp/sdp.h
474
*t_cp++ = (l)->b[5]; \
lib/libsdp/sdp.h
475
*t_cp++ = (l)->b[4]; \
lib/libsdp/sdp.h
476
*t_cp++ = (l)->b[3]; \
lib/libsdp/sdp.h
477
*t_cp++ = (l)->b[2]; \
lib/libsdp/sdp.h
478
*t_cp++ = (l)->b[1]; \
lib/libsdp/sdp.h
479
*t_cp = (l)->b[0]; \
lib/libsdp/sdp.h
483
#define SDP_PUT_UUID128(l, cp) { \
lib/libsdp/sdp.h
485
*t_cp++ = (l)->b[0]; \
lib/libsdp/sdp.h
486
*t_cp++ = (l)->b[1]; \
lib/libsdp/sdp.h
487
*t_cp++ = (l)->b[2]; \
lib/libsdp/sdp.h
488
*t_cp++ = (l)->b[3]; \
lib/libsdp/sdp.h
489
*t_cp++ = (l)->b[4]; \
lib/libsdp/sdp.h
490
*t_cp++ = (l)->b[5]; \
lib/libsdp/sdp.h
491
*t_cp++ = (l)->b[6]; \
lib/libsdp/sdp.h
492
*t_cp++ = (l)->b[7]; \
lib/libsdp/sdp.h
493
*t_cp++ = (l)->b[8]; \
lib/libsdp/sdp.h
494
*t_cp++ = (l)->b[9]; \
lib/libsdp/sdp.h
495
*t_cp++ = (l)->b[10]; \
lib/libsdp/sdp.h
496
*t_cp++ = (l)->b[11]; \
lib/libsdp/sdp.h
497
*t_cp++ = (l)->b[12]; \
lib/libsdp/sdp.h
498
*t_cp++ = (l)->b[13]; \
lib/libsdp/sdp.h
499
*t_cp++ = (l)->b[14]; \
lib/libsdp/sdp.h
500
*t_cp = (l)->b[15]; \
lib/libsdp/sdp.h
504
#define SDP_PUT128(l, cp) { \
lib/libsdp/sdp.h
506
*t_cp++ = (l)->b[0]; \
lib/libsdp/sdp.h
507
*t_cp++ = (l)->b[1]; \
lib/libsdp/sdp.h
508
*t_cp++ = (l)->b[2]; \
lib/libsdp/sdp.h
509
*t_cp++ = (l)->b[3]; \
lib/libsdp/sdp.h
510
*t_cp++ = (l)->b[4]; \
lib/libsdp/sdp.h
511
*t_cp++ = (l)->b[5]; \
lib/libsdp/sdp.h
512
*t_cp++ = (l)->b[6]; \
lib/libsdp/sdp.h
513
*t_cp++ = (l)->b[7]; \
lib/libsdp/sdp.h
514
*t_cp++ = (l)->b[8]; \
lib/libsdp/sdp.h
515
*t_cp++ = (l)->b[9]; \
lib/libsdp/sdp.h
516
*t_cp++ = (l)->b[10]; \
lib/libsdp/sdp.h
517
*t_cp++ = (l)->b[11]; \
lib/libsdp/sdp.h
518
*t_cp++ = (l)->b[12]; \
lib/libsdp/sdp.h
519
*t_cp++ = (l)->b[13]; \
lib/libsdp/sdp.h
520
*t_cp++ = (l)->b[14]; \
lib/libsdp/sdp.h
521
*t_cp = (l)->b[15]; \
lib/libsdp/sdp.h
525
#define SDP_PUT_UUID128(l, cp) SDP_PUT128(l, cp)
lib/libsdp/sdp.h
530
void * sdp_open (bdaddr_t const *l, bdaddr_t const *r);
lib/libsdp/sdp.h
534
int32_t sdp_get_lcaddr (void *xs, bdaddr_t *l);
lib/libsdp/session.c
184
sdp_get_lcaddr(void *xss, bdaddr_t *l)
lib/libsdp/session.c
190
if (l == NULL || ss == NULL || ss->flags & SDP_SESSION_LOCAL) {
lib/libsdp/session.c
197
bdaddr_copy(l, &sa.l2cap_bdaddr);
lib/libsdp/session.c
43
sdp_open(bdaddr_t const *l, bdaddr_t const *r)
lib/libsdp/session.c
52
if (l == NULL || r == NULL) {
lib/libsdp/session.c
69
memcpy(&sa.l2cap_bdaddr, l, sizeof(sa.l2cap_bdaddr));
lib/libthr/thread/thr_pspinlock.c
80
void *l;
lib/libthr/thread/thr_pspinlock.c
86
l = __thr_pshared_offpage(lock, 0);
lib/libthr/thread/thr_pspinlock.c
87
if (l != NULL)
lib/libthr/thread/thr_pspinlock.c
88
__thr_pshared_destroy(l);
lib/libthr/thread/thr_rtld.c
115
struct rtld_lock *l;
lib/libthr/thread/thr_rtld.c
120
l = (struct rtld_lock *)lock;
lib/libthr/thread/thr_rtld.c
122
if (l->wowner == curthread) {
lib/libthr/thread/thr_rtld.c
123
l->rlocks++;
lib/libthr/thread/thr_rtld.c
126
while (_thr_rwlock_rdlock(&l->lock, 0, NULL) != 0)
lib/libthr/thread/thr_rtld.c
137
struct rtld_lock *l;
lib/libthr/thread/thr_rtld.c
142
l = (struct rtld_lock *)lock;
lib/libthr/thread/thr_rtld.c
145
while (_thr_rwlock_wrlock(&l->lock, NULL) != 0)
lib/libthr/thread/thr_rtld.c
147
l->wowner = curthread;
lib/libthr/thread/thr_rtld.c
155
struct rtld_lock *l;
lib/libthr/thread/thr_rtld.c
161
l = (struct rtld_lock *)lock;
lib/libthr/thread/thr_rtld.c
163
state = l->lock.rw_state;
lib/libthr/thread/thr_rtld.c
170
atomic_clear_int(&l->lock.rw_state,
lib/libthr/thread/thr_rtld.c
172
l->lock.rw_blocked_readers = 0;
lib/libthr/thread/thr_rtld.c
173
l->lock.rw_blocked_writers = 0;
lib/libthr/thread/thr_rtld.c
176
if (l->rlocks > 0) {
lib/libthr/thread/thr_rtld.c
177
l->rlocks--;
lib/libthr/thread/thr_rtld.c
180
l->wowner = NULL;
lib/libthr/thread/thr_rtld.c
183
if (_thr_rwlock_unlock(&l->lock) == 0) {
lib/libthr/thread/thr_rtld.c
67
struct rtld_lock *l;
lib/libthr/thread/thr_rtld.c
80
l = &lock_place[locki];
lib/libthr/thread/thr_rtld.c
81
l->lock.rw_flags = URWLOCK_PREFER_READER;
lib/libthr/thread/thr_rtld.c
82
return (l);
lib/libthr/thread/thr_syscalls.c
432
__thr_recvfrom(int s, void *b, size_t l, int f, struct sockaddr *from,
lib/libthr/thread/thr_syscalls.c
440
ret = __sys_recvfrom(s, b, l, f, from, fl);
lib/libthr/thread/thr_syscalls.c
506
__thr_sendto(int s, const void *m, size_t l, int f, const struct sockaddr *t,
lib/libthr/thread/thr_syscalls.c
514
ret = __sys_sendto(s, m, l, f, t, tl);
lib/libusbhid/usage.c
222
unsigned int l;
lib/libusbhid/usage.c
227
l = sep - name;
lib/libusbhid/usage.c
229
if (strncmp(pages[k].name, name, l) == 0)
lib/libutil/cpuset.c
113
l++;
lib/libutil/cpuset.c
143
const char *l;
lib/libutil/cpuset.c
159
l = list;
lib/libutil/cpuset.c
161
if (strncasecmp(l, policy->name, strlen(policy->name)) == 0) {
lib/libutil/cpuset.c
163
l += strlen(policy->name);
lib/libutil/cpuset.c
164
if (*l != ':' && *l != '\0')
lib/libutil/cpuset.c
166
if (*l == ':')
lib/libutil/cpuset.c
167
l++;
lib/libutil/cpuset.c
173
return (parselist(l, (struct bitset *)mask, DOMAINSET_SETSIZE));
lib/libutil/cpuset.c
64
const char *l;
lib/libutil/cpuset.c
68
for (l = list; *l != '\0';) {
lib/libutil/cpuset.c
69
if (isdigit(*l)) {
lib/libutil/cpuset.c
70
curnum = atoi(l);
lib/libutil/cpuset.c
73
while (isdigit(*l))
lib/libutil/cpuset.c
74
l++;
lib/libutil/cpuset.c
91
switch (*l) {
lib/libutil/login_class.c
170
int l = strlen(p);
lib/libutil/login_class.c
173
memmove(p - 1, p, l + 1); /* Slide-out the backslash */
lib/libutil/login_class.c
176
memmove(p + hlen + v, p + 1, l); /* Subst homedir */
lib/libutil/login_class.c
183
memmove(p + nlen, p + 1, l); /* Subst username */
lib/libutil/login_class.c
260
const char *l;
lib/libutil/login_class.c
264
for (l = list; *l != '\0';) {
lib/libutil/login_class.c
265
if (isdigit(*l)) {
lib/libutil/login_class.c
266
curnum = atoi(l);
lib/libutil/login_class.c
270
while (isdigit(*l))
lib/libutil/login_class.c
271
l++;
lib/libutil/login_class.c
288
switch (*l) {
lib/libutil/login_class.c
310
l++;
lib/msun/ld128/s_logl.c
429
#define RETURN2(rp, h, l) do { \
lib/msun/ld128/s_logl.c
431
(rp)->lo = (l); \
lib/msun/ld128/s_logl.c
443
#define RETURN2(rp, h, l) RETURNI((h) + (l))
lib/msun/ld80/s_logl.c
429
#define RETURN2(rp, h, l) do { \
lib/msun/ld80/s_logl.c
431
(rp)->lo = (l); \
lib/msun/ld80/s_logl.c
443
#define RETURN2(rp, h, l) RETURNI((h) + (l))
lib/msun/src/e_hypotl.c
20
#define GET_LDBL_MAN(h, l, v) do { \
lib/msun/src/e_hypotl.c
25
l = uv.bits.manl; \
lib/msun/tests/invtrig_test.c
104
test2_tol(prefix##l, (y), (x), (result), \
lib/msun/tests/invtrig_test.c
74
test_tol(prefix##l, (x), (result), \
lib/msun/tests/next_test.c
108
ztest(l);
lib/msun/tests/next_test.c
119
stest(nextafterl, ldbl_small, l);
lib/msun/tests/next_test.c
122
stest(nexttowardl, ldbl_small, l);
lib/msun/tests/next_test.c
151
testboth(1.0, 2.0, 1.0 + ldbl_eps, 0, l);
lib/msun/tests/next_test.c
152
testboth(1.0, -INFINITY, 1.0 - ldbl_eps / 2, 0, l);
lib/msun/tests/next_test.c
158
testboth(-1.0, 2.0, -1.0 + ldbl_eps / 2, 0, l);
lib/msun/tests/next_test.c
159
testboth(-1.0, -INFINITY, -1.0 - ldbl_eps, 0, l);
lib/msun/tests/next_test.c
189
testboth(0x1.87654ffffffffp+0L, INFINITY, 0x1.87655p+0L, 0, l);
lib/msun/tests/next_test.c
190
testboth(0x1.87655p+0L, -INFINITY, 0x1.87654ffffffffp+0L, 0, l);
lib/msun/tests/next_test.c
191
testboth(0x1.fffffffffffffp+0L, INFINITY, 0x1p1L, 0, l);
lib/msun/tests/next_test.c
192
testboth(0x1p1L, -INFINITY, 0x1.fffffffffffffp+0L, 0, l);
lib/msun/tests/next_test.c
193
testboth(0x0.fffffffffffffp-1022L, INFINITY, 0x1p-1022L, 0, l);
lib/msun/tests/next_test.c
194
testboth(0x1p-1022L, -INFINITY, 0x0.fffffffffffffp-1022L, ex_under, l);
lib/msun/tests/next_test.c
196
testboth(0x1.87654321fffffffep+0L, INFINITY, 0x1.87654322p+0L, 0, l);
lib/msun/tests/next_test.c
197
testboth(0x1.87654322p+0L, -INFINITY, 0x1.87654321fffffffep+0L, 0, l);
lib/msun/tests/next_test.c
198
testboth(0x1.fffffffffffffffep0L, INFINITY, 0x1p1L, 0, l);
lib/msun/tests/next_test.c
199
testboth(0x1p1L, -INFINITY, 0x1.fffffffffffffffep0L, 0, l);
lib/msun/tests/next_test.c
200
testboth(0x0.fffffffffffffffep-16382L, INFINITY, 0x1p-16382L, 0, l);
lib/msun/tests/next_test.c
202
0x0.fffffffffffffffep-16382L, ex_under, l);
lib/msun/tests/next_test.c
205
0x1.876543210988p+0, 0, l);
lib/msun/tests/next_test.c
207
0x1.876543210987ffffffffffffffffp+0L, 0, l);
lib/msun/tests/next_test.c
208
testboth(0x1.ffffffffffffffffffffffffffffp0L, INFINITY, 0x1p1L, 0, l);
lib/msun/tests/next_test.c
209
testboth(0x1p1L, -INFINITY, 0x1.ffffffffffffffffffffffffffffp0L, 0, l);
lib/msun/tests/next_test.c
211
0x1p-16382L, 0, l);
lib/msun/tests/next_test.c
213
0x0.ffffffffffffffffffffffffffffp-16382L, ex_under, l);
lib/msun/tests/next_test.c
246
testboth(ldbl_max, INFINITY, INFINITY, ex_over, l);
lib/msun/tests/next_test.c
247
testboth(INFINITY, 0.0, ldbl_max, 0, l);
lib/msun/tests/next_test.c
66
testboth((arg1), (arg2), (ans), (ex), l); \
lib/msun/tests/trig_test.c
71
test(prefix##l, x, result, exceptmask, excepts); \
libexec/bootpd/rtmsg.c
181
int l;
libexec/bootpd/rtmsg.c
216
l = rtm->rtm_msglen;
libexec/bootpd/rtmsg.c
219
if ((rlen = write(s, (char *)&m_rtmsg, l)) < 0) {
libexec/bootpd/rtmsg.c
227
l = read(s, (char *)&m_rtmsg, sizeof(m_rtmsg));
libexec/bootpd/rtmsg.c
228
} while (l > 0 && (rtm->rtm_type != cmd || rtm->rtm_seq != seq || rtm->rtm_pid != getpid()));
libexec/bootpd/rtmsg.c
229
if (l < 0)
libexec/bootpd/tools/bootptest/print-bootp.c
62
#define TCHECK(var, l) if ((u_char *)&(var) > ep - l) goto trunc
libexec/getty/chat.c
138
int l;
libexec/getty/chat.c
140
if ((l=strlen(str)) > 0 && (tmp=malloc(l + 1)) != NULL &&
libexec/getty/chat.c
141
(res=malloc(((l + 1) / 2 + 1) * sizeof(char *))) != NULL) {
libexec/getty/chat.c
145
for (l = 0, p = strtok(strcpy(tmp, str), ws);
libexec/getty/chat.c
220
res[l++] = p;
libexec/getty/chat.c
222
res[l] = NULL;
libexec/getty/chat.c
239
int l;
libexec/getty/chat.c
245
l = 2;
libexec/getty/chat.c
248
l = 0;
libexec/getty/chat.c
251
tmp[l++] = '^';
libexec/getty/chat.c
252
tmp[l++] = ch + '@';
libexec/getty/chat.c
254
tmp[l++] = '^';
libexec/getty/chat.c
255
tmp[l++] = '?';
libexec/getty/chat.c
257
tmp[l++] = ch;
libexec/getty/chat.c
258
tmp[l] = '\0';
libexec/getty/chat.c
261
*buf = tmp + l;
libexec/getty/chat.c
271
cleanstr(const char *s, int l)
libexec/getty/chat.c
276
if (tmplen < l * 4 + 1)
libexec/getty/chat.c
277
tmp = realloc(tmp, tmplen = l * 4 + 1);
libexec/getty/chat.c
286
while (i < l)
libexec/getty/subr.c
117
if ((l = cgetstr(buf, sp->field, &p)) >= 0) {
libexec/getty/subr.c
128
} else if (l == -1) {
libexec/getty/subr.c
62
int l;
libexec/getty/subr.c
82
l = 2;
libexec/getty/subr.c
84
l = strlen(sp->value) + 1;
libexec/getty/subr.c
85
if ((p = malloc(l)) != NULL)
libexec/getty/subr.c
86
strlcpy(p, sp->value, l);
libexec/rtld-elf/libmap.c
68
char *l, *p;
libexec/rtld-elf/libmap.c
80
l = xstrdup(libmap_override);
libexec/rtld-elf/libmap.c
81
for (p = l; *p != 0; p++) {
libexec/rtld-elf/libmap.c
91
lmc_parse(l, p - l);
libexec/rtld-elf/libmap.c
92
free(l);
libexec/rtld-elf/rtld.c
4622
struct link_map *l, *prev;
libexec/rtld-elf/rtld.c
4624
l = &obj->linkmap;
libexec/rtld-elf/rtld.c
4625
l->l_name = obj->path;
libexec/rtld-elf/rtld.c
4626
l->l_base = obj->mapbase;
libexec/rtld-elf/rtld.c
4627
l->l_ld = obj->dynamic;
libexec/rtld-elf/rtld.c
4628
l->l_addr = obj->relocbase;
libexec/rtld-elf/rtld.c
4631
r_debug.r_map = l;
libexec/rtld-elf/rtld.c
4645
l->l_prev = prev;
libexec/rtld-elf/rtld.c
4646
l->l_next = prev->l_next;
libexec/rtld-elf/rtld.c
4647
if (l->l_next != NULL)
libexec/rtld-elf/rtld.c
4648
l->l_next->l_prev = l;
libexec/rtld-elf/rtld.c
4649
prev->l_next = l;
libexec/rtld-elf/rtld.c
4655
struct link_map *l;
libexec/rtld-elf/rtld.c
4657
l = &obj->linkmap;
libexec/rtld-elf/rtld.c
4658
if (l->l_prev == NULL) {
libexec/rtld-elf/rtld.c
4659
if ((r_debug.r_map = l->l_next) != NULL)
libexec/rtld-elf/rtld.c
4660
l->l_next->l_prev = NULL;
libexec/rtld-elf/rtld.c
4664
if ((l->l_prev->l_next = l->l_next) != NULL)
libexec/rtld-elf/rtld.c
4665
l->l_next->l_prev = l->l_prev;
libexec/rtld-elf/rtld.c
6457
struct ld_env_var_desc *l;
libexec/rtld-elf/rtld.c
6473
l = &ld_env_vars[ll];
libexec/rtld-elf/rtld.c
6474
if (v - n == (ptrdiff_t)strlen(l->n) &&
libexec/rtld-elf/rtld.c
6475
strncmp(n, l->n, v - n) == 0) {
libexec/rtld-elf/rtld.c
6476
l->val = v + 1;
libexec/rtld-elf/rtld_lock.c
112
l = (Lock *)p;
libexec/rtld-elf/rtld_lock.c
113
l->base = base;
libexec/rtld-elf/rtld_lock.c
114
l->lock = 0;
libexec/rtld-elf/rtld_lock.c
115
return (l);
libexec/rtld-elf/rtld_lock.c
121
Lock *l = lock;
libexec/rtld-elf/rtld_lock.c
123
free(l->base);
libexec/rtld-elf/rtld_lock.c
138
def_lock_acquire_set(Lock *l, bool wlock)
libexec/rtld-elf/rtld_lock.c
141
if (atomic_cmpset_acq_int(&l->lock, 0, WAFLAG))
libexec/rtld-elf/rtld_lock.c
144
atomic_add_acq_int(&l->lock, RC_INCR);
libexec/rtld-elf/rtld_lock.c
145
if ((l->lock & WAFLAG) == 0)
libexec/rtld-elf/rtld_lock.c
147
atomic_add_int(&l->lock, -RC_INCR);
libexec/rtld-elf/rtld_lock.c
153
def_lock_acquire(Lock *l, bool wlock)
libexec/rtld-elf/rtld_lock.c
160
if (def_lock_acquire_set(l, wlock))
libexec/rtld-elf/rtld_lock.c
167
if (def_lock_acquire_set(l, wlock))
libexec/rtld-elf/rtld_lock.c
191
Lock *l = lock;
libexec/rtld-elf/rtld_lock.c
193
atomic_add_rel_int(&l->lock, -((l->lock & WAFLAG) == 0 ?
libexec/rtld-elf/rtld_lock.c
94
Lock *l;
sbin/camcontrol/camcontrol.c
9479
int l = -1;
sbin/camcontrol/camcontrol.c
9493
l = atoi(optarg);
sbin/camcontrol/camcontrol.c
9501
if (l == -1)
sbin/camcontrol/camcontrol.c
9505
sc = l;
sbin/camcontrol/camcontrol.c
9508
if (l == -1)
sbin/camcontrol/camcontrol.c
9512
sc = l;
sbin/devd/devd.cc
813
vector<event_proc *> *l;
sbin/devd/devd.cc
821
l = &_notify_list;
sbin/devd/devd.cc
825
l = &_nomatch_list;
sbin/devd/devd.cc
829
l = &_attach_list;
sbin/devd/devd.cc
833
l = &_detach_list;
sbin/devd/devd.cc
838
for (i = l->begin(); i != l->end(); ++i) {
sbin/devfs/devfs.c
115
long l;
sbin/devfs/devfs.c
117
l = strtol(s, &cp, 10);
sbin/devfs/devfs.c
118
if (l > INT_MAX || *cp != '\0')
sbin/devfs/devfs.c
120
return ((int)l);
sbin/dhclient/conflex.c
123
int l, p;
sbin/dhclient/conflex.c
126
l = line;
sbin/dhclient/conflex.c
138
lexline = l;
sbin/dhclient/conflex.c
144
lexline = l;
sbin/dhclient/conflex.c
149
lexline = l;
sbin/dhclient/conflex.c
154
lexline = l;
sbin/dhclient/dhclient.c
137
int check_option(struct client_lease *l, int option);
sbin/dhclient/dhclient.c
235
struct client_lease *l;
sbin/dhclient/dhclient.c
2524
check_option(struct client_lease *l, int option)
sbin/dhclient/dhclient.c
2531
opbuf = pretty_print_option(option, l->options[option].data,
sbin/dhclient/dhclient.c
2532
l->options[option].len, 0, 0);
sbin/dhclient/dhclient.c
2534
sbuf = option_as_string(option, l->options[option].data,
sbin/dhclient/dhclient.c
2535
l->options[option].len);
sbin/dhclient/dhclient.c
2578
l->options[option].len = 0;
sbin/dhclient/dhclient.c
2579
free(l->options[option].data);
sbin/dhclient/dhclient.c
2588
l->options[option].len = 0;
sbin/dhclient/dhclient.c
2589
free(l->options[option].data);
sbin/dhclient/dhclient.c
2643
return (check_classless_option(l->options[option].data,
sbin/dhclient/dhclient.c
2644
l->options[option].len));
sbin/dhclient/dhclient.c
271
for (l = ifi->client->active; l != NULL; l = l->next)
sbin/dhclient/dhclient.c
272
if (addr_eq(a, l->address))
sbin/dhclient/dhclient.c
275
if (l == NULL) /* added/deleted addr is not the one we set */
sbin/dhclient/dispatch.c
159
struct protocol *l;
sbin/dhclient/dispatch.c
165
for (l = protocols; l; l = l->next)
sbin/dhclient/dispatch.c
205
for (i = 0, l = protocols; l; l = l->next) {
sbin/dhclient/dispatch.c
206
struct interface_info *ip = l->local;
sbin/dhclient/dispatch.c
210
fds[i].fd = l->fd;
sbin/dhclient/dispatch.c
214
if (l->handler == got_one)
sbin/dhclient/dispatch.c
238
for (l = protocols; l; l = l->next) {
sbin/dhclient/dispatch.c
240
ip = l->local;
sbin/dhclient/dispatch.c
243
if (ip && (l->handler != got_one ||
sbin/dhclient/dispatch.c
245
(*(l->handler))(l);
sbin/dhclient/dispatch.c
257
got_one(struct protocol *l)
sbin/dhclient/dispatch.c
271
struct interface_info *ip = l->local;
sbin/dhclient/dispatch.c
285
close(l->fd);
sbin/dhclient/dispatch.c
286
remove_protocol(l);
sbin/fsck_ffs/pass5.c
504
long i, j, k, l, m, size;
sbin/fsck_ffs/pass5.c
518
for (m = 0, l = 1; m < CHAR_BIT; m++, l <<= 1) {
sbin/fsck_ffs/pass5.c
519
if ((j & l) == (k & l))
sbin/fsck_ffs/pass5.c
522
if ((j & l) != 0) {
sbin/growfs/debug.c
461
int j,k,l,e;
sbin/growfs/debug.c
482
for (l = 0; (l < 8) && (j + k + l < e); l++) {
sbin/growfs/debug.c
483
fprintf(dbg_log, "%02x", cp[l]);
sbin/growfs/debug.c
504
int j,k,l,e;
sbin/growfs/debug.c
529
for (l = 0; (l < 8) && (j + k + l < e); l++) {
sbin/growfs/debug.c
530
fprintf(dbg_log, "%02x", cp[l]);
sbin/growfs/debug.c
550
int j,k,l,e;
sbin/growfs/debug.c
574
for (l = 0; (l < 8) && (j + k + l <e); l++) {
sbin/growfs/debug.c
575
fprintf(dbg_log, "%02x", cp[l]);
sbin/ipf/common/ipf_y.y
2174
u_32_t l;
sbin/ipf/common/ipf_y.y
2196
l = (u_32_t)strtol(s, NULL, 0);
sbin/ipf/common/ipf_y.y
2200
fb[i / 4].fb_c = l & 0xffff;
sbin/ipf/common/ipf_y.y
2203
fb[i / 4].fb_t = l & 0xff;
sbin/ipf/common/ipf_y.y
2206
fb[i / 4].fb_f = l & 0xff;
sbin/ipf/common/ipf_y.y
2209
fb[i / 4].fb_k = l;
sbin/ipf/ipmon/ipmon.c
1717
logsource_t *l;
sbin/ipf/ipmon/ipmon.c
1722
l = &conf->logsrc[i];
sbin/ipf/ipmon/ipmon.c
1723
if (l->logtype == -1)
sbin/ipf/ipmon/ipmon.c
1725
if (!strcmp(l->file, "-"))
sbin/ipf/ipmon/ipmon.c
1726
l->fd = 0;
sbin/ipf/ipmon/ipmon.c
1728
if ((l->fd= open(l->file, O_RDONLY)) == -1) {
sbin/ipf/ipmon/ipmon.c
1730
"%s: open: %s\n", l->file,
sbin/ipf/ipmon/ipmon.c
1736
if (fstat(l->fd, &sb) == -1) {
sbin/ipf/ipmon/ipmon.c
1738
l->fd, STRERROR(errno));
sbin/ipf/ipmon/ipmon.c
1743
l->regular = !S_ISCHR(sb.st_mode);
sbin/ipf/ipmon/ipmon.c
1744
if (l->regular)
sbin/ipf/ipmon/ipmon.c
1745
l->size = sb.st_size;
sbin/ipf/ipmon/ipmon.c
1747
FD_SET(l->fd, &conf->fdmr);
sbin/ipf/ipmon/ipmon.c
1748
if (l->fd > conf->maxfd)
sbin/ipf/ipmon/ipmon.c
1749
conf->maxfd = l->fd;
sbin/ipf/ipmon/ipmon.c
1760
logsource_t *l;
sbin/ipf/ipmon/ipmon.c
1775
l = &conf->logsrc[i];
sbin/ipf/ipmon/ipmon.c
1777
if ((l->logtype == -1) || !FD_ISSET(l->fd, &fdr))
sbin/ipf/ipmon/ipmon.c
1781
if (l->regular) {
sbin/ipf/ipmon/ipmon.c
1782
tr = (lseek(l->fd, 0, SEEK_CUR) < l->size);
sbin/ipf/ipmon/ipmon.c
1788
tr = read_log(l->fd, &n, (char *)buf, sizeof(buf));
sbin/ipf/ipmon/ipmon.c
1818
ipferror(l->fd, "read");
sbin/ipf/ipmon/ipmon.c
1832
print_log(conf, l, (char *)buf, n);
sbin/ipf/libipf/interror.c
548
int l = -1, r = IPF_NUM_ERRORS + 1, step;
sbin/ipf/libipf/interror.c
549
step = (r - l) / 2;
sbin/ipf/libipf/interror.c
552
ie = ipf_errors + l + step;
sbin/ipf/libipf/interror.c
555
step = l + step;
sbin/ipf/libipf/interror.c
559
l = step;
sbin/ipf/libipf/interror.c
560
step = (r - l) / 2;
sbin/ipf/libipf/ipft_pc.c
203
struct llc *l;
sbin/ipf/libipf/ipft_pc.c
215
l = llcp;
sbin/ipf/libipf/ipft_pc.c
236
i -= l->lc_sz;
sbin/ipf/libipf/ipft_pc.c
237
s += l->lc_to;
sbin/ipf/libipf/ipft_pc.c
238
bcopy(s, ty, l->lc_tl);
sbin/ipf/libipf/ipft_pc.c
239
s += l->lc_tl;
sbin/ipfw/dummynet.c
1672
int l;
sbin/ipfw/dummynet.c
1675
l = strlen(av[0]);
sbin/ipfw/dummynet.c
1676
if (l == 0 || l > 15)
sbin/ipfw/dummynet.c
1941
u_int buflen, l;
sbin/ipfw/dummynet.c
1951
l = sizeof(*oid) + sizeof(uint32_t) * n * 2;
sbin/ipfw/dummynet.c
1952
oid = safe_calloc(1, l);
sbin/ipfw/dummynet.c
1953
oid_fill(oid, l, DN_CMD_GET, DN_API_VERSION);
sbin/ipfw/dummynet.c
1993
ret = do_cmd(-IP_DUMMYNET3, oid, (uintptr_t)&l);
sbin/ipfw/dummynet.c
2001
l = buflen;
sbin/ipfw/dummynet.c
2002
x = safe_realloc(x, l);
sbin/ipfw/dummynet.c
2004
ret = do_cmd(-IP_DUMMYNET3, x, (uintptr_t)&l);
sbin/ipfw/dummynet.c
2007
if (l + max_size <= buflen)
sbin/ipfw/dummynet.c
2011
list_pipes(x, O_NEXT(x, l));
sbin/ipfw/dummynet.c
229
u_int l;
sbin/ipfw/dummynet.c
232
l = sizeof(struct dn_extra_parms);
sbin/ipfw/dummynet.c
233
ep = safe_calloc(1, l);
sbin/ipfw/dummynet.c
237
oid_fill(&ep->oid, l, DN_CMD_GET, DN_API_VERSION);
sbin/ipfw/dummynet.c
238
ep->oid.len = l;
sbin/ipfw/dummynet.c
242
ret = do_cmd(-IP_DUMMYNET3, ep, (uintptr_t)&l);
sbin/ipfw/dummynet.c
253
l = sprintf(out, " AQM CoDel target %s interval %s",
sbin/ipfw/dummynet.c
256
l = sprintf(out + l, " ECN");
sbin/ipfw/dummynet.c
258
l += sprintf(out + l, " NoECN");
sbin/ipfw/dummynet.c
263
l = sprintf(out, " AQM type PIE target %s tupdate %s alpha "
sbin/ipfw/dummynet.c
274
l += sprintf(out + l, " ECN");
sbin/ipfw/dummynet.c
276
l += sprintf(out + l, " NoECN");
sbin/ipfw/dummynet.c
278
l += sprintf(out + l, " CapDrop");
sbin/ipfw/dummynet.c
280
l += sprintf(out + l, " NoCapDrop");
sbin/ipfw/dummynet.c
282
l += sprintf(out + l, " OnOff");
sbin/ipfw/dummynet.c
284
l += sprintf(out + l, " DRE");
sbin/ipfw/dummynet.c
286
l += sprintf(out + l, " TS");
sbin/ipfw/dummynet.c
288
l += sprintf(out + l, " Derand");
sbin/ipfw/dummynet.c
290
l += sprintf(out + l, " NoDerand");
sbin/ipfw/dummynet.c
298
l = sprintf(out," FQ_CODEL target %s interval %s"
sbin/ipfw/dummynet.c
306
l += sprintf(out + l, " ECN");
sbin/ipfw/dummynet.c
308
l += sprintf(out + l, " NoECN");
sbin/ipfw/dummynet.c
309
l += sprintf(out + l, "\n");
sbin/ipfw/dummynet.c
314
l = sprintf(out, " FQ_PIE target %s tupdate %s alpha "
sbin/ipfw/dummynet.c
329
l += sprintf(out + l, " ECN");
sbin/ipfw/dummynet.c
331
l += sprintf(out + l, " NoECN");
sbin/ipfw/dummynet.c
333
l += sprintf(out + l, " CapDrop");
sbin/ipfw/dummynet.c
335
l += sprintf(out + l, " NoCapDrop");
sbin/ipfw/dummynet.c
337
l += sprintf(out + l, " OnOff");
sbin/ipfw/dummynet.c
339
l += sprintf(out + l, " DRE");
sbin/ipfw/dummynet.c
341
l += sprintf(out + l, " TS");
sbin/ipfw/dummynet.c
343
l += sprintf(out + l, " Derand");
sbin/ipfw/dummynet.c
345
l += sprintf(out + l, " NoDerand");
sbin/ipfw/dummynet.c
346
l += sprintf(out + l, "\n");
sbin/ipfw/dummynet.c
472
int l;
sbin/ipfw/dummynet.c
477
l = fs->qsize;
sbin/ipfw/dummynet.c
479
if (l >= 8192)
sbin/ipfw/dummynet.c
480
sprintf(qs, "%d KB", l / 1024);
sbin/ipfw/dummynet.c
482
sprintf(qs, "%d B", l);
sbin/ipfw/dummynet.c
484
sprintf(qs, "%3d sl.", l);
sbin/ipfw/dummynet.c
581
int i, l;
sbin/ipfw/dummynet.c
586
l = (oid->len - sizeof(*oid))/sizeof(d->p[0]);
sbin/ipfw/dummynet.c
587
if (l == 0)
sbin/ipfw/dummynet.c
590
for (i = 0; i < l; i++)
sbin/ipfw/ipfw2.c
1354
const ipfw_insn_lookup *l = insntoc(cmd, lookup);
sbin/ipfw/ipfw2.c
1380
if (inet_ntop(AF_INET6, &l->ip6,
sbin/ipfw/ipfw2.c
1390
inet_ntoa(l->ip4), t);
sbin/ipfw/ipfw2.c
1395
ether_ntoa((const struct ether_addr *)&l->mac), t);
sbin/ipfw/ipfw2.c
1400
l->u32, t);
sbin/ipfw/ipfw2.c
1424
print_tvalue(bp, l);
sbin/ipfw/ipfw2.c
1500
int l = contigmask(mask, 48);
sbin/ipfw/ipfw2.c
1502
if (l == 0)
sbin/ipfw/ipfw2.c
1507
if (l == -1)
sbin/ipfw/ipfw2.c
1511
else if (l < 48)
sbin/ipfw/ipfw2.c
1512
bprintf(bp, "/%d", l);
sbin/ipfw/ipfw2.c
2014
int l;
sbin/ipfw/ipfw2.c
2016
for (l = state->rule->act_ofs, cmd = state->rule->cmd;
sbin/ipfw/ipfw2.c
2017
l > 0; l -= F_LEN(cmd), cmd += F_LEN(cmd)) {
sbin/ipfw/ipfw2.c
2283
int l;
sbin/ipfw/ipfw2.c
2285
for (l = state->rule->cmd_len - state->rule->act_ofs,
sbin/ipfw/ipfw2.c
2286
cmd = ACTION_PTR(state->rule); l > 0;
sbin/ipfw/ipfw2.c
2287
l -= F_LEN(cmd), cmd += F_LEN(cmd)) {
sbin/ipfw/ipfw2.c
2302
int l, proto, ip4, ip6;
sbin/ipfw/ipfw2.c
2306
for (l = state->rule->act_ofs, cmd = state->rule->cmd;
sbin/ipfw/ipfw2.c
2307
l > 0; l -= F_LEN(cmd), cmd += F_LEN(cmd)) {
sbin/ipfw/ipfw2.c
2339
for (l = proto; l > 0; l--) {
sbin/ipfw/ipfw2.c
2367
int count, l, portcnt, pf;
sbin/ipfw/ipfw2.c
2370
for (l = state->rule->act_ofs, cmd = state->rule->cmd;
sbin/ipfw/ipfw2.c
2371
l > 0; l -= F_LEN(cmd), cmd += F_LEN(cmd)) {
sbin/ipfw/ipfw2.c
2386
for (l = state->rule->act_ofs, cmd = state->rule->cmd;
sbin/ipfw/ipfw2.c
2387
l > 0 && count > 0; l -= F_LEN(cmd), cmd += F_LEN(cmd)) {
sbin/ipfw/ipfw2.c
2400
for (l = state->rule->act_ofs, cmd = state->rule->cmd, pf = 0;
sbin/ipfw/ipfw2.c
2401
l > 0; l -= F_LEN(cmd), cmd += F_LEN(cmd)) {
sbin/ipfw/ipfw2.c
3271
int c, i, l;
sbin/ipfw/ipfw2.c
3278
l = strlen(name);
sbin/ipfw/ipfw2.c
3279
if (l == 0 || l >= 64)
sbin/ipfw/ipfw2.c
3281
for (i = 0; i < l; i++) {
sbin/ipfw/ipfw2.c
3774
size_t l;
sbin/ipfw/ipfw2.c
3787
l = strlen(ap);
sbin/ipfw/ipfw2.c
3788
if (strspn(ap, macset) != l || (mac = ether_aton(ap)) == NULL)
sbin/ipfw/ipfw2.c
3802
l = strlen(ptr);
sbin/ipfw/ipfw2.c
3803
if (strspn(ptr, macset) != l ||
sbin/ipfw/ipfw2.c
3839
int i, l;
sbin/ipfw/ipfw2.c
3846
for (i = 0, l = 0; av[i] != NULL; i++)
sbin/ipfw/ipfw2.c
3847
l += strlen(av[i]) + 1;
sbin/ipfw/ipfw2.c
3848
if (l == 0)
sbin/ipfw/ipfw2.c
3850
if (l > 84)
sbin/ipfw/ipfw2.c
3853
l = 1 + (l+3)/4;
sbin/ipfw/ipfw2.c
3854
cmd->len = (cmd->len & (F_NOT | F_OR)) | l;
sbin/ipfw/ipfw2.c
4762
int l;
sbin/ipfw/ipfw2.c
4783
l = atoi(*av);
sbin/ipfw/ipfw2.c
4784
if (l < 0)
sbin/ipfw/ipfw2.c
4787
c->max_log = l;
sbin/ipfw/ipfw2.c
828
int l;
sbin/ipfw/ipfw2.c
832
l = snprintf(buf + sz, bufsize - sz, "%s%s",
sbin/ipfw/ipfw2.c
834
sz += l;
sbin/ipfw/ipfw2.c
835
bufsize += l;
sbin/ipfw/ipfw2.c
880
int i, l;
sbin/ipfw/ipfw2.c
887
l = snprintf(buf, sz, "%s%s", comma, list[i].s);
sbin/ipfw/ipfw2.c
888
if (l < 0 || (size_t)l >= sz)
sbin/ipfw/ipfw2.c
891
buf += l;
sbin/ipfw/ipfw2.c
892
sz -=l;
sbin/ipfw/main.c
127
int l = strlen(arg);
sbin/ipfw/main.c
131
for (i = j = 0; i < l; i++) {
sbin/ipfw/main.c
145
l = j; /* the new argument length */
sbin/ipfw/main.c
147
if (l == 0) /* empty string! */
sbin/ipfw/main.c
154
for (i = 0, ac = 1; i < l; i++)
sbin/ipfw/main.c
166
av_size = (ac+1) * sizeof(char *) + l + 1;
sbin/ipfw/main.c
175
for (ac = 1, i = j = 0; i < l; i++) {
sbin/ipfw/main.c
176
if (strchr(WHITESP, arg[i]) != NULL || i == l-1) {
sbin/ipfw/main.c
177
if (i == l-1)
sbin/ipfw/main.c
191
int first, i, l=0;
sbin/ipfw/main.c
202
l += strlen(oldav[i]);
sbin/ipfw/main.c
204
av_size = (oldac+1) * sizeof(char *) + l + oldac;
sbin/ipfw/main.c
212
for (first = i = ac = 1, l = 0; i < oldac; i++) {
sbin/ipfw/main.c
216
l += k;
sbin/ipfw/main.c
220
for (l=0; first <= i; first++) {
sbin/ipfw/main.c
226
l = 0;
sbin/ipfw/nat64lsn.c
336
char *p, *l;
sbin/ipfw/nat64lsn.c
341
if ((l = strchr(p, '/')) != NULL)
sbin/ipfw/nat64lsn.c
342
*l++ = '\0';
sbin/ipfw/nat64lsn.c
343
if (l == NULL)
sbin/ipfw/nat64lsn.c
347
*plen = (uint16_t)strtol(l, &l, 10);
sbin/ipfw/nat64lsn.c
348
if (*l != '\0' || *plen == 0 || (af == AF_INET && *plen > 32) ||
sbin/ipfw/nptv6.c
162
char *p, *l;
sbin/ipfw/nptv6.c
167
if ((l = strchr(p, '/')) != NULL)
sbin/ipfw/nptv6.c
168
*l++ = '\0';
sbin/ipfw/nptv6.c
171
if (l != NULL) {
sbin/ipfw/nptv6.c
172
plen = strtol(l, &l, 10);
sbin/ipfw/nptv6.c
173
if (*l != '\0' || plen < 8 || plen > 64)
sbin/ipfw/tables.c
1813
uint32_t flag, i, l;
sbin/ipfw/tables.c
1835
l = 0;
sbin/ipfw/tables.c
1839
l = snprintf(buf, sz, "%u,", v->tag);
sbin/ipfw/tables.c
1842
l = snprintf(buf, sz, "%u,", v->pipe);
sbin/ipfw/tables.c
1845
l = snprintf(buf, sz, "%d,", v->divert);
sbin/ipfw/tables.c
1848
l = snprintf(buf, sz, "%d,", v->skipto);
sbin/ipfw/tables.c
1851
l = snprintf(buf, sz, "%u,", v->netgraph);
sbin/ipfw/tables.c
1854
l = snprintf(buf, sz, "%u,", v->fib);
sbin/ipfw/tables.c
1857
l = snprintf(buf, sz, "%u,", v->nat);
sbin/ipfw/tables.c
1860
l = snprintf(buf, sz, "%u,", v->limit);
sbin/ipfw/tables.c
1865
l = snprintf(buf, sz, "%s,", abuf);
sbin/ipfw/tables.c
1868
l = snprintf(buf, sz, "%d,", v->dscp);
sbin/ipfw/tables.c
1879
l = snprintf(buf, sz, "%s,", abuf);
sbin/ipfw/tables.c
1882
l = snprintf(buf, sz, "%#x,", v->mark);
sbin/ipfw/tables.c
1886
buf += l;
sbin/ipfw/tables.c
1887
sz -= l;
sbin/ipfw/tables.c
379
int l;
sbin/ipfw/tables.c
384
l = snprintf(tbuf, size, "%s", tname);
sbin/ipfw/tables.c
385
tbuf += l;
sbin/ipfw/tables.c
386
size -= l;
sbin/ipfw/tables.c
392
l--;
sbin/mount/mount.c
897
int l;
sbin/mount/mount.c
915
l = strlen(mntfromname);
sbin/mount/mount.c
918
l < 8 ? "\t" : "",
sbin/mount/mount.c
919
l < 16 ? "\t" : "",
sbin/mount/mount.c
920
l < 24 ? "\t" : " ");
sbin/mount/mount.c
921
l = strlen(ent->f_mntonname);
sbin/mount/mount.c
924
l < 8 ? "\t" : "",
sbin/mount/mount.c
925
l < 16 ? "\t" : "",
sbin/mount/mount.c
926
l < 24 ? "\t" : " ");
sbin/mount/mount.c
928
l = strlen(opts);
sbin/mount/mount.c
930
l < 8 ? "\t" : " ");
sbin/mount_unionfs/mount_unionfs.c
56
int l;
sbin/mount_unionfs/mount_unionfs.c
58
l = strlen(dir);
sbin/mount_unionfs/mount_unionfs.c
59
if (l <= 1)
sbin/mount_unionfs/mount_unionfs.c
62
if ((strncmp(p, dir, l) == 0) && (p[l] == '/' || p[l] == '\0'))
sbin/newfs_msdos/newfs_msdos.c
56
long long l;
sbin/newfs_msdos/newfs_msdos.c
62
l = strtoll(b, &eb, 0);
sbin/newfs_msdos/newfs_msdos.c
65
return (time_t)l;
sbin/nvmecontrol/connect.c
255
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/devlist.c
64
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/discover.c
275
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/firmware.c
69
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/format.c
74
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/identify.c
268
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/logpage.c
136
struct logpage_function *l, *a;
sbin/nvmecontrol/logpage.c
139
l = SLIST_FIRST(&logpages);
sbin/nvmecontrol/logpage.c
140
while (l != NULL) {
sbin/nvmecontrol/logpage.c
141
if (logpage_compare(l, p) > 0)
sbin/nvmecontrol/logpage.c
143
a = l;
sbin/nvmecontrol/logpage.c
144
l = SLIST_NEXT(l, link);
sbin/nvmecontrol/logpage.c
77
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/modules/wdc/wdc.c
52
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/ns.c
59
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/passthru.c
99
#define ARG(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/perftest.c
73
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/power.c
182
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/reconnect.c
293
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/resv.c
53
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/sanitize.c
69
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/selftest.c
112
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/telemetry.c
62
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/pfctl/parse.y
8140
size_t l = sizeof(fibs);
sbin/pfctl/parse.y
8142
if (sysctlbyname("net.fibs", &fibs, &l, NULL, 0) == -1)
sbin/pflowctl/pflowctl.c
120
if (! snl_parse_nlmsg(&ss, hdr, &list_parser, &l))
sbin/pflowctl/pflowctl.c
123
get(l.id);
sbin/pflowctl/pflowctl.c
98
struct pflowctl_list l = {};
sbin/ping/ping.c
1095
u_char *cp, *dp, l;
sbin/ping/ping.c
1119
memcpy(&l, buf, sizeof(l));
sbin/ping/ping.c
1120
hlen = (l & 0x0f) << 2;
sbin/ping/ping6.c
1274
size_t l;
sbin/ping/ping6.c
1277
l = ICMP6_NIQLEN + sizeof(dst.sin6_addr);
sbin/ping/ping6.c
1279
l = ICMP6_NIQLEN;
sbin/ping/ping6.c
1281
l = ICMP6_NIQLEN + sizeof(dst.sin6_addr);
sbin/ping/ping6.c
1283
l = ICMP6_NIQLEN;
sbin/ping/ping6.c
1285
l = ICMP6ECHOLEN + datalen;
sbin/ping/ping6.c
1287
return l;
sbin/ping/ping6.c
1468
int l;
sbin/ping/ping6.c
1501
l = snprintf(cresult, sizeof(cresult),
sbin/ping/ping6.c
1503
if ((size_t)l >= sizeof(cresult) || l < 0)
sbin/ping/ping6.c
2275
size_t l;
sbin/ping/ping6.c
2389
l = end - (u_char *)(ni + 1);
sbin/ping/ping6.c
2414
if (l == sizeof(struct in6_addr) &&
sbin/ping/ping6.c
2443
if (l == sizeof(struct in_addr) &&
sbin/ping/ping6.c
2693
size_t l;
sbin/ping/ping6.c
2701
l = p - name;
sbin/ping/ping6.c
2702
if (l > 63 || l > sizeof(hbuf) - 1)
sbin/ping/ping6.c
2704
strncpy(hbuf, name, l);
sbin/ping/ping6.c
2705
hbuf[(int)l] = '\0';
sbin/ping/ping6.c
2715
c = l & 0xff;
sbin/ping/ping6.c
2717
MD5Update(&ctxt, (unsigned char *)name, l);
sbin/recoverdisk/recoverdisk.c
674
uint64_t l = small_read;
sbin/recoverdisk/recoverdisk.c
675
while (h > l) {
sbin/recoverdisk/recoverdisk.c
677
l <<= 1;
sbin/route/route.c
1574
int l;
sbin/route/route.c
1580
l = SA_SIZE(&(u)); \
sbin/route/route.c
1581
memmove(cp, (char *)&(u), l); \
sbin/route/route.c
1582
cp += l; \
sbin/route/route.c
1602
rtm.rtm_msglen = l = cp - (char *)&m_rtmsg;
sbin/route/route.c
1604
print_rtmsg(&rtm, l);
sbin/route/route.c
1607
if ((rlen = write(s, (char *)&m_rtmsg, l)) < 0) {
sbin/route/route.c
1627
l = read(s, (char *)&m_rtmsg, sizeof(m_rtmsg));
sbin/route/route.c
1628
} while (l > 0 && stop_read == 0 &&
sbin/route/route.c
1636
if (l < 0)
sbin/route/route.c
1639
print_getmsg(&rtm, l, fib);
sbin/route/route_netlink.c
581
struct snl_parsed_link l = {};
sbin/route/route_netlink.c
584
if (!snl_parse_nlmsg(ss, hdr, &snl_rtm_link_parser, &l))
sbin/route/route_netlink.c
591
printf("iface#%u %s ", l.ifi_index, l.ifla_ifname);
sbin/route/route_netlink.c
592
printf("admin %s ", (l.ifi_flags & IFF_UP) ? "UP" : "DOWN");
sbin/route/route_netlink.c
593
if (l.ifla_operstate < nitems(operstate))
sbin/route/route_netlink.c
594
printf("oper %s ", operstate[l.ifla_operstate]);
sbin/route/route_netlink.c
595
if (l.ifla_mtu > 0)
sbin/route/route_netlink.c
596
printf("mtu %u ", l.ifla_mtu);
sbin/routed/defs.h
112
#define LIM_SEC(s,l) ((s).tv_sec = MIN((s).tv_sec, (l)))
sbin/routed/defs.h
78
#define PATTRIB(f,l) __attribute__((format (printf,f,l)))
sbin/routed/parms.c
470
u_long l;
sbin/routed/parms.c
499
|| (l = strtoul(buf,&p,0)) > 255
sbin/routed/parms.c
505
if (ap2->keyid == l) {
sbin/routed/parms.c
510
k.keyid = (int)l;
sbin/routed/radix.c
50
#define Bcmp(a, b, l) (l == 0 ? 0 \
sbin/routed/radix.c
51
: memcmp((caddr_t)(a), (caddr_t)(b), (size_t)l))
sbin/routed/trace.c
426
size_t l;
sbin/routed/trace.c
431
l = sizeof(bufs[bufno].str);
sbin/routed/trace.c
441
(void)snprintf(sp, s + l - sp, "/%d", 32-i);
sbin/routed/trace.c
444
(void)snprintf(sp, s + l - sp, " (mask %#x)",
sbin/savecore/savecore.c
1303
int i, l;
sbin/savecore/savecore.c
1321
l = snprintf(fullpath, PATH_MAX, "%s%s", _PATH_DEV,
sbin/savecore/savecore.c
1323
if (l < 0) {
sbin/savecore/savecore.c
1326
} else if (l >= PATH_MAX) {
sbin/setkey/parse.y
1003
memcpy(buf + l, &m_replay, len);
sbin/setkey/parse.y
1004
l += len;
sbin/setkey/parse.y
1008
l0 = l;
sbin/setkey/parse.y
1015
l = l0;
sbin/setkey/parse.y
1033
setvarbuf(buf, &l, (struct sadb_ext *)&m_addr,
sbin/setkey/parse.y
1046
setvarbuf(buf, &l, (struct sadb_ext *)&m_addr,
sbin/setkey/parse.y
1049
msg->sadb_msg_len = PFKEY_UNIT64(l);
sbin/setkey/parse.y
1051
sendkeymsg(buf, l);
sbin/setkey/parse.y
1070
int l, l0, len;
sbin/setkey/parse.y
1092
l = sizeof(struct sadb_msg);
sbin/setkey/parse.y
1105
setvarbuf(buf, &l,
sbin/setkey/parse.y
1121
setvarbuf(buf, &l,
sbin/setkey/parse.y
1138
memcpy(buf + l, &m_lt, slen);
sbin/setkey/parse.y
1139
l += slen;
sbin/setkey/parse.y
1154
memcpy(buf + l, &m_lt, slen);
sbin/setkey/parse.y
1155
l += slen;
sbin/setkey/parse.y
1168
memcpy(buf + l, &m_sa, len);
sbin/setkey/parse.y
1169
l += len;
sbin/setkey/parse.y
1177
memcpy(buf + l, &m_sa2, len);
sbin/setkey/parse.y
1178
l += len;
sbin/setkey/parse.y
1186
memcpy(buf + l, &m_replay, len);
sbin/setkey/parse.y
1187
l += len;
sbin/setkey/parse.y
1196
memcpy(buf + l, &m_natt_type, len);
sbin/setkey/parse.y
1197
l += len;
sbin/setkey/parse.y
1206
setvarbuf(buf, &l, (struct sadb_ext *)&m_addr,
sbin/setkey/parse.y
1214
memcpy(buf + l, &m_natt_port, len);
sbin/setkey/parse.y
1215
l += len;
sbin/setkey/parse.y
1224
setvarbuf(buf, &l, (struct sadb_ext *)&m_addr,
sbin/setkey/parse.y
1232
memcpy(buf + l, &m_natt_port, len);
sbin/setkey/parse.y
1233
l += len;
sbin/setkey/parse.y
1242
memcpy(buf + l, &m_natt_frag, len);
sbin/setkey/parse.y
1243
l += len;
sbin/setkey/parse.y
1247
l0 = l;
sbin/setkey/parse.y
1254
l = l0;
sbin/setkey/parse.y
1272
setvarbuf(buf, &l, (struct sadb_ext *)&m_addr,
sbin/setkey/parse.y
1285
setvarbuf(buf, &l, (struct sadb_ext *)&m_addr,
sbin/setkey/parse.y
1288
msg->sadb_msg_len = PFKEY_UNIT64(l);
sbin/setkey/parse.y
1290
sendkeymsg(buf, l);
sbin/setkey/parse.y
1306
memcpy(buf + l, &m_if_hw, len);
sbin/setkey/parse.y
1307
l += len;
sbin/setkey/parse.y
1339
u_int l;
sbin/setkey/parse.y
1341
l = 0;
sbin/setkey/parse.y
1342
for (p = spec->buf; *p != ',' && *p != '\0' && l < spec->len; p++, l++)
sbin/setkey/parse.y
1351
for (p = p2; *p != '\0' && l < spec->len; p++, l++)
sbin/setkey/parse.y
484
int l;
sbin/setkey/parse.y
486
l = strlen(yp) % 2 + strlen(yp) / 2;
sbin/setkey/parse.y
487
if ((pp_key = malloc(l)) == 0) {
sbin/setkey/parse.y
491
memset(pp_key, 0, l);
sbin/setkey/parse.y
503
$$.len = l;
sbin/setkey/parse.y
815
setkeymsg0(struct sadb_msg *msg, unsigned type, unsigned satype, size_t l)
sbin/setkey/parse.y
825
msg->sadb_msg_len = PFKEY_UNIT64(l);
sbin/setkey/parse.y
853
int l, l0;
sbin/setkey/parse.y
869
l = sizeof(struct sadb_msg);
sbin/setkey/parse.y
871
memcpy(buf + l, policy->buf, policy->len);
sbin/setkey/parse.y
872
l += policy->len;
sbin/setkey/parse.y
884
memcpy(buf + l, &m_if_hw, l0);
sbin/setkey/parse.y
885
l += l0;
sbin/setkey/parse.y
888
l0 = l;
sbin/setkey/parse.y
895
l = l0;
sbin/setkey/parse.y
914
setvarbuf(buf, &l, (struct sadb_ext *)&m_addr,
sbin/setkey/parse.y
928
setvarbuf(buf, &l, (struct sadb_ext *)&m_addr,
sbin/setkey/parse.y
931
msg->sadb_msg_len = PFKEY_UNIT64(l);
sbin/setkey/parse.y
933
sendkeymsg(buf, l);
sbin/setkey/parse.y
952
int l, l0, len;
sbin/setkey/parse.y
970
l = sizeof(struct sadb_msg);
sbin/setkey/parse.y
984
memcpy(buf + l, &m_sa, len);
sbin/setkey/parse.y
985
l += len;
sbin/setkey/parse.y
993
memcpy(buf + l, &m_sa2, len);
sbin/setkey/parse.y
994
l += len;
sbin/setkey/setkey.c
272
ssize_t l;
sbin/setkey/setkey.c
283
if ((l = send(so, &msg, sizeof(msg), 0)) < 0) {
sbin/setkey/setkey.c
291
if ((l = recv(so, rbuf, sizeof(*base), MSG_PEEK)) < 0) {
sbin/setkey/setkey.c
296
if (l != sizeof(*base))
sbin/setkey/setkey.c
300
if ((l = recv(so, rbuf, PFKEY_UNUNIT64(base->sadb_msg_len),
sbin/setkey/setkey.c
308
for (i = 0; i < l; i++) {
sbin/setkey/setkey.c
315
if (l % 16)
sbin/setkey/setkey.c
320
if ((ssize_t)sizeof(*base) < l)
sbin/setkey/setkey.c
337
ssize_t l;
sbin/setkey/setkey.c
372
if ((l = send(so, buf, len, 0)) < 0) {
sbin/setkey/setkey.c
379
if ((l = recv(so, rbuf, sizeof(rbuf), 0)) < 0) {
sbin/setkey/setkey.c
384
if (PFKEY_UNUNIT64(msg->sadb_msg_len) != l) {
sbin/sysctl/sysctl.c
772
size_t l;
sbin/sysctl/sysctl.c
775
l = snprintf(buf, sizeof(buf), "{ ");
sbin/sysctl/sysctl.c
777
for (i = 0; i * sizeof(*ps) < l2 && ps[i] != 0 && l < sizeof(buf);
sbin/sysctl/sysctl.c
779
l += snprintf(&buf[l], sizeof(buf) - l,
sbin/sysctl/sysctl.c
782
if (l < sizeof(buf))
sbin/sysctl/sysctl.c
783
(void)snprintf(&buf[l], sizeof(buf) - l, " }");
secure/lib/libcrypt/crypt-des.c
451
u_int32_t l, r, *kl, *kr, *kl1, *kr1;
secure/lib/libcrypt/crypt-des.c
475
l = ip_maskl[0][l_in >> 24]
secure/lib/libcrypt/crypt-des.c
532
f ^= l;
secure/lib/libcrypt/crypt-des.c
533
l = r;
secure/lib/libcrypt/crypt-des.c
536
r = l;
secure/lib/libcrypt/crypt-des.c
537
l = f;
secure/lib/libcrypt/crypt-des.c
542
*l_out = fp_maskl[0][l >> 24]
secure/lib/libcrypt/crypt-des.c
543
| fp_maskl[1][(l >> 16) & 0xff]
secure/lib/libcrypt/crypt-des.c
544
| fp_maskl[2][(l >> 8) & 0xff]
secure/lib/libcrypt/crypt-des.c
545
| fp_maskl[3][l & 0xff]
secure/lib/libcrypt/crypt-des.c
550
*r_out = fp_maskr[0][l >> 24]
secure/lib/libcrypt/crypt-des.c
551
| fp_maskr[1][(l >> 16) & 0xff]
secure/lib/libcrypt/crypt-des.c
552
| fp_maskr[2][(l >> 8) & 0xff]
secure/lib/libcrypt/crypt-des.c
553
| fp_maskr[3][l & 0xff]
secure/lib/libcrypt/crypt-des.c
592
u_int32_t count, salt, l, r0, r1, keybuf[2];
secure/lib/libcrypt/crypt-des.c
669
l = (r0 >> 8);
secure/lib/libcrypt/crypt-des.c
670
*buffer++ = ascii64[(l >> 18) & 0x3f];
secure/lib/libcrypt/crypt-des.c
671
*buffer++ = ascii64[(l >> 12) & 0x3f];
secure/lib/libcrypt/crypt-des.c
672
*buffer++ = ascii64[(l >> 6) & 0x3f];
secure/lib/libcrypt/crypt-des.c
673
*buffer++ = ascii64[l & 0x3f];
secure/lib/libcrypt/crypt-des.c
675
l = (r0 << 16) | ((r1 >> 16) & 0xffff);
secure/lib/libcrypt/crypt-des.c
676
*buffer++ = ascii64[(l >> 18) & 0x3f];
secure/lib/libcrypt/crypt-des.c
677
*buffer++ = ascii64[(l >> 12) & 0x3f];
secure/lib/libcrypt/crypt-des.c
678
*buffer++ = ascii64[(l >> 6) & 0x3f];
secure/lib/libcrypt/crypt-des.c
679
*buffer++ = ascii64[l & 0x3f];
secure/lib/libcrypt/crypt-des.c
681
l = r1 << 2;
secure/lib/libcrypt/crypt-des.c
682
*buffer++ = ascii64[(l >> 12) & 0x3f];
secure/lib/libcrypt/crypt-des.c
683
*buffer++ = ascii64[(l >> 6) & 0x3f];
secure/lib/libcrypt/crypt-des.c
684
*buffer++ = ascii64[l & 0x3f];
share/examples/libusb20/control.c
211
size_t l = strlen(reqname);
share/examples/libusb20/control.c
216
if (strncasecmp(reqname, reqnames[i], l) == 0)
share/examples/perfmon/perfmon.c
168
long l;
share/examples/perfmon/perfmon.c
171
l = strtol(buf, &ep, 0);
share/examples/perfmon/perfmon.c
173
if (l < min || l > max) {
share/examples/perfmon/perfmon.c
177
return (int)l;
stand/common/gfx_fb.c
1360
uint16_t blend, h, l;
stand/common/gfx_fb.c
1370
l = blend & 0xFF;
stand/common/gfx_fb.c
1371
if (h + l >= 0xFF)
stand/common/load_elf.c
39
#define COPYOUT(s,d,l) archsw.arch_copyout((vm_offset_t)(s), d, l)
stand/common/load_elf_obj.c
39
#define COPYOUT(s,d,l) archsw.arch_copyout((vm_offset_t)(s), d, l)
stand/common/modinfo.c
110
#define MOD_ALIGN(l) roundup(l, align)
stand/common/reloc_elf.c
39
#define COPYOUT(s,d,l) archsw.arch_copyout((vm_offset_t)(s), d, l)
stand/efi/include/efi.h
77
#define SetDevicePathNodeLength(a,l) { \
stand/efi/include/efi.h
78
(a)->Length[0] = (UINT8) (l); \
stand/efi/include/efi.h
79
(a)->Length[1] = (UINT8) ((l) >> 8); \
stand/fdt/fdt_loader_cmd.c
1280
int buf_len, i, l;
stand/fdt/fdt_loader_cmd.c
1321
l = strlen(d) + 1;
stand/fdt/fdt_loader_cmd.c
1324
(i + l) < len ? ", " : "");
stand/fdt/fdt_loader_cmd.c
1327
i += l;
stand/fdt/fdt_loader_cmd.c
1344
int count, i, l;
stand/fdt/fdt_loader_cmd.c
1354
l = len * 2;
stand/fdt/fdt_loader_cmd.c
1357
l += (count - 1) * 1;
stand/fdt/fdt_loader_cmd.c
1360
l += count * 2;
stand/fdt/fdt_loader_cmd.c
1362
l += 3;
stand/fdt/fdt_loader_cmd.c
1364
b = (char *)malloc(l);
stand/fdt/fdt_loader_cmd.c
1365
tmp = (char *)malloc(l);
stand/fdt/fdt_loader_cmd.c
1398
int i, l;
stand/fdt/fdt_loader_cmd.c
1405
l = len * 2;
stand/fdt/fdt_loader_cmd.c
1408
l += (len - 1) * 1;
stand/fdt/fdt_loader_cmd.c
1410
l += len * 2;
stand/fdt/fdt_loader_cmd.c
1412
l += 3;
stand/fdt/fdt_loader_cmd.c
1414
b = (char *)malloc(l);
stand/fdt/fdt_loader_cmd.c
1415
tmp = (char *)malloc(l);
stand/fdt/fdt_loader_cmd.c
51
#define COPYOUT(s,d,l) archsw.arch_copyout(s, d, l)
stand/fdt/fdt_loader_cmd.c
52
#define COPYIN(s,d,l) archsw.arch_copyin(s, d, l)
stand/kboot/kboot/main.c
517
size_t sz, amt, l;
stand/kboot/kboot/main.c
554
l = min(len,loaded_segments[i].bufsz - amt);
stand/kboot/kboot/main.c
556
if (amt + l > loaded_segments[i].memsz)
stand/kboot/kboot/main.c
557
loaded_segments[i].memsz = amt + l;
stand/kboot/kboot/main.c
558
return (l);
stand/liblua/lstd.h
100
#define fgets(b, l, s) fgetstr((b), (l), 0)
stand/liblua/lstd.h
97
#define lua_writestring(s,l) luai_writestring(s,l)
stand/liblua/luaconf.h
447
#define l_mathop(op) op##l
stand/liblua/luaconf.h
712
#define luai_apicheck(l,e) assert(e)
stand/liblua/luaconf.h
766
#define LUAI_MAXALIGN lua_Number n; void *s; lua_Integer i; long l
stand/liblua/luaconf.local.h
71
#define LUAI_MAXALIGN lua_Number n; void *s; lua_Integer i; long l
stand/liblua/lutils.c
240
ssize_t cur, l;
stand/liblua/lutils.c
241
const char *s = luaL_checklstring(L, 1, &l);
stand/liblua/lutils.c
243
for (cur = 0; cur < l; ++cur)
stand/libofw/ofw_console.c
88
int l;
stand/libofw/ofw_console.c
91
l = saved_char;
stand/libofw/ofw_console.c
93
return (l);
stand/libsa/bootparam.c
374
n_long l; /* network order */
stand/libsa/bootparam.c
382
uia.l = ia.s_addr;
stand/libsa/bootparam.c
405
n_long l; /* network order */
stand/libsa/bootparam.c
429
ia->s_addr = uia.l;
stand/libsa/pkgfs.c
574
int64_t l, limit, last_digit_limit;
stand/libsa/pkgfs.c
589
l = 0;
stand/libsa/pkgfs.c
592
if (l>limit || (l == limit && digit > last_digit_limit)) {
stand/libsa/pkgfs.c
593
l = UINT64_MAX; /* Truncate on overflow. */
stand/libsa/pkgfs.c
596
l = (l * base) + digit;
stand/libsa/pkgfs.c
599
return (sign < 0) ? -l : l;
stand/libsa/pkgfs.c
613
int64_t l, upper_limit, lower_limit;
stand/libsa/pkgfs.c
621
l = (int64_t)-1;
stand/libsa/pkgfs.c
623
l = 0;
stand/libsa/pkgfs.c
624
l = (l << 6) | (0x3f & *p++);
stand/libsa/pkgfs.c
626
if (l > upper_limit) {
stand/libsa/pkgfs.c
627
l = INT64_MAX; /* Truncate on overflow */
stand/libsa/pkgfs.c
629
} else if (l < lower_limit) {
stand/libsa/pkgfs.c
630
l = INT64_MIN;
stand/libsa/pkgfs.c
633
l = (l << 8) | (0xff & (int64_t)*p++);
stand/libsa/pkgfs.c
635
return (l);
stand/libsa/powerpc/syncicache.c
74
int l, off;
stand/libsa/powerpc/syncicache.c
83
l = len += off;
stand/libsa/powerpc/syncicache.c
89
} while ((l -= cacheline_size) > 0);
stand/libsa/tftp.c
317
int l;
stand/libsa/tftp.c
334
l = strlen(h->path);
stand/libsa/tftp.c
336
if (l > FNAME_SIZE - (sizeof(TFTP_PREPEND_PATH) - 1))
stand/libsa/tftp.c
341
if (l > FNAME_SIZE)
stand/libsa/tftp.c
344
bcopy(h->path, wtail, l + 1);
stand/libsa/tftp.c
345
wtail += l + 1;
stand/libsa/xlocale_private.h
31
#define isspace_l(c, l) isspace(c)
stand/libsa/zfs/zfsimpl.c
1598
vdev_label_offset(uint64_t psize, int l, uint64_t offset)
stand/libsa/zfs/zfsimpl.c
1602
if (l < VDEV_LABELS / 2)
stand/libsa/zfs/zfsimpl.c
1607
return (offset + l * sizeof (vdev_label_t) + label_offset);
stand/libsa/zfs/zfsimpl.c
1648
vdev_label_read(vdev_t *vd, int l, void *buf, uint64_t offset,
stand/libsa/zfs/zfsimpl.c
1654
off = vdev_label_offset(vd->v_psize, l, offset);
stand/libsa/zfs/zfsimpl.c
1681
vdev_label_write_validate(vdev_t *vd, int l, uint64_t offset)
stand/libsa/zfs/zfsimpl.c
1689
off = vdev_label_offset(vd->v_psize, l, o_phys);
stand/libsa/zfs/zfsimpl.c
1692
if (vdev_label_offset(vd->v_psize, l, offset) + VDEV_PAD_SIZE != off)
stand/libsa/zfs/zfsimpl.c
1700
rc = vdev_label_read(vd, l, buf, o_phys, size);
stand/libsa/zfs/zfsimpl.c
1706
vdev_label_write(vdev_t *vd, int l, vdev_boot_envblock_t *be, uint64_t offset)
stand/libsa/zfs/zfsimpl.c
1717
off = vdev_label_offset(vd->v_psize, l, offset);
stand/libsa/zfs/zfsimpl.c
1719
rc = vdev_label_write_validate(vd, l, offset);
stand/libsa/zfs/zfsimpl.c
1753
for (int l = 0; l < VDEV_LABELS; l++) {
stand/libsa/zfs/zfsimpl.c
1754
err = vdev_label_write(vdev, l, be,
stand/libsa/zfs/zfsimpl.c
1758
vdev->v_name ? vdev->v_name : "unknown", l, err);
stand/libsa/zfs/zfsimpl.c
1851
for (int l = 0; l < VDEV_LABELS; l++) {
stand/libsa/zfs/zfsimpl.c
1852
rv = vdev_label_read(vdev, l, be,
stand/libsa/zfs/zfsimpl.c
1982
for (int l = 0; l < VDEV_LABELS; l++) {
stand/libsa/zfs/zfsimpl.c
1983
if (vdev_label_read(vd, l, label,
stand/libsa/zfs/zfsimpl.c
2037
for (int l = 0; l < VDEV_LABELS; l++) {
stand/libsa/zfs/zfsimpl.c
2039
if (vdev_label_read(vd, l, buf,
stand/libsa/zfs/zfsimpl.c
2771
#define LEAF_HASH(l, h) \
stand/libsa/zfs/zfsimpl.c
2772
((ZAP_LEAF_HASH_NUMENTRIES(l)-1) & \
stand/libsa/zfs/zfsimpl.c
2774
(64 - ZAP_LEAF_HASH_SHIFT(l) - (l)->l_phys->l_hdr.lh_prefix_len)))
stand/libsa/zfs/zfsimpl.c
2775
#define LEAF_HASH_ENTPTR(l, h) (&(l)->l_phys->l_hash[LEAF_HASH(l, h)])
sys/amd64/amd64/kexec_support.c
101
for (; k < NPDEPG && pg < start + size; k++, l = 0) {
sys/amd64/amd64/kexec_support.c
118
for (; l < NPTEPG && pg < start + size;
sys/amd64/amd64/kexec_support.c
119
l++, pg += PAGE_SIZE) {
sys/amd64/amd64/kexec_support.c
74
vm_pindex_t i, j, k, l;
sys/amd64/amd64/kexec_support.c
80
l = pmap_pte_index(pg);
sys/amd64/amd64/kexec_support.c
81
for (; pg < start + size; i++, j = 0, k = 0, l = 0) {
sys/amd64/amd64/kexec_support.c
93
for (; j < NPDPEPG && pg < start + size; j++, k = 0, l = 0) {
sys/amd64/amd64/pmap.c
12016
int error, j, k, l;
sys/amd64/amd64/pmap.c
12147
for (l = pmap_pte_index(sva); l < NPTEPG; l++,
sys/amd64/amd64/pmap.c
12149
pte = pt[l];
sys/arm/arm/in_cksum_machdep.c
66
l_util.l = q_util.s[0] + q_util.s[1] + q_util.s[2] + q_util.s[3]; \
sys/arm/arm/in_cksum_machdep.c
73
u_int32_t l;
sys/arm/arm/in_cksum_machdep.c
77
u_int32_t l[2];
sys/arm/include/bus.h
320
#define bus_space_barrier(t, h, o, l, f) \
sys/arm/include/bus.h
321
(*(t)->bs_barrier)((t), (h), (o), (l), (f))
sys/arm/include/cpu.h
665
uint32_t l, r;
sys/arm/include/cpu.h
669
l = cp15_pmccntr_get();
sys/arm/include/cpu.h
680
l = cp15_pmccntr_get();
sys/arm/include/cpu.h
681
return (h2 << 32 | l);
sys/arm64/arm64/pmap.c
10086
int error, i, j, k, l;
sys/arm64/arm64/pmap.c
10168
for (l = pmap_l3_index(sva); l < Ln_ENTRIES;
sys/arm64/arm64/pmap.c
10169
l++, sva += L3_SIZE) {
sys/arm64/arm64/pmap.c
10170
l3e = l3[l];
sys/arm64/arm64/pmap.c
10180
l % L3C_ENTRIES == 0 ?
sys/arm64/include/atomic.h
109
"ld"#lse_asm_op#a#l#s" %"#w"2, %"#w"0, [%1]\n" \
sys/arm64/include/atomic.h
125
#define __ATOMIC_OP(op, llsc_asm_op, lse_asm_op, pre, bar, a, l) \
sys/arm64/include/atomic.h
127
bar, a, l) \
sys/arm64/include/atomic.h
129
bar, a, l) \
sys/arm64/include/atomic.h
131
bar, a, l) \
sys/arm64/include/atomic.h
133
bar, a, l)
sys/arm64/include/atomic.h
138
__ATOMIC_OP(op, llsc_asm_op, lse_asm_op, pre, rel_, , l)
sys/arm64/include/atomic.h
155
#define _ATOMIC_CMPSET_IMPL(t, w, s, bar, a, l) \
sys/arm64/include/atomic.h
166
" st"#l"xr"#s" %w1, %"#w"4, [%2]\n" \
sys/arm64/include/atomic.h
185
"cas"#a#l#s" %"#w"1, %"#w"4, [%3]\n" \
sys/arm64/include/atomic.h
218
" st"#l"xr"#s" %w1, %"#w"4, [%2]\n" \
sys/arm64/include/atomic.h
237
"cas"#a#l#s" %"#w"1, %"#w"4, [%3]\n" \
sys/arm64/include/atomic.h
260
#define _ATOMIC_CMPSET(bar, a, l) \
sys/arm64/include/atomic.h
261
_ATOMIC_CMPSET_IMPL(8, w, b, bar, a, l) \
sys/arm64/include/atomic.h
262
_ATOMIC_CMPSET_IMPL(16, w, h, bar, a, l) \
sys/arm64/include/atomic.h
263
_ATOMIC_CMPSET_IMPL(32, w, , bar, a, l) \
sys/arm64/include/atomic.h
264
_ATOMIC_CMPSET_IMPL(64, , , bar, a, l)
sys/arm64/include/atomic.h
273
_ATOMIC_CMPSET(rel_, ,l)
sys/arm64/include/atomic.h
84
#define _ATOMIC_OP_IMPL(t, w, s, op, llsc_asm_op, lse_asm_op, pre, bar, a, l) \
sys/arm64/include/atomic.h
94
" st"#l"xr"#s" %w1, %"#w"0, [%2]\n" \
sys/arm64/include/bus.h
339
#define bus_space_barrier(t, h, o, l, f) \
sys/arm64/include/bus.h
340
(*(t)->bs_barrier)((t)->bs_cookie, (h), (o), (l), (f))
sys/arm64/iommu/iommu_pmap.c
798
int i, j, k, l;
sys/arm64/iommu/iommu_pmap.c
832
for (l = 0; l < IOMMU_Ln_ENTRIES; l++) {
sys/arm64/iommu/iommu_pmap.c
833
l3e = l3[l];
sys/arm64/iommu/iommu_pmap.c
838
__func__, i, j, k, l);
sys/cam/cam_xpt.c
1170
int ret = -1, l, o;
sys/cam/cam_xpt.c
1236
for (l = 0; l < idd->length; l++)
sys/cam/cam_xpt.c
1237
buf[l] = idd->identifier[l] ?
sys/cam/cam_xpt.c
1238
idd->identifier[l] : ' ';
sys/cam/cam_xpt.c
1239
buf[l] = 0;
sys/cam/cam_xpt.c
1246
l = strnlen(idd->identifier, idd->length);
sys/cam/cam_xpt.c
1247
if (l < len) {
sys/cam/cam_xpt.c
1248
bcopy(idd->identifier, buf, l);
sys/cam/cam_xpt.c
1249
buf[l] = 0;
sys/cam/cam_xpt.c
1260
for (l = 2, o = 0; l < idd->length; l++) {
sys/cam/cam_xpt.c
1261
if (l == 6 || l == 8 || l == 10 || l == 12)
sys/cam/cam_xpt.c
1264
idd->identifier[l]);
sys/cam/cam_xpt.c
1269
for (l = 0; l < idd->length; l++)
sys/cam/cam_xpt.c
1270
sprintf(buf + l * 2, "%02x",
sys/cam/cam_xpt.c
1271
idd->identifier[l]);
sys/cam/cam_xpt.c
1874
size_t l;
sys/cam/cam_xpt.c
1918
l = sizeof(cdm->matches[j].result.periph_result.periph_name);
sys/cam/cam_xpt.c
1920
periph->periph_name, l);
sys/cam/cam_xpt.c
2015
size_t l;
sys/cam/cam_xpt.c
2092
l = sizeof(cdm->matches[j].result.periph_result.periph_name);
sys/cam/cam_xpt.c
2094
periph->periph_name, l);
sys/cam/ctl/ctl.c
3798
uint64_t l = decoded;
sys/cam/ctl/ctl.c
3800
if (l <= 0xff)
sys/cam/ctl/ctl.c
3801
return (((uint64_t)RPL_LUNDATA_ATYP_PERIPH << 56) | (l << 48));
sys/cam/ctl/ctl.c
3802
if (l <= 0x3fff)
sys/cam/ctl/ctl.c
3803
return (((uint64_t)RPL_LUNDATA_ATYP_FLAT << 56) | (l << 48));
sys/cam/ctl/ctl.c
3804
if (l <= 0xffffff)
sys/cam/ctl/ctl.c
3806
(l << 32));
sys/cam/ctl/ctl.c
3807
return ((((uint64_t)RPL_LUNDATA_ATYP_EXTLUN | 0x22) << 56) | (l << 16));
sys/cam/ctl/ctl.c
930
int i, l;
sys/cam/ctl/ctl.c
938
l = 0;
sys/cam/ctl/ctl.c
940
l = strlen(port->wwpn_iid[iid].name) + 1;
sys/cam/ctl/ctl.c
941
i += l;
sys/cam/ctl/ctl.c
952
msg->iid.name_len = l;
sys/cam/ctl/ctl.c
955
strlcpy(msg->iid.data, port->wwpn_iid[iid].name, l);
sys/cam/ctl/ctl.c
967
u_int i, l;
sys/cam/ctl/ctl.c
983
l = sizeof(msg->mode) + lun->mode_pages.index[i].page_len;
sys/cam/ctl/ctl.c
984
msg = malloc(l, M_CTL, M_WAITOK | M_ZERO);
sys/cam/ctl/ctl.c
995
ctl_ha_msg_send(CTL_HA_CHAN_CTL, &msg->mode, l, M_WAITOK);
sys/cam/ctl/ctl_frontend.c
314
uint32_t l;
sys/cam/ctl/ctl_frontend.c
318
for (l = 0; l < port->lun_map_size; l++) {
sys/cam/ctl/ctl_frontend.c
319
if (ctl_lun_map_from_port(port, l) ==
sys/cam/ctl/ctl_frontend.c
322
port->lun_enable(port->targ_lun_arg, l);
sys/cam/ctl/ctl_frontend.c
356
uint32_t l;
sys/cam/ctl/ctl_frontend.c
362
for (l = 0; l < port->lun_map_size; l++) {
sys/cam/ctl/ctl_frontend.c
363
if (ctl_lun_map_from_port(port, l) ==
sys/cam/ctl/ctl_frontend.c
366
port->lun_disable(port->targ_lun_arg, l);
sys/cam/scsi/scsi_sa.c
3137
uint32_t l;
sys/cam/scsi/scsi_sa.c
3139
l = bp->bio_bcount >>
sys/cam/scsi/scsi_sa.c
3142
l = bp->bio_bcount /
sys/cam/scsi/scsi_sa.c
3145
softc->blkno += (daddr_t) l;
sys/cddl/boot/zfs/zfsimpl.h
1626
#define ZAP_LEAF_NUMCHUNKS(l) \
sys/cddl/boot/zfs/zfsimpl.h
1627
(((1<<(l)->l_bs) - 2*ZAP_LEAF_HASH_NUMENTRIES(l)) / \
sys/cddl/boot/zfs/zfsimpl.h
1654
#define ZAP_LEAF_HASH_SHIFT(l) ((l)->l_bs - 5)
sys/cddl/boot/zfs/zfsimpl.h
1655
#define ZAP_LEAF_HASH_NUMENTRIES(l) (1 << ZAP_LEAF_HASH_SHIFT(l))
sys/cddl/boot/zfs/zfsimpl.h
1662
#define ZAP_LEAF_CHUNK(l, idx) \
sys/cddl/boot/zfs/zfsimpl.h
1664
((l)->l_phys->l_hash + ZAP_LEAF_HASH_NUMENTRIES(l)))[idx]
sys/cddl/boot/zfs/zfsimpl.h
1665
#define ZAP_LEAF_ENTRY(l, idx) (&ZAP_LEAF_CHUNK(l, idx).l_entry)
sys/cddl/boot/zfs/zfsimpl.h
1667
#define ZAP_LEAF_HASH(l, h) \
sys/cddl/boot/zfs/zfsimpl.h
1668
((ZAP_LEAF_HASH_NUMENTRIES(l)-1) & \
sys/cddl/boot/zfs/zfsimpl.h
1670
(64 - ZAP_LEAF_HASH_SHIFT(l) - (l)->l_phys->l_hdr.lh_prefix_len)))
sys/cddl/boot/zfs/zfsimpl.h
1671
#define ZAP_LEAF_HASH_ENTPTR(l, h) (&(l)->l_phys->l_hash[ZAP_LEAF_HASH(l, h)])
sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c
76
assfail(const char *a, const char *f, int l)
sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c
79
panic("solaris assert: %s, file: %s, line: %d", a, f, l);
sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c
86
const char *f, int l)
sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c
90
a, lv, op, rv, f, l);
sys/compat/freebsd32/freebsd32_misc.c
1395
#define FREEBSD32_CMSG_SPACE(l) \
sys/compat/freebsd32/freebsd32_misc.c
1396
(FREEBSD32_ALIGN(sizeof(struct cmsghdr)) + FREEBSD32_ALIGN(l))
sys/compat/linux/linux.c
208
int b, l;
sys/compat/linux/linux.c
211
for (l = 1; l <= LINUX_SIGRTMAX; l++) {
sys/compat/linux/linux.c
212
if (LINUX_SIGISMEMBER(*lss, l)) {
sys/compat/linux/linux.c
213
b = linux_to_bsd_signal(l);
sys/compat/linux/linux.c
223
int b, l;
sys/compat/linux/linux.c
228
l = bsd_to_linux_signal(b);
sys/compat/linux/linux.c
229
if (l)
sys/compat/linux/linux.c
230
LINUX_SIGADDSET(*lss, l);
sys/compat/linux/linux.h
358
#define linux_ktrsigset(s, l) \
sys/compat/linux/linux.h
359
ktrstruct("l_sigset_t", (s), l)
sys/compat/linux/linux_time.c
265
linux_to_native_clockid(clockid_t *n, clockid_t l)
sys/compat/linux/linux_time.c
268
if (l < 0) {
sys/compat/linux/linux_time.c
270
if (LINUX_CPUCLOCK_WHICH(l) == LINUX_CLOCKFD) {
sys/compat/linux/linux_time.c
272
unsupported_clockid, l);
sys/compat/linux/linux_time.c
275
if ((l & LINUX_CLOCKFD_MASK) == LINUX_CLOCKFD_MASK)
sys/compat/linux/linux_time.c
278
if (LINUX_CPUCLOCK_PERTHREAD(l))
sys/compat/linux/linux_time.c
285
switch (l) {
sys/compat/linux/linux_time.c
313
unsupported_clockid, l);
sys/compat/linux/linux_time.c
317
unknown_clockid, l);
sys/compat/linuxkpi/common/include/linux/bitops.h
48
#define GENMASK(h, l) (((~0UL) >> (BITS_PER_LONG - (h) - 1)) & ((~0UL) << (l)))
sys/compat/linuxkpi/common/include/linux/bitops.h
49
#define GENMASK_ULL(h, l) (((~0ULL) >> (BITS_PER_LONG_LONG - (h) - 1)) & ((~0ULL) << (l)))
sys/compat/linuxkpi/common/include/linux/cleanup.h
88
CLEANUP_NAME(_n, _create)(_type *l) \
sys/compat/linuxkpi/common/include/linux/cleanup.h
93
_tmp.lock = l; \
sys/compat/linuxkpi/common/include/linux/io-64-nonatomic-lo-hi.h
36
uint32_t l, h;
sys/compat/linuxkpi/common/include/linux/io-64-nonatomic-lo-hi.h
39
l = le32toh(__raw_readl(p));
sys/compat/linuxkpi/common/include/linux/io-64-nonatomic-lo-hi.h
43
return (l + ((uint64_t)h << 32));
sys/compat/linuxkpi/common/include/linux/lockdep.h
116
#define lockdep_pin_lock(l) ({ struct pin_cookie __pc = { }; __pc; })
sys/compat/linuxkpi/common/include/linux/lockdep.h
117
#define lockdep_repin_lock(l,c) do { (void)(l); (void)(c); } while (0)
sys/compat/linuxkpi/common/include/linux/lockdep.h
118
#define lockdep_unpin_lock(l,c) do { (void)(l); (void)(c); } while (0)
sys/compat/linuxkpi/common/include/linux/rcupdate.h
102
#define __rcu_var_name(n, f, l) \
sys/compat/linuxkpi/common/include/linux/sysfs.h
541
_sysfs_match_string(const char * const *a, size_t l, const char *s)
sys/compat/linuxkpi/common/include/linux/sysfs.h
546
for (i = 0; i < l; i++) {
sys/compat/linuxkpi/common/src/linux_80211.c
4259
uint8_t l;
sys/compat/linuxkpi/common/src/linux_80211.c
4265
l = ies[x + 1];
sys/compat/linuxkpi/common/src/linux_80211.c
4266
x += 2 + l;
sys/crypto/des/des_ecb.c
100
register DES_LONG l;
sys/crypto/des/des_ecb.c
105
c2l(in,l); ll[0]=l;
sys/crypto/des/des_ecb.c
106
c2l(in,l); ll[1]=l;
sys/crypto/des/des_ecb.c
108
l=ll[0]; l2c(l,out);
sys/crypto/des/des_ecb.c
109
l=ll[1]; l2c(l,out);
sys/crypto/des/des_ecb.c
110
l=ll[0]=ll[1]=0;
sys/crypto/des/des_enc.c
100
D_ENCRYPT(r,l, 2); /* 2 */
sys/crypto/des/des_enc.c
101
D_ENCRYPT(l,r, 4); /* 3 */
sys/crypto/des/des_enc.c
102
D_ENCRYPT(r,l, 6); /* 4 */
sys/crypto/des/des_enc.c
103
D_ENCRYPT(l,r, 8); /* 5 */
sys/crypto/des/des_enc.c
104
D_ENCRYPT(r,l,10); /* 6 */
sys/crypto/des/des_enc.c
105
D_ENCRYPT(l,r,12); /* 7 */
sys/crypto/des/des_enc.c
106
D_ENCRYPT(r,l,14); /* 8 */
sys/crypto/des/des_enc.c
107
D_ENCRYPT(l,r,16); /* 9 */
sys/crypto/des/des_enc.c
108
D_ENCRYPT(r,l,18); /* 10 */
sys/crypto/des/des_enc.c
109
D_ENCRYPT(l,r,20); /* 11 */
sys/crypto/des/des_enc.c
110
D_ENCRYPT(r,l,22); /* 12 */
sys/crypto/des/des_enc.c
111
D_ENCRYPT(l,r,24); /* 13 */
sys/crypto/des/des_enc.c
112
D_ENCRYPT(r,l,26); /* 14 */
sys/crypto/des/des_enc.c
113
D_ENCRYPT(l,r,28); /* 15 */
sys/crypto/des/des_enc.c
114
D_ENCRYPT(r,l,30); /* 16 */
sys/crypto/des/des_enc.c
118
D_ENCRYPT(l,r,i+0); /* 1 */
sys/crypto/des/des_enc.c
119
D_ENCRYPT(r,l,i+2); /* 2 */
sys/crypto/des/des_enc.c
120
D_ENCRYPT(l,r,i+4); /* 3 */
sys/crypto/des/des_enc.c
121
D_ENCRYPT(r,l,i+6); /* 4 */
sys/crypto/des/des_enc.c
128
D_ENCRYPT(l,r,30); /* 16 */
sys/crypto/des/des_enc.c
129
D_ENCRYPT(r,l,28); /* 15 */
sys/crypto/des/des_enc.c
130
D_ENCRYPT(l,r,26); /* 14 */
sys/crypto/des/des_enc.c
131
D_ENCRYPT(r,l,24); /* 13 */
sys/crypto/des/des_enc.c
132
D_ENCRYPT(l,r,22); /* 12 */
sys/crypto/des/des_enc.c
133
D_ENCRYPT(r,l,20); /* 11 */
sys/crypto/des/des_enc.c
134
D_ENCRYPT(l,r,18); /* 10 */
sys/crypto/des/des_enc.c
135
D_ENCRYPT(r,l,16); /* 9 */
sys/crypto/des/des_enc.c
136
D_ENCRYPT(l,r,14); /* 8 */
sys/crypto/des/des_enc.c
137
D_ENCRYPT(r,l,12); /* 7 */
sys/crypto/des/des_enc.c
138
D_ENCRYPT(l,r,10); /* 6 */
sys/crypto/des/des_enc.c
139
D_ENCRYPT(r,l, 8); /* 5 */
sys/crypto/des/des_enc.c
140
D_ENCRYPT(l,r, 6); /* 4 */
sys/crypto/des/des_enc.c
141
D_ENCRYPT(r,l, 4); /* 3 */
sys/crypto/des/des_enc.c
142
D_ENCRYPT(l,r, 2); /* 2 */
sys/crypto/des/des_enc.c
143
D_ENCRYPT(r,l, 0); /* 1 */
sys/crypto/des/des_enc.c
147
D_ENCRYPT(l,r,i-0); /* 16 */
sys/crypto/des/des_enc.c
148
D_ENCRYPT(r,l,i-2); /* 15 */
sys/crypto/des/des_enc.c
149
D_ENCRYPT(l,r,i-4); /* 14 */
sys/crypto/des/des_enc.c
150
D_ENCRYPT(r,l,i-6); /* 13 */
sys/crypto/des/des_enc.c
156
l=ROTATE(l,3)&0xffffffffL;
sys/crypto/des/des_enc.c
159
FP(r,l);
sys/crypto/des/des_enc.c
160
data[0]=l;
sys/crypto/des/des_enc.c
162
l=r=t=u=0;
sys/crypto/des/des_enc.c
167
DES_LONG l,r,t,u;
sys/crypto/des/des_enc.c
177
l=data[1];
sys/crypto/des/des_enc.c
187
l=ROTATE(l,29)&0xffffffffL;
sys/crypto/des/des_enc.c
195
D_ENCRYPT(l,r, 0); /* 1 */
sys/crypto/des/des_enc.c
196
D_ENCRYPT(r,l, 2); /* 2 */
sys/crypto/des/des_enc.c
197
D_ENCRYPT(l,r, 4); /* 3 */
sys/crypto/des/des_enc.c
198
D_ENCRYPT(r,l, 6); /* 4 */
sys/crypto/des/des_enc.c
199
D_ENCRYPT(l,r, 8); /* 5 */
sys/crypto/des/des_enc.c
200
D_ENCRYPT(r,l,10); /* 6 */
sys/crypto/des/des_enc.c
201
D_ENCRYPT(l,r,12); /* 7 */
sys/crypto/des/des_enc.c
202
D_ENCRYPT(r,l,14); /* 8 */
sys/crypto/des/des_enc.c
203
D_ENCRYPT(l,r,16); /* 9 */
sys/crypto/des/des_enc.c
204
D_ENCRYPT(r,l,18); /* 10 */
sys/crypto/des/des_enc.c
205
D_ENCRYPT(l,r,20); /* 11 */
sys/crypto/des/des_enc.c
206
D_ENCRYPT(r,l,22); /* 12 */
sys/crypto/des/des_enc.c
207
D_ENCRYPT(l,r,24); /* 13 */
sys/crypto/des/des_enc.c
208
D_ENCRYPT(r,l,26); /* 14 */
sys/crypto/des/des_enc.c
209
D_ENCRYPT(l,r,28); /* 15 */
sys/crypto/des/des_enc.c
210
D_ENCRYPT(r,l,30); /* 16 */
sys/crypto/des/des_enc.c
214
D_ENCRYPT(l,r,i+0); /* 1 */
sys/crypto/des/des_enc.c
215
D_ENCRYPT(r,l,i+2); /* 2 */
sys/crypto/des/des_enc.c
216
D_ENCRYPT(l,r,i+4); /* 3 */
sys/crypto/des/des_enc.c
217
D_ENCRYPT(r,l,i+6); /* 4 */
sys/crypto/des/des_enc.c
224
D_ENCRYPT(l,r,30); /* 16 */
sys/crypto/des/des_enc.c
225
D_ENCRYPT(r,l,28); /* 15 */
sys/crypto/des/des_enc.c
226
D_ENCRYPT(l,r,26); /* 14 */
sys/crypto/des/des_enc.c
227
D_ENCRYPT(r,l,24); /* 13 */
sys/crypto/des/des_enc.c
228
D_ENCRYPT(l,r,22); /* 12 */
sys/crypto/des/des_enc.c
229
D_ENCRYPT(r,l,20); /* 11 */
sys/crypto/des/des_enc.c
230
D_ENCRYPT(l,r,18); /* 10 */
sys/crypto/des/des_enc.c
231
D_ENCRYPT(r,l,16); /* 9 */
sys/crypto/des/des_enc.c
232
D_ENCRYPT(l,r,14); /* 8 */
sys/crypto/des/des_enc.c
233
D_ENCRYPT(r,l,12); /* 7 */
sys/crypto/des/des_enc.c
234
D_ENCRYPT(l,r,10); /* 6 */
sys/crypto/des/des_enc.c
235
D_ENCRYPT(r,l, 8); /* 5 */
sys/crypto/des/des_enc.c
236
D_ENCRYPT(l,r, 6); /* 4 */
sys/crypto/des/des_enc.c
237
D_ENCRYPT(r,l, 4); /* 3 */
sys/crypto/des/des_enc.c
238
D_ENCRYPT(l,r, 2); /* 2 */
sys/crypto/des/des_enc.c
239
D_ENCRYPT(r,l, 0); /* 1 */
sys/crypto/des/des_enc.c
243
D_ENCRYPT(l,r,i-0); /* 16 */
sys/crypto/des/des_enc.c
244
D_ENCRYPT(r,l,i-2); /* 15 */
sys/crypto/des/des_enc.c
245
D_ENCRYPT(l,r,i-4); /* 14 */
sys/crypto/des/des_enc.c
246
D_ENCRYPT(r,l,i-6); /* 13 */
sys/crypto/des/des_enc.c
251
data[0]=ROTATE(l,3)&0xffffffffL;
sys/crypto/des/des_enc.c
253
l=r=t=u=0;
sys/crypto/des/des_enc.c
259
DES_LONG l,r;
sys/crypto/des/des_enc.c
261
l=data[0];
sys/crypto/des/des_enc.c
263
IP(l,r);
sys/crypto/des/des_enc.c
264
data[0]=l;
sys/crypto/des/des_enc.c
269
l=data[0];
sys/crypto/des/des_enc.c
271
FP(r,l);
sys/crypto/des/des_enc.c
272
data[0]=l;
sys/crypto/des/des_enc.c
279
DES_LONG l,r;
sys/crypto/des/des_enc.c
281
l=data[0];
sys/crypto/des/des_enc.c
283
IP(l,r);
sys/crypto/des/des_enc.c
284
data[0]=l;
sys/crypto/des/des_enc.c
289
l=data[0];
sys/crypto/des/des_enc.c
291
FP(r,l);
sys/crypto/des/des_enc.c
292
data[0]=l;
sys/crypto/des/des_enc.c
69
DES_LONG l,r,t,u;
sys/crypto/des/des_enc.c
79
l=data[1];
sys/crypto/des/des_enc.c
81
IP(r,l);
sys/crypto/des/des_enc.c
91
l=ROTATE(l,29)&0xffffffffL;
sys/crypto/des/des_enc.c
99
D_ENCRYPT(l,r, 0); /* 1 */
sys/crypto/des/des_locl.h
100
l|=((DES_LONG)(*((c)++)))<< 8L, \
sys/crypto/des/des_locl.h
101
l|=((DES_LONG)(*((c)++))))
sys/crypto/des/des_locl.h
103
#define l2n(l,c) (*((c)++)=(unsigned char)(((l)>>24L)&0xff), \
sys/crypto/des/des_locl.h
104
*((c)++)=(unsigned char)(((l)>>16L)&0xff), \
sys/crypto/des/des_locl.h
105
*((c)++)=(unsigned char)(((l)>> 8L)&0xff), \
sys/crypto/des/des_locl.h
106
*((c)++)=(unsigned char)(((l) )&0xff))
sys/crypto/des/des_locl.h
344
#define IP(l,r) \
sys/crypto/des/des_locl.h
347
PERM_OP(r,l,tt, 4,0x0f0f0f0fL); \
sys/crypto/des/des_locl.h
348
PERM_OP(l,r,tt,16,0x0000ffffL); \
sys/crypto/des/des_locl.h
349
PERM_OP(r,l,tt, 2,0x33333333L); \
sys/crypto/des/des_locl.h
350
PERM_OP(l,r,tt, 8,0x00ff00ffL); \
sys/crypto/des/des_locl.h
351
PERM_OP(r,l,tt, 1,0x55555555L); \
sys/crypto/des/des_locl.h
354
#define FP(l,r) \
sys/crypto/des/des_locl.h
357
PERM_OP(l,r,tt, 1,0x55555555L); \
sys/crypto/des/des_locl.h
358
PERM_OP(r,l,tt, 8,0x00ff00ffL); \
sys/crypto/des/des_locl.h
359
PERM_OP(l,r,tt, 2,0x33333333L); \
sys/crypto/des/des_locl.h
360
PERM_OP(r,l,tt,16,0x0000ffffL); \
sys/crypto/des/des_locl.h
361
PERM_OP(l,r,tt, 4,0x0f0f0f0fL); \
sys/crypto/des/des_locl.h
68
#define c2l(c,l) (l =((DES_LONG)(*((c)++))) , \
sys/crypto/des/des_locl.h
69
l|=((DES_LONG)(*((c)++)))<< 8L, \
sys/crypto/des/des_locl.h
70
l|=((DES_LONG)(*((c)++)))<<16L, \
sys/crypto/des/des_locl.h
71
l|=((DES_LONG)(*((c)++)))<<24L)
sys/crypto/des/des_locl.h
89
#define l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \
sys/crypto/des/des_locl.h
90
*((c)++)=(unsigned char)(((l)>> 8L)&0xff), \
sys/crypto/des/des_locl.h
91
*((c)++)=(unsigned char)(((l)>>16L)&0xff), \
sys/crypto/des/des_locl.h
92
*((c)++)=(unsigned char)(((l)>>24L)&0xff))
sys/crypto/des/des_locl.h
98
#define n2l(c,l) (l =((DES_LONG)(*((c)++)))<<24L, \
sys/crypto/des/des_locl.h
99
l|=((DES_LONG)(*((c)++)))<<16L, \
sys/crypto/openssl/ossl_aes_gcm.c
58
#define AES_gcm_encrypt(i,o,l,k,v,x) ppc_aes_gcm_crypt(i,o,l,k,v,x,1)
sys/crypto/openssl/ossl_aes_gcm.c
59
#define AES_gcm_decrypt(i,o,l,k,v,x) ppc_aes_gcm_crypt(i,o,l,k,v,x,0)
sys/crypto/openssl/ossl_hash.h
19
# define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \
sys/crypto/openssl/ossl_hash.h
20
l|=(((unsigned long)(*((c)++)))<<16), \
sys/crypto/openssl/ossl_hash.h
21
l|=(((unsigned long)(*((c)++)))<< 8), \
sys/crypto/openssl/ossl_hash.h
22
l|=(((unsigned long)(*((c)++))) ) )
sys/crypto/openssl/ossl_hash.h
23
# define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \
sys/crypto/openssl/ossl_hash.h
24
*((c)++)=(unsigned char)(((l)>>16)&0xff), \
sys/crypto/openssl/ossl_hash.h
25
*((c)++)=(unsigned char)(((l)>> 8)&0xff), \
sys/crypto/openssl/ossl_hash.h
26
*((c)++)=(unsigned char)(((l) )&0xff), \
sys/crypto/openssl/ossl_hash.h
27
l)
sys/crypto/openssl/ossl_hash.h
31
# define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++))) ), \
sys/crypto/openssl/ossl_hash.h
32
l|=(((unsigned long)(*((c)++)))<< 8), \
sys/crypto/openssl/ossl_hash.h
33
l|=(((unsigned long)(*((c)++)))<<16), \
sys/crypto/openssl/ossl_hash.h
34
l|=(((unsigned long)(*((c)++)))<<24) )
sys/crypto/openssl/ossl_hash.h
35
# define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \
sys/crypto/openssl/ossl_hash.h
36
*((c)++)=(unsigned char)(((l)>> 8)&0xff), \
sys/crypto/openssl/ossl_hash.h
37
*((c)++)=(unsigned char)(((l)>>16)&0xff), \
sys/crypto/openssl/ossl_hash.h
38
*((c)++)=(unsigned char)(((l)>>24)&0xff), \
sys/crypto/openssl/ossl_hash.h
39
l)
sys/crypto/openssl/ossl_hash.h
53
HASH_LONG l;
sys/crypto/openssl/ossl_hash.h
59
l = (c->Nl + (((HASH_LONG) len) << 3)) & 0xffffffffUL;
sys/crypto/openssl/ossl_hash.h
60
if (l < c->Nl) /* overflow */
sys/crypto/openssl/ossl_hash.h
64
c->Nl = l;
sys/crypto/openssl/ossl_sha512.c
187
SHA_LONG64 l;
sys/crypto/openssl/ossl_sha512.c
194
l = (c->Nl + (((SHA_LONG64) len) << 3)) & U64(0xffffffffffffffff);
sys/crypto/openssl/ossl_sha512.c
195
if (l < c->Nl)
sys/crypto/openssl/ossl_sha512.c
199
c->Nl = l;
sys/dev/aac/aacreg.h
1240
#define AAC_BTL_TO_HANDLE(b, t, l) \
sys/dev/aac/aacreg.h
1241
(((b & 0x3f) << 7) | ((l & 0x7) << 4) | (t & 0xf))
sys/dev/aac/aacreg.h
1243
#define AAC_BTL_TO_HANDLE(b, t, l) \
sys/dev/aac/aacreg.h
1245
(((u_int32_t)l & 0xff) << 16) | \
sys/dev/acpi_support/acpi_hp.c
1202
int pos, i, l, ret;
sys/dev/acpi_support/acpi_hp.c
1277
l = min(buf->uio_resid, sbuf_len(&sc->hpcmi_sbuf) -
sys/dev/acpi_support/acpi_hp.c
1279
ret = (l > 0)?uiomove(sbuf_data(&sc->hpcmi_sbuf) +
sys/dev/acpi_support/acpi_hp.c
1280
sc->hpcmi_bufptr, l, buf) : 0;
sys/dev/acpi_support/acpi_hp.c
1281
sc->hpcmi_bufptr += l;
sys/dev/acpi_support/acpi_ibm.c
1131
int l, val;
sys/dev/acpi_support/acpi_ibm.c
1178
l = ep - cp;
sys/dev/acpi_support/acpi_ibm.c
1179
if (l == 0)
sys/dev/acpi_support/acpi_ibm.c
1187
if (l >= 3 && cp[0] == '0' && (cp[1] == 'X' || cp[1] == 'x'))
sys/dev/acpi_support/acpi_ibm.c
1193
cp[l] = '\0';
sys/dev/acpi_support/acpi_wmi.c
1045
l = min(buf->uio_resid, sbuf_len(&sc->wmistat_sbuf) -
sys/dev/acpi_support/acpi_wmi.c
1047
ret = (l > 0)?uiomove(sbuf_data(&sc->wmistat_sbuf) +
sys/dev/acpi_support/acpi_wmi.c
1048
sc->wmistat_bufptr, l, buf) : 0;
sys/dev/acpi_support/acpi_wmi.c
1049
sc->wmistat_bufptr += l;
sys/dev/acpi_support/acpi_wmi.c
980
int l;
sys/dev/acpi_support/atk0110.c
198
sensor->l = o->Package.Elements[off].Integer.Value;
sys/dev/acpi_support/atk0110.c
202
sensor->h += sensor->l;
sys/dev/acpi_support/atk0110.c
228
(uintmax_t)sensor->i, descr, (intmax_t)sensor->l,
sys/dev/acpi_support/atk0110.c
462
ACPI_INTEGER v, l, h;
sys/dev/acpi_support/atk0110.c
478
l = sensor->l;
sys/dev/acpi_support/atk0110.c
505
l += 2731;
sys/dev/acpi_support/atk0110.c
512
so[1] = l;
sys/dev/acpi_support/atk0110.c
526
ACPI_INTEGER v, l, h;
sys/dev/acpi_support/atk0110.c
562
l = sensor->l;
sys/dev/acpi_support/atk0110.c
570
l += 2731;
sys/dev/acpi_support/atk0110.c
577
so[1] = l;
sys/dev/acpi_support/atk0110.c
67
ACPI_INTEGER l;
sys/dev/acpica/acpi.c
4765
int i, l;
sys/dev/acpica/acpi.c
4784
l = ep - cp;
sys/dev/acpica/acpi.c
4786
if (!strncmp(cp, tag[i].name, l)) {
sys/dev/ahci/ahciem.c
326
int c, l;
sys/dev/ahci/ahciem.c
331
l = led->num % AHCI_NUM_LEDS;
sys/dev/ahci/ahciem.c
333
if (l == 0) {
sys/dev/ahci/ahciem.c
338
} else if (l == 1) {
sys/dev/ahci/ahciem.c
343
} else if (l == 2) {
sys/dev/alpm/alpm.c
158
u_int32_t l;
sys/dev/alpm/alpm.c
164
l = pci_read_config(dev, ATPC, 1);
sys/dev/alpm/alpm.c
165
pci_write_config(dev, ATPC, l & ~ATPC_SMBCTRL, 1);
sys/dev/alpm/alpm.c
176
l = pci_read_config(dev, SMBHSI, 1);
sys/dev/alpm/alpm.c
178
(l & SMBHSI_HOST) ? "host":"nohost",
sys/dev/alpm/alpm.c
179
(l & SMBHSI_SLAVE) ? "slave":"noslave");
sys/dev/alpm/alpm.c
181
l = pci_read_config(dev, SMBHCBC, 1);
sys/dev/alpm/alpm.c
182
switch (l & SMBHCBC_CLOCK) {
sys/dev/amdpm/amdpm.c
277
u_short l;
sys/dev/amdpm/amdpm.c
279
l = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_ENABLE);
sys/dev/amdpm/amdpm.c
280
AMDPM_SMBOUTW(sc, AMDSMB_GLOBAL_ENABLE, l | AMDSMB_GE_ABORT);
sys/dev/amdpm/amdpm.c
345
u_short l;
sys/dev/amdpm/amdpm.c
366
l = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_ENABLE);
sys/dev/amdpm/amdpm.c
367
AMDPM_SMBOUTW(sc, AMDSMB_GLOBAL_ENABLE, (l & 0xfff8) | AMDSMB_GE_CYC_QUICK | AMDSMB_GE_HOST_STC);
sys/dev/amdpm/amdpm.c
382
u_short l;
sys/dev/amdpm/amdpm.c
393
l = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_ENABLE);
sys/dev/amdpm/amdpm.c
394
AMDPM_SMBOUTW(sc, AMDSMB_GLOBAL_ENABLE, (l & 0xfff8) | AMDSMB_GE_CYC_BYTE | AMDSMB_GE_HOST_STC);
sys/dev/amdpm/amdpm.c
409
u_short l;
sys/dev/amdpm/amdpm.c
419
l = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_ENABLE);
sys/dev/amdpm/amdpm.c
420
AMDPM_SMBOUTW(sc, AMDSMB_GLOBAL_ENABLE, (l & 0xfff8) | AMDSMB_GE_CYC_BYTE | AMDSMB_GE_HOST_STC);
sys/dev/amdpm/amdpm.c
436
u_short l;
sys/dev/amdpm/amdpm.c
448
l = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_ENABLE);
sys/dev/amdpm/amdpm.c
449
AMDPM_SMBOUTW(sc, AMDSMB_GLOBAL_ENABLE, (l & 0xfff8) | AMDSMB_GE_CYC_BDATA | AMDSMB_GE_HOST_STC);
sys/dev/amdpm/amdpm.c
464
u_short l;
sys/dev/amdpm/amdpm.c
475
l = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_ENABLE);
sys/dev/amdpm/amdpm.c
476
AMDPM_SMBOUTW(sc, AMDSMB_GLOBAL_ENABLE, (l & 0xfff8) | AMDSMB_GE_CYC_BDATA | AMDSMB_GE_HOST_STC);
sys/dev/amdpm/amdpm.c
492
u_short l;
sys/dev/amdpm/amdpm.c
504
l = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_ENABLE);
sys/dev/amdpm/amdpm.c
505
AMDPM_SMBOUTW(sc, AMDSMB_GLOBAL_ENABLE, (l & 0xfff8) | AMDSMB_GE_CYC_WDATA | AMDSMB_GE_HOST_STC);
sys/dev/amdpm/amdpm.c
520
u_short l;
sys/dev/amdpm/amdpm.c
531
l = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_ENABLE);
sys/dev/amdpm/amdpm.c
532
AMDPM_SMBOUTW(sc, AMDSMB_GLOBAL_ENABLE, (l & 0xfff8) | AMDSMB_GE_CYC_WDATA | AMDSMB_GE_HOST_STC);
sys/dev/amdpm/amdpm.c
549
u_short l;
sys/dev/amdpm/amdpm.c
575
l = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_ENABLE);
sys/dev/amdpm/amdpm.c
577
(l & 0xfff8) | AMDSMB_GE_CYC_BLOCK | AMDSMB_GE_HOST_STC);
sys/dev/amdpm/amdpm.c
593
u_short l;
sys/dev/amdpm/amdpm.c
609
l = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_ENABLE);
sys/dev/amdpm/amdpm.c
611
(l & 0xfff8) | AMDSMB_GE_CYC_BLOCK | AMDSMB_GE_HOST_STC);
sys/dev/aq/aq_hw.c
311
uint32_t l = 0;
sys/dev/aq/aq_hw.c
319
l = 0xE3000000U | (0xFFFFU & rnd) | (0x00 << 16);
sys/dev/aq/aq_hw.c
322
mac[5] = (uint8_t)(0xFFU & l);
sys/dev/aq/aq_hw.c
323
l >>= 8;
sys/dev/aq/aq_hw.c
324
mac[4] = (uint8_t)(0xFFU & l);
sys/dev/aq/aq_hw.c
325
l >>= 8;
sys/dev/aq/aq_hw.c
326
mac[3] = (uint8_t)(0xFFU & l);
sys/dev/aq/aq_hw.c
327
l >>= 8;
sys/dev/aq/aq_hw.c
328
mac[2] = (uint8_t)(0xFFU & l);
sys/dev/aq/aq_hw.c
600
unsigned int l = 0U;
sys/dev/aq/aq_hw.c
608
l = (mac_addr[2] << 24) | (mac_addr[3] << 16) | (mac_addr[4] << 8) |
sys/dev/aq/aq_hw.c
612
rpfl2unicast_dest_addresslsw_set(hw, l, index);
sys/dev/arcmsr/arcmsr.h
74
#define ARCMSR_LOCK_INIT(l, s) mtx_init(l, s, NULL, MTX_DEF)
sys/dev/arcmsr/arcmsr.h
75
#define ARCMSR_LOCK_DESTROY(l) mtx_destroy(l)
sys/dev/arcmsr/arcmsr.h
76
#define ARCMSR_LOCK_ACQUIRE(l) mtx_lock(l)
sys/dev/arcmsr/arcmsr.h
77
#define ARCMSR_LOCK_RELEASE(l) mtx_unlock(l)
sys/dev/arcmsr/arcmsr.h
78
#define ARCMSR_LOCK_TRY(l) mtx_trylock(l)
sys/dev/atkbdc/psm.c
2447
int l;
sys/dev/atkbdc/psm.c
2476
l = imin(sc->queue.count, uio->uio_resid);
sys/dev/atkbdc/psm.c
2477
if (l > sizeof(buf))
sys/dev/atkbdc/psm.c
2478
l = sizeof(buf);
sys/dev/atkbdc/psm.c
2479
if (l > sizeof(sc->queue.buf) - sc->queue.head) {
sys/dev/atkbdc/psm.c
2484
l - (sizeof(sc->queue.buf) - sc->queue.head));
sys/dev/atkbdc/psm.c
2486
bcopy(&sc->queue.buf[sc->queue.head], &buf[0], l);
sys/dev/atkbdc/psm.c
2487
sc->queue.count -= l;
sys/dev/atkbdc/psm.c
2488
sc->queue.head = (sc->queue.head + l) % sizeof(sc->queue.buf);
sys/dev/atkbdc/psm.c
2490
error = uiomove(buf, l, uio);
sys/dev/atkbdc/psm.c
2592
int error = 0, i, l;
sys/dev/atkbdc/psm.c
2602
l = imin(PSM_SMALLBUFSIZE, uio->uio_resid);
sys/dev/atkbdc/psm.c
2603
error = uiomove(buf, l, uio);
sys/dev/atkbdc/psm.c
2606
for (i = 0; i < l; i++) {
sys/dev/atkbdc/psm.c
4949
int x, y, z, c, l, s;
sys/dev/atkbdc/psm.c
5223
l = imin(pb->inputbytes,
sys/dev/atkbdc/psm.c
5225
bcopy(&pb->ipacket[0], &sc->queue.buf[sc->queue.tail], l);
sys/dev/atkbdc/psm.c
5226
if (pb->inputbytes > l)
sys/dev/atkbdc/psm.c
5227
bcopy(&pb->ipacket[l], &sc->queue.buf[0],
sys/dev/atkbdc/psm.c
5228
pb->inputbytes - l);
sys/dev/bhnd/bhnd.h
1475
#define bhnd_bus_barrier(r, o, l, f) \
sys/dev/bhnd/bhnd.h
1477
bus_barrier((r)->res, (o), (l), (f)) : \
sys/dev/bhnd/bhnd.h
1480
rman_get_device((r)->res), (r), (o), (l), (f)))
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
190
const bhnd_sprom_opcode_idx_entry *l, *r;
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
192
l = lhs;
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
195
if (l->vid < r->vid)
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
197
if (l->vid > r->vid)
sys/dev/bwn/if_bwn.c
2512
bwn_set_txretry(struct bwn_mac *mac, int s, int l)
sys/dev/bwn/if_bwn.c
2516
bwn_shm_write_2(mac, BWN_SCRATCH, BWN_SCRATCH_LONG_RETRY, MIN(l, 0xf));
sys/dev/bxe/ecore_init_ops.h
361
int l;
sys/dev/bxe/ecore_init_ops.h
526
REG_WR(sc, read_arb_addr[i].l, read_arb_data[i][r_order].l);
sys/dev/bxe/ecore_init_ops.h
534
if ((write_arb_addr[i].l == PXP2_REG_RQ_BW_WR_L29) ||
sys/dev/bxe/ecore_init_ops.h
535
(write_arb_addr[i].l == PXP2_REG_RQ_BW_WR_L30)) {
sys/dev/bxe/ecore_init_ops.h
537
REG_WR(sc, write_arb_addr[i].l,
sys/dev/bxe/ecore_init_ops.h
538
write_arb_data[i][w_order].l);
sys/dev/bxe/ecore_init_ops.h
547
val = REG_RD(sc, write_arb_addr[i].l);
sys/dev/bxe/ecore_init_ops.h
548
REG_WR(sc, write_arb_addr[i].l,
sys/dev/bxe/ecore_init_ops.h
549
val | (write_arb_data[i][w_order].l << 10));
sys/dev/bxe/ecore_init_ops.h
563
val += write_arb_data[NUM_WR_Q-1][w_order].l << 17;
sys/dev/bxe/ecore_init_ops.h
568
val += read_arb_data[NUM_RD_Q-1][r_order].l << 17;
sys/dev/bxe/ecore_init_ops.h
645
#define ILT_RANGE(f, l) (((l) << 10) | f)
sys/dev/cxgbe/common/t4_hw.c
3816
const struct t4_flash_loc_entry *l = chip_id(adap) >= CHELSIO_T7 ?
sys/dev/cxgbe/common/t4_hw.c
3820
*lenp = FLASH_MAX_SIZE(l->nsecs);
sys/dev/cxgbe/common/t4_hw.c
3821
return (FLASH_START(l->start_sec));
sys/dev/cxgbe/iw_cxgbe/cm.c
1638
struct linger l;
sys/dev/cxgbe/iw_cxgbe/cm.c
1643
l.l_onoff = 1;
sys/dev/cxgbe/iw_cxgbe/cm.c
1644
l.l_linger = 0;
sys/dev/cxgbe/iw_cxgbe/cm.c
1650
sopt.sopt_val = (caddr_t)&l;
sys/dev/cxgbe/iw_cxgbe/cm.c
1651
sopt.sopt_valsize = sizeof l;
sys/dev/cxgbe/t4_sge.c
1798
u_int l, pad;
sys/dev/cxgbe/t4_sge.c
1804
l = fr_offset + len;
sys/dev/cxgbe/t4_sge.c
1805
pad = roundup2(l, fl->buf_boundary) - l;
sys/dev/cxgbe/t4_sge.c
1921
u_int l, pad;
sys/dev/cxgbe/t4_sge.c
1926
l = fr_offset + len;
sys/dev/cxgbe/t4_sge.c
1927
pad = roundup2(l, fl->buf_boundary) - l;
sys/dev/cxgbe/tom/t4_listen.c
444
struct listen_ctx *lctx, *l;
sys/dev/cxgbe/tom/t4_listen.c
447
LIST_FOREACH_SAFE(lctx, &td->listen_hash[bucket], link, l) {
sys/dev/dc/if_dc.c
1630
dc_decode_leaf_sia(struct dc_softc *sc, struct dc_eblock_sia *l)
sys/dev/dc/if_dc.c
1639
switch (l->dc_sia_code & ~DC_SIA_CODE_EXT) {
sys/dev/dc/if_dc.c
1661
if (l->dc_sia_code & DC_SIA_CODE_EXT) {
sys/dev/dc/if_dc.c
1664
(uint8_t *)&l->dc_un.dc_sia_ext.dc_sia_gpio_ctl;
sys/dev/dc/if_dc.c
1668
(uint8_t *)&l->dc_un.dc_sia_noext.dc_sia_gpio_ctl;
sys/dev/dc/if_dc.c
1679
dc_decode_leaf_sym(struct dc_softc *sc, struct dc_eblock_sym *l)
sys/dev/dc/if_dc.c
1688
if (l->dc_sym_code == DC_SYM_CODE_100BT)
sys/dev/dc/if_dc.c
1691
if (l->dc_sym_code == DC_SYM_CODE_100BT_FDX)
sys/dev/dc/if_dc.c
1695
m->dc_gp_ptr = (uint8_t *)&l->dc_sym_gpio_ctl;
sys/dev/dc/if_dc.c
1705
dc_decode_leaf_mii(struct dc_softc *sc, struct dc_eblock_mii *l)
sys/dev/dc/if_dc.c
1717
m->dc_gp_len = l->dc_gpr_len;
sys/dev/dc/if_dc.c
1719
p = (uint8_t *)l;
sys/dev/dc/if_dc.c
1722
p += 2 * l->dc_gpr_len;
sys/dev/dpaa2/dpaa2_console.c
161
size_t count, l;
sys/dev/dpaa2/dpaa2_console.c
166
l = offset % 8;
sys/dev/dpaa2/dpaa2_console.c
167
if (l != 0) {
sys/dev/dpaa2/dpaa2_console.c
168
bus_space_read_region_1(cd->bst, cd->bsh, offset + count, p + count, l);
sys/dev/dpaa2/dpaa2_console.c
169
count += l;
sys/dev/dpaa2/dpaa2_console.c
170
len -= l;
sys/dev/dpaa2/dpaa2_console.c
173
l = len / 8;
sys/dev/dpaa2/dpaa2_console.c
174
if (l != 0) {
sys/dev/dpaa2/dpaa2_console.c
175
bus_space_read_region_8(cd->bst, cd->bsh, offset + count, (uint64_t *)(p + count), l);
sys/dev/dpaa2/dpaa2_console.c
176
l *= 8;
sys/dev/dpaa2/dpaa2_console.c
177
count += l;
sys/dev/dpaa2/dpaa2_console.c
178
len -= l;
sys/dev/dpaa2/dpaa2_console.c
180
l = len / 4;
sys/dev/dpaa2/dpaa2_console.c
181
if (l != 0) {
sys/dev/dpaa2/dpaa2_console.c
182
bus_space_read_region_4(cd->bst, cd->bsh, offset + count, (uint32_t *)(p + count), l);
sys/dev/dpaa2/dpaa2_console.c
183
l *= 4;
sys/dev/dpaa2/dpaa2_console.c
184
count += l;
sys/dev/dpaa2/dpaa2_console.c
185
len -= l;
sys/dev/dpaa2/dpaa2_console.c
187
l = len / 2;
sys/dev/dpaa2/dpaa2_console.c
188
if (l != 0) {
sys/dev/dpaa2/dpaa2_console.c
189
bus_space_read_region_2(cd->bst, cd->bsh, offset + count, (uint16_t *)(p + count), l);
sys/dev/dpaa2/dpaa2_console.c
190
l *= 2;
sys/dev/dpaa2/dpaa2_console.c
191
count += l;
sys/dev/dpaa2/dpaa2_console.c
192
len -= l;
sys/dev/drm2/drmP.h
1605
#define DRM_SPININIT(l,name) mtx_init(l, name, NULL, MTX_DEF)
sys/dev/drm2/drmP.h
1606
#define DRM_SPINUNINIT(l) mtx_destroy(l)
sys/dev/drm2/drmP.h
1607
#define DRM_SPINLOCK(l) mtx_lock(l)
sys/dev/drm2/drmP.h
1609
#define DRM_SPINLOCK_IRQSAVE(l, irqflags) do { \
sys/dev/drm2/drmP.h
1610
mtx_lock(l); \
sys/dev/drm2/drmP.h
1614
#define DRM_SPINLOCK_ASSERT(l) mtx_assert(l, MA_OWNED)
sys/dev/drm2/drm_dp_helper.c
106
u8 l = dp_link_status(link_status, i);
sys/dev/drm2/drm_dp_helper.c
108
return ((l >> s) & 0x3) << DP_TRAIN_PRE_EMPHASIS_SHIFT;
sys/dev/drm2/drm_dp_helper.c
47
u8 l = dp_link_status(link_status, i);
sys/dev/drm2/drm_dp_helper.c
48
return (l >> s) & 0xf;
sys/dev/drm2/drm_dp_helper.c
93
u8 l = dp_link_status(link_status, i);
sys/dev/drm2/drm_dp_helper.c
95
return ((l >> s) & 0x3) << DP_TRAIN_VOLTAGE_SWING_SHIFT;
sys/dev/drm2/drm_os_freebsd.h
201
#define access_ok(prot, p, l) useracc((p), (l), (prot))
sys/dev/enetc/enetc_hw.h
11
#define GENMASK(h, l) (((~0U) - (1U << (l)) + 1) & (~0U >> (32 - 1 - (h))))
sys/dev/fb/vga.c
2494
int l;
sys/dev/fb/vga.c
2504
l = imin(length, adp->va_window_size);
sys/dev/fb/vga.c
2506
bzero_io(adp->va_window, l);
sys/dev/fb/vga.c
2507
length -= l;
sys/dev/fb/vga.c
2508
at += l;
sys/dev/fb/vga.c
2519
int l;
sys/dev/fb/vga.c
2524
l = imin(length, adp->va_window_size);
sys/dev/fb/vga.c
2526
fill_io(val, adp->va_window, l);
sys/dev/fb/vga.c
2527
length -= l;
sys/dev/fb/vga.c
2528
at += l;
sys/dev/fb/vga.c
2537
int l;
sys/dev/fb/vga.c
2542
l = imin(length, adp->va_window_size);
sys/dev/fb/vga.c
2546
fillw_io(val, adp->va_window, l/sizeof(u_int16_t));
sys/dev/fb/vga.c
2552
filll_io(val, adp->va_window, l/sizeof(u_int32_t));
sys/dev/fb/vga.c
2555
length -= l;
sys/dev/fb/vga.c
2556
at += l;
sys/dev/fb/vga.c
2589
int l;
sys/dev/fb/vga.c
2620
l = imin(bx, banksize);
sys/dev/fb/vga.c
2621
bzero_io(adp->va_window + offset, l);
sys/dev/fb/vga.c
2622
offset += l;
sys/dev/fb/vga.c
2623
bx -= l;
sys/dev/firewire/sbp.c
1611
int orb_fun, status_valid0, status_valid, t, l, reset_agent = 0;
sys/dev/firewire/sbp.c
1648
l = SBP_ADDR2LUN(addr);
sys/dev/firewire/sbp.c
1649
if (l >= target->num_lun || target->luns[l] == NULL) {
sys/dev/firewire/sbp.c
1651
"sbp_recv1: invalid lun %d (target=%d)\n", l, t);
sys/dev/firewire/sbp.c
1654
sdev = target->luns[l];
sys/dev/firewire/sbp.c
90
#define SBP_DEV2ADDR(t, l) \
sys/dev/firewire/sbp.c
92
| (((l) & 0xff) << 8) \
sys/dev/firewire/sbp_targ.c
79
#define SBP_TARG_BIND_LO(l) (0xf0000000 + SBP_TARG_MGM + 0x20 * ((l) + 1))
sys/dev/hid/hidquirk.c
76
#define HID_QUIRK_VP(b,v,p,l,h,...) \
sys/dev/hid/hidquirk.c
77
{ .bus = (b), .vid = (v), .pid = (p), .lo_rev = (l), .hi_rev = (h), \
sys/dev/hid/hidquirk.c
79
#define USB_QUIRK(v,p,l,h,...) \
sys/dev/hid/hidquirk.c
80
HID_QUIRK_VP(BUS_USB, USB_VENDOR_##v, USB_PRODUCT_##v##_##p, l, h, __VA_ARGS__)
sys/dev/hyperv/utilities/unicode.h
149
#define CHECK_LENGTH(l) (dpos > dst_len-(l) ? dst=NULL : NULL)
sys/dev/hyperv/vmbus/vmbus_var.h
161
#define GENMASK_ULL(h, l) (((~0ULL) >> (64 - (h) - 1)) & ((~0ULL) << (l)))
sys/dev/ic/i82586.h
314
uintptr_t l = (uintptr_t)ptr;
sys/dev/ic/i82586.h
315
l = (l + 3) & ~3L;
sys/dev/ic/i82586.h
316
return (void *)l;
sys/dev/ic/i82586.h
321
uintptr_t l = (uintptr_t)ptr;
sys/dev/ic/i82586.h
322
l = (l + 3) & ~3L;
sys/dev/ic/i82586.h
323
return (volatile void *)l;
sys/dev/ice/ice_sched.c
2339
u8 l = node->tx_sched_layer;
sys/dev/ice/ice_sched.c
2345
if (l == vsil - 1)
sys/dev/ice/ice_sched.c
2346
return (node->num_children < hw->max_children[l]) ? node : NULL;
sys/dev/ice/ice_sched.c
2351
if (node->num_children < hw->max_children[l])
sys/dev/ice/ice_sched.c
2352
num_nodes[l] = 0;
sys/dev/iommu/busdma_iommu.c
121
device_t l, pci, pcib, pcip, pcibp, requester;
sys/dev/iommu/busdma_iommu.c
127
l = requester = dev;
sys/dev/iommu/busdma_iommu.c
144
pci = device_get_parent(l);
sys/dev/iommu/busdma_iommu.c
149
device_get_name(dev), device_get_name(l));
sys/dev/iommu/busdma_iommu.c
160
device_get_name(l));
sys/dev/iommu/busdma_iommu.c
190
if (pci_find_cap(l, PCIY_EXPRESS, &cap_offset) == 0) {
sys/dev/iommu/busdma_iommu.c
197
l = pcib;
sys/dev/iommu/busdma_iommu.c
241
*rid = PCI_RID(pci_get_bus(l), 0, 0);
sys/dev/iommu/busdma_iommu.c
242
l = pcibp;
sys/dev/iommu/busdma_iommu.c
252
l = pcib;
sys/dev/iommu/iommu_gas.c
194
struct iommu_map_entry *entry, *l, *r;
sys/dev/iommu/iommu_gas.c
201
l = RB_LEFT(entry, rb_entry);
sys/dev/iommu/iommu_gas.c
204
if (l != NULL) {
sys/dev/iommu/iommu_gas.c
205
v = MAX(v, l->free_down);
sys/dev/iommu/iommu_gas.c
206
v = MAX(v, entry->start - l->last);
sys/dev/isp/isp_freebsd.h
625
#define ISP_PATH_PRT(i, l, p, ...) \
sys/dev/isp/isp_freebsd.h
626
if ((l) == ISP_LOGALL || ((l)& (i)->isp_dblev) != 0) { \
sys/dev/iwm/if_iwm.c
437
const struct iwm_fw_cscheme_list *l = (const void *)data;
sys/dev/iwm/if_iwm.c
439
if (dlen < sizeof(*l) ||
sys/dev/iwm/if_iwm.c
440
dlen < sizeof(l->size) + l->size * sizeof(*l->cs))
sys/dev/iwx/if_iwx.c
692
const struct iwx_fw_cscheme_list *l = (const void *)data;
sys/dev/iwx/if_iwx.c
694
if (dlen < sizeof(*l) ||
sys/dev/iwx/if_iwx.c
695
dlen < sizeof(l->size) + l->size * sizeof(*l->cs))
sys/dev/ixgbe/if_ixv.c
1473
for (int l = 0; l < 10; l++) {
sys/dev/ixgbe/ixgbe_osdep.h
181
ixgbe_bcopy(void *restrict _src, void *restrict _dst, int l)
sys/dev/ixgbe/ixgbe_osdep.h
186
for (; l > 0; l -= 32) {
sys/dev/ixgbe/ixgbe_type_e610.h
76
#define GENMASK(h, l) \
sys/dev/ixgbe/ixgbe_type_e610.h
77
(((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h))))
sys/dev/ixgbe/ixgbe_type_e610.h
79
#define GENMASK_ULL(h, l) \
sys/dev/ixgbe/ixgbe_type_e610.h
80
(((~0ULL) << (l)) & (~0ULL >> (BITS_PER_LONG_LONG - 1 - (h))))
sys/dev/kbd/kbd.c
1162
#define set_lockkey_state(k, s, l) \
sys/dev/kbd/kbd.c
1163
if (!((s) & l ## DOWN)) { \
sys/dev/kbd/kbd.c
1165
(s) |= l ## DOWN; \
sys/dev/kbd/kbd.c
1166
(s) ^= l ## ED; \
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
207
unsigned long l;
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
210
l = (__force unsigned long)src_port |
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
212
l ^= (__force unsigned long)(src_ip ^ dst_ip);
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
214
bucket_idx = hash_long(l, MLX4_EN_FILTER_HASH_SHIFT);
sys/dev/mlx5/device.h
1333
u8 l[0x1];
sys/dev/mlx5/mlx5_core/mlx5_fs_chains.c
492
int l = 0;
sys/dev/mlx5/mlx5_core/mlx5_fs_chains.c
503
for (l = 0; l < level; l++) {
sys/dev/mlx5/mlx5_core/mlx5_fs_chains.c
504
prev_fts = mlx5_chains_get_table(chains, chain, prio, l);
sys/dev/mlx5/mlx5_core/mlx5_fs_chains.c
533
while (--l >= 0)
sys/dev/mlx5/mlx5_core/mlx5_fs_chains.c
534
mlx5_chains_put_table(chains, chain, prio, l);
sys/dev/mlx5/mlx5_core/mlx5_port.c
713
MLX5_SET(mcia_reg, in, l, 0);
sys/dev/mpr/mpi/mpi2.h
1125
#define MPI2_SGE_SET_FLAGS_LENGTH(f,l) (MPI2_SGE_SET_FLAGS(f) | MPI2_SGE_LENGTH(l))
sys/dev/mpr/mpi/mpi2.h
1129
#define MPI2_pSGE_SET_FLAGS_LENGTH(psg,f,l) (psg)->FlagsLength = MPI2_SGE_SET_FLAGS_LENGTH(f,l)
sys/dev/mpr/mpi/mpi2.h
1133
#define MPI2_pSGE_SET_LENGTH(psg,l) (psg)->FlagsLength |= MPI2_SGE_LENGTH(l)
sys/dev/mpr/mpi/mpi2.h
1272
#define MPI2_IEEE32_SGE_SET_FLAGS_LENGTH(f, l) (MPI2_IEEE32_SGE_SET_FLAGS(f) | MPI2_IEEE32_SGE_LENGTH(l))
sys/dev/mpr/mpi/mpi2.h
1276
#define MPI2_IEEE32_pSGE_SET_FLAGS_LENGTH(psg,f,l) (psg)->FlagsLength = MPI2_IEEE32_SGE_SET_FLAGS_LENGTH(f,l)
sys/dev/mpr/mpi/mpi2.h
1280
#define MPI2_IEEE32_pSGE_SET_LENGTH(psg,l) (psg)->FlagsLength |= MPI2_IEEE32_SGE_LENGTH(l)
sys/dev/mps/mpi/mpi2.h
1072
#define MPI2_IEEE32_SGE_SET_FLAGS_LENGTH(f, l) (MPI2_IEEE32_SGE_SET_FLAGS(f) | MPI2_IEEE32_SGE_LENGTH(l))
sys/dev/mps/mpi/mpi2.h
1076
#define MPI2_IEEE32_pSGE_SET_FLAGS_LENGTH(psg,f,l) (psg)->FlagsLength = MPI2_IEEE32_SGE_SET_FLAGS_LENGTH(f,l)
sys/dev/mps/mpi/mpi2.h
1080
#define MPI2_IEEE32_pSGE_SET_LENGTH(psg,l) (psg)->FlagsLength |= MPI2_IEEE32_SGE_LENGTH(l)
sys/dev/mps/mpi/mpi2.h
962
#define MPI2_SGE_SET_FLAGS_LENGTH(f,l) (MPI2_SGE_SET_FLAGS(f) | MPI2_SGE_LENGTH(l))
sys/dev/mps/mpi/mpi2.h
966
#define MPI2_pSGE_SET_FLAGS_LENGTH(psg,f,l) (psg)->FlagsLength = MPI2_SGE_SET_FLAGS_LENGTH(f,l)
sys/dev/mps/mpi/mpi2.h
970
#define MPI2_pSGE_SET_LENGTH(psg,l) (psg)->FlagsLength |= MPI2_SGE_LENGTH(l)
sys/dev/mpt/mpilib/mpi.h
605
#define MPI_SGE_SET_FLAGS_LENGTH(f,l) (MPI_SGE_SET_FLAGS(f) | MPI_SGE_LENGTH(l))
sys/dev/mpt/mpilib/mpi.h
609
#define MPI_pSGE_SET_FLAGS_LENGTH(psg,f,l) (psg)->FlagsLength = MPI_SGE_SET_FLAGS_LENGTH(f,l)
sys/dev/mpt/mpilib/mpi.h
612
#define MPI_pSGE_SET_LENGTH(psg,l) (psg)->FlagsLength |= MPI_SGE_LENGTH(l)
sys/dev/mwl/mwlhal.c
2025
int i, j, f, l, h;
sys/dev/mwl/mwlhal.c
2027
l = 32000;
sys/dev/mwl/mwlhal.c
2036
if (f < l)
sys/dev/mwl/mwlhal.c
2037
l = f;
sys/dev/mwl/mwlhal.c
2048
ci->freqLow = (l == 32000) ? 0 : l;
sys/dev/netmap/if_re_netmap.h
305
int l = netmap_idx_n2k(na->tx_rings[0], i);
sys/dev/netmap/if_re_netmap.h
306
void *addr = PNMB(na, slot + l, &paddr);
sys/dev/netmap/netmap_kern.h
1810
struct e1000_buffer *buffer_info = &tx_ring->buffer_info[l];
sys/dev/netmap/netmap_vale.c
164
pkt_copy(void *_src, void *_dst, int l)
sys/dev/netmap/netmap_vale.c
168
if (unlikely(l >= 1024)) {
sys/dev/netmap/netmap_vale.c
169
memcpy(dst, src, l);
sys/dev/netmap/netmap_vale.c
172
for (; likely(l > 0); l -= NM_BUF_ALIGN) {
sys/dev/netmap/netmap_vale.c
213
int nrings, l, i, num_dstq;
sys/dev/netmap/netmap_vale.c
219
l = sizeof(struct nm_bdg_fwd) * NM_BDG_BATCH_MAX;
sys/dev/netmap/netmap_vale.c
220
l += sizeof(struct nm_vale_q) * num_dstq;
sys/dev/netmap/netmap_vale.c
221
l += sizeof(uint16_t) * NM_BDG_BATCH_MAX;
sys/dev/netmap/netmap_vale.c
230
ft = nm_os_malloc(l);
sys/dev/oce/oce_if.h
1126
#define DW_SWAP(x, l)
sys/dev/ocs_fc/ocs_ddump.c
705
ocs_lock_t *l;
sys/dev/ocs_fc/ocs_ddump.c
707
ocs_list_foreach(&ocs->ocs_os.locklist, l) {
sys/dev/ocs_fc/ocs_ddump.c
709
ocs_ddump_value(textbuf, "name", "%s", l->name);
sys/dev/ocs_fc/ocs_ddump.c
710
ocs_ddump_value(textbuf, "inuse", "%d", l->inuse);
sys/dev/ocs_fc/ocs_ddump.c
711
ocs_ddump_value(textbuf, "caller", "%p", l->caller[0]);
sys/dev/ocs_fc/ocs_ddump.c
712
ocs_ddump_value(textbuf, "pid", "%08x", l->pid.l);
sys/dev/ocs_fc/ocs_os.c
1024
uint32_t l = strlen(s);
sys/dev/ocs_fc/ocs_os.c
1027
d = ocs_malloc(NULL, l+1, OCS_M_NOWAIT);
sys/dev/ocs_fc/ocs_os.h
317
#define ocs_memcpy(d, s, l) memcpy(d, s, l)
sys/dev/ocs_fc/ocs_os.h
358
#define ocs_memset(b, c, l) memset(b, c, l)
sys/dev/ofw/ofw_bus_subr.c
223
int onelen, l, ret;
sys/dev/ofw/ofw_bus_subr.c
237
l = strlen(compat) + 1;
sys/dev/ofw/ofw_bus_subr.c
238
compat += l;
sys/dev/ofw/ofw_bus_subr.c
239
len -= l;
sys/dev/pci/pcireg.h
289
#define PCI_PPBMEMBASE(h,l) ((((uint64_t)(h) << 32) + ((l)<<16)) & ~0xfffff)
sys/dev/pci/pcireg.h
290
#define PCI_PPBMEMLIMIT(h,l) ((((uint64_t)(h) << 32) + ((l)<<16)) | 0xfffff)
sys/dev/pci/pcireg.h
291
#define PCI_PPBIOBASE(h,l) ((((h)<<16) + ((l)<<8)) & ~0xfff)
sys/dev/pci/pcireg.h
292
#define PCI_PPBIOLIMIT(h,l) ((((h)<<16) + ((l)<<8)) | 0xfff)
sys/dev/pci/pcireg.h
324
#define PCI_CBBMEMBASE(l) ((l) & ~0xfffff)
sys/dev/pci/pcireg.h
325
#define PCI_CBBMEMLIMIT(l) ((l) | 0xfffff)
sys/dev/pci/pcireg.h
326
#define PCI_CBBIOBASE(l) ((l) & ~0x3)
sys/dev/pci/pcireg.h
327
#define PCI_CBBIOLIMIT(l) ((l) | 0x3)
sys/dev/pms/freebsd/driver/common/lxcommon.h
488
#define MAP_TABLE_ENTRY(pC, c, d, l) (pC->encrypt_map + \
sys/dev/pms/freebsd/driver/common/lxcommon.h
491
(l))
sys/dev/ppbus/pps.c
280
int i, j, k, l;
sys/dev/ppbus/pps.c
286
l = sc->lastdata ^ i;
sys/dev/ppbus/pps.c
289
if (l & k) {
sys/dev/smartpqi/smartpqi_request.c
1130
fill_lba_for_scsi_rw(pqisrc_softstate_t *softs, uint8_t *cdb, aio_req_locator_t *l)
sys/dev/smartpqi/smartpqi_request.c
1133
if (!l) {
sys/dev/smartpqi/smartpqi_request.c
1143
l->is_write = true;
sys/dev/smartpqi/smartpqi_request.c
1146
l->block.first = (uint64_t)(((cdb[1] & 0x1F) << 16) |
sys/dev/smartpqi/smartpqi_request.c
1148
l->block.cnt = (uint32_t)cdb[4];
sys/dev/smartpqi/smartpqi_request.c
1149
if (l->block.cnt == 0)
sys/dev/smartpqi/smartpqi_request.c
1150
l->block.cnt = 256; /*blkcnt 0 means 256 */
sys/dev/smartpqi/smartpqi_request.c
1153
l->is_write = true;
sys/dev/smartpqi/smartpqi_request.c
1156
l->block.first = (uint64_t)GET_BE32(&cdb[2]);
sys/dev/smartpqi/smartpqi_request.c
1157
l->block.cnt = (uint32_t)GET_BE16(&cdb[7]);
sys/dev/smartpqi/smartpqi_request.c
1160
l->is_write = true;
sys/dev/smartpqi/smartpqi_request.c
1163
l->block.first = (uint64_t)GET_BE32(&cdb[2]);
sys/dev/smartpqi/smartpqi_request.c
1164
l->block.cnt = GET_BE32(&cdb[6]);
sys/dev/smartpqi/smartpqi_request.c
1167
l->is_write = true;
sys/dev/smartpqi/smartpqi_request.c
1170
l->block.first = GET_BE64(&cdb[2]);
sys/dev/smartpqi/smartpqi_request.c
1171
l->block.cnt = GET_BE32(&cdb[10]);
sys/dev/smartpqi/smartpqi_request.c
1228
pqisrc_is_invalid_block(pqisrc_softstate_t *softs, aio_req_locator_t *l)
sys/dev/smartpqi/smartpqi_request.c
1232
if (l->block.cnt == 0) {
sys/dev/smartpqi/smartpqi_request.c
1238
if (l->block.last < l->block.first ||
sys/dev/smartpqi/smartpqi_request.c
1239
l->block.last >=
sys/dev/smartpqi/smartpqi_request.c
1240
GET_LE64((uint8_t *)&l->raid_map->volume_blk_cnt)) {
sys/dev/smartpqi/smartpqi_request.c
1252
pqisrc_calc_disk_params(pqisrc_softstate_t *softs, aio_req_locator_t *l, rcb_t *rcb)
sys/dev/smartpqi/smartpqi_request.c
1257
l->row.data_disks =
sys/dev/smartpqi/smartpqi_request.c
1258
GET_LE16((uint8_t *)&l->raid_map->data_disks_per_row);
sys/dev/smartpqi/smartpqi_request.c
1259
l->strip_sz =
sys/dev/smartpqi/smartpqi_request.c
1260
GET_LE16((uint8_t *)(&l->raid_map->strip_size));
sys/dev/smartpqi/smartpqi_request.c
1261
l->map.layout_map_count =
sys/dev/smartpqi/smartpqi_request.c
1262
GET_LE16((uint8_t *)(&l->raid_map->layout_map_count));
sys/dev/smartpqi/smartpqi_request.c
1265
l->row.blks_per_row = l->row.data_disks * l->strip_sz;
sys/dev/smartpqi/smartpqi_request.c
1266
if (!l->row.blks_per_row || !l->strip_sz) {
sys/dev/smartpqi/smartpqi_request.c
1272
rcb->blocks_per_row = l->row.blks_per_row;
sys/dev/smartpqi/smartpqi_request.c
1273
l->row.first = l->block.first / l->row.blks_per_row;
sys/dev/smartpqi/smartpqi_request.c
1274
rcb->row_num = l->row.first;
sys/dev/smartpqi/smartpqi_request.c
1275
l->row.last = l->block.last / l->row.blks_per_row;
sys/dev/smartpqi/smartpqi_request.c
1276
l->row.offset_first = (uint32_t)(l->block.first -
sys/dev/smartpqi/smartpqi_request.c
1277
(l->row.first * l->row.blks_per_row));
sys/dev/smartpqi/smartpqi_request.c
1278
l->row.offset_last = (uint32_t)(l->block.last -
sys/dev/smartpqi/smartpqi_request.c
1279
(l->row.last * l->row.blks_per_row));
sys/dev/smartpqi/smartpqi_request.c
1280
l->col.first = l->row.offset_first / l->strip_sz;
sys/dev/smartpqi/smartpqi_request.c
1281
l->col.last = l->row.offset_last / l->strip_sz;
sys/dev/smartpqi/smartpqi_request.c
1289
pqisrc_is_single_row_column(pqisrc_softstate_t *softs, aio_req_locator_t *l)
sys/dev/smartpqi/smartpqi_request.c
1294
if (l->row.first != l->row.last || l->col.first != l->col.last) {
sys/dev/smartpqi/smartpqi_request.c
1304
pqisrc_set_map_row_and_idx(pqisrc_softstate_t *softs, aio_req_locator_t *l, rcb_t *rcb)
sys/dev/smartpqi/smartpqi_request.c
1306
if (!l->row.data_disks) {
sys/dev/smartpqi/smartpqi_request.c
1311
l->row.total_disks = l->row.data_disks +
sys/dev/smartpqi/smartpqi_request.c
1312
LE_16(l->raid_map->metadata_disks_per_row);
sys/dev/smartpqi/smartpqi_request.c
1314
l->map.row = ((uint32_t)(l->row.first >>
sys/dev/smartpqi/smartpqi_request.c
1315
l->raid_map->parity_rotation_shift)) %
sys/dev/smartpqi/smartpqi_request.c
1316
GET_LE16((uint8_t *)(&l->raid_map->row_cnt));
sys/dev/smartpqi/smartpqi_request.c
1318
l->map.idx = (l->map.row * l->row.total_disks) + l->col.first;
sys/dev/smartpqi/smartpqi_request.c
1319
rcb->raid_map_index = l->map.idx;
sys/dev/smartpqi/smartpqi_request.c
1320
rcb->raid_map_row = l->map.row;
sys/dev/smartpqi/smartpqi_request.c
1328
pqi_scsi_dev_t *device, aio_req_locator_t *l)
sys/dev/smartpqi/smartpqi_request.c
1335
int mirror = device->offload_to_mirror[l->map.idx];
sys/dev/smartpqi/smartpqi_request.c
1338
if (next_mirror >= l->map.layout_map_count)
sys/dev/smartpqi/smartpqi_request.c
1341
device->offload_to_mirror[l->map.idx] = next_mirror;
sys/dev/smartpqi/smartpqi_request.c
1342
l->map.idx += mirror * l->row.data_disks;
sys/dev/smartpqi/smartpqi_request.c
1350
aio_req_locator_t *l,
sys/dev/smartpqi/smartpqi_request.c
1356
if (l->map.layout_map_count > PQISRC_MAX_SUPPORTED_MIRRORS)
sys/dev/smartpqi/smartpqi_request.c
1360
index = l->map.idx + (l->row.data_disks * mirror);
sys/dev/smartpqi/smartpqi_request.c
1362
l->raid_map->dev_data[index].ioaccel_handle;
sys/dev/smartpqi/smartpqi_request.c
1364
} while (mirror != l->map.layout_map_count);
sys/dev/smartpqi/smartpqi_request.c
1371
pqisrc_is_r5or6_single_group(pqisrc_softstate_t *softs, aio_req_locator_t *l)
sys/dev/smartpqi/smartpqi_request.c
1376
l->r5or6.row.blks_per_row = l->strip_sz * l->row.data_disks;
sys/dev/smartpqi/smartpqi_request.c
1377
l->stripesz = l->r5or6.row.blks_per_row * l->map.layout_map_count;
sys/dev/smartpqi/smartpqi_request.c
1378
l->group.first = (l->block.first % l->stripesz) /
sys/dev/smartpqi/smartpqi_request.c
1379
l->r5or6.row.blks_per_row;
sys/dev/smartpqi/smartpqi_request.c
1380
l->group.last = (l->block.last % l->stripesz) /
sys/dev/smartpqi/smartpqi_request.c
1381
l->r5or6.row.blks_per_row;
sys/dev/smartpqi/smartpqi_request.c
1383
if (l->group.first != l->group.last) {
sys/dev/smartpqi/smartpqi_request.c
1394
pqisrc_is_r5or6_single_row(pqisrc_softstate_t *softs, aio_req_locator_t *l)
sys/dev/smartpqi/smartpqi_request.c
1401
l->row.first = l->r5or6.row.first =
sys/dev/smartpqi/smartpqi_request.c
1402
l->block.first / l->stripesz;
sys/dev/smartpqi/smartpqi_request.c
1403
l->r5or6.row.last = l->block.last / l->stripesz;
sys/dev/smartpqi/smartpqi_request.c
1405
if (l->r5or6.row.first != l->r5or6.row.last) {
sys/dev/smartpqi/smartpqi_request.c
1417
pqisrc_is_r5or6_single_column(pqisrc_softstate_t *softs, aio_req_locator_t *l)
sys/dev/smartpqi/smartpqi_request.c
1422
l->row.offset_first = l->r5or6.row.offset_first =
sys/dev/smartpqi/smartpqi_request.c
1423
(uint32_t)((l->block.first % l->stripesz) %
sys/dev/smartpqi/smartpqi_request.c
1424
l->r5or6.row.blks_per_row);
sys/dev/smartpqi/smartpqi_request.c
1425
l->r5or6.row.offset_last =
sys/dev/smartpqi/smartpqi_request.c
1426
(uint32_t)((l->block.last % l->stripesz) %
sys/dev/smartpqi/smartpqi_request.c
1427
l->r5or6.row.blks_per_row);
sys/dev/smartpqi/smartpqi_request.c
1429
l->col.first = l->r5or6.row.offset_first / l->strip_sz;
sys/dev/smartpqi/smartpqi_request.c
1430
l->r5or6.col.first = l->col.first;
sys/dev/smartpqi/smartpqi_request.c
1431
l->r5or6.col.last = l->r5or6.row.offset_last / l->strip_sz;
sys/dev/smartpqi/smartpqi_request.c
1433
if (l->r5or6.col.first != l->r5or6.col.last) {
sys/dev/smartpqi/smartpqi_request.c
1445
pqisrc_set_r5or6_row_and_index(aio_req_locator_t *l,
sys/dev/smartpqi/smartpqi_request.c
1448
l->map.row = ((uint32_t)
sys/dev/smartpqi/smartpqi_request.c
1449
(l->row.first >> l->raid_map->parity_rotation_shift)) %
sys/dev/smartpqi/smartpqi_request.c
1450
GET_LE16((uint8_t *)(&l->raid_map->row_cnt));
sys/dev/smartpqi/smartpqi_request.c
1452
l->map.idx = (l->group.first *
sys/dev/smartpqi/smartpqi_request.c
1453
(GET_LE16((uint8_t *)(&l->raid_map->row_cnt))
sys/dev/smartpqi/smartpqi_request.c
1454
* l->row.total_disks))
sys/dev/smartpqi/smartpqi_request.c
1455
+ (l->map.row * l->row.total_disks)
sys/dev/smartpqi/smartpqi_request.c
1456
+ l->col.first;
sys/dev/smartpqi/smartpqi_request.c
1458
rcb->raid_map_index = l->map.idx;
sys/dev/smartpqi/smartpqi_request.c
1459
rcb->raid_map_row = l->map.row;
sys/dev/smartpqi/smartpqi_request.c
1464
pqisrc_calc_aio_block(aio_req_locator_t *l)
sys/dev/smartpqi/smartpqi_request.c
1468
l->block.disk_block =
sys/dev/smartpqi/smartpqi_request.c
1469
GET_LE64((uint8_t *) (&l->raid_map->disk_starting_blk))
sys/dev/smartpqi/smartpqi_request.c
1470
+ (l->row.first * l->strip_sz)
sys/dev/smartpqi/smartpqi_request.c
1471
+ ((uint64_t)(l->row.offset_first) - (uint64_t)(l->col.first) * l->strip_sz);
sys/dev/smartpqi/smartpqi_request.c
1479
pqisrc_handle_blk_size_diffs(aio_req_locator_t *l)
sys/dev/smartpqi/smartpqi_request.c
1482
disk_blk_cnt = l->block.cnt;
sys/dev/smartpqi/smartpqi_request.c
1484
if (l->raid_map->phys_blk_shift) {
sys/dev/smartpqi/smartpqi_request.c
1485
l->block.disk_block <<= l->raid_map->phys_blk_shift;
sys/dev/smartpqi/smartpqi_request.c
1486
disk_blk_cnt <<= l->raid_map->phys_blk_shift;
sys/dev/smartpqi/smartpqi_request.c
1498
aio_req_locator_t *l, uint32_t disk_blk_cnt)
sys/dev/smartpqi/smartpqi_request.c
1586
aio_req_locator_t *l, uint32_t disk_blk_cnt, rcb_t const *rcb)
sys/dev/smartpqi/smartpqi_request.c
1589
pqisrc_aio_show_raid_map(softs, l->raid_map);
sys/dev/smartpqi/smartpqi_request.c
1592
DBG_INFO("%-25s: 0x%lx\n", "block.first", l->block.first);
sys/dev/smartpqi/smartpqi_request.c
1593
DBG_INFO("%-25s: 0x%lx\n", "block.last", l->block.last);
sys/dev/smartpqi/smartpqi_request.c
1594
DBG_INFO("%-25s: 0x%x\n", "block.cnt", l->block.cnt);
sys/dev/smartpqi/smartpqi_request.c
1595
DBG_INFO("%-25s: 0x%lx\n", "block.disk_block", l->block.disk_block);
sys/dev/smartpqi/smartpqi_request.c
1596
DBG_INFO("%-25s: 0x%x\n", "row.blks_per_row", l->row.blks_per_row);
sys/dev/smartpqi/smartpqi_request.c
1597
DBG_INFO("%-25s: 0x%lx\n", "row.first", l->row.first);
sys/dev/smartpqi/smartpqi_request.c
1598
DBG_INFO("%-25s: 0x%lx\n", "row.last", l->row.last);
sys/dev/smartpqi/smartpqi_request.c
1599
DBG_INFO("%-25s: 0x%x\n", "row.offset_first", l->row.offset_first);
sys/dev/smartpqi/smartpqi_request.c
1600
DBG_INFO("%-25s: 0x%x\n", "row.offset_last", l->row.offset_last);
sys/dev/smartpqi/smartpqi_request.c
1601
DBG_INFO("%-25s: 0x%x\n", "row.data_disks", l->row.data_disks);
sys/dev/smartpqi/smartpqi_request.c
1602
DBG_INFO("%-25s: 0x%x\n", "row.total_disks", l->row.total_disks);
sys/dev/smartpqi/smartpqi_request.c
1603
DBG_INFO("%-25s: 0x%x\n", "col.first", l->col.first);
sys/dev/smartpqi/smartpqi_request.c
1604
DBG_INFO("%-25s: 0x%x\n", "col.last", l->col.last);
sys/dev/smartpqi/smartpqi_request.c
1606
if (l->raid_level == SA_RAID_5 || l->raid_level == SA_RAID_6) {
sys/dev/smartpqi/smartpqi_request.c
1608
l->r5or6.row.blks_per_row);
sys/dev/smartpqi/smartpqi_request.c
1609
DBG_INFO("%-25s: 0x%lx\n", "r5or6.row.first", l->r5or6.row.first);
sys/dev/smartpqi/smartpqi_request.c
1610
DBG_INFO("%-25s: 0x%lx\n", "r5or6.row.last", l->r5or6.row.last);
sys/dev/smartpqi/smartpqi_request.c
1612
l->r5or6.row.offset_first);
sys/dev/smartpqi/smartpqi_request.c
1614
l->r5or6.row.offset_last);
sys/dev/smartpqi/smartpqi_request.c
1616
l->r5or6.row.data_disks);
sys/dev/smartpqi/smartpqi_request.c
1618
l->r5or6.row.total_disks);
sys/dev/smartpqi/smartpqi_request.c
1619
DBG_INFO("%-25s: 0x%x\n", "r5or6.col.first", l->r5or6.col.first);
sys/dev/smartpqi/smartpqi_request.c
1620
DBG_INFO("%-25s: 0x%x\n", "r5or6.col.last", l->r5or6.col.last);
sys/dev/smartpqi/smartpqi_request.c
1622
DBG_INFO("%-25s: 0x%x\n", "map.row", l->map.row);
sys/dev/smartpqi/smartpqi_request.c
1623
DBG_INFO("%-25s: 0x%x\n", "map.idx", l->map.idx);
sys/dev/smartpqi/smartpqi_request.c
1625
l->map.layout_map_count);
sys/dev/smartpqi/smartpqi_request.c
1626
DBG_INFO("%-25s: 0x%x\n", "group.first", l->group.first);
sys/dev/smartpqi/smartpqi_request.c
1627
DBG_INFO("%-25s: 0x%x\n", "group.last", l->group.last);
sys/dev/smartpqi/smartpqi_request.c
1628
DBG_INFO("%-25s: 0x%x\n", "group.cur", l->group.cur);
sys/dev/smartpqi/smartpqi_request.c
1629
DBG_INFO("%-25s: %d\n", "is_write", l->is_write);
sys/dev/smartpqi/smartpqi_request.c
1630
DBG_INFO("%-25s: 0x%x\n", "stripesz", l->stripesz);
sys/dev/smartpqi/smartpqi_request.c
1631
DBG_INFO("%-25s: 0x%x\n", "strip_sz", l->strip_sz);
sys/dev/smartpqi/smartpqi_request.c
1632
DBG_INFO("%-25s: %d\n", "offload_to_mirror", l->offload_to_mirror);
sys/dev/smartpqi/smartpqi_request.c
1633
DBG_INFO("%-25s: %d\n", "raid_level", l->raid_level);
sys/dev/smartpqi/smartpqi_request.c
1640
pqisrc_aio_build_cdb(aio_req_locator_t *l,
sys/dev/smartpqi/smartpqi_request.c
1645
if (l->block.disk_block > 0xffffffff) {
sys/dev/smartpqi/smartpqi_request.c
1646
cdb[0] = l->is_write ? SCMD_WRITE_16 : SCMD_READ_16;
sys/dev/smartpqi/smartpqi_request.c
1648
PUT_BE64(l->block.disk_block, &cdb[2]);
sys/dev/smartpqi/smartpqi_request.c
1653
cdb[0] = l->is_write ? SCMD_WRITE_10 : SCMD_READ_10;
sys/dev/smartpqi/smartpqi_request.c
1655
PUT_BE32(l->block.disk_block, &cdb[2]);
sys/dev/smartpqi/smartpqi_request.c
1778
struct aio_req_locator *l = &loc;
sys/dev/smartpqi/smartpqi_request.c
1780
memset(l, 0, sizeof(*l));
sys/dev/smartpqi/smartpqi_request.c
1795
rc = fill_lba_for_scsi_rw(softs, OS_GET_CDBP(rcb), l);
sys/dev/smartpqi/smartpqi_request.c
1799
if (l->is_write && !pqisrc_is_supported_write(softs, device))
sys/dev/smartpqi/smartpqi_request.c
1802
l->raid_map = device->raid_map;
sys/dev/smartpqi/smartpqi_request.c
1803
l->block.last = l->block.first + l->block.cnt - 1;
sys/dev/smartpqi/smartpqi_request.c
1804
l->raid_level = device->raid_level;
sys/dev/smartpqi/smartpqi_request.c
1806
if (pqisrc_is_invalid_block(softs, l))
sys/dev/smartpqi/smartpqi_request.c
1809
if (!pqisrc_calc_disk_params(softs, l, rcb))
sys/dev/smartpqi/smartpqi_request.c
1812
if (!pqisrc_is_single_row_column(softs, l))
sys/dev/smartpqi/smartpqi_request.c
1815
if (!pqisrc_set_map_row_and_idx(softs, l, rcb))
sys/dev/smartpqi/smartpqi_request.c
1824
if (l->is_write) {
sys/dev/smartpqi/smartpqi_request.c
1825
if (!pqisrc_set_write_mirrors(softs, device, l, rcb))
sys/dev/smartpqi/smartpqi_request.c
1828
pqisrc_set_read_mirror(softs, device, l);
sys/dev/smartpqi/smartpqi_request.c
1832
if (l->map.layout_map_count > 1 || l->is_write) {
sys/dev/smartpqi/smartpqi_request.c
1834
if (!pqisrc_is_r5or6_single_group(softs, l))
sys/dev/smartpqi/smartpqi_request.c
1837
if (!pqisrc_is_r5or6_single_row(softs, l))
sys/dev/smartpqi/smartpqi_request.c
1840
if (!pqisrc_is_r5or6_single_column(softs, l))
sys/dev/smartpqi/smartpqi_request.c
1843
pqisrc_set_r5or6_row_and_index(l, rcb);
sys/dev/smartpqi/smartpqi_request.c
1848
if (l->map.idx >= RAID_MAP_MAX_ENTRIES) {
sys/dev/smartpqi/smartpqi_request.c
1854
l->raid_map->dev_data[l->map.idx].ioaccel_handle;
sys/dev/smartpqi/smartpqi_request.c
1860
pqisrc_calc_aio_block(l);
sys/dev/smartpqi/smartpqi_request.c
1862
disk_blk_cnt = pqisrc_handle_blk_size_diffs(l);
sys/dev/smartpqi/smartpqi_request.c
1867
if (GET_LE16((uint8_t *)(&l->raid_map->flags)) &
sys/dev/smartpqi/smartpqi_request.c
1869
pqisrc_set_enc_info(&rcb->enc_info, l->raid_map,
sys/dev/smartpqi/smartpqi_request.c
1870
l->block.first);
sys/dev/smartpqi/smartpqi_request.c
1874
if (pqisrc_aio_req_too_big(softs, device, rcb, l, disk_blk_cnt))
sys/dev/smartpqi/smartpqi_request.c
1881
pqisrc_aio_build_cdb(l, disk_blk_cnt, rcb, rcb->cdbp);
sys/dev/smartpqi/smartpqi_request.c
1883
pqisrc_aio_show_locator_info(softs, l, disk_blk_cnt, rcb);
sys/dev/smartpqi/smartpqi_request.c
37
static int fill_lba_for_scsi_rw(pqisrc_softstate_t *softs, uint8_t *cdb, aio_req_locator_t *l);
sys/dev/sound/macio/onyx.c
273
uint8_t l, r;
sys/dev/sound/macio/onyx.c
291
l = left + 128;
sys/dev/sound/macio/onyx.c
297
onyx_write(sc, PCM3052_REG_LEFT_ATTN, l);
sys/dev/sound/macio/snapper.c
441
u_int l, r;
sys/dev/sound/macio/snapper.c
451
l = (left == 0) ? 0 : snapper_volume_table[left - 1];
sys/dev/sound/macio/snapper.c
456
reg[0] = (l & 0xff0000) >> 16;
sys/dev/sound/macio/snapper.c
457
reg[1] = (l & 0x00ff00) >> 8;
sys/dev/sound/macio/snapper.c
458
reg[2] = l & 0x0000ff;
sys/dev/sound/macio/tumbler.c
388
u_int l, r;
sys/dev/sound/macio/tumbler.c
400
l = (left == 0 ? 0 : tumbler_volume_table[left - 1]);
sys/dev/sound/macio/tumbler.c
403
reg[0] = (l & 0xff0000) >> 16;
sys/dev/sound/macio/tumbler.c
404
reg[1] = (l & 0x00ff00) >> 8;
sys/dev/sound/macio/tumbler.c
405
reg[2] = l & 0x0000ff;
sys/dev/sound/pci/als4000.c
572
u_int32_t r, l, v, mask;
sys/dev/sound/pci/als4000.c
577
l = (left * mask / 100) & mask;
sys/dev/sound/pci/als4000.c
579
als_mix_wr(sc, amt[dev].lreg, l | v);
sys/dev/sound/pci/als4000.c
591
if (l == 0 && r == 0) {
sys/dev/sound/pci/als4000.c
604
u_int32_t i, l, r;
sys/dev/sound/pci/als4000.c
606
for (i = l = r = 0; i < SOUND_MIXER_NRDEVICES; i++) {
sys/dev/sound/pci/als4000.c
609
l |= amt[i].iselect;
sys/dev/sound/pci/als4000.c
612
l |= amt[i].iselect;
sys/dev/sound/pci/als4000.c
618
als_mix_wr(sc, SB16_IMASK_L, l);
sys/dev/sound/pci/cmi.c
676
u_int32_t r, l, max;
sys/dev/sound/pci/cmi.c
685
l = left * max / 100;
sys/dev/sound/pci/cmi.c
687
v |= ((l << 1) | (~l >> 3)) & 0x0f;
sys/dev/sound/pci/cmi.c
692
l = (left * max / 100) << (8 - cmt[dev].bits);
sys/dev/sound/pci/cmi.c
695
cmimix_wr(sc, MIXER_GAIN_REG_RTOL(cmt[dev].rreg), l);
sys/dev/sound/pci/cmi.c
699
dev, MIXER_GAIN_REG_RTOL(cmt[dev].rreg), l, r));
sys/dev/sound/pci/cmi.c
701
r = l;
sys/dev/sound/pci/cmi.c
702
cmimix_wr(sc, cmt[dev].rreg, l);
sys/dev/sound/pci/cmi.c
705
dev, cmt[dev].rreg, l, l));
sys/dev/sound/pci/cmi.c
710
if (l == 0 && r == 0) {
sys/dev/sound/pci/emu10k1.c
642
int l, r, x, y;
sys/dev/sound/pci/emu10k1.c
650
l = r = x = y = v->vol;
sys/dev/sound/pci/emu10k1.c
652
l = v->ismaster ? l : 0;
sys/dev/sound/pci/emu10k1.c
671
emu_wrptr(sc, v->vnum, EMU_CHAN_PSST, sa | (l << 24));
sys/dev/sound/pci/emu10kx.c
2231
int l, err;
sys/dev/sound/pci/emu10kx.c
2242
l = min(buf->uio_resid, sbuf_len(&sc->emu10kx_sbuf) - sc->emu10kx_bufptr);
sys/dev/sound/pci/emu10kx.c
2243
err = (l > 0) ? uiomove(sbuf_data(&sc->emu10kx_sbuf) + sc->emu10kx_bufptr, l, buf) : 0;
sys/dev/sound/pci/emu10kx.c
2244
sc->emu10kx_bufptr += l;
sys/dev/sound/pci/es137x.c
349
int l, r, rl, rr, set_dac1;
sys/dev/sound/pci/es137x.c
353
l = left;
sys/dev/sound/pci/es137x.c
354
r = (mixtable[dev].stereo) ? right : l;
sys/dev/sound/pci/es137x.c
356
rl = (l < 2) ? 0x80 : 7 - (l - 2) / 14;
sys/dev/sound/pci/es137x.c
358
rl = (l < 7) ? 0x80 : 31 - (l - 7) / 3;
sys/dev/sound/pci/es137x.c
378
return (l | (r << 8));
sys/dev/sound/pci/solo.c
659
int preg = 0, rreg = 0, l, r;
sys/dev/sound/pci/solo.c
661
l = (left * 15) / 100;
sys/dev/sound/pci/solo.c
695
l = left? (left * 63) / 100 : 64;
sys/dev/sound/pci/solo.c
697
ess_setmixer(sc, 0x60, l);
sys/dev/sound/pci/solo.c
699
left = (l == 64)? 0 : (l * 100) / 63;
sys/dev/sound/pci/solo.c
705
ess_setmixer(sc, preg, (l << 4) | r);
sys/dev/sound/pci/solo.c
707
ess_setmixer(sc, rreg, (l << 4) | r);
sys/dev/sound/pci/solo.c
709
left = (l * 100) / 15;
sys/dev/sound/pcm/buffer.c
450
int l;
sys/dev/sound/pcm/buffer.c
457
l = min(count, b->bufsize - sndbuf_getfreeptr(b));
sys/dev/sound/pcm/buffer.c
458
bcopy(from, sndbuf_getbufofs(b, sndbuf_getfreeptr(b)), l);
sys/dev/sound/pcm/buffer.c
459
from += l;
sys/dev/sound/pcm/buffer.c
460
b->rl += l;
sys/dev/sound/pcm/buffer.c
461
count -= l;
sys/dev/sound/pcm/buffer.c
487
int l;
sys/dev/sound/pcm/buffer.c
493
l = min(count, b->bufsize - sndbuf_getreadyptr(b));
sys/dev/sound/pcm/buffer.c
494
bcopy(sndbuf_getbufofs(b, sndbuf_getreadyptr(b)), to, l);
sys/dev/sound/pcm/buffer.c
495
to += l;
sys/dev/sound/pcm/buffer.c
496
b->rl -= l;
sys/dev/sound/pcm/buffer.c
497
b->rp = (b->rp + l) % b->bufsize;
sys/dev/sound/pcm/buffer.c
498
count -= l;
sys/dev/sound/pcm/feeder.c
310
int l, offset;
sys/dev/sound/pcm/feeder.c
317
l = min(count, sndbuf_getready(src));
sys/dev/sound/pcm/feeder.c
321
sndbuf_dispose(src, buffer, l);
sys/dev/sound/pcm/feeder.c
322
return l;
sys/dev/sound/pcm/feeder.c
325
offset = count - l;
sys/dev/sound/pcm/feeder.c
334
offset, count, l, ch->feedcount);
sys/dev/sound/pcm/feeder.c
338
if (l > 0)
sys/dev/sound/pcm/feeder.c
339
sndbuf_dispose(src, buffer + offset, l);
sys/dev/sound/pcm/feeder.c
343
if (l > 0)
sys/dev/sound/pcm/feeder.c
344
sndbuf_dispose(src, buffer, l);
sys/dev/sound/pcm/feeder.c
345
memset(buffer + l, sndbuf_zerodata(src->fmt), offset);
sys/dev/sound/pcm/feeder.c
349
} else if (l > 0)
sys/dev/sound/pcm/feeder.c
350
sndbuf_dispose(src, buffer, l);
sys/dev/sound/pcm/mixer.c
237
u_int l, r, tl, tr;
sys/dev/sound/pcm/mixer.c
246
l = min((lev & 0x00ff), 100);
sys/dev/sound/pcm/mixer.c
262
m->level_muted[dev] = l | (r << 8);
sys/dev/sound/pcm/mixer.c
275
tl = (l * (m->level[parent] & 0x00ff)) / 100;
sys/dev/sound/pcm/mixer.c
289
tl = (l * (m->level[i] & 0x00ff)) / 100;
sys/dev/sound/pcm/mixer.c
299
MIXER_SET(m, realdev, l, r) < 0) {
sys/dev/sound/pcm/mixer.c
305
(void)mixer_set_softpcmvol(m, d, l, r);
sys/dev/sound/pcm/mixer.c
308
(void)mixer_set_eq(m, d, dev, (l + r) >> 1);
sys/dev/sound/pcm/mixer.c
310
MIXER_SET(m, realdev, l, r) < 0) {
sys/dev/sound/pcm/mixer.c
318
m->level[dev] = l | (r << 8);
sys/dev/sound/usb/uaudio.c
156
#define MAKE_WORD(h,l) (((h) << 8) | (l))
sys/dev/sym/sym_defs.h
594
#define SCR_MOVE_ABS(l) ((0x00000000 | OPC_MOVE) | (l))
sys/dev/sym/sym_defs.h
595
#define SCR_MOVE_IND(l) ((0x20000000 | OPC_MOVE) | (l))
sys/dev/sym/sym_defs.h
598
#define SCR_CHMOV_ABS(l) ((0x00000000) | (l))
sys/dev/sym/sym_defs.h
599
#define SCR_CHMOV_IND(l) ((0x20000000) | (l))
sys/dev/sym/sym_hipd.c
864
#define OUTRAM_OFF(o, a, l) \
sys/dev/sym/sym_hipd.c
865
bus_write_region_1(np->ram_res, (o), (a), (l))
sys/dev/syscons/logo/logo_saver.c
64
int d, l, o, p;
sys/dev/syscons/logo/logo_saver.c
76
l = banksize - p;
sys/dev/syscons/logo/logo_saver.c
77
bcopy(logo_img + d, vid + p, l);
sys/dev/syscons/logo/logo_saver.c
79
bcopy(logo_img + d + l, vid, logo_w - l);
sys/dev/syscons/sctermvar.h
310
int l;
sys/dev/syscons/sctermvar.h
314
l = *len;
sys/dev/syscons/sctermvar.h
320
cnt = imin(l, scp->xsize - scp->xpos);
sys/dev/syscons/sctermvar.h
328
l -= cnt - i;
sys/dev/syscons/sctermvar.h
406
ptr++; l--;
sys/dev/syscons/sctermvar.h
410
*len = l;
sys/dev/syscons/syscons.h
87
#define DPRINTF(l, p) if (SC_DEBUG_LEVEL >= (l)) printf p
sys/dev/thunderbolt/nhi_reg.h
42
#define GENMASK(h, l) (((~0U) >> (31 - (h))) ^ ((~0U) >> (31 - (l)) >> 1))
sys/dev/tpm/tpm.c
400
tpm_request_locality(struct tpm_softc *sc, int l)
sys/dev/tpm/tpm.c
405
if (l != 0)
sys/dev/usb/controller/ohci.c
2059
uint8_t l;
sys/dev/usb/controller/ohci.c
2253
for (l = 0; l < sc->sc_noport; l++) {
sys/dev/usb/controller/ohci.c
2255
sc->sc_hub_desc.hubd.DeviceRemovable[l / 8] |= (1 << (l % 8));
sys/dev/usb/controller/uhci.h
101
#define UHCI_TD_SET_MAXLEN(l) (((l)-1U) << 21)
sys/dev/usb/net/if_umb.c
112
#define DDUMPN(n, b, l) \
sys/dev/usb/net/if_umb.c
115
umb_dump((b), (l)); \
sys/dev/usb/net/if_umb.c
125
#define DDUMPN(n, b, l) do { } while (0)
sys/dev/usb/net/if_umb.c
2254
uint16_t l = *len;
sys/dev/usb/net/if_umb.c
2260
USETW(req.wLength, l);
sys/dev/usb/net/if_umb.c
2267
USB_SHORT_XFER_OK, &l, umb_xfer_tout);
sys/dev/usb/net/if_umb.c
2269
*len = l;
sys/dev/usb/quirk/usb_quirk.c
89
#define USB_QUIRK_REV(v, p, l, h, ...) { \
sys/dev/usb/quirk/usb_quirk.c
90
.vid = USB_VENDOR_##v, .pid = USB_PRODUCT_##v##_##p, .lo_rev = (l), \
sys/dev/viapm/viapm.c
186
u_int32_t l;
sys/dev/viapm/viapm.c
195
l = pci_read_config(dev, VIAPM_586B_REVID, 1);
sys/dev/viapm/viapm.c
196
switch (l) {
sys/dev/viapm/viapm.c
245
u_int32_t l;
sys/dev/viapm/viapm.c
300
l = pci_read_config(dev, VIAPM_PRO_SMBCTRL, 1);
sys/dev/viapm/viapm.c
301
pci_write_config(dev, VIAPM_PRO_SMBCTRL, l | 1, 1);
sys/dev/viapm/viapm.c
340
u_int32_t l;
sys/dev/viapm/viapm.c
351
l = pci_read_config(dev, VIAPM_PRO_SMBCTRL, 1);
sys/dev/viapm/viapm.c
352
pci_write_config(dev, VIAPM_PRO_SMBCTRL, l | 0x80, 1);
sys/dev/viapm/viapm.c
370
l = pci_read_config(dev, VIAPM_PRO_REVID, 1);
sys/dev/viapm/viapm.c
371
device_printf(dev, "SMBus revision code 0x%x\n", l);
sys/dev/viapm/viapm.c
383
l = pci_read_config(dev, VIAPM_PRO_SMBCTRL, 1);
sys/dev/viapm/viapm.c
384
pci_write_config(dev, VIAPM_PRO_SMBCTRL, l | 1, 1);
sys/dev/videomode/edidreg.h
115
#define _CHHILO(ptr, l, s, h) (_CHLO((ptr)[l], s) | _CHHI((ptr)[h]))
sys/dev/videomode/edidreg.h
116
#define _CHROMA(ptr, l, s, h) ((_CHHILO(ptr, l, s, h) * 1000) / 1024)
sys/dev/vt/hw/ofwfb/ofwfb.c
141
int c, l;
sys/dev/vt/hw/ofwfb/ofwfb.c
144
uint32_t l;
sys/dev/vt/hw/ofwfb/ofwfb.c
185
ch1.l = ch2.l = (bg << 24) | (bg << 16) |
sys/dev/vt/hw/ofwfb/ofwfb.c
202
*(uint32_t *)(sc->fb_vbase + line + c) = ch1.l;
sys/dev/vt/hw/ofwfb/ofwfb.c
204
ch2.l;
sys/dev/vt/hw/ofwfb/ofwfb.c
209
for (l = 0;
sys/dev/vt/hw/ofwfb/ofwfb.c
210
l < height && y + l < vw->vw_draw_area.tr_end.tp_row;
sys/dev/vt/hw/ofwfb/ofwfb.c
211
l++) {
sys/dev/wg/if_wg.c
3056
wg_clone_deferred_free(struct noise_local *l)
sys/dev/wg/if_wg.c
3058
struct wg_softc *sc = noise_local_arg(l);
sys/dev/wg/wg_noise.c
1012
rw_rlock(&l->l_identity_lock);
sys/dev/wg/wg_noise.c
1013
if (!l->l_has_identity)
sys/dev/wg/wg_noise.c
1015
noise_param_init(hs.hs_ck, hs.hs_hash, l->l_public);
sys/dev/wg/wg_noise.c
1021
if (noise_mix_dh(hs.hs_ck, key, l->l_private, ue) != 0)
sys/dev/wg/wg_noise.c
1030
if ((r = noise_remote_lookup(l, r_public)) == NULL)
sys/dev/wg/wg_noise.c
1060
noise_remote_index_insert(l, r);
sys/dev/wg/wg_noise.c
1071
rw_runlock(&l->l_identity_lock);
sys/dev/wg/wg_noise.c
1084
struct noise_local *l = r->r_local;
sys/dev/wg/wg_noise.c
1089
rw_rlock(&l->l_identity_lock);
sys/dev/wg/wg_noise.c
1122
rw_runlock(&l->l_identity_lock);
sys/dev/wg/wg_noise.c
1129
noise_consume_response(struct noise_local *l, struct noise_remote **rp,
sys/dev/wg/wg_noise.c
1140
if ((r = noise_remote_index_lookup(l, r_idx, false)) == NULL)
sys/dev/wg/wg_noise.c
1143
rw_rlock(&l->l_identity_lock);
sys/dev/wg/wg_noise.c
1144
if (!l->l_has_identity)
sys/dev/wg/wg_noise.c
1164
if (noise_mix_dh(hs.hs_ck, NULL, l->l_private, ue) != 0)
sys/dev/wg/wg_noise.c
1189
rw_runlock(&l->l_identity_lock);
sys/dev/wg/wg_noise.c
182
struct noise_local *l;
sys/dev/wg/wg_noise.c
185
l = malloc(sizeof(*l), M_NOISE, M_WAITOK | M_ZERO);
sys/dev/wg/wg_noise.c
187
rw_init(&l->l_identity_lock, "noise_identity");
sys/dev/wg/wg_noise.c
188
l->l_has_identity = false;
sys/dev/wg/wg_noise.c
189
bzero(l->l_public, NOISE_PUBLIC_KEY_LEN);
sys/dev/wg/wg_noise.c
190
bzero(l->l_private, NOISE_PUBLIC_KEY_LEN);
sys/dev/wg/wg_noise.c
192
refcount_init(&l->l_refcnt, 1);
sys/dev/wg/wg_noise.c
193
arc4random_buf(l->l_hash_key, sizeof(l->l_hash_key));
sys/dev/wg/wg_noise.c
194
l->l_arg = arg;
sys/dev/wg/wg_noise.c
195
l->l_cleanup = NULL;
sys/dev/wg/wg_noise.c
197
mtx_init(&l->l_remote_mtx, "noise_remote", NULL, MTX_DEF);
sys/dev/wg/wg_noise.c
198
l->l_remote_num = 0;
sys/dev/wg/wg_noise.c
200
CK_LIST_INIT(&l->l_remote_hash[i]);
sys/dev/wg/wg_noise.c
202
mtx_init(&l->l_index_mtx, "noise_index", NULL, MTX_DEF);
sys/dev/wg/wg_noise.c
204
CK_LIST_INIT(&l->l_index_hash[i]);
sys/dev/wg/wg_noise.c
206
return (l);
sys/dev/wg/wg_noise.c
210
noise_local_ref(struct noise_local *l)
sys/dev/wg/wg_noise.c
212
refcount_acquire(&l->l_refcnt);
sys/dev/wg/wg_noise.c
213
return (l);
sys/dev/wg/wg_noise.c
217
noise_local_put(struct noise_local *l)
sys/dev/wg/wg_noise.c
219
if (refcount_release(&l->l_refcnt)) {
sys/dev/wg/wg_noise.c
220
if (l->l_cleanup != NULL)
sys/dev/wg/wg_noise.c
221
l->l_cleanup(l);
sys/dev/wg/wg_noise.c
222
rw_destroy(&l->l_identity_lock);
sys/dev/wg/wg_noise.c
223
mtx_destroy(&l->l_remote_mtx);
sys/dev/wg/wg_noise.c
224
mtx_destroy(&l->l_index_mtx);
sys/dev/wg/wg_noise.c
225
zfree(l, M_NOISE);
sys/dev/wg/wg_noise.c
230
noise_local_free(struct noise_local *l, void (*cleanup)(struct noise_local *))
sys/dev/wg/wg_noise.c
232
l->l_cleanup = cleanup;
sys/dev/wg/wg_noise.c
233
noise_local_put(l);
sys/dev/wg/wg_noise.c
237
noise_local_arg(struct noise_local *l)
sys/dev/wg/wg_noise.c
239
return (l->l_arg);
sys/dev/wg/wg_noise.c
243
noise_local_private(struct noise_local *l, const uint8_t private[NOISE_PUBLIC_KEY_LEN])
sys/dev/wg/wg_noise.c
249
rw_wlock(&l->l_identity_lock);
sys/dev/wg/wg_noise.c
250
memcpy(l->l_private, private, NOISE_PUBLIC_KEY_LEN);
sys/dev/wg/wg_noise.c
251
curve25519_clamp_secret(l->l_private);
sys/dev/wg/wg_noise.c
252
l->l_has_identity = curve25519_generate_public(l->l_public, l->l_private);
sys/dev/wg/wg_noise.c
256
CK_LIST_FOREACH(r, &l->l_remote_hash[i], r_entry) {
sys/dev/wg/wg_noise.c
257
noise_precompute_ss(l, r);
sys/dev/wg/wg_noise.c
262
rw_wunlock(&l->l_identity_lock);
sys/dev/wg/wg_noise.c
266
noise_local_keys(struct noise_local *l, uint8_t public[NOISE_PUBLIC_KEY_LEN],
sys/dev/wg/wg_noise.c
270
rw_rlock(&l->l_identity_lock);
sys/dev/wg/wg_noise.c
271
if ((has_identity = l->l_has_identity)) {
sys/dev/wg/wg_noise.c
273
memcpy(public, l->l_public, NOISE_PUBLIC_KEY_LEN);
sys/dev/wg/wg_noise.c
275
memcpy(private, l->l_private, NOISE_PUBLIC_KEY_LEN);
sys/dev/wg/wg_noise.c
277
rw_runlock(&l->l_identity_lock);
sys/dev/wg/wg_noise.c
282
noise_precompute_ss(struct noise_local *l, struct noise_remote *r)
sys/dev/wg/wg_noise.c
284
rw_assert(&l->l_identity_lock, RA_LOCKED);
sys/dev/wg/wg_noise.c
286
if (!l->l_has_identity ||
sys/dev/wg/wg_noise.c
287
!curve25519(r->r_ss, l->l_private, r->r_public))
sys/dev/wg/wg_noise.c
294
noise_remote_alloc(struct noise_local *l, void *arg,
sys/dev/wg/wg_noise.c
307
rw_rlock(&l->l_identity_lock);
sys/dev/wg/wg_noise.c
308
noise_precompute_ss(l, r);
sys/dev/wg/wg_noise.c
309
rw_runlock(&l->l_identity_lock);
sys/dev/wg/wg_noise.c
312
r->r_local = noise_local_ref(l);
sys/dev/wg/wg_noise.c
323
struct noise_local *l = r->r_local;
sys/dev/wg/wg_noise.c
328
idx = siphash24(l->l_hash_key, r->r_public, NOISE_PUBLIC_KEY_LEN) & HT_REMOTE_MASK;
sys/dev/wg/wg_noise.c
330
mtx_lock(&l->l_remote_mtx);
sys/dev/wg/wg_noise.c
332
if (l->l_remote_num < MAX_REMOTE_PER_LOCAL) {
sys/dev/wg/wg_noise.c
334
l->l_remote_num++;
sys/dev/wg/wg_noise.c
335
CK_LIST_INSERT_HEAD(&l->l_remote_hash[idx], r, r_entry);
sys/dev/wg/wg_noise.c
340
mtx_unlock(&l->l_remote_mtx);
sys/dev/wg/wg_noise.c
348
struct noise_local *l = r->r_local;
sys/dev/wg/wg_noise.c
350
mtx_lock(&l->l_remote_mtx);
sys/dev/wg/wg_noise.c
354
l->l_remote_num--;
sys/dev/wg/wg_noise.c
356
mtx_unlock(&l->l_remote_mtx);
sys/dev/wg/wg_noise.c
360
noise_remote_lookup(struct noise_local *l, const uint8_t public[NOISE_PUBLIC_KEY_LEN])
sys/dev/wg/wg_noise.c
366
idx = siphash24(l->l_hash_key, public, NOISE_PUBLIC_KEY_LEN) & HT_REMOTE_MASK;
sys/dev/wg/wg_noise.c
369
CK_LIST_FOREACH(r, &l->l_remote_hash[idx], r_entry) {
sys/dev/wg/wg_noise.c
381
noise_remote_index_insert(struct noise_local *l, struct noise_remote *r)
sys/dev/wg/wg_noise.c
387
noise_remote_index_remove(l, r);
sys/dev/wg/wg_noise.c
393
CK_LIST_FOREACH(i, &l->l_index_hash[idx], i_entry) {
sys/dev/wg/wg_noise.c
398
mtx_lock(&l->l_index_mtx);
sys/dev/wg/wg_noise.c
399
CK_LIST_FOREACH(i, &l->l_index_hash[idx], i_entry) {
sys/dev/wg/wg_noise.c
401
mtx_unlock(&l->l_index_mtx);
sys/dev/wg/wg_noise.c
405
CK_LIST_INSERT_HEAD(&l->l_index_hash[idx], r_i, i_entry);
sys/dev/wg/wg_noise.c
406
mtx_unlock(&l->l_index_mtx);
sys/dev/wg/wg_noise.c
412
noise_remote_index_lookup(struct noise_local *l, uint32_t idx0, bool lookup_keypair)
sys/dev/wg/wg_noise.c
421
CK_LIST_FOREACH(i, &l->l_index_hash[idx], i_entry) {
sys/dev/wg/wg_noise.c
441
noise_remote_index(struct noise_local *l, uint32_t idx)
sys/dev/wg/wg_noise.c
443
return noise_remote_index_lookup(l, idx, true);
sys/dev/wg/wg_noise.c
447
noise_remote_index_remove(struct noise_local *l, struct noise_remote *r)
sys/dev/wg/wg_noise.c
451
mtx_lock(&l->l_index_mtx);
sys/dev/wg/wg_noise.c
454
mtx_unlock(&l->l_index_mtx);
sys/dev/wg/wg_noise.c
602
noise_add_new_keypair(struct noise_local *l, struct noise_remote *r,
sys/dev/wg/wg_noise.c
640
mtx_lock(&l->l_index_mtx);
sys/dev/wg/wg_noise.c
644
mtx_unlock(&l->l_index_mtx);
sys/dev/wg/wg_noise.c
681
noise_keypair_lookup(struct noise_local *l, uint32_t idx0)
sys/dev/wg/wg_noise.c
689
CK_LIST_FOREACH(i, &l->l_index_hash[idx], i_entry) {
sys/dev/wg/wg_noise.c
772
struct noise_local *l;
sys/dev/wg/wg_noise.c
778
l = r->r_local;
sys/dev/wg/wg_noise.c
780
mtx_lock(&l->l_index_mtx);
sys/dev/wg/wg_noise.c
782
mtx_unlock(&l->l_index_mtx);
sys/dev/wg/wg_noise.c
951
struct noise_local *l = r->r_local;
sys/dev/wg/wg_noise.c
955
rw_rlock(&l->l_identity_lock);
sys/dev/wg/wg_noise.c
957
if (!l->l_has_identity)
sys/dev/wg/wg_noise.c
974
noise_msg_encrypt(es, l->l_public,
sys/dev/wg/wg_noise.c
986
noise_remote_index_insert(l, r);
sys/dev/wg/wg_noise.c
993
rw_runlock(&l->l_identity_lock);
sys/dev/wg/wg_noise.c
999
noise_consume_initiation(struct noise_local *l, struct noise_remote **rp,
sys/dev/wtap/plugins/visibility.c
130
add_link(struct visibility_plugin *vis_plugin, struct link *l)
sys/dev/wtap/plugins/visibility.c
134
struct vis_map *map = &vis_plugin->pl_node[l->id1];
sys/dev/wtap/plugins/visibility.c
135
int index = l->id2/ARRAY_SIZE;
sys/dev/wtap/plugins/visibility.c
136
int bit = l->id2 % ARRAY_SIZE;
sys/dev/wtap/plugins/visibility.c
142
l->id1, l->id2, index, map->map[index], bit);
sys/dev/wtap/plugins/visibility.c
147
del_link(struct visibility_plugin *vis_plugin, struct link *l)
sys/dev/wtap/plugins/visibility.c
151
struct vis_map *map = &vis_plugin->pl_node[l->id1];
sys/dev/wtap/plugins/visibility.c
152
int index = l->id2/ARRAY_SIZE;
sys/dev/wtap/plugins/visibility.c
153
int bit = l->id2 % ARRAY_SIZE;
sys/dev/wtap/plugins/visibility.c
169
struct link l;
sys/dev/wtap/plugins/visibility.c
183
l = *(struct link *)data;
sys/dev/wtap/plugins/visibility.c
184
if(l.op == 0)
sys/dev/wtap/plugins/visibility.c
185
del_link(vis_plugin, &l);
sys/dev/wtap/plugins/visibility.c
187
add_link(vis_plugin, &l);
sys/dev/wtap/plugins/visibility.c
189
printf("op=%d, id1=%d, id2=%d\n", l.op, l.id1, l.id2);
sys/fs/ext2fs/ext2_extents.c
494
struct ext4_extent_index *r, *l, *m;
sys/fs/ext2fs/ext2_extents.c
502
l = EXT_FIRST_INDEX(eh) + 1;
sys/fs/ext2fs/ext2_extents.c
504
while (l <= r) {
sys/fs/ext2fs/ext2_extents.c
505
m = l + (r - l) / 2;
sys/fs/ext2fs/ext2_extents.c
509
l = m + 1;
sys/fs/ext2fs/ext2_extents.c
512
path->ep_index = l - 1;
sys/fs/ext2fs/ext2_extents.c
519
struct ext4_extent *r, *l, *m;
sys/fs/ext2fs/ext2_extents.c
529
l = EXT_FIRST_EXTENT(eh) + 1;
sys/fs/ext2fs/ext2_extents.c
532
while (l <= r) {
sys/fs/ext2fs/ext2_extents.c
533
m = l + (r - l) / 2;
sys/fs/ext2fs/ext2_extents.c
537
l = m + 1;
sys/fs/ext2fs/ext2_extents.c
540
path->ep_ext = l - 1;
sys/fs/msdosfs/msdosfs_conv.c
303
int l;
sys/fs/msdosfs/msdosfs_conv.c
380
l = dp1 - dp;
sys/fs/msdosfs/msdosfs_conv.c
382
l = unlen - (dp - un);
sys/fs/msdosfs/msdosfs_conv.c
383
for (cp = dp, i = l, j = 8; i > 0 && j < 11; j++) {
sys/fs/msdosfs/msdosfs_fat.c
763
u_long len, newst, foundl, cn, l;
sys/fs/msdosfs/msdosfs_fat.c
787
if ((l = chainlength(pmp, cn, count)) >= count)
sys/fs/msdosfs/msdosfs_fat.c
789
if (l > foundl) {
sys/fs/msdosfs/msdosfs_fat.c
791
foundl = l;
sys/fs/msdosfs/msdosfs_fat.c
793
cn += l + 1;
sys/fs/msdosfs/msdosfs_fat.c
804
if ((l = chainlength(pmp, cn, count)) >= count)
sys/fs/msdosfs/msdosfs_fat.c
806
if (l > foundl) {
sys/fs/msdosfs/msdosfs_fat.c
808
foundl = l;
sys/fs/msdosfs/msdosfs_fat.c
810
cn += l + 1;
sys/fs/nfs/nfs_commonsubs.c
1352
int i = 0, j, k, l = 0, m, bitpos, attrsum = 0;
sys/fs/nfs/nfs_commonsubs.c
1858
error = nfsrv_getrefstr(nd, &cp, &cp2, &l, &m);
sys/fs/nfs/nfs_commonsubs.c
1861
attrsum += l;
sys/fs/nfs/nfscl.h
60
#define NFSCL_RENEW(l) (((l) < 2) ? 1 : ((l) / 2))
sys/fs/nfs/nfsclstate.h
50
#define NFSCLDELEGHASH(c, f, l) \
sys/fs/nfs/nfsclstate.h
51
(&((c)->nfsc_deleghash[ncl_hash((f), (l)) % NFSCLDELEGHASHSIZE]))
sys/fs/nfs/nfsclstate.h
53
#define NFSCLOPENHASHFUNC(f, l) (ncl_hash((f), (l)) % NFSCLOPENHASHSIZE)
sys/fs/nfs/nfsclstate.h
54
#define NFSCLOPENHASH(c, f, l) \
sys/fs/nfs/nfsclstate.h
55
(&((c)->nfsc_openhash[NFSCLOPENHASHFUNC((f), (l))]))
sys/fs/nfs/nfsclstate.h
57
#define NFSCLLAYOUTHASH(c, f, l) \
sys/fs/nfs/nfsclstate.h
58
(&((c)->nfsc_layouthash[ncl_hash((f), (l)) % NFSCLLAYOUTHASHSIZE]))
sys/fs/nfs/nfsport.h
1147
#define ncl_hash(f, l) (fnv_32_buf((f), (l), FNV1_32_INIT))
sys/fs/nfs/nfsport.h
854
#define NFSLAYOUTMUTEXPTR(l) (&((l)->mtx))
sys/fs/nfs/nfsport.h
855
#define NFSLOCKLAYOUT(l) mtx_lock(&((l)->mtx))
sys/fs/nfs/nfsport.h
856
#define NFSUNLOCKLAYOUT(l) mtx_unlock(&((l)->mtx))
sys/fs/nfs/nfsport.h
896
#define NFSD_RDWR(r, v, b, l, o, s, i, c, a, p) \
sys/fs/nfs/nfsport.h
897
vn_rdwr((r), (v), (b), (l), (o), (s), (i), (c), NULL, (a), (p))
sys/fs/nfs/nfsport.h
906
#define NFSBCOPY(s, d, l) bcopy((s), (d), (l))
sys/fs/nfs/nfsport.h
907
#define NFSOVBCOPY(s, d, l) ovbcopy((s), (d), (l))
sys/fs/nfs/nfsport.h
908
#define NFSBCMP(s, d, l) bcmp((s), (d), (l))
sys/fs/nfs/nfsport.h
909
#define NFSBZERO(s, l) bzero((s), (l))
sys/fs/nfs/nfsrvstate.h
64
#define NFSUSERNAMEHASH(p, l) \
sys/fs/nfs/nfsrvstate.h
65
(&NFSD_VNET(nfsusernamehash)[((l)>=4?(*(p)+*((p)+1)+*((p)+2)+*((p)+3)):*(p)) \
sys/fs/nfs/nfsrvstate.h
69
#define NFSGROUPNAMEHASH(p, l) \
sys/fs/nfs/nfsrvstate.h
70
(&NFSD_VNET(nfsgroupnamehash)[((l)>=4?(*(p)+*((p)+1)+*((p)+2)+*((p)+3)):*(p)) \
sys/fs/nfsclient/nfs_clrpcops.c
8033
int cnt, error, fhcnt, gotiomode, i, iomode, j, k, l, laytype, nfhlen;
sys/fs/nfsclient/nfs_clrpcops.c
8167
for (l = 0; l < k; l++) {
sys/fs/nfsclient/nfs_clrpcops.c
8171
if (l == 0) {
sys/fs/nfsclient/nfs_clrpcops.c
8220
if (l == 0) {
sys/fs/nfsclient/nfs_clrpcops.c
8251
if (l == 0) {
sys/fs/nfsclient/nfs_clvfsops.c
444
u_long l;
sys/fs/nfsclient/nfs_clvfsops.c
537
l = ntohl(nd->root_saddr.sin_addr.s_addr);
sys/fs/nfsclient/nfs_clvfsops.c
539
(l >> 24) & 0xff, (l >> 16) & 0xff,
sys/fs/nfsclient/nfs_clvfsops.c
540
(l >> 8) & 0xff, (l >> 0) & 0xff, nd->root_hostnam);
sys/fs/p9fs/p9fs_subr.c
342
int i, l, clone;
sys/fs/p9fs/p9fs_subr.c
394
l = MIN(nwnames - i, P9_MAXWELEM);
sys/fs/p9fs/p9fs_subr.c
396
fid = p9_client_walk(fid, l, wnames, clone, error);
sys/fs/p9fs/p9fs_subr.c
405
i += l ;
sys/fs/tarfs/tarfs.h
112
size_t l; /* length */
sys/fs/tarfs/tarfs.h
185
#define TARFS_BLKOFF(l) ((l) % TARFS_BLOCKSIZE)
sys/fs/tarfs/tarfs.h
186
#define TARFS_BLKNUM(l) ((l) >> TARFS_BSHIFT)
sys/fs/tarfs/tarfs_subr.c
224
tnp->blk[0].l = tnp->physize;
sys/fs/tarfs/tarfs_subr.c
317
blk[i].i = blk[i - 1].i + blk[i - 1].l;
sys/fs/tarfs/tarfs_subr.c
327
blk[i].l = n;
sys/fs/tarfs/tarfs_subr.c
329
i, blk[i].i, blk[i].o, blk[i].l);
sys/fs/tarfs/tarfs_subr.c
337
if (blk[i].l == 0) {
sys/fs/tarfs/tarfs_subr.c
348
if (i > 0 && blk[i].o < blk[i - 1].o + blk[i - 1].l) {
sys/fs/tarfs/tarfs_subr.c
356
if (blk[i].i + blk[i].l > tnp->physize ||
sys/fs/tarfs/tarfs_subr.c
357
blk[i].o + blk[i].l > realsize) {
sys/fs/tarfs/tarfs_subr.c
429
if (uiop->uio_offset > tnp->blk[i].o + tnp->blk[i].l) {
sys/fs/tarfs/tarfs_subr.c
455
uiop->uio_offset < tnp->blk[i].o + tnp->blk[i].l) {
sys/fs/tarfs/tarfs_subr.c
457
copylen = tnp->blk[i].l;
sys/fs/tarfs/tarfs_vnops.c
155
be = tnp->blk[i].o + tnp->blk[i].l;
sys/fs/tarfs/tarfs_vnops.c
163
0 : tnp->blk[i - 1].o + tnp->blk[i - 1].l),
sys/isa/pnpparse.c
415
int l;
sys/isa/pnpparse.c
438
l = PNP_SRES_LEN(tag);
sys/isa/pnpparse.c
439
if (len < l) {
sys/isa/pnpparse.c
443
len -= l;
sys/isa/pnpparse.c
459
start = p + l;
sys/isa/pnpparse.c
470
if (l > 0)
sys/isa/pnpparse.c
518
if (pnp_parse_desc(dev, tag, p, l, config, ldn))
sys/isa/pnpparse.c
522
p += l;
sys/isa/pnpparse.c
529
l = I16(p);
sys/isa/pnpparse.c
532
if (len < l) {
sys/isa/pnpparse.c
536
len -= l;
sys/isa/pnpparse.c
538
pnp_parse_desc(dev, tag, p, l, config, ldn)) {
sys/isa/pnpparse.c
542
p += l;
sys/isa/pnpparse.c
572
int l;
sys/isa/pnpparse.c
580
l = PNP_SRES_LEN(tag);
sys/isa/pnpparse.c
581
if (len < l)
sys/isa/pnpparse.c
583
if ((*cb)(dev, tag, p, l, config, ldn))
sys/isa/pnpparse.c
584
return (p + l);
sys/isa/pnpparse.c
586
return (p + l);
sys/isa/pnpparse.c
591
l = I16(p);
sys/isa/pnpparse.c
594
if (len < l)
sys/isa/pnpparse.c
596
if ((*cb)(dev, tag, p, l, config, ldn))
sys/isa/pnpparse.c
597
return (p + l);
sys/isa/pnpparse.c
599
p += l;
sys/isa/pnpparse.c
600
len -= l;
sys/kern/kern_jail.c
5100
long l;
sys/kern/kern_jail.c
5108
l = 0;
sys/kern/kern_jail.c
5112
return (SYSCTL_OUT(req, &l, sizeof(l)));
sys/kern/kern_sysctl.c
1116
sysctl_sysctl_debug_dump_node(struct sysctl_oid_list *l, int i)
sys/kern/kern_sysctl.c
1122
SYSCTL_FOREACH(oidp, l) {
sys/kern/kern_sysctl.c
2096
sysctl_old_kernel(struct sysctl_req *req, const void *p, size_t l)
sys/kern/kern_sysctl.c
2101
i = l;
sys/kern/kern_sysctl.c
2110
req->oldidx += l;
sys/kern/kern_sysctl.c
2111
if (req->oldptr && i != l)
sys/kern/kern_sysctl.c
2117
sysctl_new_kernel(struct sysctl_req *req, void *p, size_t l)
sys/kern/kern_sysctl.c
2121
if (req->newlen - req->newidx < l)
sys/kern/kern_sysctl.c
2123
bcopy((const char *)req->newptr + req->newidx, p, l);
sys/kern/kern_sysctl.c
2124
req->newidx += l;
sys/kern/kern_sysctl.c
2201
sysctl_old_user(struct sysctl_req *req, const void *p, size_t l)
sys/kern/kern_sysctl.c
2207
req->oldidx += l;
sys/kern/kern_sysctl.c
2218
i = l;
sys/kern/kern_sysctl.c
2233
if (i < l)
sys/kern/kern_sysctl.c
2239
sysctl_new_user(struct sysctl_req *req, void *p, size_t l)
sys/kern/kern_sysctl.c
2245
if (req->newlen - req->newidx < l)
sys/kern/kern_sysctl.c
2249
error = copyin((const char *)req->newptr + req->newidx, p, l);
sys/kern/kern_sysctl.c
2250
req->newidx += l;
sys/kern/kern_sysctl.c
2837
sysctl_new_ddb(struct sysctl_req *req, void *p, size_t l)
sys/kern/link_elf.c
310
link_elf_add_gdb(struct link_map *l)
sys/kern/link_elf.c
314
l->l_next = NULL;
sys/kern/link_elf.c
318
l->l_prev = NULL;
sys/kern/link_elf.c
319
r_debug.r_map = l;
sys/kern/link_elf.c
326
l->l_prev = prev;
sys/kern/link_elf.c
327
prev->l_next = l;
sys/kern/link_elf.c
332
link_elf_delete_gdb(struct link_map *l)
sys/kern/link_elf.c
334
if (l->l_prev == NULL) {
sys/kern/link_elf.c
336
if ((r_debug.r_map = l->l_next) != NULL)
sys/kern/link_elf.c
337
l->l_next->l_prev = NULL;
sys/kern/link_elf.c
340
if ((l->l_prev->l_next = l->l_next) != NULL)
sys/kern/link_elf.c
341
l->l_next->l_prev = l->l_prev;
sys/kern/sched_ule.c
725
int c, bload, l, load, p, total;
sys/kern/sched_ule.c
762
l = TDQ_LOAD(tdq);
sys/kern/sched_ule.c
765
l--;
sys/kern/sched_ule.c
769
load = l * 256;
sys/kern/sched_ule.c
777
if (l > s->cs_load ||
sys/kern/sched_ule.c
788
if (__predict_false(s->cs_running) && l > 0)
sys/kern/sched_ule.c
807
int c, bload, l, load, total;
sys/kern/sched_ule.c
833
l = TDQ_LOAD(tdq);
sys/kern/sched_ule.c
834
load = l * 256;
sys/kern/sched_ule.c
840
if (l < s->cs_load || TDQ_TRANSFERABLE(tdq) < s->cs_trans ||
sys/kern/subr_asan.c
1203
const void *l, *r;
sys/kern/subr_asan.c
1208
l = (const uint8_t *)addr - KASAN_ALLOCA_SCALE_SIZE;
sys/kern/subr_asan.c
1211
kasan_shadow_Nbyte_fill(l, KASAN_ALLOCA_SCALE_SIZE, KASAN_STACK_LEFT);
sys/kern/subr_fattime.c
142
unsigned t2, l, m;
sys/kern/subr_fattime.c
168
l = t2 / LYC;
sys/kern/subr_fattime.c
169
*ddp = (l * 4) << 9;
sys/kern/subr_fattime.c
170
t2 -= l * LYC;
sys/kern/subr_fattime.c
195
#define DCOD(m, y, l) ((m) + YEAR * (y) + (l))
sys/kern/subr_lock.c
393
struct lock_prof *l;
sys/kern/subr_lock.c
403
SLIST_FOREACH(l, &type->lpt_hash[hash], link) {
sys/kern/subr_lock.c
404
if (l->ticks == t)
sys/kern/subr_lock.c
406
if (l->file != match->file || l->line != match->line ||
sys/kern/subr_lock.c
407
l->name != match->name)
sys/kern/subr_lock.c
409
l->ticks = t;
sys/kern/subr_lock.c
410
if (l->cnt_max > dst->cnt_max)
sys/kern/subr_lock.c
411
dst->cnt_max = l->cnt_max;
sys/kern/subr_lock.c
412
if (l->cnt_wait_max > dst->cnt_wait_max)
sys/kern/subr_lock.c
413
dst->cnt_wait_max = l->cnt_wait_max;
sys/kern/subr_lock.c
414
dst->cnt_tot += l->cnt_tot;
sys/kern/subr_lock.c
415
dst->cnt_wait += l->cnt_wait;
sys/kern/subr_lock.c
416
dst->cnt_cur += l->cnt_cur;
sys/kern/subr_lock.c
417
dst->cnt_contest_locking += l->cnt_contest_locking;
sys/kern/subr_lock.c
426
struct lock_prof *l;
sys/kern/subr_lock.c
430
SLIST_FOREACH(l, &type->lpt_hash[i], link) {
sys/kern/subr_lock.c
433
if (l->ticks == t)
sys/kern/subr_lock.c
435
lock_prof_sum(l, &lp, i, spin, t);
sys/kern/subr_lock.c
556
struct lock_profile_object *l;
sys/kern/subr_lock.c
561
LIST_FOREACH(l, head, lpo_link)
sys/kern/subr_lock.c
562
if (l->lpo_obj == lo && l->lpo_file == file &&
sys/kern/subr_lock.c
563
l->lpo_line == line)
sys/kern/subr_lock.c
564
return (l);
sys/kern/subr_lock.c
566
l = LIST_FIRST(&type->lpt_lpoalloc);
sys/kern/subr_lock.c
567
if (l == NULL) {
sys/kern/subr_lock.c
571
LIST_REMOVE(l, lpo_link);
sys/kern/subr_lock.c
572
l->lpo_obj = lo;
sys/kern/subr_lock.c
573
l->lpo_file = file;
sys/kern/subr_lock.c
574
l->lpo_line = line;
sys/kern/subr_lock.c
575
l->lpo_cnt = 0;
sys/kern/subr_lock.c
576
LIST_INSERT_HEAD(head, l, lpo_link);
sys/kern/subr_lock.c
578
return (l);
sys/kern/subr_lock.c
585
struct lock_profile_object *l;
sys/kern/subr_lock.c
609
l = lock_profile_object_lookup(lo, spin, file, line);
sys/kern/subr_lock.c
610
if (l == NULL)
sys/kern/subr_lock.c
612
l->lpo_cnt++;
sys/kern/subr_lock.c
613
if (++l->lpo_ref > 1)
sys/kern/subr_lock.c
615
l->lpo_contest_locking = contested;
sys/kern/subr_lock.c
616
l->lpo_acqtime = nanoseconds();
sys/kern/subr_lock.c
617
if (waittime && (l->lpo_acqtime > waittime))
sys/kern/subr_lock.c
618
l->lpo_waittime = l->lpo_acqtime - waittime;
sys/kern/subr_lock.c
620
l->lpo_waittime = 0;
sys/kern/subr_lock.c
633
struct lock_profile_object *l;
sys/kern/subr_lock.c
643
LIST_FOREACH(l, &td->td_lprof[0], lpo_link)
sys/kern/subr_lock.c
645
l->lpo_file, l->lpo_line);
sys/kern/subr_lock.c
646
LIST_FOREACH(l, &td->td_lprof[1], lpo_link)
sys/kern/subr_lock.c
648
l->lpo_file, l->lpo_line);
sys/kern/subr_lock.c
657
struct lock_profile_object *l;
sys/kern/subr_lock.c
685
LIST_FOREACH(l, head, lpo_link)
sys/kern/subr_lock.c
686
if (l->lpo_obj == lo)
sys/kern/subr_lock.c
688
if (l == NULL)
sys/kern/subr_lock.c
690
if (--l->lpo_ref > 0)
sys/kern/subr_lock.c
692
lp = lock_profile_lookup(lo, spin, l->lpo_file, l->lpo_line);
sys/kern/subr_lock.c
696
if (curtime < l->lpo_acqtime)
sys/kern/subr_lock.c
698
holdtime = curtime - l->lpo_acqtime;
sys/kern/subr_lock.c
706
if (l->lpo_waittime > lp->cnt_wait_max)
sys/kern/subr_lock.c
707
lp->cnt_wait_max = l->lpo_waittime;
sys/kern/subr_lock.c
709
lp->cnt_wait += l->lpo_waittime;
sys/kern/subr_lock.c
710
lp->cnt_contest_locking += l->lpo_contest_locking;
sys/kern/subr_lock.c
711
lp->cnt_cur += l->lpo_cnt;
sys/kern/subr_lock.c
713
LIST_REMOVE(l, lpo_link);
sys/kern/subr_lock.c
715
LIST_INSERT_HEAD(&type->lpt_lpoalloc, l, lpo_link);
sys/kern/subr_log.c
148
int error = 0, l;
sys/kern/subr_log.c
163
l = imin(sizeof(buf), uio->uio_resid);
sys/kern/subr_log.c
164
l = msgbuf_getbytes(mbp, buf, l);
sys/kern/subr_log.c
165
if (l == 0)
sys/kern/subr_log.c
168
error = uiomove(buf, l, uio);
sys/kern/subr_unit.c
543
u_int a, l, ba;
sys/kern/subr_unit.c
557
l = uf->len;
sys/kern/subr_unit.c
563
if ((up->len + l) > NBITS)
sys/kern/subr_unit.c
568
l += up->len;
sys/kern/subr_unit.c
587
l = us->ptr == uh ? 1 : 0;
sys/kern/subr_unit.c
590
if (l)
sys/kern/subr_unit.c
602
for (l = 0; l < uf->len; l++, a++) {
sys/kern/subr_unit.c
603
if (bit_test(ubf->map, l))
sys/kern/subr_unit.c
633
for (l = 0; l < uf->len; l++, us->len++) {
sys/kern/subr_unit.c
634
if (bit_test(ubf->map, l))
sys/kern/subr_witness.c
329
static void witness_ddb_level_descendants(struct witness *parent, int l);
sys/kern/subr_witness.c
977
witness_ddb_level_descendants(struct witness *w, int l)
sys/kern/subr_witness.c
981
if (w->w_ddb_level >= l)
sys/kern/subr_witness.c
984
w->w_ddb_level = l;
sys/kern/subr_witness.c
985
l++;
sys/kern/subr_witness.c
989
witness_ddb_level_descendants(&w_data[i], l);
sys/kern/tty_inq.c
292
size_t l;
sys/kern/tty_inq.c
319
l = MIN(nbytes, TTYINQ_DATASIZE - boff);
sys/kern/tty_inq.c
320
MPASS(l > 0);
sys/kern/tty_inq.c
321
memcpy(tib->tib_data + boff, cbuf, l);
sys/kern/tty_inq.c
324
ttyinq_set_quotes(tib, boff, l, quote);
sys/kern/tty_inq.c
326
cbuf += l;
sys/kern/tty_inq.c
327
nbytes -= l;
sys/kern/tty_inq.c
328
ti->ti_end += l;
sys/kern/tty_outq.c
282
size_t l;
sys/kern/tty_outq.c
309
l = MIN(nbytes, TTYOUTQ_DATASIZE - boff);
sys/kern/tty_outq.c
310
MPASS(l > 0);
sys/kern/tty_outq.c
311
memcpy(tob->tob_data + boff, cbuf, l);
sys/kern/tty_outq.c
313
cbuf += l;
sys/kern/tty_outq.c
314
nbytes -= l;
sys/kern/tty_outq.c
315
to->to_end += l;
sys/kern/tty_ttydisc.c
1006
if (CMP_FLAG(l, ALTWERASE) && CTL_ALNUM(c) != alnum)
sys/kern/tty_ttydisc.c
1072
if (CMP_FLAG(l, IEXTEN)) {
sys/kern/tty_ttydisc.c
1075
if (CMP_FLAG(l, ECHO)) {
sys/kern/tty_ttydisc.c
1076
if (CMP_FLAG(l, ECHOE))
sys/kern/tty_ttydisc.c
1086
if (CMP_FLAG(l, FLUSHO)) {
sys/kern/tty_ttydisc.c
1101
if (CMP_FLAG(l, ISIG)) {
sys/kern/tty_ttydisc.c
1102
if (CMP_FLAG(l, ICANON|IEXTEN) == (ICANON|IEXTEN)) {
sys/kern/tty_ttydisc.c
1129
if (!CMP_FLAG(l, NOFLSH))
sys/kern/tty_ttydisc.c
1176
if (CMP_FLAG(l, ICANON)) {
sys/kern/tty_ttydisc.c
1183
} else if (CMP_FLAG(l, IEXTEN)) {
sys/kern/tty_ttydisc.c
1244
if (!CMP_FLAG(l, ICANON) ||
sys/kern/tty_ttydisc.c
1310
size_t l;
sys/kern/tty_ttydisc.c
1323
l = ttyinq_bytesleft(&tp->t_inq);
sys/kern/tty_ttydisc.c
1324
if (l == 0 && (tp->t_flags & TF_HIWAT_IN) == 0)
sys/kern/tty_ttydisc.c
1327
return (l);
sys/kern/tty_ttydisc.c
148
if (!CMP_FLAG(l, ICANON) || clen == 0)
sys/kern/tty_ttydisc.c
178
if (!CMP_FLAG(l, ICANON)) {
sys/kern/tty_ttydisc.c
418
if (CMP_FLAG(l, ICANON))
sys/kern/tty_ttydisc.c
561
if (CMP_FLAG(l, FLUSHO)) {
sys/kern/tty_ttydisc.c
588
if (CMP_FLAG(l, FLUSHO)) {
sys/kern/tty_ttydisc.c
682
!CMP_FLAG(l, ECHO|ICANON|IEXTEN|ISIG|PENDIN)) {
sys/kern/tty_ttydisc.c
728
if (CMP_FLAG(l, FLUSHO))
sys/kern/tty_ttydisc.c
737
} else if (CMP_FLAG(l, ECHOCTL) && CTL_PRINT(c, quote)) {
sys/kern/tty_ttydisc.c
771
if (!CMP_FLAG(l, ECHO) &&
sys/kern/tty_ttydisc.c
772
(!CMP_FLAG(l, ECHONL) || c != CNL || quote))
sys/kern/tty_ttydisc.c
813
if (CMP_FLAG(l, ECHOCTL))
sys/kern/tty_ttydisc.c
843
if (CMP_FLAG(l, ECHO)) {
sys/kern/tty_ttydisc.c
852
} else if (CMP_FLAG(l, ECHOE)) {
sys/kern/tty_ttydisc.c
855
if (CMP_FLAG(l, ECHOCTL)) {
sys/kern/uipc_socket.c
3860
struct linger l;
sys/kern/uipc_socket.c
3881
error = sooptcopyin(sopt, &l, sizeof l, sizeof l);
sys/kern/uipc_socket.c
3884
if (l.l_linger < 0 ||
sys/kern/uipc_socket.c
3885
l.l_linger > USHRT_MAX ||
sys/kern/uipc_socket.c
3886
l.l_linger > (INT_MAX / hz)) {
sys/kern/uipc_socket.c
3891
so->so_linger = l.l_linger;
sys/kern/uipc_socket.c
3892
if (l.l_onoff)
sys/kern/uipc_socket.c
4123
struct linger l;
sys/kern/uipc_socket.c
4143
l.l_onoff = so->so_options & SO_LINGER;
sys/kern/uipc_socket.c
4144
l.l_linger = so->so_linger;
sys/kern/uipc_socket.c
4146
error = sooptcopyout(sopt, &l, sizeof l);
sys/kern/vfs_cache.c
3935
int l;
sys/kern/vfs_cache.c
3946
l = min(ncp->nc_nlen, buflen - 1);
sys/kern/vfs_cache.c
3947
memcpy(buf, ncp->nc_name, l);
sys/kern/vfs_cache.c
3949
buf[l] = '\0';
sys/libkern/iconv_xlat16.c
120
u_char u, l;
sys/libkern/iconv_xlat16.c
210
l = (u_char)code;
sys/libkern/iconv_xlat16.c
219
*dst++ = l;
sys/libkern/iconv_xlat16.c
234
l = (u_char)code;
sys/libkern/iconv_xlat16.c
239
l = (u_char)code;
sys/libkern/iconv_xlat16.c
243
*dst++ = l;
sys/libkern/iconv_xlat16.c
249
l = (u_char)towlower(l, dp->t_ctp);
sys/libkern/iconv_xlat16.c
251
l = (u_char)(code >> 16);
sys/libkern/iconv_xlat16.c
255
l = (u_char)towupper(l, dp->t_ctp);
sys/libkern/iconv_xlat16.c
257
l = (u_char)(code >> 16);
sys/libkern/iconv_xlat16.c
260
*dst++ = l;
sys/libkern/inet_aton.c
54
unsigned long l;
sys/libkern/inet_aton.c
56
l = strtoul(c, &endptr, 0);
sys/libkern/inet_aton.c
58
if (l == ULONG_MAX || (l == 0 && endptr == c))
sys/libkern/inet_aton.c
61
val = (in_addr_t)l;
sys/libkern/inet_ntop.c
70
int l;
sys/libkern/inet_ntop.c
72
l = snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]);
sys/libkern/inet_ntop.c
73
if (l <= 0 || (socklen_t) l >= size) {
sys/libkern/memmem.c
34
memmem(const void *l, size_t l_len, const void *s, size_t s_len)
sys/libkern/memmem.c
37
const char *cl = (const char *)l;
sys/libkern/memmem.c
50
return memchr(l, (int)*cs, l_len);
sys/net/bpf.c
3017
bpf_mtap2(struct bpf_if *bp, void *d, u_int l, struct mbuf *m)
sys/net/mppcc.c
105
putbits24(uint8_t *buf, uint32_t val, const uint32_t n, uint32_t *i, uint32_t *l)
sys/net/mppcc.c
108
if (*l >= n - 16) {
sys/net/mppcc.c
110
*l = 16 - n + (*l);
sys/net/mppcc.c
111
val <<= *l;
sys/net/mppcc.c
115
if (*l == 0) {
sys/net/mppcc.c
116
*l = 8;
sys/net/mppcc.c
122
*l = 24 - n + (*l);
sys/net/mppcc.c
123
val <<= *l;
sys/net/mppcc.c
147
uint32_t olen, off, len, idx, i, l;
sys/net/mppcc.c
186
l = 8;
sys/net/mppcc.c
203
putbits8(*dst, (uint32_t) (*src)[i], 8, &olen, &l);
sys/net/mppcc.c
206
&olen, &l);
sys/net/mppcc.c
227
putbits16(*dst, 0x3c0|off, 10, &olen, &l);
sys/net/mppcc.c
229
putbits16(*dst, 0xe00|(off-64), 12, &olen, &l);
sys/net/mppcc.c
231
putbits16(*dst, 0xc000|(off-320), 16, &olen, &l);
sys/net/mppcc.c
240
putbits8(*dst, 0, 1, &olen, &l);
sys/net/mppcc.c
242
putbits8(*dst, 0x08|(len&0x03), 4, &olen, &l);
sys/net/mppcc.c
244
putbits8(*dst, 0x30|(len&0x07), 6, &olen, &l);
sys/net/mppcc.c
246
putbits8(*dst, 0xe0|(len&0x0f), 8, &olen, &l);
sys/net/mppcc.c
248
putbits16(*dst, 0x3c0|(len&0x1f), 10, &olen, &l);
sys/net/mppcc.c
250
putbits16(*dst, 0xf80|(len&0x3f), 12, &olen, &l);
sys/net/mppcc.c
252
putbits16(*dst, 0x3f00|(len&0x7f), 14, &olen, &l);
sys/net/mppcc.c
254
putbits16(*dst, 0xfe00|(len&0xff), 16, &olen, &l);
sys/net/mppcc.c
256
putbits24(*dst, 0x3fc00|(len&0x1ff), 18, &olen, &l);
sys/net/mppcc.c
258
putbits24(*dst, 0xff800|(len&0x3ff), 20, &olen, &l);
sys/net/mppcc.c
260
putbits24(*dst, 0x3ff000|(len&0x7ff), 22, &olen, &l);
sys/net/mppcc.c
262
putbits24(*dst, 0xffe000|(len&0xfff), 24, &olen, &l);
sys/net/mppcc.c
272
putbits8(*dst, (uint32_t) (*src)[i++], 8, &olen, &l);
sys/net/mppcc.c
275
&l);
sys/net/mppcc.c
280
if ((l != 0) && (l != 8)) {
sys/net/mppcc.c
281
putbits8(*dst, 0, l, &olen, &l);
sys/net/mppcc.c
56
putbits8(uint8_t *buf, uint32_t val, const uint32_t n, uint32_t *i, uint32_t *l)
sys/net/mppcc.c
59
if (*l >= n) {
sys/net/mppcc.c
60
*l = (*l) - n;
sys/net/mppcc.c
61
val <<= *l;
sys/net/mppcc.c
63
if (*l == 0) {
sys/net/mppcc.c
64
*l = 8;
sys/net/mppcc.c
70
*l = 8 - n + (*l);
sys/net/mppcc.c
71
val <<= *l;
sys/net/mppcc.c
79
putbits16(uint8_t *buf, uint32_t val, const uint32_t n, uint32_t *i, uint32_t *l)
sys/net/mppcc.c
82
if (*l >= n - 8) {
sys/net/mppcc.c
84
*l = 8 - n + (*l);
sys/net/mppcc.c
85
val <<= *l;
sys/net/mppcc.c
88
if (*l == 0) {
sys/net/mppcc.c
89
*l = 8;
sys/net/mppcc.c
95
*l = 16 - n + (*l);
sys/net/mppcc.c
96
val <<= *l;
sys/net/mppcd.c
107
uint32_t olen, off, len, bits, val, sig, i, l;
sys/net/mppcd.c
119
l = 8;
sys/net/mppcd.c
122
val = getbyte(isrc, i++, l);
sys/net/mppcd.c
142
(uint8_t) (0x80|((val&0x3f)<<1)|getbits(isrc, 1 , &i ,&l));
sys/net/mppcd.c
157
off = (((val&0x0f)<<2)|getbits(isrc, 2 , &i ,&l));
sys/net/mppcd.c
161
off = ((((val&0x0f)<<4)|getbits(isrc, 4 , &i ,&l))+64);
sys/net/mppcd.c
165
off = ((((val&0x1f)<<8)|getbyte(isrc, i++, l))+320);
sys/net/mppcd.c
178
val = getbyte(isrc, i, l);
sys/net/mppcd.c
182
getbits(isrc, 1 , &i ,&l);
sys/net/mppcd.c
186
getbits(isrc, 4 , &i ,&l);
sys/net/mppcd.c
190
getbits(isrc, 6 , &i ,&l);
sys/net/mppcd.c
197
val = (val << 8) | getbyte(isrc, ++i, l);
sys/net/mppcd.c
201
getbits(isrc, 2 , &i ,&l);
sys/net/mppcd.c
205
getbits(isrc, 4 , &i ,&l);
sys/net/mppcd.c
209
getbits(isrc, 6 , &i ,&l);
sys/net/mppcd.c
216
val = (val << 8) | getbyte(isrc, ++i, l);
sys/net/mppcd.c
220
getbits(isrc, 2 , &i ,&l);
sys/net/mppcd.c
224
getbits(isrc, 4 , &i ,&l);
sys/net/mppcd.c
228
getbits(isrc, 6 , &i ,&l);
sys/net/mppcd.c
52
getbits(const uint8_t *buf, const uint32_t n, uint32_t *i, uint32_t *l)
sys/net/mppcd.c
57
ol = *l;
sys/net/mppcd.c
58
if (*l >= n) {
sys/net/mppcd.c
59
*l = (*l) - n;
sys/net/mppcd.c
60
res = (buf[*i] & m[ol]) >> (*l);
sys/net/mppcd.c
61
if (*l == 0) {
sys/net/mppcd.c
62
*l = 8;
sys/net/mppcd.c
66
*l = 8 - n + (*l);
sys/net/mppcd.c
68
res = (res | buf[*i]) >> (*l);
sys/net/mppcd.c
75
getbyte(const uint8_t *buf, const uint32_t i, const uint32_t l)
sys/net/mppcd.c
77
if (l == 8) {
sys/net/mppcd.c
80
return ((((buf[i] << 8) | buf[i+1]) >> l) & 0xff);
sys/net/netmap_user.h
204
nm_pkt_copy(const void *_src, void *_dst, int l)
sys/net/netmap_user.h
209
if (unlikely(l >= 1024 || l % 64)) {
sys/net/netmap_user.h
210
memcpy(dst, src, l);
sys/net/netmap_user.h
213
for (; likely(l > 0); l-=64) {
sys/net80211/ieee80211_crypto_tkip.c
806
#define michael_block(l, r) \
sys/net80211/ieee80211_crypto_tkip.c
808
r ^= rotl(l, 17); \
sys/net80211/ieee80211_crypto_tkip.c
809
l += r; \
sys/net80211/ieee80211_crypto_tkip.c
810
r ^= xswap(l); \
sys/net80211/ieee80211_crypto_tkip.c
811
l += r; \
sys/net80211/ieee80211_crypto_tkip.c
812
r ^= rotl(l, 3); \
sys/net80211/ieee80211_crypto_tkip.c
813
l += r; \
sys/net80211/ieee80211_crypto_tkip.c
814
r ^= rotr(l, 2); \
sys/net80211/ieee80211_crypto_tkip.c
815
l += r; \
sys/net80211/ieee80211_crypto_tkip.c
880
u32 l, r;
sys/net80211/ieee80211_crypto_tkip.c
886
l = get_le32(key);
sys/net80211/ieee80211_crypto_tkip.c
890
l ^= get_le32(hdr);
sys/net80211/ieee80211_crypto_tkip.c
891
michael_block(l, r);
sys/net80211/ieee80211_crypto_tkip.c
892
l ^= get_le32(&hdr[4]);
sys/net80211/ieee80211_crypto_tkip.c
893
michael_block(l, r);
sys/net80211/ieee80211_crypto_tkip.c
894
l ^= get_le32(&hdr[8]);
sys/net80211/ieee80211_crypto_tkip.c
895
michael_block(l, r);
sys/net80211/ieee80211_crypto_tkip.c
896
l ^= get_le32(&hdr[12]);
sys/net80211/ieee80211_crypto_tkip.c
897
michael_block(l, r);
sys/net80211/ieee80211_crypto_tkip.c
907
l ^= get_le32(data);
sys/net80211/ieee80211_crypto_tkip.c
908
michael_block(l, r);
sys/net80211/ieee80211_crypto_tkip.c
941
l ^= get_le32_split(data[0], data_next[0],
sys/net80211/ieee80211_crypto_tkip.c
947
l ^= get_le32_split(data[0], data[1],
sys/net80211/ieee80211_crypto_tkip.c
953
l ^= get_le32_split(data[0], data[1],
sys/net80211/ieee80211_crypto_tkip.c
959
michael_block(l, r);
sys/net80211/ieee80211_crypto_tkip.c
980
l ^= get_le32_split(0x5a, 0, 0, 0);
sys/net80211/ieee80211_crypto_tkip.c
983
l ^= get_le32_split(data[0], 0x5a, 0, 0);
sys/net80211/ieee80211_crypto_tkip.c
986
l ^= get_le32_split(data[0], data[1], 0x5a, 0);
sys/net80211/ieee80211_crypto_tkip.c
989
l ^= get_le32_split(data[0], data[1], data[2], 0x5a);
sys/net80211/ieee80211_crypto_tkip.c
992
michael_block(l, r);
sys/net80211/ieee80211_crypto_tkip.c
994
michael_block(l, r);
sys/net80211/ieee80211_crypto_tkip.c
996
put_le32(mic, l);
sys/netgraph/bluetooth/l2cap/ng_l2cap_cmds.h
158
int l = (_data)->m_pkthdr.len; \
sys/netgraph/bluetooth/l2cap/ng_l2cap_cmds.h
161
c->hdr.length += l; \
sys/netgraph/bluetooth/l2cap/ng_l2cap_cmds.h
162
(_m)->m_pkthdr.len += l; \
sys/netgraph/bluetooth/l2cap/ng_l2cap_cmds.h
193
int l = (_data)->m_pkthdr.len; \
sys/netgraph/bluetooth/l2cap/ng_l2cap_cmds.h
196
c->hdr.length += l; \
sys/netgraph/bluetooth/l2cap/ng_l2cap_cmds.h
197
(_m)->m_pkthdr.len += l; \
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
3039
u_int16_t l = htole16(RFCOMM_MKLEN16(length));
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
3041
bcopy(&l, &hdr->length, sizeof(l));
sys/netinet/in_cksum.c
70
l_util.l = q_util.s[0] + q_util.s[1] + q_util.s[2] + q_util.s[3]; \
sys/netinet/in_cksum.c
93
u_int32_t l;
sys/netinet/in_cksum.c
97
u_int32_t l[2];
sys/netinet/in_fib_dxr.c
385
uint32_t *l = (uint32_t *) &da->range_tbl[fdesc->base + size];
sys/netinet/in_fib_dxr.c
388
for (; p < l; p++)
sys/netinet/libalias/alias_local.h
172
#define LIBALIAS_LOCK_INIT(l) \
sys/netinet/libalias/alias_local.h
173
mtx_init(&l->mutex, "per-instance libalias mutex", NULL, MTX_DEF)
sys/netinet/libalias/alias_local.h
174
#define LIBALIAS_LOCK_ASSERT(l) mtx_assert(&l->mutex, MA_OWNED)
sys/netinet/libalias/alias_local.h
175
#define LIBALIAS_LOCK(l) mtx_lock(&l->mutex)
sys/netinet/libalias/alias_local.h
176
#define LIBALIAS_UNLOCK(l) mtx_unlock(&l->mutex)
sys/netinet/libalias/alias_local.h
177
#define LIBALIAS_LOCK_DESTROY(l) mtx_destroy(&l->mutex)
sys/netinet/libalias/alias_local.h
179
#define LIBALIAS_LOCK_INIT(l)
sys/netinet/libalias/alias_local.h
180
#define LIBALIAS_LOCK_ASSERT(l)
sys/netinet/libalias/alias_local.h
181
#define LIBALIAS_LOCK(l)
sys/netinet/libalias/alias_local.h
182
#define LIBALIAS_UNLOCK(l)
sys/netinet/libalias/alias_local.h
183
#define LIBALIAS_LOCK_DESTROY(l)
sys/netinet/sctp_asconf.c
2025
struct sctp_laddr *l;
sys/netinet/sctp_asconf.c
2029
LIST_FOREACH(l, &asc->list_of_work, sctp_nxt_addr) {
sys/netinet/sctp_asconf.c
2030
ifa = l->ifa;
sys/netinet/sctp_asconf.c
2070
struct sctp_laddr *laddr, *nladdr, *l;
sys/netinet/sctp_asconf.c
2074
LIST_FOREACH(l, &asc->list_of_work, sctp_nxt_addr) {
sys/netinet/sctp_asconf.c
2075
ifa = l->ifa;
sys/netinet/sctp_asconf.c
2076
if (l->action == SCTP_ADD_IP_ADDRESS) {
sys/netinet/sctp_asconf.c
2084
} else if (l->action == SCTP_DEL_IP_ADDRESS) {
sys/netinet/sctp_asconf.c
2102
struct sctp_laddr *l;
sys/netinet/sctp_asconf.c
2108
LIST_FOREACH(l, &asc->list_of_work, sctp_nxt_addr) {
sys/netinet/sctp_asconf.c
2109
ifa = l->ifa;
sys/netinet/sctp_asconf.c
2110
type = l->action;
sys/netinet/sctp_asconf.c
2264
struct sctp_laddr *l, *nl;
sys/netinet/sctp_asconf.c
2267
LIST_FOREACH_SAFE(l, &asc->list_of_work, sctp_nxt_addr, nl) {
sys/netinet/sctp_asconf.c
2268
ifa = l->ifa;
sys/netinet/sctp_asconf.c
2269
if (l->action == SCTP_ADD_IP_ADDRESS) {
sys/netinet/sctp_asconf.c
2274
SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_laddr), l);
sys/netinet/tcp_log_buf.c
1129
#define tcp_log_entry_refcnt_add(l) \
sys/netinet/tcp_log_buf.c
1130
_tcp_log_entry_refcnt_add((l), __func__, __LINE__)
sys/netinet/tcp_log_buf.c
1143
#define tcp_log_entry_refcnt_rem(l) \
sys/netinet/tcp_log_buf.c
1144
_tcp_log_entry_refcnt_rem((l), __func__, __LINE__)
sys/netinet/tcp_log_buf.c
1148
#define tcp_log_entry_refcnt_add(l)
sys/netinet/tcp_log_buf.c
1149
#define tcp_log_entry_refcnt_rem(l)
sys/netinet/tcp_stacks/bbr.c
1845
bbr_fill_in_logging_data(struct tcp_bbr *bbr, struct tcp_log_bbr *l, uint32_t cts)
sys/netinet/tcp_stacks/bbr.c
1847
memset(l, 0, sizeof(union tcp_log_stackspecific));
sys/netinet/tcp_stacks/bbr.c
1848
l->cur_del_rate = bbr->r_ctl.rc_bbr_cur_del_rate;
sys/netinet/tcp_stacks/bbr.c
1849
l->delRate = get_filter_value(&bbr->r_ctl.rc_delrate);
sys/netinet/tcp_stacks/bbr.c
1850
l->rttProp = get_filter_value_small(&bbr->r_ctl.rc_rttprop);
sys/netinet/tcp_stacks/bbr.c
1851
l->bw_inuse = bbr_get_bw(bbr);
sys/netinet/tcp_stacks/bbr.c
1852
l->inflight = ctf_flight_size(bbr->rc_tp,
sys/netinet/tcp_stacks/bbr.c
1854
l->applimited = bbr->r_ctl.r_app_limited_until;
sys/netinet/tcp_stacks/bbr.c
1855
l->delivered = bbr->r_ctl.rc_delivered;
sys/netinet/tcp_stacks/bbr.c
1856
l->timeStamp = cts;
sys/netinet/tcp_stacks/bbr.c
1857
l->lost = bbr->r_ctl.rc_lost;
sys/netinet/tcp_stacks/bbr.c
1858
l->bbr_state = bbr->rc_bbr_state;
sys/netinet/tcp_stacks/bbr.c
1859
l->bbr_substate = bbr_state_val(bbr);
sys/netinet/tcp_stacks/bbr.c
1860
l->epoch = bbr->r_ctl.rc_rtt_epoch;
sys/netinet/tcp_stacks/bbr.c
1861
l->lt_epoch = bbr->r_ctl.rc_lt_epoch;
sys/netinet/tcp_stacks/bbr.c
1862
l->pacing_gain = bbr->r_ctl.rc_bbr_hptsi_gain;
sys/netinet/tcp_stacks/bbr.c
1863
l->cwnd_gain = bbr->r_ctl.rc_bbr_cwnd_gain;
sys/netinet/tcp_stacks/bbr.c
1864
l->inhpts = tcp_in_hpts(bbr->rc_tp);
sys/netinet/tcp_stacks/bbr.c
1865
l->use_lt_bw = bbr->rc_lt_use_bw;
sys/netinet/tcp_stacks/bbr.c
1866
l->pkts_out = bbr->r_ctl.rc_flight_at_input;
sys/netinet/tcp_stacks/bbr.c
1867
l->pkt_epoch = bbr->r_ctl.rc_pkt_epoch;
sys/netinet/tcp_stacks/tailq_hash.c
243
struct rack_sendmap *e, *l;
sys/netinet/tcp_stacks/tailq_hash.c
285
l = TAILQ_LAST(&hs->ht[rsm->bindex], rack_head);
sys/netinet/tcp_stacks/tailq_hash.c
286
if ((l == NULL) || (SEQ_GT(rsm->r_start, l->r_start))) {
sys/netinet/tcp_subr.c
4979
struct tcp_log_buffer *l;
sys/netinet/tcp_subr.c
4981
l = tcp_log_event(tp, NULL,
sys/netinet/tcp_subr.c
4987
if (l) {
sys/netinet/tcp_subr.c
4988
l->tlb_flex1 = option_num;
sys/netinet/tcp_subr.c
4989
l->tlb_flex2 = option_val;
sys/netinet6/icmp6.c
1598
int l;
sys/netinet6/icmp6.c
1635
l = a[0];
sys/netinet6/icmp6.c
1636
if (a - a0 + 1 + l > alen || b - b0 + 1 + l > blen)
sys/netinet6/icmp6.c
1638
if (bcmp(a + 1, b + 1, l) != 0)
sys/netinet6/icmp6.c
1641
a += 1 + l;
sys/netinet6/icmp6.c
1642
b += 1 + l;
sys/netinet6/icmp6.c
2032
size_t l;
sys/netinet6/icmp6.c
2035
l = off - sizeof(struct ip6_hdr);
sys/netinet6/icmp6.c
2037
m_adj(m, l);
sys/netinet6/icmp6.c
2038
l = sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr);
sys/netinet6/icmp6.c
2039
if (m->m_len < l) {
sys/netinet6/icmp6.c
2040
if ((m = m_pullup(m, l)) == NULL)
sys/netinet6/icmp6.c
2045
size_t l;
sys/netinet6/icmp6.c
2046
l = sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr);
sys/netinet6/icmp6.c
2047
if (m->m_len < l) {
sys/netinet6/icmp6.c
2048
if ((m = m_pullup(m, l)) == NULL)
sys/netinet6/in6_cksum.c
78
#define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; (void)ADDCARRY(sum);}
sys/netinet6/in6_cksum.c
82
uint32_t l;
sys/netinet6/in6_ifattach.c
694
char l;
sys/netinet6/in6_ifattach.c
722
l = p - name;
sys/netinet6/in6_ifattach.c
723
strncpy(n, name, l);
sys/netinet6/in6_ifattach.c
726
n[(int)l] = '\0';
sys/netinet6/in6_ifattach.c
735
MD5Update(&ctxt, &l, sizeof(l));
sys/netinet6/in6_ifattach.c
736
MD5Update(&ctxt, n, l);
sys/netipsec/key.c
6631
const int l = PFKEY_ALIGN8(sizeof(struct sadb_comb));
sys/netipsec/key.c
6650
IPSEC_ASSERT(l <= MLEN,
sys/netipsec/key.c
6651
("l=%u > MLEN=%lu", l, (u_long) MLEN));
sys/netipsec/key.c
6654
M_ALIGN(m, l);
sys/netipsec/key.c
6655
m->m_len = l;
sys/netipsec/key.c
6666
IPSEC_ASSERT((totlen % l) == 0, ("totlen=%u, l=%u", totlen, l));
sys/netipsec/key.c
6668
for (off = 0; off < totlen; off += l) {
sys/netipsec/key.c
6669
n = m_pulldown(m, off, l, &o);
sys/netipsec/key.c
6731
const int l = PFKEY_ALIGN8(sizeof(struct sadb_comb));
sys/netipsec/key.c
6752
IPSEC_ASSERT(l <= MLEN,
sys/netipsec/key.c
6753
("l=%u > MLEN=%lu", l, (u_long) MLEN));
sys/netipsec/key.c
6756
M_ALIGN(m, l);
sys/netipsec/key.c
6757
m->m_len = l;
sys/netipsec/key.c
6761
M_PREPEND(m, l, M_NOWAIT);
sys/netipsec/key.c
6787
const int l = PFKEY_ALIGN8(sizeof(struct sadb_comb));
sys/netipsec/key.c
6796
IPSEC_ASSERT(l <= MLEN,
sys/netipsec/key.c
6797
("l=%u > MLEN=%lu", l, (u_long) MLEN));
sys/netipsec/key.c
6800
M_ALIGN(m, l);
sys/netipsec/key.c
6801
m->m_len = l;
sys/netipsec/key.c
6805
M_PREPEND(m, l, M_NOWAIT);
sys/netipsec/key.c
6829
const int l = PFKEY_ALIGN8(sizeof(struct sadb_prop));
sys/netipsec/key.c
6848
M_PREPEND(m, l, M_NOWAIT);
sys/netipsec/key_debug.c
813
int len, l;
sys/netipsec/key_debug.c
829
for (l = 7; l >= 0; l--)
sys/netipsec/key_debug.c
830
printf("%u", (((rpl->bitmap)[len] >> l) & 1) ? 1 : 0);
sys/netpfil/ipfilter/netinet/ip_compat.h
325
# define ALLOC_MB_T(m,l) (m) = allocmbt(l)
sys/netpfil/ipfilter/netinet/ip_compat.h
349
# define COPYDATA(m, o, l, b) bcopy(MTOD((mb_t *)m, char *) + (o), \
sys/netpfil/ipfilter/netinet/ip_compat.h
350
(b), (l))
sys/netpfil/ipfilter/netinet/ip_compat.h
351
# define COPYBACK(m, o, l, b) bcopy((b), \
sys/netpfil/ipfilter/netinet/ip_compat.h
353
(l))
sys/netpfil/ipfilter/netinet/ip_compat.h
511
# define ALLOC_MB_T(m,l) do { \
sys/netpfil/ipfilter/netinet/ip_compat.h
514
(m)->m_len = (l); \
sys/netpfil/ipfilter/netinet/ip_compat.h
515
(m)->m_pkthdr.len = (l); \
sys/netpfil/ipfilter/netinet/ip_compat.h
519
# define ALLOC_MB_T(m,l) do { \
sys/netpfil/ipfilter/netinet/ip_compat.h
522
(m)->m_len = (l); \
sys/netpfil/ipfilter/netinet/ip_compat.h
523
(m)->m_pkthdr.len = (l); \
sys/netpfil/ipfilter/netinet/ip_irc_pxy.c
186
for (l = 0; ISDIGIT(c) && (i > 0); i--) {
sys/netpfil/ipfilter/netinet/ip_irc_pxy.c
187
l *= 10;
sys/netpfil/ipfilter/netinet/ip_irc_pxy.c
188
l += c - '0';
sys/netpfil/ipfilter/netinet/ip_irc_pxy.c
198
ircp->irc_ipnum = l;
sys/netpfil/ipfilter/netinet/ip_irc_pxy.c
207
for (l = 0; ISDIGIT(c) && (i > 0); i--) {
sys/netpfil/ipfilter/netinet/ip_irc_pxy.c
208
l *= 10;
sys/netpfil/ipfilter/netinet/ip_irc_pxy.c
209
l += c - '0';
sys/netpfil/ipfilter/netinet/ip_irc_pxy.c
218
ircp->irc_port = l;
sys/netpfil/ipfilter/netinet/ip_irc_pxy.c
72
u_32_t l;
sys/netpfil/ipfilter/netinet/ip_lookup.c
107
for (i = 0, l = backends; i < MAX_BACKENDS; i++, l++) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
108
softl->ipf_back[i] = (*(*l)->ipfl_create)(softc);
sys/netpfil/ipfilter/netinet/ip_lookup.c
314
ipf_lookup_t **l;
sys/netpfil/ipfilter/netinet/ip_lookup.c
332
for (i = 0, l = backends; i < MAX_BACKENDS; i++, l++) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
333
if (op.iplo_type == (*l)->ipfl_type) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
334
err = (*(*l)->ipfl_node_add)(softc,
sys/netpfil/ipfilter/netinet/ip_lookup.c
364
ipf_lookup_t **l;
sys/netpfil/ipfilter/netinet/ip_lookup.c
382
for (i = 0, l = backends; i < MAX_BACKENDS; i++, l++) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
383
if (op.iplo_type == (*l)->ipfl_type) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
384
err = (*(*l)->ipfl_node_del)(softc, softl->ipf_back[i],
sys/netpfil/ipfilter/netinet/ip_lookup.c
412
ipf_lookup_t **l;
sys/netpfil/ipfilter/netinet/ip_lookup.c
429
for (i = 0, l = backends; i < MAX_BACKENDS; i++, l++) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
430
if (op.iplo_type == (*l)->ipfl_type) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
431
err = (*(*l)->ipfl_table_add)(softc,
sys/netpfil/ipfilter/netinet/ip_lookup.c
473
ipf_lookup_t **l;
sys/netpfil/ipfilter/netinet/ip_lookup.c
490
for (i = 0, l = backends; i < MAX_BACKENDS; i++, l++) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
491
if (op.iplo_type == (*l)->ipfl_type) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
492
err = (*(*l)->ipfl_table_del)(softc,
sys/netpfil/ipfilter/netinet/ip_lookup.c
520
ipf_lookup_t **l;
sys/netpfil/ipfilter/netinet/ip_lookup.c
536
for (i = 0, l = backends; i < MAX_BACKENDS; i++, l++) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
537
if (op.iplo_type == (*l)->ipfl_type) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
538
err = (*(*l)->ipfl_stats_get)(softc,
sys/netpfil/ipfilter/netinet/ip_lookup.c
569
ipf_lookup_t **l;
sys/netpfil/ipfilter/netinet/ip_lookup.c
590
for (i = 0, l = backends; i < MAX_BACKENDS; i++, l++) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
591
if (type == (*l)->ipfl_type || type == IPLT_ALL) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
593
num += (*(*l)->ipfl_flush)(softc,
sys/netpfil/ipfilter/netinet/ip_lookup.c
824
ipf_lookup_t **l;
sys/netpfil/ipfilter/netinet/ip_lookup.c
830
for (i = 0, l = backends; i < MAX_BACKENDS; i++, l++) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
831
if (type == (*l)->ipfl_type) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
832
ptr = (*(*l)->ipfl_select_add_ref)(softl->ipf_back[i],
sys/netpfil/ipfilter/netinet/ip_lookup.c
835
*funcptr = (*l)->ipfl_addr_find;
sys/netpfil/ipfilter/netinet/ip_lookup.c
868
ipf_lookup_t **l;
sys/netpfil/ipfilter/netinet/ip_lookup.c
874
for (i = 0, l = backends; i < MAX_BACKENDS; i++, l++)
sys/netpfil/ipfilter/netinet/ip_lookup.c
875
if (IPLT_HASH == (*l)->ipfl_type) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
900
ipf_lookup_t **l;
sys/netpfil/ipfilter/netinet/ip_lookup.c
905
for (i = 0, l = backends; i < MAX_BACKENDS; i++, l++)
sys/netpfil/ipfilter/netinet/ip_lookup.c
906
if ((*l)->ipfl_sync != NULL)
sys/netpfil/ipfilter/netinet/ip_lookup.c
907
(*(*l)->ipfl_sync)(softc, softl->ipf_back[i]);
sys/netpfil/ipfilter/netinet/ip_lookup.c
918
ipf_lookup_t **l;
sys/netpfil/ipfilter/netinet/ip_lookup.c
921
for (i = 0, l = backends; i < MAX_BACKENDS; i++, l++)
sys/netpfil/ipfilter/netinet/ip_lookup.c
922
if (IPLT_POOL == (*l)->ipfl_type) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
927
for (i = 0, l = backends; i < MAX_BACKENDS; i++, l++)
sys/netpfil/ipfilter/netinet/ip_lookup.c
928
if (IPLT_HASH == (*l)->ipfl_type) {
sys/netpfil/ipfilter/netinet/ip_lookup.c
98
ipf_lookup_t **l;
sys/netpfil/ipfilter/netinet/ip_nat.c
2602
int l;
sys/netpfil/ipfilter/netinet/ip_nat.c
2608
l = 0;
sys/netpfil/ipfilter/netinet/ip_nat.c
2631
if (l == 0) {
sys/netpfil/ipfilter/netinet/ip_nat.c
2640
} else if ((l == 1) && (hm != NULL)) {
sys/netpfil/ipfilter/netinet/ip_nat.c
2648
if (l > 0) {
sys/netpfil/ipfilter/netinet/ip_nat.c
2665
if ((l >= np->in_ppip) || ((l > 0) &&
sys/netpfil/ipfilter/netinet/ip_nat.c
2685
port = ntohs(sport) + l;
sys/netpfil/ipfilter/netinet/ip_nat.c
2700
if ((l > 0) ||
sys/netpfil/ipfilter/netinet/ip_nat.c
2713
if (l > 0) {
sys/netpfil/ipfilter/netinet/ip_nat.c
2721
(np->in_spnext == 0) && ((l > 0) || (hm == NULL)))
sys/netpfil/ipfilter/netinet/ip_nat.c
2732
if ((l > 0) && (l % np->in_ppip == 0)) {
sys/netpfil/ipfilter/netinet/ip_nat.c
2733
if ((l > np->in_ppip) &&
sys/netpfil/ipfilter/netinet/ip_nat.c
2739
port += (l % np->in_ppip);
sys/netpfil/ipfilter/netinet/ip_nat.c
2814
l++;
sys/netpfil/ipfilter/netinet/ip_nat.c
6917
int l = 0;
sys/netpfil/ipfilter/netinet/ip_nat.c
6931
DT4(ipf_nat_rewrite_1, int, l, int, src_search, int, dst_search, ipnat_t *, np);
sys/netpfil/ipfilter/netinet/ip_nat.c
6935
if (l > 0)
sys/netpfil/ipfilter/netinet/ip_nat.c
6996
DT4(ipf_nat_rewrite_2, frinfo_t *, fin, ipnat_t *, np, int, l, frinfo_t *, &frnat);
sys/netpfil/ipfilter/netinet/ip_nat.c
7087
DT3(ipf_nat_rewrite_2, nat_t *, natl, ipnat_t *, np , int, l);
sys/netpfil/ipfilter/netinet/ip_nat.c
7089
if ((natl != NULL) && (l > 8)) /* XXX 8 is arbitrary */
sys/netpfil/ipfilter/netinet/ip_nat.c
7094
l++;
sys/netpfil/ipfilter/netinet/ip_nat6.c
3356
int l = 0;
sys/netpfil/ipfilter/netinet/ip_nat6.c
3373
if (l > 0)
sys/netpfil/ipfilter/netinet/ip_nat6.c
3531
if ((natl != NULL) && (l > 8)) /* XXX 8 is arbitrary */
sys/netpfil/ipfilter/netinet/ip_nat6.c
3536
l++;
sys/netpfil/ipfilter/netinet/ip_nat6.c
450
int l;
sys/netpfil/ipfilter/netinet/ip_nat6.c
456
l = 0;
sys/netpfil/ipfilter/netinet/ip_nat6.c
479
if (l == 0) {
sys/netpfil/ipfilter/netinet/ip_nat6.c
488
} else if ((l == 1) && (hm != NULL)) {
sys/netpfil/ipfilter/netinet/ip_nat6.c
495
if (l > 0) {
sys/netpfil/ipfilter/netinet/ip_nat6.c
520
if ((l >= np->in_ppip) || ((l > 0) &&
sys/netpfil/ipfilter/netinet/ip_nat6.c
539
port = ntohs(sport) + l;
sys/netpfil/ipfilter/netinet/ip_nat6.c
553
if ((l > 0) ||
sys/netpfil/ipfilter/netinet/ip_nat6.c
566
if (l > 0) {
sys/netpfil/ipfilter/netinet/ip_nat6.c
573
(np->in_spnext == 0) && ((l > 0) || (hm == NULL))) {
sys/netpfil/ipfilter/netinet/ip_nat6.c
586
if ((l > 0) && (l % np->in_ppip == 0)) {
sys/netpfil/ipfilter/netinet/ip_nat6.c
587
if ((l > np->in_ppip) &&
sys/netpfil/ipfilter/netinet/ip_nat6.c
594
port += (l % np->in_ppip);
sys/netpfil/ipfilter/netinet/ip_nat6.c
677
l++;
sys/netpfil/ipfilter/netinet/ip_proxy.h
285
#define RPCB_BUF_GEQ(r, p, l) \
sys/netpfil/ipfilter/netinet/ip_proxy.h
287
((RPCB_BUF_END((r)) - (char *)(p)) >= (l)))
sys/netpfil/ipfilter/netinet/ip_proxy.h
288
#define RPCB_BUF_EQ(r, p, l) \
sys/netpfil/ipfilter/netinet/ip_proxy.h
289
(RPCB_BUF_END((r)) == ((char *)(p) + (l)))
sys/netpfil/ipfilter/netinet/ip_rpcb_pxy.c
633
u_int d, dd, l, t;
sys/netpfil/ipfilter/netinet/ip_rpcb_pxy.c
644
l = B(xu->xu_xslen);
sys/netpfil/ipfilter/netinet/ip_rpcb_pxy.c
645
if (l < 11 || l > 23 || !RPCB_BUF_GEQ(rm, *p, XDRALIGN(l)))
sys/netpfil/ipfilter/netinet/ip_rpcb_pxy.c
649
*(char **)p += XDRALIGN(l);
sys/netpfil/ipfilter/netinet/ip_rpcb_pxy.c
652
bcopy(xu->xu_xsstr, uastr, l);
sys/netpfil/ipfilter/netinet/ip_rpcb_pxy.c
653
uastr[l] = '\0';
sys/netpfil/ipfilter/netinet/ip_rpcb_pxy.c
662
if (!(ISDIGIT(uastr[0]) && ISDIGIT(uastr[l-1])))
sys/netpfil/ipfilter/netinet/ip_rpcb_pxy.c
665
for (c = &uastr[1], d = 0, dd = 0; c < &uastr[l-1]; c++) {
sys/netpfil/ipfw/dn_aqm.h
54
#define BOUND_VAR(x,l,h) ((x) > (h)? (h) : ((x) > (l)? (x) : (l)))
sys/netpfil/ipfw/dn_aqm_codel.c
349
int l = sizeof(struct dn_extra_parms);
sys/netpfil/ipfw/dn_aqm_codel.c
350
if (len < l) {
sys/netpfil/ipfw/dn_aqm_codel.c
351
D("invalid sched parms length got %d need %d", len, l);
sys/netpfil/ipfw/dn_aqm_pie.c
691
int l = sizeof(struct dn_extra_parms);
sys/netpfil/ipfw/dn_aqm_pie.c
692
if (len < l) {
sys/netpfil/ipfw/dn_aqm_pie.c
693
D("invalid sched parms length got %d need %d", len, l);
sys/netpfil/ipfw/dn_heap.c
343
int l;
sys/netpfil/ipfw/dn_heap.c
406
l = sizeof(*ht) + (buckets + 1) * sizeof(void **);
sys/netpfil/ipfw/dn_heap.c
407
ht = malloc(l, M_DN_HEAP, M_NOWAIT | M_ZERO);
sys/netpfil/ipfw/ip_dn_io.c
266
int l, ofs;
sys/netpfil/ipfw/ip_dn_io.c
274
l = m_new->__m_extlen; /* new len */
sys/netpfil/ipfw/ip_dn_io.c
275
if (l <= m->__m_extlen) {
sys/netpfil/ipfw/ip_dn_private.h
441
int do_config(void *p, size_t l);
sys/netpfil/ipfw/ip_dn_private.h
461
int l, ofs;
sys/netpfil/ipfw/ip_dn_private.h
469
l = m_new->__m_extlen; /* new len */
sys/netpfil/ipfw/ip_dn_private.h
470
if (l <= m->__m_extlen) {
sys/netpfil/ipfw/ip_dummynet.c
1360
int l, err = 0;
sys/netpfil/ipfw/ip_dummynet.c
1363
l = sizeof(*ep);
sys/netpfil/ipfw/ip_dummynet.c
1364
if (sopt->sopt_valsize < l) {
sys/netpfil/ipfw/ip_dummynet.c
1366
(int) sopt->sopt_valsize , l);
sys/netpfil/ipfw/ip_dummynet.c
1370
ep = malloc(l, M_DUMMYNET, M_NOWAIT);
sys/netpfil/ipfw/ip_dummynet.c
1376
err = sooptcopyin(sopt, ep, l, l);
sys/netpfil/ipfw/ip_dummynet.c
1380
if (ep->oid.len < l) {
sys/netpfil/ipfw/ip_dummynet.c
1398
ep->oid.len = l;
sys/netpfil/ipfw/ip_dummynet.c
1399
err = sooptcopyout(sopt, ep, l);
sys/netpfil/ipfw/ip_dummynet.c
1415
int l, err = 0;
sys/netpfil/ipfw/ip_dummynet.c
1418
l = sizeof(*ep);
sys/netpfil/ipfw/ip_dummynet.c
1419
if (sopt->sopt_valsize < l) {
sys/netpfil/ipfw/ip_dummynet.c
1421
(int) sopt->sopt_valsize , l);
sys/netpfil/ipfw/ip_dummynet.c
1425
ep = malloc(l, M_DUMMYNET, M_NOWAIT);
sys/netpfil/ipfw/ip_dummynet.c
1431
err = sooptcopyin(sopt, ep, l, l);
sys/netpfil/ipfw/ip_dummynet.c
1435
if (ep->oid.len < l) {
sys/netpfil/ipfw/ip_dummynet.c
1453
ep->oid.len = l;
sys/netpfil/ipfw/ip_dummynet.c
1454
err = sooptcopyout(sopt, ep, l);
sys/netpfil/ipfw/ip_dummynet.c
2004
do_config(void *p, size_t l)
sys/netpfil/ipfw/ip_dummynet.c
2025
while (l >= sizeof(o)) {
sys/netpfil/ipfw/ip_dummynet.c
2027
if (o.len < sizeof(o) || l < o.len) {
sys/netpfil/ipfw/ip_dummynet.c
2028
D("bad len o.len %d len %zu", o.len, l);
sys/netpfil/ipfw/ip_dummynet.c
2032
l -= o.len;
sys/netpfil/ipfw/ip_dummynet.c
2045
err = kesysctl_emu_set(p, l);
sys/netpfil/ipfw/ip_dummynet.c
2236
int l = sizeof(struct dn_id);
sys/netpfil/ipfw/ip_dummynet.c
2251
l = cmd->len;
sys/netpfil/ipfw/ip_dummynet.c
2257
if (l > sizeof(r)) {
sys/netpfil/ipfw/ip_dummynet.c
2259
cmd = malloc(l, M_DUMMYNET, M_NOWAIT);
sys/netpfil/ipfw/ip_dummynet.c
2264
error = sooptcopyin(sopt, cmd, l, l);
sys/netpfil/ipfw/ip_dummynet.c
2302
if (l > sizeof(*cmd))
sys/netpfil/ipfw/ip_dummynet.c
2466
size_t l;
sys/netpfil/ipfw/ip_dummynet.c
2493
l = sopt->sopt_valsize;
sys/netpfil/ipfw/ip_dummynet.c
2494
if (l < sizeof(struct dn_id) || l > 12000) {
sys/netpfil/ipfw/ip_dummynet.c
2495
D("argument len %zu invalid", l);
sys/netpfil/ipfw/ip_dummynet.c
2498
p = malloc(l, M_TEMP, M_NOWAIT);
sys/netpfil/ipfw/ip_dummynet.c
2503
error = sooptcopyin(sopt, p, l, l);
sys/netpfil/ipfw/ip_dummynet.c
2505
error = do_config(p, l);
sys/netpfil/ipfw/ip_dummynet.c
521
int l = sizeof(*si) + s->fp->si_datalen;
sys/netpfil/ipfw/ip_dummynet.c
523
si = malloc(l, M_DUMMYNET, M_NOWAIT | M_ZERO);
sys/netpfil/ipfw/ip_dummynet.c
870
int l = sizeof(*s) +a->fp->schk_datalen;
sys/netpfil/ipfw/ip_dummynet.c
872
s = malloc(l, M_DUMMYNET, M_NOWAIT | M_ZERO);
sys/netpfil/ipfw/ip_dummynet.c
960
struct dn_link l;
sys/netpfil/ipfw/ip_dummynet.c
973
memcpy(&dn.l, _o, sizeof(dn.l));
sys/netpfil/ipfw/ip_dummynet.c
975
dn.l.burst = div64(dn.l.burst, 8 * hz);
sys/netpfil/ipfw/ip_dummynet.c
976
dn.l.delay = dn.l.delay * 1000 / hz;
sys/netpfil/ipfw/ip_dummynet.c
977
memcpy(*start, &dn.l, sizeof(dn.l));
sys/netpfil/ipfw/ip_fw2.c
1934
int l, cmdlen, skip_or; /* skip rest of OR block */
sys/netpfil/ipfw/ip_fw2.c
1942
for (l = f->cmd_len, cmd = f->cmd ; l > 0 ;
sys/netpfil/ipfw/ip_fw2.c
1943
l -= cmdlen, cmd += cmdlen) {
sys/netpfil/ipfw/ip_fw2.c
2991
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3020
l = f->cmd_len - f->act_ofs;
sys/netpfil/ipfw/ip_fw2.c
3030
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3036
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3041
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3054
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3063
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3073
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3093
l = f->cmd_len;
sys/netpfil/ipfw/ip_fw2.c
3152
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3173
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3184
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3224
l = f->cmd_len;
sys/netpfil/ipfw/ip_fw2.c
3279
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3330
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3347
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3360
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3373
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3381
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3406
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3445
l = 0; /* in any case exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3481
l = 0; /* exit inner loop */
sys/netpfil/ipfw/ip_fw2.c
3492
l = 0; /* in any case exit inner loop */
sys/netpfil/ipfw/ip_fw_compat.c
363
int l, cmdlen, newlen;
sys/netpfil/ipfw/ip_fw_compat.c
367
for (l = urule->cmd_len, src = urule->cmd, dst = krule->cmd;
sys/netpfil/ipfw/ip_fw_compat.c
368
l > 0 && rule_len > 0;
sys/netpfil/ipfw/ip_fw_compat.c
369
l -= cmdlen, src += cmdlen,
sys/netpfil/ipfw/ip_fw_compat.c
432
int l, cmdlen, adjust, aadjust;
sys/netpfil/ipfw/ip_fw_compat.c
435
l = urule->cmd_len;
sys/netpfil/ipfw/ip_fw_compat.c
440
while (l > 0) {
sys/netpfil/ipfw/ip_fw_compat.c
445
l -= cmdlen;
sys/netpfil/ipfw/ip_fw_dynamic.c
2951
int cmdlen, l;
sys/netpfil/ipfw/ip_fw_dynamic.c
2954
l = rule->cmd_len;
sys/netpfil/ipfw/ip_fw_dynamic.c
2957
for ( ; l > 0 ; l -= cmdlen, cmd += cmdlen) {
sys/netpfil/ipfw/ip_fw_dynamic.c
3160
size_t l;
sys/netpfil/ipfw/ip_fw_dynamic.c
3162
l = roundup(strlen(comment) + 1, sizeof(uint32_t));
sys/netpfil/ipfw/ip_fw_dynamic.c
3163
rule = ipfw_alloc_rule(chain, sizeof(*rule) + sizeof(ipfw_insn) + l);
sys/netpfil/ipfw/ip_fw_dynamic.c
3166
cmd->len = 1 + l/sizeof(uint32_t);
sys/netpfil/ipfw/ip_fw_eaction.c
386
int l;
sys/netpfil/ipfw/ip_fw_eaction.c
407
l = rule->cmd + rule->cmd_len - cmd;
sys/netpfil/ipfw/ip_fw_eaction.c
408
if (l > 2) {
sys/netpfil/ipfw/ip_fw_log.c
122
ipfw_insn_log *l = (ipfw_insn_log *)cmd;
sys/netpfil/ipfw/ip_fw_log.c
124
if (l->max_log != 0 && l->log_left == 0)
sys/netpfil/ipfw/ip_fw_log.c
126
l->log_left--;
sys/netpfil/ipfw/ip_fw_log.c
127
if (l->log_left == 0)
sys/netpfil/ipfw/ip_fw_log.c
128
limit_reached = l->max_log;
sys/netpfil/ipfw/ip_fw_log.c
564
int l, cmdlen;
sys/netpfil/ipfw/ip_fw_log.c
566
for (l = f->cmd_len, cmd = f->cmd; l > 0; l -= cmdlen, cmd += cmdlen) {
sys/netpfil/ipfw/ip_fw_log.c
575
if (l <= 0) {
sys/netpfil/ipfw/ip_fw_log.c
626
ipfw_insn_log *l;
sys/netpfil/ipfw/ip_fw_log.c
633
l = (ipfw_insn_log *)cmd;
sys/netpfil/ipfw/ip_fw_log.c
635
if (l->max_log != 0 && l->log_left == 0)
sys/netpfil/ipfw/ip_fw_log.c
641
l->log_left--;
sys/netpfil/ipfw/ip_fw_log.c
642
if (V_fw_verbose != 0 && l->log_left == 0) {
sys/netpfil/ipfw/ip_fw_log.c
645
l->max_log, f ? f->rulenum : -1);
sys/netpfil/ipfw/ip_fw_log.c
688
if (l->max_log != 0 && l->log_left < (l->max_log >> 1)) {
sys/netpfil/ipfw/ip_fw_nat.c
462
lookup_nat(struct nat_list *l, int nat_id)
sys/netpfil/ipfw/ip_fw_nat.c
466
LIST_FOREACH(res, l, _next) {
sys/netpfil/ipfw/ip_fw_nat.c
474
lookup_nat_name(struct nat_list *l, char *name)
sys/netpfil/ipfw/ip_fw_nat.c
484
LIST_FOREACH(res, l, _next) {
sys/netpfil/ipfw/ip_fw_private.h
618
#define IPFW_DEL_OBJ_REWRITER(l, c) do { \
sys/netpfil/ipfw/ip_fw_private.h
619
if ((l) != 0) \
sys/netpfil/ipfw/ip_fw_private.h
696
if ((l) != 0) \
sys/netpfil/ipfw/ip_fw_sockopt.c
1239
int l;
sys/netpfil/ipfw/ip_fw_sockopt.c
1247
l = roundup2(RULESIZE(rule), sizeof(uint64_t));
sys/netpfil/ipfw/ip_fw_sockopt.c
1248
if (l != size) {
sys/netpfil/ipfw/ip_fw_sockopt.c
1249
printf("ipfw: size mismatch (have %zu want %d)\n", size, l);
sys/netpfil/ipfw/ip_fw_sockopt.c
1648
int cmdlen, l;
sys/netpfil/ipfw/ip_fw_sockopt.c
1656
for (l = cmd_len; l > 0 ; l -= cmdlen, cmd += cmdlen) {
sys/netpfil/ipfw/ip_fw_sockopt.c
1658
if (cmdlen > l) {
sys/netpfil/ipfw/ip_fw_sockopt.c
1664
ret = (*check_opcode_f)(&cmd, &l, ci);
sys/netpfil/ipfw/ip_fw_sockopt.c
1666
ret = ipfw_check_opcode(&cmd, &l, ci);
sys/netpfil/ipfw/ip_fw_sockopt.c
1676
if (l != F_LEN(cmd)) {
sys/netpfil/ipfw/ip_fw_sockopt.c
1800
int i, l;
sys/netpfil/ipfw/ip_fw_sockopt.c
1813
l = RULEUSIZE1(krule) + sizeof(ipfw_obj_tlv);
sys/netpfil/ipfw/ip_fw_sockopt.c
1815
l += sizeof(struct ip_fw_bcounter);
sys/netpfil/ipfw/ip_fw_sockopt.c
1816
dst = (caddr_t)ipfw_get_sopt_space(sd, l);
sys/netpfil/ipfw/ip_fw_sockopt.c
1820
export_rule1(krule, dst, l, da->rcounters);
sys/netpfil/ipfw/ip_fw_sockopt.c
1855
int cmdlen, l;
sys/netpfil/ipfw/ip_fw_sockopt.c
1858
l = rule->cmd_len;
sys/netpfil/ipfw/ip_fw_sockopt.c
1861
for ( ; l > 0 ; l -= cmdlen, cmd += cmdlen) {
sys/netpfil/ipfw/ip_fw_sockopt.c
2109
int cmdlen, l;
sys/netpfil/ipfw/ip_fw_sockopt.c
2114
l = rule->cmd_len;
sys/netpfil/ipfw/ip_fw_sockopt.c
2117
for ( ; l > 0 ; l -= cmdlen, cmd += cmdlen) {
sys/netpfil/ipfw/ip_fw_sockopt.c
2205
int cmdlen, error, l, unresolved;
sys/netpfil/ipfw/ip_fw_sockopt.c
2208
l = rule->cmd_len;
sys/netpfil/ipfw/ip_fw_sockopt.c
2216
for ( ; l > 0 ; l -= cmdlen, cmd += cmdlen) {
sys/netpfil/ipfw/ip_fw_sockopt.c
2228
pidx->off = rule->cmd_len - l;
sys/netpfil/ipfw/ip_fw_sockopt.c
3488
int l;
sys/netpfil/ipfw/ip_fw_sockopt.c
3492
l = 0;
sys/netpfil/ipfw/ip_fw_sockopt.c
3493
for (; pa < pe; pa += l) {
sys/netpfil/ipfw/ip_fw_sockopt.c
3495
l = ntlv->head.length;
sys/netpfil/ipfw/ip_fw_sockopt.c
3497
if (l != sizeof(*ntlv))
sys/netpfil/ipfw/ip_fw_sockopt.c
821
int cmdlen, i, l, c;
sys/netpfil/ipfw/ip_fw_sockopt.c
833
for (l = rule->cmd_len, cmdlen = 0, cmd = rule->cmd;
sys/netpfil/ipfw/ip_fw_sockopt.c
834
l > 0; l -= cmdlen, cmd += cmdlen) {
sys/netpfil/ipfw/ip_fw_sockopt.c
860
for (l = rule->cmd_len, cmdlen = 0, cmd = rule->cmd;
sys/netpfil/ipfw/ip_fw_sockopt.c
861
l > 0 && c == 0; l -= cmdlen, cmd += cmdlen) {
sys/netpfil/ipfw/ip_fw_sockopt.c
879
for (l = rule->cmd_len, cmdlen = 0, cmd = rule->cmd;
sys/netpfil/ipfw/ip_fw_sockopt.c
880
l > 0; l -= cmdlen, cmd += cmdlen) {
sys/netpfil/ipfw/ip_fw_sockopt.c
945
int l, cmdlen;
sys/netpfil/ipfw/ip_fw_sockopt.c
948
l = rule->cmd_len - rule->act_ofs;
sys/netpfil/ipfw/ip_fw_sockopt.c
949
while (l > 0) {
sys/netpfil/ipfw/ip_fw_sockopt.c
959
l -= cmdlen;
sys/netpfil/ipfw/ip_fw_sockopt.c
974
ipfw_insn_log *l = (ipfw_insn_log *)ACTION_PTR(rule);
sys/netpfil/ipfw/ip_fw_sockopt.c
978
if (l->o.opcode == O_LOG)
sys/netpfil/ipfw/ip_fw_sockopt.c
979
l->log_left = l->max_log;
sys/netpfil/ipfw/ip_fw_table.c
2000
int i, l;
sys/netpfil/ipfw/ip_fw_table.c
2031
l = strlen(ta->name);
sys/netpfil/ipfw/ip_fw_table.c
2032
if (strncmp(name, ta->name, l) != 0)
sys/netpfil/ipfw/ip_fw_table.c
2034
if (name[l] != '\0' && name[l] != ' ')
sys/netpfil/ipfw/ip_fw_table.c
2470
int cmdlen, i, l;
sys/netpfil/ipfw/ip_fw_table.c
2498
l = rule->cmd_len;
sys/netpfil/ipfw/ip_fw_table.c
2501
for ( ; l > 0 ; l -= cmdlen, cmd += cmdlen) {
sys/netpfil/ipfw/test/main.c
266
long l;
sys/netpfil/ipfw/test/main.c
272
l = strtol(s, &end, 0);
sys/netpfil/ipfw/test/main.c
275
l = -1;
sys/netpfil/ipfw/test/main.c
277
if (l < 0) {
sys/netpfil/ipfw/test/main.c
282
return l;
sys/netpfil/ipfw/test/main.c
284
l = -l; /* multiply by n */
sys/netpfil/ipfw/test/main.c
286
l = l*1000;
sys/netpfil/ipfw/test/main.c
288
l = l*1000000;
sys/netpfil/ipfw/test/main.c
290
l = l*1024;
sys/netpfil/ipfw/test/main.c
292
l = l*1024*1024;
sys/netpfil/ipfw/test/main.c
305
return l;
sys/netpfil/ipfw/test/mylist.h
13
#define INIT_LIST_HEAD(l) do { (l)->prev = (l)->next = (l); } while (0)
sys/netpfil/ipfw/test/mylist.h
14
#define list_empty(l) ( (l)->next == l )
sys/netpfil/pf/in4_cksum.c
77
#define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; (void)ADDCARRY(sum);}
sys/netpfil/pf/in4_cksum.c
90
u_int32_t l;
sys/netpfil/pf/pf_ioctl.c
1814
struct pf_statelim_list l = TAILQ_HEAD_INITIALIZER(l);
sys/netpfil/pf/pf_ioctl.c
1823
TAILQ_CONCAT(&l, &V_pf_statelim_list_active, pfstlim_list);
sys/netpfil/pf/pf_ioctl.c
1851
TAILQ_REMOVE(&l, opfstlim, pfstlim_list);
sys/netpfil/pf/pf_ioctl.c
1860
TAILQ_FOREACH_SAFE(pfstlim, &l, pfstlim_list, npfstlim) {
sys/netpfil/pf/pf_ioctl.c
1958
struct pf_sourcelim_list l = TAILQ_HEAD_INITIALIZER(l);
sys/netpfil/pf/pf_ioctl.c
1967
TAILQ_CONCAT(&l, &V_pf_sourcelim_list_active, pfsrlim_list);
sys/netpfil/pf/pf_ioctl.c
2021
TAILQ_REMOVE(&l, opfsrlim, pfsrlim_list);
sys/netpfil/pf/pf_ioctl.c
2030
TAILQ_FOREACH_SAFE(pfsrlim, &l, pfsrlim_list, npfsrlim) {
sys/netpfil/pf/pf_nl.c
526
struct nl_parsed_labels *l = (struct nl_parsed_labels *)target;
sys/netpfil/pf/pf_nl.c
529
if (l->i >= PF_RULE_MAX_LABEL_COUNT)
sys/netpfil/pf/pf_nl.c
533
l->labels[l->i]);
sys/netpfil/pf/pf_nl.c
535
l->i++;
sys/nfs/bootp_subr.c
1466
int i, l = sizeof(bootp_cookie) - 1;
sys/nfs/bootp_subr.c
1467
for (i = 0; i < l && p[i] != '\0'; i++)
sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h
65
struct sdpprf_log *l = \
sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h
68
l->idx = sdpprf_log_count - 1; \
sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h
69
l->pid = current->pid; \
sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h
70
l->sk_num = (sk) ? inet_sk(sk)->num : -1; \
sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h
71
l->sk_dport = (sk) ? ntohs(inet_sk(sk)->dport) : -1; \
sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h
72
l->cpu = smp_processor_id(); \
sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h
73
l->mb = s; \
sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h
74
snprintf(l->msg, sizeof(l->msg) - 1, format, ## arg); \
sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h
75
l->time = current_nsec(); \
sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h
76
l->func = __func__; \
sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h
77
l->line = __LINE__; \
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
359
struct sdpprf_log *l = v;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
367
t = l->time - start_t;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
372
l->idx, (unsigned long)t, nsec_rem/1000,
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
373
l->msg, l->pid, l->cpu, l->sk_num, l->sk_dport,
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
374
l->mb, l->func, l->line);
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
404
struct sdpprf_log *l = v;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
409
++l;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
410
if (l - &sdpprf_log[0] >= SDPPRF_LOG_SIZE - 1)
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
413
return l;
sys/ofed/include/rdma/ib_hdrs.h
122
} l;
sys/powerpc/aim/mmu_oea.c
1581
size_t l;
sys/powerpc/aim/mmu_oea.c
1585
l = ((char *)USER_ADDR + SEGMENT_LENGTH) - (char *)(*kaddr);
sys/powerpc/aim/mmu_oea.c
1586
if (l > ulen)
sys/powerpc/aim/mmu_oea.c
1587
l = ulen;
sys/powerpc/aim/mmu_oea.c
1589
*klen = l;
sys/powerpc/aim/mmu_oea.c
1590
else if (l != ulen)
sys/powerpc/aim/mmu_oea64.c
2228
size_t l;
sys/powerpc/aim/mmu_oea64.c
2235
l = ((char *)USER_ADDR + SEGMENT_LENGTH) - (char *)(*kaddr);
sys/powerpc/aim/mmu_oea64.c
2236
if (l > ulen)
sys/powerpc/aim/mmu_oea64.c
2237
l = ulen;
sys/powerpc/aim/mmu_oea64.c
2239
*klen = l;
sys/powerpc/aim/mmu_oea64.c
2240
else if (l != ulen)
sys/powerpc/booke/pmap_64.c
207
unsigned long i, j, k, l;
sys/powerpc/booke/pmap_64.c
215
l = PTBL_IDX(va);
sys/powerpc/booke/pmap_64.c
220
for (; i < PG_ROOT_NENTRIES; i++, j = 0, k = 0, l = 0) {
sys/powerpc/booke/pmap_64.c
223
for (; j < PDIR_L1_NENTRIES; j++, k = 0, l = 0) {
sys/powerpc/booke/pmap_64.c
226
for (; k < PDIR_NENTRIES; k++, l = 0) {
sys/powerpc/booke/pmap_64.c
229
for (; l < PTBL_NENTRIES; l++) {
sys/powerpc/booke/pmap_64.c
230
pte = &pm_root[i][j][k][l];
sys/powerpc/booke/pmap_64.c
236
PAGE_SIZE * l;
sys/powerpc/fpu/fpu_explode.c
209
u_int64_t l, *xspace;
sys/powerpc/fpu/fpu_explode.c
212
l = xspace[0];
sys/powerpc/fpu/fpu_explode.c
219
s = fpu_xtof(fp, l);
sys/powerpc/include/asm.h
127
addi %r2, %r2, (.TOC.-name)@l; \
sys/powerpc/include/asm.h
152
ori reg, reg, var@l;
sys/powerpc/include/asm.h
169
ori reg, reg, var@l;
sys/powerpc/include/bus.h
293
#define bus_space_barrier(t, h, o, l, f) (*(t)->bs_barrier)(h, o, l, f)
sys/powerpc/ofw/ofw_syscons.c
813
uint32_t l;
sys/powerpc/ofw/ofw_syscons.c
835
ch1.l = ch2.l = (bg << 24) | (bg << 16) | (bg << 8) | bg;
sys/powerpc/ofw/ofw_syscons.c
851
addr[0] = ch1.l;
sys/powerpc/ofw/ofw_syscons.c
852
addr[1] = ch2.l;
sys/powerpc/powerpc/copyinout.c
166
size_t l;
sys/powerpc/powerpc/copyinout.c
181
if (pmap_map_user_ptr(pm, up, (void **)&p, len, &l)) {
sys/powerpc/powerpc/copyinout.c
186
bcopy(kp, p, l);
sys/powerpc/powerpc/copyinout.c
188
up += l;
sys/powerpc/powerpc/copyinout.c
189
kp += l;
sys/powerpc/powerpc/copyinout.c
190
len -= l;
sys/powerpc/powerpc/copyinout.c
205
size_t l;
sys/powerpc/powerpc/copyinout.c
220
if (pmap_map_user_ptr(pm, up, (void **)&p, len, &l)) {
sys/powerpc/powerpc/copyinout.c
225
bcopy(p, kp, l);
sys/powerpc/powerpc/copyinout.c
227
up += l;
sys/powerpc/powerpc/copyinout.c
228
kp += l;
sys/powerpc/powerpc/copyinout.c
229
len -= l;
sys/powerpc/powerpc/copyinout.c
244
size_t i, l, t;
sys/powerpc/powerpc/copyinout.c
263
if (pmap_map_user_ptr(pm, up, (void **)&p, len, &l)) {
sys/powerpc/powerpc/copyinout.c
268
for (i = 0; len > 0 && i < l; i++, t++, len--) {
sys/powerpc/powerpc/copyinout.c
276
up += l;
sys/powerpc/powerpc/syncicache.c
50
register_t l, off;
sys/powerpc/powerpc/syncicache.c
54
l = len += off;
sys/powerpc/powerpc/syncicache.c
60
} while ((l -= cacheline_size) > 0);
sys/riscv/include/bus.h
303
#define bus_space_barrier(t, h, o, l, f) \
sys/riscv/include/bus.h
304
(*(t)->bs_barrier)((t)->bs_cookie, (h), (o), (l), (f))
sys/rpc/xdr.h
160
long l;
sys/rpc/xdr.h
162
if (!xdr_getlong(xdrs, &l))
sys/rpc/xdr.h
164
*ip = (int32_t)l;
sys/rpc/xdr.h
171
long l;
sys/rpc/xdr.h
173
l = (long)*ip;
sys/rpc/xdr.h
174
return xdr_putlong(xdrs, &l);
sys/security/mac/mac_framework.h
443
void mac_syncache_create(struct label *l, struct inpcb *inp);
sys/security/mac/mac_framework.h
444
void mac_syncache_create_mbuf(struct label *l, struct mbuf *m);
sys/security/mac/mac_framework.h
445
void mac_syncache_destroy(struct label **l);
sys/security/mac/mac_framework.h
446
int mac_syncache_init(struct label **l);
sys/security/mac/mac_label.c
133
mac_label_get(struct label *l, int slot)
sys/security/mac/mac_label.c
136
KASSERT(l != NULL, ("mac_label_get: NULL label"));
sys/security/mac/mac_label.c
138
return (l->l_perpolicy[slot]);
sys/security/mac/mac_label.c
142
mac_label_set(struct label *l, int slot, intptr_t v)
sys/security/mac/mac_label.c
145
KASSERT(l != NULL, ("mac_label_set: NULL label"));
sys/security/mac/mac_label.c
147
l->l_perpolicy[slot] = v;
sys/security/mac/mac_policy.h
1123
intptr_t mac_label_get(struct label *l, int slot);
sys/security/mac/mac_policy.h
1124
void mac_label_set(struct label *l, int slot, intptr_t v);
sys/security/mac_biba/mac_biba.c
133
#define SLOT(l) ((struct mac_biba *)mac_label_get((l), biba_slot))
sys/security/mac_biba/mac_biba.c
134
#define SLOT_SET(l, val) mac_label_set((l), biba_slot, (uintptr_t)(val))
sys/security/mac_grantbylabel/mac_grantbylabel.c
78
#define SLOT(l) \
sys/security/mac_grantbylabel/mac_grantbylabel.c
79
mac_label_get((l), mac_grantbylabel_slot)
sys/security/mac_grantbylabel/mac_grantbylabel.c
80
#define SLOT_SET(l, v) \
sys/security/mac_grantbylabel/mac_grantbylabel.c
81
mac_label_set((l), mac_grantbylabel_slot, (v))
sys/security/mac_lomac/mac_lomac.c
126
#define SLOT(l) ((struct mac_lomac *)mac_label_get((l), lomac_slot))
sys/security/mac_lomac/mac_lomac.c
127
#define SLOT_SET(l, val) mac_label_set((l), lomac_slot, (uintptr_t)(val))
sys/security/mac_lomac/mac_lomac.c
128
#define PSLOT(l) ((struct mac_lomac_proc *) \
sys/security/mac_lomac/mac_lomac.c
129
mac_label_get((l), lomac_slot))
sys/security/mac_lomac/mac_lomac.c
130
#define PSLOT_SET(l, val) mac_label_set((l), lomac_slot, (uintptr_t)(val))
sys/security/mac_mls/mac_mls.c
121
#define SLOT(l) ((struct mac_mls *)mac_label_get((l), mls_slot))
sys/security/mac_mls/mac_mls.c
122
#define SLOT_SET(l, val) mac_label_set((l), mls_slot, (uintptr_t)(val))
sys/security/mac_partition/mac_partition.c
73
#define SLOT(l) mac_label_get((l), partition_slot)
sys/security/mac_partition/mac_partition.c
74
#define SLOT_SET(l, v) mac_label_set((l), partition_slot, (v))
sys/security/mac_veriexec/mac_veriexec.c
65
#define SLOT(l) \
sys/security/mac_veriexec/mac_veriexec.c
66
mac_label_get((l), mac_veriexec_slot)
sys/security/mac_veriexec/mac_veriexec.c
67
#define SLOT_SET(l, v) \
sys/security/mac_veriexec/mac_veriexec.c
68
mac_label_set((l), mac_veriexec_slot, (v))
sys/sys/asan.h
66
#define kasan_mark(p, s, l, c)
sys/sys/bus.h
1022
#define bus_barrier(r, o, l, f) \
sys/sys/bus.h
1023
bus_space_barrier((r)->r_bustag, (r)->r_bushandle, (o), (l), (f))
sys/sys/ktrace.h
371
#define ktrcpuset(s, l) \
sys/sys/ktrace.h
372
ktrstruct("cpuset_t", (s), l)
sys/sys/libkern.h
243
void *memmem(const void *l, size_t l_len, const void *s, size_t s_len);
sys/sys/lockstat.h
102
#define LOCKSTAT_PROFILE_OBTAIN_SPIN_LOCK_SUCCESS(probe, lp, c, wt, f, l) do { \
sys/sys/lockstat.h
103
lock_profile_obtain_lock_success(&(lp)->lock_object, true, c, wt, f, l); \
sys/sys/lockstat.h
107
#define LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(probe, lp, c, wt, f, l, a) do { \
sys/sys/lockstat.h
108
lock_profile_obtain_lock_success(&(lp)->lock_object, false, c, wt, f, l); \
sys/sys/lockstat.h
140
#define LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(probe, lp, c, wt, f, l) \
sys/sys/lockstat.h
141
lock_profile_obtain_lock_success(&(lp)->lock_object, false, c, wt, f, l)
sys/sys/lockstat.h
143
#define LOCKSTAT_PROFILE_OBTAIN_SPIN_LOCK_SUCCESS(probe, lp, c, wt, f, l) \
sys/sys/lockstat.h
144
lock_profile_obtain_lock_success(&(lp)->lock_object, true, c, wt, f, l)
sys/sys/lockstat.h
146
#define LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(probe, lp, c, wt, f, l, a) \
sys/sys/lockstat.h
147
LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(probe, lp, c, wt, f, l)
sys/sys/lockstat.h
97
#define LOCKSTAT_PROFILE_OBTAIN_LOCK_SUCCESS(probe, lp, c, wt, f, l) do { \
sys/sys/lockstat.h
98
lock_profile_obtain_lock_success(&(lp)->lock_object, false, c, wt, f, l); \
sys/sys/msan.h
79
#define kmsan_thread_free(l)
sys/sys/msan.h
82
#define kmsan_orig(p, l, c, a)
sys/sys/msan.h
83
#define kmsan_mark(p, l, c)
sys/sys/mutex.h
172
#define mtx_trylock_flags_(m, o, f, l) \
sys/sys/mutex.h
173
_mtx_trylock_flags_(&(m)->mtx_lock, o, f, l)
sys/sys/mutex.h
175
#define _mtx_lock_sleep(m, v, o, f, l) \
sys/sys/mutex.h
176
__mtx_lock_sleep(&(m)->mtx_lock, v, o, f, l)
sys/sys/mutex.h
177
#define _mtx_unlock_sleep(m, v, o, f, l) \
sys/sys/mutex.h
178
__mtx_unlock_sleep(&(m)->mtx_lock, v, o, f, l)
sys/sys/mutex.h
180
#define _mtx_lock_sleep(m, v, o, f, l) \
sys/sys/mutex.h
182
#define _mtx_unlock_sleep(m, v, o, f, l) \
sys/sys/mutex.h
187
#define _mtx_lock_spin(m, v, o, f, l) \
sys/sys/mutex.h
188
_mtx_lock_spin_cookie(&(m)->mtx_lock, v, o, f, l)
sys/sys/mutex.h
190
#define _mtx_lock_spin(m, v, o, f, l) \
sys/sys/mutex.h
194
#define _mtx_lock_flags(m, o, f, l) \
sys/sys/mutex.h
195
__mtx_lock_flags(&(m)->mtx_lock, o, f, l)
sys/sys/mutex.h
196
#define _mtx_unlock_flags(m, o, f, l) \
sys/sys/mutex.h
197
__mtx_unlock_flags(&(m)->mtx_lock, o, f, l)
sys/sys/mutex.h
198
#define _mtx_lock_spin_flags(m, o, f, l) \
sys/sys/mutex.h
199
__mtx_lock_spin_flags(&(m)->mtx_lock, o, f, l)
sys/sys/mutex.h
200
#define _mtx_trylock_spin_flags(m, o, f, l) \
sys/sys/mutex.h
201
__mtx_trylock_spin_flags(&(m)->mtx_lock, o, f, l)
sys/sys/mutex.h
202
#define _mtx_unlock_spin_flags(m, o, f, l) \
sys/sys/mutex.h
203
__mtx_unlock_spin_flags(&(m)->mtx_lock, o, f, l)
sys/sys/mutex.h
205
#define _mtx_assert(m, w, f, l) \
sys/sys/mutex.h
206
__mtx_assert(&(m)->mtx_lock, w, f, l)
sys/sys/qmath.h
482
#define Q_QCLONEQ(l, r) \
sys/sys/qmath.h
484
Q_BT(*(l)) _l = Q_GCVAL(r); \
sys/sys/qmath.h
487
*(l) = _l; \
sys/sys/qmath.h
488
Q_SIFVAL(*(l), Q_GIFVAL(r)); \
sys/sys/qmath.h
494
#define Q_QCPYVALQ(l, r) \
sys/sys/qmath.h
496
int _err = Q_QCANREPQ(r, *(l)); \
sys/sys/qmath.h
498
Q_SIFVALS(*(l), Q_GIVAL(r), Q_GFVAL(r)); \
sys/sys/rwlock.h
169
#define _rw_wlock(rw, f, l) \
sys/sys/rwlock.h
170
_rw_wlock_cookie(&(rw)->rw_lock, f, l)
sys/sys/rwlock.h
171
#define _rw_try_wlock(rw, f, l) \
sys/sys/rwlock.h
172
__rw_try_wlock(&(rw)->rw_lock, f, l)
sys/sys/rwlock.h
173
#define _rw_wunlock(rw, f, l) \
sys/sys/rwlock.h
174
_rw_wunlock_cookie(&(rw)->rw_lock, f, l)
sys/sys/rwlock.h
175
#define _rw_try_rlock(rw, f, l) \
sys/sys/rwlock.h
176
__rw_try_rlock(&(rw)->rw_lock, f, l)
sys/sys/rwlock.h
178
#define _rw_rlock(rw, f, l) \
sys/sys/rwlock.h
179
__rw_rlock(&(rw)->rw_lock, f, l)
sys/sys/rwlock.h
180
#define _rw_runlock(rw, f, l) \
sys/sys/rwlock.h
181
_rw_runlock_cookie(&(rw)->rw_lock, f, l)
sys/sys/rwlock.h
183
#define _rw_rlock(rw, f, l) \
sys/sys/rwlock.h
185
#define _rw_runlock(rw, f, l) \
sys/sys/rwlock.h
189
#define _rw_wlock_hard(rw, v, f, l) \
sys/sys/rwlock.h
190
__rw_wlock_hard(&(rw)->rw_lock, v, f, l)
sys/sys/rwlock.h
191
#define _rw_wunlock_hard(rw, v, f, l) \
sys/sys/rwlock.h
192
__rw_wunlock_hard(&(rw)->rw_lock, v, f, l)
sys/sys/rwlock.h
193
#define _rw_try_upgrade(rw, f, l) \
sys/sys/rwlock.h
194
__rw_try_upgrade(&(rw)->rw_lock, f, l)
sys/sys/rwlock.h
195
#define _rw_downgrade(rw, f, l) \
sys/sys/rwlock.h
196
__rw_downgrade(&(rw)->rw_lock, f, l)
sys/sys/rwlock.h
198
#define _rw_wlock_hard(rw, v, f, l) \
sys/sys/rwlock.h
200
#define _rw_wunlock_hard(rw, v, f, l) \
sys/sys/rwlock.h
202
#define _rw_try_upgrade(rw, f, l) \
sys/sys/rwlock.h
204
#define _rw_downgrade(rw, f, l) \
sys/sys/rwlock.h
208
#define _rw_assert(rw, w, f, l) \
sys/sys/rwlock.h
209
__rw_assert(&(rw)->rw_lock, w, f, l)
sys/sys/socket.h
585
#define CMSG_SPACE(l) (_ALIGN(sizeof(struct cmsghdr)) + _ALIGN(l))
sys/sys/socket.h
586
#define CMSG_LEN(l) (_ALIGN(sizeof(struct cmsghdr)) + (l))
sys/sys/soundcard.h
1408
int i, l=(len); if (l>6)l=6;\
sys/sys/soundcard.h
1412
for(i=0;i<l;i++)_seqbuf[_seqbufptr+i+2] = (buf)[i];\
sys/sys/soundcard.h
1413
for(i=l;i<6;i++)_seqbuf[_seqbufptr+i+2] = 0xff;\
sys/sys/sysctl.h
218
#define SYSCTL_IN(r, p, l) (r->newfunc)(r, p, l)
sys/sys/sysctl.h
219
#define SYSCTL_OUT(r, p, l) (r->oldfunc)(r, p, l)
sys/sys/systm.h
252
#define ovbcopy(f, t, l) bcopy((f), (t), (l))
sys/sys/systm.h
321
#define copyin(u, k, l) SAN_INTERCEPTOR(copyin)((u), (k), (l))
sys/sys/systm.h
322
#define copyinstr(u, k, l, lc) SAN_INTERCEPTOR(copyinstr)((u), (k), (l), (lc))
sys/sys/systm.h
323
#define copyout(k, u, l) SAN_INTERCEPTOR(copyout)((k), (u), (l))
sys/x86/include/segments.h
92
#define USD_SETLIMIT(sd, l) (sd)->sd_lolimit = (l); \
sys/x86/include/segments.h
93
(sd)->sd_hilimit = ((l) >> 16);
sys/x86/iommu/intel_qi.c
248
u_int c, l;
sys/x86/iommu/intel_qi.c
255
l = ffs(start | cnt) - 1;
sys/x86/iommu/intel_qi.c
256
c = 1 << l;
sys/x86/iommu/intel_qi.c
260
DMAR_IQ_DESCR_IEC_IM(l), 0);
sys/x86/iommu/iommu_utils.c
775
struct iommu_map_entry *l, *r;
sys/x86/iommu/iommu_utils.c
782
l = RB_LEFT(entry, rb_entry);
sys/x86/iommu/iommu_utils.c
783
if (l == NULL)
sys/x86/iommu/iommu_utils.c
786
db_printf("%jx ", l->start);
sys/x86/x86/local_apic.c
1918
const struct lvt *l;
sys/x86/x86/local_apic.c
1934
l = &lvts[i];
sys/x86/x86/local_apic.c
1935
db_printf("LVT%d (reg %#x %-5s) = %#010x\n", i, l->lvt_reg,
sys/x86/x86/local_apic.c
1936
l->lvt_desc, lapic_read32(l->lvt_reg));
sys/x86/x86/local_apic.c
1941
l = &elvts[i];
sys/x86/x86/local_apic.c
1942
db_printf("ELVT%d (reg %#x %-5s) = %#010x\n", i, l->lvt_reg,
sys/x86/x86/local_apic.c
1943
l->lvt_desc, lapic_read32(l->lvt_reg));
sys/x86/x86/local_apic.c
826
lapic_early_mask_vec(const struct lvt *l)
sys/x86/x86/local_apic.c
830
if (l->lvt_masked != 0) {
sys/x86/x86/local_apic.c
831
v = lapic_read32(l->lvt_reg);
sys/x86/x86/local_apic.c
833
lapic_write32(l->lvt_reg, v);
sys/xdr/xdr.c
102
l = (long) *ip;
sys/xdr/xdr.c
103
return (XDR_PUTLONG(xdrs, &l));
sys/xdr/xdr.c
106
if (!XDR_GETLONG(xdrs, &l)) {
sys/xdr/xdr.c
109
*ip = (int) l;
sys/xdr/xdr.c
125
u_long l;
sys/xdr/xdr.c
129
l = (u_long) *up;
sys/xdr/xdr.c
130
return (XDR_PUTLONG(xdrs, (long *)&l));
sys/xdr/xdr.c
133
if (!XDR_GETLONG(xdrs, (long *)&l)) {
sys/xdr/xdr.c
136
*up = (u_int) l;
sys/xdr/xdr.c
191
long l;
sys/xdr/xdr.c
195
l = (long) *int32_p;
sys/xdr/xdr.c
196
return (XDR_PUTLONG(xdrs, &l));
sys/xdr/xdr.c
199
if (!XDR_GETLONG(xdrs, &l)) {
sys/xdr/xdr.c
202
*int32_p = (int32_t) l;
sys/xdr/xdr.c
219
u_long l;
sys/xdr/xdr.c
223
l = (u_long) *uint32_p;
sys/xdr/xdr.c
224
return (XDR_PUTLONG(xdrs, (long *)&l));
sys/xdr/xdr.c
227
if (!XDR_GETLONG(xdrs, (long *)&l)) {
sys/xdr/xdr.c
230
*uint32_p = (uint32_t) l;
sys/xdr/xdr.c
246
long l;
sys/xdr/xdr.c
250
l = (long) *sp;
sys/xdr/xdr.c
251
return (XDR_PUTLONG(xdrs, &l));
sys/xdr/xdr.c
254
if (!XDR_GETLONG(xdrs, &l)) {
sys/xdr/xdr.c
257
*sp = (short) l;
sys/xdr/xdr.c
273
u_long l;
sys/xdr/xdr.c
277
l = (u_long) *usp;
sys/xdr/xdr.c
278
return (XDR_PUTLONG(xdrs, (long *)&l));
sys/xdr/xdr.c
281
if (!XDR_GETLONG(xdrs, (long *)&l)) {
sys/xdr/xdr.c
284
*usp = (u_short) l;
sys/xdr/xdr.c
300
long l;
sys/xdr/xdr.c
304
l = (long) *int16_p;
sys/xdr/xdr.c
305
return (XDR_PUTLONG(xdrs, &l));
sys/xdr/xdr.c
308
if (!XDR_GETLONG(xdrs, &l)) {
sys/xdr/xdr.c
311
*int16_p = (int16_t) l;
sys/xdr/xdr.c
327
u_long l;
sys/xdr/xdr.c
331
l = (u_long) *uint16_p;
sys/xdr/xdr.c
332
return (XDR_PUTLONG(xdrs, (long *)&l));
sys/xdr/xdr.c
335
if (!XDR_GETLONG(xdrs, (long *)&l)) {
sys/xdr/xdr.c
338
*uint16_p = (uint16_t) l;
sys/xdr/xdr.c
98
long l;
sys/xdr/xdr_mem.c
142
uint32_t l;
sys/xdr/xdr_mem.c
147
memmove(&l, xdrs->x_private, sizeof(int32_t));
sys/xdr/xdr_mem.c
148
*lp = ntohl(l);
sys/xdr/xdr_mem.c
156
uint32_t l;
sys/xdr/xdr_mem.c
161
l = htonl((uint32_t)*lp);
sys/xdr/xdr_mem.c
162
memmove(xdrs->x_private, &l, sizeof(int32_t));
sys/xdr/xdr_mem.c
258
int32_t *l;
sys/xdr/xdr_mem.c
274
l = (int32_t *)info;
sys/xdr/xdr_mem.c
275
*l = (int32_t)ntohl((uint32_t)
sys/xdr/xdr_mem.c
283
l = (int32_t *)info;
sys/xdr/xdr_mem.c
284
len = RNDUP((int)(*l));
tests/sys/cddl/zfs/bin/mkfile.c
102
unsigned long long l;
tests/sys/cddl/zfs/bin/mkfile.c
104
l = length;
tests/sys/cddl/zfs/bin/mkfile.c
107
if ((length >> sh) != l) {
tests/sys/fs/fusefs/xattr.cc
534
size_t l = sizeof(attrs);
tests/sys/fs/fusefs/xattr.cc
535
strlcpy((char*)out.body.bytes, attrs, l);
tests/sys/fs/fusefs/xattr.cc
536
out.header.len = sizeof(fuse_out_header) + l;
tests/sys/fs/fusefs/xattr.cc
639
const char l[16] = "user.foobarbang";
tests/sys/fs/fusefs/xattr.cc
641
memcpy(&out.body.bytes[16 * i], l, 16);
tests/sys/kern/acct/acct_test.c
95
long l;
tests/sys/kern/acct/acct_test.c
97
l = random();
tests/sys/kern/acct/acct_test.c
98
v.c = encode_long(l);
tests/sys/kern/acct/acct_test.c
99
check_result(atf_tc_get_ident(tc), l, v);
tests/sys/kern/socket_accept.c
101
ATF_REQUIRE(accept(l, (struct sockaddr *)&ret, &salen) > 0);
tests/sys/kern/socket_accept.c
112
int l;
tests/sys/kern/socket_accept.c
114
l = tcp4_listensock(&sin);
tests/sys/kern/socket_accept.c
117
ATF_REQUIRE(accept(l, NULL, NULL) > 0);
tests/sys/kern/socket_accept.c
39
int l;
tests/sys/kern/socket_accept.c
41
ATF_REQUIRE((l = socket(PF_INET, SOCK_STREAM, 0)) > 0);
tests/sys/kern/socket_accept.c
42
ATF_REQUIRE(setsockopt(l, SOL_SOCKET, SO_REUSEADDR, &(socklen_t){1},
tests/sys/kern/socket_accept.c
49
ATF_REQUIRE(bind(l, (struct sockaddr *)sin, sizeof(*sin)) == 0);
tests/sys/kern/socket_accept.c
50
ATF_REQUIRE(getsockname(l, (struct sockaddr *)sin,
tests/sys/kern/socket_accept.c
52
ATF_REQUIRE(listen(l, -1) == 0);
tests/sys/kern/socket_accept.c
54
return (l);
tests/sys/kern/socket_accept.c
75
int l;
tests/sys/kern/socket_accept.c
77
l = tcp4_listensock(&sin);
tests/sys/kern/socket_accept.c
82
ATF_REQUIRE(accept(l, (struct sockaddr *)&ret, &salen) > 0);
tests/sys/kern/socket_accept.c
86
ATF_REQUIRE(accept(l, (struct sockaddr *)&ret, NULL) == -1);
tests/sys/kern/socket_accept.c
95
int l, s;
tests/sys/kern/socket_accept.c
97
l = tcp4_listensock(&sin);
tests/sys/kern/socket_accf.c
103
int l, s, a;
tests/sys/kern/socket_accf.c
105
l = listensock(&sin);
tests/sys/kern/socket_accf.c
106
accfon(l, &afa);
tests/sys/kern/socket_accf.c
108
ATF_REQUIRE(accept(l, NULL, 0) == -1);
tests/sys/kern/socket_accf.c
111
ATF_REQUIRE((a = accept(l, NULL, 0)) > 0);
tests/sys/kern/socket_accf.c
125
int l, s, a;
tests/sys/kern/socket_accf.c
127
l = listensock(&sin);
tests/sys/kern/socket_accf.c
128
accfon(l, &afa);
tests/sys/kern/socket_accf.c
132
ATF_REQUIRE(accept(l, NULL, 0) == -1);
tests/sys/kern/socket_accf.c
137
ATF_REQUIRE((a = accept(l, NULL, 0)) > 0);
tests/sys/kern/socket_accf.c
149
ATF_REQUIRE(accept(l, NULL, 0) == -1);
tests/sys/kern/socket_accf.c
154
ATF_REQUIRE((a = accept(l, NULL, 0)) > 0);
tests/sys/kern/socket_accf.c
168
int l, s, a;
tests/sys/kern/socket_accf.c
170
l = listensock(&sin);
tests/sys/kern/socket_accf.c
171
accfon(l, &afa);
tests/sys/kern/socket_accf.c
175
ATF_REQUIRE(accept(l, NULL, 0) == -1);
tests/sys/kern/socket_accf.c
184
ATF_REQUIRE((a = accept(l, NULL, 0)) > 0);
tests/sys/kern/socket_accf.c
206
ATF_REQUIRE(accept(l, NULL, 0) == -1);
tests/sys/kern/socket_accf.c
215
ATF_REQUIRE((a = accept(l, NULL, 0)) > 0);
tests/sys/kern/socket_accf.c
233
int n, l;
tests/sys/kern/socket_accf.c
235
l = listensock(&sin);
tests/sys/kern/socket_accf.c
236
accfon(l, &dfa);
tests/sys/kern/socket_accf.c
239
ATF_REQUIRE(setsockopt(l, SOL_SOCKET, SO_ACCEPTFILTER, &hfa,
tests/sys/kern/socket_accf.c
243
ATF_REQUIRE(setsockopt(l, SOL_SOCKET, SO_ACCEPTFILTER, NULL, 0) == 0);
tests/sys/kern/socket_accf.c
244
ATF_REQUIRE(setsockopt(l, SOL_SOCKET, SO_ACCEPTFILTER, &hfa,
tests/sys/kern/socket_accf.c
39
int l;
tests/sys/kern/socket_accf.c
41
ATF_REQUIRE((l = socket(PF_INET, SOCK_STREAM, 0)) > 0);
tests/sys/kern/socket_accf.c
42
ATF_REQUIRE(fcntl(l, F_SETFL, O_NONBLOCK) != -1);
tests/sys/kern/socket_accf.c
43
ATF_REQUIRE(setsockopt(l, SOL_SOCKET, SO_REUSEADDR, &(socklen_t){1},
tests/sys/kern/socket_accf.c
50
ATF_REQUIRE(bind(l, (struct sockaddr *)sin, sizeof(*sin)) == 0);
tests/sys/kern/socket_accf.c
51
ATF_REQUIRE(getsockname(l, (struct sockaddr *)sin,
tests/sys/kern/socket_accf.c
53
ATF_REQUIRE(listen(l, -1) == 0);
tests/sys/kern/socket_accf.c
55
return (l);
tests/sys/kern/socket_accf.c
70
accfon(int l, struct accept_filter_arg *af)
tests/sys/kern/socket_accf.c
72
if (setsockopt(l, SOL_SOCKET, SO_ACCEPTFILTER, af, sizeof(*af)) != 0) {
tests/sys/kern/timerfd.c
803
for (int l = 0; l < 10; ++l) {
tests/sys/kern/timerfd.c
848
for (int l = 0; l < 10; ++l) {
tests/sys/kern/unix_seqpacket_test.c
513
int l, s, a;
tests/sys/kern/unix_seqpacket_test.c
515
sun = mk_listening_socket(&l);
tests/sys/kern/unix_seqpacket_test.c
520
ATF_REQUIRE((a = accept(l, NULL, NULL)) != 1);
tests/sys/kern/unix_seqpacket_test.c
523
close(l);
tests/sys/kern/unix_seqpacket_test.c
546
int l, s, a;
tests/sys/kern/unix_seqpacket_test.c
551
sun = mk_listening_socket(&l);
tests/sys/kern/unix_seqpacket_test.c
555
ATF_REQUIRE((a = accept(l, NULL, NULL)) != 1);
tests/sys/kern/unix_seqpacket_test.c
564
close(l);
tests/sys/kern/unix_seqpacket_test.c
580
int l, s;
tests/sys/kern/unix_seqpacket_test.c
582
sun = mk_listening_socket(&l);
tests/sys/kern/unix_seqpacket_test.c
588
close(l);
tests/sys/kern/unix_seqpacket_test.c
88
int s, r, l;
tests/sys/kern/unix_seqpacket_test.c
94
l = listen(s, -1);
tests/sys/kern/unix_seqpacket_test.c
96
ATF_CHECK_EQ(0, l);
tests/sys/netgraph/util.h
75
#define ng_send_data(h,d,l) \
tests/sys/netgraph/util.h
76
_ng_send_data(h,d,l,__FILE__,__LINE__)
tests/sys/netinet/broadcast.c
105
int l, s;
tests/sys/netinet/broadcast.c
107
l = bcastsock();
tests/sys/netinet/broadcast.c
108
ATF_REQUIRE(bind(l, (struct sockaddr *)&sin, sizeof(sin)) == 0);
tests/sys/netinet/broadcast.c
109
ATF_REQUIRE(getsockname(l, (struct sockaddr *)&sin, &slen) == 0);
tests/sys/netinet/broadcast.c
113
bcastecho(s, &sin, l);
tests/sys/netinet/broadcast.c
116
close(l);
tests/sys/netinet/broadcast.c
132
int s, l;
tests/sys/netinet/broadcast.c
140
l = bcastsock();
tests/sys/netinet/broadcast.c
141
ATF_REQUIRE(bind(l, (struct sockaddr *)&sin, sizeof(sin)) == 0);
tests/sys/netinet/broadcast.c
142
ATF_REQUIRE(getsockname(l, (struct sockaddr *)&sin, &slen) == 0);
tests/sys/netinet/broadcast.c
154
bcastecho(s, &sin, l);
tests/sys/netinet/broadcast.c
158
close(l);
tests/sys/netinet/broadcast.c
175
int s, l;
tests/sys/netinet/broadcast.c
178
l = bcastsock();
tests/sys/netinet/broadcast.c
179
ATF_REQUIRE(bind(l, (struct sockaddr *)&sin, sizeof(sin)) == 0);
tests/sys/netinet/broadcast.c
180
ATF_REQUIRE(getsockname(l, (struct sockaddr *)&sin, &slen) == 0);
tests/sys/netinet/broadcast.c
183
bcastecho(s, &sin, l);
tests/sys/netinet/broadcast.c
186
close(l);
tools/build/bootstrap-m4/inittokenizer.c
1827
long l;
tools/build/bootstrap-m4/inittokenizer.c
1830
l = strtol(yytext, NULL, 0);
tools/build/bootstrap-m4/inittokenizer.c
1831
if (((l == LONG_MAX || l == LONG_MIN) && errno == ERANGE) ||
tools/build/bootstrap-m4/inittokenizer.c
1832
l > INT32_MAX || l < INT32_MIN) {
tools/build/bootstrap-m4/inittokenizer.c
1835
return l;
tools/build/bootstrap-m4/inittokenizer.c
1843
long l;
tools/build/bootstrap-m4/inittokenizer.c
1846
l = 0;
tools/build/bootstrap-m4/inittokenizer.c
1865
l = base * l + d;
tools/build/bootstrap-m4/inittokenizer.c
1869
return l;
tools/regression/include/tgmath/tgmath.c
49
long double (FNC ## l)(long double x) { n_long_double++; }
tools/regression/include/tgmath/tgmath.c
55
(FNC ## l)(long double x, long double y) { n_long_double++; }
tools/regression/include/tgmath/tgmath.c
60
TYPE (FNC ## l)(long double x) { n_long_double++; }
tools/regression/include/tgmath/tgmath.c
66
(FNC ## l)(long double complex x) { n_long_double_complex++; }
tools/regression/include/tgmath/tgmath.c
72
(FNC ## l)(long double complex x) { n_long_double_complex++; }
tools/regression/security/open_to_operation/open_to_operation.c
376
long l;
tools/regression/security/open_to_operation/open_to_operation.c
388
l = fpathconf(fd, _PC_FILESIZEBITS);
tools/regression/security/open_to_operation/open_to_operation.c
389
if (l >= 0)
tools/test/netfibs/reflect.c
104
buf[l-1] = '\n';
tools/test/netfibs/reflect.c
107
m = sendto(s, buf, l, 0, sa, salen);
tools/test/netfibs/reflect.c
109
m = write(s, buf, l);
tools/test/netfibs/reflect.c
112
warn("ignored expected: sendto(%s, %zd)", buf, l);
tools/test/netfibs/reflect.c
114
err(EX_OSERR, "write(%s, %zd)", buf, l);
tools/test/netfibs/reflect.c
115
else if (m != l)
tools/test/netfibs/reflect.c
116
err(EX_OSERR, "short write(%s, %zd) %zd", buf, l, m);
tools/test/netfibs/reflect.c
131
ssize_t l;
tools/test/netfibs/reflect.c
138
l = read(s, buf, sizeof(buf));
tools/test/netfibs/reflect.c
139
error = reflect_conn(s, buf, sizeof(buf), l, NULL, 0);
tools/test/netfibs/reflect.c
151
ssize_t l;
tools/test/netfibs/reflect.c
155
l = recvfrom(s, buf, sizeof(buf), 0, (struct sockaddr *)&from,
tools/test/netfibs/reflect.c
158
if (l != -1) {
tools/test/netfibs/reflect.c
167
error = reflect_conn(s, buf, sizeof(buf), l, (struct sockaddr *)&from,
tools/test/netfibs/reflect.c
170
if (l != -1) {
tools/test/netfibs/reflect.c
301
long long l;
tools/test/netfibs/reflect.c
315
l = strtoll(optarg, &dummy, 10);
tools/test/netfibs/reflect.c
316
if (*dummy != '\0' || l < 0)
tools/test/netfibs/reflect.c
318
fib = (u_int)l;
tools/test/netfibs/reflect.c
321
l = strtoll(optarg, &dummy, 10);
tools/test/netfibs/reflect.c
322
if (*dummy != '\0' || l < 0)
tools/test/netfibs/reflect.c
324
reflectfib = (u_int)l;
tools/test/netfibs/reflect.c
330
l = strtoll(optarg, &dummy, 10);
tools/test/netfibs/reflect.c
331
if (*dummy != '\0' || l < 0)
tools/test/netfibs/reflect.c
333
port = (uint16_t)l;
tools/test/netfibs/reflect.c
57
reflect_conn(int s, char *buf, size_t buflen, ssize_t l, struct sockaddr *sa,
tools/test/netfibs/reflect.c
62
if (l == -1)
tools/test/netfibs/reflect.c
64
if (l == 0)
tools/test/netfibs/reflect.c
66
if ((size_t)l > (buflen - 1))
tools/test/netfibs/reflect.c
69
buf[l-1] = '\0';
tools/test/netfibs/reflect.c
83
if (l < 8)
tools/test/netfibs/reflect.c
95
l = snprintf(buf, buflen, "FIB %u\n", reflectfib);
tools/test/netfibs/reflect.c
99
buf[l-1] = '\0';
tools/tools/ath/ath_ee_9287_print/9287.c
208
eeprom_v14_target_legacy_print(CAL_TARGET_POWER_LEG *l)
tools/tools/ath/ath_ee_9287_print/9287.c
211
if (l->bChannel == 0xff)
tools/tools/ath/ath_ee_9287_print/9287.c
213
printf(" bChannel: %d;", l->bChannel);
tools/tools/ath/ath_ee_9287_print/9287.c
215
printf(" %.2f", (float) l->tPow2x[i] / 2.0);
tools/tools/ath/ath_ee_9287_print/9287.c
221
eeprom_v14_target_ht_print(CAL_TARGET_POWER_HT *l)
tools/tools/ath/ath_ee_9287_print/9287.c
224
if (l->bChannel == 0xff)
tools/tools/ath/ath_ee_9287_print/9287.c
226
printf(" bChannel: %d;", l->bChannel);
tools/tools/ath/ath_ee_9287_print/9287.c
228
printf(" %.2f", (float) l->tPow2x[i] / 2.0);
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
299
eeprom_v14_target_legacy_print(CAL_TARGET_POWER_LEG *l)
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
302
if (l->bChannel == 0xff)
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
304
printf(" bChannel: %d;", l->bChannel);
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
306
printf(" %.2f", (float) l->tPow2x[i] / 2.0);
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
312
eeprom_v14_target_ht_print(CAL_TARGET_POWER_HT *l)
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
315
if (l->bChannel == 0xff)
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
317
printf(" bChannel: %d;", l->bChannel);
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
319
printf(" %.2f", (float) l->tPow2x[i] / 2.0);
tools/tools/ath/ath_ee_v4k_print/v4k.c
190
eeprom_v14_target_legacy_print(CAL_TARGET_POWER_LEG *l)
tools/tools/ath/ath_ee_v4k_print/v4k.c
193
if (l->bChannel == 0xff)
tools/tools/ath/ath_ee_v4k_print/v4k.c
195
printf(" bChannel: %d;", l->bChannel);
tools/tools/ath/ath_ee_v4k_print/v4k.c
197
printf(" %.2f", (float) l->tPow2x[i] / 2.0);
tools/tools/ath/ath_ee_v4k_print/v4k.c
203
eeprom_v14_target_ht_print(CAL_TARGET_POWER_HT *l)
tools/tools/ath/ath_ee_v4k_print/v4k.c
206
if (l->bChannel == 0xff)
tools/tools/ath/ath_ee_v4k_print/v4k.c
208
printf(" bChannel: %d;", l->bChannel);
tools/tools/ath/ath_ee_v4k_print/v4k.c
210
printf(" %.2f", (float) l->tPow2x[i] / 2.0);
tools/tools/ath/athprom/athprom.c
470
int i, l = lpdgain;
tools/tools/ath/athprom/athprom.c
477
if ((mask & 1) && l-- == 0)
tools/tools/ath/athrd/athrd.c
930
int i = 0, j, k, l;
tools/tools/ath/athrd/athrd.c
935
for (k = i+1, l = i; k < *nd; k++, l++)
tools/tools/ath/athrd/athrd.c
936
dst[l] = dst[k];
tools/tools/ath/athsurvey/athsurvey.c
168
int l = 0;
tools/tools/ath/athsurvey/athsurvey.c
197
if (l % 23 == 0) {
tools/tools/ath/athsurvey/athsurvey.c
208
l++;
tools/tools/netmap/nmreplay.c
1001
if (i >= l)
tools/tools/netmap/nmreplay.c
1008
while (i <l && !strchr(seps, src[i])) i++;
tools/tools/netmap/nmreplay.c
1014
av = calloc(1, (l+1) + (ac + 2)*sizeof(char *));
tools/tools/netmap/nmreplay.c
1090
add_to(const char ** v, int l, const char *arg, const char *msg)
tools/tools/netmap/nmreplay.c
1092
for (; l > 0 && *v != NULL ; l--, v++);
tools/tools/netmap/nmreplay.c
1093
if (l == 0) {
tools/tools/netmap/nmreplay.c
1107
const char *d[N_OPTS], *b[N_OPTS], *l[N_OPTS], *q[N_OPTS], *ifname[N_OPTS], *m[N_OPTS];
tools/tools/netmap/nmreplay.c
1114
bzero(l, sizeof(l));
tools/tools/netmap/nmreplay.c
1189
add_to(l, N_OPTS, optarg, "-L too many times");
tools/tools/netmap/nmreplay.c
1249
err += cmd_apply(loss_cfg, l[i], qs, &qs->c_loss);
tools/tools/netmap/nmreplay.c
1792
int l = q->cur_len;
tools/tools/netmap/nmreplay.c
1796
if (l >= MAX_PKT) {
tools/tools/netmap/nmreplay.c
1797
RD(5, "pkt len %d too large, trim to %d", l, MAX_PKT-1);
tools/tools/netmap/nmreplay.c
1798
l = MAX_PKT-1;
tools/tools/netmap/nmreplay.c
1800
q->cur_drop = r < plr[l];
tools/tools/netmap/nmreplay.c
1802
arg->d[1] += l * 8;
tools/tools/netmap/nmreplay.c
985
int l, i, ac; /* number of entries */
tools/tools/netmap/nmreplay.c
989
l = strlen(src);
tools/tools/netmap/nmreplay.c
997
while (i < l) {
tools/tools/netmap/nmreplay.c
999
while (i <l && strchr(seps, src[i]))
tools/tools/netmap/pkt-gen.c
1236
int err, l = g->virt_header;
tools/tools/netmap/pkt-gen.c
1240
if (l == 0)
tools/tools/netmap/pkt-gen.c
1250
D("Unable to set virtio-net header length %d", l);
tools/tools/netrate/netreceive/netreceive.c
48
static int round_to(int n, int l)
tools/tools/netrate/netreceive/netreceive.c
50
return ((n + l - 1)/l)*l;
tools/tools/wtap/vis_map/vis_map.c
105
l.op = 0;
tools/tools/wtap/vis_map/vis_map.c
106
l.id1 = atoi(argv[2]);
tools/tools/wtap/vis_map/vis_map.c
107
l.id2 = atoi(argv[3]);
tools/tools/wtap/vis_map/vis_map.c
108
link_op(&l);
tools/tools/wtap/vis_map/vis_map.c
50
link_op(struct link *l)
tools/tools/wtap/vis_map/vis_map.c
52
if (ioctl(dev, VISIOCTLLINK, l) < 0) {
tools/tools/wtap/vis_map/vis_map.c
67
struct link l;
tools/tools/wtap/vis_map/vis_map.c
95
l.op = 1;
tools/tools/wtap/vis_map/vis_map.c
96
l.id1 = atoi(argv[2]);
tools/tools/wtap/vis_map/vis_map.c
97
l.id2 = atoi(argv[3]);
tools/tools/wtap/vis_map/vis_map.c
98
link_op(&l);
usr.bin/ar/acpyacc.y
559
struct list *l;
usr.bin/ar/acpyacc.y
561
l = malloc(sizeof(*l));
usr.bin/ar/acpyacc.y
562
if (l == NULL)
usr.bin/ar/acpyacc.y
564
l->str = str;
usr.bin/ar/acpyacc.y
565
l->next = list;
usr.bin/ar/acpyacc.y
567
return (l);
usr.bin/ar/acpyacc.y
586
struct list *l;
usr.bin/ar/acpyacc.y
589
for(; list; list = l) {
usr.bin/ar/acpyacc.y
590
l = list->next;
usr.bin/calendar/io.c
430
ssize_t l;
usr.bin/calendar/io.c
497
for (l = linelen;
usr.bin/calendar/io.c
498
l > 0 && isspace((unsigned char)buf[l - 1]);
usr.bin/calendar/io.c
499
l--)
usr.bin/calendar/io.c
501
buf[l] = '\0';
usr.bin/calendar/locale.c
111
for (l = strlen(buf);
usr.bin/calendar/locale.c
112
l > 0 && isspace((unsigned char)buf[l - 1]);
usr.bin/calendar/locale.c
113
l--)
usr.bin/calendar/locale.c
115
buf[l] = '\0';
usr.bin/calendar/locale.c
123
for (l = strlen(buf);
usr.bin/calendar/locale.c
124
l > 0 && isspace((unsigned char)buf[l - 1]);
usr.bin/calendar/locale.c
125
l--)
usr.bin/calendar/locale.c
127
buf[l] = '\0';
usr.bin/calendar/locale.c
76
int i, l;
usr.bin/calendar/locale.c
83
for (l = strlen(buf);
usr.bin/calendar/locale.c
84
l > 0 && isspace((unsigned char)buf[l - 1]);
usr.bin/calendar/locale.c
85
l--)
usr.bin/calendar/locale.c
87
buf[l] = '\0';
usr.bin/calendar/locale.c
95
for (l = strlen(buf);
usr.bin/calendar/locale.c
96
l > 0 && isspace((unsigned char)buf[l - 1]);
usr.bin/calendar/locale.c
97
l--)
usr.bin/calendar/locale.c
99
buf[l] = '\0';
usr.bin/calendar/pom.c
209
double N, Msol, Ec, LambdaSol, l, Mm, Ev, Ac, A3, Mmprime;
usr.bin/calendar/pom.c
219
l = 13.1763966 * onday + lzero; /* sec 61 #4 */
usr.bin/calendar/pom.c
220
adj360(&l);
usr.bin/calendar/pom.c
221
Mm = l - (0.1114041 * onday) - Pzero; /* sec 61 #5 */
usr.bin/calendar/pom.c
225
Ev = 1.2739 * sin(dtor(2*(l - LambdaSol) - Mm)); /* sec 61 #7 */
usr.bin/calendar/pom.c
231
lprime = l + Ev + Ec - Ac + A4; /* sec 61 #12 */
usr.bin/col/col.c
117
LINE *l; /* current line */
usr.bin/col/col.c
172
lines = l = alloc_line();
usr.bin/col/col.c
251
l->l_prev != NULL) {
usr.bin/col/col.c
252
l = l->l_prev;
usr.bin/col/col.c
265
l->l_prev = lnew;
usr.bin/col/col.c
266
lnew->l_next = l;
usr.bin/col/col.c
267
l = lines = lnew;
usr.bin/col/col.c
280
if (l->l_next == NULL) {
usr.bin/col/col.c
281
l->l_next = alloc_line();
usr.bin/col/col.c
282
l->l_next->l_prev = l;
usr.bin/col/col.c
284
l = l->l_next;
usr.bin/col/col.c
301
if (l->l_line_len + 1 >= l->l_lsize) {
usr.bin/col/col.c
304
need = l->l_lsize ? l->l_lsize * 2 : 90;
usr.bin/col/col.c
305
if ((l->l_line = realloc(l->l_line,
usr.bin/col/col.c
308
l->l_lsize = need;
usr.bin/col/col.c
310
c = &l->l_line[l->l_line_len++];
usr.bin/col/col.c
319
if (cur_col < l->l_max_col)
usr.bin/col/col.c
320
l->l_needs_sort = 1;
usr.bin/col/col.c
322
l->l_max_col = cur_col;
usr.bin/col/col.c
335
l = lines;
usr.bin/col/col.c
340
for (; l->l_next; l = l->l_next)
usr.bin/col/col.c
368
LINE *l;
usr.bin/col/col.c
371
l = lines;
usr.bin/col/col.c
372
lines = l->l_next;
usr.bin/col/col.c
373
if (l->l_line) {
usr.bin/col/col.c
375
flush_line(l);
usr.bin/col/col.c
376
free(l->l_line);
usr.bin/col/col.c
378
if (l->l_next)
usr.bin/col/col.c
380
free_line(l);
usr.bin/col/col.c
420
flush_line(LINE *l)
usr.bin/col/col.c
426
nchars = l->l_line_len;
usr.bin/col/col.c
428
if (l->l_needs_sort) {
usr.bin/col/col.c
436
if (l->l_lsize > sorted_size) {
usr.bin/col/col.c
437
sorted_size = l->l_lsize;
usr.bin/col/col.c
442
if (l->l_max_col >= count_size) {
usr.bin/col/col.c
443
count_size = l->l_max_col + 1;
usr.bin/col/col.c
448
memset(count, 0, sizeof(int) * l->l_max_col + 1);
usr.bin/col/col.c
449
for (i = nchars, c = l->l_line; --i >= 0; c++)
usr.bin/col/col.c
456
for (tot = 0, i = 0; i <= l->l_max_col; i++) {
usr.bin/col/col.c
462
for (i = nchars, c = l->l_line; --i >= 0; c++)
usr.bin/col/col.c
466
c = l->l_line;
usr.bin/col/col.c
552
LINE *l;
usr.bin/col/col.c
556
if ((l = realloc(NULL, sizeof(LINE) * NALLOC)) == NULL)
usr.bin/col/col.c
558
line_freelist = l;
usr.bin/col/col.c
559
for (i = 1; i < NALLOC; i++, l++)
usr.bin/col/col.c
560
l->l_next = l + 1;
usr.bin/col/col.c
561
l->l_next = NULL;
usr.bin/col/col.c
563
l = line_freelist;
usr.bin/col/col.c
564
line_freelist = l->l_next;
usr.bin/col/col.c
566
memset(l, 0, sizeof(LINE));
usr.bin/col/col.c
567
return (l);
usr.bin/col/col.c
571
free_line(LINE *l)
usr.bin/col/col.c
574
l->l_next = line_freelist;
usr.bin/col/col.c
575
line_freelist = l;
usr.bin/diff/diffreg.c
640
int i, k, y, j, l;
usr.bin/diff/diffreg.c
664
l = search(c, k, y);
usr.bin/diff/diffreg.c
665
if (l != oldl + 1)
usr.bin/diff/diffreg.c
666
oldc = c[l - 1];
usr.bin/diff/diffreg.c
667
if (l <= k) {
usr.bin/diff/diffreg.c
668
if (clist[c[l]].y <= y)
usr.bin/diff/diffreg.c
670
tc = c[l];
usr.bin/diff/diffreg.c
671
c[l] = newcand(i, y, oldc);
usr.bin/diff/diffreg.c
673
oldl = l;
usr.bin/diff/diffreg.c
676
c[l] = newcand(i, y, oldc);
usr.bin/diff/diffreg.c
704
int i, j, l, t;
usr.bin/diff/diffreg.c
711
l = (i + j) / 2;
usr.bin/diff/diffreg.c
712
if (l <= i)
usr.bin/diff/diffreg.c
714
t = clist[c[l]].y;
usr.bin/diff/diffreg.c
716
j = l;
usr.bin/diff/diffreg.c
718
i = l;
usr.bin/diff/diffreg.c
720
return (l);
usr.bin/diff/diffreg.c
722
return (l + 1);
usr.bin/diff/diffreg.c
899
unsort(struct line *f, int l, int *b)
usr.bin/diff/diffreg.c
903
a = xcalloc(l + 1, sizeof(*a));
usr.bin/diff/diffreg.c
904
for (i = 1; i <= l; i++)
usr.bin/diff/diffreg.c
906
for (i = 1; i <= l; i++)
usr.bin/dtc/fdt.cc
1055
std::unordered_set<std::string> &&l,
usr.bin/dtc/fdt.cc
1060
std::move(l),
usr.bin/dtc/fdt.cc
1105
for (auto &l : other->labels)
usr.bin/dtc/fdt.cc
1107
labels.insert(l);
usr.bin/dtc/fdt.cc
496
string_set &&l,
usr.bin/dtc/fdt.cc
498
define_map *defines) : key(k), labels(l), valid(true)
usr.bin/dtc/fdt.cc
670
for (auto &l : labels)
usr.bin/dtc/fdt.cc
672
fputs(l.c_str(), file);
usr.bin/dtc/fdt.cc
879
std::unordered_set<string> &&l,
usr.bin/dtc/fdt.cc
882
: labels(l), name(n), unit_address(a), valid(true)
usr.bin/dtc/fdt.hh
203
property_value(std::string l=std::string()) : label(l), type(UNKNOWN) {}
usr.bin/dtc/fdt.hh
322
string_set &&l,
usr.bin/dtc/fdt.hh
329
property(std::string &&k, string_set &&l=string_set())
usr.bin/dtc/fdt.hh
330
: key(k), labels(l), valid(true) {}
usr.bin/dtc/fdt.hh
531
std::unordered_set<std::string> &&l,
usr.bin/dtc/input_buffer.cc
435
expression(source_location l) : loc(l) {}
usr.bin/dtc/input_buffer.cc
490
terminal_expr(source_location l, valty v) : expression(l), val(v) {}
usr.bin/dtc/input_buffer.cc
508
paren_expression(source_location l, expression_ptr p) : expression(l),
usr.bin/dtc/input_buffer.cc
564
unary_operator(source_location l, expression_ptr p) :
usr.bin/dtc/input_buffer.cc
565
expression(l), subexpr(std::move(p)) {}
usr.bin/dtc/input_buffer.cc
618
result l = (*lhs)();
usr.bin/dtc/input_buffer.cc
620
if (!(l.second && r.second))
usr.bin/dtc/input_buffer.cc
624
return {op(l.first, r.first), true};
usr.bin/dtc/input_buffer.cc
635
binary_operator(source_location l, const char *) :
usr.bin/dtc/input_buffer.cc
636
binary_operator_base(l) {}
usr.bin/dtc/input_buffer.cc
639
binary_operator(source_location l, const char *o) :
usr.bin/dtc/input_buffer.cc
640
binary_operator_base(l), opName(o) {}
usr.bin/dtc/input_buffer.cc
671
result l = (*lhs)();
usr.bin/dtc/input_buffer.cc
673
if (!(l.second && r.second && c.second))
usr.bin/dtc/input_buffer.cc
677
return c.first ? l : r;
usr.bin/dtc/input_buffer.cc
699
expression_ptr l,
usr.bin/dtc/input_buffer.cc
701
expression(sl), cond(std::move(c)), lhs(std::move(l)),
usr.bin/dtc/input_buffer.cc
764
source_location l = location();
usr.bin/dtc/input_buffer.cc
770
expr = new binary_operator<6, std::plus<valty>>(l, "+");
usr.bin/dtc/input_buffer.cc
773
expr = new binary_operator<6, std::minus<valty>>(l, "-");
usr.bin/dtc/input_buffer.cc
776
expr = new divmod<std::modulus<valty>>(l, "/");
usr.bin/dtc/input_buffer.cc
779
expr = new binary_operator<5, std::multiplies<valty>>(l, "*");
usr.bin/dtc/input_buffer.cc
782
expr = new divmod<std::divides<valty>>(l, "/");
usr.bin/dtc/input_buffer.cc
793
expr = new binary_operator<8, std::less<valty>>(l, "<");
usr.bin/dtc/input_buffer.cc
797
expr = new binary_operator<8, std::less_equal<valty>>(l, "<=");
usr.bin/dtc/input_buffer.cc
801
expr = new binary_operator<7, lshift<valty>>(l, "<<");
usr.bin/dtc/input_buffer.cc
814
expr = new binary_operator<8, std::greater<valty>>(l, ">");
usr.bin/dtc/input_buffer.cc
818
expr = new binary_operator<8, std::greater_equal<valty>>(l, ">=");
usr.bin/dtc/input_buffer.cc
822
expr = new binary_operator<7, rshift<valty>>(l, ">>");
usr.bin/dtc/input_buffer.cc
833
expr = new binary_operator<9, std::equal_to<valty>>(l, "==");
usr.bin/dtc/input_buffer.cc
842
expr = new binary_operator<9, std::not_equal_to<valty>>(l, "!=");
usr.bin/dtc/input_buffer.cc
847
expr = new binary_operator<13, std::logical_and<valty>>(l, "&&");
usr.bin/dtc/input_buffer.cc
851
expr = new binary_operator<10, std::bit_and<valty>>(l, "&");
usr.bin/dtc/input_buffer.cc
857
expr = new binary_operator<12, std::logical_or<valty>>(l, "||");
usr.bin/dtc/input_buffer.cc
861
expr = new binary_operator<14, std::bit_or<valty>>(l, "|");
usr.bin/dtc/input_buffer.cc
880
return expression_ptr(new ternary_conditional_operator(l, std::move(lhs),
usr.bin/dtc/input_buffer.cc
915
source_location l = location();
usr.bin/dtc/input_buffer.cc
928
lhs.reset(new terminal_expr(l, leftVal));
usr.bin/dtc/input_buffer.cc
935
lhs.reset(new terminal_expr(l, leftVal));
usr.bin/dtc/input_buffer.cc
945
lhs.reset(new paren_expression(l, std::move(subexpr)));
usr.bin/dtc/input_buffer.cc
964
lhs.reset(new unary_operator<'+', unary_plus<valty>>(l, std::move(subexpr)));
usr.bin/dtc/input_buffer.cc
975
lhs.reset(new unary_operator<'-', std::negate<valty>>(l, std::move(subexpr)));
usr.bin/dtc/input_buffer.cc
986
lhs.reset(new unary_operator<'!', std::logical_not<valty>>(l, std::move(subexpr)));
usr.bin/dtc/input_buffer.cc
997
lhs.reset(new unary_operator<'~', bit_not<valty>>(l, std::move(subexpr)));
usr.bin/fmt/fmt.c
694
size_t l = length;
usr.bin/fmt/fmt.c
696
while (l > 0 && iswspace(*line)) {
usr.bin/fmt/fmt.c
698
--l;
usr.bin/fmt/fmt.c
700
length = l;
usr.bin/fmt/fmt.c
703
l = width;
usr.bin/fmt/fmt.c
704
while (l < goal_length) {
usr.bin/fmt/fmt.c
706
l += 2;
usr.bin/fortune/fortune/fortune.c
63
#define DPRINTF(l,x) { if (Debug >= l) fprintf x; }
usr.bin/fortune/fortune/fortune.c
66
#define DPRINTF(l,x)
usr.bin/grep/grep.c
317
long long l;
usr.bin/grep/grep.c
408
l = strtoll(optarg, &ep, 10);
usr.bin/grep/grep.c
414
} else if (l < 0) {
usr.bin/grep/grep.c
420
Aflag = l;
usr.bin/grep/grep.c
422
Bflag = l;
usr.bin/grep/grep.c
424
Aflag = Bflag = l;
usr.bin/gzip/unlz.c
385
lz_bm_init(int *a, size_t l)
usr.bin/gzip/unlz.c
387
for (size_t i = 0; i < l; i++)
usr.bin/gzip/unlz.c
393
size_t l = nitems(a[0]); \
usr.bin/gzip/unlz.c
395
lz_bm_init(a[i], l); \
usr.bin/ident/ident.c
107
if (isalpha_l(c, l)) {
usr.bin/ident/ident.c
171
if (iscntrl_l(c, l)) {
usr.bin/ident/ident.c
198
freelocale(l);
usr.bin/ident/ident.c
62
locale_t l;
usr.bin/ident/ident.c
64
l = newlocale(LC_ALL_MASK, "C", NULL);
usr.bin/ident/ident.c
86
if (isalpha_l(c, l)) {
usr.bin/m4/gnum4.c
487
size_t l = strlen(argv[3]);
usr.bin/m4/gnum4.c
491
(l > 0 && argv[3][l-1] == '$'))
usr.bin/m4/gnum4.c
549
size_t l;
usr.bin/m4/gnum4.c
615
l = strlen(thisarg);
usr.bin/m4/gnum4.c
616
if ((long)l > extra)
usr.bin/m4/gnum4.c
617
l = extra;
usr.bin/m4/gnum4.c
619
while ((long)l < width--)
usr.bin/m4/gnum4.c
622
addchars(thisarg, l);
usr.bin/m4/gnum4.c
624
while ((long)l < width--)
usr.bin/m4/main.c
353
int t, l;
usr.bin/m4/main.c
369
l = gpbc();
usr.bin/m4/main.c
370
if (LOOK_AHEAD(l,rquote)) {
usr.bin/m4/main.c
373
} else if (LOOK_AHEAD(l,lquote)) {
usr.bin/m4/main.c
376
} else if (l == EOF) {
usr.bin/m4/main.c
386
reallyputchar(l);
usr.bin/m4/main.c
388
CHRSAVE(l);
usr.bin/m4/main.c
408
pushback(l = gpbc());
usr.bin/m4/main.c
409
if (p == NULL || (l != LPAREN &&
usr.bin/m4/main.c
428
if (l != LPAREN && PARLEV == 0) {
usr.bin/m4/main.c
464
while (isspace(l = gpbc())) /* skip blank, tab, nl.. */
usr.bin/m4/main.c
466
chrsave(l);
usr.bin/m4/main.c
467
pushback(l);
usr.bin/m4/main.c
492
while (isspace(l = gpbc()))
usr.bin/m4/main.c
494
pushback(l);
usr.bin/mail/cmd2.c
506
igcomp(const void *l, const void *r)
usr.bin/mail/cmd2.c
509
return (strcmp(*(const char **)l, *(const char **)r));
usr.bin/mail/fio.c
325
int pid, l;
usr.bin/mail/fio.c
379
l = read(pivec[0], xname, BUFSIZ);
usr.bin/mail/fio.c
386
if (l < 0) {
usr.bin/mail/fio.c
390
if (l == 0) {
usr.bin/mail/fio.c
394
if (l == BUFSIZ) {
usr.bin/mail/fio.c
398
xname[l] = '\0';
usr.bin/mail/fio.c
399
for (cp = &xname[l-1]; *cp == '\n' && cp > xname; cp--)
usr.bin/msgs/msgs.c
704
int l = 0;
usr.bin/msgs/msgs.c
708
l++;
usr.bin/msgs/msgs.c
711
return (l);
usr.bin/mt/mt.c
562
size_t l = strlen(s);
usr.bin/mt/mt.c
565
if (strncasecmp(ct->name, s, l) == 0)
usr.bin/ncal/ncal.c
782
int i, j, k, l; /* just indices */
usr.bin/ncal/ncal.c
830
l = 0;
usr.bin/ncal/ncal.c
839
ds + dt.d * dw, dw, &l);
usr.bin/ncal/ncal.c
841
memcpy(mlines->lines[i] + k + l,
usr.bin/ncal/ncal.c
844
memcpy(mlines->lines[i] + k + l, " ", dw);
usr.bin/ncal/ncal.c
846
mlines->lines[i][k + l] = '\0';
usr.bin/ncal/ncal.c
847
mlines->extralen[i] = l;
usr.bin/ncal/ncal.c
872
int i, j, k, l; /* just indices */
usr.bin/ncal/ncal.c
936
l = 0;
usr.bin/ncal/ncal.c
946
ds + dt.d * dw, dw, &l);
usr.bin/ncal/ncal.c
948
memcpy(mlines->lines[i] + k + l,
usr.bin/ncal/ncal.c
951
memcpy(mlines->lines[i] + k + l, " ", dw);
usr.bin/ncal/ncal.c
956
mlines->lines[i][k + l] = '\0';
usr.bin/ncal/ncal.c
957
mlines->extralen[i] = l;
usr.bin/netstat/inet.c
397
int l = max (2, 9 - strlen(name));
usr.bin/netstat/inet.c
399
xo_emit("{d:protocol/%.7s%-*.*s} ", name, l, l, vchar);
usr.bin/patch/common.h
50
#define strnNE(s1,s2,l) (strncmp(s1, s2, l) != 0)
usr.bin/patch/common.h
51
#define strnEQ(s1,s2,l) (strncmp(s1, s2, l) == 0)
usr.bin/patch/pch.c
759
int l;
usr.bin/patch/pch.c
761
l = strlen(p_line[p_end]) - 1;
usr.bin/patch/pch.c
762
(p_line[p_end])[l] = 0;
usr.bin/pom/pom.c
178
double N, Msol, Ec, LambdaSol, l, Mm, Ev, Ac, A3, Mmprime;
usr.bin/pom/pom.c
188
l = 13.1763966 * days + lzero; /* sec 61 #4 */
usr.bin/pom/pom.c
189
adj360(&l);
usr.bin/pom/pom.c
190
Mm = l - (0.1114041 * days) - Pzero; /* sec 61 #5 */
usr.bin/pom/pom.c
194
Ev = 1.2739 * sin(dtor(2*(l - LambdaSol) - Mm)); /* sec 61 #7 */
usr.bin/pom/pom.c
200
lprime = l + Ev + Ec - Ac + A4; /* sec 61 #12 */
usr.bin/printf/printf.c
204
int l;
usr.bin/printf/printf.c
213
l = strspn(fmt, digits);
usr.bin/printf/printf.c
214
if ((l > 0) && (fmt[l] == '$')) {
usr.bin/printf/printf.c
223
fmt += l + 1;
usr.bin/printf/printf.c
240
l = strspn(fmt, digits);
usr.bin/printf/printf.c
241
if ((l > 0) && (fmt[l] == '$')) {
usr.bin/printf/printf.c
252
fmt += l + 1;
usr.bin/printf/printf.c
284
l = strspn(fmt, digits);
usr.bin/printf/printf.c
285
if ((l > 0) && (fmt[l] == '$')) {
usr.bin/printf/printf.c
296
fmt += l + 1;
usr.bin/procstat/procstat.c
139
size_t i, l;
usr.bin/procstat/procstat.c
161
for (i = 0, l = nitems(cmd_table); i < l; i++) {
usr.bin/procstat/procstat.c
162
multi = i + 1 < l && cmd_table[i].cmd ==
usr.bin/procstat/procstat.c
167
for (; i + 1 < l && cmd_table[i].cmd ==
usr.bin/procstat/procstat.c
261
size_t i, l;
usr.bin/procstat/procstat.c
267
if ((l = strlen(str)) == 0)
usr.bin/procstat/procstat.c
269
s = l > 1 && strcasecmp(str + l - 1, "s") == 0;
usr.bin/procstat/procstat.c
276
cmp = strncasecmp(str, cmd_table[i].command, l -
usr.bin/procstat/procstat.c
279
l == strlen(cmd_table[i].command) + 1)
usr.bin/procstat/procstat.c
280
cmp = strncasecmp(str, cmd_table[i].command, l - 1);
usr.bin/procstat/procstat.c
297
long l;
usr.bin/procstat/procstat.c
410
l = strtol(optarg, &dummy, 10);
usr.bin/procstat/procstat.c
413
if (l < 1 || l > INT_MAX)
usr.bin/procstat/procstat.c
415
interval = l;
usr.bin/procstat/procstat.c
493
l = strtol(argv[i], &dummy, 10);
usr.bin/procstat/procstat.c
495
if (l < 0)
usr.bin/procstat/procstat.c
497
pid = l;
usr.bin/rpcgen/rpc_clntout.c
109
decl_list *l;
usr.bin/rpcgen/rpc_clntout.c
136
for (l = proc->args.decls; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_clntout.c
137
pdeclaration(proc->args.argname, &l->decl, 0, ", ");
usr.bin/rpcgen/rpc_clntout.c
163
decl_list *l;
usr.bin/rpcgen/rpc_clntout.c
216
for (l = proc->args.decls; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_clntout.c
218
l->decl.name, l->decl.name);
usr.bin/rpcgen/rpc_clntout.c
53
list *l;
usr.bin/rpcgen/rpc_clntout.c
60
for (l = defined; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_clntout.c
61
def = (definition *) l->val;
usr.bin/rpcgen/rpc_hout.c
152
decl_list *l;
usr.bin/rpcgen/rpc_hout.c
167
for (l = plist->args.decls;
usr.bin/rpcgen/rpc_hout.c
168
l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_hout.c
169
pdeclaration(name, &l->decl, 1,
usr.bin/rpcgen/rpc_hout.c
185
decl_list *l;
usr.bin/rpcgen/rpc_hout.c
189
for (l = def->def.st.decls; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_hout.c
190
pdeclaration(name, &l->decl, 1, ";\n");
usr.bin/rpcgen/rpc_hout.c
199
case_list *l;
usr.bin/rpcgen/rpc_hout.c
211
for (l = def->def.un.cases; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_hout.c
212
if (l->contflag == 0)
usr.bin/rpcgen/rpc_hout.c
213
pdeclaration(name, &l->case_decl, 2, ";\n");
usr.bin/rpcgen/rpc_hout.c
368
enumval_list *l;
usr.bin/rpcgen/rpc_hout.c
373
for (l = def->def.en.vals; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_hout.c
374
f_print(fout, "\t%s", l->name);
usr.bin/rpcgen/rpc_hout.c
375
if (l->assignment) {
usr.bin/rpcgen/rpc_hout.c
376
f_print(fout, " = %s", l->assignment);
usr.bin/rpcgen/rpc_hout.c
377
last = l->assignment;
usr.bin/rpcgen/rpc_hout.c
386
if (l->next)
usr.bin/rpcgen/rpc_hout.c
499
list *l;
usr.bin/rpcgen/rpc_hout.c
502
for (l = defined; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_hout.c
503
def = (definition *) l->val;
usr.bin/rpcgen/rpc_main.c
573
list *l;
usr.bin/rpcgen/rpc_main.c
615
for (l = defined; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_main.c
616
print_funcdef(l->val, headeronly);
usr.bin/rpcgen/rpc_sample.c
110
for (l = proc->args.decls; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_sample.c
112
ptype(l->decl.prefix, l->decl.type, 1);
usr.bin/rpcgen/rpc_sample.c
113
if (strcmp(l->decl.type,"string") >= 1)
usr.bin/rpcgen/rpc_sample.c
116
f_print(fout, "_%s;\n", l->decl.name);
usr.bin/rpcgen/rpc_sample.c
159
for (l = proc->args.decls; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_sample.c
161
f_print(fout, "_%s, ", l->decl.name);
usr.bin/rpcgen/rpc_sample.c
263
list *l;
usr.bin/rpcgen/rpc_sample.c
277
for (l = defined; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_sample.c
278
def = l->val;
usr.bin/rpcgen/rpc_sample.c
80
decl_list *l;
usr.bin/rpcgen/rpc_svcout.c
176
list *l;
usr.bin/rpcgen/rpc_svcout.c
206
for (l = defined; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_svcout.c
207
def = (definition *) l->val;
usr.bin/rpcgen/rpc_svcout.c
237
list *l;
usr.bin/rpcgen/rpc_svcout.c
241
for (l = defined; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_svcout.c
242
def = (definition *) l->val;
usr.bin/rpcgen/rpc_svcout.c
294
list *l;
usr.bin/rpcgen/rpc_svcout.c
298
for (l = defined; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_svcout.c
299
def = (definition *) l->val;
usr.bin/rpcgen/rpc_svcout.c
306
for (l = defined; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_svcout.c
307
def = (definition *) l->val;
usr.bin/rpcgen/rpc_svcout.c
327
decl_list *l;
usr.bin/rpcgen/rpc_svcout.c
364
for (l = proc->args.decls; l != NULL;
usr.bin/rpcgen/rpc_svcout.c
365
l = l->next)
usr.bin/rpcgen/rpc_svcout.c
367
l->decl.name);
usr.bin/rpcgen/rpc_svcout.c
623
list *l;
usr.bin/rpcgen/rpc_svcout.c
627
for (l = defined; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_svcout.c
628
def = (definition *) l->val;
usr.bin/rpcgen/rpc_svcout.c
757
list *l;
usr.bin/rpcgen/rpc_svcout.c
844
for (l = defined; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_svcout.c
845
def = (definition *) l->val;
usr.bin/rpcgen/rpc_svcout.c
953
list *l;
usr.bin/rpcgen/rpc_svcout.c
991
for (l = defined; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_svcout.c
992
def = (definition *) l->val;
usr.bin/rpcgen/rpc_tblout.c
63
list *l;
usr.bin/rpcgen/rpc_tblout.c
67
for (l = defined; l != NULL; l = l->next) {
usr.bin/rpcgen/rpc_tblout.c
68
def = (definition *) l->val;
usr.bin/rpcgen/rpc_util.c
103
list **l;
usr.bin/rpcgen/rpc_util.c
106
for (l = lstp; *l != NULL; l = (list **) & (*l)->next);
usr.bin/rpcgen/rpc_util.c
110
*l = lst;
usr.bin/script/script.c
500
size_t l;
usr.bin/script/script.c
507
l = MIN(DEF_BUF, len);
usr.bin/script/script.c
508
if (fread(buf, sizeof(char), l, fp) != l)
usr.bin/script/script.c
510
len -= l;
usr.bin/script/script.c
558
size_t l;
usr.bin/script/script.c
616
l = strftime(buf, sizeof buf, tstamp_fmt,
usr.bin/script/script.c
618
(void)write(STDOUT_FILENO, buf, l);
usr.bin/script/script.c
633
l = MIN(DEF_BUF, stamp.scr_len);
usr.bin/script/script.c
634
if (fread(buf, sizeof(char), l, fp) != l)
usr.bin/script/script.c
637
(void)write(STDOUT_FILENO, buf, l);
usr.bin/script/script.c
638
stamp.scr_len -= l;
usr.bin/sdiff/sdiff.c
687
ssize_t l;
usr.bin/sdiff/sdiff.c
694
if ((l = getline(&s, &linecap, file)) == -1) {
usr.bin/sdiff/sdiff.c
700
if (s[l-1] == '\n')
usr.bin/sdiff/sdiff.c
701
s[l-1] = '\0';
usr.bin/sed/compile.c
939
a->u.l = strtol(p, &end, 10);
usr.bin/sed/defs.h
52
u_long l; /* Line number */
usr.bin/sed/process.c
288
(a)->type == AT_LINE ? linenum == (a)->u.l : lastline())
usr.bin/sed/process.c
306
if (linenum - cp->startline <= cp->a2->u.l)
usr.bin/sed/process.c
319
linenum > cp->a2->u.l) {
usr.bin/sed/process.c
339
linenum >= cp->a2->u.l) ||
usr.bin/sed/process.c
340
(cp->a2->type == AT_RELLINE && cp->a2->u.l == 0))
usr.bin/sort/file.c
280
sort_list_init(struct sort_list *l)
usr.bin/sort/file.c
283
if (l) {
usr.bin/sort/file.c
284
memset(l, 0, sizeof(*l));
usr.bin/sort/file.c
285
l->memsize = sizeof(struct sort_list);
usr.bin/sort/file.c
293
sort_list_add(struct sort_list *l, struct bwstring *str)
usr.bin/sort/file.c
296
if (l && str) {
usr.bin/sort/file.c
297
size_t indx = l->count;
usr.bin/sort/file.c
299
if ((l->list == NULL) || (indx >= l->size)) {
usr.bin/sort/file.c
300
size_t newsize = (l->size + 1) + 1024;
usr.bin/sort/file.c
302
l->list = sort_realloc(l->list,
usr.bin/sort/file.c
304
l->memsize += (newsize - l->size) *
usr.bin/sort/file.c
306
l->size = newsize;
usr.bin/sort/file.c
308
l->list[indx] = sort_list_item_alloc();
usr.bin/sort/file.c
309
sort_list_item_set(l->list[indx], str);
usr.bin/sort/file.c
310
l->memsize += sort_list_item_size(l->list[indx]);
usr.bin/sort/file.c
311
l->count += 1;
usr.bin/sort/file.c
319
sort_list_clean(struct sort_list *l)
usr.bin/sort/file.c
322
if (l) {
usr.bin/sort/file.c
323
if (l->list) {
usr.bin/sort/file.c
326
for (i = 0; i < l->count; i++) {
usr.bin/sort/file.c
329
item = l->list[i];
usr.bin/sort/file.c
334
l->list[i] = NULL;
usr.bin/sort/file.c
337
sort_free(l->list);
usr.bin/sort/file.c
338
l->list = NULL;
usr.bin/sort/file.c
340
l->count = 0;
usr.bin/sort/file.c
341
l->size = 0;
usr.bin/sort/file.c
342
l->memsize = sizeof(struct sort_list);
usr.bin/sort/file.c
350
sort_list_dump(struct sort_list *l, const char *fn)
usr.bin/sort/file.c
353
if (l && fn) {
usr.bin/sort/file.c
360
if (l->list) {
usr.bin/sort/file.c
363
for (i = 0; i < l->count; ++i)
usr.bin/sort/file.c
364
bwsfwrite(l->list[i]->str, f,
usr.bin/sort/file.c
369
for (i = 0; i < l->count; ++i) {
usr.bin/sort/file.c
370
item = l->list[i];
usr.bin/sort/file.h
120
void sort_list_init(struct sort_list *l);
usr.bin/sort/file.h
121
void sort_list_add(struct sort_list *l, struct bwstring *str);
usr.bin/sort/file.h
122
void sort_list_clean(struct sort_list *l);
usr.bin/sort/file.h
123
void sort_list_dump(struct sort_list *l, const char *fn);
usr.bin/stat/stat.c
1063
l = snprintf(buf, blen, lfmt, (long long)ts.tv_sec, ts.tv_nsec);
usr.bin/stat/stat.c
1064
for (; prec > 9 && l < (int)blen; prec--, l++)
usr.bin/stat/stat.c
1066
return (l);
usr.bin/stat/stat.c
1126
long l;
usr.bin/stat/stat.c
1131
if ((l = fpathconf(fd, _PC_MIN_HOLE_SIZE)) < 0)
usr.bin/stat/stat.c
1133
printf("%ld", l);
usr.bin/stat/stat.c
652
int l, small, formats;
usr.bin/stat/stat.c
702
l = strlen(stmp);
usr.bin/stat/stat.c
703
if (stmp[l - 1] == ' ')
usr.bin/stat/stat.c
704
stmp[--l] = '\0';
usr.bin/stat/stat.c
852
l = 0;
usr.bin/stat/stat.c
867
l = readlink(file, path + 4, sizeof(path) - 4 - 1);
usr.bin/stat/stat.c
868
if (l == -1) {
usr.bin/stat/stat.c
870
l = 0;
usr.bin/stat/stat.c
873
path[l + 4] = '\0';
usr.bin/systat/fetch.c
46
kvm_ckread(void *a, void *b, int l)
usr.bin/systat/fetch.c
48
if (kvm_read(kd, (u_long)a, b, l) != l) {
usr.bin/systat/vmstat.c
365
#define PUTRATE(fld, l, c, w) \
usr.bin/systat/vmstat.c
368
sysputwuint64(wnd, l, c, w, (s.fld/etime + 0.5), 0); \
usr.bin/systat/vmstat.c
381
int i, l, lc;
usr.bin/systat/vmstat.c
411
l = (int)((float)s.intrcnt[i]/etime + 0.5);
usr.bin/systat/vmstat.c
412
inttotal += l;
usr.bin/systat/vmstat.c
420
putint(l, intrloc[i], INTSCOL, 5);
usr.bin/systat/vmstat.c
436
l = (int) ((f2 + 1.0) / 2.0) - psiz;
usr.bin/systat/vmstat.c
439
psiz += l;
usr.bin/systat/vmstat.c
440
while (l-- > 0)
usr.bin/systat/vmstat.c
624
putint(int n, int l, int lc, int w)
usr.bin/systat/vmstat.c
627
do_putuint64(n, l, lc, w, SI);
usr.bin/systat/vmstat.c
631
do_putuint64(uint64_t n, int l, int lc, int w, int div)
usr.bin/systat/vmstat.c
637
move(l, lc);
usr.bin/systat/vmstat.c
663
putfloat(double f, int l, int lc, int w, int d, int nz)
usr.bin/systat/vmstat.c
668
move(l, lc);
usr.bin/systat/vmstat.c
695
putlongdouble(long double f, int l, int lc, int w, int d, int nz)
usr.bin/systat/vmstat.c
700
move(l, lc);
usr.bin/tail/read.c
139
char *l;
usr.bin/tail/read.c
161
if ((llines[recno].l = realloc(llines[recno].l,
usr.bin/tail/read.c
165
bcopy(sp, llines[recno].l, llines[recno].len = cnt);
usr.bin/tail/read.c
180
llines[recno].l = sp;
usr.bin/tail/read.c
191
WR(llines[cnt].l, llines[cnt].len);
usr.bin/tail/read.c
194
WR(llines[cnt].l, llines[cnt].len);
usr.bin/tail/read.c
198
WR(llines[cnt].l, llines[cnt].len);
usr.bin/tail/read.c
200
WR(llines[cnt].l, llines[cnt].len);
usr.bin/tail/read.c
204
free(llines[cnt].l);
usr.bin/tail/reverse.c
173
char l[BSZ];
usr.bin/tail/reverse.c
218
p = tl->l + len;
usr.bin/tail/reverse.c
247
for (p = tl->l + tl->len - 1, llen = 0; p >= tl->l;
usr.bin/tail/reverse.c
249
int start = (tl == first && p == tl->l);
usr.bin/tail/reverse.c
267
WR(&tr->l, tr->len);
usr.bin/tip/tip/cmds.c
917
int l;
usr.bin/tip/tip/cmds.c
951
l = read(pivec[0], xname, BUFSIZ);
usr.bin/tip/tip/cmds.c
960
if (l < 0) {
usr.bin/tip/tip/cmds.c
964
if (l == 0) {
usr.bin/tip/tip/cmds.c
968
if (l == BUFSIZ) {
usr.bin/tip/tip/cmds.c
972
xname[l] = 0;
usr.bin/tip/tip/cmds.c
973
for (cp = &xname[l-1]; *cp == '\n' && cp > xname; cp--)
usr.bin/tip/tip/cu.c
46
long l;
usr.bin/tip/tip/cu.c
92
l = strtol(optarg, &cp, 10);
usr.bin/tip/tip/cu.c
93
if (*cp != '\0' || l < 0 || l >= INT_MAX) {
usr.bin/tip/tip/cu.c
98
BR = (int)l;
usr.bin/top/display.c
60
#define lineindex(l) ((l)*screen_width)
usr.bin/tr/cmap.c
167
struct cmapnode N, *l, *r, *y;
usr.bin/tr/cmap.c
176
l = r = &N;
usr.bin/tr/cmap.c
201
l->cmn_right = t;
usr.bin/tr/cmap.c
202
l = t;
usr.bin/tr/cmap.c
207
l->cmn_right = t->cmn_left;
usr.bin/tr/cset.c
227
struct csnode N, *l, *r, *y;
usr.bin/tr/cset.c
236
l = r = &N;
usr.bin/tr/cset.c
261
l->csn_right = t;
usr.bin/tr/cset.c
262
l = t;
usr.bin/tr/cset.c
267
l->csn_right = t->csn_left;
usr.sbin/arp/arp.c
745
int l;
usr.sbin/arp/arp.c
805
l = rtm->rtm_msglen;
usr.sbin/arp/arp.c
808
if ((rlen = write(s, (char *)&m_rtmsg, l)) < 0) {
usr.sbin/arp/arp.c
815
l = read(s, (char *)&m_rtmsg, sizeof(m_rtmsg));
usr.sbin/arp/arp.c
816
} while (l > 0 && (rtm->rtm_type != cmd || rtm->rtm_seq != seq ||
usr.sbin/arp/arp.c
818
if (l < 0)
usr.sbin/bluetooth/btpand/sdp.c
138
int32_t l;
usr.sbin/bluetooth/btpand/sdp.c
148
l = *p;
usr.sbin/bluetooth/btpand/sdp.c
156
l = be16dec(p);
usr.sbin/bluetooth/btpand/sdp.c
164
l = be32dec(p);
usr.sbin/bluetooth/btpand/sdp.c
171
if (p + l > limit)
usr.sbin/bluetooth/btpand/sdp.c
175
*ptr = p + l;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
73
int i, l, b;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
75
l = strlen(s) / 2;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
76
if (l > asize)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
77
l = asize;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
79
for (i = 0; i < l; i++) {
usr.sbin/cdcontrol/cdcontrol.c
292
int l, r, rc, count;
usr.sbin/cdcontrol/cdcontrol.c
439
count = sscanf (arg, "%d %d", &l, &r);
usr.sbin/cdcontrol/cdcontrol.c
441
return setvol (l, l);
usr.sbin/cdcontrol/cdcontrol.c
443
return setvol (l, r);
usr.sbin/crunch/crunchide/exec_elf32.c
233
int rv, i, weird, l, m, r, strtabidx;
usr.sbin/crunch/crunchide/exec_elf32.c
310
l = i + 1;
usr.sbin/crunch/crunchide/exec_elf32.c
312
while (l <= r) {
usr.sbin/crunch/crunchide/exec_elf32.c
313
m = ( l + r) / 2;
usr.sbin/crunch/crunchide/exec_elf32.c
316
l = m + 1;
usr.sbin/cxgbetool/cxgbetool.c
2337
long l;
usr.sbin/cxgbetool/cxgbetool.c
2353
p = str_to_number(argv[2], &l, NULL);
usr.sbin/cxgbetool/cxgbetool.c
2356
br.pfidx_addr = l;
usr.sbin/cxgbetool/cxgbetool.c
2400
long l;
usr.sbin/cxgbetool/cxgbetool.c
2408
p = str_to_number(argv[0], &l, NULL);
usr.sbin/cxgbetool/cxgbetool.c
2413
addr = l;
usr.sbin/cxgbetool/cxgbetool.c
2415
p = str_to_number(argv[1], &l, NULL);
usr.sbin/cxgbetool/cxgbetool.c
2420
len = l;
usr.sbin/cxgbetool/cxgbetool.c
2454
long l;
usr.sbin/cxgbetool/cxgbetool.c
2465
p = str_to_number(argv[0], &l, NULL);
usr.sbin/cxgbetool/cxgbetool.c
2470
tid = l;
usr.sbin/cxgbetool/cxgbetool.c
2485
long l;
usr.sbin/cxgbetool/cxgbetool.c
2494
p = str_to_number(argv[0], &l, NULL);
usr.sbin/cxgbetool/cxgbetool.c
2495
if (*p || l > UCHAR_MAX) {
usr.sbin/cxgbetool/cxgbetool.c
2499
i2cd.port_id = l;
usr.sbin/cxgbetool/cxgbetool.c
2501
p = str_to_number(argv[1], &l, NULL);
usr.sbin/cxgbetool/cxgbetool.c
2502
if (*p || l > UCHAR_MAX) {
usr.sbin/cxgbetool/cxgbetool.c
2506
i2cd.dev_addr = l;
usr.sbin/cxgbetool/cxgbetool.c
2508
p = str_to_number(argv[2], &l, NULL);
usr.sbin/cxgbetool/cxgbetool.c
2509
if (*p || l > UCHAR_MAX) {
usr.sbin/cxgbetool/cxgbetool.c
2513
i2cd.offset = l;
usr.sbin/cxgbetool/cxgbetool.c
2516
p = str_to_number(argv[3], &l, NULL);
usr.sbin/cxgbetool/cxgbetool.c
2517
if (*p || l > sizeof(i2cd.data)) {
usr.sbin/cxgbetool/cxgbetool.c
2521
i2cd.len = l;
usr.sbin/cxgbetool/cxgbetool.c
2539
long l;
usr.sbin/cxgbetool/cxgbetool.c
2547
p = str_to_number(argv[0], &l, NULL);
usr.sbin/cxgbetool/cxgbetool.c
2552
port = l;
usr.sbin/cxgbetool/cxgbetool.c
2989
long l;
usr.sbin/cxgbetool/cxgbetool.c
3009
if(!get_sched_param("minmax", args, &l))
usr.sbin/cxgbetool/cxgbetool.c
3010
op.u.config.minmax = (int8_t)l;
usr.sbin/cxgbetool/cxgbetool.c
3065
} else if (!get_sched_param("channel", args, &l))
usr.sbin/cxgbetool/cxgbetool.c
3066
op.u.params.channel = (int8_t)l;
usr.sbin/cxgbetool/cxgbetool.c
3067
else if (!get_sched_param("class", args, &l))
usr.sbin/cxgbetool/cxgbetool.c
3068
op.u.params.cl = (int8_t)l;
usr.sbin/cxgbetool/cxgbetool.c
3069
else if (!get_sched_param("min-rate", args, &l))
usr.sbin/cxgbetool/cxgbetool.c
3070
op.u.params.minrate = (int32_t)l;
usr.sbin/cxgbetool/cxgbetool.c
3071
else if (!get_sched_param("max-rate", args, &l))
usr.sbin/cxgbetool/cxgbetool.c
3072
op.u.params.maxrate = (int32_t)l;
usr.sbin/cxgbetool/cxgbetool.c
3073
else if (!get_sched_param("weight", args, &l))
usr.sbin/cxgbetool/cxgbetool.c
3074
op.u.params.weight = (int16_t)l;
usr.sbin/cxgbetool/cxgbetool.c
3075
else if (!get_sched_param("pkt-size", args, &l))
usr.sbin/cxgbetool/cxgbetool.c
3076
op.u.params.pktsize = (int16_t)l;
usr.sbin/cxgbetool/cxgbetool.c
655
long l;
usr.sbin/cxgbetool/cxgbetool.c
661
p = str_to_number(args[1], &l, NULL);
usr.sbin/cxgbetool/cxgbetool.c
662
if (l >= 0 && l <= UINT32_MAX) {
usr.sbin/cxgbetool/cxgbetool.c
663
*val = (uint32_t)l;
usr.sbin/cxgbetool/cxgbetool.c
676
p = str_to_number(p + 1, &l, NULL);
usr.sbin/cxgbetool/cxgbetool.c
677
if (l >= 0 && l <= UINT32_MAX && p[0] == 0) {
usr.sbin/cxgbetool/cxgbetool.c
678
*mask = (uint32_t)l;
usr.sbin/cxgbetool/cxgbetool.c
818
long l;
usr.sbin/cxgbetool/cxgbetool.c
823
p = str_to_number(args[1], &l, NULL);
usr.sbin/cxgbetool/cxgbetool.c
824
if (*p || l < 0 || l > UINT32_MAX) {
usr.sbin/cxgbetool/cxgbetool.c
829
*val = (uint32_t)l;
usr.sbin/fifolog/fifolog_reader/fifolog_reader.c
51
Render(void *priv __unused, time_t now, unsigned flag __unused, const unsigned char *p, unsigned l __unused)
usr.sbin/fifolog/lib/fifolog_write_poll.c
189
long h, l = f->ff->zs->next_out - f->obuf;
usr.sbin/fifolog/lib/fifolog_write_poll.c
202
assert(l <= (long)f->ff->recsize); /* NB: l includes h */
usr.sbin/fifolog/lib/fifolog_write_poll.c
203
assert(l >= h);
usr.sbin/fifolog/lib/fifolog_write_poll.c
206
if (l == h)
usr.sbin/fifolog/lib/fifolog_write_poll.c
209
if (l < (long)f->ff->recsize && fl == Z_NO_FLUSH)
usr.sbin/fifolog/lib/fifolog_write_poll.c
212
w = f->ff->recsize - l;
usr.sbin/fifolog/lib/fifolog_write_poll.c
221
f->cnt[FIFOLOG_PT_BYTES_POST] += l - h;
usr.sbin/fifolog/lib/fifolog_write_poll.c
387
u_int l;
usr.sbin/fifolog/lib/fifolog_write_poll.c
407
for (p = ptr; len > 0; len -= l, p += l) {
usr.sbin/fifolog/lib/fifolog_write_poll.c
408
l = len;
usr.sbin/fifolog/lib/fifolog_write_poll.c
409
if (l > 255)
usr.sbin/fifolog/lib/fifolog_write_poll.c
410
l = 255;
usr.sbin/fifolog/lib/fifolog_write_poll.c
411
while (!fifolog_write_record(f, id, now, p, l))
usr.sbin/fifolog/lib/libfifolog.h
40
typedef void fifolog_reader_render_t(void *priv, time_t when, unsigned flag, const unsigned char *p, unsigned l);
usr.sbin/ip6addrctl/ip6addrctl.c
161
size_t l;
usr.sbin/ip6addrctl/ip6addrctl.c
165
if (sysctl(mib, nitems(mib), NULL, &l, NULL, 0) < 0) {
usr.sbin/ip6addrctl/ip6addrctl.c
169
if (l == 0) {
usr.sbin/ip6addrctl/ip6addrctl.c
173
if ((buf = malloc(l)) == NULL) {
usr.sbin/ip6addrctl/ip6addrctl.c
177
if (sysctl(mib, nitems(mib), buf, &l, NULL, 0) < 0) {
usr.sbin/ip6addrctl/ip6addrctl.c
182
ep = buf + l/sizeof(*buf);
usr.sbin/ipfwpcap/ipfwpcap.c
150
int r, sd, portnum, l;
usr.sbin/ipfwpcap/ipfwpcap.c
248
l = sizeof(sin);
usr.sbin/ipfwpcap/ipfwpcap.c
249
nr = recvfrom(sd, buf, sizeof(buf), 0, (struct sockaddr *)&sin, &l);
usr.sbin/ipfwpcap/ipfwpcap.c
250
if (debug) fprintf(stderr, "recvfrom(%d) = %zd (%d)\n", sd, nr, l);
usr.sbin/ipfwpcap/ipfwpcap.c
262
l = sizeof(sin);
usr.sbin/ipfwpcap/ipfwpcap.c
263
r = sendto(sd, buf, nr, 0, (struct sockaddr *)&sin, l);
usr.sbin/jail/jail.c
347
size_t l;
usr.sbin/jail/jail.c
363
for (l = 0; l < nitems(listparams); l++) {
usr.sbin/jail/jail.c
366
len = strlen(listparams[l].name);
usr.sbin/jail/jail.c
367
if (strncmp(argv[i], listparams[l].name, len) ||
usr.sbin/jail/jail.c
376
listparams[l].param, cs);
usr.sbin/jail/jail.c
382
if (l == nitems(listparams))
usr.sbin/makefs/cd9660/iso9660_rrip.c
849
int l;
usr.sbin/makefs/cd9660/iso9660_rrip.c
863
l = r->attr.su_entry.ER.len_id[0] +
usr.sbin/makefs/cd9660/iso9660_rrip.c
868
assert(l + r->attr.su_entry.ER.h.length[0] <= 254);
usr.sbin/makefs/cd9660/iso9660_rrip.c
870
r->attr.su_entry.ER.h.length[0] += (u_char)l;
usr.sbin/makefs/cd9660/iso9660_rrip.c
876
l = (int) r->attr.su_entry.ER.len_id[0];
usr.sbin/makefs/cd9660/iso9660_rrip.c
877
memcpy(r->attr.su_entry.ER.ext_data + l,ext_des,
usr.sbin/makefs/cd9660/iso9660_rrip.c
880
l += (int)r->attr.su_entry.ER.len_des[0];
usr.sbin/makefs/cd9660/iso9660_rrip.c
881
memcpy(r->attr.su_entry.ER.ext_data + l,ext_src,
usr.sbin/makefs/makefs.c
483
long long l;
usr.sbin/makefs/makefs.c
490
l = strtoll(b, &eb, 0);
usr.sbin/makefs/makefs.c
493
when = (time_t)l;
usr.sbin/makefs/msdos/msdosfs_conv.c
298
int i, j, l;
usr.sbin/makefs/msdos/msdosfs_conv.c
362
l = dp1 - dp;
usr.sbin/makefs/msdos/msdosfs_conv.c
364
l = unlen - (dp - un);
usr.sbin/makefs/msdos/msdosfs_conv.c
365
for (i = 0, j = 8; i < l && j < 11; i++, j++) {
usr.sbin/makefs/msdos/msdosfs_conv.c
374
if (i < l)
usr.sbin/makefs/msdos/msdosfs_fat.c
738
u_long len, newst, foundl, cn, l;
usr.sbin/makefs/msdos/msdosfs_fat.c
759
if ((l = chainlength(pmp, cn, count)) >= count)
usr.sbin/makefs/msdos/msdosfs_fat.c
761
if (l > foundl) {
usr.sbin/makefs/msdos/msdosfs_fat.c
763
foundl = l;
usr.sbin/makefs/msdos/msdosfs_fat.c
765
cn += l + 1;
usr.sbin/makefs/msdos/msdosfs_fat.c
776
if ((l = chainlength(pmp, cn, count)) >= count)
usr.sbin/makefs/msdos/msdosfs_fat.c
778
if (l > foundl) {
usr.sbin/makefs/msdos/msdosfs_fat.c
780
foundl = l;
usr.sbin/makefs/msdos/msdosfs_fat.c
782
cn += l + 1;
usr.sbin/makefs/zfs/dsl.c
387
zfs_dsl_dir_list_t l, *lp;
usr.sbin/makefs/zfs/dsl.c
431
STAILQ_INIT(&l);
usr.sbin/makefs/zfs/dsl.c
432
STAILQ_INSERT_HEAD(&l, zfs->rootdsldir, next);
usr.sbin/makefs/zfs/dsl.c
435
for (lp = &l;; lp = &parent->children) {
usr.sbin/makefs/zfs/zap.c
245
zap_fat_write_array_chunk(zap_leaf_t *l, uint16_t li, size_t sz,
usr.sbin/makefs/zfs/zap.c
256
la = &ZAP_LEAF_CHUNK(l, li).l_array;
usr.sbin/makefs/zfs/zap.c
271
zap_fat_write_prefixlen(zfs_zap_t *zap, zap_leaf_t *l)
usr.sbin/makefs/zfs/zap.c
276
if (zap->chunks <= ZAP_LEAF_NUMCHUNKS(l)) {
usr.sbin/makefs/zfs/zap.c
283
for (prefixlen = 1; prefixlen < (unsigned int)l->l_bs; prefixlen++) {
usr.sbin/makefs/zfs/zap.c
294
if (ZAP_LEAF_NUMCHUNKS(l) - leafchunks[li] < chunks) {
usr.sbin/makefs/zfs/zap.c
316
assert(prefixlen < (unsigned int)l->l_bs);
usr.sbin/makefs/zfs/zap.c
325
zap_fat_write_leaf_init(zap_leaf_t *l, uint64_t prefix, int prefixlen)
usr.sbin/makefs/zfs/zap.c
329
leaf = l->l_phys;
usr.sbin/makefs/zfs/zap.c
333
leaf->l_hdr.lh_nfree = ZAP_LEAF_NUMCHUNKS(l);
usr.sbin/makefs/zfs/zap.c
340
ZAP_LEAF_HASH_NUMENTRIES(l) * sizeof(*leaf->l_hash));
usr.sbin/makefs/zfs/zap.c
343
for (uint16_t i = 0; i < ZAP_LEAF_NUMCHUNKS(l); i++) {
usr.sbin/makefs/zfs/zap.c
346
lf = &ZAP_LEAF_CHUNK(l, i).l_free;
usr.sbin/makefs/zfs/zap.c
348
if (i + 1 == ZAP_LEAF_NUMCHUNKS(l))
usr.sbin/makefs/zfs/zap.c
359
zap_leaf_t l;
usr.sbin/makefs/zfs/zap.c
392
l.l_bs = blkshift;
usr.sbin/makefs/zfs/zap.c
393
l.l_phys = NULL;
usr.sbin/makefs/zfs/zap.c
406
prefixlen = zap_fat_write_prefixlen(zap, &l);
usr.sbin/makefs/zfs/zap.c
410
l.l_phys = (zap_leaf_phys_t *)(leafblks + li * blksz);
usr.sbin/makefs/zfs/zap.c
411
zap_fat_write_leaf_init(&l, li, prefixlen);
usr.sbin/makefs/zfs/zap.c
432
l.l_phys = (zap_leaf_phys_t *)(leafblks + li * blksz);
usr.sbin/makefs/zfs/zap.c
448
assert(l.l_phys->l_hdr.lh_nfree >= nchunks);
usr.sbin/makefs/zfs/zap.c
449
l.l_phys->l_hdr.lh_nfree -= nchunks;
usr.sbin/makefs/zfs/zap.c
450
l.l_phys->l_hdr.lh_nentries++;
usr.sbin/makefs/zfs/zap.c
451
lptr = ZAP_LEAF_HASH_ENTPTR(&l, ent->hash);
usr.sbin/makefs/zfs/zap.c
453
assert(*lptr < ZAP_LEAF_NUMCHUNKS(&l));
usr.sbin/makefs/zfs/zap.c
454
le = ZAP_LEAF_ENTRY(&l, *lptr);
usr.sbin/makefs/zfs/zap.c
459
*lptr = l.l_phys->l_hdr.lh_freelist;
usr.sbin/makefs/zfs/zap.c
460
l.l_phys->l_hdr.lh_freelist += nchunks;
usr.sbin/makefs/zfs/zap.c
461
assert(l.l_phys->l_hdr.lh_freelist <=
usr.sbin/makefs/zfs/zap.c
462
ZAP_LEAF_NUMCHUNKS(&l));
usr.sbin/makefs/zfs/zap.c
463
if (l.l_phys->l_hdr.lh_freelist ==
usr.sbin/makefs/zfs/zap.c
464
ZAP_LEAF_NUMCHUNKS(&l))
usr.sbin/makefs/zfs/zap.c
465
l.l_phys->l_hdr.lh_freelist = 0xffff;
usr.sbin/makefs/zfs/zap.c
498
le = ZAP_LEAF_ENTRY(&l, *lptr);
usr.sbin/makefs/zfs/zap.c
508
zap_fat_write_array_chunk(&l, *lptr + 1, namelen,
usr.sbin/makefs/zfs/zap.c
510
zap_fat_write_array_chunk(&l, *lptr + 1 + nnamechunks,
usr.sbin/moused/moused/util-evdev.c
51
ssize_t l;
usr.sbin/moused/moused/util-evdev.c
66
l = strlen(e);
usr.sbin/moused/moused/util-evdev.c
69
if (len > l && startswith(name, len, e, l) && name[l] == '_')
usr.sbin/moused/moused/util.c
104
size_t l, nelems = 0;
usr.sbin/moused/moused/util.c
105
while (next_word(&s, &l, separators) != NULL)
usr.sbin/moused/moused/util.c
119
while ((word = next_word(&s, &l, separators)) != NULL) {
usr.sbin/moused/moused/util.c
120
char *copy = strndup(word, l);
usr.sbin/moused/moused/util.c
61
size_t l;
usr.sbin/moused/moused/util.c
72
l = strcspn(next, separators);
usr.sbin/moused/moused/util.c
73
*state = next + l;
usr.sbin/moused/moused/util.c
74
*len = l;
usr.sbin/ndp/ndp.c
1177
size_t l;
usr.sbin/ndp/ndp.c
1180
if (sysctl(mib, nitems(mib), NULL, &l, NULL, 0) < 0) {
usr.sbin/ndp/ndp.c
1184
if (l == 0)
usr.sbin/ndp/ndp.c
1186
buf = malloc(l);
usr.sbin/ndp/ndp.c
1191
if (sysctl(mib, nitems(mib), buf, &l, NULL, 0) < 0) {
usr.sbin/ndp/ndp.c
1198
ep = (struct in6_defrouter *)(buf + l);
usr.sbin/ndp/ndp.c
1255
size_t l;
usr.sbin/ndp/ndp.c
1261
if (sysctl(mib, nitems(mib), NULL, &l, NULL, 0) < 0) {
usr.sbin/ndp/ndp.c
1265
buf = malloc(l);
usr.sbin/ndp/ndp.c
1270
if (sysctl(mib, nitems(mib), buf, &l, NULL, 0) < 0) {
usr.sbin/ndp/ndp.c
1277
ep = (struct in6_prefix *)(buf + l);
usr.sbin/ndp/ndp.c
944
register int l;
usr.sbin/ndp/ndp.c
973
l = rtm->rtm_msglen;
usr.sbin/ndp/ndp.c
976
if ((rlen = write(s, (char *)&m_rtmsg, l)) < 0) {
usr.sbin/ndp/ndp.c
983
l = read(s, (char *)&m_rtmsg, sizeof(m_rtmsg));
usr.sbin/ndp/ndp.c
984
} while (l > 0 && (rtm->rtm_type != cmd || rtm->rtm_seq != seq ||
usr.sbin/ndp/ndp.c
986
if (l < 0)
usr.sbin/newsyslog/ptimes.c
130
long l;
usr.sbin/newsyslog/ptimes.c
133
l = strtol(s, &t, 10);
usr.sbin/newsyslog/ptimes.c
134
if (l < 0 || l >= INT_MAX || (*t != '\0' && *t != 'T'))
usr.sbin/newsyslog/ptimes.c
146
tm.tm_year = ((l / 1000000) - 19) * 100;
usr.sbin/newsyslog/ptimes.c
147
l = l % 1000000;
usr.sbin/newsyslog/ptimes.c
152
tm.tm_year += l / 10000;
usr.sbin/newsyslog/ptimes.c
153
l = l % 10000;
usr.sbin/newsyslog/ptimes.c
157
tm.tm_mon = (l / 100) - 1;
usr.sbin/newsyslog/ptimes.c
158
l = l % 100;
usr.sbin/newsyslog/ptimes.c
162
tm.tm_mday = l;
usr.sbin/newsyslog/ptimes.c
177
l = strtol(s, &t, 10);
usr.sbin/newsyslog/ptimes.c
178
if (l < 0 || l >= INT_MAX || (*t != '\0' && !isspace(*t)))
usr.sbin/newsyslog/ptimes.c
183
tm.tm_sec = l % 100;
usr.sbin/newsyslog/ptimes.c
184
l /= 100;
usr.sbin/newsyslog/ptimes.c
187
tm.tm_min = l % 100;
usr.sbin/newsyslog/ptimes.c
188
l /= 100;
usr.sbin/newsyslog/ptimes.c
192
tm.tm_hour = l;
usr.sbin/newsyslog/ptimes.c
230
long l;
usr.sbin/newsyslog/ptimes.c
248
l = strtol(s, &tmp, 10);
usr.sbin/newsyslog/ptimes.c
249
if (l < 0 || l > 23)
usr.sbin/newsyslog/ptimes.c
252
tm.tm_hour = l;
usr.sbin/newsyslog/ptimes.c
261
l = strtol(s, &tmp, 10);
usr.sbin/newsyslog/ptimes.c
262
if (l < 0 || l > 6)
usr.sbin/newsyslog/ptimes.c
265
if (l != tm.tm_wday) {
usr.sbin/newsyslog/ptimes.c
268
if (l < tm.tm_wday) {
usr.sbin/newsyslog/ptimes.c
270
save += (l + 1);
usr.sbin/newsyslog/ptimes.c
272
save = l - tm.tm_wday;
usr.sbin/newsyslog/ptimes.c
300
l = strtol(s, &tmp, 10);
usr.sbin/newsyslog/ptimes.c
301
if (l < 1 || l > 31)
usr.sbin/newsyslog/ptimes.c
304
if (l > daysmon)
usr.sbin/newsyslog/ptimes.c
307
tm.tm_mday = l;
usr.sbin/nscd/debug.c
103
printf("= INT %s: %i, %s: %d\n",desc, i, f, l);
usr.sbin/nscd/debug.c
108
nscd_trace_str(const char *desc, const char *s, const char *f, int l)
usr.sbin/nscd/debug.c
117
printf("= STR %s: '%s', %s: %d\n", desc, s, f, l);
usr.sbin/nscd/debug.c
122
nscd_trace_out(const char *s, const char *f, int l)
usr.sbin/nscd/debug.c
132
printf("<= %s, %s: %d\n", s, f, l);
usr.sbin/nscd/debug.c
37
nscd_trace_in(const char *s, const char *f, int l)
usr.sbin/nscd/debug.c
52
nscd_trace_point(const char *f, int l)
usr.sbin/nscd/debug.c
61
printf("= %s: %d\n", f, l);
usr.sbin/nscd/debug.c
66
nscd_trace_msg(const char *msg, const char *f, int l)
usr.sbin/nscd/debug.c
75
printf("= MSG %s, %s: %d\n", msg, f, l);
usr.sbin/nscd/debug.c
80
nscd_trace_ptr(const char *desc, const void *p, const char *f, int l)
usr.sbin/nscd/debug.c
89
printf("= PTR %s: %p, %s: %d\n", desc, p, f, l);
usr.sbin/nscd/debug.c
94
nscd_trace_int(const char *desc, int i, const char *f, int l)
usr.sbin/pciconf/pciconf.c
362
const struct pci_conf *l, *r;
usr.sbin/pciconf/pciconf.c
364
l = lhs;
usr.sbin/pciconf/pciconf.c
366
if (l->pc_sel.pc_domain != r->pc_sel.pc_domain)
usr.sbin/pciconf/pciconf.c
367
return (l->pc_sel.pc_domain - r->pc_sel.pc_domain);
usr.sbin/pciconf/pciconf.c
368
if (l->pc_sel.pc_bus != r->pc_sel.pc_bus)
usr.sbin/pciconf/pciconf.c
369
return (l->pc_sel.pc_bus - r->pc_sel.pc_bus);
usr.sbin/pciconf/pciconf.c
370
if (l->pc_sel.pc_dev != r->pc_sel.pc_dev)
usr.sbin/pciconf/pciconf.c
371
return (l->pc_sel.pc_dev - r->pc_sel.pc_dev);
usr.sbin/pciconf/pciconf.c
372
return (l->pc_sel.pc_func - r->pc_sel.pc_func);
usr.sbin/pkg/dns_utils.c
122
int len, qdcount, ancount, n, i, f, l;
usr.sbin/pkg/dns_utils.c
203
priority = f = l = 0;
usr.sbin/pkg/dns_utils.c
206
if (f != l)
usr.sbin/pkg/dns_utils.c
207
compute_weight(res, f, l);
usr.sbin/pkg/dns_utils.c
211
l = i;
usr.sbin/pkg/dns_utils.c
46
unsigned int r, l;
usr.sbin/pkg/dns_utils.c
51
l = da->priority;
usr.sbin/pkg/dns_utils.c
54
return ((l > r) - (l < r));
usr.sbin/pkg/dns_utils.c
61
unsigned int r, l, wr, wl;
usr.sbin/pkg/dns_utils.c
67
l = da->priority;
usr.sbin/pkg/dns_utils.c
70
res = ((l > r) - (l < r));
usr.sbin/pkg/ecc.c
51
#define STREQ(l, r) (strcmp(l, r) == 0)
usr.sbin/pmcstat/pmcstat_log.c
245
unsigned l;
usr.sbin/pmcstat/pmcstat_log.c
316
l = atoi(sep+1);
usr.sbin/pmcstat/pmcstat_log.c
317
if (l == 0)
usr.sbin/pmcstat/pmcstat_log.c
319
*sourceline = l;
usr.sbin/ppp/acf.c
59
acf_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp,
usr.sbin/ppp/acf.c
64
if (*proto == PROTO_LCP || l->lcp.his_acfcomp == 0) {
usr.sbin/ppp/acf.c
73
acf_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp,
usr.sbin/ppp/acf.c
76
struct physical *p = link2physical(l);
usr.sbin/ppp/async.c
102
async_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp,
usr.sbin/ppp/async.c
105
struct physical *p = link2physical(l);
usr.sbin/ppp/async.c
189
async_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp,
usr.sbin/ppp/async.c
193
struct physical *p = link2physical(l);
usr.sbin/ppp/cbcp.c
622
cbcp_Input(struct bundle *bundle __unused, struct link *l, struct mbuf *bp)
usr.sbin/ppp/cbcp.c
624
struct physical *p = link2physical(l);
usr.sbin/ppp/ccp.c
162
struct link *l;
usr.sbin/ppp/ccp.c
166
l = command_ChooseLink(arg);
usr.sbin/ppp/ccp.c
167
ccp = &l->ccp;
usr.sbin/ppp/ccp.c
169
prompt_Printf(arg->prompt, "%s: %s [%s]\n", l->name, ccp->fsm.name,
usr.sbin/ppp/ccp.c
244
ccp_Init(struct ccp *ccp, struct bundle *bundle, struct link *l,
usr.sbin/ppp/ccp.c
250
bundle, l, parent, &ccp_Callbacks, ccp_TimerNames);
usr.sbin/ppp/ccp.c
674
ccp_Input(struct bundle *bundle, struct link *l, struct mbuf *bp)
usr.sbin/ppp/ccp.c
679
fsm_Input(&l->ccp.fsm, bp);
usr.sbin/ppp/ccp.c
683
l->ccp.fsm.link->name, bundle_PhaseName(bundle));
usr.sbin/ppp/ccp.c
718
ccp_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp,
usr.sbin/ppp/ccp.c
722
if (l->ccp.fsm.state != ST_OPENED) {
usr.sbin/ppp/ccp.c
723
if (ccp_Required(&l->ccp)) {
usr.sbin/ppp/ccp.c
726
" required CCP layer\n", l->name);
usr.sbin/ppp/ccp.c
730
} else if (l->ccp.out.state != NULL) {
usr.sbin/ppp/ccp.c
731
bp = (*algorithm[l->ccp.out.algorithm]->o.Write)
usr.sbin/ppp/ccp.c
732
(l->ccp.out.state, &l->ccp, l, pri, proto, bp);
usr.sbin/ppp/ccp.c
748
ccp_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp,
usr.sbin/ppp/ccp.c
755
if (l->ccp.fsm.state == ST_OPENED) {
usr.sbin/ppp/ccp.c
758
if (l->ccp.reset_sent != -1)
usr.sbin/ppp/ccp.c
760
fsm_Output(&l->ccp.fsm, CODE_RESETREQ, l->ccp.reset_sent, NULL, 0,
usr.sbin/ppp/ccp.c
762
else if (l->ccp.in.state != NULL) {
usr.sbin/ppp/ccp.c
763
bp = (*algorithm[l->ccp.in.algorithm]->i.Read)
usr.sbin/ppp/ccp.c
764
(l->ccp.in.state, &l->ccp, proto, bp);
usr.sbin/ppp/ccp.c
777
} else if (PROTO_COMPRESSIBLE(*proto) && l->ccp.in.state != NULL) {
usr.sbin/ppp/ccp.c
779
(*algorithm[l->ccp.in.algorithm]->i.DictSetup)
usr.sbin/ppp/ccp.c
780
(l->ccp.in.state, &l->ccp, *proto, bp);
usr.sbin/ppp/chap.c
693
chap_Input(struct bundle *bundle, struct link *l, struct mbuf *bp)
usr.sbin/ppp/chap.c
695
struct physical *p = link2physical(l);
usr.sbin/ppp/chap.c
878
"CHAP81 RESPONSE\n", l->name);
usr.sbin/ppp/command.c
1423
struct link *l = &arg->cx->physical->link;
usr.sbin/ppp/command.c
1425
l->lcp.fsm.StoppedTimer.load = 0;
usr.sbin/ppp/command.c
1426
l->ccp.fsm.StoppedTimer.load = 0;
usr.sbin/ppp/command.c
1429
l->lcp.fsm.StoppedTimer.load = atoi(arg->argv[arg->argn]) * SECTICKS;
usr.sbin/ppp/command.c
1431
l->ccp.fsm.StoppedTimer.load = atoi(arg->argv[arg->argn+1]) * SECTICKS;
usr.sbin/ppp/command.c
1620
long l = atol(argv[0]);
usr.sbin/ppp/command.c
1622
if (l < MIN_FSMRETRY) {
usr.sbin/ppp/command.c
1624
l, MIN_FSMRETRY);
usr.sbin/ppp/command.c
1627
*timeout = l;
usr.sbin/ppp/command.c
1630
l = atol(argv[1]);
usr.sbin/ppp/command.c
1631
if (l < 1) {
usr.sbin/ppp/command.c
1632
log_Printf(LogWARN, "%ld: Invalid FSM REQ tries - changed to 1\n", l);
usr.sbin/ppp/command.c
1633
l = 1;
usr.sbin/ppp/command.c
1635
*maxreq = l;
usr.sbin/ppp/command.c
1638
l = atol(argv[2]);
usr.sbin/ppp/command.c
1639
if (l < 1) {
usr.sbin/ppp/command.c
1640
log_Printf(LogWARN, "%ld: Invalid FSM TRM tries - changed to 1\n", l);
usr.sbin/ppp/command.c
1641
l = 1;
usr.sbin/ppp/command.c
1643
*maxtrm = l;
usr.sbin/ppp/command.c
1659
struct link *l = command_ChooseLink(arg); /* LOCAL_CX_OPT uses this */
usr.sbin/ppp/command.c
1758
l->ccp.cfg.deflate.out.winsize = atoi(arg->argv[arg->argn]);
usr.sbin/ppp/command.c
1759
if (l->ccp.cfg.deflate.out.winsize < 8 ||
usr.sbin/ppp/command.c
1760
l->ccp.cfg.deflate.out.winsize > 15) {
usr.sbin/ppp/command.c
1762
l->ccp.cfg.deflate.out.winsize);
usr.sbin/ppp/command.c
1763
l->ccp.cfg.deflate.out.winsize = 15;
usr.sbin/ppp/command.c
1766
l->ccp.cfg.deflate.in.winsize = atoi(arg->argv[arg->argn+1]);
usr.sbin/ppp/command.c
1767
if (l->ccp.cfg.deflate.in.winsize < 8 ||
usr.sbin/ppp/command.c
1768
l->ccp.cfg.deflate.in.winsize > 15) {
usr.sbin/ppp/command.c
1770
l->ccp.cfg.deflate.in.winsize);
usr.sbin/ppp/command.c
1771
l->ccp.cfg.deflate.in.winsize = 15;
usr.sbin/ppp/command.c
1774
l->ccp.cfg.deflate.in.winsize = 0;
usr.sbin/ppp/command.c
1789
l->ccp.cfg.mppe.keybits = 0;
usr.sbin/ppp/command.c
1790
l->ccp.cfg.mppe.state = MPPE_ANYSTATE;
usr.sbin/ppp/command.c
1791
l->ccp.cfg.mppe.required = 0;
usr.sbin/ppp/command.c
1808
l->ccp.cfg.mppe.state = MPPE_ANYSTATE;
usr.sbin/ppp/command.c
1810
l->ccp.cfg.mppe.state = MPPE_STATELESS;
usr.sbin/ppp/command.c
1812
l->ccp.cfg.mppe.state = MPPE_STATEFUL;
usr.sbin/ppp/command.c
1820
l->ccp.cfg.mppe.state = MPPE_ANYSTATE;
usr.sbin/ppp/command.c
1821
l->ccp.cfg.mppe.keybits = long_val;
usr.sbin/ppp/command.c
1822
l->ccp.cfg.mppe.required = 1;
usr.sbin/ppp/command.c
1896
change = &l->lcp.cfg.mru;
usr.sbin/ppp/command.c
1897
if (long_val > l->lcp.cfg.max_mru) {
usr.sbin/ppp/command.c
1899
l->lcp.cfg.max_mru);
usr.sbin/ppp/command.c
1910
change = &l->lcp.cfg.max_mru;
usr.sbin/ppp/command.c
1937
if (l->lcp.cfg.mru > *change)
usr.sbin/ppp/command.c
1938
l->lcp.cfg.mru = *change;
usr.sbin/ppp/command.c
1953
change = &l->lcp.cfg.mtu;
usr.sbin/ppp/command.c
1954
if (long_val > l->lcp.cfg.max_mtu) {
usr.sbin/ppp/command.c
1956
l->lcp.cfg.max_mtu);
usr.sbin/ppp/command.c
1967
change = &l->lcp.cfg.max_mtu;
usr.sbin/ppp/command.c
1993
if (l->lcp.cfg.mtu > *change)
usr.sbin/ppp/command.c
1994
l->lcp.cfg.mtu = *change;
usr.sbin/ppp/command.c
2078
l->lcp.cfg.lqrperiod = long_val;
usr.sbin/ppp/command.c
2102
&l->ccp.cfg.fsm.timeout, &l->ccp.cfg.fsm.maxreq,
usr.sbin/ppp/command.c
2103
&l->ccp.cfg.fsm.maxtrm, DEF_FSMTRIES);
usr.sbin/ppp/command.c
2852
struct link *l = command_ChooseLink(arg); /* LOCAL_CX_OPT uses this */
usr.sbin/ppp/command.c
2894
l->ccp.cfg.neg[CCP_NEG_MPPE] &= keep;
usr.sbin/ppp/command.c
2895
l->ccp.cfg.neg[CCP_NEG_MPPE] |= add;
usr.sbin/ppp/command.c
2899
l->ccp.cfg.neg[CCP_NEG_DEFLATE] &= keep;
usr.sbin/ppp/command.c
2900
l->ccp.cfg.neg[CCP_NEG_DEFLATE] |= add;
usr.sbin/ppp/command.c
2938
l->ccp.cfg.neg[CCP_NEG_DEFLATE24] &= keep;
usr.sbin/ppp/command.c
2939
l->ccp.cfg.neg[CCP_NEG_DEFLATE24] |= add;
usr.sbin/ppp/command.c
2942
l->ccp.cfg.neg[CCP_NEG_PRED1] &= keep;
usr.sbin/ppp/command.c
2943
l->ccp.cfg.neg[CCP_NEG_PRED1] |= add;
usr.sbin/ppp/command.c
476
substlong(char *tgt, const char *oldstr, long l)
usr.sbin/ppp/command.c
480
snprintf(buf, sizeof buf, "%ld", l);
usr.sbin/ppp/command.c
976
struct link *l = command_ChooseLink(arg);
usr.sbin/ppp/command.c
978
prompt_Printf(arg->prompt, "%s:\n", l->name);
usr.sbin/ppp/command.c
979
link_ReportProtocolStatus(l, arg->prompt);
usr.sbin/ppp/deflate.c
69
DeflateOutput(void *v, struct ccp *ccp, struct link *l __unused,
usr.sbin/ppp/fsm.c
144
struct link *l, const struct fsm_parent *parent,
usr.sbin/ppp/fsm.c
159
fp->link = l;
usr.sbin/ppp/hdlc.c
141
hdlc_LayerPush(struct bundle *bundle __unused, struct link *l __unused,
usr.sbin/ppp/hdlc.c
301
hdlc_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp,
usr.sbin/ppp/hdlc.c
304
struct physical *p = link2physical(l);
usr.sbin/ppp/ip.c
908
ip_Input(struct bundle *bundle, struct link *l, struct mbuf *bp, u_int32_t af)
usr.sbin/ppp/ip.c
919
l->name, nb, (int)(sizeof tun.data));
usr.sbin/ppp/ip.c
948
l->name, nb, strerror(errno));
usr.sbin/ppp/ip.c
950
log_Printf(LogERROR, "ip_Input: %s: wrote %zd, got %zd\n", l->name, nb,
usr.sbin/ppp/ip.c
958
ipv4_Input(struct bundle *bundle, struct link *l, struct mbuf *bp)
usr.sbin/ppp/ip.c
970
nb = ip_Input(bundle, l, bp, AF_INET);
usr.sbin/ppp/ip.c
978
ipv6_Input(struct bundle *bundle, struct link *l, struct mbuf *bp)
usr.sbin/ppp/ip.c
990
nb = ip_Input(bundle, l, bp, AF_INET6);
usr.sbin/ppp/ipcp.c
1341
ipcp_Input(struct bundle *bundle, struct link *l, struct mbuf *bp)
usr.sbin/ppp/ipcp.c
1350
l->name, bundle_PhaseName(bundle));
usr.sbin/ppp/ipcp.c
1442
ipcp_PushPacket(struct ipcp *ipcp, struct link *l)
usr.sbin/ppp/ipcp.c
1457
if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) {
usr.sbin/ppp/ipcp.c
1458
log_Printf(LogPHASE, "%s: Not transmitting... waiting for CCP\n", l->name);
usr.sbin/ppp/ipcp.c
1475
link_PushPacket(l, bp, bundle, 0, PROTO_IP);
usr.sbin/ppp/ipcp.c
447
ipcp_Init(struct ipcp *ipcp, struct bundle *bundle, struct link *l,
usr.sbin/ppp/ipcp.c
457
bundle, l, parent, &ipcp_Callbacks, timer_names);
usr.sbin/ppp/ipcp.c
515
ipcp_SetLink(struct ipcp *ipcp, struct link *l)
usr.sbin/ppp/ipcp.c
517
ipcp->fsm.link = l;
usr.sbin/ppp/ipv6cp.c
265
ipv6cp_Init(struct ipv6cp *ipv6cp, struct bundle *bundle, struct link *l,
usr.sbin/ppp/ipv6cp.c
273
bundle, l, parent, &ipv6cp_Callbacks, timer_names);
usr.sbin/ppp/ipv6cp.c
318
ipv6cp_SetLink(struct ipv6cp *ipv6cp, struct link *l)
usr.sbin/ppp/ipv6cp.c
320
ipv6cp->fsm.link = l;
usr.sbin/ppp/ipv6cp.c
351
ipv6cp_Input(struct bundle *bundle, struct link *l, struct mbuf *bp)
usr.sbin/ppp/ipv6cp.c
360
" (ignored)\n", l->name, bundle_PhaseName(bundle));
usr.sbin/ppp/ipv6cp.c
421
ipv6cp_PushPacket(struct ipv6cp *ipv6cp, struct link *l)
usr.sbin/ppp/ipv6cp.c
436
if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) {
usr.sbin/ppp/ipv6cp.c
437
log_Printf(LogPHASE, "%s: Not transmitting... waiting for CCP\n", l->name);
usr.sbin/ppp/ipv6cp.c
454
link_PushPacket(l, bp, bundle, 0, PROTO_IPV6);
usr.sbin/ppp/lcp.c
1299
lcp_Input(struct bundle *bundle __unused, struct link *l, struct mbuf *bp)
usr.sbin/ppp/lcp.c
1303
fsm_Input(&l->lcp.fsm, bp);
usr.sbin/ppp/lcp.c
158
struct link *l;
usr.sbin/ppp/lcp.c
161
l = command_ChooseLink(arg);
usr.sbin/ppp/lcp.c
162
lcp = &l->lcp;
usr.sbin/ppp/lcp.c
164
prompt_Printf(arg->prompt, "%s: %s [%s]\n", l->name, lcp->fsm.name,
usr.sbin/ppp/lcp.c
249
lcp_Init(struct lcp *lcp, struct bundle *bundle, struct link *l,
usr.sbin/ppp/lcp.c
256
bundle, l, parent, &lcp_Callbacks, lcp_TimerNames);
usr.sbin/ppp/link.c
101
highest = LINK_HIGHQ(l);
usr.sbin/ppp/link.c
102
for (queue = l->Queue; queue < highest; queue++)
usr.sbin/ppp/link.c
108
link_DeleteQueue(struct link *l)
usr.sbin/ppp/link.c
112
highest = LINK_HIGHQ(l);
usr.sbin/ppp/link.c
113
for (queue = l->Queue; queue <= highest; queue++)
usr.sbin/ppp/link.c
119
link_QueueLen(struct link *l)
usr.sbin/ppp/link.c
124
for (i = 0, len = 0; i < LINK_QUEUES(l); i++)
usr.sbin/ppp/link.c
125
len += l->Queue[i].len;
usr.sbin/ppp/link.c
131
link_QueueBytes(struct link *l)
usr.sbin/ppp/link.c
138
for (i = 0, len = 0; i < LINK_QUEUES(l); i++) {
usr.sbin/ppp/link.c
139
len = l->Queue[i].len;
usr.sbin/ppp/link.c
140
m = l->Queue[i].top;
usr.sbin/ppp/link.c
151
link_PendingLowPriorityData(struct link *l, size_t *pkts, size_t *octets)
usr.sbin/ppp/link.c
168
highest = LINK_HIGHQ(l);
usr.sbin/ppp/link.c
170
for (queue = l->Queue; queue < highest; queue++) {
usr.sbin/ppp/link.c
179
link_Dequeue(struct link *l)
usr.sbin/ppp/link.c
184
for (bp = NULL, pri = LINK_QUEUES(l) - 1; pri >= 0; pri--)
usr.sbin/ppp/link.c
185
if (l->Queue[pri].len) {
usr.sbin/ppp/link.c
186
bp = m_dequeue(l->Queue + pri);
usr.sbin/ppp/link.c
189
(u_long)l->Queue[pri].len);
usr.sbin/ppp/link.c
216
link_ProtocolRecord(struct link *l, u_short proto, int type)
usr.sbin/ppp/link.c
223
l->proto_in[i]++;
usr.sbin/ppp/link.c
225
l->proto_out[i]++;
usr.sbin/ppp/link.c
231
link_ReportProtocolStatus(struct link *l, struct prompt *prompt)
usr.sbin/ppp/link.c
239
ProtocolStat[i].name, l->proto_in[i], l->proto_out[i]);
usr.sbin/ppp/link.c
248
link_PushPacket(struct link *l, struct mbuf *bp, struct bundle *b, int pri,
usr.sbin/ppp/link.c
260
if(pri < 0 || (unsigned)pri >= LINK_QUEUES(l))
usr.sbin/ppp/link.c
264
for (layer = l->nlayers; layer && bp; layer--)
usr.sbin/ppp/link.c
265
if (l->layer[layer - 1]->push != NULL)
usr.sbin/ppp/link.c
266
bp = (*l->layer[layer - 1]->push)(b, l, bp, pri, &proto);
usr.sbin/ppp/link.c
269
link_AddOutOctets(l, m_length(bp));
usr.sbin/ppp/link.c
271
m_enqueue(l->Queue + pri, m_pullup(bp));
usr.sbin/ppp/link.c
276
link_PullPacket(struct link *l, char *buf, size_t len, struct bundle *b)
usr.sbin/ppp/link.c
294
link_AddInOctets(l, len);
usr.sbin/ppp/link.c
312
if (l->layer[layer]->pull != NULL)
usr.sbin/ppp/link.c
313
bp = (*l->layer[layer]->pull)(b, l, bp, &proto);
usr.sbin/ppp/link.c
315
if (layer == l->nlayers - 1) {
usr.sbin/ppp/link.c
321
Despatch(b, l, bp, proto);
usr.sbin/ppp/link.c
332
link_Stack(struct link *l, struct layer *layer)
usr.sbin/ppp/link.c
334
if (l->nlayers == sizeof l->layer / sizeof l->layer[0]) {
usr.sbin/ppp/link.c
336
l->name, layer->name);
usr.sbin/ppp/link.c
339
l->layer[l->nlayers++] = layer;
usr.sbin/ppp/link.c
344
link_EmptyStack(struct link *l)
usr.sbin/ppp/link.c
346
l->nlayers = 0;
usr.sbin/ppp/link.c
373
Despatch(struct bundle *bundle, struct link *l, struct mbuf *bp, u_short proto)
usr.sbin/ppp/link.c
379
bp = (*despatcher[f].fn)(bundle, l, bp);
usr.sbin/ppp/link.c
384
struct physical *p = link2physical(l);
usr.sbin/ppp/link.c
390
lcp_SendProtoRej(&l->lcp, MBUF_CTOP(bp), bp->m_len);
usr.sbin/ppp/link.c
402
struct link *l = command_ChooseLink(arg);
usr.sbin/ppp/link.c
405
for (layer = l->nlayers; layer; layer--)
usr.sbin/ppp/link.c
406
prompt_Printf(arg->prompt, "%s%s", layer == l->nlayers ? "" : ", ",
usr.sbin/ppp/link.c
407
l->layer[layer - 1]->name);
usr.sbin/ppp/link.c
408
if (l->nlayers)
usr.sbin/ppp/link.c
75
link_AddInOctets(struct link *l, int n)
usr.sbin/ppp/link.c
77
if (l->stats.gather) {
usr.sbin/ppp/link.c
78
throughput_addin(&l->stats.total, n);
usr.sbin/ppp/link.c
79
if (l->stats.parent)
usr.sbin/ppp/link.c
80
throughput_addin(l->stats.parent, n);
usr.sbin/ppp/link.c
85
link_AddOutOctets(struct link *l, int n)
usr.sbin/ppp/link.c
87
if (l->stats.gather) {
usr.sbin/ppp/link.c
88
throughput_addout(&l->stats.total, n);
usr.sbin/ppp/link.c
89
if (l->stats.parent)
usr.sbin/ppp/link.c
90
throughput_addout(l->stats.parent, n);
usr.sbin/ppp/link.c
95
link_SequenceQueue(struct link *l)
usr.sbin/ppp/lqr.c
202
lqr_Input(struct bundle *bundle __unused, struct link *l, struct mbuf *bp)
usr.sbin/ppp/lqr.c
204
struct physical *p = link2physical(l);
usr.sbin/ppp/lqr.c
218
else if (!IsAccepted(l->lcp.cfg.lqr) && !(p->hdlc.lqm.method & LQM_LQR)) {
usr.sbin/ppp/lqr.c
235
lqr_Dump(l->name, "Input", &p->hdlc.lqm.lqr.peer);
usr.sbin/ppp/lqr.c
417
lqr_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp,
usr.sbin/ppp/lqr.c
420
struct physical *p = link2physical(l);
usr.sbin/ppp/lqr.c
451
for (layer = 0; layer < l->nlayers; layer++)
usr.sbin/ppp/lqr.c
452
switch (l->layer[layer]->type) {
usr.sbin/ppp/lqr.c
454
p->hdlc.lqm.ifOutOctets += acf_WrapperOctets(&l->lcp, *proto);
usr.sbin/ppp/lqr.c
463
layer = l->nlayers;
usr.sbin/ppp/lqr.c
466
p->hdlc.lqm.ifOutOctets += proto_WrapperOctets(&l->lcp, *proto);
usr.sbin/ppp/lqr.c
473
l->layer[layer]->name);
usr.sbin/ppp/lqr.c
489
link_PendingLowPriorityData(l, &pending_pkts, &pending_octets);
usr.sbin/ppp/lqr.c
505
lqr_Dump(l->name, "Output", &lqr);
usr.sbin/ppp/lqr.c
513
lqr_LayerPull(struct bundle *b __unused, struct link *l __unused,
usr.sbin/ppp/mbuf.c
225
size_t nb, l = len;
usr.sbin/ppp/mbuf.c
228
while (bp && l > 0) {
usr.sbin/ppp/mbuf.c
229
if (l > bp->m_len)
usr.sbin/ppp/mbuf.c
232
nb = l;
usr.sbin/ppp/mbuf.c
235
l -= nb;
usr.sbin/ppp/mbuf.c
239
return len - l;
usr.sbin/ppp/mp.c
1111
int f, l;
usr.sbin/ppp/mp.c
1119
l = snprintf(s->socket.sun_path, sizeof s->socket.sun_path, "%sppp-%s-%02x-",
usr.sbin/ppp/mp.c
1121
if (l < 0) {
usr.sbin/ppp/mp.c
1127
f < peer->enddisc.len && (size_t)l < sizeof s->socket.sun_path - 2;
usr.sbin/ppp/mp.c
1129
snprintf(s->socket.sun_path + l, sizeof s->socket.sun_path - l,
usr.sbin/ppp/mp.c
1131
l += 2;
usr.sbin/ppp/mp.c
612
mp_Input(struct bundle *bundle, struct link *l, struct mbuf *bp)
usr.sbin/ppp/mp.c
614
struct physical *p = link2physical(l);
usr.sbin/ppp/mp.c
632
mp_Output(struct mp *mp, struct bundle *bundle, struct link *l,
usr.sbin/ppp/mp.c
654
mp->out.seq, m_length(m), l->name);
usr.sbin/ppp/mp.c
657
if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) {
usr.sbin/ppp/mp.c
658
log_Printf(LogPHASE, "%s: Not transmitting... waiting for CCP\n", l->name);
usr.sbin/ppp/mp.c
662
link_PushPacket(l, m, bundle, LINK_QUEUES(l) - 1, PROTO_MP);
usr.sbin/ppp/mppe.c
158
MPPEOutput(void *v, struct ccp *ccp, struct link *l __unused, int pri __unused,
usr.sbin/ppp/nat_cmd.c
498
nat_LayerPush(struct bundle *bundle, struct link *l __unused, struct mbuf *bp,
usr.sbin/ppp/nat_cmd.c
515
nat_LayerPull(struct bundle *bundle, struct link *l __unused, struct mbuf *bp,
usr.sbin/ppp/ncp.c
199
ncp_SetLink(struct ncp *ncp, struct link *l)
usr.sbin/ppp/ncp.c
201
ipcp_SetLink(&ncp->ipcp, l);
usr.sbin/ppp/ncp.c
203
ipv6cp_SetLink(&ncp->ipv6cp, l);
usr.sbin/ppp/ncp.c
346
struct link *l)
usr.sbin/ppp/ncp.c
348
struct bundle *bundle = l->lcp.fsm.bundle;
usr.sbin/ppp/ncp.c
353
if ((res = ipcp_PushPacket(&bundle->ncp.ipcp, l)))
usr.sbin/ppp/ncp.c
356
res = ipv6cp_PushPacket(&bundle->ncp.ipv6cp, l);
usr.sbin/ppp/ncp.c
358
if ((res = ipv6cp_PushPacket(&bundle->ncp.ipv6cp, l)))
usr.sbin/ppp/ncp.c
361
res = ipcp_PushPacket(&bundle->ncp.ipcp, l);
usr.sbin/ppp/ncp.c
364
res = ipcp_PushPacket(&bundle->ncp.ipcp, l);
usr.sbin/ppp/pap.c
180
pap_Input(struct bundle *bundle, struct link *l, struct mbuf *bp)
usr.sbin/ppp/pap.c
182
struct physical *p = link2physical(l);
usr.sbin/ppp/physical.h
119
#define link2physical(l) \
usr.sbin/ppp/physical.h
120
((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL)
usr.sbin/ppp/pred.c
174
Pred1Output(void *v, struct ccp *ccp, struct link *l __unused,
usr.sbin/ppp/proto.c
109
link_ProtocolRecord(l, *proto, PROTO_IN);
usr.sbin/ppp/proto.c
72
proto_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp,
usr.sbin/ppp/proto.c
76
bp = proto_Prepend(bp, *proto, l->lcp.his_protocomp,
usr.sbin/ppp/proto.c
77
acf_WrapperOctets(&l->lcp, *proto));
usr.sbin/ppp/proto.c
79
link_ProtocolRecord(l, *proto, PROTO_OUT);
usr.sbin/ppp/proto.c
85
proto_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp,
usr.sbin/ppp/sync.c
52
sync_LayerPush(struct bundle *bundle __unused, struct link *l __unused,
usr.sbin/ppp/sync.c
62
sync_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp,
usr.sbin/ppp/sync.c
65
struct physical *p = link2physical(l);
usr.sbin/ppp/tcpmss.c
219
tcpmss_LayerPush(struct bundle *bundle, struct link *l __unused,
usr.sbin/ppp/tcpmss.c
226
tcpmss_LayerPull(struct bundle *bundle, struct link *l __unused,
usr.sbin/ppp/vjcomp.c
165
vj_LayerPull(struct bundle *bundle, struct link *l __unused, struct mbuf *bp,
usr.sbin/ppp/vjcomp.c
73
vj_LayerPush(struct bundle *bundle, struct link *l __unused, struct mbuf *bp,
usr.sbin/pppctl/pppctl.c
280
const char *l;
usr.sbin/pppctl/pppctl.c
294
while ((l = SmartGets(td->edit, &len, td->ppp))) {
usr.sbin/pppctl/pppctl.c
297
history(td->hist, H_ENTER, l);
usr.sbin/pppctl/pppctl.c
299
history(td->hist, &hev, H_ENTER, l);
usr.sbin/pppctl/pppctl.c
301
write(td->ppp, l, len);
usr.sbin/pw/psdate.c
124
l = newlocale(LC_ALL_MASK, "C", NULL);
usr.sbin/pw/psdate.c
128
ret = strptime_l(str, valid_formats[i], &tm, l);
usr.sbin/pw/psdate.c
136
freelocale(l);
usr.sbin/pw/psdate.c
141
freelocale(l);
usr.sbin/pw/psdate.c
48
int l, i;
usr.sbin/pw/psdate.c
52
l = strlen(strncpy(mystr, *str, len));
usr.sbin/pw/psdate.c
53
for (i = 0; i < l; i++)
usr.sbin/pw/psdate.c
81
locale_t l;
usr.sbin/pw/pw_user.c
512
int i, l;
usr.sbin/pw/pw_user.c
519
l = (arc4random() % 8 + 8); /* 8 - 16 chars */
usr.sbin/pw/pw_user.c
520
for (i = 0; i < l; i++)
usr.sbin/pw/pw_user.c
579
int l = strlen(pwd->pw_name);
usr.sbin/pw/pw_user.c
582
memmove(p + l, p + 1, m);
usr.sbin/pw/pw_user.c
583
memmove(p, pwd->pw_name, l);
usr.sbin/route6d/route6d.c
3349
#define MASKLEN(m, l) case m: do { i += l; break; } while (0)
usr.sbin/rtadvd/advcap.c
186
int l;
usr.sbin/rtadvd/advcap.c
212
l = p - holdtbuf + strlen(q);
usr.sbin/rtadvd/advcap.c
213
if (l > BUFSIZ) {
usr.sbin/rtsold/rtsol.c
165
int l, ifindex = 0, *hlimp = NULL;
usr.sbin/rtsold/rtsol.c
410
l = snprintf(nsbuf, sizeof(nsbuf),
usr.sbin/rtsold/rtsol.c
415
l = snprintf(nsbuf, sizeof(nsbuf),
usr.sbin/rtsold/rtsol.c
417
if (l < 0 || (size_t)l >= sizeof(nsbuf)) {
usr.sbin/rtsold/rtsol.c
420
"RDNSS option: %d.", l);
usr.sbin/services_mkdb/uniq.c
114
size_t l = *len, complen;
usr.sbin/services_mkdb/uniq.c
118
for (p = (const unsigned char *)origline; l && *p && isspace(*p);
usr.sbin/services_mkdb/uniq.c
119
p++, l--)
usr.sbin/services_mkdb/uniq.c
121
if (*p == '\0' || l == 0)
usr.sbin/services_mkdb/uniq.c
124
if ((cline = malloc(l + 1)) == NULL)
usr.sbin/services_mkdb/uniq.c
125
err(1, "Cannot allocate %zu bytes", l + 1);
usr.sbin/services_mkdb/uniq.c
126
(void)memcpy(cline, p, l);
usr.sbin/services_mkdb/uniq.c
127
cline[l] = '\0';
usr.sbin/services_mkdb/uniq.c
133
for (q = (unsigned char *)cline; l && *p; p++, l--) {
usr.sbin/smbmsg/smbmsg.c
93
unsigned long l;
usr.sbin/smbmsg/smbmsg.c
95
l = strtoul(s, &endp, 0);
usr.sbin/smbmsg/smbmsg.c
97
return (int)l;
usr.sbin/traceroute/traceroute.c
2068
int l;
usr.sbin/traceroute/traceroute.c
2074
l = (la <= lb) ? la : lb;
usr.sbin/traceroute/traceroute.c
2075
for (i = 0; i < l; i++)
usr.sbin/uhsoctl/uhsoctl.c
1004
l = strlen(async_cmd[i].cmd);
usr.sbin/uhsoctl/uhsoctl.c
1005
if (strncmp(buf, async_cmd[i].cmd, l) == 0) {
usr.sbin/uhsoctl/uhsoctl.c
584
size_t l;
usr.sbin/uhsoctl/uhsoctl.c
598
l = strlen(cmd);
usr.sbin/uhsoctl/uhsoctl.c
599
n = write(ctx->fd, cmd, l);
usr.sbin/uhsoctl/uhsoctl.c
604
l = strlen(resp);
usr.sbin/uhsoctl/uhsoctl.c
606
fprintf(stderr, "SYNC_EXP: %s (%zu)\n", resp, l);
usr.sbin/uhsoctl/uhsoctl.c
662
retval = strncmp(buf, resp, l);
usr.sbin/uhsoctl/uhsoctl.c
673
size_t l;
usr.sbin/uhsoctl/uhsoctl.c
684
l = strlen(cmd);
usr.sbin/uhsoctl/uhsoctl.c
685
return (write(fd, cmd, l));
usr.sbin/uhsoctl/uhsoctl.c
990
size_t l;
usr.sbin/vidcontrol/vidcontrol.c
242
int i, j, k, l;
usr.sbin/vidcontrol/vidcontrol.c
247
for (l = 0; d[l] != NULL; l++) {
usr.sbin/vidcontrol/vidcontrol.c
249
a[i], b[j], c[k], d[l]);
usr.sbin/vidcontrol/vidcontrol.c
975
long l;
usr.sbin/vidcontrol/vidcontrol.c
977
l = strtol(arg, NULL, 0);
usr.sbin/vidcontrol/vidcontrol.c
979
if ((l < 0) || (l > UCHAR_MAX - 3)) {
usr.sbin/vidcontrol/vidcontrol.c
986
mouse.u.mouse_char = (int)l;
usr.sbin/ypldap/ber.c
881
unsigned long long l;
usr.sbin/ypldap/ber.c
891
l = (unsigned long long)root->be_numeric;
usr.sbin/ypldap/ber.c
893
u = (l >> ((i - 1) * 8)) & 0xff;