bin/date/date.c
259
const char *dot, *t;
bin/date/date.c
268
t = strptime(p, fmt, lt);
bin/date/date.c
269
if (t == NULL) {
bin/date/date.c
273
} else if (*t != '\0')
bin/date/date.c
276
(long) strlen(t), t);
bin/date/date.c
278
for (t = p, dot = NULL; *t; ++t) {
bin/date/date.c
279
if (isdigit(*t))
bin/date/date.c
281
if (*t == '.' && dot == NULL) {
bin/date/date.c
282
dot = t;
bin/date/date.c
379
const struct tm * __restrict t, long nsec, long res)
bin/date/date.c
487
ret = strftime(s, maxsize, newformat, t);
bin/date/vary.c
106
daysinmonth(const struct tm *t)
bin/date/vary.c
110
year = t->tm_year + 1900;
bin/date/vary.c
112
if (t->tm_mon == 1)
bin/date/vary.c
121
else if (t->tm_mon >= 0 && t->tm_mon < 12)
bin/date/vary.c
122
return mdays[t->tm_mon];
bin/date/vary.c
129
adjyear(struct tm *t, char type, int64_t val, int mk)
bin/date/vary.c
133
t->tm_year += val;
bin/date/vary.c
136
t->tm_year -= val;
bin/date/vary.c
139
t->tm_year = val;
bin/date/vary.c
140
if (t->tm_year < 69)
bin/date/vary.c
141
t->tm_year += 100; /* as per date.c */
bin/date/vary.c
142
else if (t->tm_year > 1900)
bin/date/vary.c
143
t->tm_year -= 1900; /* struct tm holds years since 1900 */
bin/date/vary.c
146
return !mk || domktime(t, type) != -1;
bin/date/vary.c
150
adjmon(struct tm *t, char type, int64_t val, int istext, int mk)
bin/date/vary.c
160
if (val <= t->tm_mon)
bin/date/vary.c
161
val += 11 - t->tm_mon; /* early next year */
bin/date/vary.c
163
val -= t->tm_mon + 1; /* later this year */
bin/date/vary.c
166
if (!adjyear(t, '+', (t->tm_mon + val) / 12, 0))
bin/date/vary.c
169
t->tm_mon += val;
bin/date/vary.c
170
if (t->tm_mon > 11)
bin/date/vary.c
171
t->tm_mon -= 12;
bin/date/vary.c
177
if (val-1 > t->tm_mon)
bin/date/vary.c
178
val = 13 - val + t->tm_mon; /* later last year */
bin/date/vary.c
180
val = t->tm_mon - val + 1; /* early this year */
bin/date/vary.c
183
if (!adjyear(t, '-', val / 12, 0))
bin/date/vary.c
186
if (val > t->tm_mon) {
bin/date/vary.c
187
if (!adjyear(t, '-', 1, 0))
bin/date/vary.c
191
t->tm_mon -= val;
bin/date/vary.c
198
t->tm_mon = --val;
bin/date/vary.c
202
lmdays = daysinmonth(t);
bin/date/vary.c
203
if (t->tm_mday > lmdays)
bin/date/vary.c
204
t->tm_mday = lmdays;
bin/date/vary.c
206
return !mk || domktime(t, type) != -1;
bin/date/vary.c
210
adjday(struct tm *t, char type, int64_t val, int mk)
bin/date/vary.c
217
lmdays = daysinmonth(t);
bin/date/vary.c
218
if (val > lmdays - t->tm_mday) {
bin/date/vary.c
219
val -= lmdays - t->tm_mday + 1;
bin/date/vary.c
220
t->tm_mday = 1;
bin/date/vary.c
221
if (!adjmon(t, '+', 1, 0, 0))
bin/date/vary.c
224
t->tm_mday += val;
bin/date/vary.c
231
if (val >= t->tm_mday) {
bin/date/vary.c
232
val -= t->tm_mday;
bin/date/vary.c
233
t->tm_mday = 1;
bin/date/vary.c
234
if (!adjmon(t, '-', 1, 0, 0))
bin/date/vary.c
236
t->tm_mday = daysinmonth(t);
bin/date/vary.c
238
t->tm_mday -= val;
bin/date/vary.c
243
if (val > 0 && val <= daysinmonth(t))
bin/date/vary.c
244
t->tm_mday = val;
bin/date/vary.c
250
return !mk || domktime(t, type) != -1;
bin/date/vary.c
254
adjwday(struct tm *t, char type, int64_t val, int istext, int mk)
bin/date/vary.c
262
if (val < t->tm_wday)
bin/date/vary.c
263
val = 7 - t->tm_wday + val; /* early next week */
bin/date/vary.c
265
val -= t->tm_wday; /* later this week */
bin/date/vary.c
268
return !val || adjday(t, '+', val, mk);
bin/date/vary.c
271
if (val > t->tm_wday)
bin/date/vary.c
272
val = 7 - val + t->tm_wday; /* later last week */
bin/date/vary.c
274
val = t->tm_wday - val; /* early this week */
bin/date/vary.c
277
return !val || adjday(t, '-', val, mk);
bin/date/vary.c
279
if (val < t->tm_wday)
bin/date/vary.c
280
return adjday(t, '-', t->tm_wday - val, mk);
bin/date/vary.c
283
else if (val > t->tm_wday)
bin/date/vary.c
284
return adjday(t, '+', val - t->tm_wday, mk);
bin/date/vary.c
290
adjhour(struct tm *t, char type, int64_t val, int mk)
bin/date/vary.c
300
days = (t->tm_hour + val) / 24;
bin/date/vary.c
302
t->tm_hour += val;
bin/date/vary.c
303
t->tm_hour %= 24;
bin/date/vary.c
304
if (!adjday(t, '+', days, 0))
bin/date/vary.c
315
if (val > t->tm_hour) {
bin/date/vary.c
319
t->tm_hour -= val;
bin/date/vary.c
320
if (!adjday(t, '-', days, 0))
bin/date/vary.c
328
t->tm_hour = val;
bin/date/vary.c
331
return !mk || domktime(t, type) != -1;
bin/date/vary.c
335
adjmin(struct tm *t, char type, int64_t val, int mk)
bin/date/vary.c
343
if (!adjhour(t, '+', (t->tm_min + val) / 60, 0))
bin/date/vary.c
346
t->tm_min += val;
bin/date/vary.c
347
if (t->tm_min > 59)
bin/date/vary.c
348
t->tm_min -= 60;
bin/date/vary.c
354
if (!adjhour(t, '-', val / 60, 0))
bin/date/vary.c
357
if (val > t->tm_min) {
bin/date/vary.c
358
if (!adjhour(t, '-', 1, 0))
bin/date/vary.c
362
t->tm_min -= val;
bin/date/vary.c
369
t->tm_min = val;
bin/date/vary.c
372
return !mk || domktime(t, type) != -1;
bin/date/vary.c
376
adjsec(struct tm *t, char type, int64_t val, int mk)
bin/date/vary.c
384
if (!adjmin(t, '+', (t->tm_sec + val) / 60, 0))
bin/date/vary.c
387
t->tm_sec += val;
bin/date/vary.c
388
if (t->tm_sec > 59)
bin/date/vary.c
389
t->tm_sec -= 60;
bin/date/vary.c
395
if (!adjmin(t, '-', val / 60, 0))
bin/date/vary.c
398
if (val > t->tm_sec) {
bin/date/vary.c
399
if (!adjmin(t, '-', 1, 0))
bin/date/vary.c
403
t->tm_sec -= val;
bin/date/vary.c
410
t->tm_sec = val;
bin/date/vary.c
413
return !mk || domktime(t, type) != -1;
bin/date/vary.c
417
vary_apply(const struct vary *v, struct tm *t)
bin/date/vary.c
437
t->tm_isdst = -1;
bin/date/vary.c
442
if (!adjwday(t, type, val, 1, 1))
bin/date/vary.c
447
if (!adjmon(t, type, val, 1, 1))
bin/date/vary.c
458
if (!adjsec(t, type, val, 1))
bin/date/vary.c
462
if (!adjmin(t, type, val, 1))
bin/date/vary.c
466
if (!adjhour(t, type, val, 1))
bin/date/vary.c
470
t->tm_isdst = -1;
bin/date/vary.c
471
if (!adjday(t, type, val, 1))
bin/date/vary.c
475
t->tm_isdst = -1;
bin/date/vary.c
476
if (!adjwday(t, type, val, 0, 1))
bin/date/vary.c
480
t->tm_isdst = -1;
bin/date/vary.c
481
if (!adjmon(t, type, val, 0, 1))
bin/date/vary.c
485
t->tm_isdst = -1;
bin/date/vary.c
486
if (!adjyear(t, type, val, 1))
bin/date/vary.c
59
domktime(struct tm *t, char type)
bin/date/vary.c
63
while ((ret = mktime(t)) == -1 && t->tm_year > 68 && t->tm_year < 138)
bin/date/vary.c
65
adjhour(t, type == '-' ? type : '+', 1, 0);
bin/date/vary.c
71
trans(const struct trans t[], const char *arg)
bin/date/vary.c
75
for (f = 0; t[f].val != -1; f++)
bin/date/vary.c
76
if (!strncasecmp(t[f].str, arg, 3) ||
bin/date/vary.c
77
!strncasecmp(t[f].str, arg, strlen(t[f].str)))
bin/date/vary.c
78
return t[f].val;
bin/date/vary.h
35
extern const struct vary *vary_apply(const struct vary *v, struct tm *t);
bin/dd/conv.c
131
if ((t = ctab) != NULL)
bin/dd/conv.c
134
*outp++ = t[ch];
bin/dd/conv.c
213
const u_char *t;
bin/dd/conv.c
217
if ((t = ctab) != NULL)
bin/dd/conv.c
219
*inp = t[*inp];
bin/dd/conv.c
226
for (t = inp + cbsz - 1; t >= inp && *t == ' '; --t)
bin/dd/conv.c
228
if (t >= inp) {
bin/dd/conv.c
229
cnt = t - inp + 1;
bin/dd/conv.c
246
u_char *t;
bin/dd/conv.c
251
for (t = in.db + in.dbcnt - 1; t >= in.db && *t == ' '; --t)
bin/dd/conv.c
253
if (t >= in.db) {
bin/dd/conv.c
254
cnt = t - in.db + 1;
bin/dd/conv.c
55
const u_char *t;
bin/dd/conv.c
58
if ((t = ctab) != NULL)
bin/dd/conv.c
60
*inp = t[*inp];
bin/dd/conv.c
99
const u_char *t;
bin/dd/dd.c
367
unsigned char t;
bin/dd/dd.c
370
t = p[0];
bin/dd/dd.c
372
p[1] = t;
bin/ed/ed.h
82
line_t *t; /* tail of list */
bin/ed/io.c
214
char *t = ibufp;
bin/ed/io.c
216
while (*t++ != '\n')
bin/ed/io.c
218
if ((l = t - ibufp) < 2 || !has_trailing_escape(ibufp, ibufp + l - 1)) {
bin/ed/io.c
87
up->t = lp;
bin/ed/main.c
1043
up->t = get_addressed_line_node(current_addr);
bin/ed/main.c
1161
up->t = lp;
bin/ed/main.c
1288
has_trailing_escape(char *s, char *t)
bin/ed/main.c
1290
return (s == t || *(t - 1) != '\\') ? 0 : !has_trailing_escape(s, t - 1);
bin/ed/sub.c
142
up->t = get_addressed_line_node(current_addr);
bin/ed/undo.c
101
REQUE(ustack[n].h->q_back, ustack[n].t->q_forw);
bin/ed/undo.c
105
REQUE(ustack[n].t, ustack[n].t->q_forw);
bin/ed/undo.c
110
REQUE(ustack[n].t->q_back, ustack[n - 1].t);
bin/ed/undo.c
111
REQUE(ustack[n].h, ustack[n].t);
bin/ed/undo.c
140
ep = ustack[u_p].t->q_forw;
bin/ed/undo.c
43
undo_t *t;
bin/ed/undo.c
53
t = ustack;
bin/ed/undo.c
55
(t = (undo_t *) realloc(ustack, (usize += USIZE) * sizeof(undo_t))) != NULL) {
bin/ed/undo.c
56
ustack = t;
bin/ed/undo.c
58
ustack[u_p].t = get_addressed_line_node(to);
bin/ls/ls.c
69
#define STRBUF_SIZEOF(t) (1 + CHAR_BIT * sizeof(t) / 3 + 1)
bin/ls/ls.c
851
u_long t = len_octal(cur->fts_name, cur->fts_namelen);
bin/ls/ls.c
853
if (t > maxlen)
bin/ls/ls.c
854
maxlen = t;
bin/pax/options.c
1427
off_t num, t;
bin/pax/options.c
1435
t = num;
bin/pax/options.c
1437
if (t > num)
bin/pax/options.c
1442
t = num;
bin/pax/options.c
1444
if (t > num)
bin/pax/options.c
1449
t = num;
bin/pax/options.c
1451
if (t > num)
bin/pax/options.c
1456
t = num;
bin/pax/options.c
1458
if (t > num)
bin/pax/options.c
1469
t = num;
bin/pax/options.c
1471
if (t > num)
bin/pax/sel_subs.c
528
const char *dot, *t;
bin/pax/sel_subs.c
536
for (t = p, dot = NULL; *t; ++t) {
bin/pax/sel_subs.c
537
if (isdigit((unsigned char)*t))
bin/pax/sel_subs.c
539
if (*t == '.' && dot == NULL) {
bin/pax/sel_subs.c
540
dot = t;
bin/ps/keyword.c
330
VAR *t, key;
bin/ps/keyword.c
340
t = bsearch(&key, keywords, known_keywords_nb, sizeof(VAR), vcmp);
bin/ps/keyword.c
341
if (t == NULL)
bin/ps/keyword.c
345
resolve_alias(t);
bin/ps/keyword.c
346
merge_alias(k, t);
bin/rm/rm.c
430
char **t, **u;
bin/rm/rm.c
434
for (t = argv; *t;) {
bin/rm/rm.c
435
if (ISSLASH(*t)) {
bin/rm/rm.c
439
for (u = t; u[0] != NULL; ++u)
bin/rm/rm.c
442
++t;
bin/rm/rm.c
501
char *p, **save, **t;
bin/rm/rm.c
505
for (t = argv; *t;) {
bin/rm/rm.c
506
if ((p = strrchr(*t, '/')) != NULL)
bin/rm/rm.c
509
p = *t;
bin/rm/rm.c
514
for (save = t; (t[0] = t[1]) != NULL; ++t)
bin/rm/rm.c
516
t = save;
bin/rm/rm.c
518
++t;
bin/sh/parser.c
136
struct parser_temp *t;
bin/sh/parser.c
139
t = ckmalloc(sizeof(*t));
bin/sh/parser.c
140
t->data = NULL;
bin/sh/parser.c
141
t->next = parser_temp;
bin/sh/parser.c
142
parser_temp = t;
bin/sh/parser.c
143
t->data = ckmalloc(len);
bin/sh/parser.c
145
return t->data;
bin/sh/parser.c
152
struct parser_temp *t;
bin/sh/parser.c
155
t = parser_temp;
bin/sh/parser.c
156
if (ptr != t->data)
bin/sh/parser.c
158
t->data = ckrealloc(t->data, len);
bin/sh/parser.c
160
return t->data;
bin/sh/parser.c
167
struct parser_temp *t;
bin/sh/parser.c
172
t = parser_temp;
bin/sh/parser.c
173
parser_temp = t->next;
bin/sh/parser.c
174
done = t->data == ptr;
bin/sh/parser.c
175
ckfree(t->data);
bin/sh/parser.c
176
ckfree(t);
bin/sh/parser.c
187
struct parser_temp *t;
bin/sh/parser.c
191
t = parser_temp;
bin/sh/parser.c
192
parser_temp = t->next;
bin/sh/parser.c
193
ckfree(t->data);
bin/sh/parser.c
194
ckfree(t);
bin/sh/parser.c
208
int t;
bin/sh/parser.c
224
t = readtoken();
bin/sh/parser.c
225
if (t == TEOF)
bin/sh/parser.c
227
if (t == TNL)
bin/sh/parser.c
242
int t;
bin/sh/parser.c
256
while ((t = readtoken()) != TEOF) {
bin/sh/parser.c
257
if (t != TWORD)
bin/sh/parser.c
345
int t;
bin/sh/parser.c
349
if ((t = readtoken()) == TAND) {
bin/sh/parser.c
350
t = NAND;
bin/sh/parser.c
351
} else if (t == TOR) {
bin/sh/parser.c
352
t = NOR;
bin/sh/parser.c
357
n = makebinary(t, n, pipeline());
bin/sh/parser.c
368
int negate, t;
bin/sh/parser.c
388
t = readtoken();
bin/sh/parser.c
390
if (t == TNOT)
bin/sh/parser.c
418
int t;
bin/sh/parser.c
464
t = lasttoken;
bin/sh/parser.c
468
n1 = makebinary((t == TWHILE)? NWHILE : NUNTIL, n1, list(0));
bin/sh/parser.c
511
if ((t = readtoken()) == TDO)
bin/sh/parser.c
512
t = TDONE;
bin/sh/parser.c
513
else if (t == TBEGIN)
bin/sh/parser.c
514
t = TEND;
bin/sh/parser.c
518
consumetoken(t);
bin/sh/parser.c
551
if ((t = readtoken()) != TESAC) {
bin/sh/parser.c
552
if (t == TENDCASE)
bin/sh/parser.c
554
else if (t == TFALLTHRU)
bin/sh/parser.c
812
int t;
bin/sh/parser.c
814
t = readtoken();
bin/sh/parser.c
816
return (t);
bin/sh/parser.c
822
int t;
bin/sh/parser.c
829
t = xxreadtoken();
bin/sh/parser.c
835
while (t == TNL) {
bin/sh/parser.c
837
t = xxreadtoken();
bin/sh/parser.c
844
if (t == TWORD && !quoteflag)
bin/sh/parser.c
852
lasttoken = t = pp - parsekwd + KWDOFFSET;
bin/sh/parser.c
853
TRACE(("keyword %s recognized\n", tokname[t]));
bin/sh/parser.c
864
if (t != TNOT)
bin/sh/parser.c
869
TRACE(("token %s %s\n", tokname[t], t == TWORD ? wordtext : ""));
bin/sh/parser.c
871
TRACE(("reread token %s %s\n", tokname[t], t == TWORD ? wordtext : ""));
bin/sh/parser.c
873
return (t);
bin/sh/trap.c
256
char *t;
bin/sh/trap.c
258
if ((t = trap[signo]) == NULL)
bin/sh/trap.c
260
else if (*t != '\0')
bin/sh/trap.c
290
t = &sigmode[signo];
bin/sh/trap.c
291
if (*t == 0) {
bin/sh/trap.c
306
*t = S_IGN; /* don't hard ignore these */
bin/sh/trap.c
308
*t = S_HARD_IGN;
bin/sh/trap.c
310
*t = S_RESET; /* force to be set */
bin/sh/trap.c
313
if (*t == S_HARD_IGN || *t == action)
bin/sh/trap.c
320
*t = action;
bin/stty/cchar.c
113
ip->t.c_cc[cp->sub] = _POSIX_VDISABLE;
bin/stty/cchar.c
125
ip->t.c_cc[cp->sub] = val;
bin/stty/cchar.c
127
ip->t.c_cc[cp->sub] = (arg[1] == '?') ? 0177 :
bin/stty/cchar.c
130
ip->t.c_cc[cp->sub] = arg[0];
bin/stty/key.c
130
print(&ip->t, &ip->win, ip->ldisc, BSD);
bin/stty/key.c
140
ip->t.c_iflag |= BRKINT|IXON|IMAXBEL;
bin/stty/key.c
141
ip->t.c_oflag |= OPOST;
bin/stty/key.c
142
ip->t.c_lflag |= ISIG|IEXTEN;
bin/stty/key.c
143
ip->t.c_lflag &= ~ICANON;
bin/stty/key.c
160
ip->t.c_cc[VERASE] = (u_char)0177;
bin/stty/key.c
161
ip->t.c_cc[VKILL] = CTRL('u');
bin/stty/key.c
162
ip->t.c_cc[VINTR] = CTRL('c');
bin/stty/key.c
163
ip->t.c_lflag &= ~ECHOPRT;
bin/stty/key.c
164
ip->t.c_lflag |= ECHOE|ECHOKE|ECHOCTL;
bin/stty/key.c
165
ip->t.c_iflag &= ~IXANY;
bin/stty/key.c
173
ip->t.c_cc[VERASE] = CERASE;
bin/stty/key.c
174
ip->t.c_cc[VKILL] = CKILL;
bin/stty/key.c
182
print(&ip->t, &ip->win, ip->ldisc, BSD);
bin/stty/key.c
202
cfsetispeed(&ip->t, (speed_t)atoi(ip->arg));
bin/stty/key.c
211
ip->t.c_iflag |= ICRNL;
bin/stty/key.c
212
ip->t.c_oflag |= ONLCR;
bin/stty/key.c
214
ip->t.c_iflag &= ~ICRNL;
bin/stty/key.c
215
ip->t.c_oflag &= ~ONLCR;
bin/stty/key.c
224
cfsetospeed(&ip->t, (speed_t)atoi(ip->arg));
bin/stty/key.c
235
cfmakeraw(&ip->t);
bin/stty/key.c
236
ip->t.c_cflag &= ~(CSIZE|PARENB);
bin/stty/key.c
237
ip->t.c_cflag |= CS8;
bin/stty/key.c
256
ip->t.c_cflag = def.c_cflag | (ip->t.c_cflag & CLOCAL);
bin/stty/key.c
257
ip->t.c_iflag = def.c_iflag;
bin/stty/key.c
260
ip->t.c_lflag = def.c_lflag | (ip->t.c_lflag & LKEEP);
bin/stty/key.c
261
ip->t.c_oflag = def.c_oflag;
bin/stty/key.c
276
(void)printf("%lu\n", (u_long)cfgetospeed(&ip->t));
bin/stty/modes.c
216
ip->t.c_cflag &= ~mp->unset;
bin/stty/modes.c
217
ip->t.c_cflag |= mp->set;
bin/stty/modes.c
223
ip->t.c_iflag &= ~mp->unset;
bin/stty/modes.c
224
ip->t.c_iflag |= mp->set;
bin/stty/modes.c
230
ip->t.c_lflag &= ~mp->unset;
bin/stty/modes.c
231
ip->t.c_lflag |= mp->set;
bin/stty/modes.c
237
ip->t.c_oflag &= ~mp->unset;
bin/stty/modes.c
238
ip->t.c_oflag |= mp->set;
bin/stty/stty.c
101
print(&i.t, &i.win, i.ldisc, fmt);
bin/stty/stty.c
104
gprint(&i.t, &i.win, i.ldisc);
bin/stty/stty.c
124
cfsetospeed(&i.t, speed);
bin/stty/stty.c
125
cfsetispeed(&i.t, speed);
bin/stty/stty.c
131
gread(&i.t, *argv + sizeof("gfmt1") - 1);
bin/stty/stty.c
140
if (i.set && tcsetattr(i.fd, 0, &i.t) < 0)
bin/stty/stty.c
85
if (tcgetattr(i.fd, &i.t) < 0)
bin/stty/stty.h
42
struct termios t; /* terminal info */
bin/test/test.c
479
char *t;
bin/test/test.c
487
t = *(t_wp + 2);
bin/test/test.c
490
(parenlevel == 0 || t[0] != ')' || t[1] != '\0');
crypto/heimdal/admin/add.c
80
int t;
crypto/heimdal/admin/add.c
81
if(sscanf(opt->enctype_string, "%d", &t) == 1)
crypto/heimdal/admin/add.c
82
enctype = t;
crypto/heimdal/admin/remove.c
57
int t;
crypto/heimdal/admin/remove.c
58
if(sscanf(opt->enctype_string, "%d", &t) == 1)
crypto/heimdal/admin/remove.c
59
enctype = t;
crypto/heimdal/appl/ftp/ftp/ftp.c
561
struct timeval t;
crypto/heimdal/appl/ftp/ftp/ftp.c
563
t.tv_sec = sec;
crypto/heimdal/appl/ftp/ftp/ftp.c
564
t.tv_usec = 0;
crypto/heimdal/appl/ftp/ftp/ftp.c
565
return (select (FD_SETSIZE, mask, NULL, NULL, &t));
crypto/heimdal/appl/ftp/ftp/ruserpass.c
111
int t, i, c, usedefault = 0;
crypto/heimdal/appl/ftp/ftp/ruserpass.c
128
while ((t = token())) switch(t) {
crypto/heimdal/appl/ftp/ftp/ruserpass.c
162
while ((t = token()) && t != MACH && t != DEFAULT) switch(t) {
crypto/heimdal/appl/ftp/ftp/ruserpass.c
281
struct toktab *t;
crypto/heimdal/appl/ftp/ftp/ruserpass.c
309
for (t = toktab; t->tokstr; t++)
crypto/heimdal/appl/ftp/ftp/ruserpass.c
310
if (!strcmp(t->tokstr, tokval))
crypto/heimdal/appl/ftp/ftp/ruserpass.c
311
return (t->tval);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2399
struct tm *t;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2402
t = gmtime(&mtime);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2405
t->tm_year + 1900,
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2406
t->tm_mon + 1,
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2407
t->tm_mday,
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2408
t->tm_hour,
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2409
t->tm_min,
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2410
t->tm_sec);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3425
char *t;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3429
t = "SITE ";
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3431
t = "";
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3446
t, "(* =>'s unimplemented)");
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3482
reply(214, "Syntax: %s%s %s", t, c->name, c->help);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3484
reply(214, "%s%-*s\t%s; unimplemented.", t, width,
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1372
char *t;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1376
t = "SITE ";
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1378
t = "";
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1393
t, "(* =>'s unimplemented)");
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1429
reply(214, "Syntax: %s%s %s", t, c->name, c->help);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1431
reply(214, "%s%-*s\t%s; unimplemented.", t, width,
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
623
struct tm *t;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
626
t = gmtime(&mtime);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
629
t->tm_year + 1900,
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
630
t->tm_mon + 1,
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
631
t->tm_mday,
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
632
t->tm_hour,
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
633
t->tm_min,
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
634
t->tm_sec);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1184
int s, t, tries;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1215
t = errno;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1219
errno = t;
crypto/heimdal/appl/ftp/ftpd/ls.c
268
time_t t = time(NULL);
crypto/heimdal/appl/ftp/ftpd/ls.c
271
if((t - mtime > 6*30*24*60*60) ||
crypto/heimdal/appl/ftp/ftpd/ls.c
272
(mtime - t > 6*30*24*60*60))
crypto/heimdal/appl/gssmask/common.c
70
#define SWAP(s,i,j) { char *t = str[i]; str[i] = str[j]; str[j] = t; }
crypto/heimdal/appl/login/login.c
408
long t;
crypto/heimdal/appl/login/login.c
413
t = udb->ue_pcpulim[UDBRC_INTER];
crypto/heimdal/appl/login/login.c
414
if(t == 0 || t > maxcpu)
crypto/heimdal/appl/login/login.c
415
t = CPUUNLIM;
crypto/heimdal/appl/login/login.c
417
t *= 100 * CLOCKS_PER_SEC;
crypto/heimdal/appl/login/login.c
419
if(limit(C_PROC, 0, L_CPU, t) < 0)
crypto/heimdal/appl/login/login.c
422
t = udb->ue_jcpulim[UDBRC_INTER];
crypto/heimdal/appl/login/login.c
423
if(t == 0 || t > maxcpu)
crypto/heimdal/appl/login/login.c
424
t = CPUUNLIM;
crypto/heimdal/appl/login/login.c
426
t *= 100 * CLOCKS_PER_SEC;
crypto/heimdal/appl/login/login.c
428
if(limit(C_JOBPROCS, 0, L_CPU, t) < 0)
crypto/heimdal/appl/su/su.c
443
char *t = getenv ("TERM");
crypto/heimdal/appl/su/su.c
464
if (t)
crypto/heimdal/appl/su/su.c
465
esetenv ("TERM", t, 1);
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
55
# define tcgetattr(f, t) ioctl(f, TCGETS, (char *)t)
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
60
# define tcgetattr(f, t) ioctl(f, TCGETA, (char *)t)
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
64
# define tcgetattr(f, t) ioctl(f, TIOCGETA, (char *)t)
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
67
# define tcsetattr(f, a, t) ioctl(f, a, (char *)t)
crypto/heimdal/appl/telnet/telnetd/ext.h
152
int login_tty(int t);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1000
ioctl(t, TCVHUP, (char *)0);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1007
close(t);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1008
t = i;
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1011
return(t);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1016
int login_tty(int t)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1021
if (ioctl(t, TIOCSCTTY, (char *)0) < 0 && !really_stream)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1028
close(t);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1029
if ((t = open("/dev/tty", O_RDWR)) < 0)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1048
if (t != 0)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1049
dup2(t, 0);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1050
if (t != 1)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1051
dup2(t, 1);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1052
if (t != 2)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1053
dup2(t, 2);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1054
if (t > 2)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1055
close(t);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
137
# define tcgetattr(f, t) ioctl(f, TCGETS, (char *)t)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
142
# define tcgetattr(f, t) ioctl(f, TCGETA, (char *)t)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
146
# define tcgetattr(f, t) ioctl(f, TIOCGETA, (char *)t)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
149
# define tcsetattr(f, a, t) ioctl(f, a, t)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1596
int t;
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1620
t = sigblock(sigmask(SIGCHLD));
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1622
sigsetmask(t);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1626
sigsetmask(t);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1628
t = cleantmp(&wtmp);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1635
if (t == 0)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
815
int t = -1;
crypto/heimdal/appl/telnet/telnetd/sys_term.c
838
t = open(_PATH_TTY, O_RDWR);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
839
if (t >= 0) {
crypto/heimdal/appl/telnet/telnetd/sys_term.c
840
ioctl(t, TIOCNOTTY, (char *)0);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
841
close(t);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
853
t = cleanopen(line);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
854
if (t < 0)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
858
ttyfd = t;
crypto/heimdal/appl/telnet/telnetd/sys_term.c
883
maybe_push_modules(t, ttymodules);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
896
ioctl(t, TIOCSWINSZ, (char *)&ws);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
935
if (login_tty(t) == -1)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
955
int t;
crypto/heimdal/appl/telnet/telnetd/sys_term.c
976
t = open(line, O_RDWR|O_NOCTTY);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
978
if (t < 0)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
992
t = open(line, O_RDWR|O_NOCTTY);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
993
if (t < 0)
crypto/heimdal/appl/telnet/telnetd/telnetd.c
956
int t;
crypto/heimdal/appl/telnet/telnetd/telnetd.c
957
t = open(_PATH_TTY, O_RDWR);
crypto/heimdal/appl/telnet/telnetd/telnetd.c
958
if (t >= 0) {
crypto/heimdal/appl/telnet/telnetd/telnetd.c
959
ioctl(t, TIOCNOTTY, (char *)0);
crypto/heimdal/appl/telnet/telnetd/telnetd.c
960
close(t);
crypto/heimdal/appl/telnet/telnetd/utility.c
444
time_t t;
crypto/heimdal/appl/telnet/telnetd/utility.c
499
time(&t);
crypto/heimdal/appl/telnet/telnetd/utility.c
500
strftime(db, sizeof(db), fmtstr, localtime(&t));
crypto/heimdal/base/baselocl.h
102
heim_base_atomic_type t;
crypto/heimdal/base/baselocl.h
104
t = --(*x);
crypto/heimdal/base/baselocl.h
106
return t;
crypto/heimdal/base/baselocl.h
71
#define heim_base_exchange_pointer(t,v) __sync_lock_test_and_set((t), (v))
crypto/heimdal/base/baselocl.h
80
#define heim_base_exchange_pointer(t,v) InterlockedExchangePointer((t),(v))
crypto/heimdal/base/baselocl.h
92
heim_base_atomic_type t;
crypto/heimdal/base/baselocl.h
94
t = ++(*x);
crypto/heimdal/base/baselocl.h
96
return t;
crypto/heimdal/base/heimbase.h
97
#define heim_assert(e,t) \
crypto/heimdal/base/heimbase.h
98
(heim_builtin_expect(!(e), 0) ? heim_abort(t ":" #e) : (void)0)
crypto/heimdal/kadmin/load.c
103
*t = NULL;
crypto/heimdal/kadmin/load.c
106
*t = malloc (sizeof (**t));
crypto/heimdal/kadmin/load.c
107
if (*t == NULL)
crypto/heimdal/kadmin/load.c
109
**t = tmp;
crypto/heimdal/kadmin/load.c
72
parse_time_string(time_t *t, const char *s)
crypto/heimdal/kadmin/load.c
89
*t = timegm(&tm);
crypto/heimdal/kadmin/load.c
98
parse_time_string_alloc (time_t **t, const char *s)
crypto/heimdal/kadmin/random_password.c
146
int t = 0;
crypto/heimdal/kadmin/random_password.c
148
if(x < t + classes[j].freq) {
crypto/heimdal/kadmin/random_password.c
154
t += classes[j].freq;
crypto/heimdal/kadmin/test_util.c
41
time_t t;
crypto/heimdal/kadmin/test_util.c
54
time_t t;
crypto/heimdal/kadmin/test_util.c
57
ret = str2time_t (ts[i].str, &t);
crypto/heimdal/kadmin/test_util.c
62
else if (t != ts[i].t) {
crypto/heimdal/kadmin/test_util.c
63
printf("%d: %d is wrong time\n", i, (int)t);
crypto/heimdal/kadmin/util.c
160
time_t2str(time_t t, char *str, size_t len, int include_time)
crypto/heimdal/kadmin/util.c
162
if(t) {
crypto/heimdal/kadmin/util.c
164
strftime(str, len, "%Y-%m-%d %H:%M:%S UTC", gmtime(&t));
crypto/heimdal/kadmin/util.c
166
strftime(str, len, "%Y-%m-%d", gmtime(&t));
crypto/heimdal/kadmin/util.c
177
str2time_t (const char *str, time_t *t)
crypto/heimdal/kadmin/util.c
190
*t = parse_time(str, "month");
crypto/heimdal/kadmin/util.c
191
if (*t < 0)
crypto/heimdal/kadmin/util.c
193
*t += time(NULL);
crypto/heimdal/kadmin/util.c
198
*t = 0;
crypto/heimdal/kadmin/util.c
203
*t = time(NULL);
crypto/heimdal/kadmin/util.c
228
*t = tm2time (tm, 0);
crypto/heimdal/kadmin/util.c
286
deltat2str(unsigned t, char *str, size_t len)
crypto/heimdal/kadmin/util.c
288
if(t == 0 || t == INT_MAX)
crypto/heimdal/kadmin/util.c
291
unparse_time(t, str, len);
crypto/heimdal/kdc/announce.c
101
dispatch_time_t t;
crypto/heimdal/kdc/announce.c
105
t = dispatch_time(DISPATCH_TIME_NOW, 5ull * NSEC_PER_SEC);
crypto/heimdal/kdc/announce.c
106
dispatch_source_set_timer(s, t, 0, NSEC_PER_SEC);
crypto/heimdal/kdc/connect.c
651
char *s, *p, *t;
crypto/heimdal/kdc/connect.c
664
t = strtok_r(s, " \t", &p);
crypto/heimdal/kdc/connect.c
665
if (t == NULL) {
crypto/heimdal/kdc/connect.c
671
t = strtok_r(NULL, " \t", &p);
crypto/heimdal/kdc/connect.c
672
if(t == NULL) {
crypto/heimdal/kdc/connect.c
678
data = malloc(strlen(t));
crypto/heimdal/kdc/connect.c
681
(unsigned long)strlen(t));
crypto/heimdal/kdc/connect.c
684
if(*t == '/')
crypto/heimdal/kdc/connect.c
685
t++;
crypto/heimdal/kdc/connect.c
686
if(de_http(t) != 0) {
crypto/heimdal/kdc/connect.c
688
kdc_log(context, config, 5, "HTTP request: %s", t);
crypto/heimdal/kdc/connect.c
698
len = base64_decode(t, data);
crypto/heimdal/kdc/connect.c
712
kdc_log(context, config, 5, "HTTP request: %s", t);
crypto/heimdal/kdc/digest.c
599
uint32_t t;
crypto/heimdal/kdc/digest.c
606
t = p[0] | (p[1] << 8) | (p[2] << 16) | (p[3] << 24);
crypto/heimdal/kdc/digest.c
608
if (abs((kdc_time & 0xffffffff) - t) > context->max_skew) {
crypto/heimdal/kdc/kdc-replay.c
125
uint32_t t, clty, tag;
crypto/heimdal/kdc/kdc-replay.c
128
ret = krb5_ret_uint32(sp, &t);
crypto/heimdal/kdc/kdc-replay.c
133
if (t != 1)
crypto/heimdal/kdc/kdc-replay.c
135
ret = krb5_ret_uint32(sp, &t);
crypto/heimdal/kdc/kdc-replay.c
169
tv.tv_sec = t;
crypto/heimdal/kdc/kerberos5.c
1496
#define CNT(sp,t) (((sp)->sname->name_type) == KRB5_NT_##t)
crypto/heimdal/kdc/kerberos5.c
1548
time_t t;
crypto/heimdal/kdc/kerberos5.c
1559
t = *b->till;
crypto/heimdal/kdc/kerberos5.c
1564
t = start + min(t - start, *client->entry.max_life);
crypto/heimdal/kdc/kerberos5.c
1566
t = start + min(t - start, *server->entry.max_life);
crypto/heimdal/kdc/kerberos5.c
1568
t = min(t, start + realm->max_life);
crypto/heimdal/kdc/kerberos5.c
1570
et.endtime = t;
crypto/heimdal/kdc/kerberos5.c
1581
t = *b->rtime;
crypto/heimdal/kdc/kerberos5.c
1582
if(t == 0)
crypto/heimdal/kdc/kerberos5.c
1583
t = MAX_TIME;
crypto/heimdal/kdc/kerberos5.c
1585
t = start + min(t - start, *client->entry.max_renew);
crypto/heimdal/kdc/kerberos5.c
1587
t = start + min(t - start, *server->entry.max_renew);
crypto/heimdal/kdc/kerberos5.c
1589
t = min(t, start + realm->max_renew);
crypto/heimdal/kdc/kerberos5.c
1592
*et.renew_till = t;
crypto/heimdal/kdc/kerberos5.c
39
_kdc_fix_time(time_t **t)
crypto/heimdal/kdc/kerberos5.c
41
if(*t == NULL){
crypto/heimdal/kdc/kerberos5.c
42
ALLOC(*t);
crypto/heimdal/kdc/kerberos5.c
43
**t = MAX_TIME;
crypto/heimdal/kdc/kerberos5.c
45
if(**t == 0) **t = MAX_TIME; /* fix for old clients */
crypto/heimdal/kdc/krb5tgs.c
1534
Ticket *t;
crypto/heimdal/kdc/krb5tgs.c
1546
t = &b->additional_tickets->val[0];
crypto/heimdal/kdc/krb5tgs.c
1547
if(!get_krbtgt_realm(&t->sname)){
crypto/heimdal/kdc/krb5tgs.c
1553
_krb5_principalname2krb5_principal(context, &p, t->sname, t->realm);
crypto/heimdal/kdc/krb5tgs.c
1555
HDB_F_GET_KRBTGT, t->enc_part.kvno,
crypto/heimdal/kdc/krb5tgs.c
1564
t->enc_part.etype, &uukey);
crypto/heimdal/kdc/krb5tgs.c
1570
ret = krb5_decrypt_ticket(context, t, &uukey->key, &adtkt, 0);
crypto/heimdal/kdc/krb5tgs.c
2041
Ticket *t;
crypto/heimdal/kdc/krb5tgs.c
2055
t = &b->additional_tickets->val[0];
crypto/heimdal/kdc/krb5tgs.c
2058
t->enc_part.etype, &clientkey);
crypto/heimdal/kdc/krb5tgs.c
2064
ret = krb5_decrypt_ticket(context, t, &clientkey->key, &adtkt, 0);
crypto/heimdal/kdc/krb5tgs.c
2085
t->sname,
crypto/heimdal/kdc/krb5tgs.c
2086
t->realm);
crypto/heimdal/kdc/kx509.c
126
int32_t t = *rep->error_code;
crypto/heimdal/kdc/kx509.c
128
unsigned char p = (t & 0xff);
crypto/heimdal/kdc/kx509.c
130
t >>= 8;
crypto/heimdal/kdc/kx509.c
131
} while (t);
crypto/heimdal/kdc/process.c
267
uint32_t t;
crypto/heimdal/kdc/process.c
274
t = _kdc_now.tv_sec;
crypto/heimdal/kdc/process.c
295
krb5_store_uint32(sp, t);
crypto/heimdal/kuser/copy_cred_cache.c
112
time_t t = parse_time(opt->valid_for_string, "s");
crypto/heimdal/kuser/copy_cred_cache.c
113
if(t < 0)
crypto/heimdal/kuser/copy_cred_cache.c
115
ctx.mcreds.times.endtime = time(NULL) + t;
crypto/heimdal/kuser/klist.c
155
Ticket t;
crypto/heimdal/kuser/klist.c
159
decode_Ticket(cred->ticket.data, cred->ticket.length, &t, &len);
crypto/heimdal/kuser/klist.c
160
ret = krb5_enctype_to_string(context, t.enc_part.etype, &s);
crypto/heimdal/kuser/klist.c
166
printf(N_("unknown-enctype(%d)", ""), t.enc_part.etype);
crypto/heimdal/kuser/klist.c
168
if(t.enc_part.kvno)
crypto/heimdal/kuser/klist.c
169
printf(N_(", kvno %d", ""), *t.enc_part.kvno);
crypto/heimdal/kuser/klist.c
171
if(cred->session.keytype != t.enc_part.etype) {
crypto/heimdal/kuser/klist.c
180
free_Ticket(&t);
crypto/heimdal/kuser/klist.c
381
unsigned char t[4096];
crypto/heimdal/kuser/klist.c
386
parms.out = (void *)t;
crypto/heimdal/kuser/klist.c
387
parms.out_size = sizeof(t);
crypto/heimdal/kuser/klist.c
393
unsigned char *r = t;
crypto/heimdal/kuser/klist.c
402
if(parms.out_size > sizeof(t))
crypto/heimdal/kuser/klist.c
406
t[min(parms.out_size,sizeof(t)-1)] = 0;
crypto/heimdal/kuser/klist.c
410
if (parms.out_size < (r - t) + sizeof(size_public_tok))
crypto/heimdal/kuser/klist.c
414
if (parms.out_size < (r - t) + size_public_tok + sizeof(int32_t))
crypto/heimdal/kuser/klist.c
42
printable_time_internal(time_t t, int x)
crypto/heimdal/kuser/klist.c
47
if ((p = ctime(&t)) == NULL)
crypto/heimdal/kuser/klist.c
520
time_t t;
crypto/heimdal/kuser/klist.c
526
expired = check_for_tgt (context, id, principal, &t);
crypto/heimdal/kuser/klist.c
538
str = printable_time(t);
crypto/heimdal/kuser/klist.c
56
printable_time(time_t t)
crypto/heimdal/kuser/klist.c
58
return printable_time_internal(t, 20);
crypto/heimdal/kuser/klist.c
62
printable_time_long(time_t t)
crypto/heimdal/kuser/klist.c
64
return printable_time_internal(t, 20);
crypto/heimdal/lib/asn1/asn1-template.h
75
#define A1_TAG_LEN(t) ((uintptr_t)(t)->ptr)
crypto/heimdal/lib/asn1/asn1-template.h
76
#define A1_HEADER_LEN(t) ((uintptr_t)(t)->ptr)
crypto/heimdal/lib/asn1/asn1parse.c
2004
Type *t = new_type(TOctetString);
crypto/heimdal/lib/asn1/asn1parse.c
2005
t->range = (yyvsp[(3) - (3)].range);
crypto/heimdal/lib/asn1/asn1parse.c
2007
TE_EXPLICIT, t);
crypto/heimdal/lib/asn1/asn1parse.c
266
static Type *new_type (Typetype t);
crypto/heimdal/lib/asn1/asn1parse.c
2778
Type *t;
crypto/heimdal/lib/asn1/asn1parse.c
2780
t = oldtype;
crypto/heimdal/lib/asn1/asn1parse.c
2783
t = new_type (TTag);
crypto/heimdal/lib/asn1/asn1parse.c
2785
t->tag.tagclass = tagclass;
crypto/heimdal/lib/asn1/asn1parse.c
2786
t->tag.tagvalue = tagvalue;
crypto/heimdal/lib/asn1/asn1parse.c
2787
t->tag.tagenv = tagenv;
crypto/heimdal/lib/asn1/asn1parse.c
2788
t->subtype = oldtype;
crypto/heimdal/lib/asn1/asn1parse.c
2789
return t;
crypto/heimdal/lib/asn1/asn1parse.c
2816
Type *t = ecalloc(1, sizeof(*t));
crypto/heimdal/lib/asn1/asn1parse.c
2817
t->type = tt;
crypto/heimdal/lib/asn1/asn1parse.c
2818
return t;
crypto/heimdal/lib/asn1/asn1parse.c
2829
static void fix_labels2(Type *t, const char *prefix);
crypto/heimdal/lib/asn1/asn1parse.c
2846
static void fix_labels2(Type *t, const char *prefix)
crypto/heimdal/lib/asn1/asn1parse.c
2848
for(; t; t = t->subtype)
crypto/heimdal/lib/asn1/asn1parse.c
2849
fix_labels1(t->members, prefix);
crypto/heimdal/lib/asn1/asn1parse.y
1006
static void fix_labels2(Type *t, const char *prefix);
crypto/heimdal/lib/asn1/asn1parse.y
1023
static void fix_labels2(Type *t, const char *prefix)
crypto/heimdal/lib/asn1/asn1parse.y
1025
for(; t; t = t->subtype)
crypto/heimdal/lib/asn1/asn1parse.y
1026
fix_labels1(t->members, prefix);
crypto/heimdal/lib/asn1/asn1parse.y
475
Type *t = new_type(TOctetString);
crypto/heimdal/lib/asn1/asn1parse.y
476
t->range = $3;
crypto/heimdal/lib/asn1/asn1parse.y
478
TE_EXPLICIT, t);
crypto/heimdal/lib/asn1/asn1parse.y
52
static Type *new_type (Typetype t);
crypto/heimdal/lib/asn1/asn1parse.y
955
Type *t;
crypto/heimdal/lib/asn1/asn1parse.y
957
t = oldtype;
crypto/heimdal/lib/asn1/asn1parse.y
960
t = new_type (TTag);
crypto/heimdal/lib/asn1/asn1parse.y
962
t->tag.tagclass = tagclass;
crypto/heimdal/lib/asn1/asn1parse.y
963
t->tag.tagvalue = tagvalue;
crypto/heimdal/lib/asn1/asn1parse.y
964
t->tag.tagenv = tagenv;
crypto/heimdal/lib/asn1/asn1parse.y
965
t->subtype = oldtype;
crypto/heimdal/lib/asn1/asn1parse.y
966
return t;
crypto/heimdal/lib/asn1/asn1parse.y
993
Type *t = ecalloc(1, sizeof(*t));
crypto/heimdal/lib/asn1/asn1parse.y
994
t->type = tt;
crypto/heimdal/lib/asn1/asn1parse.y
995
return t;
crypto/heimdal/lib/asn1/check-der.c
1036
time_t t;
crypto/heimdal/lib/asn1/check-der.c
1040
&t, &size);
crypto/heimdal/lib/asn1/check-timegm.c
43
time_t t;
crypto/heimdal/lib/asn1/check-timegm.c
52
t = _der_timegm(&tm);
crypto/heimdal/lib/asn1/check-timegm.c
53
if (t != 1159696980)
crypto/heimdal/lib/asn1/check-timegm.c
57
t = _der_timegm(&tm);
crypto/heimdal/lib/asn1/check-timegm.c
58
if (t != -1)
crypto/heimdal/lib/asn1/der_free.c
72
der_free_generalized_time(time_t *t)
crypto/heimdal/lib/asn1/der_free.c
74
*t = 0;
crypto/heimdal/lib/asn1/der_free.c
78
der_free_utctime(time_t *t)
crypto/heimdal/lib/asn1/der_free.c
80
*t = 0;
crypto/heimdal/lib/asn1/der_get.c
442
generalizedtime2time (const char *s, time_t *t)
crypto/heimdal/lib/asn1/der_get.c
461
*t = _der_timegm (&tm);
crypto/heimdal/lib/asn1/der_length.c
272
der_length_generalized_time (const time_t *t)
crypto/heimdal/lib/asn1/der_length.c
277
_heim_time2generalizedtime (*t, &k, 1);
crypto/heimdal/lib/asn1/der_length.c
284
der_length_utctime (const time_t *t)
crypto/heimdal/lib/asn1/der_length.c
289
_heim_time2generalizedtime (*t, &k, 0);
crypto/heimdal/lib/asn1/der_locl.h
59
struct tm * _der_gmtime(time_t t, struct tm *);
crypto/heimdal/lib/asn1/der_put.c
499
_heim_time2generalizedtime (time_t t, heim_octet_string *s, int gtimep)
crypto/heimdal/lib/asn1/der_put.c
508
if (_der_gmtime(t, &tm) == NULL)
crypto/heimdal/lib/asn1/gen.c
522
have_ellipsis(Type *t)
crypto/heimdal/lib/asn1/gen.c
525
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen.c
533
define_asn1 (int level, Type *t)
crypto/heimdal/lib/asn1/gen.c
535
switch (t->type) {
crypto/heimdal/lib/asn1/gen.c
537
fprintf (headerfile, "%s", t->symbol->name);
crypto/heimdal/lib/asn1/gen.c
540
if(t->members == NULL) {
crypto/heimdal/lib/asn1/gen.c
542
if (t->range)
crypto/heimdal/lib/asn1/gen.c
544
t->range->min, t->range->max);
crypto/heimdal/lib/asn1/gen.c
548
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen.c
568
if(t->type == TBitString)
crypto/heimdal/lib/asn1/gen.c
572
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen.c
587
if(t->type == TChoice)
crypto/heimdal/lib/asn1/gen.c
589
else if(t->type == TSet)
crypto/heimdal/lib/asn1/gen.c
593
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen.c
599
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen.c
621
define_asn1 (0, t->subtype);
crypto/heimdal/lib/asn1/gen.c
625
define_asn1 (0, t->subtype);
crypto/heimdal/lib/asn1/gen.c
639
if(t->tag.tagclass != ASN1_C_UNIV)
crypto/heimdal/lib/asn1/gen.c
641
classnames[t->tag.tagclass],
crypto/heimdal/lib/asn1/gen.c
642
t->tag.tagvalue);
crypto/heimdal/lib/asn1/gen.c
643
if(t->tag.tagenv == TE_IMPLICIT)
crypto/heimdal/lib/asn1/gen.c
645
define_asn1 (level, t->subtype);
crypto/heimdal/lib/asn1/gen.c
704
define_type (int level, const char *name, const char *basename, Type *t, int typedefp, int preservep)
crypto/heimdal/lib/asn1/gen.c
708
switch (t->type) {
crypto/heimdal/lib/asn1/gen.c
711
fprintf (headerfile, "%s %s;\n", t->symbol->gen_name, name);
crypto/heimdal/lib/asn1/gen.c
715
if(t->members) {
crypto/heimdal/lib/asn1/gen.c
718
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen.c
724
} else if (t->range == NULL) {
crypto/heimdal/lib/asn1/gen.c
726
} else if (t->range->min < INT_MIN && t->range->max <= INT64_MAX) {
crypto/heimdal/lib/asn1/gen.c
728
} else if (t->range->min >= 0 && t->range->max > UINT_MAX) {
crypto/heimdal/lib/asn1/gen.c
730
} else if (t->range->min >= 0 && t->range->max <= UINT_MAX) {
crypto/heimdal/lib/asn1/gen.c
732
} else if (t->range->min >= INT_MIN && t->range->max <= INT_MAX) {
crypto/heimdal/lib/asn1/gen.c
736
name, t->range->min, t->range->max);
crypto/heimdal/lib/asn1/gen.c
757
if(ASN1_TAILQ_EMPTY(t->members))
crypto/heimdal/lib/asn1/gen.c
764
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen.c
804
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen.c
824
if (t->type == TSequence && preservep) {
crypto/heimdal/lib/asn1/gen.c
828
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen.c
860
define_type (level + 1, "*val", newbasename, t->subtype, FALSE, FALSE);
crypto/heimdal/lib/asn1/gen.c
878
define_type (level, name, basename, t->subtype, typedefp, preservep);
crypto/heimdal/lib/asn1/gen.c
894
m = have_ellipsis(t);
crypto/heimdal/lib/asn1/gen.c
900
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen.c
914
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen_copy.c
101
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen_copy.c
110
if(t->type == TChoice)
crypto/heimdal/lib/asn1/gen_copy.c
115
t->type == TChoice ? "u." : "", m->gen_name) < 0)
crypto/heimdal/lib/asn1/gen_copy.c
121
t->type == TChoice ? "u." : "", m->gen_name) < 0)
crypto/heimdal/lib/asn1/gen_copy.c
138
if(t->type == TChoice)
crypto/heimdal/lib/asn1/gen_copy.c
141
if(t->type == TChoice) {
crypto/heimdal/lib/asn1/gen_copy.c
178
copy_type(f, T, t->subtype, FALSE);
crypto/heimdal/lib/asn1/gen_copy.c
215
copy_type (from, to, t->subtype, preserve);
crypto/heimdal/lib/asn1/gen_copy.c
49
copy_type (const char *from, const char *to, const Type *t, int preserve)
crypto/heimdal/lib/asn1/gen_copy.c
51
switch (t->type) {
crypto/heimdal/lib/asn1/gen_copy.c
54
copy_type (from, to, t->symbol->type, preserve);
crypto/heimdal/lib/asn1/gen_copy.c
57
t->symbol->gen_name, from, to);
crypto/heimdal/lib/asn1/gen_copy.c
61
if (t->range == NULL && t->members == NULL) {
crypto/heimdal/lib/asn1/gen_copy.c
73
if (ASN1_TAILQ_EMPTY(t->members))
crypto/heimdal/lib/asn1/gen_copy.c
83
if(t->members == NULL)
crypto/heimdal/lib/asn1/gen_copy.c
86
if ((t->type == TSequence || t->type == TChoice) && preserve) {
crypto/heimdal/lib/asn1/gen_copy.c
96
if(t->type == TChoice) {
crypto/heimdal/lib/asn1/gen_decode.c
139
*cl = t->tag.tagclass;
crypto/heimdal/lib/asn1/gen_decode.c
140
*ty = is_primitive_type(t->subtype->type) ? PRIM : CONS;
crypto/heimdal/lib/asn1/gen_decode.c
141
*tag = t->tag.tagvalue;
crypto/heimdal/lib/asn1/gen_decode.c
144
if ((t->symbol->stype == Stype && t->symbol->type == NULL)
crypto/heimdal/lib/asn1/gen_decode.c
145
|| t->symbol->stype == SUndefined) {
crypto/heimdal/lib/asn1/gen_decode.c
149
t->symbol->name);
crypto/heimdal/lib/asn1/gen_decode.c
152
find_tag(t->symbol->type, cl, ty, tag);
crypto/heimdal/lib/asn1/gen_decode.c
211
decode_type (const char *name, const Type *t, int optional,
crypto/heimdal/lib/asn1/gen_decode.c
215
switch (t->type) {
crypto/heimdal/lib/asn1/gen_decode.c
224
t->symbol->gen_name, name);
crypto/heimdal/lib/asn1/gen_decode.c
244
if(t->members) {
crypto/heimdal/lib/asn1/gen_decode.c
253
} else if (t->range == NULL) {
crypto/heimdal/lib/asn1/gen_decode.c
255
} else if (t->range->min < INT_MIN && t->range->max <= INT64_MAX) {
crypto/heimdal/lib/asn1/gen_decode.c
257
} else if (t->range->min >= 0 && t->range->max > UINT_MAX) {
crypto/heimdal/lib/asn1/gen_decode.c
259
} else if (t->range->min >= INT_MIN && t->range->max <= INT_MAX) {
crypto/heimdal/lib/asn1/gen_decode.c
261
} else if (t->range->min >= 0 && t->range->max <= UINT_MAX) {
crypto/heimdal/lib/asn1/gen_decode.c
265
name, t->range->min, t->range->max);
crypto/heimdal/lib/asn1/gen_decode.c
285
if (t->range)
crypto/heimdal/lib/asn1/gen_decode.c
286
range_check(name, "length", forwstr, t->range);
crypto/heimdal/lib/asn1/gen_decode.c
292
if (ASN1_TAILQ_EMPTY(t->members)) {
crypto/heimdal/lib/asn1/gen_decode.c
302
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen_decode.c
322
if (t->members == NULL)
crypto/heimdal/lib/asn1/gen_decode.c
325
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen_decode.c
345
if(t->members == NULL)
crypto/heimdal/lib/asn1/gen_decode.c
359
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen_decode.c
390
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen_decode.c
449
decode_type (n, t->subtype, 0, forwstr, sname, NULL, depth + 1);
crypto/heimdal/lib/asn1/gen_decode.c
458
if (t->range)
crypto/heimdal/lib/asn1/gen_decode.c
459
range_check(name, "len", forwstr, t->range);
crypto/heimdal/lib/asn1/gen_decode.c
491
classname(t->tag.tagclass),
crypto/heimdal/lib/asn1/gen_decode.c
493
valuename(t->tag.tagclass, t->tag.tagvalue),
crypto/heimdal/lib/asn1/gen_decode.c
497
if (support_ber && t->subtype->type == TOctetString) {
crypto/heimdal/lib/asn1/gen_decode.c
503
is_primitive_type(t->subtype->type) ? "PRIM" : "CONS");
crypto/heimdal/lib/asn1/gen_decode.c
533
decode_type (name, t->subtype, 0, forwstr, tname, ide, depth + 1);
crypto/heimdal/lib/asn1/gen_decode.c
566
if (t->members == NULL)
crypto/heimdal/lib/asn1/gen_decode.c
569
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen_decode.c
60
find_tag (const Type *t,
crypto/heimdal/lib/asn1/gen_decode.c
63
switch (t->type) {
crypto/heimdal/lib/asn1/gen_encode.c
108
encode_type (const char *name, const Type *t, const char *tmpstr)
crypto/heimdal/lib/asn1/gen_encode.c
112
switch (t->type) {
crypto/heimdal/lib/asn1/gen_encode.c
115
encode_type (name, t->symbol->type);
crypto/heimdal/lib/asn1/gen_encode.c
120
t->symbol->gen_name, name);
crypto/heimdal/lib/asn1/gen_encode.c
123
if(t->members) {
crypto/heimdal/lib/asn1/gen_encode.c
130
} else if (t->range == NULL) {
crypto/heimdal/lib/asn1/gen_encode.c
132
} else if (t->range->min < INT_MIN && t->range->max <= INT64_MAX) {
crypto/heimdal/lib/asn1/gen_encode.c
134
} else if (t->range->min >= 0 && t->range->max > UINT_MAX) {
crypto/heimdal/lib/asn1/gen_encode.c
136
} else if (t->range->min >= INT_MIN && t->range->max <= INT_MAX) {
crypto/heimdal/lib/asn1/gen_encode.c
138
} else if (t->range->min >= 0 && t->range->max <= UINT_MAX) {
crypto/heimdal/lib/asn1/gen_encode.c
142
name, t->range->min, t->range->max);
crypto/heimdal/lib/asn1/gen_encode.c
157
if (ASN1_TAILQ_EMPTY(t->members)) {
crypto/heimdal/lib/asn1/gen_encode.c
170
pos = t->members->prev->val;
crypto/heimdal/lib/asn1/gen_encode.c
182
pos = ASN1_TAILQ_LAST(t->members, memhead)->val;
crypto/heimdal/lib/asn1/gen_encode.c
188
ASN1_TAILQ_FOREACH_REVERSE(m, t->members, memhead, members) {
crypto/heimdal/lib/asn1/gen_encode.c
260
if (t->members == NULL)
crypto/heimdal/lib/asn1/gen_encode.c
263
ASN1_TAILQ_FOREACH_REVERSE(m, t->members, memhead, members) {
crypto/heimdal/lib/asn1/gen_encode.c
313
t->subtype->symbol->gen_name,
crypto/heimdal/lib/asn1/gen_encode.c
368
encode_type (n, t->subtype, sname);
crypto/heimdal/lib/asn1/gen_encode.c
394
c = encode_type (name, t->subtype, tname);
crypto/heimdal/lib/asn1/gen_encode.c
398
classname(t->tag.tagclass),
crypto/heimdal/lib/asn1/gen_encode.c
400
valuename(t->tag.tagclass, t->tag.tagvalue));
crypto/heimdal/lib/asn1/gen_encode.c
408
if (t->members == NULL)
crypto/heimdal/lib/asn1/gen_encode.c
417
ASN1_TAILQ_FOREACH_REVERSE(m, t->members, memhead, members) {
crypto/heimdal/lib/asn1/gen_free.c
109
if(t->type == TChoice)
crypto/heimdal/lib/asn1/gen_free.c
113
if(t->type == TChoice) {
crypto/heimdal/lib/asn1/gen_free.c
132
free_type(n, t->subtype, FALSE);
crypto/heimdal/lib/asn1/gen_free.c
168
free_type (name, t->subtype, preserve);
crypto/heimdal/lib/asn1/gen_free.c
45
free_type (const char *name, const Type *t, int preserve)
crypto/heimdal/lib/asn1/gen_free.c
47
switch (t->type) {
crypto/heimdal/lib/asn1/gen_free.c
50
free_type (name, t->symbol->type, preserve);
crypto/heimdal/lib/asn1/gen_free.c
52
fprintf (codefile, "free_%s(%s);\n", t->symbol->gen_name, name);
crypto/heimdal/lib/asn1/gen_free.c
55
if (t->range == NULL && t->members == NULL) {
crypto/heimdal/lib/asn1/gen_free.c
66
if (ASN1_TAILQ_EMPTY(t->members))
crypto/heimdal/lib/asn1/gen_free.c
77
if (t->members == NULL)
crypto/heimdal/lib/asn1/gen_free.c
80
if ((t->type == TSequence || t->type == TChoice) && preserve)
crypto/heimdal/lib/asn1/gen_free.c
83
if(t->type == TChoice)
crypto/heimdal/lib/asn1/gen_free.c
86
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen_free.c
94
if(t->type == TChoice)
crypto/heimdal/lib/asn1/gen_free.c
98
t->type == TChoice ? "u." : "", m->gen_name) < 0 || s == NULL)
crypto/heimdal/lib/asn1/gen_glue.c
114
if(t->members) {
crypto/heimdal/lib/asn1/gen_glue.c
115
ASN1_TAILQ_FOREACH_REVERSE(m, t->members, memhead, members) {
crypto/heimdal/lib/asn1/gen_glue.c
140
generate_glue (const Type *t, const char *gen_name)
crypto/heimdal/lib/asn1/gen_glue.c
142
switch(t->type) {
crypto/heimdal/lib/asn1/gen_glue.c
144
generate_glue(t->subtype, gen_name);
crypto/heimdal/lib/asn1/gen_glue.c
147
if (!ASN1_TAILQ_EMPTY(t->members)) {
crypto/heimdal/lib/asn1/gen_glue.c
148
generate_2int (t, gen_name);
crypto/heimdal/lib/asn1/gen_glue.c
149
generate_int2 (t, gen_name);
crypto/heimdal/lib/asn1/gen_glue.c
150
generate_units (t, gen_name);
crypto/heimdal/lib/asn1/gen_glue.c
41
generate_2int (const Type *t, const char *gen_name)
crypto/heimdal/lib/asn1/gen_glue.c
55
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen_glue.c
64
generate_int2 (const Type *t, const char *gen_name)
crypto/heimdal/lib/asn1/gen_glue.c
79
if(t->members) {
crypto/heimdal/lib/asn1/gen_glue.c
80
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen_glue.c
94
generate_units (const Type *t, const char *gen_name)
crypto/heimdal/lib/asn1/gen_length.c
106
if (ASN1_TAILQ_EMPTY(t->members))
crypto/heimdal/lib/asn1/gen_length.c
111
int pos = ASN1_TAILQ_LAST(t->members, memhead)->val;
crypto/heimdal/lib/asn1/gen_length.c
115
ASN1_TAILQ_FOREACH_REVERSE(m, t->members, memhead, members) {
crypto/heimdal/lib/asn1/gen_length.c
137
if (t->members == NULL)
crypto/heimdal/lib/asn1/gen_length.c
140
if(t->type == TChoice)
crypto/heimdal/lib/asn1/gen_length.c
143
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen_length.c
151
if(t->type == TChoice)
crypto/heimdal/lib/asn1/gen_length.c
156
t->type == TChoice ? "u." : "", m->gen_name) < 0 || s == NULL)
crypto/heimdal/lib/asn1/gen_length.c
169
if(t->type == TChoice)
crypto/heimdal/lib/asn1/gen_length.c
172
if(t->type == TChoice) {
crypto/heimdal/lib/asn1/gen_length.c
204
length_type(n, t->subtype, variable, sname);
crypto/heimdal/lib/asn1/gen_length.c
253
length_type (name, t->subtype, variable, tname);
crypto/heimdal/lib/asn1/gen_length.c
255
(unsigned long)length_tag(t->tag.tagvalue));
crypto/heimdal/lib/asn1/gen_length.c
63
length_type (const char *name, const Type *t,
crypto/heimdal/lib/asn1/gen_length.c
66
switch (t->type) {
crypto/heimdal/lib/asn1/gen_length.c
69
length_type (name, t->symbol->type);
crypto/heimdal/lib/asn1/gen_length.c
72
variable, t->symbol->gen_name, name);
crypto/heimdal/lib/asn1/gen_length.c
75
if(t->members) {
crypto/heimdal/lib/asn1/gen_length.c
81
} else if (t->range == NULL) {
crypto/heimdal/lib/asn1/gen_length.c
83
} else if (t->range->min < INT_MIN && t->range->max <= INT64_MAX) {
crypto/heimdal/lib/asn1/gen_length.c
85
} else if (t->range->min >= 0 && t->range->max > UINT_MAX) {
crypto/heimdal/lib/asn1/gen_length.c
87
} else if (t->range->min >= INT_MIN && t->range->max <= INT_MAX) {
crypto/heimdal/lib/asn1/gen_length.c
89
} else if (t->range->min >= 0 && t->range->max <= UINT_MAX) {
crypto/heimdal/lib/asn1/gen_length.c
93
name, t->range->min, t->range->max);
crypto/heimdal/lib/asn1/gen_template.c
101
generalstring_symbol(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
107
printablestring_symbol(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
113
ia5string_symbol(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
119
visiblestring_symbol(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
125
utf8string_symbol(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
131
bmpstring_symbol(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
137
universalstring_symbol(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
143
oid_symbol(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
149
bitstring_symbol(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
151
if (t->members)
crypto/heimdal/lib/asn1/gen_template.c
196
is_supported_type_p(const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
201
if (t->type == types[i].type)
crypto/heimdal/lib/asn1/gen_template.c
213
symbol_name(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
218
if (t->type == types[i].type)
crypto/heimdal/lib/asn1/gen_template.c
219
return (types[i].symbol_name)(basename, t);
crypto/heimdal/lib/asn1/gen_template.c
220
printf("unknown der type: %d\n", t->type);
crypto/heimdal/lib/asn1/gen_template.c
277
tlist_header(struct tlist *t, const char *fmt, ...)
crypto/heimdal/lib/asn1/gen_template.c
281
if (vasprintf(&t->header, fmt, ap) < 0 || t->header == NULL)
crypto/heimdal/lib/asn1/gen_template.c
343
struct template *t, *q;
crypto/heimdal/lib/asn1/gen_template.c
349
ASN1_TAILQ_FOREACH(t, &tl->template, members) {
crypto/heimdal/lib/asn1/gen_template.c
352
if (t->ptr == NULL || q->ptr == NULL) {
crypto/heimdal/lib/asn1/gen_template.c
353
ret = strcmp(t->line, q->line);
crypto/heimdal/lib/asn1/gen_template.c
356
ret = strcmp(t->tt, q->tt);
crypto/heimdal/lib/asn1/gen_template.c
359
ret = strcmp(t->offset, q->offset);
crypto/heimdal/lib/asn1/gen_template.c
362
if ((ret = strcmp(t->ptr, q->ptr)) != 0 ||
crypto/heimdal/lib/asn1/gen_template.c
363
(ret = tlist_cmp_name(t->ptr, q->ptr)) != 0)
crypto/heimdal/lib/asn1/gen_template.c
393
add_line(struct templatehead *t, const char *fmt, ...)
crypto/heimdal/lib/asn1/gen_template.c
401
ASN1_TAILQ_INSERT_TAIL(t, q, members);
crypto/heimdal/lib/asn1/gen_template.c
406
add_line_pointer(struct templatehead *t,
crypto/heimdal/lib/asn1/gen_template.c
421
q = add_line(t, "{ %s, %s, asn1_%s }", tt, offset, ptr);
crypto/heimdal/lib/asn1/gen_template.c
43
ttype_symbol(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
436
is_struct(Type *t, int isstruct)
crypto/heimdal/lib/asn1/gen_template.c
440
if (t->type == TType)
crypto/heimdal/lib/asn1/gen_template.c
442
if (t->type == TSequence || t->type == TSet || t->type == TChoice)
crypto/heimdal/lib/asn1/gen_template.c
444
if (t->type == TTag)
crypto/heimdal/lib/asn1/gen_template.c
445
return is_struct(t->subtype, isstruct);
crypto/heimdal/lib/asn1/gen_template.c
448
if (t->type == types[i].type) {
crypto/heimdal/lib/asn1/gen_template.c
45
return t->symbol->gen_name;
crypto/heimdal/lib/asn1/gen_template.c
460
compact_tag(const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
462
while (t->type == TTag)
crypto/heimdal/lib/asn1/gen_template.c
463
t = t->subtype;
crypto/heimdal/lib/asn1/gen_template.c
464
return t;
crypto/heimdal/lib/asn1/gen_template.c
468
template_members(struct templatehead *temp, const char *basetype, const char *name, const Type *t, int optional, int isstruct, int need_offset)
crypto/heimdal/lib/asn1/gen_template.c
472
if (optional && t->type != TTag && t->type != TType)
crypto/heimdal/lib/asn1/gen_template.c
477
switch (t->type) {
crypto/heimdal/lib/asn1/gen_template.c
479
if (use_extern(t->symbol)) {
crypto/heimdal/lib/asn1/gen_template.c
482
poffset, t->symbol->gen_name);
crypto/heimdal/lib/asn1/gen_template.c
484
add_line_pointer(temp, t->symbol->gen_name, poffset,
crypto/heimdal/lib/asn1/gen_template.c
49
integer_symbol(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
491
if (t->members)
crypto/heimdal/lib/asn1/gen_template.c
493
else if (t->range == NULL)
crypto/heimdal/lib/asn1/gen_template.c
495
else if (t->range->min < INT_MIN && t->range->max <= INT64_MAX)
crypto/heimdal/lib/asn1/gen_template.c
497
else if (t->range->min >= 0 && t->range->max > UINT_MAX)
crypto/heimdal/lib/asn1/gen_template.c
499
else if (t->range->min >= INT_MIN && t->range->max <= INT_MAX)
crypto/heimdal/lib/asn1/gen_template.c
501
else if (t->range->min >= 0 && t->range->max <= UINT_MAX)
crypto/heimdal/lib/asn1/gen_template.c
505
name, t->range->min, t->range->max);
crypto/heimdal/lib/asn1/gen_template.c
51
if (t->members)
crypto/heimdal/lib/asn1/gen_template.c
53
else if (t->range == NULL)
crypto/heimdal/lib/asn1/gen_template.c
55
else if (t->range->min < INT_MIN && t->range->max <= INT64_MAX)
crypto/heimdal/lib/asn1/gen_template.c
559
if (ASN1_TAILQ_EMPTY(t->members)) {
crypto/heimdal/lib/asn1/gen_template.c
564
if (asprintf(&bname, "bmember_%s_%p", name ? name : "", t) < 0 || bname == NULL)
crypto/heimdal/lib/asn1/gen_template.c
568
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen_template.c
57
else if (t->range->min >= 0 && t->range->max > UINT_MAX)
crypto/heimdal/lib/asn1/gen_template.c
59
else if (t->range->min >= INT_MIN && t->range->max <= INT_MAX)
crypto/heimdal/lib/asn1/gen_template.c
596
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen_template.c
61
else if (t->range->min >= 0 && t->range->max <= UINT_MAX)
crypto/heimdal/lib/asn1/gen_template.c
620
int subtype_is_struct = is_struct(t->subtype, isstruct);
crypto/heimdal/lib/asn1/gen_template.c
625
sename = symbol_name(basetype, t->subtype);
crypto/heimdal/lib/asn1/gen_template.c
627
if (asprintf(&tname, "tag_%s_%p", name ? name : "", t) < 0 || tname == NULL)
crypto/heimdal/lib/asn1/gen_template.c
635
t->subtype, 0, subtype_is_struct, 0);
crypto/heimdal/lib/asn1/gen_template.c
639
classname(t->tag.tagclass),
crypto/heimdal/lib/asn1/gen_template.c
640
is_primitive_type(t->subtype->type) ? "PRIM" : "CONS",
crypto/heimdal/lib/asn1/gen_template.c
641
valuename(t->tag.tagclass, t->tag.tagvalue),
crypto/heimdal/lib/asn1/gen_template.c
653
int subtype_is_struct = is_struct(t->subtype, 0);
crypto/heimdal/lib/asn1/gen_template.c
661
if (asprintf(&sename, "%s_val", symbol_name(basetype, t->subtype)) < 0)
crypto/heimdal/lib/asn1/gen_template.c
668
sename = strdup(symbol_name(basetype, t->subtype));
crypto/heimdal/lib/asn1/gen_template.c
673
if (t->type == TSetOf) type = "A1_OP_SETOF";
crypto/heimdal/lib/asn1/gen_template.c
674
else if (t->type == TSequenceOf) type = "A1_OP_SEQOF";
crypto/heimdal/lib/asn1/gen_template.c
677
if (asprintf(&elname, "%s_%s_%p", basetype, tname, t) < 0 || elname == NULL)
crypto/heimdal/lib/asn1/gen_template.c
680
generate_template_type(elname, &dupname, NULL, sename, NULL, t->subtype,
crypto/heimdal/lib/asn1/gen_template.c
698
basetype, name ? name : "", (unsigned int)(uintptr_t)t) < 0 || tname == NULL)
crypto/heimdal/lib/asn1/gen_template.c
70
boolean_symbol(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
701
ASN1_TAILQ_FOREACH(m, t->members, members) {
crypto/heimdal/lib/asn1/gen_template.c
77
octetstring_symbol(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
83
sequence_symbol(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
89
time_symbol(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
95
tag_symbol(const char *basename, const Type *t)
crypto/heimdal/lib/asn1/gen_template.c
97
return symbol_name(basename, t->subtype);
crypto/heimdal/lib/asn1/template.c
1004
from = DPOC(from, t->offset);
crypto/heimdal/lib/asn1/template.c
1005
to = DPO(to, t->offset);
crypto/heimdal/lib/asn1/template.c
1007
if (t->tt & A1_FLAG_OPTIONAL) {
crypto/heimdal/lib/asn1/template.c
1017
to = *tel = calloc(1, sizeofType(t->ptr));
crypto/heimdal/lib/asn1/template.c
1022
ret = _asn1_copy(t->ptr, from, to);
crypto/heimdal/lib/asn1/template.c
1024
if (t->tt & A1_FLAG_OPTIONAL) {
crypto/heimdal/lib/asn1/template.c
1038
const struct template_of *fel = DPOC(from, t->offset);
crypto/heimdal/lib/asn1/template.c
1039
struct template_of *tel = DPO(to, t->offset);
crypto/heimdal/lib/asn1/template.c
1040
size_t ellen = sizeofType(t->ptr);
crypto/heimdal/lib/asn1/template.c
1050
ret = _asn1_copy(t->ptr,
crypto/heimdal/lib/asn1/template.c
1059
const struct asn1_template *bmember = t->ptr;
crypto/heimdal/lib/asn1/template.c
1065
const struct asn1_template *choice = t->ptr;
crypto/heimdal/lib/asn1/template.c
1090
t++;
crypto/heimdal/lib/asn1/template.c
1097
_asn1_decode_top(const struct asn1_template *t, unsigned flags, const unsigned char *p, size_t len, void *data, size_t *size)
crypto/heimdal/lib/asn1/template.c
1100
memset(data, 0, t->offset);
crypto/heimdal/lib/asn1/template.c
1101
ret = _asn1_decode(t, flags, p, len, data, size);
crypto/heimdal/lib/asn1/template.c
1103
_asn1_free(t, data);
crypto/heimdal/lib/asn1/template.c
1104
memset(data, 0, t->offset);
crypto/heimdal/lib/asn1/template.c
1111
_asn1_copy_top(const struct asn1_template *t, const void *from, void *to)
crypto/heimdal/lib/asn1/template.c
1114
memset(to, 0, t->offset);
crypto/heimdal/lib/asn1/template.c
1115
ret = _asn1_copy(t, from, to);
crypto/heimdal/lib/asn1/template.c
1117
_asn1_free(t, to);
crypto/heimdal/lib/asn1/template.c
1118
memset(to, 0, t->offset);
crypto/heimdal/lib/asn1/template.c
152
_asn1_decode(const struct asn1_template *t, unsigned flags,
crypto/heimdal/lib/asn1/template.c
155
size_t elements = A1_HEADER_LEN(t);
crypto/heimdal/lib/asn1/template.c
159
unsigned int template_flags = t->tt;
crypto/heimdal/lib/asn1/template.c
162
t++;
crypto/heimdal/lib/asn1/template.c
168
switch (t->tt & A1_OP_MASK) {
crypto/heimdal/lib/asn1/template.c
172
void *el = DPO(data, t->offset);
crypto/heimdal/lib/asn1/template.c
175
if ((t->tt & A1_OP_MASK) == A1_OP_TYPE) {
crypto/heimdal/lib/asn1/template.c
176
size = sizeofType(t->ptr);
crypto/heimdal/lib/asn1/template.c
178
const struct asn1_type_func *f = t->ptr;
crypto/heimdal/lib/asn1/template.c
182
if (t->tt & A1_FLAG_OPTIONAL) {
crypto/heimdal/lib/asn1/template.c
188
if ((t->tt & A1_OP_MASK) == A1_OP_TYPE) {
crypto/heimdal/lib/asn1/template.c
189
ret = _asn1_decode(t->ptr, flags, p, len, el, &newsize);
crypto/heimdal/lib/asn1/template.c
191
const struct asn1_type_func *f = t->ptr;
crypto/heimdal/lib/asn1/template.c
195
if (t->tt & A1_FLAG_OPTIONAL) {
crypto/heimdal/lib/asn1/template.c
214
ret = der_match_tag_and_length(p, len, A1_TAG_CLASS(t->tt),
crypto/heimdal/lib/asn1/template.c
215
&dertype, A1_TAG_TAG(t->tt),
crypto/heimdal/lib/asn1/template.c
218
if (t->tt & A1_FLAG_OPTIONAL)
crypto/heimdal/lib/asn1/template.c
230
if (dertype != A1_TAG_TYPE(t->tt) && (flags & A1_PF_ALLOW_BER)) {
crypto/heimdal/lib/asn1/template.c
231
const struct asn1_template *subtype = t->ptr;
crypto/heimdal/lib/asn1/template.c
251
data = DPO(data, t->offset);
crypto/heimdal/lib/asn1/template.c
253
if (t->tt & A1_FLAG_OPTIONAL) {
crypto/heimdal/lib/asn1/template.c
255
size_t ellen = sizeofType(t->ptr);
crypto/heimdal/lib/asn1/template.c
263
ret = _asn1_decode(t->ptr, subflags, p, datalen, data, &newsize);
crypto/heimdal/lib/asn1/template.c
294
unsigned int type = A1_PARSE_TYPE(t->tt);
crypto/heimdal/lib/asn1/template.c
296
void *el = DPO(data, t->offset);
crypto/heimdal/lib/asn1/template.c
319
struct template_of *el = DPO(data, t->offset);
crypto/heimdal/lib/asn1/template.c
321
size_t ellen = sizeofType(t->ptr);
crypto/heimdal/lib/asn1/template.c
337
ret = _asn1_decode(t->ptr, flags & (~A1_PF_INDEFINTE), p, len,
crypto/heimdal/lib/asn1/template.c
349
const struct asn1_template *bmember = t->ptr;
crypto/heimdal/lib/asn1/template.c
378
const struct asn1_template *choice = t->ptr;
crypto/heimdal/lib/asn1/template.c
413
t++;
crypto/heimdal/lib/asn1/template.c
444
_asn1_encode(const struct asn1_template *t, unsigned char *p, size_t len, const void *data, size_t *size)
crypto/heimdal/lib/asn1/template.c
446
size_t elements = A1_HEADER_LEN(t);
crypto/heimdal/lib/asn1/template.c
450
t += A1_HEADER_LEN(t);
crypto/heimdal/lib/asn1/template.c
453
switch (t->tt & A1_OP_MASK) {
crypto/heimdal/lib/asn1/template.c
457
const void *el = DPOC(data, t->offset);
crypto/heimdal/lib/asn1/template.c
459
if (t->tt & A1_FLAG_OPTIONAL) {
crypto/heimdal/lib/asn1/template.c
466
if ((t->tt & A1_OP_MASK) == A1_OP_TYPE) {
crypto/heimdal/lib/asn1/template.c
467
ret = _asn1_encode(t->ptr, p, len, el, &newsize);
crypto/heimdal/lib/asn1/template.c
469
const struct asn1_type_func *f = t->ptr;
crypto/heimdal/lib/asn1/template.c
483
data = DPOC(data, t->offset);
crypto/heimdal/lib/asn1/template.c
485
if (t->tt & A1_FLAG_OPTIONAL) {
crypto/heimdal/lib/asn1/template.c
494
ret = _asn1_encode(t->ptr, p, len, data, &datalen);
crypto/heimdal/lib/asn1/template.c
501
A1_TAG_CLASS(t->tt),
crypto/heimdal/lib/asn1/template.c
502
A1_TAG_TYPE(t->tt),
crypto/heimdal/lib/asn1/template.c
503
A1_TAG_TAG(t->tt), &l);
crypto/heimdal/lib/asn1/template.c
514
unsigned int type = A1_PARSE_TYPE(t->tt);
crypto/heimdal/lib/asn1/template.c
516
const void *el = DPOC(data, t->offset);
crypto/heimdal/lib/asn1/template.c
531
const struct template_of *el = DPOC(data, t->offset);
crypto/heimdal/lib/asn1/template.c
532
size_t ellen = sizeofType(t->ptr);
crypto/heimdal/lib/asn1/template.c
551
val[i].length = _asn1_length(t->ptr, elptr);
crypto/heimdal/lib/asn1/template.c
554
ret = _asn1_encode(t->ptr, DPO(val[i].data, val[i].length - 1),
crypto/heimdal/lib/asn1/template.c
593
struct template_of *el = DPO(data, t->offset);
crypto/heimdal/lib/asn1/template.c
594
size_t ellen = sizeofType(t->ptr);
crypto/heimdal/lib/asn1/template.c
605
ret = _asn1_encode(t->ptr, p, len,
crypto/heimdal/lib/asn1/template.c
617
const struct asn1_template *bmember = t->ptr;
crypto/heimdal/lib/asn1/template.c
663
const struct asn1_template *choice = t->ptr;
crypto/heimdal/lib/asn1/template.c
690
t--;
crypto/heimdal/lib/asn1/template.c
700
_asn1_length(const struct asn1_template *t, const void *data)
crypto/heimdal/lib/asn1/template.c
702
size_t elements = A1_HEADER_LEN(t);
crypto/heimdal/lib/asn1/template.c
705
t += A1_HEADER_LEN(t);
crypto/heimdal/lib/asn1/template.c
708
switch (t->tt & A1_OP_MASK) {
crypto/heimdal/lib/asn1/template.c
711
const void *el = DPOC(data, t->offset);
crypto/heimdal/lib/asn1/template.c
713
if (t->tt & A1_FLAG_OPTIONAL) {
crypto/heimdal/lib/asn1/template.c
720
if ((t->tt & A1_OP_MASK) == A1_OP_TYPE) {
crypto/heimdal/lib/asn1/template.c
721
ret += _asn1_length(t->ptr, el);
crypto/heimdal/lib/asn1/template.c
723
const struct asn1_type_func *f = t->ptr;
crypto/heimdal/lib/asn1/template.c
732
data = DPO(data, t->offset);
crypto/heimdal/lib/asn1/template.c
734
if (t->tt & A1_FLAG_OPTIONAL) {
crypto/heimdal/lib/asn1/template.c
742
datalen = _asn1_length(t->ptr, data);
crypto/heimdal/lib/asn1/template.c
743
ret += der_length_tag(A1_TAG_TAG(t->tt)) + der_length_len(datalen);
crypto/heimdal/lib/asn1/template.c
749
unsigned int type = A1_PARSE_TYPE(t->tt);
crypto/heimdal/lib/asn1/template.c
750
const void *el = DPOC(data, t->offset);
crypto/heimdal/lib/asn1/template.c
761
const struct template_of *el = DPOC(data, t->offset);
crypto/heimdal/lib/asn1/template.c
762
size_t ellen = sizeofType(t->ptr);
crypto/heimdal/lib/asn1/template.c
767
ret += _asn1_length(t->ptr, element);
crypto/heimdal/lib/asn1/template.c
774
const struct asn1_template *bmember = t->ptr;
crypto/heimdal/lib/asn1/template.c
798
const struct asn1_template *choice = t->ptr;
crypto/heimdal/lib/asn1/template.c
817
t--;
crypto/heimdal/lib/asn1/template.c
823
_asn1_free(const struct asn1_template *t, void *data)
crypto/heimdal/lib/asn1/template.c
825
size_t elements = A1_HEADER_LEN(t);
crypto/heimdal/lib/asn1/template.c
827
if (t->tt & A1_HF_PRESERVE)
crypto/heimdal/lib/asn1/template.c
830
t++;
crypto/heimdal/lib/asn1/template.c
833
switch (t->tt & A1_OP_MASK) {
crypto/heimdal/lib/asn1/template.c
836
void *el = DPO(data, t->offset);
crypto/heimdal/lib/asn1/template.c
838
if (t->tt & A1_FLAG_OPTIONAL) {
crypto/heimdal/lib/asn1/template.c
845
if ((t->tt & A1_OP_MASK) == A1_OP_TYPE) {
crypto/heimdal/lib/asn1/template.c
846
_asn1_free(t->ptr, el);
crypto/heimdal/lib/asn1/template.c
848
const struct asn1_type_func *f = t->ptr;
crypto/heimdal/lib/asn1/template.c
851
if (t->tt & A1_FLAG_OPTIONAL)
crypto/heimdal/lib/asn1/template.c
857
unsigned int type = A1_PARSE_TYPE(t->tt);
crypto/heimdal/lib/asn1/template.c
858
void *el = DPO(data, t->offset);
crypto/heimdal/lib/asn1/template.c
868
void *el = DPO(data, t->offset);
crypto/heimdal/lib/asn1/template.c
870
if (t->tt & A1_FLAG_OPTIONAL) {
crypto/heimdal/lib/asn1/template.c
877
_asn1_free(t->ptr, el);
crypto/heimdal/lib/asn1/template.c
879
if (t->tt & A1_FLAG_OPTIONAL)
crypto/heimdal/lib/asn1/template.c
886
struct template_of *el = DPO(data, t->offset);
crypto/heimdal/lib/asn1/template.c
887
size_t ellen = sizeofType(t->ptr);
crypto/heimdal/lib/asn1/template.c
892
_asn1_free(t->ptr, element);
crypto/heimdal/lib/asn1/template.c
904
const struct asn1_template *choice = t->ptr;
crypto/heimdal/lib/asn1/template.c
922
t++;
crypto/heimdal/lib/asn1/template.c
928
_asn1_copy(const struct asn1_template *t, const void *from, void *to)
crypto/heimdal/lib/asn1/template.c
930
size_t elements = A1_HEADER_LEN(t);
crypto/heimdal/lib/asn1/template.c
932
int preserve = (t->tt & A1_HF_PRESERVE);
crypto/heimdal/lib/asn1/template.c
934
t++;
crypto/heimdal/lib/asn1/template.c
943
switch (t->tt & A1_OP_MASK) {
crypto/heimdal/lib/asn1/template.c
946
const void *fel = DPOC(from, t->offset);
crypto/heimdal/lib/asn1/template.c
947
void *tel = DPO(to, t->offset);
crypto/heimdal/lib/asn1/template.c
95
sizeofType(const struct asn1_template *t)
crypto/heimdal/lib/asn1/template.c
951
if ((t->tt & A1_OP_MASK) == A1_OP_TYPE) {
crypto/heimdal/lib/asn1/template.c
952
size = sizeofType(t->ptr);
crypto/heimdal/lib/asn1/template.c
954
const struct asn1_type_func *f = t->ptr;
crypto/heimdal/lib/asn1/template.c
958
if (t->tt & A1_FLAG_OPTIONAL) {
crypto/heimdal/lib/asn1/template.c
969
if ((t->tt & A1_OP_MASK) == A1_OP_TYPE) {
crypto/heimdal/lib/asn1/template.c
97
return t->offset;
crypto/heimdal/lib/asn1/template.c
970
ret = _asn1_copy(t->ptr, fel, tel);
crypto/heimdal/lib/asn1/template.c
972
const struct asn1_type_func *f = t->ptr;
crypto/heimdal/lib/asn1/template.c
977
if (t->tt & A1_FLAG_OPTIONAL) {
crypto/heimdal/lib/asn1/template.c
986
unsigned int type = A1_PARSE_TYPE(t->tt);
crypto/heimdal/lib/asn1/template.c
987
const void *fel = DPOC(from, t->offset);
crypto/heimdal/lib/asn1/template.c
988
void *tel = DPO(to, t->offset);
crypto/heimdal/lib/asn1/timegm.c
96
_der_gmtime(time_t t, struct tm *tm)
crypto/heimdal/lib/asn1/timegm.c
98
time_t secday = t % (3600 * 24);
crypto/heimdal/lib/asn1/timegm.c
99
time_t days = t / (3600 * 24);
crypto/heimdal/lib/gssapi/krb5/init_sec_context.c
717
int32_t t = error.stime - time(NULL);
crypto/heimdal/lib/gssapi/krb5/init_sec_context.c
719
p[0] = (t >> 24) & 0xFF;
crypto/heimdal/lib/gssapi/krb5/init_sec_context.c
720
p[1] = (t >> 16) & 0xFF;
crypto/heimdal/lib/gssapi/krb5/init_sec_context.c
721
p[2] = (t >> 8) & 0xFF;
crypto/heimdal/lib/gssapi/krb5/init_sec_context.c
722
p[3] = (t >> 0) & 0xFF;
crypto/heimdal/lib/gssapi/krb5/set_sec_context_option.c
217
time_t t;
crypto/heimdal/lib/gssapi/krb5/set_sec_context_option.c
223
t = time(NULL) + offset;
crypto/heimdal/lib/gssapi/krb5/set_sec_context_option.c
225
krb5_set_real_time(context, t, 0);
crypto/heimdal/lib/gssapi/krb5/set_sec_context_option.c
232
time_t t;
crypto/heimdal/lib/gssapi/krb5/set_sec_context_option.c
234
t = time(NULL);
crypto/heimdal/lib/gssapi/krb5/set_sec_context_option.c
238
maj_stat = set_int32(minor_status, value, sec - t);
crypto/heimdal/lib/gssapi/mech/gss_acquire_cred.c
67
int t;
crypto/heimdal/lib/gssapi/mech/gss_acquire_cred.c
69
&mechs->elements[i], _gss_mech_oids, &t);
crypto/heimdal/lib/gssapi/mech/gss_acquire_cred.c
70
if (t)
crypto/heimdal/lib/gssapi/mech/gss_import_name.c
103
t--;
crypto/heimdal/lib/gssapi/mech/gss_import_name.c
105
if (mech_oid.length != t)
crypto/heimdal/lib/gssapi/mech/gss_import_name.c
110
if (len < t + 4)
crypto/heimdal/lib/gssapi/mech/gss_import_name.c
112
p += t;
crypto/heimdal/lib/gssapi/mech/gss_import_name.c
113
len -= t;
crypto/heimdal/lib/gssapi/mech/gss_import_name.c
115
t = (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3];
crypto/heimdal/lib/gssapi/mech/gss_import_name.c
119
if (!composite && len != t)
crypto/heimdal/lib/gssapi/mech/gss_import_name.c
39
size_t t;
crypto/heimdal/lib/gssapi/mech/gss_import_name.c
74
t = (p[0] << 8) + p[1];
crypto/heimdal/lib/gssapi/mech/gss_import_name.c
86
t--;
crypto/heimdal/lib/gssapi/mech/gss_import_name.c
91
t--;
crypto/heimdal/lib/gssapi/mech/gss_import_name.c
97
t--;
crypto/heimdal/lib/gssapi/mech/gss_mech_switch.c
119
unsigned int t;
crypto/heimdal/lib/gssapi/mech/gss_mech_switch.c
123
for (t = number; t; t >>= 7)
crypto/heimdal/lib/gssapi/test_acquire_cred.c
57
time_t t = time_rec + time(NULL);
crypto/heimdal/lib/gssapi/test_acquire_cred.c
58
printf("expiration time: %s", ctime(&t));
crypto/heimdal/lib/hdb/common.c
323
struct timeval t;
crypto/heimdal/lib/hdb/common.c
329
gettimeofday(&t, NULL);
crypto/heimdal/lib/hdb/common.c
330
entry->entry.generation->time = t.tv_sec;
crypto/heimdal/lib/hdb/common.c
331
entry->entry.generation->usec = t.tv_usec;
crypto/heimdal/lib/hdb/ext.c
250
hdb_entry_get_pw_change_time(const hdb_entry *entry, time_t *t)
crypto/heimdal/lib/hdb/ext.c
256
*t = ext->data.u.last_pw_change;
crypto/heimdal/lib/hdb/ext.c
258
*t = 0;
crypto/heimdal/lib/hdb/ext.c
266
time_t t)
crypto/heimdal/lib/hdb/ext.c
272
if (t == 0)
crypto/heimdal/lib/hdb/ext.c
273
t = time(NULL);
crypto/heimdal/lib/hdb/ext.c
274
ext.data.u.last_pw_change = t;
crypto/heimdal/lib/hdb/hdb_locl.h
73
#define mit_strong_etype(t) \
crypto/heimdal/lib/hdb/hdb_locl.h
74
((t) == ETYPE_AES128_CTS_HMAC_SHA1_96 || \
crypto/heimdal/lib/hdb/hdb_locl.h
75
(t) == ETYPE_AES256_CTS_HMAC_SHA1_96)
crypto/heimdal/lib/hdb/print.c
114
time2str(time_t t)
crypto/heimdal/lib/hdb/print.c
117
strftime(buf, sizeof(buf), "%Y%m%d%H%M%S", gmtime(&t));
crypto/heimdal/lib/hx509/ca.c
134
time_t t)
crypto/heimdal/lib/hx509/ca.c
136
tbs->notBefore = t;
crypto/heimdal/lib/hx509/ca.c
155
time_t t)
crypto/heimdal/lib/hx509/ca.c
157
tbs->notAfter = t;
crypto/heimdal/lib/hx509/ca.c
957
time_t t;
crypto/heimdal/lib/hx509/ca.c
967
t = time(NULL);
crypto/heimdal/lib/hx509/ca.c
968
asprintf(&tstr, "ts-%lu", (unsigned long)t);
crypto/heimdal/lib/hx509/cert.c
1638
_hx509_Time2time_t(const Time *t)
crypto/heimdal/lib/hx509/cert.c
1640
switch(t->element) {
crypto/heimdal/lib/hx509/cert.c
1642
return t->u.utcTime;
crypto/heimdal/lib/hx509/cert.c
1644
return t->u.generalTime;
crypto/heimdal/lib/hx509/cert.c
1857
match_tree(const GeneralSubtrees *t, const Certificate *c, int *match)
crypto/heimdal/lib/hx509/cert.c
1864
for (i = 0; i < t->len; i++) {
crypto/heimdal/lib/hx509/cert.c
1865
if (t->val[i].minimum && t->val[i].maximum)
crypto/heimdal/lib/hx509/cert.c
1874
if (t->val[i].base.element == choice_GeneralName_directoryName
crypto/heimdal/lib/hx509/cert.c
1886
ret = match_general_name(&t->val[i].base, &certname, &name);
crypto/heimdal/lib/hx509/cert.c
1894
ret = match_alt_name(&t->val[i].base, c, &same, &alt_name);
crypto/heimdal/lib/hx509/cert.c
201
_hx509_cert_get_version(const Certificate *t)
crypto/heimdal/lib/hx509/cert.c
203
return t->tbsCertificate.version ? *t->tbsCertificate.version + 1 : 1;
crypto/heimdal/lib/hx509/cert.c
2038
time_t t;
crypto/heimdal/lib/hx509/cert.c
2221
t = _hx509_Time2time_t(&c->tbsCertificate.validity.notBefore);
crypto/heimdal/lib/hx509/cert.c
2222
if (t > ctx->time_now) {
crypto/heimdal/lib/hx509/cert.c
2227
t = _hx509_Time2time_t(&c->tbsCertificate.validity.notAfter);
crypto/heimdal/lib/hx509/cert.c
2228
if (t < ctx->time_now) {
crypto/heimdal/lib/hx509/cert.c
276
Certificate t;
crypto/heimdal/lib/hx509/cert.c
280
ret = decode_Certificate(ptr, len, &t, &size);
crypto/heimdal/lib/hx509/cert.c
286
free_Certificate(&t);
crypto/heimdal/lib/hx509/cert.c
292
ret = hx509_cert_init(context, &t, cert);
crypto/heimdal/lib/hx509/cert.c
293
free_Certificate(&t);
crypto/heimdal/lib/hx509/cert.c
3063
time_t t;
crypto/heimdal/lib/hx509/cert.c
3064
t = _hx509_Time2time_t(&c->tbsCertificate.validity.notBefore);
crypto/heimdal/lib/hx509/cert.c
3065
if (t > q->timenow)
crypto/heimdal/lib/hx509/cert.c
3067
t = _hx509_Time2time_t(&c->tbsCertificate.validity.notAfter);
crypto/heimdal/lib/hx509/cert.c
3068
if (t < q->timenow)
crypto/heimdal/lib/hx509/cert.c
3179
rtbl_t t;
crypto/heimdal/lib/hx509/cert.c
3221
t = rtbl_create();
crypto/heimdal/lib/hx509/cert.c
3222
if (t == NULL)
crypto/heimdal/lib/hx509/cert.c
3225
rtbl_set_separator (t, " ");
crypto/heimdal/lib/hx509/cert.c
3227
rtbl_add_column_by_id (t, 0, "Name", 0);
crypto/heimdal/lib/hx509/cert.c
3228
rtbl_add_column_by_id (t, 1, "Counter", 0);
crypto/heimdal/lib/hx509/cert.c
3235
rtbl_add_column_entry_by_id (t, 0, statname[stats[i].index]);
crypto/heimdal/lib/hx509/cert.c
3238
rtbl_add_column_entry_by_id (t, 0, str);
crypto/heimdal/lib/hx509/cert.c
3241
rtbl_add_column_entry_by_id (t, 1, str);
crypto/heimdal/lib/hx509/cert.c
3244
rtbl_format(t, out);
crypto/heimdal/lib/hx509/cert.c
3245
rtbl_destroy(t);
crypto/heimdal/lib/hx509/cert.c
486
hx509_verify_set_time(hx509_verify_ctx ctx, time_t t)
crypto/heimdal/lib/hx509/cert.c
489
ctx->time_now = t;
crypto/heimdal/lib/hx509/crypto.c
1572
time_t t)
crypto/heimdal/lib/hx509/crypto.c
1581
if (md->best_before && md->best_before < t) {
crypto/heimdal/lib/hx509/hxtool.c
892
time_t t;
crypto/heimdal/lib/hx509/hxtool.c
901
t = tm2time (tm, 0);
crypto/heimdal/lib/hx509/hxtool.c
903
hx509_verify_set_time(ctx, t);
crypto/heimdal/lib/hx509/print.c
67
time_t t;
crypto/heimdal/lib/hx509/print.c
72
t = _hx509_Time2time_t(T);
crypto/heimdal/lib/hx509/print.c
73
tm = gmtime (&t);
crypto/heimdal/lib/hx509/print.c
891
TBSCertificate *t = &c->tbsCertificate;
crypto/heimdal/lib/hx509/print.c
903
if ((t->version == NULL || *t->version < 2) && t->extensions)
crypto/heimdal/lib/hx509/print.c
907
if (_hx509_cert_get_version(c) >= 3 && t->extensions == NULL)
crypto/heimdal/lib/hx509/print.c
934
Time2string(&t->validity.notBefore, &str);
crypto/heimdal/lib/hx509/print.c
937
Time2string(&t->validity.notAfter, &str);
crypto/heimdal/lib/hx509/print.c
941
if (t->extensions) {
crypto/heimdal/lib/hx509/print.c
944
if (t->extensions->len == 0) {
crypto/heimdal/lib/hx509/print.c
951
for (i = 0; i < t->extensions->len; i++) {
crypto/heimdal/lib/hx509/print.c
955
&t->extensions->val[i].extnID) == 0)
crypto/heimdal/lib/hx509/print.c
959
if (t->extensions->val[i].critical)
crypto/heimdal/lib/hx509/print.c
962
if (t->extensions->val[i].critical)
crypto/heimdal/lib/hx509/print.c
965
hx509_oid_print(&t->extensions->val[i].extnID,
crypto/heimdal/lib/hx509/print.c
977
&t->extensions->val[i]);
crypto/heimdal/lib/hx509/revoke.c
1054
printable_time(time_t t)
crypto/heimdal/lib/hx509/revoke.c
1058
if ((p = ctime(&t)) == NULL)
crypto/heimdal/lib/hx509/revoke.c
464
time_t t;
crypto/heimdal/lib/hx509/revoke.c
467
t = _hx509_Time2time_t(&crl->tbsCertList.thisUpdate);
crypto/heimdal/lib/hx509/revoke.c
468
if (t > time_now) {
crypto/heimdal/lib/hx509/revoke.c
480
t = _hx509_Time2time_t(crl->tbsCertList.nextUpdate);
crypto/heimdal/lib/hx509/revoke.c
481
if (t < time_now) {
crypto/heimdal/lib/hx509/revoke.c
564
load_crl(const char *path, time_t *t, CRLCertificateList *crl)
crypto/heimdal/lib/hx509/revoke.c
581
*t = sb.st_mtime;
crypto/heimdal/lib/hx509/revoke.c
821
time_t t;
crypto/heimdal/lib/hx509/revoke.c
828
t = _hx509_Time2time_t(&crl->crl.tbsCertList.revokedCertificates->val[j].revocationDate);
crypto/heimdal/lib/hx509/revoke.c
829
if (t > now)
crypto/heimdal/lib/ipc/common.c
122
heim_ipc_semaphore_wait(heim_isemaphore s, time_t t)
crypto/heimdal/lib/ipc/common.c
126
if (t == HEIM_IPC_WAIT_FOREVER)
crypto/heimdal/lib/ipc/common.c
129
timeout = (uint64_t)t * NSEC_PER_SEC;
crypto/heimdal/lib/ipc/common.c
141
if (t == HEIM_IPC_WAIT_FOREVER)
crypto/heimdal/lib/ipc/common.c
145
ts.tv_sec = t;
crypto/heimdal/lib/ipc/server.c
1139
heim_sipc_timeout(time_t t)
crypto/heimdal/lib/ipc/server.c
1145
timeoutvalue = t;
crypto/heimdal/lib/ipc/server.c
788
char *s, *p, *t;
crypto/heimdal/lib/ipc/server.c
802
t = strtok_r(s, " \t", &p);
crypto/heimdal/lib/ipc/server.c
803
if (t == NULL)
crypto/heimdal/lib/ipc/server.c
806
t = strtok_r(NULL, " \t", &p);
crypto/heimdal/lib/ipc/server.c
807
if (t == NULL)
crypto/heimdal/lib/ipc/server.c
810
data = malloc(strlen(t));
crypto/heimdal/lib/ipc/server.c
814
if(*t == '/')
crypto/heimdal/lib/ipc/server.c
815
t++;
crypto/heimdal/lib/ipc/server.c
816
if(de_http(t) != 0) {
crypto/heimdal/lib/ipc/server.c
825
len = base64_decode(t, data);
crypto/heimdal/lib/kadm5/ad.c
414
unsigned long long t;
crypto/heimdal/lib/kadm5/ad.c
415
t = strtoll(str, NULL, 10);
crypto/heimdal/lib/kadm5/ad.c
416
t = ((t - NTTIME_EPOCH) / (long long)10000000);
crypto/heimdal/lib/kadm5/ad.c
417
if (t > (((time_t)(~(long long)0)) >> 1))
crypto/heimdal/lib/kadm5/ad.c
419
return (time_t)t;
crypto/heimdal/lib/kadm5/ent_setup.c
86
time_t t;
crypto/heimdal/lib/kadm5/ent_setup.c
93
t = s[0] | (s[1] << 8) | (s[2] << 16) | (s[3] << 24);
crypto/heimdal/lib/kadm5/ent_setup.c
95
ret = hdb_entry_set_pw_change_time(context, &ent->entry, t);
crypto/heimdal/lib/kadm5/iprop-log.c
113
char t[256];
crypto/heimdal/lib/kadm5/iprop-log.c
125
strftime(t, sizeof(t), "%Y-%m-%d %H:%M:%S", localtime(×tamp));
crypto/heimdal/lib/kadm5/iprop-log.c
134
op_names[op], ver, t, len);
crypto/heimdal/lib/kadm5/iprop-log.c
197
strlcpy(t, "never", sizeof(t));
crypto/heimdal/lib/kadm5/iprop-log.c
199
strftime(t, sizeof(t), "%Y-%m-%d %H:%M:%S",
crypto/heimdal/lib/kadm5/iprop-log.c
202
printf(" expires = %s\n", t);
crypto/heimdal/lib/kadm5/iprop-log.c
206
strlcpy(t, "never", sizeof(t));
crypto/heimdal/lib/kadm5/iprop-log.c
208
strftime(t, sizeof(t), "%Y-%m-%d %H:%M:%S",
crypto/heimdal/lib/kadm5/iprop-log.c
211
printf(" password exp = %s\n", t);
crypto/heimdal/lib/kadm5/iprop-log.c
217
asn1_HDBFlags_units(), t, sizeof(t));
crypto/heimdal/lib/kadm5/iprop-log.c
218
printf(" attributes = %s\n", t);
crypto/heimdal/lib/kadm5/iprop-log.c
222
strlcpy(t, "for ever", sizeof(t));
crypto/heimdal/lib/kadm5/iprop-log.c
224
unparse_time(*ent.max_life, t, sizeof(t));
crypto/heimdal/lib/kadm5/iprop-log.c
225
printf(" max life = %s\n", t);
crypto/heimdal/lib/kadm5/iprop-log.c
229
strlcpy(t, "for ever", sizeof(t));
crypto/heimdal/lib/kadm5/iprop-log.c
231
unparse_time(*ent.max_renew, t, sizeof(t));
crypto/heimdal/lib/kadm5/iprop-log.c
232
printf(" max rlife = %s\n", t);
crypto/heimdal/lib/kadm5/ipropd_master.c
692
time_t t = time(NULL);
crypto/heimdal/lib/kadm5/ipropd_master.c
698
krb5_format_time(context, t, str, sizeof(str), TRUE);
crypto/heimdal/lib/kadm5/ipropd_master.c
709
time_t t = time(NULL);
crypto/heimdal/lib/kadm5/ipropd_master.c
716
krb5_format_time(context, t, str, sizeof(str), TRUE);
crypto/heimdal/lib/kafs/afskrb5.c
59
Ticket t;
crypto/heimdal/lib/kafs/afskrb5.c
66
ret = decode_Ticket(cred->ticket.data, cred->ticket.length, &t, &len);
crypto/heimdal/lib/kafs/afskrb5.c
69
if (t.tkt_vno != 5)
crypto/heimdal/lib/kafs/afskrb5.c
72
ASN1_MALLOC_ENCODE(EncryptedData, buf, buf_len, &t.enc_part,
crypto/heimdal/lib/kafs/afskrb5.c
74
free_Ticket(&t);
crypto/heimdal/lib/kafs/common.c
100
t += sizeof(sizeof_x);
crypto/heimdal/lib/kafs/common.c
105
memcpy(t, cell, sizeof_x);
crypto/heimdal/lib/kafs/common.c
106
t += sizeof_x;
crypto/heimdal/lib/kafs/common.c
112
parms.in_size = t - buf;
crypto/heimdal/lib/kafs/common.c
183
char *t;
crypto/heimdal/lib/kafs/common.c
184
t = cell + strlen(cell);
crypto/heimdal/lib/kafs/common.c
185
for (; t >= cell; t--)
crypto/heimdal/lib/kafs/common.c
186
if (*t == '\n' || *t == '\t' || *t == ' ')
crypto/heimdal/lib/kafs/common.c
187
*t = 0;
crypto/heimdal/lib/kafs/common.c
74
char buf[2048], *t;
crypto/heimdal/lib/kafs/common.c
77
t = buf;
crypto/heimdal/lib/kafs/common.c
82
memcpy(t, &sizeof_x, sizeof(sizeof_x));
crypto/heimdal/lib/kafs/common.c
83
t += sizeof(sizeof_x);
crypto/heimdal/lib/kafs/common.c
84
memcpy(t, ticket, sizeof_x);
crypto/heimdal/lib/kafs/common.c
85
t += sizeof_x;
crypto/heimdal/lib/kafs/common.c
90
memcpy(t, &sizeof_x, sizeof(sizeof_x));
crypto/heimdal/lib/kafs/common.c
91
t += sizeof(sizeof_x);
crypto/heimdal/lib/kafs/common.c
92
memcpy(t, ct, sizeof_x);
crypto/heimdal/lib/kafs/common.c
93
t += sizeof_x;
crypto/heimdal/lib/kafs/common.c
99
memcpy(t, &sizeof_x, sizeof(sizeof_x));
crypto/heimdal/lib/krb5/acache.c
1070
cc_time_t t;
crypto/heimdal/lib/krb5/acache.c
1078
error = (*a->ccache->func->get_change_time)(a->ccache, &t);
crypto/heimdal/lib/krb5/acache.c
1082
*mtime = t;
crypto/heimdal/lib/krb5/appdefault.c
127
krb5_deltat t;
crypto/heimdal/lib/krb5/appdefault.c
135
if (krb5_string_to_deltat(val, &t))
crypto/heimdal/lib/krb5/appdefault.c
138
*ret_val = t;
crypto/heimdal/lib/krb5/build_ap_req.c
46
Ticket t;
crypto/heimdal/lib/krb5/build_ap_req.c
59
decode_Ticket(cred->ticket.data, cred->ticket.length, &t, &len);
crypto/heimdal/lib/krb5/build_ap_req.c
60
copy_EncryptedData(&t.enc_part, &ap.ticket.enc_part);
crypto/heimdal/lib/krb5/build_ap_req.c
61
free_Ticket(&t);
crypto/heimdal/lib/krb5/cache.c
1528
krb5_timestamp t = 0;
crypto/heimdal/lib/krb5/cache.c
1541
ret = krb5_cc_last_change_time(context, id, &t);
crypto/heimdal/lib/krb5/cache.c
1545
if (t > *mtime)
crypto/heimdal/lib/krb5/cache.c
1546
*mtime = t;
crypto/heimdal/lib/krb5/cache.c
1627
krb5_cc_get_lifetime(krb5_context context, krb5_ccache id, time_t *t)
crypto/heimdal/lib/krb5/cache.c
1634
*t = 0;
crypto/heimdal/lib/krb5/cache.c
1644
*t = cred.times.endtime - now;
crypto/heimdal/lib/krb5/codec.c
101
return encode_EncTGSRepPart(data, length, t, len);
crypto/heimdal/lib/krb5/codec.c
108
EncAPRepPart *t,
crypto/heimdal/lib/krb5/codec.c
112
return decode_EncAPRepPart(data, length, t, len);
crypto/heimdal/lib/krb5/codec.c
119
EncAPRepPart *t,
crypto/heimdal/lib/krb5/codec.c
123
return encode_EncAPRepPart(data, length, t, len);
crypto/heimdal/lib/krb5/codec.c
130
Authenticator *t,
crypto/heimdal/lib/krb5/codec.c
134
return decode_Authenticator(data, length, t, len);
crypto/heimdal/lib/krb5/codec.c
141
Authenticator *t,
crypto/heimdal/lib/krb5/codec.c
145
return encode_Authenticator(data, length, t, len);
crypto/heimdal/lib/krb5/codec.c
152
EncKrbCredPart *t,
crypto/heimdal/lib/krb5/codec.c
156
return decode_EncKrbCredPart(data, length, t, len);
crypto/heimdal/lib/krb5/codec.c
163
EncKrbCredPart *t,
crypto/heimdal/lib/krb5/codec.c
167
return encode_EncKrbCredPart (data, length, t, len);
crypto/heimdal/lib/krb5/codec.c
174
ETYPE_INFO *t,
crypto/heimdal/lib/krb5/codec.c
178
return decode_ETYPE_INFO(data, length, t, len);
crypto/heimdal/lib/krb5/codec.c
185
ETYPE_INFO *t,
crypto/heimdal/lib/krb5/codec.c
189
return encode_ETYPE_INFO (data, length, t, len);
crypto/heimdal/lib/krb5/codec.c
196
ETYPE_INFO2 *t,
crypto/heimdal/lib/krb5/codec.c
200
return decode_ETYPE_INFO2(data, length, t, len);
crypto/heimdal/lib/krb5/codec.c
207
ETYPE_INFO2 *t,
crypto/heimdal/lib/krb5/codec.c
211
return encode_ETYPE_INFO2 (data, length, t, len);
crypto/heimdal/lib/krb5/codec.c
42
EncTicketPart *t,
crypto/heimdal/lib/krb5/codec.c
46
return decode_EncTicketPart(data, length, t, len);
crypto/heimdal/lib/krb5/codec.c
53
EncTicketPart *t,
crypto/heimdal/lib/krb5/codec.c
57
return encode_EncTicketPart(data, length, t, len);
crypto/heimdal/lib/krb5/codec.c
64
EncASRepPart *t,
crypto/heimdal/lib/krb5/codec.c
68
return decode_EncASRepPart(data, length, t, len);
crypto/heimdal/lib/krb5/codec.c
75
EncASRepPart *t,
crypto/heimdal/lib/krb5/codec.c
79
return encode_EncASRepPart(data, length, t, len);
crypto/heimdal/lib/krb5/codec.c
86
EncTGSRepPart *t,
crypto/heimdal/lib/krb5/codec.c
90
return decode_EncTGSRepPart(data, length, t, len);
crypto/heimdal/lib/krb5/codec.c
97
EncTGSRepPart *t,
crypto/heimdal/lib/krb5/config_file.c
1154
krb5_deltat t;
crypto/heimdal/lib/krb5/config_file.c
1159
if (krb5_string_to_deltat(str, &t))
crypto/heimdal/lib/krb5/config_file.c
1161
return t;
crypto/heimdal/lib/krb5/config_file.c
878
char * t = strchr(end + 1, '"');
crypto/heimdal/lib/krb5/config_file.c
880
if (t)
crypto/heimdal/lib/krb5/config_file.c
881
end = ++t;
crypto/heimdal/lib/krb5/context.c
1413
krb5_set_max_time_skew (krb5_context context, time_t t)
crypto/heimdal/lib/krb5/context.c
1415
context->max_skew = t;
crypto/heimdal/lib/krb5/crypto-arcfour.c
137
unsigned char t[4];
crypto/heimdal/lib/krb5/crypto-arcfour.c
142
t[0] = (usage >> 0) & 0xFF;
crypto/heimdal/lib/krb5/crypto-arcfour.c
143
t[1] = (usage >> 8) & 0xFF;
crypto/heimdal/lib/krb5/crypto-arcfour.c
144
t[2] = (usage >> 16) & 0xFF;
crypto/heimdal/lib/krb5/crypto-arcfour.c
145
t[3] = (usage >> 24) & 0xFF;
crypto/heimdal/lib/krb5/crypto-arcfour.c
150
ret = _krb5_internal_hmac(NULL, c, t, sizeof(t), 0, key, &k1_c);
crypto/heimdal/lib/krb5/crypto-arcfour.c
206
unsigned char t[4];
crypto/heimdal/lib/krb5/crypto-arcfour.c
212
t[0] = (usage >> 0) & 0xFF;
crypto/heimdal/lib/krb5/crypto-arcfour.c
213
t[1] = (usage >> 8) & 0xFF;
crypto/heimdal/lib/krb5/crypto-arcfour.c
214
t[2] = (usage >> 16) & 0xFF;
crypto/heimdal/lib/krb5/crypto-arcfour.c
215
t[3] = (usage >> 24) & 0xFF;
crypto/heimdal/lib/krb5/crypto-arcfour.c
220
ret = _krb5_internal_hmac(NULL, c, t, sizeof(t), 0, key, &k1_c);
crypto/heimdal/lib/krb5/crypto-arcfour.c
72
unsigned char t[4];
crypto/heimdal/lib/krb5/crypto-arcfour.c
93
t[0] = (usage >> 0) & 0xFF;
crypto/heimdal/lib/krb5/crypto-arcfour.c
94
t[1] = (usage >> 8) & 0xFF;
crypto/heimdal/lib/krb5/crypto-arcfour.c
95
t[2] = (usage >> 16) & 0xFF;
crypto/heimdal/lib/krb5/crypto-arcfour.c
96
t[3] = (usage >> 24) & 0xFF;
crypto/heimdal/lib/krb5/crypto-arcfour.c
97
EVP_DigestUpdate(m, t, 4);
crypto/heimdal/lib/krb5/derived-key-test.c
102
if (memcmp (dkey->keyvalue.data, t->res, dkey->keyvalue.length) != 0) {
crypto/heimdal/lib/krb5/derived-key-test.c
109
printf ("%02x", t->res[i]);
crypto/heimdal/lib/krb5/derived-key-test.c
81
struct testcase *t;
crypto/heimdal/lib/krb5/derived-key-test.c
90
for (t = tests; t->enctype != 0; ++t) {
crypto/heimdal/lib/krb5/derived-key-test.c
96
key.keyvalue.data = t->key;
crypto/heimdal/lib/krb5/derived-key-test.c
98
ret = krb5_derive_key(context, &key, t->enctype, t->constant,
crypto/heimdal/lib/krb5/derived-key-test.c
99
t->constant_len, &dkey);
crypto/heimdal/lib/krb5/get_cred.c
151
TGS_REQ *t)
crypto/heimdal/lib/krb5/get_cred.c
156
memset(t, 0, sizeof(*t));
crypto/heimdal/lib/krb5/get_cred.c
157
t->pvno = 5;
crypto/heimdal/lib/krb5/get_cred.c
158
t->msg_type = krb_tgs_req;
crypto/heimdal/lib/krb5/get_cred.c
160
ALLOC_SEQ(&t->req_body.etype, 1);
crypto/heimdal/lib/krb5/get_cred.c
161
if(t->req_body.etype.val == NULL) {
crypto/heimdal/lib/krb5/get_cred.c
167
t->req_body.etype.val[0] = in_creds->session.keytype;
crypto/heimdal/lib/krb5/get_cred.c
171
&t->req_body.etype.len,
crypto/heimdal/lib/krb5/get_cred.c
172
&t->req_body.etype.val,
crypto/heimdal/lib/krb5/get_cred.c
177
t->req_body.addresses = addresses;
crypto/heimdal/lib/krb5/get_cred.c
178
t->req_body.kdc_options = flags.b;
crypto/heimdal/lib/krb5/get_cred.c
179
ret = copy_Realm(&in_creds->server->realm, &t->req_body.realm);
crypto/heimdal/lib/krb5/get_cred.c
182
ALLOC(t->req_body.sname, 1);
crypto/heimdal/lib/krb5/get_cred.c
183
if (t->req_body.sname == NULL) {
crypto/heimdal/lib/krb5/get_cred.c
192
ret = copy_PrincipalName(&in_creds->server->name, t->req_body.sname);
crypto/heimdal/lib/krb5/get_cred.c
198
ALLOC(t->req_body.till, 1);
crypto/heimdal/lib/krb5/get_cred.c
199
if(t->req_body.till == NULL){
crypto/heimdal/lib/krb5/get_cred.c
204
*t->req_body.till = in_creds->times.endtime;
crypto/heimdal/lib/krb5/get_cred.c
206
t->req_body.nonce = nonce;
crypto/heimdal/lib/krb5/get_cred.c
208
ALLOC(t->req_body.additional_tickets, 1);
crypto/heimdal/lib/krb5/get_cred.c
209
if (t->req_body.additional_tickets == NULL) {
crypto/heimdal/lib/krb5/get_cred.c
215
ALLOC_SEQ(t->req_body.additional_tickets, 1);
crypto/heimdal/lib/krb5/get_cred.c
216
if (t->req_body.additional_tickets->val == NULL) {
crypto/heimdal/lib/krb5/get_cred.c
222
ret = copy_Ticket(second_ticket, t->req_body.additional_tickets->val);
crypto/heimdal/lib/krb5/get_cred.c
226
ALLOC(t->padata, 1);
crypto/heimdal/lib/krb5/get_cred.c
227
if (t->padata == NULL) {
crypto/heimdal/lib/krb5/get_cred.c
232
ALLOC_SEQ(t->padata, 1 + padata->len);
crypto/heimdal/lib/krb5/get_cred.c
233
if (t->padata->val == NULL) {
crypto/heimdal/lib/krb5/get_cred.c
241
ret = copy_PA_DATA(&padata->val[i], &t->padata->val[i + 1]);
crypto/heimdal/lib/krb5/get_cred.c
258
ret = set_auth_data (context, &t->req_body, &in_creds->authdata,
crypto/heimdal/lib/krb5/get_cred.c
265
&t->req_body,
crypto/heimdal/lib/krb5/get_cred.c
266
&t->padata->val[0],
crypto/heimdal/lib/krb5/get_cred.c
279
t->req_body.addresses = NULL;
crypto/heimdal/lib/krb5/get_cred.c
280
free_TGS_REQ (t);
crypto/heimdal/lib/krb5/init_creds.c
160
time_t t;
crypto/heimdal/lib/krb5/init_creds.c
171
krb5_appdefault_time(context, appname, realm, "ticket_lifetime", 0, &t);
crypto/heimdal/lib/krb5/init_creds.c
172
if (t == 0)
crypto/heimdal/lib/krb5/init_creds.c
173
t = get_config_time (context, realm, "ticket_lifetime", 0);
crypto/heimdal/lib/krb5/init_creds.c
174
if(t != 0)
crypto/heimdal/lib/krb5/init_creds.c
175
krb5_get_init_creds_opt_set_tkt_life(opt, t);
crypto/heimdal/lib/krb5/init_creds.c
177
krb5_appdefault_time(context, appname, realm, "renew_lifetime", 0, &t);
crypto/heimdal/lib/krb5/init_creds.c
178
if (t == 0)
crypto/heimdal/lib/krb5/init_creds.c
179
t = get_config_time (context, realm, "renew_lifetime", 0);
crypto/heimdal/lib/krb5/init_creds.c
180
if(t != 0)
crypto/heimdal/lib/krb5/init_creds.c
181
krb5_get_init_creds_opt_set_renew_life(opt, t);
crypto/heimdal/lib/krb5/init_creds_pw.c
263
time_t t;
crypto/heimdal/lib/krb5/init_creds_pw.c
307
t = sec + get_config_time (context,
crypto/heimdal/lib/krb5/init_creds_pw.c
313
if (lr->val[i].lr_value <= t) {
crypto/heimdal/lib/krb5/init_creds_pw.c
335
&& *ctx->enc_part.key_expiration <= t) {
crypto/heimdal/lib/krb5/log.c
420
time_t t = 0;
crypto/heimdal/lib/krb5/log.c
426
if(t == 0) {
crypto/heimdal/lib/krb5/log.c
427
t = time(NULL);
crypto/heimdal/lib/krb5/log.c
428
krb5_format_time(context, t, buf, sizeof(buf), TRUE);
crypto/heimdal/lib/krb5/n-fold-test.c
100
for (t = tests; t->str; ++t) {
crypto/heimdal/lib/krb5/n-fold-test.c
103
ret = _krb5_n_fold (t->str, strlen(t->str), data, t->n);
crypto/heimdal/lib/krb5/n-fold-test.c
106
if (memcmp (data, t->res, t->n) != 0) {
crypto/heimdal/lib/krb5/n-fold-test.c
107
printf ("n-fold(\"%s\", %d) failed\n", t->str, t->n);
crypto/heimdal/lib/krb5/n-fold-test.c
109
for (i = 0; i < t->n; ++i)
crypto/heimdal/lib/krb5/n-fold-test.c
110
printf ("%02x", t->res[i]);
crypto/heimdal/lib/krb5/n-fold-test.c
112
for (i = 0; i < t->n; ++i)
crypto/heimdal/lib/krb5/n-fold-test.c
97
struct testcase *t;
crypto/heimdal/lib/krb5/pac.c
788
uint64_t t;
crypto/heimdal/lib/krb5/pac.c
792
t = unix2nttime(authtime);
crypto/heimdal/lib/krb5/pac.c
802
CHECK(ret, krb5_store_uint32(sp, t & 0xffffffff), out);
crypto/heimdal/lib/krb5/pac.c
803
CHECK(ret, krb5_store_uint32(sp, t >> 32), out);
crypto/heimdal/lib/krb5/parse-name-test.c
101
princ->name.name_string.len, t->ncomponents,
crypto/heimdal/lib/krb5/parse-name-test.c
102
t->input_string);
crypto/heimdal/lib/krb5/parse-name-test.c
105
for (i = 0; i < t->ncomponents; ++i) {
crypto/heimdal/lib/krb5/parse-name-test.c
106
if (strcmp(t->comp_val[i],
crypto/heimdal/lib/krb5/parse-name-test.c
112
t->comp_val[i],
crypto/heimdal/lib/krb5/parse-name-test.c
113
t->input_string);
crypto/heimdal/lib/krb5/parse-name-test.c
118
for (j = 0; j < strlen(t->output_string); ++j) {
crypto/heimdal/lib/krb5/parse-name-test.c
123
t->input_string, j);
crypto/heimdal/lib/krb5/parse-name-test.c
133
if (strcmp (t->output_string, name_buf) != 0) {
crypto/heimdal/lib/krb5/parse-name-test.c
136
name_buf, t->output_string);
crypto/heimdal/lib/krb5/parse-name-test.c
144
if (strcmp (t->output_string, s) != 0) {
crypto/heimdal/lib/krb5/parse-name-test.c
147
s, t->output_string);
crypto/heimdal/lib/krb5/parse-name-test.c
152
if (!t->realmp) {
crypto/heimdal/lib/krb5/parse-name-test.c
153
for (j = 0; j < strlen(t->input_string); ++j) {
crypto/heimdal/lib/krb5/parse-name-test.c
159
t->input_string, j);
crypto/heimdal/lib/krb5/parse-name-test.c
169
if (strcmp (t->input_string, name_buf) != 0) {
crypto/heimdal/lib/krb5/parse-name-test.c
172
name_buf, t->input_string);
crypto/heimdal/lib/krb5/parse-name-test.c
180
if (strcmp (t->input_string, s) != 0) {
crypto/heimdal/lib/krb5/parse-name-test.c
183
s, t->input_string);
crypto/heimdal/lib/krb5/parse-name-test.c
67
struct testcase *t;
crypto/heimdal/lib/krb5/parse-name-test.c
80
for (t = tests; t->input_string; ++t) {
crypto/heimdal/lib/krb5/parse-name-test.c
86
ret = krb5_parse_name(context, t->input_string, &princ);
crypto/heimdal/lib/krb5/parse-name-test.c
89
t->input_string);
crypto/heimdal/lib/krb5/parse-name-test.c
90
if (strcmp (t->realm, princ->realm) != 0) {
crypto/heimdal/lib/krb5/parse-name-test.c
93
princ->realm, t->realm,
crypto/heimdal/lib/krb5/parse-name-test.c
94
t->input_string);
crypto/heimdal/lib/krb5/parse-name-test.c
98
if (t->ncomponents != princ->name.name_string.len) {
crypto/heimdal/lib/krb5/rd_req.c
230
EncTicketPart t;
crypto/heimdal/lib/krb5/rd_req.c
232
ret = decrypt_tkt_enc_part (context, key, &ticket->enc_part, &t);
crypto/heimdal/lib/krb5/rd_req.c
238
time_t start = t.authtime;
crypto/heimdal/lib/krb5/rd_req.c
241
if(t.starttime)
crypto/heimdal/lib/krb5/rd_req.c
242
start = *t.starttime;
crypto/heimdal/lib/krb5/rd_req.c
244
|| (t.flags.invalid
crypto/heimdal/lib/krb5/rd_req.c
246
free_EncTicketPart(&t);
crypto/heimdal/lib/krb5/rd_req.c
250
if(now - t.endtime > context->max_skew) {
crypto/heimdal/lib/krb5/rd_req.c
251
free_EncTicketPart(&t);
crypto/heimdal/lib/krb5/rd_req.c
256
if(!t.flags.transited_policy_checked) {
crypto/heimdal/lib/krb5/rd_req.c
257
ret = check_transited(context, ticket, &t);
crypto/heimdal/lib/krb5/rd_req.c
259
free_EncTicketPart(&t);
crypto/heimdal/lib/krb5/rd_req.c
266
*out = t;
crypto/heimdal/lib/krb5/rd_req.c
268
free_EncTicketPart(&t);
crypto/heimdal/lib/krb5/rd_req.c
346
krb5_ticket *t;
crypto/heimdal/lib/krb5/rd_req.c
362
t = calloc(1, sizeof(*t));
crypto/heimdal/lib/krb5/rd_req.c
363
if (t == NULL) {
crypto/heimdal/lib/krb5/rd_req.c
372
&t->ticket,
crypto/heimdal/lib/krb5/rd_req.c
379
&t->ticket,
crypto/heimdal/lib/krb5/rd_req.c
386
&t->server,
crypto/heimdal/lib/krb5/rd_req.c
391
&t->client,
crypto/heimdal/lib/krb5/rd_req.c
392
t->ticket.cname,
crypto/heimdal/lib/krb5/rd_req.c
393
t->ticket.crealm);
crypto/heimdal/lib/krb5/rd_req.c
397
&t->ticket.key,
crypto/heimdal/lib/krb5/rd_req.c
414
t->ticket.cname,
crypto/heimdal/lib/krb5/rd_req.c
415
t->ticket.crealm);
crypto/heimdal/lib/krb5/rd_req.c
428
if (t->ticket.caddr
crypto/heimdal/lib/krb5/rd_req.c
432
t->ticket.caddr)) {
crypto/heimdal/lib/krb5/rd_req.c
482
ret = krb5_copy_keyblock(context, &t->ticket.key, &ac->keyblock);
crypto/heimdal/lib/krb5/rd_req.c
496
*ticket = t;
crypto/heimdal/lib/krb5/rd_req.c
498
krb5_free_ticket (context, t);
crypto/heimdal/lib/krb5/rd_req.c
507
if (t)
crypto/heimdal/lib/krb5/rd_req.c
508
krb5_free_ticket (context, t);
crypto/heimdal/lib/krb5/replay.c
205
time_t t;
crypto/heimdal/lib/krb5/replay.c
221
t = ent.stamp - tmp.stamp;
crypto/heimdal/lib/krb5/replay.c
223
if(tmp.stamp < t)
crypto/heimdal/lib/krb5/scache.c
730
Ticket t;
crypto/heimdal/lib/krb5/scache.c
734
creds->ticket.length, &t, &len);
crypto/heimdal/lib/krb5/scache.c
736
if(t.enc_part.kvno)
crypto/heimdal/lib/krb5/scache.c
737
kvno = *t.enc_part.kvno;
crypto/heimdal/lib/krb5/scache.c
739
etype = t.enc_part.etype;
crypto/heimdal/lib/krb5/scache.c
741
free_Ticket(&t);
crypto/heimdal/lib/krb5/store.c
1151
int16_t t;
crypto/heimdal/lib/krb5/store.c
1153
ret = krb5_ret_int16(sp, &t);
crypto/heimdal/lib/krb5/store.c
1155
adr->addr_type = t;
crypto/heimdal/lib/krb5/string-to-key-test.c
108
for (t = tests; t->principal_name; ++t) {
crypto/heimdal/lib/krb5/string-to-key-test.c
113
ret = krb5_parse_name (context, t->principal_name, &principal);
crypto/heimdal/lib/krb5/string-to-key-test.c
116
t->principal_name);
crypto/heimdal/lib/krb5/string-to-key-test.c
117
ret = krb5_string_to_key (context, t->enctype, t->password,
crypto/heimdal/lib/krb5/string-to-key-test.c
122
if (memcmp (key.keyvalue.data, t->res, key.keyvalue.length) != 0) {
crypto/heimdal/lib/krb5/string-to-key-test.c
126
t->principal_name, t->password);
crypto/heimdal/lib/krb5/string-to-key-test.c
129
printf ("%02x", t->res[i]);
crypto/heimdal/lib/krb5/string-to-key-test.c
95
struct testcase *t;
crypto/heimdal/lib/krb5/time.c
109
krb5_format_time(krb5_context context, time_t t,
crypto/heimdal/lib/krb5/time.c
114
tm = gmtime (&t);
crypto/heimdal/lib/krb5/time.c
116
tm = localtime(&t);
crypto/heimdal/lib/krb5/time.c
119
snprintf(s, len, "%ld", (long)t);
crypto/heimdal/lib/ntlm/ntlm.c
1432
nt2unixtime(uint64_t t)
crypto/heimdal/lib/ntlm/ntlm.c
1434
t = ((t - (uint64_t)NTTIME_EPOCH) / (uint64_t)10000000);
crypto/heimdal/lib/ntlm/ntlm.c
1435
if (t > (((uint64_t)(time_t)(~(uint64_t)0)) >> 1))
crypto/heimdal/lib/ntlm/ntlm.c
1437
return (time_t)t;
crypto/heimdal/lib/ntlm/ntlm.c
1523
uint64_t t;
crypto/heimdal/lib/ntlm/ntlm.c
1526
t = unix2nttime(time(NULL));
crypto/heimdal/lib/ntlm/ntlm.c
1545
CHECK(krb5_store_uint32(sp, t & 0xffffffff), 0);
crypto/heimdal/lib/ntlm/ntlm.c
1546
CHECK(krb5_store_uint32(sp, t >> 32), 0);
crypto/heimdal/lib/ntlm/ntlm.c
1627
uint64_t t;
crypto/heimdal/lib/ntlm/ntlm.c
1658
t = temp;
crypto/heimdal/lib/ntlm/ntlm.c
1660
t |= ((uint64_t)temp)<< 32;
crypto/heimdal/lib/ntlm/ntlm.c
1662
authtime = nt2unixtime(t);
crypto/heimdal/lib/ntlm/ntlm.c
201
unsigned char t = (unsigned char)string[i];
crypto/heimdal/lib/ntlm/ntlm.c
202
if (t & 0x80) {
crypto/heimdal/lib/ntlm/ntlm.c
207
t = toupper(t);
crypto/heimdal/lib/ntlm/ntlm.c
208
p[(i * 2) + 0] = t;
crypto/heimdal/lib/roken/base64-test.c
48
} *t, tests[] = {
crypto/heimdal/lib/roken/base64-test.c
58
for(t = tests; t->data; t++) {
crypto/heimdal/lib/roken/base64-test.c
61
len = base64_encode(t->data, t->len, &str);
crypto/heimdal/lib/roken/base64-test.c
62
if(strcmp(str, t->result) != 0) {
crypto/heimdal/lib/roken/base64-test.c
64
str, t->result);
crypto/heimdal/lib/roken/base64-test.c
68
str = strdup(t->result);
crypto/heimdal/lib/roken/base64-test.c
69
len = base64_decode(t->result, str);
crypto/heimdal/lib/roken/base64-test.c
70
if(len != t->len) {
crypto/heimdal/lib/roken/base64-test.c
72
(unsigned long)len, (unsigned long)t->len);
crypto/heimdal/lib/roken/base64-test.c
74
} else if(memcmp(str, t->data, t->len) != 0) {
crypto/heimdal/lib/roken/getarg.c
105
t = time(NULL);
crypto/heimdal/lib/roken/getarg.c
106
strftime(timestr, sizeof(timestr), "%B %e, %Y", localtime(&t));
crypto/heimdal/lib/roken/getarg.c
98
time_t t;
crypto/heimdal/lib/roken/getifaddrs.c
282
time_t t = time(NULL);
crypto/heimdal/lib/roken/getifaddrs.c
284
if (seq) *seq = t;
crypto/heimdal/lib/roken/getifaddrs.c
292
req_hdr->nlmsg_seq = t;
crypto/heimdal/lib/roken/gettimeofday.c
69
time_t t;
crypto/heimdal/lib/roken/gettimeofday.c
71
t = time(NULL);
crypto/heimdal/lib/roken/gettimeofday.c
72
tp->tv_sec = (long) t;
crypto/heimdal/lib/roken/hex-test.c
48
} *t, tests[] = {
crypto/heimdal/lib/roken/hex-test.c
60
for(t = tests; t->data; t++) {
crypto/heimdal/lib/roken/hex-test.c
63
len = hex_encode(t->data, t->len, &str);
crypto/heimdal/lib/roken/hex-test.c
64
if(strcmp(str, t->result) != 0) {
crypto/heimdal/lib/roken/hex-test.c
66
str, t->result);
crypto/heimdal/lib/roken/hex-test.c
70
str = strdup(t->result);
crypto/heimdal/lib/roken/hex-test.c
72
len = hex_decode(t->result, str, len);
crypto/heimdal/lib/roken/hex-test.c
73
if(len != t->len) {
crypto/heimdal/lib/roken/hex-test.c
75
(unsigned long)len, (unsigned long)t->len);
crypto/heimdal/lib/roken/hex-test.c
77
} else if(memcmp(str, t->data, t->len) != 0) {
crypto/heimdal/lib/roken/parse_bytes.c
66
unparse_bytes (int t, char *s, size_t len)
crypto/heimdal/lib/roken/parse_bytes.c
68
return unparse_units (t, bytes_units, s, len);
crypto/heimdal/lib/roken/parse_bytes.c
72
unparse_bytes_short (int t, char *s, size_t len)
crypto/heimdal/lib/roken/parse_bytes.c
74
return unparse_units_approx (t, bytes_short_units, s, len);
crypto/heimdal/lib/roken/parse_bytes.h
53
unparse_bytes (int t, char *s, size_t len);
crypto/heimdal/lib/roken/parse_bytes.h
56
unparse_bytes_short (int t, char *s, size_t len);
crypto/heimdal/lib/roken/parse_reply-test.c
117
buf = p2 - t->buf_len;
crypto/heimdal/lib/roken/parse_reply-test.c
118
memcpy (buf, t->buf, t->buf_len);
crypto/heimdal/lib/roken/parse_reply-test.c
119
parse_reply (buf, t->buf_len);
crypto/heimdal/lib/roken/parse_reply-test.c
91
const struct testcase *t = &tests[i];
crypto/heimdal/lib/roken/parse_time.c
60
unparse_time (int t, char *s, size_t len)
crypto/heimdal/lib/roken/parse_time.c
62
return unparse_units (t, time_units, s, len);
crypto/heimdal/lib/roken/parse_time.c
66
unparse_time_approx (int t, char *s, size_t len)
crypto/heimdal/lib/roken/parse_time.c
68
return unparse_units_approx (t, time_units, s, len);
crypto/heimdal/lib/roken/parse_time.h
53
unparse_time (int t, char *s, size_t len);
crypto/heimdal/lib/roken/parse_time.h
56
unparse_time_approx (int t, char *s, size_t len);
crypto/heimdal/lib/roken/qsort.c
62
TYPE t = *pi; \
crypto/heimdal/lib/roken/qsort.c
64
*pj++ = t; \
crypto/heimdal/lib/roken/qsort.c
84
long t = *(long *)(a); \
crypto/heimdal/lib/roken/qsort.c
86
*(long *)(b) = t; \
crypto/heimdal/lib/roken/qsort.c
93
#define CMP(t, x, y) (cmp((t), (x), (y)))
crypto/heimdal/lib/roken/qsort.c
95
#define CMP(t, x, y) (cmp((x), (y)))
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/setenv.c
51
char *t = NULL;
crypto/heimdal/lib/roken/setenv.c
56
if (asprintf (&t, "%s=%s", var, val) < 0 || t == NULL)
crypto/heimdal/lib/roken/setenv.c
59
if (putenv(t) == 0)
crypto/heimdal/lib/roken/strdup.c
42
char *t = malloc(strlen(old)+1);
crypto/heimdal/lib/roken/strdup.c
43
if (t != 0)
crypto/heimdal/lib/roken/strdup.c
44
strcpy(t, old);
crypto/heimdal/lib/roken/strdup.c
45
return t;
crypto/heimdal/lib/roken/strndup.c
45
char *t = malloc(len + 1);
crypto/heimdal/lib/roken/strndup.c
47
if (t != NULL) {
crypto/heimdal/lib/roken/strndup.c
48
memcpy (t, old, len);
crypto/heimdal/lib/roken/strndup.c
49
t[len] = '\0';
crypto/heimdal/lib/roken/strndup.c
51
return t;
crypto/heimdal/lib/roken/strpftime-test.c
238
tm = gmtime (&tests[i].t);
crypto/heimdal/lib/roken/strpftime-test.c
42
time_t t;
crypto/heimdal/lib/roken/tm2time.c
49
time_t t;
crypto/heimdal/lib/roken/tm2time.c
53
t = mktime (&tm);
crypto/heimdal/lib/roken/tm2time.c
56
t += t - mktime (gmtime (&t));
crypto/heimdal/lib/roken/tm2time.c
57
return t;
crypto/heimdal/lib/sl/sl.c
46
time_t t;
crypto/heimdal/lib/sl/sl.c
53
t = time(NULL);
crypto/heimdal/lib/sl/sl.c
54
strftime(timestr, sizeof(timestr), "%b %d, %Y", localtime(&t));
crypto/heimdal/lib/wind/combining.c
57
const struct translation *t = (const struct translation *)s;
crypto/heimdal/lib/wind/combining.c
58
return t->combining_class;
crypto/heimdal/lib/wind/normalize.c
147
const struct translation *t = (const struct translation *)s;
crypto/heimdal/lib/wind/normalize.c
149
ret = compat_decomp(_wind_normalize_val_table + t->val_offset,
crypto/heimdal/lib/wind/normalize.c
150
t->val_len,
crypto/heimdal/lib/wind/normalize.c
170
uint32_t t;
crypto/heimdal/lib/wind/normalize.c
171
t = *a;
crypto/heimdal/lib/wind/normalize.c
173
*b = t;
crypto/heimdal/lib/wind/normalize.c
73
unsigned l, v, t;
crypto/heimdal/lib/wind/normalize.c
81
t = t_base + s_index % t_count;
crypto/heimdal/lib/wind/normalize.c
83
if (t != t_base)
crypto/heimdal/lib/wind/normalize.c
89
if (t != t_base)
crypto/heimdal/lib/wind/normalize.c
90
out[2] = t;
crypto/heimdal/lib/wind/punycode.c
139
unsigned t;
crypto/heimdal/lib/wind/punycode.c
141
t = t_min;
crypto/heimdal/lib/wind/punycode.c
143
t = t_max;
crypto/heimdal/lib/wind/punycode.c
145
t = k - bias;
crypto/heimdal/lib/wind/punycode.c
146
if (q < t)
crypto/heimdal/lib/wind/punycode.c
150
out[o++] = digit(t + ((q - t) % (base - t)));
crypto/heimdal/lib/wind/punycode.c
151
q = (q - t) / (base - t);
crypto/heimdal/lib/wind/test-bidi.c
65
const struct test *t = &passing_cases[i];
crypto/heimdal/lib/wind/test-bidi.c
66
if (_wind_stringprep_testbidi(t->vals, t->len, WIND_PROFILE_NAME)) {
crypto/heimdal/lib/wind/test-bidi.c
73
const struct test *t = &failing_cases[i];
crypto/heimdal/lib/wind/test-bidi.c
74
if (!_wind_stringprep_testbidi(t->vals, t->len, WIND_PROFILE_NAME)) {
crypto/heimdal/lib/wind/test-ldap.c
101
const struct testcase *t = &testcases2[i];
crypto/heimdal/lib/wind/test-ldap.c
104
assert(olen > t->olen);
crypto/heimdal/lib/wind/test-ldap.c
106
ret = wind_stringprep(t->in, t->ilen, out, &olen,
crypto/heimdal/lib/wind/test-ldap.c
115
if (olen != t->olen) {
crypto/heimdal/lib/wind/test-ldap.c
120
if (memcmp(t->out, out, sizeof(out[0]) * olen) != 0) {
crypto/heimdal/lib/wind/test-ldap.c
76
const struct testcase *t = &testcases[i];
crypto/heimdal/lib/wind/test-ldap.c
79
assert(olen > t->olen);
crypto/heimdal/lib/wind/test-ldap.c
81
ret = _wind_ldap_case_exact_attribute(t->in, t->ilen, out, &olen);
crypto/heimdal/lib/wind/test-ldap.c
87
if (olen != t->olen) {
crypto/heimdal/lib/wind/test-ldap.c
89
(unsigned)olen, (unsigned)t->olen);
crypto/heimdal/lib/wind/test-ldap.c
93
if (memcmp(t->out, out, sizeof(out[0]) * olen) != 0) {
crypto/heimdal/lib/wind/test-utf8.c
123
const struct testcase *t = &testcases[i];
crypto/heimdal/lib/wind/test-utf8.c
125
ret = wind_utf8ucs4_length(t->utf8_str, &len);
crypto/heimdal/lib/wind/test-utf8.c
128
t->utf8_str);
crypto/heimdal/lib/wind/test-utf8.c
132
if (len != t->len) {
crypto/heimdal/lib/wind/test-utf8.c
135
t->utf8_str, (unsigned int)t->len, (unsigned int)len);
crypto/heimdal/lib/wind/test-utf8.c
141
ret = wind_utf8ucs4(t->utf8_str, u, &len);
crypto/heimdal/lib/wind/test-utf8.c
144
t->utf8_str);
crypto/heimdal/lib/wind/test-utf8.c
148
if (len != t->len) {
crypto/heimdal/lib/wind/test-utf8.c
151
t->utf8_str, (unsigned int)t->len, (unsigned int)len);
crypto/heimdal/lib/wind/test-utf8.c
155
if (memcmp(t->u, u, len * sizeof(uint32_t)) != 0) {
crypto/heimdal/lib/wind/test-utf8.c
157
t->utf8_str);
crypto/heimdal/lib/wind/test-utf8.c
161
if (t->invalid_ucs2 == 0) {
crypto/heimdal/lib/wind/test-utf8.c
166
t->utf8_str);
crypto/krb5/src/ccapi/common/cci_message.c
183
int64_t t = 0;
crypto/krb5/src/ccapi/common/cci_message.c
189
err = krb5int_ipc_stream_read_int64 (io_stream, &t);
crypto/krb5/src/ccapi/common/cci_message.c
193
*out_time = t;
crypto/krb5/src/ccapi/common/win/tls.c
45
void tspdata_setSST (struct tspdata* p, time_t t) {p->_sst = t;}
crypto/krb5/src/ccapi/common/win/tls.h
57
void tspdata_setSST (struct tspdata* p, time_t t);
crypto/krb5/src/include/gssrpc/xdr.h
238
#define IXDR_GET_ENUM(buf, t) ((t)IXDR_GET_INT32(buf))
crypto/krb5/src/include/kdb.h
379
krb5_error_code krb5_db_get_age ( krb5_context kcontext, char *db_name, time_t *t );
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
381
time_t t = get_date(argv[2]);
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
382
if (t == -1) {
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
388
start_time = (krb5_timestamp) t;
crypto/krb5/src/kadmin/dbutil/tabdump.c
153
time_t t;
crypto/krb5/src/kadmin/dbutil/tabdump.c
157
t = ts2tt(when);
crypto/krb5/src/kadmin/dbutil/tabdump.c
158
tm = gmtime(&t);
crypto/krb5/src/kadmin/server/auth_acl.c
269
int t;
crypto/krb5/src/kadmin/server/auth_acl.c
277
for (t = 0; acl_op_table[t].op; t++) {
crypto/krb5/src/kadmin/server/auth_acl.c
278
if (rop == acl_op_table[t].op) {
crypto/krb5/src/kadmin/server/auth_acl.c
280
entry->op_allowed |= acl_op_table[t].mask;
crypto/krb5/src/kadmin/server/auth_acl.c
282
entry->op_allowed &= ~acl_op_table[t].mask;
crypto/krb5/src/kadmin/server/auth_acl.c
286
if (!acl_op_table[t].op) {
crypto/krb5/src/kdc/do_tgs_req.c
1000
ticket_encrypting_key = t->stkt->enc_part2->session;
crypto/krb5/src/kdc/do_tgs_req.c
1004
ret = get_first_current_key(context, t->server, &server_key);
crypto/krb5/src/kdc/do_tgs_req.c
1012
if (t->req->kdc_options & (KDC_OPT_VALIDATE | KDC_OPT_RENEW)) {
crypto/krb5/src/kdc/do_tgs_req.c
1015
ticket_reply.server = t->header_tkt->server;
crypto/krb5/src/kdc/do_tgs_req.c
1016
enc_tkt_reply = *t->header_tkt->enc_part2;
crypto/krb5/src/kdc/do_tgs_req.c
1019
if (t->req->kdc_options & (KDC_OPT_FORWARDED | KDC_OPT_PROXY)) {
crypto/krb5/src/kdc/do_tgs_req.c
1021
enc_tkt_reply.caddrs = t->req->addresses;
crypto/krb5/src/kdc/do_tgs_req.c
1022
reply_encpart.caddrs = t->req->addresses;
crypto/krb5/src/kdc/do_tgs_req.c
1029
ticket_reply.server = t->is_referral ? t->sprinc : t->req->server;
crypto/krb5/src/kdc/do_tgs_req.c
1034
enc_tkt_reply.client = t->tkt_client;
crypto/krb5/src/kdc/do_tgs_req.c
1036
enc_tkt_reply.transited = t->transited;
crypto/krb5/src/kdc/do_tgs_req.c
1038
ret = handle_authdata(realm, t->flags, t->client, t->server,
crypto/krb5/src/kdc/do_tgs_req.c
1039
subject_server, t->local_tgt, &t->local_tgt_key,
crypto/krb5/src/kdc/do_tgs_req.c
1041
subject_key, NULL, pkt, t->req, t->s4u_cprinc,
crypto/krb5/src/kdc/do_tgs_req.c
1042
subject_pac, t->subject_tkt, &t->auth_indicators,
crypto/krb5/src/kdc/do_tgs_req.c
1056
if (t->req->kdc_options & KDC_OPT_ENC_TKT_IN_SKEY) {
crypto/krb5/src/kdc/do_tgs_req.c
1060
ticket_reply.enc_part.kvno = current_kvno(t->server);
crypto/krb5/src/kdc/do_tgs_req.c
1065
if (t->s4u2self != NULL &&
crypto/krb5/src/kdc/do_tgs_req.c
1066
krb5int_find_pa_data(context, t->req->padata,
crypto/krb5/src/kdc/do_tgs_req.c
1070
ret = kdc_make_s4u2self_rep(context, t->subkey,
crypto/krb5/src/kdc/do_tgs_req.c
1071
t->header_tkt->enc_part2->session,
crypto/krb5/src/kdc/do_tgs_req.c
1072
t->s4u2self, &reply, &reply_encpart);
crypto/krb5/src/kdc/do_tgs_req.c
1078
reply_encpart.nonce = t->req->nonce;
crypto/krb5/src/kdc/do_tgs_req.c
1090
ret = kdc_fast_response_handle_padata(fast_state, t->req, &reply,
crypto/krb5/src/kdc/do_tgs_req.c
1098
ret = return_enc_padata(context, pkt, t->req, fast_reply_key, t->server,
crypto/krb5/src/kdc/do_tgs_req.c
1100
t->is_referral &&
crypto/krb5/src/kdc/do_tgs_req.c
1101
(t->req->kdc_options & KDC_OPT_CANONICALIZE));
crypto/krb5/src/kdc/do_tgs_req.c
1114
t->subkey != NULL, fast_reply_key, &reply,
crypto/krb5/src/kdc/do_tgs_req.c
1119
log_tgs_req(context, from, t->req, &reply, t->cprinc, t->sprinc,
crypto/krb5/src/kdc/do_tgs_req.c
1120
t->s4u_cprinc, t->authtime, t->flags, "ISSUE", 0, NULL);
crypto/krb5/src/kdc/do_tgs_req.c
1123
if (t->flags & KRB5_KDB_FLAG_CONSTRAINED_DELEGATION)
crypto/krb5/src/kdc/do_tgs_req.c
1142
free_req_info(krb5_context context, struct tgs_req_info *t)
crypto/krb5/src/kdc/do_tgs_req.c
1144
krb5_free_kdc_req(context, t->req);
crypto/krb5/src/kdc/do_tgs_req.c
1145
krb5_free_ticket(context, t->header_tkt);
crypto/krb5/src/kdc/do_tgs_req.c
1146
krb5_db_free_principal(context, t->header_server);
crypto/krb5/src/kdc/do_tgs_req.c
1147
krb5_free_keyblock(context, t->header_key);
crypto/krb5/src/kdc/do_tgs_req.c
1148
krb5_free_keyblock(context, t->subkey);
crypto/krb5/src/kdc/do_tgs_req.c
1149
krb5_pac_free(context, t->header_pac);
crypto/krb5/src/kdc/do_tgs_req.c
1150
krb5_pac_free(context, t->stkt_pac);
crypto/krb5/src/kdc/do_tgs_req.c
1151
krb5_db_free_principal(context, t->stkt_server);
crypto/krb5/src/kdc/do_tgs_req.c
1152
krb5_free_keyblock(context, t->stkt_server_key);
crypto/krb5/src/kdc/do_tgs_req.c
1153
krb5_db_free_principal(context, t->local_tgt_storage);
crypto/krb5/src/kdc/do_tgs_req.c
1154
krb5_free_keyblock_contents(context, &t->local_tgt_key);
crypto/krb5/src/kdc/do_tgs_req.c
1155
krb5_db_free_principal(context, t->server);
crypto/krb5/src/kdc/do_tgs_req.c
1156
krb5_db_free_principal(context, t->client);
crypto/krb5/src/kdc/do_tgs_req.c
1157
krb5_free_pa_s4u_x509_user(context, t->s4u2self);
crypto/krb5/src/kdc/do_tgs_req.c
1158
krb5_free_principal(context, t->stkt_pac_client);
crypto/krb5/src/kdc/do_tgs_req.c
1159
k5_free_data_ptr_list(t->auth_indicators);
crypto/krb5/src/kdc/do_tgs_req.c
1160
krb5_free_data_contents(context, &t->new_transited);
crypto/krb5/src/kdc/do_tgs_req.c
1170
struct tgs_req_info t = { 0 };
crypto/krb5/src/kdc/do_tgs_req.c
1187
&t, &status);
crypto/krb5/src/kdc/do_tgs_req.c
1191
ret = check_tgs_req(realm, &t, au_state, &tktflags, ×, &status,
crypto/krb5/src/kdc/do_tgs_req.c
1196
ret = tgs_issue_ticket(realm, &t, tktflags, ×, pkt, from, fast_state,
crypto/krb5/src/kdc/do_tgs_req.c
1207
log_tgs_req(context, from, t.req, NULL, t.cprinc, t.sprinc,
crypto/krb5/src/kdc/do_tgs_req.c
1208
t.s4u_cprinc, t.authtime, t.flags, status, ret, emsg);
crypto/krb5/src/kdc/do_tgs_req.c
1218
ret = prepare_error_tgs(fast_state, t.req, t.header_tkt, ret,
crypto/krb5/src/kdc/do_tgs_req.c
1219
(t.server != NULL) ? t.server->princ : NULL,
crypto/krb5/src/kdc/do_tgs_req.c
1226
free_req_info(context, &t);
crypto/krb5/src/kdc/do_tgs_req.c
595
krb5_audit_state *au_state, struct tgs_req_info *t,
crypto/krb5/src/kdc/do_tgs_req.c
606
t->req = *reqptr;
crypto/krb5/src/kdc/do_tgs_req.c
609
if (t->req->msg_type != KRB5_TGS_REQ)
crypto/krb5/src/kdc/do_tgs_req.c
614
t->sprinc = t->req->server;
crypto/krb5/src/kdc/do_tgs_req.c
617
ret = kdc_process_tgs_req(realm, t->req, from, pkt, &t->header_tkt,
crypto/krb5/src/kdc/do_tgs_req.c
618
&t->header_server, &t->header_key, &t->subkey,
crypto/krb5/src/kdc/do_tgs_req.c
620
if (t->header_tkt != NULL && t->header_tkt->enc_part2 != NULL)
crypto/krb5/src/kdc/do_tgs_req.c
621
t->cprinc = t->header_tkt->enc_part2->client;
crypto/krb5/src/kdc/do_tgs_req.c
626
ret = kau_make_tkt_id(context, t->header_tkt, &au_state->tkt_in_id);
crypto/krb5/src/kdc/do_tgs_req.c
629
header_enc = t->header_tkt->enc_part2;
crypto/krb5/src/kdc/do_tgs_req.c
634
ret = kdc_find_fast(&t->req, &d, t->subkey, header_enc->session,
crypto/krb5/src/kdc/do_tgs_req.c
641
t->sprinc = t->req->server;
crypto/krb5/src/kdc/do_tgs_req.c
642
if (t->sprinc == NULL) {
crypto/krb5/src/kdc/do_tgs_req.c
649
ret = get_local_tgt(context, &t->sprinc->realm, t->header_server,
crypto/krb5/src/kdc/do_tgs_req.c
650
&t->local_tgt, &t->local_tgt_storage,
crypto/krb5/src/kdc/do_tgs_req.c
651
&t->local_tgt_key);
crypto/krb5/src/kdc/do_tgs_req.c
658
ret = get_verified_pac(context, header_enc, t->header_server,
crypto/krb5/src/kdc/do_tgs_req.c
659
t->header_key, t->local_tgt, &t->local_tgt_key,
crypto/krb5/src/kdc/do_tgs_req.c
660
&t->header_pac);
crypto/krb5/src/kdc/do_tgs_req.c
666
au_state->request = t->req;
crypto/krb5/src/kdc/do_tgs_req.c
671
s_flags = (t->req->kdc_options & KDC_OPT_CANONICALIZE) ?
crypto/krb5/src/kdc/do_tgs_req.c
673
ret = search_sprinc(realm, t->req, s_flags, &t->server, status);
crypto/krb5/src/kdc/do_tgs_req.c
676
t->sprinc = t->server->princ;
crypto/krb5/src/kdc/do_tgs_req.c
680
if (is_cross_tgs_principal(t->server->princ) &&
crypto/krb5/src/kdc/do_tgs_req.c
681
!krb5_principal_compare(context, t->req->server, t->server->princ))
crypto/krb5/src/kdc/do_tgs_req.c
682
t->flags |= KRB5_KDB_FLAG_ISSUING_REFERRAL;
crypto/krb5/src/kdc/do_tgs_req.c
686
if (!data_eq(t->header_server->princ->realm, t->sprinc->realm))
crypto/krb5/src/kdc/do_tgs_req.c
687
t->flags |= KRB5_KDB_FLAG_CROSS_REALM;
crypto/krb5/src/kdc/do_tgs_req.c
689
t->is_referral = (t->flags & KRB5_KDB_FLAG_ISSUING_REFERRAL);
crypto/krb5/src/kdc/do_tgs_req.c
690
t->is_crossrealm = (t->flags & KRB5_KDB_FLAG_CROSS_REALM);
crypto/krb5/src/kdc/do_tgs_req.c
694
ret = kdc_process_s4u2self_req(context, t->req, t->server, t->subkey,
crypto/krb5/src/kdc/do_tgs_req.c
695
header_enc->session, &t->s4u2self,
crypto/krb5/src/kdc/do_tgs_req.c
696
&t->client, status);
crypto/krb5/src/kdc/do_tgs_req.c
697
if (t->s4u2self != NULL || ret) {
crypto/krb5/src/kdc/do_tgs_req.c
698
if (t->s4u2self != NULL)
crypto/krb5/src/kdc/do_tgs_req.c
699
au_state->s4u2self_user = t->s4u2self->user_id.user;
crypto/krb5/src/kdc/do_tgs_req.c
706
if (t->s4u2self != NULL) {
crypto/krb5/src/kdc/do_tgs_req.c
707
t->flags |= KRB5_KDB_FLAG_PROTOCOL_TRANSITION;
crypto/krb5/src/kdc/do_tgs_req.c
708
t->s4u_cprinc = t->s4u2self->user_id.user;
crypto/krb5/src/kdc/do_tgs_req.c
716
t->server->attributes &= ~KRB5_KDB_NO_AUTH_DATA_REQUIRED;
crypto/krb5/src/kdc/do_tgs_req.c
721
ret = decrypt_2ndtkt(context, t->req, t->flags, t->local_tgt,
crypto/krb5/src/kdc/do_tgs_req.c
722
&t->local_tgt_key, &t->stkt, &t->stkt_pac,
crypto/krb5/src/kdc/do_tgs_req.c
723
&t->stkt_server, &t->stkt_server_key, status);
crypto/krb5/src/kdc/do_tgs_req.c
729
if (t->req->kdc_options & KDC_OPT_CNAME_IN_ADDL_TKT) {
crypto/krb5/src/kdc/do_tgs_req.c
730
t->flags |= KRB5_KDB_FLAG_CONSTRAINED_DELEGATION;
crypto/krb5/src/kdc/do_tgs_req.c
731
ret = kau_make_tkt_id(context, t->stkt, &au_state->evid_tkt_id);
crypto/krb5/src/kdc/do_tgs_req.c
734
if (t->is_crossrealm) {
crypto/krb5/src/kdc/do_tgs_req.c
737
if (t->stkt_pac == NULL ||
crypto/krb5/src/kdc/do_tgs_req.c
738
get_pac_princ_with_realm(context, t->stkt_pac,
crypto/krb5/src/kdc/do_tgs_req.c
739
&t->stkt_pac_client, NULL) != 0) {
crypto/krb5/src/kdc/do_tgs_req.c
745
t->s4u_cprinc = t->stkt_pac_client;
crypto/krb5/src/kdc/do_tgs_req.c
748
t->s4u_cprinc = t->stkt->enc_part2->client;
crypto/krb5/src/kdc/do_tgs_req.c
750
t->subject_tkt = t->stkt->enc_part2;
crypto/krb5/src/kdc/do_tgs_req.c
752
t->subject_tkt = header_enc;
crypto/krb5/src/kdc/do_tgs_req.c
754
t->authtime = t->subject_tkt->times.authtime;
crypto/krb5/src/kdc/do_tgs_req.c
758
t->tkt_client = ((t->flags & KRB5_KDB_FLAGS_S4U) && !t->is_referral) ?
crypto/krb5/src/kdc/do_tgs_req.c
759
t->s4u_cprinc : header_enc->client;
crypto/krb5/src/kdc/do_tgs_req.c
761
if (t->s4u2self == NULL) {
crypto/krb5/src/kdc/do_tgs_req.c
764
ret = get_auth_indicators(context, t->subject_tkt, t->local_tgt,
crypto/krb5/src/kdc/do_tgs_req.c
765
&t->local_tgt_key, &t->auth_indicators);
crypto/krb5/src/kdc/do_tgs_req.c
771
if (!(t->server->attributes & KRB5_KDB_NO_AUTH_DATA_REQUIRED)) {
crypto/krb5/src/kdc/do_tgs_req.c
774
assert(t->client == NULL);
crypto/krb5/src/kdc/do_tgs_req.c
775
(void)krb5_db_get_principal(context, t->subject_tkt->client,
crypto/krb5/src/kdc/do_tgs_req.c
776
t->flags | KRB5_KDB_FLAG_CLIENT |
crypto/krb5/src/kdc/do_tgs_req.c
778
&t->client);
crypto/krb5/src/kdc/do_tgs_req.c
787
if (!t->is_crossrealm ||
crypto/krb5/src/kdc/do_tgs_req.c
788
data_eq(t->header_tkt->server->realm, t->tkt_client->realm)) {
crypto/krb5/src/kdc/do_tgs_req.c
789
t->transited = header_enc->transited;
crypto/krb5/src/kdc/do_tgs_req.c
796
&t->new_transited, t->header_tkt->server,
crypto/krb5/src/kdc/do_tgs_req.c
797
t->tkt_client, t->req->server);
crypto/krb5/src/kdc/do_tgs_req.c
802
t->transited.tr_type = KRB5_DOMAIN_X500_COMPRESS;
crypto/krb5/src/kdc/do_tgs_req.c
803
t->transited.tr_contents = t->new_transited;
crypto/krb5/src/kdc/do_tgs_req.c
812
compute_ticket_times(kdc_realm_t *realm, struct tgs_req_info *t,
crypto/krb5/src/kdc/do_tgs_req.c
818
krb5_ticket_times *htimes = &t->header_tkt->enc_part2->times;
crypto/krb5/src/kdc/do_tgs_req.c
820
if (t->req->kdc_options & KDC_OPT_VALIDATE) {
crypto/krb5/src/kdc/do_tgs_req.c
827
times->authtime = t->authtime;
crypto/krb5/src/kdc/do_tgs_req.c
829
times->starttime = (t->req->kdc_options & KDC_OPT_POSTDATED) ?
crypto/krb5/src/kdc/do_tgs_req.c
830
t->req->from : kdc_time;
crypto/krb5/src/kdc/do_tgs_req.c
832
if (t->req->kdc_options & KDC_OPT_RENEW) {
crypto/krb5/src/kdc/do_tgs_req.c
841
t->req->till, t->client, t->server,
crypto/krb5/src/kdc/do_tgs_req.c
845
kdc_get_ticket_renewtime(realm, t->req, t->header_tkt->enc_part2,
crypto/krb5/src/kdc/do_tgs_req.c
846
t->client, t->server, tktflags, times);
crypto/krb5/src/kdc/do_tgs_req.c
857
check_tgs_req(kdc_realm_t *realm, struct tgs_req_info *t,
crypto/krb5/src/kdc/do_tgs_req.c
872
ret = check_tgs_constraints(realm, t->req, t->server, t->header_tkt,
crypto/krb5/src/kdc/do_tgs_req.c
873
t->header_pac, t->stkt, t->stkt_pac,
crypto/krb5/src/kdc/do_tgs_req.c
874
t->stkt_server, kdc_time, t->s4u2self,
crypto/krb5/src/kdc/do_tgs_req.c
875
t->client, t->is_crossrealm, t->is_referral,
crypto/krb5/src/kdc/do_tgs_req.c
882
ret = check_tgs_policy(realm, t->req, t->server, t->header_tkt,
crypto/krb5/src/kdc/do_tgs_req.c
883
t->header_pac, t->stkt, t->stkt_pac,
crypto/krb5/src/kdc/do_tgs_req.c
884
t->stkt_pac_client, t->stkt_server, kdc_time,
crypto/krb5/src/kdc/do_tgs_req.c
885
t->is_crossrealm, t->is_referral, status, e_data);
crypto/krb5/src/kdc/do_tgs_req.c
888
if (t->flags & KRB5_KDB_FLAG_CONSTRAINED_DELEGATION) {
crypto/krb5/src/kdc/do_tgs_req.c
897
if (t->s4u2self == NULL) {
crypto/krb5/src/kdc/do_tgs_req.c
898
ret = check_indicators(context, t->server, t->auth_indicators);
crypto/krb5/src/kdc/do_tgs_req.c
905
*tktflags = get_ticket_flags(t->req->kdc_options, t->client, t->server,
crypto/krb5/src/kdc/do_tgs_req.c
906
t->header_tkt->enc_part2);
crypto/krb5/src/kdc/do_tgs_req.c
907
compute_ticket_times(realm, t, kdc_time, tktflags, times);
crypto/krb5/src/kdc/do_tgs_req.c
911
if (t->s4u2self != NULL && !t->is_referral) {
crypto/krb5/src/kdc/do_tgs_req.c
912
ret = s4u2self_forwardable(context, t->server, tktflags);
crypto/krb5/src/kdc/do_tgs_req.c
919
ret = check_kdcpolicy_tgs(context, t->req, t->server, t->header_tkt,
crypto/krb5/src/kdc/do_tgs_req.c
920
t->auth_indicators, kdc_time, times, status);
crypto/krb5/src/kdc/do_tgs_req.c
924
if (!(t->req->kdc_options & KDC_OPT_DISABLE_TRANSITED_CHECK)) {
crypto/krb5/src/kdc/do_tgs_req.c
927
ret = kdc_check_transited_list(context, &t->transited.tr_contents,
crypto/krb5/src/kdc/do_tgs_req.c
928
&t->subject_tkt->client->realm,
crypto/krb5/src/kdc/do_tgs_req.c
929
&t->req->server->realm);
crypto/krb5/src/kdc/do_tgs_req.c
932
log_tgs_badtrans(context, t->cprinc, t->sprinc,
crypto/krb5/src/kdc/do_tgs_req.c
933
&t->transited.tr_contents, ret);
crypto/krb5/src/kdc/do_tgs_req.c
956
tgs_issue_ticket(kdc_realm_t *realm, struct tgs_req_info *t,
crypto/krb5/src/kdc/do_tgs_req.c
974
krb5_enc_tkt_part *header_enc_tkt = t->header_tkt->enc_part2;
crypto/krb5/src/kdc/do_tgs_req.c
980
ret = gen_session_key(context, t->req, t->server, &session_key, status);
crypto/krb5/src/kdc/do_tgs_req.c
984
if (t->flags & KRB5_KDB_FLAG_CONSTRAINED_DELEGATION) {
crypto/krb5/src/kdc/do_tgs_req.c
985
subject_pac = t->stkt_pac;
crypto/krb5/src/kdc/do_tgs_req.c
986
subject_server = t->stkt_server;
crypto/krb5/src/kdc/do_tgs_req.c
987
subject_key = t->stkt_server_key;
crypto/krb5/src/kdc/do_tgs_req.c
989
subject_pac = t->header_pac;
crypto/krb5/src/kdc/do_tgs_req.c
990
subject_server = t->header_server;
crypto/krb5/src/kdc/do_tgs_req.c
991
subject_key = t->header_key;
crypto/krb5/src/kdc/do_tgs_req.c
994
initial_reply_key = (t->subkey != NULL) ? t->subkey :
crypto/krb5/src/kdc/do_tgs_req.c
995
t->header_tkt->enc_part2->session;
crypto/krb5/src/kdc/do_tgs_req.c
997
if (t->req->kdc_options & KDC_OPT_ENC_TKT_IN_SKEY) {
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/crypto/builtin/aes/aeskey.c
70
uint32_t ls_sub(const uint32_t t, const uint32_t n);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
103
#define d_1(t,n,b,e) EXTERN AES_ALIGN CONST XP_DIR t n[256] = b(e)
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
104
#define d_4(t,n,b,e,f,g,h) EXTERN AES_ALIGN CONST XP_DIR t n[4][256] = { b(e), b(f), b(g), b(h) }
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
107
#define d_1(t,n,b,e) EXTERN AES_ALIGN CONST XP_DIR t n[256]
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
108
#define d_4(t,n,b,e,f,g,h) EXTERN AES_ALIGN CONST XP_DIR t n[4][256]
crypto/krb5/src/lib/crypto/builtin/enc_provider/rc4.c
73
unsigned int t, u;
crypto/krb5/src/lib/crypto/builtin/enc_provider/rc4.c
91
t = state[counter];
crypto/krb5/src/lib/crypto/builtin/enc_provider/rc4.c
92
stateindex = (stateindex + key[keyindex] + t) & 0xff;
crypto/krb5/src/lib/crypto/builtin/enc_provider/rc4.c
94
state[stateindex] = t;
crypto/krb5/src/lib/crypto/builtin/sha2/sha256.c
175
swap_uint32_t(uint32_t t)
crypto/krb5/src/lib/crypto/builtin/sha2/sha256.c
180
temp1 = cshift(t, 16);
crypto/krb5/src/lib/crypto/builtin/sha2/sha512.c
183
swap_uint64_t (uint64_t t)
crypto/krb5/src/lib/crypto/builtin/sha2/sha512.c
187
temp = cshift64(t, 32);
crypto/krb5/src/lib/crypto/crypto_tests/t_fork.c
53
t(krb5_c_encrypt_length(ctx, key->keyblock.enctype, in_len, &out_len));
crypto/krb5/src/lib/crypto/crypto_tests/t_fork.c
54
t(alloc_data(&enc_data->ciphertext, out_len));
crypto/krb5/src/lib/crypto/crypto_tests/t_fork.c
69
t(krb5_c_random_seed(ctx, &plain));
crypto/krb5/src/lib/crypto/crypto_tests/t_fork.c
73
t(krb5_c_make_random_key(ctx, ENCTYPE_AES256_CTS_HMAC_SHA1_96, &kb_aes));
crypto/krb5/src/lib/crypto/crypto_tests/t_fork.c
74
t(krb5_c_make_random_key(ctx, ENCTYPE_ARCFOUR_HMAC, &kb_rc4));
crypto/krb5/src/lib/crypto/crypto_tests/t_fork.c
75
t(krb5_k_create_key(ctx, &kb_aes, &key_aes));
crypto/krb5/src/lib/crypto/crypto_tests/t_fork.c
76
t(krb5_k_create_key(ctx, &kb_rc4, &key_rc4));
crypto/krb5/src/lib/crypto/crypto_tests/t_fork.c
79
t(krb5_c_init_state(ctx, &kb_rc4, 0, &state_rc4));
crypto/krb5/src/lib/crypto/crypto_tests/t_fork.c
80
t(krb5_k_encrypt(ctx, key_aes, 0, NULL, &plain, &out_aes));
crypto/krb5/src/lib/crypto/crypto_tests/t_fork.c
81
t(krb5_k_encrypt(ctx, key_rc4, 0, &state_rc4, &plain, &out_rc4));
crypto/krb5/src/lib/crypto/crypto_tests/t_fork.c
88
t(alloc_data(&decrypted, plain.length));
crypto/krb5/src/lib/crypto/crypto_tests/t_fork.c
89
t(krb5_k_decrypt(ctx, key_aes, 0, NULL, &out_aes, &decrypted));
crypto/krb5/src/lib/crypto/crypto_tests/t_fork.c
91
t(krb5_c_decrypt(ctx, &kb_aes, 0, NULL, &out_aes, &decrypted));
crypto/krb5/src/lib/crypto/crypto_tests/t_fork.c
95
t(krb5_k_encrypt(ctx, key_rc4, 0, &state_rc4, &plain, &out_rc4));
crypto/krb5/src/lib/crypto/crypto_tests/t_fork.c
96
t(krb5_c_free_state(ctx, &kb_rc4, &state_rc4));
crypto/krb5/src/lib/crypto/crypto_tests/t_pkcs5.c
55
} t[] = {
crypto/krb5/src/lib/crypto/crypto_tests/t_pkcs5.c
69
for (i = 0; i < sizeof(t)/sizeof(t[0]); i++) {
crypto/krb5/src/lib/crypto/crypto_tests/t_pkcs5.c
73
t[i].count, t[i].len * 8, t[i].len, t[i].pass);
crypto/krb5/src/lib/crypto/crypto_tests/t_pkcs5.c
75
d.length = t[i].len;
crypto/krb5/src/lib/crypto/crypto_tests/t_pkcs5.c
76
pass.data = t[i].pass;
crypto/krb5/src/lib/crypto/crypto_tests/t_pkcs5.c
78
salt.data = t[i].salt;
crypto/krb5/src/lib/crypto/crypto_tests/t_pkcs5.c
80
err = krb5int_pbkdf2_hmac_sha1 (&d, t[i].count, &pass, &salt);
crypto/krb5/src/lib/crypto/crypto_tests/t_pkcs5.c
86
if (!memcmp(x, t[i].expected, t[i].len))
crypto/krb5/src/lib/crypto/crypto_tests/t_sha2.c
100
if (strcmp(t->str, ONE_MILLION_A) == 0) {
crypto/krb5/src/lib/crypto/crypto_tests/t_sha2.c
112
if (memcmp(hval.data, t->hash, hval.length) != 0)
crypto/krb5/src/lib/crypto/crypto_tests/t_sha2.c
120
iov.data = string2data(t->str);
crypto/krb5/src/lib/crypto/crypto_tests/t_sha2.c
123
if (memcmp(hval.data, t->hash, hval.length) != 0)
crypto/krb5/src/lib/crypto/crypto_tests/t_sha2.c
130
if (memcmp(hval.data, t->hash, hval.length) != 0)
crypto/krb5/src/lib/crypto/crypto_tests/t_sha2.c
92
struct test *t;
crypto/krb5/src/lib/crypto/crypto_tests/t_sha2.c
99
for (t = tests; t->str; ++t) {
crypto/krb5/src/lib/crypto/krb/checksum_hmac_md5.c
47
char t[4];
crypto/krb5/src/lib/crypto/krb/checksum_hmac_md5.c
70
store_32_le(ms_usage, t);
crypto/krb5/src/lib/crypto/krb/checksum_hmac_md5.c
75
hash_iov[0].data = make_data(t, 4);
crypto/krb5/src/lib/gssapi/generic/t_seqstate.c
171
struct test *t;
crypto/krb5/src/lib/gssapi/generic/t_seqstate.c
176
t = &tests[i];
crypto/krb5/src/lib/gssapi/generic/t_seqstate.c
179
if (t->wide_seqnums != BOTH && t->wide_seqnums != w)
crypto/krb5/src/lib/gssapi/generic/t_seqstate.c
181
if (g_seqstate_init(&seqstate, t->initial, t->do_replay,
crypto/krb5/src/lib/gssapi/generic/t_seqstate.c
182
t->do_sequence, w))
crypto/krb5/src/lib/gssapi/generic/t_seqstate.c
184
for (j = 0; j < t->nseqs; j++) {
crypto/krb5/src/lib/gssapi/generic/t_seqstate.c
185
status = g_seqstate_check(seqstate, t->seqs[j].seqnum);
crypto/krb5/src/lib/gssapi/generic/t_seqstate.c
186
if (status != t->seqs[j].result) {
crypto/krb5/src/lib/gssapi/generic/t_seqstate.c
188
(int)i, (int)j, status, t->seqs[j].result);
crypto/krb5/src/lib/gssapi/krb5/init_sec_context.c
375
unsigned char *t;
crypto/krb5/src/lib/gssapi/krb5/init_sec_context.c
431
t = gssalloc_malloc(tlen);
crypto/krb5/src/lib/gssapi/krb5/init_sec_context.c
432
if (t == NULL) {
crypto/krb5/src/lib/gssapi/krb5/init_sec_context.c
436
k5_buf_init_fixed(&buf, t, tlen);
crypto/krb5/src/lib/gssapi/krb5/init_sec_context.c
444
token->value = (void *) t;
crypto/krb5/src/lib/gssapi/krb5/k5seal.c
113
t = gssalloc_malloc(tlen);
crypto/krb5/src/lib/gssapi/krb5/k5seal.c
114
if (t == NULL)
crypto/krb5/src/lib/gssapi/krb5/k5seal.c
116
k5_buf_init_fixed(&buf, t, tlen);
crypto/krb5/src/lib/gssapi/krb5/k5seal.c
161
gssalloc_free(t);
crypto/krb5/src/lib/gssapi/krb5/k5seal.c
168
gssalloc_free(t);
crypto/krb5/src/lib/gssapi/krb5/k5seal.c
176
gssalloc_free(t);
crypto/krb5/src/lib/gssapi/krb5/k5seal.c
189
gssalloc_free(t);
crypto/krb5/src/lib/gssapi/krb5/k5seal.c
203
gssalloc_free(t);
crypto/krb5/src/lib/gssapi/krb5/k5seal.c
229
gssalloc_free(t);
crypto/krb5/src/lib/gssapi/krb5/k5seal.c
245
gssalloc_free(t);
crypto/krb5/src/lib/gssapi/krb5/k5seal.c
257
gssalloc_free(t);
crypto/krb5/src/lib/gssapi/krb5/k5seal.c
267
gssalloc_free(t);
crypto/krb5/src/lib/gssapi/krb5/k5seal.c
284
token->value = (void *) t;
crypto/krb5/src/lib/gssapi/krb5/k5seal.c
81
unsigned char *t, *metadata, *checksum, *payload;
crypto/krb5/src/lib/gssapi/krb5/prf.c
109
t.length = prflen;
crypto/krb5/src/lib/gssapi/krb5/prf.c
110
t.data = k5alloc(t.length, &code);
crypto/krb5/src/lib/gssapi/krb5/prf.c
111
if (t.data == NULL)
crypto/krb5/src/lib/gssapi/krb5/prf.c
120
code = krb5_k_prf(ctx->k5_context, key, &ns, &t);
crypto/krb5/src/lib/gssapi/krb5/prf.c
124
memcpy(p, t.data, MIN(t.length, desired_output_len));
crypto/krb5/src/lib/gssapi/krb5/prf.c
126
p += t.length;
crypto/krb5/src/lib/gssapi/krb5/prf.c
127
desired_output_len -= t.length;
crypto/krb5/src/lib/gssapi/krb5/prf.c
135
krb5_free_data_contents(ctx->k5_context, &t);
crypto/krb5/src/lib/gssapi/krb5/prf.c
48
krb5_data t, ns;
crypto/krb5/src/lib/gssapi/krb5/prf.c
54
t.length = 0;
crypto/krb5/src/lib/gssapi/krb5/prf.c
55
t.data = NULL;
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
1176
uint8_t *t;
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
1187
t = gssalloc_malloc(tlen);
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
1188
if (t == NULL) {
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
1192
k5_buf_init_fixed(&buf, t, tlen);
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
1203
(*outbuf)->value = (void *)t;
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
1206
t = NULL; /* don't free */
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
1212
if (t != NULL) {
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
1213
free(t);
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3627
uint8_t *t;
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3661
t = gssalloc_malloc(framed_len);
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3662
if (t == NULL)
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3664
k5_buf_init_fixed(&buf, t, framed_len);
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3693
outbuf->value = t;
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3710
uint8_t *t;
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3747
t = gssalloc_malloc(choice_len);
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3748
if (t == NULL)
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3750
k5_buf_init_fixed(&buf, t, choice_len);
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3782
outbuf->value = t;
crypto/krb5/src/lib/kadm5/srv/pwqual_dict.c
101
char *p, *t;
crypto/krb5/src/lib/kadm5/srv/pwqual_dict.c
138
while(len > 0 && (t = memchr(p, '\n', len)) != NULL) {
crypto/krb5/src/lib/kadm5/srv/pwqual_dict.c
139
*t = '\0';
crypto/krb5/src/lib/kadm5/srv/pwqual_dict.c
140
len -= t - p + 1;
crypto/krb5/src/lib/kadm5/srv/pwqual_dict.c
141
p = t + 1;
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
369
osa_policy_ent_t t;
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
383
ret = krb5_db_get_policy(handle->context, name, &t);
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
389
if ((entry->policy = strdup(t->name)) == NULL) {
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
393
entry->pw_min_life = t->pw_min_life;
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
394
entry->pw_max_life = t->pw_max_life;
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
395
entry->pw_min_length = t->pw_min_length;
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
396
entry->pw_min_classes = t->pw_min_classes;
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
397
entry->pw_history_num = t->pw_history_num;
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
399
entry->pw_max_fail = t->pw_max_fail;
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
400
entry->pw_failcnt_interval = t->pw_failcnt_interval;
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
401
entry->pw_lockout_duration = t->pw_lockout_duration;
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
404
entry->attributes = t->attributes;
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
405
entry->max_life = t->max_life;
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
406
entry->max_renewable_life = t->max_renewable_life;
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
407
if (t->allowed_keysalts) {
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
408
entry->allowed_keysalts = strdup(t->allowed_keysalts);
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
414
ret = copy_tl_data(t->n_tl_data, t->tl_data, &entry->tl_data);
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
417
entry->n_tl_data = t->n_tl_data;
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
425
krb5_db_free_policy(handle->context, t);
crypto/krb5/src/lib/kdb/kdb5.c
759
krb5_db_get_age(krb5_context kcontext, char *db_name, time_t *t)
crypto/krb5/src/lib/kdb/kdb5.c
769
return v->get_age(kcontext, db_name, t);
crypto/krb5/src/lib/kdb/kdb5.c
909
char **t;
crypto/krb5/src/lib/kdb/kdb5.c
921
t = realloc(db_args, sizeof(char *) * (db_args_size + 1)); /* 1 for NULL */
crypto/krb5/src/lib/kdb/kdb5.c
922
if (t == NULL) {
crypto/krb5/src/lib/kdb/kdb5.c
927
db_args = t;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1041
check_atype_tag(const struct atype_info *a, const taginfo *t)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1047
return fn->check_tag(t);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1052
return (t->asn1class == UNIVERSAL && t->construction == CONSTRUCTED &&
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1053
t->tagnum == ASN1_SEQUENCE);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1056
return check_atype_tag(ptrinfo->basetype, t);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1060
return check_atype_tag(off->basetype, t);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1064
return check_atype_tag(opt->basetype, t);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1071
return (t->asn1class == UNIVERSAL &&
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1072
t->construction == PRIMITIVE &&
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1073
t->tagnum == string->tagval);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1076
return (t->asn1class == UNIVERSAL &&
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1077
t->construction == CONSTRUCTED &&
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1078
t->tagnum == ASN1_SEQUENCE);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1102
if (!tag->implicit && t->construction != tag->construction)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1104
return (t->asn1class == tag->tagtype && t->tagnum == tag->tagval);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1107
return (t->asn1class == UNIVERSAL && t->construction == PRIMITIVE &&
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1108
t->tagnum == ASN1_BOOLEAN);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1112
return (t->asn1class == UNIVERSAL && t->construction == PRIMITIVE &&
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1113
t->tagnum == ASN1_INTEGER);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1120
decode_cntype(const taginfo *t, const uint8_t *asn1, size_t len,
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1123
decode_atype_to_ptr(const taginfo *t, const uint8_t *asn1, size_t len,
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1136
decode_atype(const taginfo *t, const uint8_t *asn1, size_t len,
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1145
return fn->dec(t, asn1, len, val);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1155
return decode_atype(t, asn1, len, ptrinfo->basetype, ptr);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1157
ret = decode_atype_to_ptr(t, asn1, len, ptrinfo->basetype, &ptr);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1167
return decode_atype(t, asn1, len, off->basetype,
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1172
return decode_atype(t, asn1, len, opt->basetype, val);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1179
ret = decode_cntype(t, asn1, len, counted->basetype, dataptr, &count);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1187
const taginfo *tp = t;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1252
decode_cntype(const taginfo *t, const uint8_t *asn1, size_t len,
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1264
return store_der(t, asn1, len, val, count_out);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1281
if (check_atype_tag(choice->options[i], t)) {
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1282
ret = decode_atype(t, asn1, len, choice->options[i], val);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1322
decode_atype_to_ptr(const taginfo *t, const uint8_t *asn1, size_t len,
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1348
ret = decode_atype(t, asn1, len, a, ptr);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1407
taginfo t;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1413
ret = get_tag(asn1, len, &t, &contents, &clen, &asn1, &len);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1424
if (check_atype_tag(seq->fields[i], &t))
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1434
ret = decode_atype(&t, contents, clen, seq->fields[i], val);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1466
taginfo t;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1471
ret = get_tag(asn1, len, &t, &contents, &clen, &asn1, &len);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1474
if (!check_atype_tag(elemtype, &t)) {
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1486
ret = decode_atype(&t, contents, clen, elemtype, elem);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1512
k5_asn1_decode_atype(const taginfo *t, const uint8_t *asn1, size_t len,
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1515
return decode_atype(t, asn1, len, a, val);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1573
taginfo t;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1576
ret = get_tag((uint8_t *)code->data, code->length, &t, &contents,
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1582
if (!check_atype_tag(a, &t))
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1584
return decode_atype_to_ptr(&t, contents, clen, a, retrep);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
246
time_t t;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
272
t = krb5int_gmt_mktime(&ts);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
273
if (t == -1)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
275
*time_out = t;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
316
make_tag(asn1buf *buf, const taginfo *t, size_t len)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
321
if (t->tagnum > ASN1_TAGNUM_MAX)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
335
if (t->tagnum < 31) {
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
336
insert_byte(buf, t->asn1class | t->construction | t->tagnum);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
338
tag_copy = t->tagnum;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
345
insert_byte(buf, t->asn1class | t->construction | 0x1F);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
620
store_der(const taginfo *t, const uint8_t *asn1, size_t len, void *val,
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
627
der_len = t->tag_len + len;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
631
memcpy(der, asn1 - t->tag_len, der_len);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
764
taginfo t;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
768
ret = encode_atype(buf, val, a, &t);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
771
ret = make_tag(buf, &t, buf->count - oldcount);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.h
531
k5_asn1_decode_atype(const taginfo *t, const uint8_t *asn1, size_t len,
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
134
decode_seqno(const taginfo *t, const uint8_t *asn1, size_t len, void *p)
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
148
check_seqno(const taginfo *t)
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
150
return (t->asn1class == UNIVERSAL && t->construction == PRIMITIVE &&
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
151
t->tagnum == ASN1_INTEGER);
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
168
decode_kerberos_time(const taginfo *t, const uint8_t *asn1, size_t len,
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
180
check_kerberos_time(const taginfo *t)
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
182
return (t->asn1class == UNIVERSAL && t->construction == PRIMITIVE &&
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
183
t->tagnum == ASN1_GENERALTIME);
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
242
decode_krb5_flags(const taginfo *t, const uint8_t *asn1, size_t len, void *val)
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
259
check_krb5_flags(const taginfo *t)
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
261
return (t->asn1class == UNIVERSAL && t->construction == PRIMITIVE &&
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
262
t->tagnum == ASN1_BITSTRING);
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
328
decode_lr_type(const taginfo *t, const uint8_t *asn1, size_t len, void *p)
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
341
check_lr_type(const taginfo *t)
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
343
return (t->asn1class == UNIVERSAL && t->construction == PRIMITIVE &&
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
344
t->tagnum == ASN1_INTEGER);
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
498
decode_kdc_req_body(const taginfo *t, const uint8_t *asn1, size_t len,
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
505
ret = k5_asn1_decode_atype(t, asn1, len, &k5_atype_kdc_req_body_hack, &h);
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
538
check_kdc_req_body(const taginfo *t)
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
540
return (t->asn1class == UNIVERSAL && t->construction == CONSTRUCTED &&
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
541
t->tagnum == ASN1_SEQUENCE);
crypto/krb5/src/lib/krb5/ccache/ccbase.c
137
struct krb5_cc_typelist *t, *t_next;
crypto/krb5/src/lib/krb5/ccache/ccbase.c
148
for (t = cc_typehead; t != INITIAL_TYPEHEAD; t = t_next) {
crypto/krb5/src/lib/krb5/ccache/ccbase.c
149
t_next = t->next;
crypto/krb5/src/lib/krb5/ccache/ccbase.c
150
free(t);
crypto/krb5/src/lib/krb5/ccache/ccbase.c
164
struct krb5_cc_typelist *t;
crypto/krb5/src/lib/krb5/ccache/ccbase.c
167
for (t = cc_typehead;t && strcmp(t->ops->prefix,ops->prefix);t = t->next)
crypto/krb5/src/lib/krb5/ccache/ccbase.c
169
if (t) {
crypto/krb5/src/lib/krb5/ccache/ccbase.c
171
t->ops = ops;
crypto/krb5/src/lib/krb5/ccache/ccbase.c
179
if (!(t = (struct krb5_cc_typelist *) malloc(sizeof(*t)))) {
crypto/krb5/src/lib/krb5/ccache/ccbase.c
183
t->next = cc_typehead;
crypto/krb5/src/lib/krb5/ccache/ccbase.c
184
t->ops = ops;
crypto/krb5/src/lib/krb5/ccache/ccbase.c
185
cc_typehead = t;
crypto/krb5/src/lib/krb5/ccache/ccbase.c
317
krb5int_cc_typecursor_new(krb5_context context, krb5_cc_typecursor *t)
crypto/krb5/src/lib/krb5/ccache/ccbase.c
321
*t = NULL;
crypto/krb5/src/lib/krb5/ccache/ccbase.c
329
*t = n;
crypto/krb5/src/lib/krb5/ccache/ccbase.c
335
krb5_cc_typecursor t,
crypto/krb5/src/lib/krb5/ccache/ccbase.c
339
if (t->tptr == NULL)
crypto/krb5/src/lib/krb5/ccache/ccbase.c
343
*ops = t->tptr->ops;
crypto/krb5/src/lib/krb5/ccache/ccbase.c
344
t->tptr = t->tptr->next;
crypto/krb5/src/lib/krb5/ccache/ccbase.c
350
krb5int_cc_typecursor_free(krb5_context context, krb5_cc_typecursor *t)
crypto/krb5/src/lib/krb5/ccache/ccbase.c
352
free(*t);
crypto/krb5/src/lib/krb5/ccache/ccbase.c
353
*t = NULL;
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
276
const struct test *t;
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
302
t = &tests[version - 1];
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
305
if (k5_unmarshal_princ(t->princ, t->princlen, version, &princ) != 0)
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
310
assert(buf.len == t->princlen);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
311
assert(memcmp(t->princ, buf.data, buf.len) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
315
if (k5_unmarshal_cred(t->cred1, t->cred1len, version, &cred1) != 0)
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
320
assert(buf.len == t->cred1len);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
321
assert(memcmp(t->cred1, buf.data, buf.len) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
325
if (k5_unmarshal_cred(t->cred2, t->cred2len, version, &cred2) != 0)
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
330
assert(buf.len == t->cred2len);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
331
assert(memcmp(t->cred2, buf.data, buf.len) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
355
if (read(fd, filebuf, t->headerlen) != (ssize_t)t->headerlen)
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
357
assert(memcmp(filebuf, t->header, t->headerlen) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
358
if (read(fd, filebuf, t->princlen) != (ssize_t)t->princlen)
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
360
assert(memcmp(filebuf, t->princ, t->princlen) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
361
if (read(fd, filebuf, t->cred1len) != (ssize_t)t->cred1len)
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
363
assert(memcmp(filebuf, t->cred1, t->cred1len) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
364
if (read(fd, filebuf, t->cred2len) != (ssize_t)t->cred2len)
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
366
assert(memcmp(filebuf, t->cred2, t->cred2len) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
377
if (write(fd, t->header, t->headerlen) != (ssize_t)t->headerlen)
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
379
if (write(fd, t->princ, t->princlen) != (ssize_t)t->princlen)
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
381
if (write(fd, t->cred1, t->cred1len) != (ssize_t)t->cred1len)
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
383
if (write(fd, t->cred2, t->cred2len) != (ssize_t)t->cred2len)
crypto/krb5/src/lib/krb5/keytab/ktbase.c
102
for (t = kt_typehead; t != &krb5_kt_typelist_file; t = t_next) {
crypto/krb5/src/lib/krb5/keytab/ktbase.c
103
t_next = t->next;
crypto/krb5/src/lib/krb5/keytab/ktbase.c
104
free((struct krb5_kt_typelist *)t);
crypto/krb5/src/lib/krb5/keytab/ktbase.c
119
const struct krb5_kt_typelist *t;
crypto/krb5/src/lib/krb5/keytab/ktbase.c
123
for (t = kt_typehead; t && strcmp(t->ops->prefix,ops->prefix);t = t->next)
crypto/krb5/src/lib/krb5/keytab/ktbase.c
125
if (t) {
crypto/krb5/src/lib/krb5/keytab/ktbase.c
129
if (!(newt = (struct krb5_kt_typelist *) malloc(sizeof(*t)))) {
crypto/krb5/src/lib/krb5/keytab/ktbase.c
99
const struct krb5_kt_typelist *t, *t_next;
crypto/krb5/src/lib/krb5/krb/gic_opt.c
183
krb5_gic_opt_pa_data *t, *pa;
crypto/krb5/src/lib/krb5/krb/gic_opt.c
190
t = realloc(opte->preauth_data, (opte->num_preauth_data + 1) * sizeof(*t));
crypto/krb5/src/lib/krb5/krb/gic_opt.c
191
if (t == NULL)
crypto/krb5/src/lib/krb5/krb/gic_opt.c
193
opte->preauth_data = t;
crypto/krb5/src/lib/krb5/krb/str_conv.c
135
localtime_r(const time_t *t, struct tm *buf)
crypto/krb5/src/lib/krb5/krb/str_conv.c
137
struct tm *tm = localtime(t);
crypto/krb5/src/lib/krb5/krb/t_kerb.c
25
time_t t;
crypto/krb5/src/lib/krb5/krb/t_kerb.c
33
t = ts2tt(timestamp);
crypto/krb5/src/lib/krb5/krb/t_kerb.c
34
printf("Parsed time was %s", ctime(&t));
crypto/krb5/src/lib/krb5/krb/t_sname_match.c
105
if (krb5_parse_name(ctx, t->princstr, &princ) != 0)
crypto/krb5/src/lib/krb5/krb/t_sname_match.c
108
ctx->ignore_acceptor_hostname = t->ignore_acceptor_hostname;
crypto/krb5/src/lib/krb5/krb/t_sname_match.c
109
if (krb5_sname_match(ctx, matching, princ) != t->result)
crypto/krb5/src/lib/krb5/krb/t_sname_match.c
86
struct test *t;
crypto/krb5/src/lib/krb5/krb/t_sname_match.c
93
t = &tests[i];
crypto/krb5/src/lib/krb5/krb/t_sname_match.c
95
if (t->matchstr != NULL) {
crypto/krb5/src/lib/krb5/krb/t_sname_match.c
96
if (krb5_parse_name(ctx, t->matchstr, &matching) != 0)
crypto/krb5/src/lib/krb5/krb/t_sname_match.c
98
if (t->non_host_nametype)
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/init_os_ctx.c
295
const char *s, *t;
crypto/krb5/src/lib/krb5/os/init_os_ctx.c
316
for(s = filepath, i=0; (t = strchr(s, ':')) || (t=s+strlen(s)); s=t+1, i++) {
crypto/krb5/src/lib/krb5/os/init_os_ctx.c
317
ent_len = t-s;
crypto/krb5/src/lib/krb5/os/init_os_ctx.c
327
if (*t == 0) {
crypto/krb5/src/lib/krb5/os/t_gifconf.c
103
snprintf (buffer, sizeof(buffer), "SIOCGIFCONF(%d)", t);
crypto/krb5/src/lib/krb5/os/t_gifconf.c
126
gap = t - i - 1;
crypto/krb5/src/lib/krb5/os/t_gifconf.c
129
t, ifc.ifc_len, i);
crypto/krb5/src/lib/krb5/os/t_gifconf.c
134
printf ("finished at ifc_len %d\n", t);
crypto/krb5/src/lib/krb5/os/t_gifconf.c
84
int i, sock, t, olen = -9, omod = -9;
crypto/krb5/src/lib/krb5/os/t_gifconf.c
94
for (t = 0; t < sizeof (buffer); t++) {
crypto/krb5/src/lib/krb5/os/t_gifconf.c
95
ifc.ifc_len = t;
crypto/krb5/src/lib/krb5/rcache/rc_base.c
102
ret = t->ops->resolve(context, sep + 1, &rc->data);
crypto/krb5/src/lib/krb5/rcache/rc_base.c
105
rc->ops = t->ops;
crypto/krb5/src/lib/krb5/rcache/rc_base.c
75
struct typelist *t;
crypto/krb5/src/lib/krb5/rcache/rc_base.c
87
for (t = typehead; t != NULL; t = t->next) {
crypto/krb5/src/lib/krb5/rcache/rc_base.c
88
if (strncmp(t->ops->type, name, len) == 0 && t->ops->type[len] == '\0')
crypto/krb5/src/lib/krb5/rcache/rc_base.c
91
if (t == NULL)
crypto/krb5/src/lib/rpc/pmap_rmt.c
264
struct timeval t, t2;
crypto/krb5/src/lib/rpc/pmap_rmt.c
301
(void)gettimeofday(&t, (struct timezone *)0);
crypto/krb5/src/lib/rpc/pmap_rmt.c
302
msg.rm_xid = xid = getpid() ^ t.tv_sec ^ t.tv_usec;
crypto/krb5/src/lib/rpc/pmap_rmt.c
303
t.tv_usec = 0;
crypto/krb5/src/lib/rpc/pmap_rmt.c
330
for (t.tv_sec = 4; t.tv_sec <= 14; t.tv_sec += 2) {
crypto/krb5/src/lib/rpc/pmap_rmt.c
350
t2 = t;
crypto/krb5/src/plugins/kdb/db2/db2_exp.c
105
time_t *t),
crypto/krb5/src/plugins/kdb/db2/db2_exp.c
106
(ctx, s, t));
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
102
fd = t->bt_fd;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
103
free(t);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
120
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
123
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
126
if (t->bt_pinned != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
127
mpool_put(t->bt_mp, t->bt_pinned, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
128
t->bt_pinned = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
137
if (F_ISSET(t, B_INMEM | B_RDONLY)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
138
|| !F_ISSET(t, B_MODIFIED | B_METADIRTY))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
141
if (F_ISSET(t, B_METADIRTY) && bt_meta(t) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
144
if ((status = mpool_sync(t->bt_mp)) == RET_SUCCESS)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
145
F_CLR(t, B_MODIFIED);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
160
bt_meta(BTREE *t)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
165
if ((p = mpool_get(t->bt_mp, P_META, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
171
m.psize = t->bt_psize;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
172
m.free = t->bt_free;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
173
m.nrecs = t->bt_nrecs;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
174
m.flags = F_ISSET(t, SAVEMETA);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
177
mpool_put(t->bt_mp, p, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
66
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
69
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
72
if (t->bt_pinned != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
73
mpool_put(t->bt_mp, t->bt_pinned, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
74
t->bt_pinned = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
82
if (mpool_close(t->bt_mp) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
86
if (t->bt_cursor.key.data != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
87
free(t->bt_cursor.key.data);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
88
t->bt_cursor.key.size = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
89
t->bt_cursor.key.data = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
91
if (t->bt_rkey.data) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
92
free(t->bt_rkey.data);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
93
t->bt_rkey.size = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
94
t->bt_rkey.data = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
96
if (t->bt_rdata.data) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
97
free(t->bt_rdata.data);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
98
t->bt_rdata.size = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_close.c
99
t->bt_rdata.data = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_conv.c
128
__bt_pgout(void *t, db_pgno_t pg, void *pp)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_conv.c
136
if (!F_ISSET(((BTREE *)t), B_NEEDSWAP))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_conv.c
62
__bt_pgin(void *t, db_pgno_t pg, void *pp)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_conv.c
70
if (!F_ISSET(((BTREE *)t), B_NEEDSWAP))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
101
if (F_ISSET(t, flag)) { \
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
105
if (t->flags != 0) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
116
for (i = P_ROOT; i < t->bt_mp->npages &&
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
117
(h = mpool_get(t->bt_mp, i, MPOOL_IGNOREPIN)) != NULL; ++i)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
173
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
178
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
179
if ((h = mpool_get(t->bt_mp, pgno, MPOOL_IGNOREPIN)) != NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
335
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
343
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
346
for (i = P_ROOT; i < t->bt_mp->npages &&
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
347
(h = mpool_get(t->bt_mp, i, MPOOL_IGNOREPIN)) != NULL; ++i)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
367
h = mpool_get(t->bt_mp, i, MPOOL_IGNOREPIN);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
373
i = F_ISSET(t, R_RECNO) ?
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
380
if (F_ISSET(t, R_RECNO))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
382
(long)t->bt_nrecs);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
392
pleaf *= t->bt_psize - BTDATAOFF;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
398
pinternal *= t->bt_psize - BTDATAOFF;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
87
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
94
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
96
F_ISSET(t, B_INMEM) ? "memory" : "disk", t->bt_psize);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
97
if (F_ISSET(t, R_RECNO))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
98
(void)fprintf(tracefp, " keys %lu", (u_long)t->bt_nrecs);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
104
if (__bt_stkacq(t, &h, &t->bt_cursor))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
107
status = __bt_dleaf(t, NULL, h, c->pg.index);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
110
if (__bt_pdelete(t, h))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
113
mpool_put(t->bt_mp,
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
123
F_SET(t, B_MODIFIED);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
140
__bt_stkacq(BTREE *t, PAGE **hp, CURSOR *c)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
157
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
158
if ((e = __bt_search(t, &c->key, &exact)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
175
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
178
for (level = 0; (parent = BT_POP(t)) != NULL; ++level) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
180
if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
186
BT_PUSH(t, h->pgno, idx);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
189
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
197
BT_PUSH(t, pgno, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
200
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
203
if ((h = mpool_get(t->bt_mp, pgno, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
207
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
208
if ((h = mpool_get(t->bt_mp, nextpg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
216
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
217
if ((e = __bt_search(t, &c->key, &exact)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
230
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
233
for (level = 0; (parent = BT_POP(t)) != NULL; ++level) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
235
if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
241
BT_PUSH(t, h->pgno, idx);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
244
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
254
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
257
if ((h = mpool_get(t->bt_mp, pgno, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
261
BT_PUSH(t, pgno, idx);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
263
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
264
if ((h = mpool_get(t->bt_mp, prevpg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
269
ret: mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
270
return ((*hp = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
285
__bt_bdelete(BTREE *t, const DBT *key)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
294
loop: if ((e = __bt_search(t, key, &exact)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
297
mpool_put(t->bt_mp, e->page, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
309
if (__bt_dleaf(t, key, h, e->index)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
310
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
313
if (F_ISSET(t, B_NODUPS)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
315
if (__bt_pdelete(t, h))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
318
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
322
} while (e->index < NEXTINDEX(h) && __bt_cmp(t, key, e) == 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
330
if (__bt_cmp(t, key, e) != 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
332
if (__bt_dleaf(t, key, h, e->index) == RET_ERROR) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
333
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
342
if (__bt_pdelete(t, h))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
348
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
370
__bt_pdelete(BTREE *t, PAGE *h)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
391
while ((parent = BT_POP(t)) != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
393
if ((pg = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
401
__ovfl_delete(t, bi->bytes) == RET_ERROR) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
402
mpool_put(t->bt_mp, pg, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
414
pg->upper = t->bt_psize;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
417
if (__bt_relink(t, pg) || __bt_free(t, pg))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
438
mpool_put(t->bt_mp, pg, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
444
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
447
return (__bt_relink(t, h) || __bt_free(t, h));
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
464
__bt_dleaf(BTREE *t, const DBT *key, PAGE *h, u_int idx)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
473
if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
474
!F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
475
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index == idx &&
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
476
__bt_curdel(t, key, h, idx))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
481
if (bl->flags & P_BIGKEY && __ovfl_delete(t, bl->bytes) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
484
__ovfl_delete(t, bl->bytes + bl->ksize) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
503
if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
504
!F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
505
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index > idx)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
506
--t->bt_cursor.pg.index;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
525
__bt_curdel(BTREE *t, const DBT *key, PAGE *h, u_int idx)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
536
c = &t->bt_cursor;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
540
if (!F_ISSET(t, B_NODUPS)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
549
if ((status = __bt_ret(t, &e,
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
559
if (__bt_cmp(t, key, &e) == 0) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
568
if (__bt_cmp(t, key, &e) == 0) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
575
if ((pg = mpool_get(t->bt_mp, h->prevpg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
579
if (__bt_cmp(t, key, &e) == 0) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
583
mpool_put(t->bt_mp, pg, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
587
if ((pg = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
591
if (__bt_cmp(t, key, &e) == 0) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
593
dup1: mpool_put(t->bt_mp, pg, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
598
mpool_put(t->bt_mp, pg, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
604
__bt_ret(t, &e, &c->key, &c->key, NULL, NULL, 1)) == RET_SUCCESS) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
620
__bt_relink(BTREE *t, PAGE *h)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
625
if ((pg = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
628
mpool_put(t->bt_mp, pg, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
631
if ((pg = mpool_get(t->bt_mp, h->prevpg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
634
mpool_put(t->bt_mp, pg, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
64
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
69
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
72
if (t->bt_pinned != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
73
mpool_put(t->bt_mp, t->bt_pinned, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
74
t->bt_pinned = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
78
if (F_ISSET(t, B_RDONLY)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
85
status = __bt_bdelete(t, key);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
92
c = &t->bt_cursor;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
96
if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_get.c
65
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_get.c
69
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_get.c
72
if (t->bt_pinned != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_get.c
73
mpool_put(t->bt_mp, t->bt_pinned, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_get.c
74
t->bt_pinned = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_get.c
83
if ((e = __bt_search(t, key, &exact)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_get.c
86
mpool_put(t->bt_mp, e->page, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_get.c
90
status = __bt_ret(t, e, NULL, NULL, data, &t->bt_rdata, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_get.c
96
if (F_ISSET(t, B_DB_LOCK))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_get.c
97
mpool_put(t->bt_mp, e->page, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_get.c
99
t->bt_pinned = e->page;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
104
t = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
162
if ((t = (BTREE *)malloc(sizeof(BTREE))) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
164
memset(t, 0, sizeof(BTREE));
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
165
t->bt_fd = -1; /* Don't close unopened fd on error. */
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
166
t->bt_lorder = b.lorder;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
167
t->bt_order = NOT;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
168
t->bt_cmp = b.compare;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
169
t->bt_pfx = b.prefix;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
170
t->bt_rfd = -1;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
172
if ((t->bt_dbp = dbp = (DB *)malloc(sizeof(DB))) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
174
memset(t->bt_dbp, 0, sizeof(DB));
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
175
if (t->bt_lorder != machine_lorder)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
176
F_SET(t, B_NEEDSWAP);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
179
dbp->internal = t;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
195
F_SET(t, B_RDONLY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
204
if ((t->bt_fd = open(fname, flags | O_BINARY, mode)) < 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
210
if ((t->bt_fd = tmp()) == -1)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
212
F_SET(t, B_INMEM);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
215
if (fcntl(t->bt_fd, F_SETFD, 1) == -1)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
218
if (fstat(t->bt_fd, &sb))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
221
if ((nr = read(t->bt_fd, &m, sizeof(BTMETA))) < 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
235
F_CLR(t, B_NEEDSWAP);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
237
F_SET(t, B_NEEDSWAP);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
253
F_SET(t, m.flags);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
254
t->bt_free = m.free;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
255
t->bt_nrecs = m.nrecs;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
271
F_SET(t, B_NODUPS);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
273
t->bt_free = P_INVALID;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
274
t->bt_nrecs = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
275
F_SET(t, B_METADIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
278
t->bt_psize = b.psize;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
287
ncache = (b.cachesize + t->bt_psize - 1) / t->bt_psize;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
300
t->bt_ovflsize = (t->bt_psize - BTDATAOFF) / b.minkeypage -
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
302
if (t->bt_ovflsize < NBLEAFDBT(NOVFLSIZE, NOVFLSIZE) + sizeof(indx_t))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
303
t->bt_ovflsize =
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
307
if ((t->bt_mp =
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
308
mpool_open(NULL, t->bt_fd, t->bt_psize, ncache)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
310
if (!F_ISSET(t, B_INMEM))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
311
mpool_filter(t->bt_mp, __bt_pgin, __bt_pgout, t);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
314
if (nroot(t) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
319
F_SET(t, B_DB_LOCK);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
321
F_SET(t, B_DB_SHMEM);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
323
F_SET(t, B_DB_TXN);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
333
err: if (t) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
334
if (t->bt_dbp)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
335
free(t->bt_dbp);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
336
if (t->bt_fd != -1)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
337
(void)close(t->bt_fd);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
338
free(t);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
353
nroot(BTREE *t)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
358
if ((root = mpool_get(t->bt_mp, 1, 0)) != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
362
mpool_delete(t->bt_mp, root);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
365
mpool_put(t->bt_mp, root, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
373
if ((meta = mpool_new(t->bt_mp, &npg, MPOOL_PAGE_NEXT)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
376
if ((root = mpool_new(t->bt_mp, &npg, MPOOL_PAGE_NEXT)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
384
root->upper = t->bt_psize;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
386
memset(meta, 0, t->bt_psize);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
387
mpool_put(t->bt_mp, meta, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
388
mpool_put(t->bt_mp, root, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
460
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
462
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
465
if (t->bt_pinned != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
466
mpool_put(t->bt_mp, t->bt_pinned, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
467
t->bt_pinned = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
471
if (F_ISSET(t, B_INMEM)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
475
return (t->bt_fd);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
97
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
107
plen = t->bt_psize - BTDATAOFF;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
109
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
114
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
134
__ovfl_put(BTREE *t, const DBT *dbt, db_pgno_t *pg)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
146
plen = t->bt_psize - BTDATAOFF;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
149
if ((h = __bt_new(t, &npg)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
162
mpool_put(t->bt_mp, last, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
167
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
185
__ovfl_delete(BTREE *t, void *p)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
199
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
204
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
209
for (plen = t->bt_psize - BTDATAOFF;; sz -= plen) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
211
__bt_free(t, h);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
214
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
80
__ovfl_get(BTREE *t, void *p, size_t *ssz, void **buf, size_t *bufsz)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_page.c
60
__bt_free(BTREE *t, PAGE *h)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_page.c
64
h->nextpg = t->bt_free;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_page.c
65
t->bt_free = h->pgno;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_page.c
66
F_SET(t, B_METADIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_page.c
69
return (mpool_put(t->bt_mp, h, MPOOL_DIRTY));
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_page.c
84
__bt_new(BTREE *t, db_pgno_t *npg)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_page.c
88
if (t->bt_free != P_INVALID &&
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_page.c
89
(h = mpool_get(t->bt_mp, t->bt_free, 0)) != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_page.c
90
*npg = t->bt_free;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_page.c
91
t->bt_free = h->nextpg;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_page.c
92
F_SET(t, B_METADIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_page.c
95
return (mpool_new(t->bt_mp, npg, MPOOL_PAGE_NEXT));
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
102
if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
103
!F_ISSET(&t->bt_cursor,
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
121
if (key->size + data->size > t->bt_ovflsize) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
122
if (key->size > t->bt_ovflsize) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
124
storekey: if (__ovfl_put(t, key, &pg) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
137
if (key->size + data->size > t->bt_ovflsize) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
139
if (__ovfl_put(t, data, &pg) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
151
if (key->size + data->size > t->bt_ovflsize)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
157
if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
159
idx = t->bt_cursor.pg.index;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
167
if (t->bt_order == NOT || (e = bt_fast(t, key, data, &exact)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
168
if ((e = __bt_search(t, key, &exact)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
183
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
186
if (!exact || !F_ISSET(t, B_NODUPS))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
193
delete: if (__bt_dleaf(t, key, h, idx) == RET_ERROR) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
194
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
209
if ((status = __bt_split(t, h, key,
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
225
if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
226
!F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
227
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= idx)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
228
++t->bt_cursor.pg.index;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
230
if (t->bt_order == NOT) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
233
t->bt_order = FORWARD;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
234
t->bt_last.index = idx;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
235
t->bt_last.pgno = h->pgno;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
239
t->bt_order = BACK;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
240
t->bt_last.index = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
241
t->bt_last.pgno = h->pgno;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
246
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
250
__bt_setcur(t, e->page->pgno, e->index);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
252
F_SET(t, B_MODIFIED);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
271
bt_fast(BTREE *t, const DBT *key, const DBT *data, int *exactp)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
277
if ((h = mpool_get(t->bt_mp, t->bt_last.pgno, 0)) == NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
278
t->bt_order = NOT;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
281
t->bt_cur.page = h;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
282
t->bt_cur.index = t->bt_last.index;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
292
if (t->bt_order == FORWARD) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
293
if (t->bt_cur.page->nextpg != P_INVALID)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
295
if (t->bt_cur.index != NEXTINDEX(h) - 1)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
297
if ((cmp = __bt_cmp(t, key, &t->bt_cur)) < 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
299
t->bt_last.index = cmp ? ++t->bt_cur.index : t->bt_cur.index;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
301
if (t->bt_cur.page->prevpg != P_INVALID)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
303
if (t->bt_cur.index != 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
305
if ((cmp = __bt_cmp(t, key, &t->bt_cur)) > 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
307
t->bt_last.index = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
313
return (&t->bt_cur);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
319
t->bt_order = NOT;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
320
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
69
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
79
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
82
if (t->bt_pinned != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
83
mpool_put(t->bt_mp, t->bt_pinned, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
84
t->bt_pinned = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_put.c
88
if (F_ISSET(t, B_RDONLY)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
104
if (!F_ISSET(t, B_NODUPS)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
107
__bt_sprev(t, h, key, exactp))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
108
return (&t->bt_cur);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
111
__bt_snext(t, h, key, exactp))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
112
return (&t->bt_cur);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
115
t->bt_cur.index = base;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
116
return (&t->bt_cur);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
128
next: BT_PUSH(t, h->pgno, idx);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
130
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
148
__bt_snext(BTREE *t, PAGE *h, const DBT *key, int *exactp)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
161
if ((e.page = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
164
if (__bt_cmp(t, key, &e) != 0) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
165
mpool_put(t->bt_mp, e.page, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
168
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
169
t->bt_cur = e;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
177
for (level = 0; (parent = BT_POP(t)) != NULL; ++level) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
179
if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
185
BT_PUSH(t, h->pgno, idx);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
188
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
196
BT_PUSH(t, pgno, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
199
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
202
if ((h = mpool_get(t->bt_mp, pgno, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
206
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
224
__bt_sprev(BTREE *t, PAGE *h, const DBT *key, int *exactp)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
237
if ((e.page = mpool_get(t->bt_mp, h->prevpg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
240
if (__bt_cmp(t, key, &e) != 0) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
241
mpool_put(t->bt_mp, e.page, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
245
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
246
t->bt_cur = e;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
254
for (level = 0; (parent = BT_POP(t)) != NULL; ++level) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
256
if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
262
BT_PUSH(t, h->pgno, idx);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
265
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
275
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
278
if ((h = mpool_get(t->bt_mp, pgno, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
282
BT_PUSH(t, pgno, idx);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
284
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
66
__bt_search(BTREE *t, const DBT *key, int *exactp)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
73
BT_CLR(t);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
75
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
79
t->bt_cur.page = h;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
81
t->bt_cur.index = idx = base + (lim >> 1);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
82
if ((cmp = __bt_cmp(t, key, &t->bt_cur)) == 0) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_search.c
85
return (&t->bt_cur);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
107
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
111
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
114
if (t->bt_pinned != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
115
mpool_put(t->bt_mp, t->bt_pinned, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
116
t->bt_pinned = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
129
if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
130
status = __bt_seqadv(t, &e, flags);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
137
status = __bt_seqset(t, &e, key, flags);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
145
__bt_setcur(t, e.page->pgno, e.index);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
148
__bt_ret(t, &e, key, &t->bt_rkey, data, &t->bt_rdata, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
154
if (F_ISSET(t, B_DB_LOCK))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
155
mpool_put(t->bt_mp, e.page, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
157
t->bt_pinned = e.page;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
179
__bt_seqset(BTREE *t, EPG *ep, DBT *key, int flags)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
200
return (__bt_first(t, key, ep, &exact));
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
204
BT_CLR(t);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
207
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
212
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
219
BT_PUSH(t, h->pgno, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
220
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
228
BT_CLR(t);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
231
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
236
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
243
BT_PUSH(t, h->pgno, NEXTINDEX(h) - 1);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
244
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
269
__bt_seqadv(BTREE *t, EPG *ep, int flags)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
281
c = &t->bt_cursor;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
311
if ((rval = __bt_first(t, &c->key, ep, &exact)) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
321
mpool_put(t->bt_mp, ep->page, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
325
if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
347
return (bt_rseq_next(t, ep));
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
350
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
353
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
376
return (bt_rseq_prev(t, ep));
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
379
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
382
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
399
bt_rseq_next(BTREE *t, EPG *ep)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
410
up = BT_POP(t);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
411
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
415
if ((h = mpool_get(t->bt_mp, up->pgno, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
422
BT_PUSH(t, h->pgno, idx);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
424
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
425
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
438
bt_rseq_prev(BTREE *t, EPG *ep)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
449
up = BT_POP(t);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
450
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
454
if ((h = mpool_get(t->bt_mp, up->pgno, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
461
BT_PUSH(t, h->pgno, idx);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
463
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
464
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
488
__bt_first(BTREE *t, const DBT *key, EPG *erval, int *exactp)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
502
if ((ep = __bt_search(t, key, exactp)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
505
if (F_ISSET(t, B_NODUPS)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
519
mpool_put(t->bt_mp, save.page, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
533
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
534
if ((hprev = mpool_get(t->bt_mp,
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
537
mpool_put(t->bt_mp,
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
545
} while (__bt_cmp(t, key, ep) == 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
553
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
563
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
566
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
585
__bt_setcur(BTREE *t, db_pgno_t pgno, u_int idx)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
588
if (t->bt_cursor.key.data != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
589
free(t->bt_cursor.key.data);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
590
t->bt_cursor.key.size = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
591
t->bt_cursor.key.data = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
593
F_CLR(&t->bt_cursor, CURS_ACQUIRE | CURS_AFTER | CURS_BEFORE);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
596
t->bt_cursor.pg.pgno = pgno;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
597
t->bt_cursor.pg.index = idx;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
598
F_SET(&t->bt_cursor, CURS_INIT);
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
115
if (F_ISSET(t, R_RECNO))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
122
(F_ISSET(t, R_RECNO) ?
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
149
while ((parent = BT_POP(t)) != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
154
if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
185
if (t->bt_pfx && !(bl->flags & P_BIGKEY) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
192
nksize = t->bt_pfx(&a, &b);
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
247
if (bt_preserve(t, pgno) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
293
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
299
(F_ISSET(t, R_RECNO) ?
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
303
mpool_put(t->bt_mp, lchild, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
304
mpool_put(t->bt_mp, rchild, MPOOL_DIRTY);
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
309
mpool_put(t->bt_mp, r, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
319
err1: mpool_put(t->bt_mp, lchild, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
320
mpool_put(t->bt_mp, rchild, 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
323
mpool_put(t->bt_mp, r, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
324
__dbpanic(t->bt_dbp);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
343
bt_page(BTREE *t, PAGE *h, PAGE **lp, PAGE **rp, indx_t *skip, size_t ilen)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
352
if ((r = __bt_new(t, &npg)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
356
r->upper = t->bt_psize;
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
385
mpool_put(t->bt_mp, r, 0);
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
395
l->upper = t->bt_psize;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
400
if ((tp = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
406
mpool_put(t->bt_mp, tp, MPOOL_DIRTY);
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
444
bt_root(BTREE *t, PAGE *h, PAGE **lp, PAGE **rp, indx_t *skip, size_t ilen)
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
455
(r = __bt_new(t, &rnpg)) == NULL)
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
467
tp = bt_psplit(t, h, l, r, skip, ilen);
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
492
h->linp[0] = h->upper = t->bt_psize - NRINTERNAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
507
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
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
541
h->linp[0] = h->upper = t->bt_psize - nbytes;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
561
if (bt_preserve(t, pgno) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
583
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
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
623
full = t->bt_psize - BTDATAOFF;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
699
c = &t->bt_cursor;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
778
bt_preserve(BTREE *t, db_pgno_t pg)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
782
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
785
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
82
__bt_split(BTREE *t, PAGE *sp, const DBT *key, const DBT *data, int flags,
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
110
if (__ovfl_get(t, bl->bytes + bl->ksize,
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
114
} else if (copy || F_ISSET(t, B_DB_LOCK)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
150
__bt_cmp(BTREE *t, const DBT *k1, EPG *e)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
189
if (__ovfl_get(t, bigkey,
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
190
&k2.size, &t->bt_rdata.data, &t->bt_rdata.size))
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
192
k2.data = t->bt_rdata.data;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
194
return ((*t->bt_cmp)(k1, &k2));
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
67
__bt_ret(BTREE *t, EPG *e, DBT *key, DBT *rkey, DBT *data, DBT *rdata,
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
84
if (__ovfl_get(t, bl->bytes,
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
88
} else if (copy || F_ISSET(t, B_DB_LOCK)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/btree.h
314
#define BT_PUSH(t, p, i) { \
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/btree.h
315
t->bt_sp->pgno = p; \
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/btree.h
316
t->bt_sp->index = i; \
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/btree.h
317
++t->bt_sp; \
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/btree.h
319
#define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/btree.h
320
#define BT_CLR(t) (t->bt_sp = t->bt_stack)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
113
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
119
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
122
if (t->bt_pinned != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
123
mpool_put(t->bt_mp, t->bt_pinned, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
124
t->bt_pinned = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
130
if (F_ISSET(t, R_RDONLY | R_INMEM) || !F_ISSET(t, R_MODIFIED))
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
134
if (!F_ISSET(t, R_EOF) && t->bt_irec(t, MAX_REC_NUMBER) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
138
if (lseek(t->bt_rfd, (off_t)0, SEEK_SET) != 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
142
scursor = t->bt_cursor.rcursor;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
147
if (F_ISSET(t, R_FIXLEN)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
155
if (write(t->bt_rfd, data.data, data.size) !=
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
161
iov[1].iov_base = &t->bt_bval;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
168
if (writev(t->bt_rfd, iov, 2) != (ssize_t)data.size + 1)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
175
t->bt_cursor.rcursor = scursor;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
179
if ((off = lseek(t->bt_rfd, (off_t)0, SEEK_CUR)) == -1)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
181
if (ftruncate(t->bt_rfd, off))
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
183
F_CLR(t, R_MODIFIED);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
64
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
67
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
70
if (t->bt_pinned != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
71
mpool_put(t->bt_mp, t->bt_pinned, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
72
t->bt_pinned = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
81
if (F_ISSET(t, R_MEMMAPPED) && munmap(t->bt_smap, t->bt_msize))
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
85
if (!F_ISSET(t, R_INMEM)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
86
if (F_ISSET(t, R_CLOSEFP)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
87
if (fclose(t->bt_rfp))
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
90
if (close(t->bt_rfd))
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
102
F_SET(t, B_MODIFIED | R_MODIFIED);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
117
rec_rdelete(BTREE *t, recno_t nrec)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
124
if ((e = __rec_search(t, nrec, SDELETE)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
129
status = __rec_dleaf(t, h, e->index);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
131
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
134
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
149
__rec_dleaf(BTREE *t, PAGE *h, u_int32_t idx)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
168
if (rl->flags & P_BIGDATA && __ovfl_delete(t, rl->bytes) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
187
--t->bt_nrecs;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
66
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
70
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
73
if (t->bt_pinned != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
74
mpool_put(t->bt_mp, t->bt_pinned, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
75
t->bt_pinned = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
82
if (nrec > t->bt_nrecs)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
85
status = rec_rdelete(t, nrec);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
88
if (!F_ISSET(&t->bt_cursor, CURS_INIT))
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
90
if (t->bt_nrecs == 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
92
status = rec_rdelete(t, t->bt_cursor.rcursor - 1);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
94
--t->bt_cursor.rcursor;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
100
if (F_ISSET(t, B_DB_LOCK))
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
101
mpool_put(t->bt_mp, e->page, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
103
t->bt_pinned = e->page;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
118
__rec_fpipe(BTREE *t, recno_t top)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
126
if (t->bt_rdata.size < t->bt_reclen) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
127
t->bt_rdata.data = t->bt_rdata.data == NULL ?
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
128
malloc(t->bt_reclen) :
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
129
realloc(t->bt_rdata.data, t->bt_reclen);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
130
if (t->bt_rdata.data == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
132
t->bt_rdata.size = t->bt_reclen;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
134
data.data = t->bt_rdata.data;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
135
data.size = t->bt_reclen;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
137
for (nrec = t->bt_nrecs; nrec < top;) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
138
len = t->bt_reclen;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
139
for (p = t->bt_rdata.data;; *p++ = ch)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
140
if ((ch = getc(t->bt_rfp)) == EOF || !--len) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
144
memset(p, t->bt_bval, len);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
145
if (__rec_iput(t,
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
155
F_SET(t, R_EOF);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
172
__rec_vpipe(BTREE *t, recno_t top)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
181
bval = t->bt_bval;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
182
for (nrec = t->bt_nrecs; nrec < top; ++nrec) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
183
for (p = t->bt_rdata.data,
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
184
sz = t->bt_rdata.size;; *p++ = ch, --sz) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
185
if ((ch = getc(t->bt_rfp)) == EOF || ch == bval) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
186
data.data = t->bt_rdata.data;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
187
data.size = p - (u_char *)t->bt_rdata.data;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
190
if (__rec_iput(t, nrec, &data, 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
196
len = p - (u_char *)t->bt_rdata.data;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
197
t->bt_rdata.size += (sz = 256);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
198
t->bt_rdata.data = t->bt_rdata.data == NULL ?
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
199
malloc(t->bt_rdata.size) :
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
200
realloc(t->bt_rdata.data, t->bt_rdata.size);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
201
if (t->bt_rdata.data == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
203
p = (u_char *)t->bt_rdata.data + len;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
210
F_SET(t, R_EOF);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
227
__rec_fmap(BTREE *t, recno_t top)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
234
if (t->bt_rdata.size < t->bt_reclen) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
235
t->bt_rdata.data = t->bt_rdata.data == NULL ?
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
236
malloc(t->bt_reclen) :
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
237
realloc(t->bt_rdata.data, t->bt_reclen);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
238
if (t->bt_rdata.data == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
240
t->bt_rdata.size = t->bt_reclen;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
242
data.data = t->bt_rdata.data;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
243
data.size = t->bt_reclen;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
245
sp = (u_char *)t->bt_cmap;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
246
ep = (u_char *)t->bt_emap;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
247
for (nrec = t->bt_nrecs; nrec < top; ++nrec) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
249
F_SET(t, R_EOF);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
252
len = t->bt_reclen;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
253
for (p = t->bt_rdata.data;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
256
memset(p, t->bt_bval, len);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
257
if (__rec_iput(t, nrec, &data, 0) != RET_SUCCESS)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
260
t->bt_cmap = (caddr_t)sp;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
275
__rec_vmap(BTREE *t, recno_t top)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
282
sp = (u_char *)t->bt_cmap;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
283
ep = (u_char *)t->bt_emap;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
284
bval = t->bt_bval;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
286
for (nrec = t->bt_nrecs; nrec < top; ++nrec) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
288
F_SET(t, R_EOF);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
293
if (__rec_iput(t, nrec, &data, 0) != RET_SUCCESS)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
297
t->bt_cmap = (caddr_t)sp;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
65
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
70
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
73
if (t->bt_pinned != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
74
mpool_put(t->bt_mp, t->bt_pinned, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
75
t->bt_pinned = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
88
if (nrec > t->bt_nrecs) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
89
if (F_ISSET(t, R_EOF | R_INMEM))
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
91
if ((status = t->bt_irec(t, nrec)) != RET_SUCCESS)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
96
if ((e = __rec_search(t, nrec, SEARCH)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_get.c
99
status = __rec_ret(t, e, 0, NULL, data);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
103
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
106
F_SET(t, R_FIXLEN);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
107
t->bt_reclen = openinfo->reclen;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
108
if (t->bt_reclen == 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
111
t->bt_bval = openinfo->bval;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
113
t->bt_bval = '\n';
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
115
F_SET(t, R_RECNO);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
117
F_SET(t, R_EOF | R_INMEM);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
119
t->bt_rfd = rfd;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
131
F_SET(t, R_RDONLY);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
136
slow: if ((t->bt_rfp = fdopen(rfd, "rb")) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
138
F_SET(t, R_CLOSEFP);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
139
t->bt_irec =
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
140
F_ISSET(t, R_FIXLEN) ? __rec_fpipe : __rec_vpipe;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
144
F_SET(t, R_RDONLY);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
164
F_SET(t, R_EOF);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
174
t->bt_msize = sb.st_size;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
175
if ((t->bt_smap = mmap(NULL, t->bt_msize,
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
179
t->bt_cmap = t->bt_smap;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
180
t->bt_emap = t->bt_smap + sb.st_size;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
181
t->bt_irec = F_ISSET(t, R_FIXLEN) ?
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
183
F_SET(t, R_MEMMAPPED);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
201
if ((h = mpool_get(t->bt_mp, P_ROOT, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
206
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
208
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
211
!F_ISSET(t, R_EOF | R_INMEM) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
212
t->bt_irec(t, MAX_REC_NUMBER) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
229
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
231
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
234
if (t->bt_pinned != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
235
mpool_put(t->bt_mp, t->bt_pinned, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
236
t->bt_pinned = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
240
if (F_ISSET(t, R_INMEM)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
244
return (t->bt_rfd);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
61
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
106
if (!F_ISSET(&t->bt_cursor, CURS_INIT))
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
108
nrec = t->bt_cursor.rcursor;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
128
if (nrec <= t->bt_nrecs)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
140
if (nrec > t->bt_nrecs) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
141
if (!F_ISSET(t, R_EOF | R_INMEM) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
142
t->bt_irec(t, nrec) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
144
if (nrec > t->bt_nrecs + 1) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
145
if (F_ISSET(t, R_FIXLEN)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
147
(void *)malloc(t->bt_reclen)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
149
tdata.size = t->bt_reclen;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
150
memset(tdata.data, t->bt_bval, tdata.size);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
155
while (nrec > t->bt_nrecs + 1)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
156
if (__rec_iput(t,
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
157
t->bt_nrecs, &tdata, 0) != RET_SUCCESS)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
159
if (F_ISSET(t, R_FIXLEN))
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
164
if ((status = __rec_iput(t, nrec - 1, &fdata, flags)) != RET_SUCCESS)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
168
t->bt_cursor.rcursor = nrec;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
170
F_SET(t, R_MODIFIED);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
171
return (__rec_ret(t, NULL, nrec, key, NULL));
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
186
__rec_iput(BTREE *t, recno_t nrec, const DBT *data, u_int flags)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
203
if (data->size > t->bt_ovflsize) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
204
if (__ovfl_put(t, data, &pg) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
216
if ((e = __rec_search(t, nrec,
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
217
nrec > t->bt_nrecs || flags == R_IAFTER || flags == R_IBEFORE ?
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
237
if (nrec < t->bt_nrecs &&
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
238
__rec_dleaf(t, h, idx) == RET_ERROR) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
239
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
253
status = __bt_split(t, h, NULL, data, dflags, nbytes, idx);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
255
++t->bt_nrecs;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
268
++t->bt_nrecs;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
269
F_SET(t, B_MODIFIED);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
270
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
64
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
69
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
72
if (t->bt_pinned != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
73
mpool_put(t->bt_mp, t->bt_pinned, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
74
t->bt_pinned = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
82
if (F_ISSET(t, R_FIXLEN) && data->size != t->bt_reclen) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
83
if (data->size > t->bt_reclen)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
86
if (t->bt_rdata.size < t->bt_reclen) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
87
t->bt_rdata.data = t->bt_rdata.data == NULL ?
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
88
malloc(t->bt_reclen) :
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
89
realloc(t->bt_rdata.data, t->bt_reclen);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
90
if (t->bt_rdata.data == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
92
t->bt_rdata.size = t->bt_reclen;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
94
memmove(t->bt_rdata.data, data->data, data->size);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
95
memset((char *)t->bt_rdata.data + data->size,
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
96
t->bt_bval, t->bt_reclen - data->size);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
97
fdata.data = t->bt_rdata.data;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_put.c
98
fdata.size = t->bt_reclen;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_search.c
101
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_search.c
104
mpool_put(t->bt_mp, h, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_search.c
112
while ((parent = BT_POP(t)) != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_search.c
113
if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_search.c
119
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_search.c
64
__rec_search(BTREE *t, recno_t recno, enum SRCHOP op)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_search.c
75
BT_CLR(t);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_search.c
77
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_search.c
80
t->bt_cur.page = h;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_search.c
81
t->bt_cur.index = recno - total;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_search.c
82
return (&t->bt_cur);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_search.c
91
BT_PUSH(t, pg, idx - 1);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_search.c
97
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
101
nrec = t->bt_nrecs;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
108
if (t->bt_nrecs == 0 || nrec > t->bt_nrecs) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
109
if (!F_ISSET(t, R_EOF | R_INMEM) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
110
(status = t->bt_irec(t, nrec)) != RET_SUCCESS)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
112
if (t->bt_nrecs == 0 || nrec > t->bt_nrecs)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
116
if ((e = __rec_search(t, nrec - 1, SEARCH)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
119
F_SET(&t->bt_cursor, CURS_INIT);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
120
t->bt_cursor.rcursor = nrec;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
122
status = __rec_ret(t, e, nrec, key, data);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
123
if (F_ISSET(t, B_DB_LOCK))
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
124
mpool_put(t->bt_mp, e->page, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
126
t->bt_pinned = e->page;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
63
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
68
t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
71
if (t->bt_pinned != NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
72
mpool_put(t->bt_mp, t->bt_pinned, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
73
t->bt_pinned = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
82
if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
83
nrec = t->bt_cursor.rcursor + 1;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
91
if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
92
if ((nrec = t->bt_cursor.rcursor - 1) == 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
98
if (!F_ISSET(t, R_EOF | R_INMEM) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
99
t->bt_irec(t, MAX_REC_NUMBER) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
101
if (rl->dsize + 1 > t->bt_rdata.size) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
102
p = (void *)(t->bt_rdata.data == NULL ?
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
104
realloc(t->bt_rdata.data, rl->dsize + 1));
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
107
t->bt_rdata.data = p;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
108
t->bt_rdata.size = rl->dsize + 1;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
110
memmove(t->bt_rdata.data, rl->bytes, rl->dsize);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
112
data->data = t->bt_rdata.data;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
62
__rec_ret(BTREE *t, EPG *e, recno_t nrec, DBT *key, DBT *data)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
71
if (sizeof(recno_t) > t->bt_rkey.size) {
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
72
p = (void *)(t->bt_rkey.data == NULL ?
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
74
realloc(t->bt_rkey.data, sizeof(recno_t)));
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
77
t->bt_rkey.data = p;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
78
t->bt_rkey.size = sizeof(recno_t);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
80
memmove(t->bt_rkey.data, &nrec, sizeof(recno_t));
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
82
key->data = t->bt_rkey.data;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
95
if (__ovfl_get(t, rl->bytes,
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
96
&data->size, &t->bt_rdata.data, &t->bt_rdata.size))
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
98
data->data = t->bt_rdata.data;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
99
} else if (F_ISSET(t, B_DB_LOCK)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
713
char *p, *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
737
for (p = lp + len - 1, t = buf; p >= lp; *t++ = *p--);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
738
*t = '\0';
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
862
BTREE *t;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
867
t = db->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
868
if ((h = mpool_get(t->bt_mp, pg, MPOOL_IGNOREPIN)) == NULL) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
921
candidatepg(BTREE *t, char *arg)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
931
for (pg = P_ROOT; pg < t->bt_mp->npages;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
932
mpool_put(t->bt_mp, h, 0), pg++) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
933
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
942
if (pg == t->bt_mp->npages)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
950
BTREE *t = db->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
956
h = candidatepg(t, argv[1]);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
958
h = mpool_get(t->bt_mp, pg, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
965
if (__bt_relink(t, h) != 0) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
972
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
133
char *fname, *infoarg, *p, *t, buf[8 * 1024];
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
207
if (ofd == STDOUT_FILENO && (t = strchr(p, '\n')) != NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
208
*t = '\0';
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
576
BTREE *t = dbp->internal;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
580
for (pg = P_ROOT; pg < t->bt_mp->npages;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
581
mpool_put(t->bt_mp, h, 0), pg++) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
582
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
593
if (h == NULL || pg == t->bt_mp->npages) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
597
if (__bt_relink(t, h) != 0) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
604
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
67
time_t t;
crypto/krb5/src/plugins/preauth/otp/otp_state.c
359
token_free_contents(token *t)
crypto/krb5/src/plugins/preauth/otp/otp_state.c
361
if (t == NULL)
crypto/krb5/src/plugins/preauth/otp/otp_state.c
363
free(t->username.data);
crypto/krb5/src/plugins/preauth/otp/otp_state.c
364
free_strings(t->indicators);
crypto/krb5/src/plugins/preauth/otp/otp_state.c
665
const token_type *t = tok->type;
crypto/krb5/src/plugins/preauth/otp/otp_state.c
672
req->attrs, t->server, t->secret, t->timeout,
crypto/krb5/src/plugins/preauth/otp/otp_state.c
673
t->retries, callback, req);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
1000
ge_p1p1_to_cached(&Ai[i + 1], &t);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
1002
x25519_ge_p1p1_to_p2(&Ai_p2[i + 1], &t);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
1010
ge_p2_dbl(&t, r);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
1011
x25519_ge_p1p1_to_p2(r, &t);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
1012
ge_p2_dbl(&t, r);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
1013
x25519_ge_p1p1_to_p2(r, &t);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
1014
ge_p2_dbl(&t, r);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
1015
x25519_ge_p1p1_to_p2(r, &t);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
1016
ge_p2_dbl(&t, r);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
1017
x25519_ge_p1p1_to_p3(&u, &t);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
1030
x25519_ge_add(&t, &u, &selected);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
1031
x25519_ge_p1p1_to_p2(r, &t);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
655
fe_loose t;
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
656
fe_neg(&t, &h->X);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
657
fe_carry(&h->X, &t);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
722
ge_p3 t;
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
723
x25519_ge_p1p1_to_p3(&t, p);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
724
x25519_ge_p3_to_cached(r, &t);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
818
static void cmov(ge_precomp *t, const ge_precomp *u, uint8_t b) {
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
819
fe_cmov(&t->yplusx, &u->yplusx, b);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
820
fe_cmov(&t->yminusx, &u->yminusx, b);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
821
fe_cmov(&t->xy2d, &u->xy2d, b);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
892
static void table_select(ge_precomp *t, int pos, signed char b) {
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
897
ge_precomp_0(t);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
898
cmov(t, &k25519Precomp[pos][0], equal(babs, 1));
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
899
cmov(t, &k25519Precomp[pos][1], equal(babs, 2));
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
900
cmov(t, &k25519Precomp[pos][2], equal(babs, 3));
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
901
cmov(t, &k25519Precomp[pos][3], equal(babs, 4));
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
902
cmov(t, &k25519Precomp[pos][4], equal(babs, 5));
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
903
cmov(t, &k25519Precomp[pos][5], equal(babs, 6));
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
904
cmov(t, &k25519Precomp[pos][6], equal(babs, 7));
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
905
cmov(t, &k25519Precomp[pos][7], equal(babs, 8));
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
906
fe_copy_ll(&minust.yplusx, &t->yminusx);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
907
fe_copy_ll(&minust.yminusx, &t->yplusx);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
911
fe_carry(&tmp, &t->xy2d);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
914
cmov(t, &minust, bnegative);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
928
ge_precomp t;
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
950
table_select(&t, i / 2, e[i]);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
951
ge_madd(&r, h, &t);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
965
table_select(&t, i / 2, e[i]);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
966
ge_madd(&r, h, &t);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
973
static void cmov_cached(ge_cached *t, ge_cached *u, uint8_t b) {
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
974
fe_cmov(&t->YplusX, &u->YplusX, b);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
975
fe_cmov(&t->YminusX, &u->YminusX, b);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
976
fe_cmov(&t->Z, &u->Z, b);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
977
fe_cmov(&t->T2d, &u->T2d, b);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
986
ge_p1p1 t;
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
994
ge_p2_dbl(&t, &Ai_p2[i / 2]);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
995
ge_p1p1_to_cached(&Ai[i], &t);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
997
x25519_ge_p1p1_to_p2(&Ai_p2[i], &t);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
999
x25519_ge_add(&t, A, &Ai[i]);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
382
run_test(const struct test *t)
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
390
ikey = decode_keyblock(t->enctype, t->ikey);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
391
w = decode_data(t->w);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
392
x = decode_data(t->x);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
393
y = decode_data(t->y);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
394
T = decode_data(t->T);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
395
S = decode_data(t->S);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
396
K = decode_data(t->K);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
397
support = (t->support != NULL) ? decode_data(t->support) : NULL;
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
398
challenge = decode_data(t->challenge);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
399
thash = decode_data(t->thash);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
400
body = decode_data(t->body);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
401
K0 = decode_keyblock(t->enctype, t->K0);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
402
K1 = decode_keyblock(t->enctype, t->K1);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
403
K2 = decode_keyblock(t->enctype, t->K2);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
404
K3 = decode_keyblock(t->enctype, t->K3);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
406
check(derive_wbytes(ctx, t->group, ikey, &wbytes));
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
411
check(group_result(ctx, gstate, t->group, &wbytes, x, S, &result));
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
418
check(group_result(ctx, gstate, t->group, &wbytes, y, T, &result));
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
424
check(update_thash(ctx, gstate, t->group, &hash, support, challenge));
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
425
check(update_thash(ctx, gstate, t->group, &hash, S, &empty));
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
430
check(derive_key(ctx, gstate, t->group, ikey, &wbytes, K, thash, body, 0,
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
434
check(derive_key(ctx, gstate, t->group, ikey, &wbytes, K, thash, body, 1,
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
438
check(derive_key(ctx, gstate, t->group, ikey, &wbytes, K, thash, body, 2,
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
442
check(derive_key(ctx, gstate, t->group, ikey, &wbytes, K, thash, body, 3,
crypto/krb5/src/plugins/pwqual/test/main.c
56
char *p, *t;
crypto/krb5/src/plugins/pwqual/test/main.c
81
while (len > 0 && (t = memchr(p, '\n', len)) != NULL) {
crypto/krb5/src/plugins/pwqual/test/main.c
82
*t = '\0';
crypto/krb5/src/plugins/pwqual/test/main.c
83
len -= t - p + 1;
crypto/krb5/src/plugins/pwqual/test/main.c
84
p = t + 1;
crypto/krb5/src/util/et/t_com_err.c
125
pthread_t t;
crypto/krb5/src/util/et/t_com_err.c
129
err = pthread_create(&t, 0, run, 0);
crypto/krb5/src/util/et/t_com_err.c
134
err = pthread_join(t, &t_retval);
crypto/krb5/src/util/profile/prof_init.c
331
const char *s, *t;
crypto/krb5/src/util/profile/prof_init.c
347
for(s = filepath, i=0; (t = strchr(s, ':')) || (t=s+strlen(s)); s=t+1, i++) {
crypto/krb5/src/util/profile/prof_init.c
348
ent_len = (unsigned int) (t-s);
crypto/krb5/src/util/profile/prof_init.c
359
if (*t == 0) {
crypto/krb5/src/util/ss/invocation.c
118
ss_data *t;
crypto/krb5/src/util/ss/invocation.c
121
t = ss_info(sci_idx);
crypto/krb5/src/util/ss/invocation.c
122
free(t->prompt);
crypto/krb5/src/util/ss/invocation.c
123
free(t->rqt_tables);
crypto/krb5/src/util/ss/invocation.c
124
while(t->info_dirs[0] != (char *)NULL)
crypto/krb5/src/util/ss/invocation.c
125
ss_delete_info_dir(sci_idx, t->info_dirs[0], &ignored_code);
crypto/krb5/src/util/ss/invocation.c
126
free(t->info_dirs);
crypto/krb5/src/util/ss/invocation.c
127
free(t);
crypto/krb5/src/util/support/fake-addrinfo.c
378
static const char *socktypename (int t, char *buf, size_t bufsize) {
crypto/krb5/src/util/support/fake-addrinfo.c
379
switch (t) {
crypto/krb5/src/util/support/fake-addrinfo.c
386
snprintf(buf, bufsize, " %-2d", t);
crypto/krb5/src/util/support/gettimeofday.c
94
time_t t;
crypto/krb5/src/util/support/gettimeofday.c
96
t = time(NULL);
crypto/krb5/src/util/support/gettimeofday.c
97
tp->tv_sec = (long) t;
crypto/krb5/src/util/support/gmt_mktime.c
100
assert_time(t->tm_sec>=0);
crypto/krb5/src/util/support/gmt_mktime.c
101
assert_time(t->tm_sec<=62);
crypto/krb5/src/util/support/gmt_mktime.c
106
accum = t->tm_year - 70;
crypto/krb5/src/util/support/gmt_mktime.c
110
if (t->tm_year >= 70)
crypto/krb5/src/util/support/gmt_mktime.c
111
accum += (t->tm_year - 69) / 4;
crypto/krb5/src/util/support/gmt_mktime.c
113
accum -= (72 - t->tm_year) / 4;
crypto/krb5/src/util/support/gmt_mktime.c
115
if(t->tm_mon >= 2) /* march or later */
crypto/krb5/src/util/support/gmt_mktime.c
116
if(hasleapday((t->tm_year + 1900))) accum += 1;
crypto/krb5/src/util/support/gmt_mktime.c
118
accum += days_in_month[t->tm_mon];
crypto/krb5/src/util/support/gmt_mktime.c
119
accum += t->tm_mday-1; /* days of month are the only 1-based field */
crypto/krb5/src/util/support/gmt_mktime.c
121
accum += t->tm_hour;
crypto/krb5/src/util/support/gmt_mktime.c
123
accum += t->tm_min;
crypto/krb5/src/util/support/gmt_mktime.c
125
accum += t->tm_sec;
crypto/krb5/src/util/support/gmt_mktime.c
136
time_t t;
crypto/krb5/src/util/support/gmt_mktime.c
145
t = gmt_mktime (&tm);
crypto/krb5/src/util/support/gmt_mktime.c
146
if (t == (time_t) -1)
crypto/krb5/src/util/support/gmt_mktime.c
151
if (t % (24 * 60 * 60))
crypto/krb5/src/util/support/gmt_mktime.c
153
u = t / (24 * 60 * 60);
crypto/krb5/src/util/support/gmt_mktime.c
156
(long) t);
crypto/krb5/src/util/support/gmt_mktime.c
159
t = 0x80000000, printf ("time 0x%lx -> %s", t, ctime (&t));
crypto/krb5/src/util/support/gmt_mktime.c
160
t = 0x7fffffff, printf ("time 0x%lx -> %s", t, ctime (&t));
crypto/krb5/src/util/support/gmt_mktime.c
18
static time_t gmt_mktime(struct tm *t);
crypto/krb5/src/util/support/gmt_mktime.c
42
krb5int_gmt_mktime(struct tm *t)
crypto/krb5/src/util/support/gmt_mktime.c
45
return timegm(t);
crypto/krb5/src/util/support/gmt_mktime.c
47
return gmt_mktime(t);
crypto/krb5/src/util/support/gmt_mktime.c
75
gmt_mktime(struct tm *t)
crypto/krb5/src/util/support/gmt_mktime.c
89
assert_time(t->tm_year>=70);
crypto/krb5/src/util/support/gmt_mktime.c
90
assert_time(t->tm_year<=206);
crypto/krb5/src/util/support/gmt_mktime.c
92
assert_time(t->tm_mon>=0);
crypto/krb5/src/util/support/gmt_mktime.c
93
assert_time(t->tm_mon<=11);
crypto/krb5/src/util/support/gmt_mktime.c
94
assert_time(t->tm_mday>=1);
crypto/krb5/src/util/support/gmt_mktime.c
95
assert_time(t->tm_mday<=31);
crypto/krb5/src/util/support/gmt_mktime.c
96
assert_time(t->tm_hour>=0);
crypto/krb5/src/util/support/gmt_mktime.c
97
assert_time(t->tm_hour<=23);
crypto/krb5/src/util/support/gmt_mktime.c
98
assert_time(t->tm_min>=0);
crypto/krb5/src/util/support/gmt_mktime.c
99
assert_time(t->tm_min<=59);
crypto/krb5/src/util/support/t_base64.c
75
const struct test *t;
crypto/krb5/src/util/support/t_base64.c
78
for (t = tests; t->data != NULL; t++) {
crypto/krb5/src/util/support/t_base64.c
79
str = k5_base64_encode(t->data, t->len);
crypto/krb5/src/util/support/t_base64.c
80
if (strcmp(str, t->result) != 0) {
crypto/krb5/src/util/support/t_base64.c
82
str, t->result);
crypto/krb5/src/util/support/t_base64.c
86
data = k5_base64_decode(t->result, &len);
crypto/krb5/src/util/support/t_base64.c
87
if (len != t->len) {
crypto/krb5/src/util/support/t_base64.c
89
(unsigned long)len, (unsigned long)t->len);
crypto/krb5/src/util/support/t_base64.c
91
} else if (memcmp(data, t->data, t->len) != 0) {
crypto/krb5/src/util/support/t_utf16.c
100
assert(memcmp(t->utf16, utf16, utf16len) == 0);
crypto/krb5/src/util/support/t_utf16.c
105
if (t->utf16 != NULL) {
crypto/krb5/src/util/support/t_utf16.c
106
ret = k5_utf16le_to_utf8((uint8_t *)t->utf16, t->utf16len, &utf8);
crypto/krb5/src/util/support/t_utf16.c
107
if (t->utf8 == NULL) {
crypto/krb5/src/util/support/t_utf16.c
111
assert(strcmp(t->utf8, utf8) == 0);
crypto/krb5/src/util/support/t_utf16.c
86
struct test *t;
crypto/krb5/src/util/support/t_utf16.c
92
t = &tests[i];
crypto/krb5/src/util/support/t_utf16.c
93
if (t->utf8 != NULL) {
crypto/krb5/src/util/support/t_utf16.c
94
ret = k5_utf8_to_utf16le(t->utf8, &utf16, &utf16len);
crypto/krb5/src/util/support/t_utf16.c
95
if (t->utf16 == NULL) {
crypto/krb5/src/util/support/t_utf16.c
99
assert(t->utf16len == utf16len);
crypto/krb5/src/util/support/t_utf8.c
120
printtest(struct testcase *t)
crypto/krb5/src/util/support/t_utf8.c
122
printhex(t->p);
crypto/krb5/src/util/support/t_utf8.c
123
printf("0x%08lx, %d\n", (unsigned long)t->ucs, t->len);
crypto/krb5/src/util/support/t_utf8.c
127
test_decode(struct testcase *t, int high4)
crypto/krb5/src/util/support/t_utf8.c
132
len = KRB5_UTF8_CHARLEN2(t->p, len);
crypto/krb5/src/util/support/t_utf8.c
133
if (len != t->len) {
crypto/krb5/src/util/support/t_utf8.c
134
printf("expected len=%d, got len=%d\n", t->len, len);
crypto/krb5/src/util/support/t_utf8.c
137
if ((t->len == 0 || high4) && krb5int_utf8_to_ucs4(t->p, &u) != -1) {
crypto/krb5/src/util/support/t_utf8.c
141
if (krb5int_utf8_to_ucs4(t->p, &u) != 0 && t->ucs != 0 && !high4) {
crypto/krb5/src/util/support/t_utf8.c
145
if (t->ucs != u && !high4) {
crypto/krb5/src/util/support/t_utf8.c
146
printf("expected 0x%08lx, got 0x%08lx\n", (unsigned long)t->ucs,
crypto/krb5/src/util/support/t_utf8.c
154
test_encode(struct testcase *t, int high4)
crypto/krb5/src/util/support/t_utf8.c
160
size = krb5int_ucs4_to_utf8(t->ucs, buf);
crypto/krb5/src/util/support/t_utf8.c
169
if (size != 0 && strcmp(t->p, buf) != 0) {
crypto/krb5/src/util/support/t_utf8.c
171
printhex(t->p);
crypto/krb5/src/util/support/t_utf8.c
185
struct testcase *t;
crypto/krb5/src/util/support/t_utf8.c
193
t = &testcases[i];
crypto/krb5/src/util/support/t_utf8.c
195
printtest(t);
crypto/krb5/src/util/support/t_utf8.c
197
high4 = t->ucs > 0x10ffff;
crypto/krb5/src/util/support/t_utf8.c
201
if (test_decode(t, high4) != 0)
crypto/krb5/src/util/support/t_utf8.c
203
if (t->ucs == 0)
crypto/krb5/src/util/support/t_utf8.c
205
if (test_encode(t, high4) != 0)
crypto/krb5/src/util/support/threads.c
194
struct tsd_block *t = tptr;
crypto/krb5/src/util/support/threads.c
213
if (destructors_set[i] && destructors[i] && t->values[i]) {
crypto/krb5/src/util/support/threads.c
214
void *v = t->values[i];
crypto/krb5/src/util/support/threads.c
215
t->values[i] = 0;
crypto/krb5/src/util/support/threads.c
221
free (t);
crypto/krb5/src/util/support/threads.c
231
struct tsd_block *t;
crypto/krb5/src/util/support/threads.c
242
t = &tsd_no_threads;
crypto/krb5/src/util/support/threads.c
246
t = TlsGetValue(tls_idx);
crypto/krb5/src/util/support/threads.c
251
t = pthread_getspecific(key);
crypto/krb5/src/util/support/threads.c
253
t = GET_NO_PTHREAD_TSD();
crypto/krb5/src/util/support/threads.c
257
if (t == NULL)
crypto/krb5/src/util/support/threads.c
259
return t->values[keynum];
crypto/krb5/src/util/support/threads.c
264
struct tsd_block *t;
crypto/krb5/src/util/support/threads.c
275
t = &tsd_no_threads;
crypto/krb5/src/util/support/threads.c
279
t = TlsGetValue(tls_idx);
crypto/krb5/src/util/support/threads.c
280
if (t == NULL) {
crypto/krb5/src/util/support/threads.c
282
t = malloc(sizeof(*t));
crypto/krb5/src/util/support/threads.c
283
if (t == NULL)
crypto/krb5/src/util/support/threads.c
286
t->values[i] = 0;
crypto/krb5/src/util/support/threads.c
289
err = TlsSetValue(tls_idx, t);
crypto/krb5/src/util/support/threads.c
291
free(t);
crypto/krb5/src/util/support/threads.c
299
t = pthread_getspecific(key);
crypto/krb5/src/util/support/threads.c
300
if (t == NULL) {
crypto/krb5/src/util/support/threads.c
302
t = malloc(sizeof(*t));
crypto/krb5/src/util/support/threads.c
303
if (t == NULL)
crypto/krb5/src/util/support/threads.c
306
t->values[i] = 0;
crypto/krb5/src/util/support/threads.c
308
t->next = 0;
crypto/krb5/src/util/support/threads.c
309
err = pthread_setspecific(key, t);
crypto/krb5/src/util/support/threads.c
311
free(t);
crypto/krb5/src/util/support/threads.c
316
t = GET_NO_PTHREAD_TSD();
crypto/krb5/src/util/support/threads.c
321
t->values[keynum] = value;
crypto/krb5/src/util/support/threads.c
65
struct tsd_block *t;
crypto/krb5/src/util/support/threads.c
72
t = TlsGetValue(tls_idx);
crypto/krb5/src/util/support/threads.c
73
if (t == NULL)
crypto/krb5/src/util/support/threads.c
76
if (destructors_set[i] && destructors[i] && t->values[i]) {
crypto/krb5/src/util/support/threads.c
77
void *v = t->values[i];
crypto/krb5/src/util/support/threads.c
78
t->values[i] = 0;
crypto/krb5/src/util/verto/ev.c
488
#define EV_TV_SET(tv,t) do { tv.tv_sec = (long)t; tv.tv_usec = (long)((t - tv.tv_sec) * 1e6); } while (0)
crypto/krb5/src/util/verto/ev.c
489
#define EV_TS_SET(ts,t) do { ts.tv_sec = (long)t; ts.tv_nsec = (long)((t - ts.tv_sec) * 1e9); } while (0)
crypto/krb5/src/windows/leash/LeashView.cpp
205
void TimestampToFileTime(time_t t, LPFILETIME pft)
crypto/krb5/src/windows/leash/LeashView.cpp
210
ll = UInt32x32To64((DWORD)t, 10000000) + 116444736000000000;
crypto/krb5/src/windows/leash/LeashView.cpp
216
void TimestampToLocalizedString(time_t t, LPTSTR *outStr)
crypto/krb5/src/windows/leash/LeashView.cpp
220
TimestampToFileTime(t, &ft);
crypto/libecc/include/libecc/hash/streebog.h
1216
u64 t = 0;
crypto/libecc/include/libecc/hash/streebog.h
1220
t ^= PI[j][(in[j] >> (i * 8)) & 0xff];
crypto/libecc/include/libecc/hash/streebog.h
1223
return t;
crypto/libecc/include/libecc/sig/bign_common.h
61
int bign_set_adata(u8 *adata, u16 adata_len, const u8 *oid, u16 oid_len, const u8 *t, u16 t_len);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1000
rec = t + 1;
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1004
t = strchr(rec, ' ');
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1005
if (t == NULL) {
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1006
t = ibuf + len;
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1008
*t = 0;
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1021
assert(((t - rec) % 2) == 0);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1022
nn_len = (unsigned int)(t - rec -
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1131
assert(((t - rec) % 2) == 0);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1132
nn_len = (unsigned int)(t - rec) / 2;
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1164
assert(((t - rec) % 2) == 0);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1165
nn_len = (unsigned int)(t - rec) / 2;
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1188
rec = t + 1;
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
960
char *t, *s = ibuf;
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
964
t = strchr(s, ' ');
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
965
if (t == NULL) {
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
969
*t = 0; /* mark end of record */
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
972
s = t + 1; /* jump to beginning of next record */
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
975
t = strchr(s, ' ');
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
976
if (t == NULL) {
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
980
*t = 0; /* mark end of record */
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
982
s = t + 1; /* jump to beginning of next record */
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
992
t = strchr(s, ' ');
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
993
if (t == NULL) {
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
997
*t = 0; /* mark end of record */
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
998
nrecs = (int)(t - s);
crypto/libecc/src/examples/basic/fp_square_residue.c
21
ATTRIBUTE_WARN_UNUSED_RET int miller_rabin(nn_src_t n, const unsigned int t, int *check);
crypto/libecc/src/examples/basic/nn_miller_rabin.c
134
for (i = 1; i <= t; i++) {
crypto/libecc/src/examples/basic/nn_miller_rabin.c
19
ATTRIBUTE_WARN_UNUSED_RET int miller_rabin(nn_src_t n, const unsigned int t, int *res);
crypto/libecc/src/examples/basic/nn_miller_rabin.c
45
int miller_rabin(nn_src_t n, const unsigned int t, int *res)
crypto/libecc/src/examples/basic/nn_miller_rabin.c
72
MUST_HAVE((t >= 1), ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
38
ATTRIBUTE_WARN_UNUSED_RET int miller_rabin(nn_src_t n, const unsigned int t, int *check);
crypto/libecc/src/examples/hash/md2.c
40
unsigned int i, j, t;
crypto/libecc/src/examples/hash/md2.c
53
t = 0;
crypto/libecc/src/examples/hash/md2.c
56
x[j] ^= PI_SUBST[t];
crypto/libecc/src/examples/hash/md2.c
57
t = x[j];
crypto/libecc/src/examples/hash/md2.c
59
t = (t + i) & 0xff;
crypto/libecc/src/examples/hash/md2.c
64
t = ctx->md2_checksum[MD2_BLOCK_SIZE - 1];
crypto/libecc/src/examples/hash/md2.c
66
ctx->md2_checksum[i] ^= PI_SUBST[data[i] ^ t];
crypto/libecc/src/examples/hash/md2.c
67
t = ctx->md2_checksum[i];
crypto/libecc/src/examples/sig/rsa/rsa.c
168
ret = nn_init_from_buf(&(cur->t), coeffs[i + 2], coeffslens[i + 2]); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
318
t_i = &(priv->key.crt.coeffs[i].t);
crypto/libecc/src/examples/sig/rsa/rsa.h
79
nn t;
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
102
ret = rsaes_pkcs1_v1_5_decrypt(&priv, t->res, t->reslen, cipher, &clen, modbits); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
104
MUST_HAVE((clen == t->mlen), ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
105
ret = are_equal(t->m, cipher, t->mlen, &cmp); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
109
ret = rsaes_pkcs1_v1_5_decrypt_hardened(&priv, &pub, t->res, t->reslen, cipher, &clen, modbits); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
111
MUST_HAVE((clen == t->mlen), ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
112
ret = are_equal(t->m, cipher, t->mlen, &cmp); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
119
if(t->salt != NULL){
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
121
ret = rsaes_oaep_encrypt(&pub, t->m, t->mlen, cipher, &clen, modbits, NULL, 0, t->hash, t->hash, t->salt, t->saltlen); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
123
MUST_HAVE((clen == t->reslen), ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
124
ret = are_equal(t->res, cipher, t->reslen, &cmp); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
129
ret = rsaes_oaep_decrypt(&priv, t->res, t->reslen, cipher, &clen, modbits, NULL, 0, t->hash, t->hash); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
131
MUST_HAVE((clen == t->mlen), ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
132
ret = are_equal(t->m, cipher, t->mlen, &cmp); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
136
ret = rsaes_oaep_decrypt_hardened(&priv, &pub, t->res, t->reslen, cipher, &clen, modbits, NULL, 0, t->hash, t->hash); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
138
MUST_HAVE((clen == t->mlen), ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
139
ret = are_equal(t->m, cipher, t->mlen, &cmp); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
146
MUST_HAVE((t->reslen) <= 0xffff, ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
147
ret = rsassa_pkcs1_v1_5_verify(&pub, t->m, t->mlen, t->res, (u16)(t->reslen), modbits, t->hash); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
149
ret = rsassa_pkcs1_v1_5_sign(&priv, t->m, t->mlen, sig, &siglen, modbits, t->hash); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
151
MUST_HAVE((siglen == t->reslen), ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
152
ret = are_equal(t->res, sig, t->reslen, &cmp); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
155
ret = rsassa_pkcs1_v1_5_sign_hardened(&priv, &pub, t->m, t->mlen, sig, &siglen, modbits, t->hash); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
157
MUST_HAVE((siglen == t->reslen), ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
158
ret = are_equal(t->res, sig, t->reslen, &cmp); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
163
if(t->salt == NULL){
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
166
ret = gen_hash_get_hash_sizes(t->hash, &digestsize, &blocksize); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
167
MUST_HAVE((t->reslen) <= 0xffff, ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
168
ret = rsassa_pss_verify(&pub, t->m, t->mlen, t->res, (u16)(t->reslen), modbits, t->hash, t->hash, digestsize); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
171
MUST_HAVE((t->reslen) <= 0xffff, ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
172
ret = rsassa_pss_verify(&pub, t->m, t->mlen, t->res, (u16)(t->reslen), modbits, t->hash, t->hash, t->saltlen); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
174
if(t->salt != NULL){
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
178
ret = rsassa_pss_sign(&priv, t->m, t->mlen, sig, &siglen, modbits, t->hash, t->hash, t->saltlen, t->salt); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
180
MUST_HAVE((t->reslen) <= 0xffff, ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
181
MUST_HAVE((siglen == (u16)(t->reslen)), ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
182
ret = are_equal(t->res, sig, t->reslen, &cmp); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
185
ret = rsassa_pss_sign_hardened(&priv, &pub, t->m, t->mlen, sig, &siglen, modbits, t->hash, t->hash, t->saltlen, t->salt); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
187
MUST_HAVE((siglen == (u16)(t->reslen)), ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
188
ret = are_equal(t->res, sig, t->reslen, &cmp); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
200
ext_printf("[-] Test %s failed (modbits = %" PRIu32 ")\n", t->name, t->modbits);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
204
ext_printf("[+] Test %s passed (modbits = %" PRIu32 ")\n", t->name, t->modbits);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
60
const rsa_test *t = tests[i];
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
61
u32 modbits = t->modbits;
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
67
ret = rsa_import_pub_key(&pub, t->n, (u16)t->nlen, t->e, (u16)t->elen); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
68
if(t->dP == NULL){
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
75
ret = rsa_import_simple_priv_key(&priv, t->n, (u16)t->nlen, t->d, (u16)t->dlen, NULL, 0, NULL, 0); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
77
ret = rsa_import_simple_priv_key(&priv_pq, t->n, (u16)t->nlen, t->d, (u16)t->dlen, t_->p, (u16)t_->plen, t_->q, (u16)t_->qlen); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
81
ret = rsa_import_crt_priv_key(&priv, t->p, (u16)t->plen, t->q, (u16)t->qlen, t->dP, (u16)t->dPlen, t->dQ, (u16)t->dQlen, t->qInv, (u16)t->qInvlen, NULL, NULL, 0); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
88
switch(t->type){
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
92
if(t->salt != NULL){
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
94
ret = rsaes_pkcs1_v1_5_encrypt(&pub, t->m, t->mlen, cipher, &clen, modbits, t->salt, t->saltlen); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
96
MUST_HAVE((clen == t->reslen), ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
97
ret = are_equal(t->res, cipher, t->reslen, &cmp); EG(ret, err1);
crypto/libecc/src/fp/fp_sqrt.c
116
fp z, t, b, r, c, one_fp, tmp_fp, __n;
crypto/libecc/src/fp/fp_sqrt.c
119
i.magic = tmp_nn.magic = z.magic = t.magic = b.magic = WORD(0);
crypto/libecc/src/fp/fp_sqrt.c
130
ret = fp_init(&t, n->ctx); EG(ret, err);
crypto/libecc/src/fp/fp_sqrt.c
209
ret = fp_pow(&t, _n, &q); EG(ret, err);
crypto/libecc/src/fp/fp_sqrt.c
216
ret = fp_cmp(&t, &one_fp, &cmp); EG(ret, err);
crypto/libecc/src/fp/fp_sqrt.c
225
ret = fp_copy(&tmp_fp, &t); EG(ret, err);
crypto/libecc/src/fp/fp_sqrt.c
255
ret = fp_mul(&t, &t, &c); EG(ret, err);
crypto/libecc/src/fp/fp_sqrt.c
270
fp_uninit(&t);
crypto/libecc/src/hash/ripemd160.c
108
u32 t = ROTL_RIPEMD160(a + F(b, c, d) + w[R[round][idx]] + K[round], S[round][idx]) + e;\
crypto/libecc/src/hash/ripemd160.c
109
a = e; e = d; d = ROTL_RIPEMD160(c, 10); c = b; b = t; \
crypto/libecc/src/nn/nn.c
178
word_t t, r;
crypto/libecc/src/nn/nn.c
200
t = ((in1->val[i] ^ in2->val[i]) & mask) ^ r_mask;
crypto/libecc/src/nn/nn.c
201
in1->val[i] ^= ((t & local_mask) ^ (r_mask & local_mask));
crypto/libecc/src/nn/nn.c
202
in2->val[i] ^= ((t & local_mask) ^ (r_mask & local_mask));
crypto/libecc/src/nn/nn.c
205
t = (word_t)(((in1->wlen ^ in2->wlen) & mask) ^ r_mask);
crypto/libecc/src/nn/nn.c
206
in1->wlen ^= (u8)(t ^ r_mask);
crypto/libecc/src/nn/nn.c
207
in2->wlen ^= (u8)(t ^ r_mask);
crypto/libecc/src/nn/nn_div.c
725
word_t q, carry, r[2], t[2];
crypto/libecc/src/nn/nn_div.c
741
t[1] = (word_t)(~dh);
crypto/libecc/src/nn/nn_div.c
742
t[0] = (word_t)(~dl);
crypto/libecc/src/nn/nn_div.c
743
ret = _word_divrem(&q, r+1, t[1], t[0],
crypto/libecc/src/nn/nn_div.c
755
WORD_MUL(t[1], t[0], q, (word_t)~dl);
crypto/libecc/src/nn/nn_div.c
756
carry = _wadd_22(r, t);
crypto/libecc/src/nn/nn_div.c
758
t[0] = (word_t)(dl + WORD(1));
crypto/libecc/src/nn/nn_div.c
759
t[1] = dh;
crypto/libecc/src/nn/nn_div.c
760
while (carry || (_wcmp_22(r, t) >= 0)) {
crypto/libecc/src/nn/nn_div.c
762
carry = (word_t)(carry - _wsub_22(r, t));
crypto/libecc/src/sig/bign_common.c
149
int bign_set_adata(u8 *adata, u16 adata_len, const u8 *oid, u16 oid_len, const u8 *t, u16 t_len)
crypto/libecc/src/sig/bign_common.c
156
MUST_HAVE((t != NULL) || (t_len == 0), ret, err);
crypto/libecc/src/sig/bign_common.c
170
if(t != NULL){
crypto/libecc/src/sig/bign_common.c
173
ret = local_memcpy(&adata[4 + oid_len], t, t_len); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
850
u8 t[BIGN_S0_LEN(CURVES_MAX_Q_BIT_LEN)];
crypto/libecc/src/sig/bign_common.c
901
MUST_HAVE((sizeof(t) == sizeof(ctx->verify_data.bign.s0_sig)), 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/libecc/src/sig/sm2.c
619
nn t;
crypto/libecc/src/sig/sm2.c
623
e.magic = tmp.magic = r_prime.magic = t.magic = WORD(0);
crypto/libecc/src/sig/sm2.c
656
ret = nn_mod_add(&t, r, s, q); EG(ret, err);
crypto/libecc/src/sig/sm2.c
659
ret = nn_iszero(&t, &iszero); EG(ret, err);
crypto/libecc/src/sig/sm2.c
671
ret = prj_pt_mul(&tY, &t, Y); EG(ret, err);
crypto/libecc/src/sig/sm2.c
696
nn_uninit(&t);
crypto/libecc/src/tests/ec_self_tests_core.c
1350
ec_test_case t;
crypto/libecc/src/tests/ec_self_tests_core.c
1386
t.name = test_name;
crypto/libecc/src/tests/ec_self_tests_core.c
1387
t.ec_str_p = ec->params;
crypto/libecc/src/tests/ec_self_tests_core.c
1388
t.priv_key = NULL;
crypto/libecc/src/tests/ec_self_tests_core.c
1389
t.priv_key_len = 0;
crypto/libecc/src/tests/ec_self_tests_core.c
1390
t.nn_random = NULL;
crypto/libecc/src/tests/ec_self_tests_core.c
1391
t.hash_type = hash->type;
crypto/libecc/src/tests/ec_self_tests_core.c
1392
t.msg = NULL;
crypto/libecc/src/tests/ec_self_tests_core.c
1393
t.msglen = 0;
crypto/libecc/src/tests/ec_self_tests_core.c
1394
t.sig_type = sig->type;
crypto/libecc/src/tests/ec_self_tests_core.c
1395
t.exp_sig = NULL;
crypto/libecc/src/tests/ec_self_tests_core.c
1396
t.exp_siglen = 0;
crypto/libecc/src/tests/ec_self_tests_core.c
1411
t.adata = rand_adata;
crypto/libecc/src/tests/ec_self_tests_core.c
1412
t.adata_len = rand_len;
crypto/libecc/src/tests/ec_self_tests_core.c
1441
t.adata = rand_adata;
crypto/libecc/src/tests/ec_self_tests_core.c
1442
t.adata_len = (u8)(oid_len + t_len + 4);
crypto/libecc/src/tests/ec_self_tests_core.c
1447
t.adata = NULL;
crypto/libecc/src/tests/ec_self_tests_core.c
1448
t.adata_len = 0;
crypto/libecc/src/tests/ec_self_tests_core.c
1453
ret = ec_import_export_test(&t);
crypto/libecc/src/tests/ec_self_tests_core.c
1456
"with sig/verif %s\n", ret ? "-" : "+", t.name,
crypto/libecc/src/tests/ec_self_tests_core.c
1460
if(t.sig_type == ECDSA){
crypto/libecc/src/tests/ec_self_tests_core.c
1465
if(t.sig_type == DECDSA){
crypto/libecc/src/tests/ec_self_tests_core.c
1475
if(t.sig_type == ECDSA){
crypto/libecc/src/tests/ec_self_tests_core.c
1480
if(t.sig_type == ECGDSA){
crypto/libecc/src/tests/ec_self_tests_core.c
1485
if(t.sig_type == ECRDSA){
crypto/libecc/src/tests/ec_self_tests_core.c
1783
ec_test_case t;
crypto/libecc/src/tests/ec_self_tests_core.c
1818
t.name = test_name;
crypto/libecc/src/tests/ec_self_tests_core.c
1819
t.ec_str_p = ec->params;
crypto/libecc/src/tests/ec_self_tests_core.c
1820
t.priv_key = NULL;
crypto/libecc/src/tests/ec_self_tests_core.c
1821
t.priv_key_len = 0;
crypto/libecc/src/tests/ec_self_tests_core.c
1822
t.nn_random = NULL;
crypto/libecc/src/tests/ec_self_tests_core.c
1823
t.hash_type = hash->type;
crypto/libecc/src/tests/ec_self_tests_core.c
1824
t.msg = NULL;
crypto/libecc/src/tests/ec_self_tests_core.c
1825
t.msglen = 0;
crypto/libecc/src/tests/ec_self_tests_core.c
1826
t.sig_type = sig->type;
crypto/libecc/src/tests/ec_self_tests_core.c
1827
t.exp_sig = NULL;
crypto/libecc/src/tests/ec_self_tests_core.c
1828
t.exp_siglen = 0;
crypto/libecc/src/tests/ec_self_tests_core.c
1843
t.adata = rand_adata;
crypto/libecc/src/tests/ec_self_tests_core.c
1844
t.adata_len = rand_len;
crypto/libecc/src/tests/ec_self_tests_core.c
1873
t.adata = rand_adata;
crypto/libecc/src/tests/ec_self_tests_core.c
1874
t.adata_len = (u8)(oid_len + t_len + 4);
crypto/libecc/src/tests/ec_self_tests_core.c
1879
t.adata = NULL;
crypto/libecc/src/tests/ec_self_tests_core.c
1880
t.adata_len = 0;
crypto/libecc/src/tests/ec_self_tests_core.c
1885
ret = ec_performance_test(&t, &n_perf_sign, &n_perf_verif, &n_perf_batch_verif, &batch_verify_ok);
crypto/libecc/src/tests/ec_self_tests_core.c
1889
ret ? "-" : "+", t.name, n_perf_sign, n_perf_verif, n_perf_batch_verif, (unsigned int)PERF_BATCH_VERIFICATION);
crypto/libecc/src/tests/ec_self_tests_core.c
1896
ret ? "-" : "+", t.name, n_perf_sign, n_perf_verif);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
106
ret = ec_pub_key_import_from_aff_buf(&pub_key, ¶ms, t->pubkey, (u8)(t->pubkeylen), t->sig_alg);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
114
ret = ec_verify(t->sig, (u8)(t->siglen), &pub_key, t->msg, t->msglen, t->sig_alg, t->hash, NULL, 0);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
116
if ((t->result == 1) && ret) {
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
117
ext_printf("[-] Error when verifying ECDSA test %d / %s (verification NOK while must be valid)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
118
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
123
if ((t->result == -1) && !ret) {
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
124
ext_printf("[-] Error when verifying ECDSA test %d / %s (verification OK while must be invalid)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
125
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
130
if (t->result == 0) {
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
138
ext_printf("\t[~] ECDSA test %d / %s (verification %d while acceptable)\n", i, t->name, ret);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
139
ext_printf("\t (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
169
const wycheproof_eddsa_test *t = wycheproof_eddsa_all_tests[i];
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
177
if (t == NULL){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
189
ret = import_params(¶ms, t->curve);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
197
ret = eddsa_import_pub_key(&pub_key, t->pubkey, (u8)(t->pubkeylen), ¶ms, t->sig_alg);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
204
ret = eddsa_import_priv_key(&priv_key, t->privkey, (u8)(t->privkeylen), ¶ms, t->sig_alg);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
218
ret = eddsa_export_pub_key(&pub_key, exported_pub_key, (u8)(t->pubkeylen));
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
225
ret = are_equal(t->pubkey, &exported_pub_key, (u8)(t->pubkeylen), &check); OPENMP_EG(ret, err);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
232
ret = ec_verify(t->sig, (u8)(t->siglen), &pub_key, t->msg, t->msglen, t->sig_alg, t->hash, NULL, 0);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
234
if ((t->result == 1) && ret) {
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
235
ext_printf("[-] Error when verifying EDDSA test %d / %s (verification NOK while must be valid)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
236
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
241
if ((t->result == -1) && !ret) {
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
242
ext_printf("[-] Error when verifying EDDSA test %d / %s (verification OK while must be invalid)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
243
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
248
if (t->result == 0) {
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
257
ext_printf("\t[~] EDDSA test %d / %s (verification %d while acceptable)\n", i, t->name, ret);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
258
ext_printf("\t (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
290
const wycheproof_xdh_test *t = wycheproof_xdh_all_tests[i];
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
296
if (t == NULL){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
305
if(t->xdh_alg == X25519){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
306
OPENMP_MUST_HAVE(((t->curve) == &wei25519_str_params), ret, err);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
311
if(t->xdh_alg == X448){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
312
OPENMP_MUST_HAVE(((t->curve) == &wei448_str_params), ret, err);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
322
if(t->privkeylen != alglen){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
323
if(t->result != -1){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
324
ext_printf("[-] Error: XDH tests error, unkown private key length %d with valid result\n", t->privkeylen);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
325
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
333
if(t->peerpubkeylen != alglen){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
334
if(t->result != -1){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
335
ext_printf("[-] Error: XDH tests error, unkown peer public key length %d with valid result\n", t->peerpubkeylen);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
336
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
344
if(t->sharedsecretlen != alglen){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
345
if(t->result != -1){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
346
ext_printf("[-] Error: XDH tests error, unkown shared secret length %d with valid result\n", t->sharedsecretlen);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
347
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
355
if((t->ourpubkeylen != 0) && (t->ourpubkeylen != alglen)){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
356
if(t->result != -1){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
357
ext_printf("[-] Error: XDH tests error, unkown our public key length %d with valid result\n", t->ourpubkeylen);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
358
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
367
if(t->xdh_alg == X25519){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
369
ret = x25519_init_pub_key(t->privkey, pubkey_check);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
372
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
376
if(t->ourpubkeylen != 0){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
378
ret = are_equal(t->ourpubkey, pubkey_check, alglen, &check); OPENMP_EG(ret, err);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
381
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
387
ret = x25519_derive_secret(t->privkey, t->peerpubkey, sharedsecret_check);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
390
if(t->result == 0){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
394
ext_printf("\t[~] XDH test %d / %s (shared secret derivation NOK while acceptable)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
395
ext_printf("\t (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
401
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
405
if(t->result == -1){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
407
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
412
ret = are_equal(t->sharedsecret, sharedsecret_check, alglen, &check); OPENMP_EG(ret, err);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
415
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
422
if(t->xdh_alg == X448){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
424
ret = x448_init_pub_key(t->privkey, pubkey_check);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
427
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
431
if(t->ourpubkeylen != 0){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
433
ret = are_equal(t->ourpubkey, pubkey_check, alglen, &check); OPENMP_EG(ret, err);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
436
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
442
ret = x448_derive_secret(t->privkey, t->peerpubkey, sharedsecret_check);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
445
if(t->result == 0){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
449
ext_printf("\t[~] XDH test %d / %s (shared secret derivation NOK while acceptable)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
450
ext_printf("\t (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
456
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
459
if(t->result == -1){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
461
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
466
ret = are_equal(t->sharedsecret, sharedsecret_check, alglen, &check); OPENMP_EG(ret, err);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
469
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
477
if (t->result == 0) {
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
481
ext_printf("\t[~] XDH test %d / %s (shared secret OK while acceptable)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
482
ext_printf("\t (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
554
const wycheproof_ecdh_test *t = wycheproof_ecdh_all_tests[i];
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
566
if (t == NULL){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
583
ret = import_params(¶ms, t->curve);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
608
ret = ec_priv_key_import_from_buf(&priv_key, ¶ms, t->privkey, (u8)(t->privkeylen), t->ecdh_alg);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
615
if(t->ourpubkeylen != 0){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
617
ret = ec_pub_key_import_from_aff_buf(&ourpub_key, ¶ms, t->ourpubkey, (u8)(t->ourpubkeylen), t->ecdh_alg);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
618
if (ret && (t->result >= 0)) {
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
620
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
647
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
654
if(t->compressed > 0){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
656
ret = uncompress_ecc_point(¶ms, t->peerpubkey, (u8)(t->peerpubkeylen), serialized_pub_key, serialized_pub_key_size, t->compressed);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
657
if ((ret) && (t->result >= 0)) {
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
659
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
666
if((t->peerpubkeylen != serialized_pub_key_size) && (t->result >= 0)){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
667
ext_printf("[-] Error: ECDH tests error when checking our public key size, got %d instead of %d\n", t->peerpubkeylen, serialized_pub_key_size);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
668
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
672
ret = local_memcpy(serialized_pub_key, t->peerpubkey, serialized_pub_key_size); OPENMP_EG(ret, err);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
676
if ((ret) && (t->result >= 0)) {
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
678
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
682
if((!ret) && (t->result == -1)){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
684
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
688
if(t->result == -1){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
691
if(sharedsecretsize != t->sharedsecretlen){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
692
ext_printf("Error: ECDH tests error, bad shared secret size %d instead of %d\n", sharedsecretsize, t->sharedsecretlen);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
693
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
698
ret = are_equal(sharedsecret_check, t->sharedsecret, sharedsecretsize, &check); OPENMP_EG(ret, err);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
701
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
706
if (t->result == 0) {
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
710
ext_printf("\t[~] ECDH test %d / %s (shared secret OK while acceptable)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
711
ext_printf("\t (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
743
const wycheproof_hmac_test *t = wycheproof_hmac_all_tests[i];
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
747
if (t == NULL){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
758
ret = hmac(t->key, t->keylen, t->hash, t->msg, t->msglen, hmac_res, &hlen);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
761
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
765
if((hlen < t->taglen) && (t->result >= 0)){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
766
ext_printf("[-] Error: HMAC tests error: size error %d < %d\n", hlen, t->taglen);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
767
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
772
ret = are_equal(hmac_res, t->tag, t->taglen, &check); OPENMP_EG(ret, err);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
773
if((!check) && (t->result >= 0)){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
775
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
780
if (t->result == 0) {
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
784
ext_printf("\t[~] HMAC test %d / %s (shared secret OK while acceptable)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
785
ext_printf("\t (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
85
const wycheproof_ecdsa_test *t = wycheproof_ecdsa_all_tests[i];
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
89
if (t == NULL){
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
98
ret = import_params(¶ms, t->curve);
crypto/openssh/audit.c
150
const char *t = li->line ? li->line : "(no tty)";
crypto/openssh/audit.c
153
audit_username(), t);
crypto/openssh/audit.c
166
const char *t = li->line ? li->line : "(no tty)";
crypto/openssh/audit.c
169
audit_username(), t);
crypto/openssh/auth2-chall.c
156
char *t;
crypto/openssh/auth2-chall.c
182
t = kbdintctxt->devices;
crypto/openssh/auth2-chall.c
183
kbdintctxt->devices = t[len] ? xstrdup(t+len+1) : NULL;
crypto/openssh/auth2-chall.c
184
free(t);
crypto/openssh/ed25519.c
165
crypto_uint32 t;
crypto/openssh/ed25519.c
1663
fe25519_mul(&r->x, &p->x, &p->t);
crypto/openssh/ed25519.c
1665
fe25519_mul(&r->z, &p->z, &p->t);
crypto/openssh/ed25519.c
1671
fe25519_mul(&r->t, &p->x, &p->y);
crypto/openssh/ed25519.c
1686
fe25519_mul(&c, &r->t, &qt); /* C = T1*k*T2 */
crypto/openssh/ed25519.c
1694
fe25519_mul(&r->t, &e, &h);
crypto/openssh/ed25519.c
1699
fe25519 a, b, c, d, t;
crypto/openssh/ed25519.c
170
t = r->v[31] >> 7;
crypto/openssh/ed25519.c
1702
fe25519_sub(&t, &q->y, &q->x);
crypto/openssh/ed25519.c
1703
fe25519_mul(&a, &a, &t);
crypto/openssh/ed25519.c
1705
fe25519_add(&t, &q->x, &q->y);
crypto/openssh/ed25519.c
1706
fe25519_mul(&b, &b, &t);
crypto/openssh/ed25519.c
1707
fe25519_mul(&c, &p->t, &q->t); /* C = T1*k*T2 */
crypto/openssh/ed25519.c
1712
fe25519_sub(&r->t, &d, &c); /* F = D-C */
crypto/openssh/ed25519.c
172
t = times19(t);
crypto/openssh/ed25519.c
173
r->v[0] += t;
crypto/openssh/ed25519.c
1732
fe25519_sub(&r->t, &r->z, &c);
crypto/openssh/ed25519.c
176
t = r->v[i] >> 8;
crypto/openssh/ed25519.c
1761
static void choose_t(ge25519_aff *t, unsigned long long pos, signed char b)
crypto/openssh/ed25519.c
1765
*t = ge25519_base_multiples_affine[5*pos+0];
crypto/openssh/ed25519.c
1766
cmov_aff(t, &ge25519_base_multiples_affine[5*pos+1],equal(b,1) | equal(b,-1));
crypto/openssh/ed25519.c
1767
cmov_aff(t, &ge25519_base_multiples_affine[5*pos+2],equal(b,2) | equal(b,-2));
crypto/openssh/ed25519.c
1768
cmov_aff(t, &ge25519_base_multiples_affine[5*pos+3],equal(b,3) | equal(b,-3));
crypto/openssh/ed25519.c
1769
cmov_aff(t, &ge25519_base_multiples_affine[5*pos+4],equal(b,-4));
crypto/openssh/ed25519.c
177
r->v[i+1] += t;
crypto/openssh/ed25519.c
1770
fe25519_neg(&v, &t->x);
crypto/openssh/ed25519.c
1771
fe25519_cmov(&t->x, &v, negative(b));
crypto/openssh/ed25519.c
1779
fe25519_setzero(&r->t);
crypto/openssh/ed25519.c
1790
fe25519 t, chk, num, den, den2, den4, den6;
crypto/openssh/ed25519.c
1804
fe25519_mul(&t, &den6, &num);
crypto/openssh/ed25519.c
1805
fe25519_mul(&t, &t, &den);
crypto/openssh/ed25519.c
1807
fe25519_pow2523(&t, &t);
crypto/openssh/ed25519.c
1809
fe25519_mul(&t, &t, &num);
crypto/openssh/ed25519.c
1810
fe25519_mul(&t, &t, &den);
crypto/openssh/ed25519.c
1811
fe25519_mul(&t, &t, &den);
crypto/openssh/ed25519.c
1812
fe25519_mul(&r->x, &t, &den);
crypto/openssh/ed25519.c
1830
fe25519_mul(&r->t, &r->x, &r->y);
crypto/openssh/ed25519.c
185
crypto_uint32 t;
crypto/openssh/ed25519.c
190
t = r->v[31] >> 7;
crypto/openssh/ed25519.c
1901
ge25519_aff t;
crypto/openssh/ed25519.c
1906
fe25519_mul(&r->t, &r->x, &r->y);
crypto/openssh/ed25519.c
1909
choose_t(&t, (unsigned long long) i, b[i]);
crypto/openssh/ed25519.c
1910
ge25519_mixadd2(r, &t);
crypto/openssh/ed25519.c
192
t = times19(t);
crypto/openssh/ed25519.c
193
r->v[0] += t;
crypto/openssh/ed25519.c
196
t = r->v[i] >> 8;
crypto/openssh/ed25519.c
197
r->v[i+1] += t;
crypto/openssh/ed25519.c
241
fe25519 t = *x;
crypto/openssh/ed25519.c
242
fe25519_freeze(&t);
crypto/openssh/ed25519.c
243
r = fe25519_equal(t.v[0],0);
crypto/openssh/ed25519.c
245
r &= fe25519_equal(t.v[i],0);
crypto/openssh/ed25519.c
271
fe25519 t = *x;
crypto/openssh/ed25519.c
272
fe25519_freeze(&t);
crypto/openssh/ed25519.c
273
return t.v[0] & 1;
crypto/openssh/ed25519.c
291
fe25519 t;
crypto/openssh/ed25519.c
293
for(i=0;i<32;i++) t.v[i]=x->v[i];
crypto/openssh/ed25519.c
295
fe25519_sub(r, r, &t);
crypto/openssh/ed25519.c
308
crypto_uint32 t[32];
crypto/openssh/ed25519.c
309
t[0] = x->v[0] + 0x1da;
crypto/openssh/ed25519.c
310
t[31] = x->v[31] + 0xfe;
crypto/openssh/ed25519.c
311
for(i=1;i<31;i++) t[i] = x->v[i] + 0x1fe;
crypto/openssh/ed25519.c
312
for(i=0;i<32;i++) r->v[i] = t[i] - y->v[i];
crypto/openssh/ed25519.c
319
crypto_uint32 t[63];
crypto/openssh/ed25519.c
320
for(i=0;i<63;i++)t[i] = 0;
crypto/openssh/ed25519.c
324
t[i+j] += x->v[i] * y->v[j];
crypto/openssh/ed25519.c
327
r->v[i-32] = t[i-32] + times38(t[i]);
crypto/openssh/ed25519.c
328
r->v[31] = t[31]; /* result now in r[0]...r[31] */
crypto/openssh/ed25519.c
415
fe25519 t;
crypto/openssh/ed25519.c
419
/* 4 */ fe25519_square(&t,&z2);
crypto/openssh/ed25519.c
420
/* 8 */ fe25519_square(&t,&t);
crypto/openssh/ed25519.c
421
/* 9 */ fe25519_mul(&z9,&t,x);
crypto/openssh/ed25519.c
423
/* 22 */ fe25519_square(&t,&z11);
crypto/openssh/ed25519.c
424
/* 2^5 - 2^0 = 31 */ fe25519_mul(&z2_5_0,&t,&z9);
crypto/openssh/ed25519.c
426
/* 2^6 - 2^1 */ fe25519_square(&t,&z2_5_0);
crypto/openssh/ed25519.c
427
/* 2^10 - 2^5 */ for (i = 1;i < 5;i++) { fe25519_square(&t,&t); }
crypto/openssh/ed25519.c
428
/* 2^10 - 2^0 */ fe25519_mul(&z2_10_0,&t,&z2_5_0);
crypto/openssh/ed25519.c
430
/* 2^11 - 2^1 */ fe25519_square(&t,&z2_10_0);
crypto/openssh/ed25519.c
431
/* 2^20 - 2^10 */ for (i = 1;i < 10;i++) { fe25519_square(&t,&t); }
crypto/openssh/ed25519.c
432
/* 2^20 - 2^0 */ fe25519_mul(&z2_20_0,&t,&z2_10_0);
crypto/openssh/ed25519.c
434
/* 2^21 - 2^1 */ fe25519_square(&t,&z2_20_0);
crypto/openssh/ed25519.c
435
/* 2^40 - 2^20 */ for (i = 1;i < 20;i++) { fe25519_square(&t,&t); }
crypto/openssh/ed25519.c
436
/* 2^40 - 2^0 */ fe25519_mul(&t,&t,&z2_20_0);
crypto/openssh/ed25519.c
438
/* 2^41 - 2^1 */ fe25519_square(&t,&t);
crypto/openssh/ed25519.c
439
/* 2^50 - 2^10 */ for (i = 1;i < 10;i++) { fe25519_square(&t,&t); }
crypto/openssh/ed25519.c
440
/* 2^50 - 2^0 */ fe25519_mul(&z2_50_0,&t,&z2_10_0);
crypto/openssh/ed25519.c
442
/* 2^51 - 2^1 */ fe25519_square(&t,&z2_50_0);
crypto/openssh/ed25519.c
443
/* 2^100 - 2^50 */ for (i = 1;i < 50;i++) { fe25519_square(&t,&t); }
crypto/openssh/ed25519.c
444
/* 2^100 - 2^0 */ fe25519_mul(&z2_100_0,&t,&z2_50_0);
crypto/openssh/ed25519.c
446
/* 2^101 - 2^1 */ fe25519_square(&t,&z2_100_0);
crypto/openssh/ed25519.c
447
/* 2^200 - 2^100 */ for (i = 1;i < 100;i++) { fe25519_square(&t,&t); }
crypto/openssh/ed25519.c
448
/* 2^200 - 2^0 */ fe25519_mul(&t,&t,&z2_100_0);
crypto/openssh/ed25519.c
450
/* 2^201 - 2^1 */ fe25519_square(&t,&t);
crypto/openssh/ed25519.c
451
/* 2^250 - 2^50 */ for (i = 1;i < 50;i++) { fe25519_square(&t,&t); }
crypto/openssh/ed25519.c
452
/* 2^250 - 2^0 */ fe25519_mul(&t,&t,&z2_50_0);
crypto/openssh/ed25519.c
454
/* 2^251 - 2^1 */ fe25519_square(&t,&t);
crypto/openssh/ed25519.c
455
/* 2^252 - 2^2 */ fe25519_square(&t,&t);
crypto/openssh/ed25519.c
456
/* 2^252 - 3 */ fe25519_mul(r,&t,x);
crypto/openssh/ed25519.c
539
unsigned char t[32];
crypto/openssh/ed25519.c
545
t[i] = r->v[i]-pb+(b<<8);
crypto/openssh/ed25519.c
550
r->v[i] ^= mask & (r->v[i] ^ t[i]);
crypto/openssh/ed25519.c
608
crypto_uint32 t[64];
crypto/openssh/ed25519.c
609
for(i=0;i<32;i++) t[i] = x[i];
crypto/openssh/ed25519.c
610
for(i=32;i<64;++i) t[i] = 0;
crypto/openssh/ed25519.c
611
barrett_reduce(r, t);
crypto/openssh/ed25519.c
618
crypto_uint32 t[64];
crypto/openssh/ed25519.c
619
for(i=0;i<64;i++) t[i] = x[i];
crypto/openssh/ed25519.c
620
barrett_reduce(r, t);
crypto/openssh/ed25519.c
650
crypto_uint32 t[64];
crypto/openssh/ed25519.c
651
for(i=0;i<64;i++)t[i] = 0;
crypto/openssh/ed25519.c
655
t[i+j] += x->v[i] * y->v[j];
crypto/openssh/ed25519.c
660
carry = t[i] >> 8;
crypto/openssh/ed25519.c
661
t[i+1] += carry;
crypto/openssh/ed25519.c
662
t[i] &= 0xff;
crypto/openssh/ed25519.c
665
barrett_reduce(r, t);
crypto/openssh/ed25519.c
739
fe25519 t;
crypto/openssh/ed25519.c
780
fe25519 t;
crypto/openssh/krl.c
813
time_t t;
crypto/openssh/krl.c
816
t = timestamp;
crypto/openssh/krl.c
817
tm = localtime(&t);
crypto/openssh/libcrux_internal.h
11581
t =
crypto/openssh/libcrux_internal.h
11585
simd_unit->data[index + step] = simd_unit->data[index] - t;
crypto/openssh/libcrux_internal.h
11586
simd_unit->data[index] += t;
crypto/openssh/libcrux_internal.h
146
constexpr T(int t, V U::*m, type_identity_t<V> v) : tag(t) { \
crypto/openssh/libcrux_internal.h
15033
Eurydice_dst_ref_shared_44 t,
crypto/openssh/libcrux_internal.h
15045
&t.ptr[i1].data[j],
crypto/openssh/libcrux_internal.h
15390
Eurydice_dst_ref_mut_44 t,
crypto/openssh/libcrux_internal.h
15394
for (size_t i0 = (size_t)0U; i0 < t.meta; i0++)
crypto/openssh/libcrux_internal.h
15400
libcrux_ml_dsa_simd_portable_power2round_65(&t.ptr[i1].data[j], &t1.ptr[i1].data[j]);
crypto/openssh/libcrux_internal.h
155
#define LowStar_Ignore_ignore(e, t, _ret_t) ((void)e)
crypto/openssh/libcrux_internal.h
168
#define Eurydice_sizeof(t) sizeof(t)
crypto/openssh/libcrux_internal.h
170
#define Eurydice_alignof(t) alignof(t)
crypto/openssh/libcrux_internal.h
21258
t =
crypto/openssh/libcrux_internal.h
21264
libcrux_secrets_int_as_i16_36(t >> (uint32_t)LIBCRUX_ML_KEM_VECTOR_TRAITS_BARRETT_SHIFT);
crypto/openssh/libcrux_internal.h
21412
Eurydice_arr_d6 t = libcrux_ml_kem_vector_portable_arithmetic_shift_right_ef(a);
crypto/openssh/libcrux_internal.h
21415
libcrux_ml_kem_vector_portable_arithmetic_bitwise_and_with_constant(t,
crypto/openssh/libcrux_internal.h
21536
t =
crypto/openssh/libcrux_internal.h
21539
int16_t a_minus_t = vec->data[i] - t;
crypto/openssh/libcrux_internal.h
21540
int16_t a_plus_t = vec->data[i] + t;
crypto/openssh/libcrux_internal.h
216
#define Eurydice_array_repeat(dst, len, init, t) \
crypto/openssh/libcrux_internal.h
220
#define Eurydice_slice_copy(dst, src, t) \
crypto/openssh/libcrux_internal.h
221
memcpy(dst.ptr, src.ptr, dst.meta * sizeof(t))
crypto/openssh/libcrux_internal.h
223
#define core_array___T__N___as_slice(len_, ptr_, t, ret_t) \
crypto/openssh/libcrux_internal.h
22713
t = libcrux_ml_kem_vector_portable_montgomery_multiply_by_constant_b8(b, zeta_r);
crypto/openssh/libcrux_internal.h
22714
b = libcrux_ml_kem_vector_portable_sub_b8(a, &t);
crypto/openssh/libcrux_internal.h
22715
a = libcrux_ml_kem_vector_portable_add_b8(a, &t);
crypto/openssh/libcrux_internal.h
236
#define Eurydice_array_eq(sz, a1, a2, t) \
crypto/openssh/libcrux_internal.h
237
(memcmp((a1)->data, (a2)->data, sz * sizeof(t)) == 0)
crypto/openssh/libcrux_internal.h
239
#define Eurydice_array_eq_slice_shared(sz, a1, s2, t, _) \
crypto/openssh/libcrux_internal.h
240
(memcmp((a1)->data, (s2)->ptr, sz * sizeof(t)) == 0)
crypto/openssh/libcrux_internal.h
241
#define Eurydice_array_eq_slice_mut(sz, a1, s2, t, _) \
crypto/openssh/libcrux_internal.h
242
Eurydice_array_eq_slice_shared(sz, a1, s2, t, _)
crypto/openssh/libcrux_internal.h
24388
t = libcrux_ml_kem_vector_portable_multiply_by_constant_b8(re->data[j + step], -1600);
crypto/openssh/libcrux_internal.h
24389
re->data[j + step] = libcrux_ml_kem_vector_portable_sub_b8(re->data[j], &t);
crypto/openssh/libcrux_internal.h
24390
Eurydice_arr_d6 uu____1 = libcrux_ml_kem_vector_portable_add_b8(re->data[j], &t);
crypto/openssh/libcrux_internal.h
246
sz, a1, a2, t, _, _ret_t) \
crypto/openssh/libcrux_internal.h
247
Eurydice_array_eq(sz, a1, a2, t)
crypto/openssh/libcrux_internal.h
249
sz, a1, a2, t, _, _ret_t) \
crypto/openssh/libcrux_internal.h
250
Eurydice_array_eq(sz, a1, ((a2)->ptr), t)
crypto/openssh/libcrux_internal.h
26063
t =
crypto/openssh/libcrux_internal.h
26080
return Eurydice_array_eq_slice_shared((size_t)32U, &t, &expected, uint8_t, bool);
crypto/openssh/libcrux_internal.h
4580
libcrux_sha3_generic_keccak_rho_0_80_71(Eurydice_arr_7c *self, Eurydice_arr_84 t)
crypto/openssh/libcrux_internal.h
4587
t.data[0U]));
crypto/openssh/libcrux_internal.h
4593
t.data[0U]));
crypto/openssh/libcrux_internal.h
4599
t.data[0U]));
crypto/openssh/libcrux_internal.h
4605
t.data[0U]));
crypto/openssh/libcrux_internal.h
4611
t.data[0U]));
crypto/openssh/libcrux_internal.h
4803
libcrux_sha3_generic_keccak_rho_1_80_71(Eurydice_arr_7c *self, Eurydice_arr_84 t)
crypto/openssh/libcrux_internal.h
4810
t.data[1U]));
crypto/openssh/libcrux_internal.h
4816
t.data[1U]));
crypto/openssh/libcrux_internal.h
4822
t.data[1U]));
crypto/openssh/libcrux_internal.h
4828
t.data[1U]));
crypto/openssh/libcrux_internal.h
4834
t.data[1U]));
crypto/openssh/libcrux_internal.h
5037
libcrux_sha3_generic_keccak_rho_2_80_71(Eurydice_arr_7c *self, Eurydice_arr_84 t)
crypto/openssh/libcrux_internal.h
5044
t.data[2U]));
crypto/openssh/libcrux_internal.h
5050
t.data[2U]));
crypto/openssh/libcrux_internal.h
5056
t.data[2U]));
crypto/openssh/libcrux_internal.h
5062
t.data[2U]));
crypto/openssh/libcrux_internal.h
5068
t.data[2U]));
crypto/openssh/libcrux_internal.h
5271
libcrux_sha3_generic_keccak_rho_3_80_71(Eurydice_arr_7c *self, Eurydice_arr_84 t)
crypto/openssh/libcrux_internal.h
5278
t.data[3U]));
crypto/openssh/libcrux_internal.h
5284
t.data[3U]));
crypto/openssh/libcrux_internal.h
5290
t.data[3U]));
crypto/openssh/libcrux_internal.h
5296
t.data[3U]));
crypto/openssh/libcrux_internal.h
5302
t.data[3U]));
crypto/openssh/libcrux_internal.h
535
#define Eurydice_range_iter_next(iter_ptr, t, ret_t) \
crypto/openssh/libcrux_internal.h
546
#define Eurydice_into_iter(x, t, _ret_t, _) (x)
crypto/openssh/libcrux_internal.h
5505
libcrux_sha3_generic_keccak_rho_4_80_71(Eurydice_arr_7c *self, Eurydice_arr_84 t)
crypto/openssh/libcrux_internal.h
5512
t.data[4U]));
crypto/openssh/libcrux_internal.h
5518
t.data[4U]));
crypto/openssh/libcrux_internal.h
5524
t.data[4U]));
crypto/openssh/libcrux_internal.h
5530
t.data[4U]));
crypto/openssh/libcrux_internal.h
5536
t.data[4U]));
crypto/openssh/libcrux_internal.h
5549
libcrux_sha3_generic_keccak_rho_80_71(Eurydice_arr_7c *self, Eurydice_arr_84 t)
crypto/openssh/libcrux_internal.h
5551
libcrux_sha3_generic_keccak_rho_0_80_71(self, t);
crypto/openssh/libcrux_internal.h
5552
libcrux_sha3_generic_keccak_rho_1_80_71(self, t);
crypto/openssh/libcrux_internal.h
5553
libcrux_sha3_generic_keccak_rho_2_80_71(self, t);
crypto/openssh/libcrux_internal.h
5554
libcrux_sha3_generic_keccak_rho_3_80_71(self, t);
crypto/openssh/libcrux_internal.h
5555
libcrux_sha3_generic_keccak_rho_4_80_71(self, t);
crypto/openssh/libcrux_internal.h
558
#define core_slice___Slice_T___as_mut_ptr(x, t, _) (x.ptr)
crypto/openssh/libcrux_internal.h
559
#define core_mem_size_of(t, _) (sizeof(t))
crypto/openssh/libcrux_internal.h
5833
Eurydice_arr_84 t = libcrux_sha3_generic_keccak_theta_80_71(self);
crypto/openssh/libcrux_internal.h
5834
libcrux_sha3_generic_keccak_rho_80_71(self, t);
crypto/openssh/libcrux_internal.h
592
#define Eurydice_box_new(init, t, t_dst) \
crypto/openssh/libcrux_internal.h
593
((t_dst)(malloc_and_init(sizeof(t), (char *)(&init))))
crypto/openssh/libcrux_internal.h
596
#define Eurydice_empty_array(dummy, t, t_dst) ((t_dst){.data = {}})
crypto/openssh/libcrux_internal.h
598
#define Eurydice_box_new_array(len, ptr, t, t_dst) \
crypto/openssh/libcrux_internal.h
599
((t_dst)(malloc_and_init(len * sizeof(t), (char *)(ptr))))
crypto/openssh/libcrux_internal.h
603
#define alloc_boxed__alloc__boxed__Box_T___try_new(init, t, t_ret) \
crypto/openssh/libcrux_internal.h
605
.f0 = (t *)malloc_and_init(sizeof(t), (char *)(&init))})
crypto/openssh/libcrux_internal.h
9893
t =
crypto/openssh/libcrux_internal.h
9900
t);
crypto/openssh/libcrux_internal.h
9957
libcrux_ml_dsa_simd_portable_arithmetic_power2round_element(int32_t t)
crypto/openssh/libcrux_internal.h
9959
int32_t t2 = t + (t >> 31U & LIBCRUX_ML_DSA_SIMD_TRAITS_FIELD_MODULUS);
crypto/openssh/loginrec.c
1715
time_t t;
crypto/openssh/loginrec.c
1743
time(&t);
crypto/openssh/loginrec.c
1744
li.tv_sec = t > 0 ? (unsigned long)t : 0;
crypto/openssh/misc.c
2605
format_absolute_time(uint64_t t, char *buf, size_t len)
crypto/openssh/misc.c
2607
time_t tt = t > SSH_TIME_T_MAX ? SSH_TIME_T_MAX : t;
crypto/openssh/misc.c
3078
struct timespec now, t;
crypto/openssh/misc.c
3087
timespecsub(when, &now, &t);
crypto/openssh/misc.c
3088
ptimeout_deadline_tsp(pt, &t);
crypto/openssh/misc.c
3096
struct timespec t;
crypto/openssh/misc.c
3098
t.tv_sec = when;
crypto/openssh/misc.c
3099
t.tv_nsec = 0;
crypto/openssh/misc.c
3100
ptimeout_deadline_monotime_tsp(pt, &t);
crypto/openssh/misc.c
73
char *t = s;
crypto/openssh/misc.c
74
while (*t) {
crypto/openssh/misc.c
75
if (*t == '\n' || *t == '\r') {
crypto/openssh/misc.c
751
fmt_timeframe(time_t t)
crypto/openssh/misc.c
76
*t = '\0';
crypto/openssh/misc.c
763
week = t;
crypto/openssh/misc.c
79
t++;
crypto/openssh/misc.h
87
const char *fmt_timeframe(time_t t);
crypto/openssh/moduli.c
241
uint32_t j, r, s, t;
crypto/openssh/moduli.c
312
t = 2 * i + 3;
crypto/openssh/moduli.c
315
for (j = i + t; j < tinybits; j += t)
crypto/openssh/moduli.c
318
sieve_large(t);
crypto/openssh/moduli.c
333
t = 2 * i + 3;
crypto/openssh/moduli.c
334
r = smallbase % t;
crypto/openssh/moduli.c
340
s = t - r;
crypto/openssh/moduli.c
349
s += t; /* Make smallbase+s odd, and s even */
crypto/openssh/moduli.c
352
for (s /= 2; s < smallbits; s += t)
crypto/openssh/openbsd-compat/bsd-nextstep.c
100
t->c_ispeed = speed;
crypto/openssh/openbsd-compat/bsd-nextstep.c
47
tcgetattr(int fd, struct termios *t)
crypto/openssh/openbsd-compat/bsd-nextstep.c
49
return (ioctl(fd, TIOCGETA, t));
crypto/openssh/openbsd-compat/bsd-nextstep.c
53
tcsetattr(int fd, int opt, const struct termios *t)
crypto/openssh/openbsd-compat/bsd-nextstep.c
58
localterm = *t;
crypto/openssh/openbsd-compat/bsd-nextstep.c
60
t = &localterm;
crypto/openssh/openbsd-compat/bsd-nextstep.c
64
return (ioctl(fd, TIOCSETA, t));
crypto/openssh/openbsd-compat/bsd-nextstep.c
66
return (ioctl(fd, TIOCSETAW, t));
crypto/openssh/openbsd-compat/bsd-nextstep.c
68
return (ioctl(fd, TIOCSETAF, t));
crypto/openssh/openbsd-compat/bsd-nextstep.c
80
speed_t cfgetospeed(const struct termios *t)
crypto/openssh/openbsd-compat/bsd-nextstep.c
82
return (t->c_ospeed);
crypto/openssh/openbsd-compat/bsd-nextstep.c
85
speed_t cfgetispeed(const struct termios *t)
crypto/openssh/openbsd-compat/bsd-nextstep.c
87
return (t->c_ispeed);
crypto/openssh/openbsd-compat/bsd-nextstep.c
91
cfsetospeed(struct termios *t,int speed)
crypto/openssh/openbsd-compat/bsd-nextstep.c
93
t->c_ospeed = speed;
crypto/openssh/openbsd-compat/bsd-nextstep.c
98
cfsetispeed(struct termios *t, int speed)
crypto/openssh/poly1305.c
38
uint64_t t[5];
crypto/openssh/poly1305.c
88
t[0] = mul32x32_64(h0,r0) + mul32x32_64(h1,s4) + mul32x32_64(h2,s3) + mul32x32_64(h3,s2) + mul32x32_64(h4,s1);
crypto/openssh/poly1305.c
89
t[1] = mul32x32_64(h0,r1) + mul32x32_64(h1,r0) + mul32x32_64(h2,s4) + mul32x32_64(h3,s3) + mul32x32_64(h4,s2);
crypto/openssh/poly1305.c
90
t[2] = mul32x32_64(h0,r2) + mul32x32_64(h1,r1) + mul32x32_64(h2,r0) + mul32x32_64(h3,s4) + mul32x32_64(h4,s3);
crypto/openssh/poly1305.c
91
t[3] = mul32x32_64(h0,r3) + mul32x32_64(h1,r2) + mul32x32_64(h2,r1) + mul32x32_64(h3,r0) + mul32x32_64(h4,s4);
crypto/openssh/poly1305.c
92
t[4] = mul32x32_64(h0,r4) + mul32x32_64(h1,r3) + mul32x32_64(h2,r2) + mul32x32_64(h3,r1) + mul32x32_64(h4,r0);
crypto/openssh/poly1305.c
94
h0 = (uint32_t)t[0] & 0x3ffffff; c = (t[0] >> 26);
crypto/openssh/poly1305.c
95
t[1] += c; h1 = (uint32_t)t[1] & 0x3ffffff; b = (uint32_t)(t[1] >> 26);
crypto/openssh/poly1305.c
96
t[2] += b; h2 = (uint32_t)t[2] & 0x3ffffff; b = (uint32_t)(t[2] >> 26);
crypto/openssh/poly1305.c
97
t[3] += b; h3 = (uint32_t)t[3] & 0x3ffffff; b = (uint32_t)(t[3] >> 26);
crypto/openssh/poly1305.c
98
t[4] += b; h4 = (uint32_t)t[4] & 0x3ffffff; b = (uint32_t)(t[4] >> 26);
crypto/openssh/regress/netcat.c
1225
} *t, toskeywords[] = {
crypto/openssh/regress/netcat.c
1256
for (t = toskeywords; t->keyword != NULL; t++) {
crypto/openssh/regress/netcat.c
1257
if (strcmp(s, t->keyword) == 0) {
crypto/openssh/regress/netcat.c
1258
*val = t->val;
crypto/openssh/regress/unittests/misc/test_convtime.c
100
ASSERT_INT_EQ(parse_absolute_time("20000101122345", &t), 0);
crypto/openssh/regress/unittests/misc/test_convtime.c
103
ASSERT_INT_EQ(parse_absolute_time("20000101Z", &t), 0);
crypto/openssh/regress/unittests/misc/test_convtime.c
104
ASSERT_U64_EQ(t, 946684800);
crypto/openssh/regress/unittests/misc/test_convtime.c
105
ASSERT_INT_EQ(parse_absolute_time("200001011223Z", &t), 0);
crypto/openssh/regress/unittests/misc/test_convtime.c
106
ASSERT_U64_EQ(t, 946729380);
crypto/openssh/regress/unittests/misc/test_convtime.c
107
ASSERT_INT_EQ(parse_absolute_time("20000101122345Z", &t), 0);
crypto/openssh/regress/unittests/misc/test_convtime.c
108
ASSERT_U64_EQ(t, 946729425);
crypto/openssh/regress/unittests/misc/test_convtime.c
109
ASSERT_INT_EQ(parse_absolute_time("20000101UTC", &t), 0);
crypto/openssh/regress/unittests/misc/test_convtime.c
110
ASSERT_U64_EQ(t, 946684800);
crypto/openssh/regress/unittests/misc/test_convtime.c
111
ASSERT_INT_EQ(parse_absolute_time("200001011223UTC", &t), 0);
crypto/openssh/regress/unittests/misc/test_convtime.c
112
ASSERT_U64_EQ(t, 946729380);
crypto/openssh/regress/unittests/misc/test_convtime.c
113
ASSERT_INT_EQ(parse_absolute_time("20000101122345UTC", &t), 0);
crypto/openssh/regress/unittests/misc/test_convtime.c
114
ASSERT_U64_EQ(t, 946729425);
crypto/openssh/regress/unittests/misc/test_convtime.c
117
ASSERT_INT_EQ(parse_absolute_time("20001301", &t),
crypto/openssh/regress/unittests/misc/test_convtime.c
119
ASSERT_INT_EQ(parse_absolute_time("20000001", &t),
crypto/openssh/regress/unittests/misc/test_convtime.c
122
ASSERT_INT_EQ(parse_absolute_time("2", &t),
crypto/openssh/regress/unittests/misc/test_convtime.c
124
ASSERT_INT_EQ(parse_absolute_time("2000", &t),
crypto/openssh/regress/unittests/misc/test_convtime.c
126
ASSERT_INT_EQ(parse_absolute_time("20000", &t),
crypto/openssh/regress/unittests/misc/test_convtime.c
128
ASSERT_INT_EQ(parse_absolute_time("200001", &t),
crypto/openssh/regress/unittests/misc/test_convtime.c
130
ASSERT_INT_EQ(parse_absolute_time("2000010", &t),
crypto/openssh/regress/unittests/misc/test_convtime.c
132
ASSERT_INT_EQ(parse_absolute_time("200001010", &t),
crypto/openssh/regress/unittests/misc/test_convtime.c
135
ASSERT_INT_EQ(parse_absolute_time("20000199", &t),
crypto/openssh/regress/unittests/misc/test_convtime.c
137
ASSERT_INT_EQ(parse_absolute_time("200001019900", &t),
crypto/openssh/regress/unittests/misc/test_convtime.c
139
ASSERT_INT_EQ(parse_absolute_time("200001010099", &t),
crypto/openssh/regress/unittests/misc/test_convtime.c
141
ASSERT_INT_EQ(parse_absolute_time("20000101000099", &t),
crypto/openssh/regress/unittests/misc/test_convtime.c
144
ASSERT_INT_EQ(parse_absolute_time("20000101ZZ", &t),
crypto/openssh/regress/unittests/misc/test_convtime.c
146
ASSERT_INT_EQ(parse_absolute_time("20000101PDT", &t),
crypto/openssh/regress/unittests/misc/test_convtime.c
148
ASSERT_INT_EQ(parse_absolute_time("20000101U", &t),
crypto/openssh/regress/unittests/misc/test_convtime.c
150
ASSERT_INT_EQ(parse_absolute_time("20000101UTCUTC", &t),
crypto/openssh/regress/unittests/misc/test_convtime.c
29
uint64_t t;
crypto/openssh/regress/unittests/misc/test_convtime.c
98
ASSERT_INT_EQ(parse_absolute_time("20000101", &t), 0);
crypto/openssh/regress/unittests/misc/test_convtime.c
99
ASSERT_INT_EQ(parse_absolute_time("200001011223", &t), 0);
crypto/openssh/sftp-client.c
2032
Attrib a, t, c;
crypto/openssh/sftp-client.c
2216
attrib_clear(&t);
crypto/openssh/sftp-client.c
2217
t.flags = SSH2_FILEXFER_ATTR_SIZE;
crypto/openssh/sftp-client.c
2218
t.size = highwater;
crypto/openssh/sftp-client.c
2219
sftp_fsetstat(conn, handle, handle_len, &t);
crypto/openssh/sftp-server.c
1005
time_t t = a.mtime;
crypto/openssh/sftp-server.c
1008
localtime(&t));
crypto/openssh/sftp-server.c
1062
time_t t = a.mtime;
crypto/openssh/sftp-server.c
1065
localtime(&t));
crypto/openssh/sftp-server.c
1486
time_t t = a.mtime;
crypto/openssh/sftp-server.c
1489
localtime(&t));
crypto/openssh/sftp.c
160
const int t; /* Completion type for the first argument */
crypto/openssh/sftp.c
2009
return cmds[i].t;
crypto/openssh/smult_curve25519_ref.c
113
unsigned int t;
crypto/openssh/smult_curve25519_ref.c
118
t = bminus1 & (r[j] ^ s[j]);
crypto/openssh/smult_curve25519_ref.c
119
p[j] = s[j] ^ t;
crypto/openssh/smult_curve25519_ref.c
120
q[j] = r[j] ^ t;
crypto/openssh/smult_curve25519_ref.c
139
unsigned int t[32];
crypto/openssh/smult_curve25519_ref.c
168
mult121665(t,s);
crypto/openssh/smult_curve25519_ref.c
169
add(u,t,b0);
crypto/openssh/sntrup761.c
1842
int sign, swap, t, i, loop, delta = 1;
crypto/openssh/sntrup761.c
1859
t = swap & (f[i] ^ g[i]);
crypto/openssh/sntrup761.c
1860
f[i] ^= t;
crypto/openssh/sntrup761.c
1861
g[i] ^= t;
crypto/openssh/sntrup761.c
1862
t = swap & (v[i] ^ r[i]);
crypto/openssh/sntrup761.c
1863
v[i] ^= t;
crypto/openssh/sntrup761.c
1864
r[i] ^= t;
crypto/openssh/sntrup761.c
1904
int swap, t, i, loop, delta = 1;
crypto/openssh/sntrup761.c
1921
t = swap & (f[i] ^ g[i]);
crypto/openssh/sntrup761.c
1922
f[i] ^= t;
crypto/openssh/sntrup761.c
1923
g[i] ^= t;
crypto/openssh/sntrup761.c
1924
t = swap & (v[i] ^ r[i]);
crypto/openssh/sntrup761.c
1925
v[i] ^= t;
crypto/openssh/sntrup761.c
1926
r[i] ^= t;
crypto/openssh/srclimit.c
215
expire_penalties_from_tree(double now, const char *t,
crypto/openssh/srclimit.c
229
fatal_f("internal error: %s penalty table corrupt", t);
crypto/openssh/srclimit.c
232
fatal_f("internal error: %s npenalties underflow", t);
crypto/openssh/srclimit.c
311
srclimit_early_expire_penalties_from_tree(const char *t,
crypto/openssh/srclimit.c
322
fatal_f("internal error: %s table corrupt (find)", t);
crypto/openssh/srclimit.c
325
debug3_f("%s overflow, remove %s", t, s);
crypto/openssh/srclimit.c
328
fatal_f("internal error: %s table corrupt (remove)", t);
crypto/openssh/srclimit.c
354
const char *reason = NULL, *t;
crypto/openssh/srclimit.c
420
t = addr->af == AF_INET ? "ipv4" : "ipv6";
crypto/openssh/srclimit.c
423
verbose_f("%s penalty table full, cannot penalise %s for %s", t,
crypto/openssh/srclimit.c
438
fatal_f("internal error: %s penalty tables corrupt", t);
crypto/openssh/srclimit.c
441
"%s: new %s %s penalty of %.3f seconds for %s", t,
crypto/openssh/srclimit.c
449
existing->active ? "active" : "inactive", t,
crypto/openssh/srclimit.c
453
fatal_f("internal error: %s penalty table corrupt (remove)", t);
crypto/openssh/srclimit.c
461
addrnetmask, t, existing->expiry - now, reason);
crypto/openssh/srclimit.c
469
fatal_f("internal error: %s penalty table corrupt (insert)", t);
crypto/openssh/srclimit.c
473
srclimit_penalty_info_for_tree(const char *t,
crypto/openssh/srclimit.c
482
logit("%zu active %s penalties", npenalties, t);
crypto/openssh/ssh-agent.c
715
u_char t, sig_follows;
crypto/openssh/ssh-agent.c
734
if ((r = sshbuf_get_u8(b, &t)) != 0 || /* SSH2_MSG_USERAUTH_REQUEST */
crypto/openssh/ssh-agent.c
742
if (t != SSH2_MSG_USERAUTH_REQUEST ||
crypto/openssh/umac.c
256
} t;
crypto/openssh/umac.c
260
*(UINT32 *)t.tmp_nonce_lo = ((const UINT32 *)nonce)[1];
crypto/openssh/umac.c
261
t.tmp_nonce_lo[3] &= ~LOW_BIT_MASK; /* zero last bit */
crypto/openssh/umac.c
263
if ( (((UINT32 *)t.tmp_nonce_lo)[0] != ((UINT32 *)pc->nonce)[1]) ||
crypto/openssh/umac.c
267
((UINT32 *)pc->nonce)[1] = ((UINT32 *)t.tmp_nonce_lo)[0];
crypto/openssh/umac.c
569
UINT32 t;
crypto/openssh/umac.c
571
t = LOAD_UINT32_REVERSED(p+1);
crypto/openssh/umac.c
573
p[0] = t;
crypto/openssh/umac.c
863
static UINT64 ip_aux(UINT64 t, UINT64 *ipkp, UINT64 data)
crypto/openssh/umac.c
865
t = t + ipkp[0] * (UINT64)(UINT16)(data >> 48);
crypto/openssh/umac.c
866
t = t + ipkp[1] * (UINT64)(UINT16)(data >> 32);
crypto/openssh/umac.c
867
t = t + ipkp[2] * (UINT64)(UINT16)(data >> 16);
crypto/openssh/umac.c
868
t = t + ipkp[3] * (UINT64)(UINT16)(data);
crypto/openssh/umac.c
870
return t;
crypto/openssh/umac.c
873
static UINT32 ip_reduce_p36(UINT64 t)
crypto/openssh/umac.c
878
ret = (t & m36) + 5 * (t >> 36);
crypto/openssh/umac.c
893
UINT64 t;
crypto/openssh/umac.c
896
t = ip_aux(0,ahc->ip_keys, nhp[0]);
crypto/openssh/umac.c
897
STORE_UINT32_BIG((UINT32 *)res+0, ip_reduce_p36(t) ^ ahc->ip_trans[0]);
crypto/openssh/umac.c
899
t = ip_aux(0,ahc->ip_keys+4, nhp[1]);
crypto/openssh/umac.c
900
STORE_UINT32_BIG((UINT32 *)res+1, ip_reduce_p36(t) ^ ahc->ip_trans[1]);
crypto/openssh/umac.c
903
t = ip_aux(0,ahc->ip_keys+8, nhp[2]);
crypto/openssh/umac.c
904
STORE_UINT32_BIG((UINT32 *)res+2, ip_reduce_p36(t) ^ ahc->ip_trans[2]);
crypto/openssh/umac.c
907
t = ip_aux(0,ahc->ip_keys+12, nhp[3]);
crypto/openssh/umac.c
908
STORE_UINT32_BIG((UINT32 *)res+3, ip_reduce_p36(t) ^ ahc->ip_trans[3]);
crypto/openssh/umac.c
919
UINT64 t;
crypto/openssh/umac.c
925
t = ip_aux(0,ahc->ip_keys+(i*4), ahc->poly_accum[i]);
crypto/openssh/umac.c
927
ip_reduce_p36(t) ^ ahc->ip_trans[i]);
crypto/openssl/apps/lib/opt.c
724
ossl_intmax_t t = 0;
crypto/openssl/apps/lib/opt.c
790
if (!opt_intmax(opt_arg(), &t))
crypto/openssl/apps/lib/opt.c
792
if (t != (time_t)t) {
crypto/openssl/apps/lib/opt.c
797
X509_VERIFY_PARAM_set_time(vpm, (time_t)t);
crypto/openssl/crypto/aes/aes_x86core.c
635
u32 s0, s1, s2, s3, t[4];
crypto/openssl/crypto/aes/aes_x86core.c
65
volatile unsigned long *t = (void *)table, ret;
crypto/openssl/crypto/aes/aes_x86core.c
653
t[0] = (u32)Te4[(s0) & 0xff] ^ (u32)Te4[(s1 >> 8) & 0xff] << 8 ^ (u32)Te4[(s2 >> 16) & 0xff] << 16 ^ (u32)Te4[(s3 >> 24)] << 24;
crypto/openssl/crypto/aes/aes_x86core.c
654
t[1] = (u32)Te4[(s1) & 0xff] ^ (u32)Te4[(s2 >> 8) & 0xff] << 8 ^ (u32)Te4[(s3 >> 16) & 0xff] << 16 ^ (u32)Te4[(s0 >> 24)] << 24;
crypto/openssl/crypto/aes/aes_x86core.c
655
t[2] = (u32)Te4[(s2) & 0xff] ^ (u32)Te4[(s3 >> 8) & 0xff] << 8 ^ (u32)Te4[(s0 >> 16) & 0xff] << 16 ^ (u32)Te4[(s1 >> 24)] << 24;
crypto/openssl/crypto/aes/aes_x86core.c
656
t[3] = (u32)Te4[(s3) & 0xff] ^ (u32)Te4[(s0 >> 8) & 0xff] << 8 ^ (u32)Te4[(s1 >> 16) & 0xff] << 16 ^ (u32)Te4[(s2 >> 24)] << 24;
crypto/openssl/crypto/aes/aes_x86core.c
664
r0 = t[i];
crypto/openssl/crypto/aes/aes_x86core.c
668
t[i] = r2 ^ ROTATE(r2, 24) ^ ROTATE(r0, 24) ^ ROTATE(r0, 16) ^ ROTATE(r0, 8);
crypto/openssl/crypto/aes/aes_x86core.c
670
t[i] = r2 ^ ((r2 ^ r0) << 24) ^ ((r2 ^ r0) >> 8) ^ (r0 << 16) ^ (r0 >> 16) ^ (r0 << 8) ^ (r0 >> 24);
crypto/openssl/crypto/aes/aes_x86core.c
672
t[i] ^= rk[4 + i];
crypto/openssl/crypto/aes/aes_x86core.c
676
t[0] = Te0[(s0) & 0xff] ^ Te1[(s1 >> 8) & 0xff] ^ Te2[(s2 >> 16) & 0xff] ^ Te3[(s3 >> 24)] ^ rk[4];
crypto/openssl/crypto/aes/aes_x86core.c
677
t[1] = Te0[(s1) & 0xff] ^ Te1[(s2 >> 8) & 0xff] ^ Te2[(s3 >> 16) & 0xff] ^ Te3[(s0 >> 24)] ^ rk[5];
crypto/openssl/crypto/aes/aes_x86core.c
678
t[2] = Te0[(s2) & 0xff] ^ Te1[(s3 >> 8) & 0xff] ^ Te2[(s0 >> 16) & 0xff] ^ Te3[(s1 >> 24)] ^ rk[6];
crypto/openssl/crypto/aes/aes_x86core.c
679
t[3] = Te0[(s3) & 0xff] ^ Te1[(s0 >> 8) & 0xff] ^ Te2[(s1 >> 16) & 0xff] ^ Te3[(s2 >> 24)] ^ rk[7];
crypto/openssl/crypto/aes/aes_x86core.c
681
s0 = t[0];
crypto/openssl/crypto/aes/aes_x86core.c
682
s1 = t[1];
crypto/openssl/crypto/aes/aes_x86core.c
683
s2 = t[2];
crypto/openssl/crypto/aes/aes_x86core.c
684
s3 = t[3];
crypto/openssl/crypto/aes/aes_x86core.c
691
t[0] = (u32)Te4[(s0) & 0xff] ^ (u32)Te4[(s1 >> 8) & 0xff] << 8 ^ (u32)Te4[(s2 >> 16) & 0xff] << 16 ^ (u32)Te4[(s3 >> 24)] << 24;
crypto/openssl/crypto/aes/aes_x86core.c
692
t[1] = (u32)Te4[(s1) & 0xff] ^ (u32)Te4[(s2 >> 8) & 0xff] << 8 ^ (u32)Te4[(s3 >> 16) & 0xff] << 16 ^ (u32)Te4[(s0 >> 24)] << 24;
crypto/openssl/crypto/aes/aes_x86core.c
693
t[2] = (u32)Te4[(s2) & 0xff] ^ (u32)Te4[(s3 >> 8) & 0xff] << 8 ^ (u32)Te4[(s0 >> 16) & 0xff] << 16 ^ (u32)Te4[(s1 >> 24)] << 24;
crypto/openssl/crypto/aes/aes_x86core.c
694
t[3] = (u32)Te4[(s3) & 0xff] ^ (u32)Te4[(s0 >> 8) & 0xff] << 8 ^ (u32)Te4[(s1 >> 16) & 0xff] << 16 ^ (u32)Te4[(s2 >> 24)] << 24;
crypto/openssl/crypto/aes/aes_x86core.c
70
for (sum = 0, i = 0; i < 256 / sizeof(t[0]); i += 32 / sizeof(t[0]))
crypto/openssl/crypto/aes/aes_x86core.c
702
r0 = t[i];
crypto/openssl/crypto/aes/aes_x86core.c
706
t[i] = r2 ^ ROTATE(r2, 24) ^ ROTATE(r0, 24) ^ ROTATE(r0, 16) ^ ROTATE(r0, 8);
crypto/openssl/crypto/aes/aes_x86core.c
708
t[i] = r2 ^ ((r2 ^ r0) << 24) ^ ((r2 ^ r0) >> 8) ^ (r0 << 16) ^ (r0 >> 16) ^ (r0 << 8) ^ (r0 >> 24);
crypto/openssl/crypto/aes/aes_x86core.c
71
sum ^= t[i];
crypto/openssl/crypto/aes/aes_x86core.c
710
t[i] ^= rk[i];
crypto/openssl/crypto/aes/aes_x86core.c
714
t[0] = Te0[(s0) & 0xff] ^ Te1[(s1 >> 8) & 0xff] ^ Te2[(s2 >> 16) & 0xff] ^ Te3[(s3 >> 24)] ^ rk[0];
crypto/openssl/crypto/aes/aes_x86core.c
715
t[1] = Te0[(s1) & 0xff] ^ Te1[(s2 >> 8) & 0xff] ^ Te2[(s3 >> 16) & 0xff] ^ Te3[(s0 >> 24)] ^ rk[1];
crypto/openssl/crypto/aes/aes_x86core.c
716
t[2] = Te0[(s2) & 0xff] ^ Te1[(s3 >> 8) & 0xff] ^ Te2[(s0 >> 16) & 0xff] ^ Te3[(s1 >> 24)] ^ rk[2];
crypto/openssl/crypto/aes/aes_x86core.c
717
t[3] = Te0[(s3) & 0xff] ^ Te1[(s0 >> 8) & 0xff] ^ Te2[(s1 >> 16) & 0xff] ^ Te3[(s2 >> 24)] ^ rk[3];
crypto/openssl/crypto/aes/aes_x86core.c
719
s0 = t[0];
crypto/openssl/crypto/aes/aes_x86core.c
720
s1 = t[1];
crypto/openssl/crypto/aes/aes_x86core.c
721
s2 = t[2];
crypto/openssl/crypto/aes/aes_x86core.c
722
s3 = t[3];
crypto/openssl/crypto/aes/aes_x86core.c
752
u32 s0, s1, s2, s3, t[4];
crypto/openssl/crypto/aes/aes_x86core.c
76
#define prefetch256(t)
crypto/openssl/crypto/aes/aes_x86core.c
770
t[0] = (u32)Td4[(s0) & 0xff] ^ (u32)Td4[(s3 >> 8) & 0xff] << 8 ^ (u32)Td4[(s2 >> 16) & 0xff] << 16 ^ (u32)Td4[(s1 >> 24)] << 24;
crypto/openssl/crypto/aes/aes_x86core.c
771
t[1] = (u32)Td4[(s1) & 0xff] ^ (u32)Td4[(s0 >> 8) & 0xff] << 8 ^ (u32)Td4[(s3 >> 16) & 0xff] << 16 ^ (u32)Td4[(s2 >> 24)] << 24;
crypto/openssl/crypto/aes/aes_x86core.c
772
t[2] = (u32)Td4[(s2) & 0xff] ^ (u32)Td4[(s1 >> 8) & 0xff] << 8 ^ (u32)Td4[(s0 >> 16) & 0xff] << 16 ^ (u32)Td4[(s3 >> 24)] << 24;
crypto/openssl/crypto/aes/aes_x86core.c
773
t[3] = (u32)Td4[(s3) & 0xff] ^ (u32)Td4[(s2 >> 8) & 0xff] << 8 ^ (u32)Td4[(s1 >> 16) & 0xff] << 16 ^ (u32)Td4[(s0 >> 24)] << 24;
crypto/openssl/crypto/aes/aes_x86core.c
781
tp1 = t[i];
crypto/openssl/crypto/aes/aes_x86core.c
793
t[i] = tpe ^ ROTATE(tpd, 16) ^ ROTATE(tp9, 8) ^ ROTATE(tpb, 24);
crypto/openssl/crypto/aes/aes_x86core.c
795
t[i] = tpe ^ (tpd >> 16) ^ (tpd << 16) ^ (tp9 >> 24) ^ (tp9 << 8) ^ (tpb >> 8) ^ (tpb << 24);
crypto/openssl/crypto/aes/aes_x86core.c
797
t[i] ^= rk[4 + i];
crypto/openssl/crypto/aes/aes_x86core.c
801
t[0] = Td0[(s0) & 0xff] ^ Td1[(s3 >> 8) & 0xff] ^ Td2[(s2 >> 16) & 0xff] ^ Td3[(s1 >> 24)] ^ rk[4];
crypto/openssl/crypto/aes/aes_x86core.c
802
t[1] = Td0[(s1) & 0xff] ^ Td1[(s0 >> 8) & 0xff] ^ Td2[(s3 >> 16) & 0xff] ^ Td3[(s2 >> 24)] ^ rk[5];
crypto/openssl/crypto/aes/aes_x86core.c
803
t[2] = Td0[(s2) & 0xff] ^ Td1[(s1 >> 8) & 0xff] ^ Td2[(s0 >> 16) & 0xff] ^ Td3[(s3 >> 24)] ^ rk[6];
crypto/openssl/crypto/aes/aes_x86core.c
804
t[3] = Td0[(s3) & 0xff] ^ Td1[(s2 >> 8) & 0xff] ^ Td2[(s1 >> 16) & 0xff] ^ Td3[(s0 >> 24)] ^ rk[7];
crypto/openssl/crypto/aes/aes_x86core.c
806
s0 = t[0];
crypto/openssl/crypto/aes/aes_x86core.c
807
s1 = t[1];
crypto/openssl/crypto/aes/aes_x86core.c
808
s2 = t[2];
crypto/openssl/crypto/aes/aes_x86core.c
809
s3 = t[3];
crypto/openssl/crypto/aes/aes_x86core.c
816
t[0] = (u32)Td4[(s0) & 0xff] ^ (u32)Td4[(s3 >> 8) & 0xff] << 8 ^ (u32)Td4[(s2 >> 16) & 0xff] << 16 ^ (u32)Td4[(s1 >> 24)] << 24;
crypto/openssl/crypto/aes/aes_x86core.c
817
t[1] = (u32)Td4[(s1) & 0xff] ^ (u32)Td4[(s0 >> 8) & 0xff] << 8 ^ (u32)Td4[(s3 >> 16) & 0xff] << 16 ^ (u32)Td4[(s2 >> 24)] << 24;
crypto/openssl/crypto/aes/aes_x86core.c
818
t[2] = (u32)Td4[(s2) & 0xff] ^ (u32)Td4[(s1 >> 8) & 0xff] << 8 ^ (u32)Td4[(s0 >> 16) & 0xff] << 16 ^ (u32)Td4[(s3 >> 24)] << 24;
crypto/openssl/crypto/aes/aes_x86core.c
819
t[3] = (u32)Td4[(s3) & 0xff] ^ (u32)Td4[(s2 >> 8) & 0xff] << 8 ^ (u32)Td4[(s1 >> 16) & 0xff] << 16 ^ (u32)Td4[(s0 >> 24)] << 24;
crypto/openssl/crypto/aes/aes_x86core.c
827
tp1 = t[i];
crypto/openssl/crypto/aes/aes_x86core.c
839
t[i] = tpe ^ ROTATE(tpd, 16) ^ ROTATE(tp9, 8) ^ ROTATE(tpb, 24);
crypto/openssl/crypto/aes/aes_x86core.c
841
t[i] = tpe ^ (tpd >> 16) ^ (tpd << 16) ^ (tp9 >> 24) ^ (tp9 << 8) ^ (tpb >> 8) ^ (tpb << 24);
crypto/openssl/crypto/aes/aes_x86core.c
843
t[i] ^= rk[i];
crypto/openssl/crypto/aes/aes_x86core.c
847
t[0] = Td0[(s0) & 0xff] ^ Td1[(s3 >> 8) & 0xff] ^ Td2[(s2 >> 16) & 0xff] ^ Td3[(s1 >> 24)] ^ rk[0];
crypto/openssl/crypto/aes/aes_x86core.c
848
t[1] = Td0[(s1) & 0xff] ^ Td1[(s0 >> 8) & 0xff] ^ Td2[(s3 >> 16) & 0xff] ^ Td3[(s2 >> 24)] ^ rk[1];
crypto/openssl/crypto/aes/aes_x86core.c
849
t[2] = Td0[(s2) & 0xff] ^ Td1[(s1 >> 8) & 0xff] ^ Td2[(s0 >> 16) & 0xff] ^ Td3[(s3 >> 24)] ^ rk[2];
crypto/openssl/crypto/aes/aes_x86core.c
850
t[3] = Td0[(s3) & 0xff] ^ Td1[(s2 >> 8) & 0xff] ^ Td2[(s1 >> 16) & 0xff] ^ Td3[(s0 >> 24)] ^ rk[3];
crypto/openssl/crypto/aes/aes_x86core.c
852
s0 = t[0];
crypto/openssl/crypto/aes/aes_x86core.c
853
s1 = t[1];
crypto/openssl/crypto/aes/aes_x86core.c
854
s2 = t[2];
crypto/openssl/crypto/aes/aes_x86core.c
855
s3 = t[3];
crypto/openssl/crypto/aria/aria.c
857
ARIA_u128 t;
crypto/openssl/crypto/aria/aria.c
860
t.c[(i + bytes) % ARIA_BLOCK_SIZE] = z->c[i];
crypto/openssl/crypto/aria/aria.c
862
o->c[i] = ((t.c[i] >> bits) | (t.c[i ? i - 1 : ARIA_BLOCK_SIZE - 1] << (8 - bits))) ^ xor->c[i];
crypto/openssl/crypto/asn1/a_gentm.c
40
ASN1_GENERALIZEDTIME t;
crypto/openssl/crypto/asn1/a_gentm.c
42
t.type = V_ASN1_GENERALIZEDTIME;
crypto/openssl/crypto/asn1/a_gentm.c
43
t.length = strlen(str);
crypto/openssl/crypto/asn1/a_gentm.c
44
t.data = (unsigned char *)str;
crypto/openssl/crypto/asn1/a_gentm.c
45
t.flags = 0;
crypto/openssl/crypto/asn1/a_gentm.c
47
if (!ASN1_GENERALIZEDTIME_check(&t))
crypto/openssl/crypto/asn1/a_gentm.c
50
if (s != NULL && !ASN1_STRING_copy(s, &t))
crypto/openssl/crypto/asn1/a_gentm.c
57
time_t t)
crypto/openssl/crypto/asn1/a_gentm.c
59
return ASN1_GENERALIZEDTIME_adj(s, t, 0, 0);
crypto/openssl/crypto/asn1/a_gentm.c
63
time_t t, int offset_day,
crypto/openssl/crypto/asn1/a_gentm.c
69
ts = OPENSSL_gmtime(&t, &data);
crypto/openssl/crypto/asn1/a_object.c
140
BN_ULONG t = BN_div_word(bl, 0x80L);
crypto/openssl/crypto/asn1/a_object.c
141
if (t == (BN_ULONG)-1)
crypto/openssl/crypto/asn1/a_object.c
143
tmp[i++] = (unsigned char)t;
crypto/openssl/crypto/asn1/a_strex.c
263
ASN1_TYPE t;
crypto/openssl/crypto/asn1/a_strex.c
276
t.type = str->type;
crypto/openssl/crypto/asn1/a_strex.c
277
t.value.ptr = (char *)str;
crypto/openssl/crypto/asn1/a_strex.c
278
der_len = i2d_ASN1_TYPE(&t, NULL);
crypto/openssl/crypto/asn1/a_strex.c
284
i2d_ASN1_TYPE(&t, &p);
crypto/openssl/crypto/asn1/a_time.c
323
ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t)
crypto/openssl/crypto/asn1/a_time.c
325
return ASN1_TIME_adj(s, t, 0, 0);
crypto/openssl/crypto/asn1/a_time.c
328
ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t,
crypto/openssl/crypto/asn1/a_time.c
334
ts = OPENSSL_gmtime(&t, &data);
crypto/openssl/crypto/asn1/a_time.c
346
int ASN1_TIME_check(const ASN1_TIME *t)
crypto/openssl/crypto/asn1/a_time.c
348
if (t->type == V_ASN1_GENERALIZEDTIME)
crypto/openssl/crypto/asn1/a_time.c
349
return ASN1_GENERALIZEDTIME_check(t);
crypto/openssl/crypto/asn1/a_time.c
350
else if (t->type == V_ASN1_UTCTIME)
crypto/openssl/crypto/asn1/a_time.c
351
return ASN1_UTCTIME_check(t);
crypto/openssl/crypto/asn1/a_time.c
356
ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(const ASN1_TIME *t,
crypto/openssl/crypto/asn1/a_time.c
362
if (!ASN1_TIME_to_tm(t, &tm))
crypto/openssl/crypto/asn1/a_time.c
386
ASN1_TIME t;
crypto/openssl/crypto/asn1/a_time.c
390
t.length = strlen(str);
crypto/openssl/crypto/asn1/a_time.c
391
t.data = (unsigned char *)str;
crypto/openssl/crypto/asn1/a_time.c
392
t.flags = ASN1_STRING_FLAG_X509_TIME;
crypto/openssl/crypto/asn1/a_time.c
394
t.type = V_ASN1_UTCTIME;
crypto/openssl/crypto/asn1/a_time.c
396
if (!ASN1_TIME_check(&t)) {
crypto/openssl/crypto/asn1/a_time.c
397
t.type = V_ASN1_GENERALIZEDTIME;
crypto/openssl/crypto/asn1/a_time.c
398
if (!ASN1_TIME_check(&t))
crypto/openssl/crypto/asn1/a_time.c
416
if (s != NULL && t.type == V_ASN1_GENERALIZEDTIME) {
crypto/openssl/crypto/asn1/a_time.c
417
if (!ossl_asn1_time_to_tm(&tm, &t))
crypto/openssl/crypto/asn1/a_time.c
420
t.length -= 2;
crypto/openssl/crypto/asn1/a_time.c
426
t.data = OPENSSL_zalloc(t.length + 1);
crypto/openssl/crypto/asn1/a_time.c
427
if (t.data == NULL)
crypto/openssl/crypto/asn1/a_time.c
429
memcpy(t.data, str + 2, t.length);
crypto/openssl/crypto/asn1/a_time.c
430
t.type = V_ASN1_UTCTIME;
crypto/openssl/crypto/asn1/a_time.c
434
if (s == NULL || ASN1_STRING_copy((ASN1_STRING *)s, (ASN1_STRING *)&t))
crypto/openssl/crypto/asn1/a_time.c
437
if (t.data != (unsigned char *)str)
crypto/openssl/crypto/asn1/a_time.c
438
OPENSSL_free(t.data);
crypto/openssl/crypto/asn1/a_time.c
549
int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t)
crypto/openssl/crypto/asn1/a_time.c
557
if (!OPENSSL_gmtime(&t, &ttm))
crypto/openssl/crypto/asn1/a_time.c
570
int ASN1_TIME_normalize(ASN1_TIME *t)
crypto/openssl/crypto/asn1/a_time.c
574
if (t == NULL || !ASN1_TIME_to_tm(t, &tm))
crypto/openssl/crypto/asn1/a_time.c
577
return ossl_asn1_time_from_tm(t, &tm, V_ASN1_UNDEF) != NULL;
crypto/openssl/crypto/asn1/a_type.c
109
ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t)
crypto/openssl/crypto/asn1/a_type.c
118
if (t && *t) {
crypto/openssl/crypto/asn1/a_type.c
119
rt = *t;
crypto/openssl/crypto/asn1/a_type.c
126
if (t)
crypto/openssl/crypto/asn1/a_type.c
127
*t = rt;
crypto/openssl/crypto/asn1/a_type.c
133
void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t)
crypto/openssl/crypto/asn1/a_type.c
135
if (t == NULL || t->type != V_ASN1_SEQUENCE || t->value.sequence == NULL)
crypto/openssl/crypto/asn1/a_type.c
137
return ASN1_item_unpack(t->value.sequence, it);
crypto/openssl/crypto/asn1/a_utctm.c
36
ASN1_UTCTIME t;
crypto/openssl/crypto/asn1/a_utctm.c
38
t.type = V_ASN1_UTCTIME;
crypto/openssl/crypto/asn1/a_utctm.c
39
t.length = strlen(str);
crypto/openssl/crypto/asn1/a_utctm.c
40
t.data = (unsigned char *)str;
crypto/openssl/crypto/asn1/a_utctm.c
41
t.flags = 0;
crypto/openssl/crypto/asn1/a_utctm.c
43
if (!ASN1_UTCTIME_check(&t))
crypto/openssl/crypto/asn1/a_utctm.c
46
if (s != NULL && !ASN1_STRING_copy(s, &t))
crypto/openssl/crypto/asn1/a_utctm.c
52
ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t)
crypto/openssl/crypto/asn1/a_utctm.c
54
return ASN1_UTCTIME_adj(s, t, 0, 0);
crypto/openssl/crypto/asn1/a_utctm.c
57
ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t,
crypto/openssl/crypto/asn1/a_utctm.c
63
ts = OPENSSL_gmtime(&t, &data);
crypto/openssl/crypto/asn1/a_utctm.c
75
int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t)
crypto/openssl/crypto/asn1/a_utctm.c
83
if (OPENSSL_gmtime(&t, &ttm) == NULL)
crypto/openssl/crypto/asn1/ameth_lib.c
103
return t;
crypto/openssl/crypto/asn1/ameth_lib.c
60
const EVP_PKEY_ASN1_METHOD *t = &tmp, **ret;
crypto/openssl/crypto/asn1/ameth_lib.c
69
ret = OBJ_bsearch_ameth(&t, standard_methods, OSSL_NELEM(standard_methods));
crypto/openssl/crypto/asn1/ameth_lib.c
83
const EVP_PKEY_ASN1_METHOD *t;
crypto/openssl/crypto/asn1/ameth_lib.c
86
t = pkey_asn1_find(type);
crypto/openssl/crypto/asn1/ameth_lib.c
87
if (!t || !(t->pkey_flags & ASN1_PKEY_ALIAS))
crypto/openssl/crypto/asn1/ameth_lib.c
89
type = t->pkey_base_id;
crypto/openssl/crypto/asn1/p5_scrypt.c
248
int t, rv = 0;
crypto/openssl/crypto/asn1/p5_scrypt.c
265
t = EVP_CIPHER_CTX_get_key_length(ctx);
crypto/openssl/crypto/asn1/p5_scrypt.c
266
if (t < 0) {
crypto/openssl/crypto/asn1/p5_scrypt.c
270
keylen = t;
crypto/openssl/crypto/bf/bf_cfb64.c
29
register BF_LONG v0, v1, t;
crypto/openssl/crypto/bf/bf_cfb64.c
45
t = ti[0];
crypto/openssl/crypto/bf/bf_cfb64.c
46
l2n(t, iv);
crypto/openssl/crypto/bf/bf_cfb64.c
47
t = ti[1];
crypto/openssl/crypto/bf/bf_cfb64.c
48
l2n(t, iv);
crypto/openssl/crypto/bf/bf_cfb64.c
65
t = ti[0];
crypto/openssl/crypto/bf/bf_cfb64.c
66
l2n(t, iv);
crypto/openssl/crypto/bf/bf_cfb64.c
67
t = ti[1];
crypto/openssl/crypto/bf/bf_cfb64.c
68
l2n(t, iv);
crypto/openssl/crypto/bf/bf_cfb64.c
78
v0 = v1 = ti[0] = ti[1] = t = c = cc = 0;
crypto/openssl/crypto/bf/bf_ofb64.c
28
register BF_LONG v0, v1, t;
crypto/openssl/crypto/bf/bf_ofb64.c
49
t = ti[0];
crypto/openssl/crypto/bf/bf_ofb64.c
50
l2n(t, dp);
crypto/openssl/crypto/bf/bf_ofb64.c
51
t = ti[1];
crypto/openssl/crypto/bf/bf_ofb64.c
52
l2n(t, dp);
crypto/openssl/crypto/bf/bf_ofb64.c
65
t = v0 = v1 = ti[0] = ti[1] = 0;
crypto/openssl/crypto/bn/bn_asm.c
1000
bn_sqr_normal(r, a, 4, t);
crypto/openssl/crypto/bn/bn_asm.c
1005
BN_ULONG t[16];
crypto/openssl/crypto/bn/bn_asm.c
1006
bn_sqr_normal(r, a, 8, t);
crypto/openssl/crypto/bn/bn_asm.c
209
BN_ULONG dh, dl, q, ret = 0, th, tl, t;
crypto/openssl/crypto/bn/bn_asm.c
238
t = h - th;
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
245
t = (tl >> BN_BITS4);
crypto/openssl/crypto/bn/bn_asm.c
247
th += t;
crypto/openssl/crypto/bn/bn_asm.c
315
BN_ULONG c, l, t;
crypto/openssl/crypto/bn/bn_asm.c
324
t = a[0];
crypto/openssl/crypto/bn/bn_asm.c
325
t = (t + c) & BN_MASK2;
crypto/openssl/crypto/bn/bn_asm.c
326
c = (t < c);
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
330
t = a[1];
crypto/openssl/crypto/bn/bn_asm.c
331
t = (t + c) & BN_MASK2;
crypto/openssl/crypto/bn/bn_asm.c
332
c = (t < c);
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
336
t = a[2];
crypto/openssl/crypto/bn/bn_asm.c
337
t = (t + c) & BN_MASK2;
crypto/openssl/crypto/bn/bn_asm.c
338
c = (t < c);
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
342
t = a[3];
crypto/openssl/crypto/bn/bn_asm.c
343
t = (t + c) & BN_MASK2;
crypto/openssl/crypto/bn/bn_asm.c
344
c = (t < c);
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
355
t = a[0];
crypto/openssl/crypto/bn/bn_asm.c
356
t = (t + c) & BN_MASK2;
crypto/openssl/crypto/bn/bn_asm.c
357
c = (t < c);
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
450
BN_ULLONG t = (BN_ULLONG)(a) * (b); \
crypto/openssl/crypto/bn/bn_asm.c
451
t += c0; /* no carry */ \
crypto/openssl/crypto/bn/bn_asm.c
452
c0 = (BN_ULONG)Lw(t); \
crypto/openssl/crypto/bn/bn_asm.c
453
hi = (BN_ULONG)Hw(t); \
crypto/openssl/crypto/bn/bn_asm.c
461
BN_ULLONG t = (BN_ULLONG)(a) * (b); \
crypto/openssl/crypto/bn/bn_asm.c
462
BN_ULLONG tt = t + c0; /* no carry */ \
crypto/openssl/crypto/bn/bn_asm.c
467
t += c0; /* no carry */ \
crypto/openssl/crypto/bn/bn_asm.c
468
c0 = (BN_ULONG)Lw(t); \
crypto/openssl/crypto/bn/bn_asm.c
469
hi = (BN_ULONG)Hw(t); \
crypto/openssl/crypto/bn/bn_asm.c
477
BN_ULLONG t = (BN_ULLONG)a[i] * a[i]; \
crypto/openssl/crypto/bn/bn_asm.c
478
t += c0; /* no carry */ \
crypto/openssl/crypto/bn/bn_asm.c
479
c0 = (BN_ULONG)Lw(t); \
crypto/openssl/crypto/bn/bn_asm.c
480
hi = (BN_ULONG)Hw(t); \
crypto/openssl/crypto/bn/bn_asm.c
999
BN_ULONG t[8];
crypto/openssl/crypto/bn/bn_conv.c
111
BN_free(t);
crypto/openssl/crypto/bn/bn_conv.c
52
BIGNUM *t = NULL;
crypto/openssl/crypto/bn/bn_conv.c
70
if ((t = BN_dup(a)) == NULL)
crypto/openssl/crypto/bn/bn_conv.c
75
if (BN_is_zero(t)) {
crypto/openssl/crypto/bn/bn_conv.c
79
if (BN_is_negative(t))
crypto/openssl/crypto/bn/bn_conv.c
82
while (!BN_is_zero(t)) {
crypto/openssl/crypto/bn/bn_conv.c
85
*lp = BN_div_word(t, BN_DEC_CONV);
crypto/openssl/crypto/bn/bn_exp.c
1165
BIGNUM *r, *t;
crypto/openssl/crypto/bn/bn_exp.c
1169
(BN_mod(t, r, m, ctx) && (swap_tmp = r, r = t, t = swap_tmp, 1))))
crypto/openssl/crypto/bn/bn_exp.c
1219
t = BN_CTX_get(ctx);
crypto/openssl/crypto/bn/bn_exp.c
1220
if (t == NULL)
crypto/openssl/crypto/bn/bn_lib.c
315
BIGNUM *t;
crypto/openssl/crypto/bn/bn_lib.c
321
t = BN_get_flags(a, BN_FLG_SECURE) ? BN_secure_new() : BN_new();
crypto/openssl/crypto/bn/bn_lib.c
322
if (t == NULL)
crypto/openssl/crypto/bn/bn_lib.c
324
if (!BN_copy(t, a)) {
crypto/openssl/crypto/bn/bn_lib.c
325
BN_free(t);
crypto/openssl/crypto/bn/bn_lib.c
328
bn_check_top(t);
crypto/openssl/crypto/bn/bn_lib.c
329
return t;
crypto/openssl/crypto/bn/bn_lib.c
943
BN_ULONG t;
crypto/openssl/crypto/bn/bn_lib.c
951
t = (a->top ^ b->top) & condition;
crypto/openssl/crypto/bn/bn_lib.c
952
a->top ^= t;
crypto/openssl/crypto/bn/bn_lib.c
953
b->top ^= t;
crypto/openssl/crypto/bn/bn_lib.c
955
t = (a->neg ^ b->neg) & condition;
crypto/openssl/crypto/bn/bn_lib.c
956
a->neg ^= t;
crypto/openssl/crypto/bn/bn_lib.c
957
b->neg ^= t;
crypto/openssl/crypto/bn/bn_lib.c
983
t = ((a->flags ^ b->flags) & BN_CONSTTIME_SWAP_FLAGS) & condition;
crypto/openssl/crypto/bn/bn_lib.c
984
a->flags ^= t;
crypto/openssl/crypto/bn/bn_lib.c
985
b->flags ^= t;
crypto/openssl/crypto/bn/bn_lib.c
989
t = (a->d[i] ^ b->d[i]) & condition;
crypto/openssl/crypto/bn/bn_lib.c
990
a->d[i] ^= t;
crypto/openssl/crypto/bn/bn_lib.c
991
b->d[i] ^= t;
crypto/openssl/crypto/bn/bn_local.h
473
#define Lw(t) (((BN_ULONG)(t)) & BN_MASK2)
crypto/openssl/crypto/bn/bn_local.h
474
#define Hw(t) (((BN_ULONG)((t) >> BN_BITS2)) & BN_MASK2)
crypto/openssl/crypto/bn/bn_local.h
478
BN_ULLONG t; \
crypto/openssl/crypto/bn/bn_local.h
479
t = (BN_ULLONG)w * (a) + (r) + (c); \
crypto/openssl/crypto/bn/bn_local.h
480
(r) = Lw(t); \
crypto/openssl/crypto/bn/bn_local.h
481
(c) = Hw(t); \
crypto/openssl/crypto/bn/bn_local.h
486
BN_ULLONG t; \
crypto/openssl/crypto/bn/bn_local.h
487
t = (BN_ULLONG)w * (a) + (c); \
crypto/openssl/crypto/bn/bn_local.h
488
(r) = Lw(t); \
crypto/openssl/crypto/bn/bn_local.h
489
(c) = Hw(t); \
crypto/openssl/crypto/bn/bn_local.h
494
BN_ULLONG t; \
crypto/openssl/crypto/bn/bn_local.h
495
t = (BN_ULLONG)(a) * (a); \
crypto/openssl/crypto/bn/bn_local.h
496
(r0) = Lw(t); \
crypto/openssl/crypto/bn/bn_local.h
497
(r1) = Hw(t); \
crypto/openssl/crypto/bn/bn_local.h
663
int dna, int dnb, BN_ULONG *t);
crypto/openssl/crypto/bn/bn_local.h
665
int n, int tna, int tnb, BN_ULONG *t);
crypto/openssl/crypto/bn/bn_local.h
666
void bn_sqr_recursive(BN_ULONG *r, const BN_ULONG *a, int n2, BN_ULONG *t);
crypto/openssl/crypto/bn/bn_local.h
669
BN_ULONG *t);
crypto/openssl/crypto/bn/bn_mod.c
209
BIGNUM *t;
crypto/openssl/crypto/bn/bn_mod.c
217
if ((t = BN_CTX_get(ctx)) == NULL)
crypto/openssl/crypto/bn/bn_mod.c
220
if (!BN_sqr(t, a, ctx))
crypto/openssl/crypto/bn/bn_mod.c
223
if (!BN_mul(t, a, b, ctx))
crypto/openssl/crypto/bn/bn_mod.c
226
if (!BN_nnmod(r, t, m, ctx))
crypto/openssl/crypto/bn/bn_mont.c
178
BIGNUM *t;
crypto/openssl/crypto/bn/bn_mont.c
181
if ((t = BN_CTX_get(ctx)) && BN_copy(t, a)) {
crypto/openssl/crypto/bn/bn_mont.c
182
retn = bn_from_montgomery_word(ret, t, mont);
crypto/openssl/crypto/bn/bn_mul.c
100
t = a[3];
crypto/openssl/crypto/bn/bn_mul.c
101
r[3] = (t - c) & BN_MASK2;
crypto/openssl/crypto/bn/bn_mul.c
102
if (t != 0)
crypto/openssl/crypto/bn/bn_mul.c
176
int dna, int dnb, BN_ULONG *t)
crypto/openssl/crypto/bn/bn_mul.c
213
bn_sub_part_words(t, &(a[n]), a, tna, tna - n); /* - */
crypto/openssl/crypto/bn/bn_mul.c
214
bn_sub_part_words(&(t[n]), b, &(b[n]), tnb, n - tnb); /* - */
crypto/openssl/crypto/bn/bn_mul.c
220
bn_sub_part_words(t, &(a[n]), a, tna, tna - n); /* - */
crypto/openssl/crypto/bn/bn_mul.c
221
bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n); /* + */
crypto/openssl/crypto/bn/bn_mul.c
230
bn_sub_part_words(t, a, &(a[n]), tna, n - tna); /* + */
crypto/openssl/crypto/bn/bn_mul.c
231
bn_sub_part_words(&(t[n]), b, &(b[n]), tnb, n - tnb); /* - */
crypto/openssl/crypto/bn/bn_mul.c
238
bn_sub_part_words(t, a, &(a[n]), tna, n - tna);
crypto/openssl/crypto/bn/bn_mul.c
239
bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n);
crypto/openssl/crypto/bn/bn_mul.c
247
bn_mul_comba4(&(t[n2]), t, &(t[n]));
crypto/openssl/crypto/bn/bn_mul.c
249
memset(&t[n2], 0, sizeof(*t) * 8);
crypto/openssl/crypto/bn/bn_mul.c
257
bn_mul_comba8(&(t[n2]), t, &(t[n]));
crypto/openssl/crypto/bn/bn_mul.c
259
memset(&t[n2], 0, sizeof(*t) * 16);
crypto/openssl/crypto/bn/bn_mul.c
266
p = &(t[n2 * 2]);
crypto/openssl/crypto/bn/bn_mul.c
268
bn_mul_recursive(&(t[n2]), t, &(t[n]), n, 0, 0, p);
crypto/openssl/crypto/bn/bn_mul.c
270
memset(&t[n2], 0, sizeof(*t) * n2);
crypto/openssl/crypto/bn/bn_mul.c
281
c1 = (int)(bn_add_words(t, r, &(r[n2]), n2));
crypto/openssl/crypto/bn/bn_mul.c
284
c1 -= (int)(bn_sub_words(&(t[n2]), t, &(t[n2]), n2));
crypto/openssl/crypto/bn/bn_mul.c
287
c1 += (int)(bn_add_words(&(t[n2]), &(t[n2]), t, n2));
crypto/openssl/crypto/bn/bn_mul.c
296
c1 += (int)(bn_add_words(&(r[n]), &(r[n]), &(t[n2]), n2));
crypto/openssl/crypto/bn/bn_mul.c
31
BN_ULONG c, t;
crypto/openssl/crypto/bn/bn_mul.c
323
int tna, int tnb, BN_ULONG *t)
crypto/openssl/crypto/bn/bn_mul.c
340
bn_sub_part_words(t, &(a[n]), a, tna, tna - n); /* - */
crypto/openssl/crypto/bn/bn_mul.c
341
bn_sub_part_words(&(t[n]), b, &(b[n]), tnb, n - tnb); /* - */
crypto/openssl/crypto/bn/bn_mul.c
345
bn_sub_part_words(t, &(a[n]), a, tna, tna - n); /* - */
crypto/openssl/crypto/bn/bn_mul.c
346
bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n); /* + */
crypto/openssl/crypto/bn/bn_mul.c
353
bn_sub_part_words(t, a, &(a[n]), tna, n - tna); /* + */
crypto/openssl/crypto/bn/bn_mul.c
354
bn_sub_part_words(&(t[n]), b, &(b[n]), tnb, n - tnb); /* - */
crypto/openssl/crypto/bn/bn_mul.c
359
bn_sub_part_words(t, a, &(a[n]), tna, n - tna);
crypto/openssl/crypto/bn/bn_mul.c
360
bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n);
crypto/openssl/crypto/bn/bn_mul.c
369
bn_mul_comba4(&(t[n2]), t, &(t[n]));
crypto/openssl/crypto/bn/bn_mul.c
376
bn_mul_comba8(&(t[n2]), t, &(t[n]));
crypto/openssl/crypto/bn/bn_mul.c
381
p = &(t[n2 * 2]);
crypto/openssl/crypto/bn/bn_mul.c
382
bn_mul_recursive(&(t[n2]), t, &(t[n]), n, 0, 0, p);
crypto/openssl/crypto/bn/bn_mul.c
436
c1 = (int)(bn_add_words(t, r, &(r[n2]), n2));
crypto/openssl/crypto/bn/bn_mul.c
439
c1 -= (int)(bn_sub_words(&(t[n2]), t, &(t[n2]), n2));
crypto/openssl/crypto/bn/bn_mul.c
442
c1 += (int)(bn_add_words(&(t[n2]), &(t[n2]), t, n2));
crypto/openssl/crypto/bn/bn_mul.c
45
t = b[0];
crypto/openssl/crypto/bn/bn_mul.c
451
c1 += (int)(bn_add_words(&(r[n]), &(r[n]), &(t[n2]), n2));
crypto/openssl/crypto/bn/bn_mul.c
46
r[0] = (0 - t - c) & BN_MASK2;
crypto/openssl/crypto/bn/bn_mul.c
47
if (t != 0)
crypto/openssl/crypto/bn/bn_mul.c
478
BN_ULONG *t)
crypto/openssl/crypto/bn/bn_mul.c
482
bn_mul_recursive(r, a, b, n, 0, 0, &(t[0]));
crypto/openssl/crypto/bn/bn_mul.c
484
bn_mul_low_recursive(&(t[0]), &(a[0]), &(b[n]), n, &(t[n2]));
crypto/openssl/crypto/bn/bn_mul.c
485
bn_add_words(&(r[n]), &(r[n]), &(t[0]), n);
crypto/openssl/crypto/bn/bn_mul.c
486
bn_mul_low_recursive(&(t[0]), &(a[n]), &(b[0]), n, &(t[n2]));
crypto/openssl/crypto/bn/bn_mul.c
487
bn_add_words(&(r[n]), &(r[n]), &(t[0]), n);
crypto/openssl/crypto/bn/bn_mul.c
489
bn_mul_low_normal(&(t[0]), &(a[0]), &(b[n]), n);
crypto/openssl/crypto/bn/bn_mul.c
490
bn_mul_low_normal(&(t[n]), &(a[n]), &(b[0]), n);
crypto/openssl/crypto/bn/bn_mul.c
491
bn_add_words(&(r[n]), &(r[n]), &(t[0]), n);
crypto/openssl/crypto/bn/bn_mul.c
492
bn_add_words(&(r[n]), &(r[n]), &(t[n]), n);
crypto/openssl/crypto/bn/bn_mul.c
516
BIGNUM *t = NULL;
crypto/openssl/crypto/bn/bn_mul.c
52
t = b[1];
crypto/openssl/crypto/bn/bn_mul.c
53
r[1] = (0 - t - c) & BN_MASK2;
crypto/openssl/crypto/bn/bn_mul.c
54
if (t != 0)
crypto/openssl/crypto/bn/bn_mul.c
579
t = BN_CTX_get(ctx);
crypto/openssl/crypto/bn/bn_mul.c
580
if (t == NULL)
crypto/openssl/crypto/bn/bn_mul.c
583
if (bn_wexpand(t, k * 4) == NULL)
crypto/openssl/crypto/bn/bn_mul.c
588
j, al - j, bl - j, t->d);
crypto/openssl/crypto/bn/bn_mul.c
59
t = b[2];
crypto/openssl/crypto/bn/bn_mul.c
591
if (bn_wexpand(t, k * 2) == NULL)
crypto/openssl/crypto/bn/bn_mul.c
595
bn_mul_recursive(rr->d, a->d, b->d, j, al - j, bl - j, t->d);
crypto/openssl/crypto/bn/bn_mul.c
60
r[2] = (0 - t - c) & BN_MASK2;
crypto/openssl/crypto/bn/bn_mul.c
61
if (t != 0)
crypto/openssl/crypto/bn/bn_mul.c
66
t = b[3];
crypto/openssl/crypto/bn/bn_mul.c
67
r[3] = (0 - t - c) & BN_MASK2;
crypto/openssl/crypto/bn/bn_mul.c
68
if (t != 0)
crypto/openssl/crypto/bn/bn_mul.c
79
t = a[0];
crypto/openssl/crypto/bn/bn_mul.c
80
r[0] = (t - c) & BN_MASK2;
crypto/openssl/crypto/bn/bn_mul.c
81
if (t != 0)
crypto/openssl/crypto/bn/bn_mul.c
86
t = a[1];
crypto/openssl/crypto/bn/bn_mul.c
87
r[1] = (t - c) & BN_MASK2;
crypto/openssl/crypto/bn/bn_mul.c
88
if (t != 0)
crypto/openssl/crypto/bn/bn_mul.c
93
t = a[2];
crypto/openssl/crypto/bn/bn_mul.c
94
r[2] = (t - c) & BN_MASK2;
crypto/openssl/crypto/bn/bn_mul.c
95
if (t != 0)
crypto/openssl/crypto/bn/bn_nist.c
1060
register BN_ULONG *ap, t, c;
crypto/openssl/crypto/bn/bn_nist.c
1064
t = *ap;
crypto/openssl/crypto/bn/bn_nist.c
1065
*(ap++) = ((t << 1) | c) & BN_MASK2;
crypto/openssl/crypto/bn/bn_nist.c
1066
c = (t & BN_TBIT) ? 1 : 0;
crypto/openssl/crypto/bn/bn_nist.c
805
register BN_ULONG *ap, t, c;
crypto/openssl/crypto/bn/bn_nist.c
809
t = *ap;
crypto/openssl/crypto/bn/bn_nist.c
810
*(ap++) = ((t << 1) | c) & BN_MASK2;
crypto/openssl/crypto/bn/bn_nist.c
811
c = (t & BN_TBIT) ? 1 : 0;
crypto/openssl/crypto/bn/bn_prime.c
127
BIGNUM *t;
crypto/openssl/crypto/bn/bn_prime.c
152
t = BN_CTX_get(ctx);
crypto/openssl/crypto/bn/bn_prime.c
153
if (t == NULL)
crypto/openssl/crypto/bn/bn_prime.c
180
if (!BN_rshift1(t, ret))
crypto/openssl/crypto/bn/bn_prime.c
190
j = bn_is_prime_int(t, 1, ctx, 0, cb);
crypto/openssl/crypto/bn/bn_recp.c
175
BIGNUM *t;
crypto/openssl/crypto/bn/bn_recp.c
178
if ((t = BN_CTX_get(ctx)) == NULL)
crypto/openssl/crypto/bn/bn_recp.c
181
if (!BN_set_bit(t, len))
crypto/openssl/crypto/bn/bn_recp.c
184
if (!BN_div(r, NULL, t, m, ctx))
crypto/openssl/crypto/bn/bn_shift.c
108
BN_ULONG *t, *f;
crypto/openssl/crypto/bn/bn_shift.c
127
t = &(r->d[nw]);
crypto/openssl/crypto/bn/bn_shift.c
129
t[a->top] = (l >> rb) & rmask;
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
141
memset(r->d, 0, sizeof(*t) * nw);
crypto/openssl/crypto/bn/bn_shift.c
16
register BN_ULONG *ap, *rp, t, c;
crypto/openssl/crypto/bn/bn_shift.c
180
BN_ULONG *t, *f;
crypto/openssl/crypto/bn/bn_shift.c
201
t = &(r->d[0]);
crypto/openssl/crypto/bn/bn_shift.c
206
t[i] = (l >> rb) | ((m << lb) & mask);
crypto/openssl/crypto/bn/bn_shift.c
209
t[i] = l >> rb;
crypto/openssl/crypto/bn/bn_shift.c
35
t = *(ap++);
crypto/openssl/crypto/bn/bn_shift.c
36
*(rp++) = ((t << 1) | c) & BN_MASK2;
crypto/openssl/crypto/bn/bn_shift.c
37
c = t >> (BN_BITS2 - 1);
crypto/openssl/crypto/bn/bn_shift.c
47
BN_ULONG *ap, *rp, t, c;
crypto/openssl/crypto/bn/bn_shift.c
66
t = ap[--i];
crypto/openssl/crypto/bn/bn_shift.c
67
rp[i] = t >> 1;
crypto/openssl/crypto/bn/bn_shift.c
68
c = t << (BN_BITS2 - 1);
crypto/openssl/crypto/bn/bn_shift.c
69
r->top -= (t == 1);
crypto/openssl/crypto/bn/bn_shift.c
71
t = ap[--i];
crypto/openssl/crypto/bn/bn_shift.c
72
rp[i] = ((t >> 1) & BN_MASK2) | c;
crypto/openssl/crypto/bn/bn_shift.c
73
c = t << (BN_BITS2 - 1);
crypto/openssl/crypto/bn/bn_sqr.c
156
void bn_sqr_recursive(BN_ULONG *r, const BN_ULONG *a, int n2, BN_ULONG *t)
crypto/openssl/crypto/bn/bn_sqr.c
164
bn_sqr_normal(r, a, 4, t);
crypto/openssl/crypto/bn/bn_sqr.c
171
bn_sqr_normal(r, a, 8, t);
crypto/openssl/crypto/bn/bn_sqr.c
178
bn_sqr_normal(r, a, n2, t);
crypto/openssl/crypto/bn/bn_sqr.c
185
bn_sub_words(t, a, &(a[n]), n);
crypto/openssl/crypto/bn/bn_sqr.c
187
bn_sub_words(t, &(a[n]), a, n);
crypto/openssl/crypto/bn/bn_sqr.c
192
p = &(t[n2 * 2]);
crypto/openssl/crypto/bn/bn_sqr.c
195
bn_sqr_recursive(&(t[n2]), t, n, p);
crypto/openssl/crypto/bn/bn_sqr.c
197
memset(&t[n2], 0, sizeof(*t) * n2);
crypto/openssl/crypto/bn/bn_sqr.c
207
c1 = (int)(bn_add_words(t, r, &(r[n2]), n2));
crypto/openssl/crypto/bn/bn_sqr.c
210
c1 -= (int)(bn_sub_words(&(t[n2]), t, &(t[n2]), n2));
crypto/openssl/crypto/bn/bn_sqr.c
218
c1 += (int)(bn_add_words(&(r[n]), &(r[n]), &(t[n2]), n2));
crypto/openssl/crypto/bn/bn_sqr.c
54
BN_ULONG t[8];
crypto/openssl/crypto/bn/bn_sqr.c
55
bn_sqr_normal(rr->d, a->d, 4, t);
crypto/openssl/crypto/bn/bn_sqr.c
61
BN_ULONG t[16];
crypto/openssl/crypto/bn/bn_sqr.c
62
bn_sqr_normal(rr->d, a->d, 8, t);
crypto/openssl/crypto/bn/bn_sqr.c
69
BN_ULONG t[BN_SQR_RECURSIVE_SIZE_NORMAL * 2];
crypto/openssl/crypto/bn/bn_sqr.c
70
bn_sqr_normal(rr->d, a->d, al, t);
crypto/openssl/crypto/bn/bn_sqrt.c
137
if (!BN_mod_lshift1_quick(t, A, p))
crypto/openssl/crypto/bn/bn_sqrt.c
144
if (!BN_mod_exp(b, t, q, p, ctx))
crypto/openssl/crypto/bn/bn_sqrt.c
152
if (!BN_mod_mul(t, t, y, p, ctx))
crypto/openssl/crypto/bn/bn_sqrt.c
154
if (!BN_sub_word(t, 1))
crypto/openssl/crypto/bn/bn_sqrt.c
160
if (!BN_mod_mul(x, x, t, p, ctx))
crypto/openssl/crypto/bn/bn_sqrt.c
24
BIGNUM *A, *b, *q, *t, *x, *y;
crypto/openssl/crypto/bn/bn_sqrt.c
253
if (!BN_rshift1(t, q))
crypto/openssl/crypto/bn/bn_sqrt.c
257
if (BN_is_zero(t)) { /* special case: p = 2^e + 1 */
crypto/openssl/crypto/bn/bn_sqrt.c
258
if (!BN_nnmod(t, A, p, ctx))
crypto/openssl/crypto/bn/bn_sqrt.c
260
if (BN_is_zero(t)) {
crypto/openssl/crypto/bn/bn_sqrt.c
268
if (!BN_mod_exp(x, A, t, p, ctx))
crypto/openssl/crypto/bn/bn_sqrt.c
309
if (!BN_mod_sqr(t, b, p, ctx))
crypto/openssl/crypto/bn/bn_sqrt.c
313
if (!BN_mod_mul(t, t, t, p, ctx))
crypto/openssl/crypto/bn/bn_sqrt.c
316
if (BN_is_one(t))
crypto/openssl/crypto/bn/bn_sqrt.c
326
if (!BN_copy(t, y))
crypto/openssl/crypto/bn/bn_sqrt.c
329
if (!BN_mod_sqr(t, t, p, ctx))
crypto/openssl/crypto/bn/bn_sqrt.c
332
if (!BN_mod_mul(y, t, t, p, ctx))
crypto/openssl/crypto/bn/bn_sqrt.c
334
if (!BN_mod_mul(x, x, t, p, ctx))
crypto/openssl/crypto/bn/bn_sqrt.c
66
t = BN_CTX_get(ctx);
crypto/openssl/crypto/bn/bn_x931p.c
102
if (!BN_mul(t, t, p1, ctx))
crypto/openssl/crypto/bn/bn_x931p.c
105
if (!BN_sub(p, p, t))
crypto/openssl/crypto/bn/bn_x931p.c
128
if (!BN_gcd(t, pm1, e, ctx))
crypto/openssl/crypto/bn/bn_x931p.c
130
if (BN_is_one(t)) {
crypto/openssl/crypto/bn/bn_x931p.c
164
BIGNUM *t;
crypto/openssl/crypto/bn/bn_x931p.c
183
t = BN_CTX_get(ctx);
crypto/openssl/crypto/bn/bn_x931p.c
184
if (t == NULL)
crypto/openssl/crypto/bn/bn_x931p.c
193
if (!BN_sub(t, Xp, Xq))
crypto/openssl/crypto/bn/bn_x931p.c
195
if (BN_num_bits(t) > (nbits - 100))
crypto/openssl/crypto/bn/bn_x931p.c
60
BIGNUM *t, *p1p2, *pm1;
crypto/openssl/crypto/bn/bn_x931p.c
73
t = BN_CTX_get(ctx);
crypto/openssl/crypto/bn/bn_x931p.c
99
if (!BN_mod_inverse(t, p1, p2, ctx))
crypto/openssl/crypto/cast/c_cfb64.c
29
register CAST_LONG v0, v1, t;
crypto/openssl/crypto/cast/c_cfb64.c
45
t = ti[0];
crypto/openssl/crypto/cast/c_cfb64.c
46
l2n(t, iv);
crypto/openssl/crypto/cast/c_cfb64.c
47
t = ti[1];
crypto/openssl/crypto/cast/c_cfb64.c
48
l2n(t, iv);
crypto/openssl/crypto/cast/c_cfb64.c
65
t = ti[0];
crypto/openssl/crypto/cast/c_cfb64.c
66
l2n(t, iv);
crypto/openssl/crypto/cast/c_cfb64.c
67
t = ti[1];
crypto/openssl/crypto/cast/c_cfb64.c
68
l2n(t, iv);
crypto/openssl/crypto/cast/c_cfb64.c
78
v0 = v1 = ti[0] = ti[1] = t = c = cc = 0;
crypto/openssl/crypto/cast/c_enc.c
21
CAST_LONG l, r, t;
crypto/openssl/crypto/cast/c_enc.c
53
CAST_LONG l, r, t;
crypto/openssl/crypto/cast/c_ofb64.c
28
register CAST_LONG v0, v1, t;
crypto/openssl/crypto/cast/c_ofb64.c
49
t = ti[0];
crypto/openssl/crypto/cast/c_ofb64.c
50
l2n(t, dp);
crypto/openssl/crypto/cast/c_ofb64.c
51
t = ti[1];
crypto/openssl/crypto/cast/c_ofb64.c
52
l2n(t, dp);
crypto/openssl/crypto/cast/c_ofb64.c
65
t = v0 = v1 = ti[0] = ti[1] = 0;
crypto/openssl/crypto/cast/cast_local.h
106
t = (key[n * 2] OP1 R) & 0xffffffffL; \
crypto/openssl/crypto/cast/cast_local.h
108
t = ROTL(t, i); \
crypto/openssl/crypto/cast/cast_local.h
111
+ ((t >> C_2) & C_M)) OP2 \
crypto/openssl/crypto/cast/cast_local.h
114
+ ((t << C_3) & C_M))) \
crypto/openssl/crypto/cast/cast_local.h
118
+ ((t >> C_0) & C_M))) \
crypto/openssl/crypto/cast/cast_local.h
122
+ ((t >> C_1) & C_M))) \
crypto/openssl/crypto/cast/cast_local.h
137
t = *(CAST_LONG *)((unsigned char *)CAST_S_table0 + u); \
crypto/openssl/crypto/cast/cast_local.h
139
t = (t OP2 * (CAST_LONG *)((unsigned char *)CAST_S_table1 + v)) & 0xffffffffL; \
crypto/openssl/crypto/cast/cast_local.h
143
t = (t OP3 * (CAST_LONG *)((unsigned char *)CAST_S_table2 + u) & 0xffffffffL); \
crypto/openssl/crypto/cast/cast_local.h
144
t = (t OP1 * (CAST_LONG *)((unsigned char *)CAST_S_table3 + v) & 0xffffffffL); \
crypto/openssl/crypto/cast/cast_local.h
145
L ^= (t & 0xffffffff); \
crypto/openssl/crypto/cast/cast_local.h
151
t = (key[n * 2] OP1 R) & 0xffffffff; \
crypto/openssl/crypto/cast/cast_local.h
152
t = ROTL(t, (key[n * 2 + 1])); \
crypto/openssl/crypto/cast/cast_local.h
153
a = CAST_S_table0[(t >> 8) & 0xff]; \
crypto/openssl/crypto/cast/cast_local.h
154
b = CAST_S_table1[(t) & 0xff]; \
crypto/openssl/crypto/cast/cast_local.h
155
c = CAST_S_table2[(t >> 24) & 0xff]; \
crypto/openssl/crypto/cast/cast_local.h
156
d = CAST_S_table3[(t >> 16) & 0xff]; \
crypto/openssl/crypto/cmp/cmp_client.c
23
#define IS_CREP(t) ((t) == OSSL_CMP_PKIBODY_IP || (t) == OSSL_CMP_PKIBODY_CP \
crypto/openssl/crypto/cmp/cmp_client.c
24
|| (t) == OSSL_CMP_PKIBODY_KUP)
crypto/openssl/crypto/cms/cms_sd.c
579
static int cms_add1_signingTime(CMS_SignerInfo *si, ASN1_TIME *t)
crypto/openssl/crypto/cms/cms_sd.c
584
if (t != NULL)
crypto/openssl/crypto/cms/cms_sd.c
585
tt = t;
crypto/openssl/crypto/cms/cms_sd.c
603
if (t == NULL)
crypto/openssl/crypto/conf/conf_mod.c
683
const char *t;
crypto/openssl/crypto/conf/conf_mod.c
690
t = X509_get_default_cert_area();
crypto/openssl/crypto/conf/conf_mod.c
700
if (t == NULL)
crypto/openssl/crypto/conf/conf_mod.c
706
size = strlen(t) + strlen(sep) + strlen(OPENSSL_CONF) + 1;
crypto/openssl/crypto/conf/conf_mod.c
711
BIO_snprintf(file, size, "%s%s%s", t, sep, OPENSSL_CONF);
crypto/openssl/crypto/cversion.c
79
const char *OpenSSL_version(int t)
crypto/openssl/crypto/cversion.c
86
switch (t) {
crypto/openssl/crypto/des/des_enc.c
152
l = r = t = u = 0;
crypto/openssl/crypto/des/des_enc.c
22
register DES_LONG l, r, t, u;
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_local.h
142
#define LOAD_DATA_tmp(R, S, u, t, E0, E1) \
crypto/openssl/crypto/des/des_local.h
145
LOAD_DATA(R, S, u, t, E0, E1, tmp); \
crypto/openssl/crypto/des/des_local.h
148
#define LOAD_DATA(R, S, u, t, E0, E1, tmp) \
crypto/openssl/crypto/des/des_local.h
149
t = R ^ (R >> 16L); \
crypto/openssl/crypto/des/des_local.h
150
u = t & E0; \
crypto/openssl/crypto/des/des_local.h
151
t &= E1; \
crypto/openssl/crypto/des/des_local.h
155
tmp = (t << 16); \
crypto/openssl/crypto/des/des_local.h
156
t ^= R ^ s[S + 1]; \
crypto/openssl/crypto/des/des_local.h
157
t ^= tmp
crypto/openssl/crypto/des/des_local.h
160
#define LOAD_DATA(R, S, u, t, E0, E1, tmp) \
crypto/openssl/crypto/des/des_local.h
162
t = R ^ s[S + 1]
crypto/openssl/crypto/des/des_local.h
173
LOAD_DATA_tmp(R, S, u, t, E0, E1); \
crypto/openssl/crypto/des/des_local.h
174
t = ROTATE(t, 4); \
crypto/openssl/crypto/des/des_local.h
175
LL ^= DES_SPtrans[0][(u >> 2L) & 0x3f] ^ DES_SPtrans[2][(u >> 10L) & 0x3f] ^ DES_SPtrans[4][(u >> 18L) & 0x3f] ^ DES_SPtrans[6][(u >> 26L) & 0x3f] ^ DES_SPtrans[1][(t >> 2L) & 0x3f] ^ DES_SPtrans[3][(t >> 10L) & 0x3f] ^ DES_SPtrans[5][(t >> 18L) & 0x3f] ^ DES_SPtrans[7][(t >> 26L) & 0x3f]; \
crypto/openssl/crypto/des/des_local.h
216
#define PERM_OP(a, b, t, n, m) ((t) = ((((a) >> (n)) ^ (b)) & (m)), \
crypto/openssl/crypto/des/des_local.h
217
(b) ^= (t), \
crypto/openssl/crypto/des/des_local.h
218
(a) ^= ((t) << (n)))
crypto/openssl/crypto/des/fcrypt_b.c
23
#define PERM_OP(a, b, t, n, m) ((t) = ((((a) >> (n)) ^ (b)) & (m)), \
crypto/openssl/crypto/des/fcrypt_b.c
24
(b) ^= (t), \
crypto/openssl/crypto/des/fcrypt_b.c
25
(a) ^= ((t) << (n)))
crypto/openssl/crypto/des/fcrypt_b.c
28
#define HPERM_OP(a, t, n, m) ((t) = ((((a) << (16 - (n))) ^ (a)) & (m)), \
crypto/openssl/crypto/des/fcrypt_b.c
29
(a) = (a) ^ (t) ^ (t >> (16 - (n))))
crypto/openssl/crypto/des/fcrypt_b.c
34
register DES_LONG l, r, t, u;
crypto/openssl/crypto/des/fcrypt_b.c
63
t = l;
crypto/openssl/crypto/des/fcrypt_b.c
65
r = t;
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/ofb64enc.c
27
register DES_LONG v0, v1, t;
crypto/openssl/crypto/des/ofb64enc.c
48
t = ti[0];
crypto/openssl/crypto/des/ofb64enc.c
49
l2c(t, dp);
crypto/openssl/crypto/des/ofb64enc.c
50
t = ti[1];
crypto/openssl/crypto/des/ofb64enc.c
51
l2c(t, dp);
crypto/openssl/crypto/des/ofb64enc.c
64
t = v0 = v1 = ti[0] = ti[1] = 0;
crypto/openssl/crypto/des/set_key.c
139
#define HPERM_OP(a, t, n, m) ((t) = ((((a) << (16 - (n))) ^ (a)) & (m)), \
crypto/openssl/crypto/des/set_key.c
140
(a) = (a) ^ (t) ^ (t >> (16 - (n))))
crypto/openssl/crypto/des/set_key.c
714
register DES_LONG c, d, t, s, t2;
crypto/openssl/crypto/des/set_key.c
733
PERM_OP(d, c, t, 4, 0x0f0f0f0fL);
crypto/openssl/crypto/des/set_key.c
734
HPERM_OP(c, t, -2, 0xcccc0000L);
crypto/openssl/crypto/des/set_key.c
735
HPERM_OP(d, t, -2, 0xcccc0000L);
crypto/openssl/crypto/des/set_key.c
736
PERM_OP(d, c, t, 1, 0x55555555L);
crypto/openssl/crypto/des/set_key.c
737
PERM_OP(c, d, t, 8, 0x00ff00ffL);
crypto/openssl/crypto/des/set_key.c
738
PERM_OP(d, c, t, 1, 0x55555555L);
crypto/openssl/crypto/des/set_key.c
757
t = des_skb[4][(d) & 0x3f] | des_skb[5][((d >> 7L) & 0x03) | ((d >> 8L) & 0x3c)] | des_skb[6][(d >> 15L) & 0x3f] | des_skb[7][((d >> 21L) & 0x0f) | ((d >> 22L) & 0x30)];
crypto/openssl/crypto/des/set_key.c
760
t2 = ((t << 16L) | (s & 0x0000ffffL)) & 0xffffffffL;
crypto/openssl/crypto/des/set_key.c
763
t2 = ((s >> 16L) | (t & 0xffff0000L));
crypto/openssl/crypto/dso/dso_dl.c
250
} t = {
crypto/openssl/crypto/dso/dso_dl.c
253
addr = t.p;
crypto/openssl/crypto/dso/dso_dlfcn.c
405
} t = {
crypto/openssl/crypto/dso/dso_dlfcn.c
408
addr = t.p;
crypto/openssl/crypto/dso/dso_win32.c
499
} t = {
crypto/openssl/crypto/dso/dso_win32.c
502
addr = t.p;
crypto/openssl/crypto/ec/curve25519.c
2204
static void cmov(ge_precomp *t, const ge_precomp *u, uint8_t b)
crypto/openssl/crypto/ec/curve25519.c
2206
fe_cmov(t->yplusx, u->yplusx, b);
crypto/openssl/crypto/ec/curve25519.c
2207
fe_cmov(t->yminusx, u->yminusx, b);
crypto/openssl/crypto/ec/curve25519.c
2208
fe_cmov(t->xy2d, u->xy2d, b);
crypto/openssl/crypto/ec/curve25519.c
4335
static void table_select(ge_precomp *t, int pos, signed char b)
crypto/openssl/crypto/ec/curve25519.c
4341
ge_precomp_0(t);
crypto/openssl/crypto/ec/curve25519.c
4342
cmov(t, &k25519Precomp[pos][0], equal(babs, 1));
crypto/openssl/crypto/ec/curve25519.c
4343
cmov(t, &k25519Precomp[pos][1], equal(babs, 2));
crypto/openssl/crypto/ec/curve25519.c
4344
cmov(t, &k25519Precomp[pos][2], equal(babs, 3));
crypto/openssl/crypto/ec/curve25519.c
4345
cmov(t, &k25519Precomp[pos][3], equal(babs, 4));
crypto/openssl/crypto/ec/curve25519.c
4346
cmov(t, &k25519Precomp[pos][4], equal(babs, 5));
crypto/openssl/crypto/ec/curve25519.c
4347
cmov(t, &k25519Precomp[pos][5], equal(babs, 6));
crypto/openssl/crypto/ec/curve25519.c
4348
cmov(t, &k25519Precomp[pos][6], equal(babs, 7));
crypto/openssl/crypto/ec/curve25519.c
4349
cmov(t, &k25519Precomp[pos][7], equal(babs, 8));
crypto/openssl/crypto/ec/curve25519.c
4350
fe_copy(minust.yplusx, t->yminusx);
crypto/openssl/crypto/ec/curve25519.c
4351
fe_copy(minust.yminusx, t->yplusx);
crypto/openssl/crypto/ec/curve25519.c
4352
fe_neg(minust.xy2d, t->xy2d);
crypto/openssl/crypto/ec/curve25519.c
4353
cmov(t, &minust, bnegative);
crypto/openssl/crypto/ec/curve25519.c
4371
ge_precomp t;
crypto/openssl/crypto/ec/curve25519.c
4393
table_select(&t, i / 2, e[i]);
crypto/openssl/crypto/ec/curve25519.c
4394
ge_madd(&r, h, &t);
crypto/openssl/crypto/ec/curve25519.c
4408
table_select(&t, i / 2, e[i]);
crypto/openssl/crypto/ec/curve25519.c
4409
ge_madd(&r, h, &t);
crypto/openssl/crypto/ec/curve25519.c
4698
ge_p1p1 t;
crypto/openssl/crypto/ec/curve25519.c
4707
ge_p3_dbl(&t, A);
crypto/openssl/crypto/ec/curve25519.c
4708
ge_p1p1_to_p3(&A2, &t);
crypto/openssl/crypto/ec/curve25519.c
4709
ge_add(&t, &A2, &Ai[0]);
crypto/openssl/crypto/ec/curve25519.c
4710
ge_p1p1_to_p3(&u, &t);
crypto/openssl/crypto/ec/curve25519.c
4712
ge_add(&t, &A2, &Ai[1]);
crypto/openssl/crypto/ec/curve25519.c
4713
ge_p1p1_to_p3(&u, &t);
crypto/openssl/crypto/ec/curve25519.c
4715
ge_add(&t, &A2, &Ai[2]);
crypto/openssl/crypto/ec/curve25519.c
4716
ge_p1p1_to_p3(&u, &t);
crypto/openssl/crypto/ec/curve25519.c
4718
ge_add(&t, &A2, &Ai[3]);
crypto/openssl/crypto/ec/curve25519.c
4719
ge_p1p1_to_p3(&u, &t);
crypto/openssl/crypto/ec/curve25519.c
4721
ge_add(&t, &A2, &Ai[4]);
crypto/openssl/crypto/ec/curve25519.c
4722
ge_p1p1_to_p3(&u, &t);
crypto/openssl/crypto/ec/curve25519.c
4724
ge_add(&t, &A2, &Ai[5]);
crypto/openssl/crypto/ec/curve25519.c
4725
ge_p1p1_to_p3(&u, &t);
crypto/openssl/crypto/ec/curve25519.c
4727
ge_add(&t, &A2, &Ai[6]);
crypto/openssl/crypto/ec/curve25519.c
4728
ge_p1p1_to_p3(&u, &t);
crypto/openssl/crypto/ec/curve25519.c
4740
ge_p2_dbl(&t, r);
crypto/openssl/crypto/ec/curve25519.c
4743
ge_p1p1_to_p3(&u, &t);
crypto/openssl/crypto/ec/curve25519.c
4744
ge_add(&t, &u, &Ai[aslide[i] / 2]);
crypto/openssl/crypto/ec/curve25519.c
4746
ge_p1p1_to_p3(&u, &t);
crypto/openssl/crypto/ec/curve25519.c
4747
ge_sub(&t, &u, &Ai[(-aslide[i]) / 2]);
crypto/openssl/crypto/ec/curve25519.c
4751
ge_p1p1_to_p3(&u, &t);
crypto/openssl/crypto/ec/curve25519.c
4752
ge_madd(&t, &u, &Bi[bslide[i] / 2]);
crypto/openssl/crypto/ec/curve25519.c
4754
ge_p1p1_to_p3(&u, &t);
crypto/openssl/crypto/ec/curve25519.c
4755
ge_msub(&t, &u, &Bi[(-bslide[i]) / 2]);
crypto/openssl/crypto/ec/curve25519.c
4758
ge_p1p1_to_p2(r, &t);
crypto/openssl/crypto/ec/curve448/curve448.c
108
ossl_gf_mul(e->t, e->y, eu);
crypto/openssl/crypto/ec/curve448/curve448.c
118
ossl_gf_mul(e->t, e->y, e->x);
crypto/openssl/crypto/ec/curve448/curve448.c
131
ossl_gf_mul(d->x, e->c, d->t);
crypto/openssl/crypto/ec/curve448/curve448.c
140
ossl_gf_mul(d->t, b, c);
crypto/openssl/crypto/ec/curve448/curve448.c
152
ossl_gf_mul(d->x, e->c, d->t);
crypto/openssl/crypto/ec/curve448/curve448.c
161
ossl_gf_mul(d->t, b, c);
crypto/openssl/crypto/ec/curve448/curve448.c
206
ossl_gf_mul(b, p->z, p->t);
crypto/openssl/crypto/ec/curve448/curve448.c
211
ossl_gf_sqr(b, p->t);
crypto/openssl/crypto/ec/curve448/curve448.c
232
const unsigned int n = COMBS_N, t = COMBS_T, s = COMBS_S;
crypto/openssl/crypto/ec/curve448/curve448.c
247
for (k = 0; k < t; k++) {
crypto/openssl/crypto/ec/curve448/curve448.c
248
unsigned int bit = (i - 1) + s * (k + j * t);
crypto/openssl/crypto/ec/curve448/curve448.c
254
invert = (tab >> (t - 1)) - 1;
crypto/openssl/crypto/ec/curve448/curve448.c
256
tab &= (1 << (t - 1)) - 1;
crypto/openssl/crypto/ec/curve448/curve448.c
258
constant_time_lookup_niels(ni, &table->table[j << (t - 1)],
crypto/openssl/crypto/ec/curve448/curve448.c
259
1 << (t - 1), tab);
crypto/openssl/crypto/ec/curve448/curve448.c
277
gf x, y, z, t;
crypto/openssl/crypto/ec/curve448/curve448.c
288
ossl_gf_sqr(t, q->y);
crypto/openssl/crypto/ec/curve448/curve448.c
289
gf_add(u, x, t);
crypto/openssl/crypto/ec/curve448/curve448.c
293
gf_sub(z, t, x);
crypto/openssl/crypto/ec/curve448/curve448.c
295
gf_add(t, x, x);
crypto/openssl/crypto/ec/curve448/curve448.c
296
gf_sub(t, t, z);
crypto/openssl/crypto/ec/curve448/curve448.c
297
ossl_gf_mul(x, t, y);
crypto/openssl/crypto/ec/curve448/curve448.c
299
ossl_gf_mul(z, u, t);
crypto/openssl/crypto/ec/curve448/curve448.c
305
ossl_gf_mul(t, x, z);
crypto/openssl/crypto/ec/curve448/curve448.c
311
enc[EDDSA_448_PRIVATE_BYTES - 1] |= 0x80 & gf_lobit(t);
crypto/openssl/crypto/ec/curve448/curve448.c
316
OPENSSL_cleanse(t, sizeof(t));
crypto/openssl/crypto/ec/curve448/curve448.c
339
gf_mulw(p->t, p->x, EDWARDS_D); /* dy^2 */
crypto/openssl/crypto/ec/curve448/curve448.c
340
gf_sub(p->t, ONE, p->t); /* denom = 1-dy^2 or 1-d + dy^2 */
crypto/openssl/crypto/ec/curve448/curve448.c
342
ossl_gf_mul(p->x, p->z, p->t);
crypto/openssl/crypto/ec/curve448/curve448.c
343
succ &= gf_isr(p->t, p->x); /* 1/sqrt(num * denom) */
crypto/openssl/crypto/ec/curve448/curve448.c
345
ossl_gf_mul(p->x, p->t, p->z); /* sqrt(num / denom) */
crypto/openssl/crypto/ec/curve448/curve448.c
356
gf_add(p->t, p->y, p->x);
crypto/openssl/crypto/ec/curve448/curve448.c
357
ossl_gf_sqr(b, p->t);
crypto/openssl/crypto/ec/curve448/curve448.c
359
gf_sub(p->t, a, c);
crypto/openssl/crypto/ec/curve448/curve448.c
364
ossl_gf_mul(p->z, p->t, a);
crypto/openssl/crypto/ec/curve448/curve448.c
365
ossl_gf_mul(p->y, p->t, d);
crypto/openssl/crypto/ec/curve448/curve448.c
366
ossl_gf_mul(p->t, b, d);
crypto/openssl/crypto/ec/curve448/curve448.c
385
int t;
crypto/openssl/crypto/ec/curve448/curve448.c
395
for (t = X_PRIVATE_BITS - 1; t >= 0; t--) {
crypto/openssl/crypto/ec/curve448/curve448.c
396
uint8_t sb = scalar[t / 8];
crypto/openssl/crypto/ec/curve448/curve448.c
400
if (t / 8 == 0)
crypto/openssl/crypto/ec/curve448/curve448.c
402
else if (t == X_PRIVATE_BITS - 1)
crypto/openssl/crypto/ec/curve448/curve448.c
405
k_t = (sb >> (t % 8)) & 1;
crypto/openssl/crypto/ec/curve448/curve448.c
466
gf_invert(q->t, q->x, 0); /* 1/x */
crypto/openssl/crypto/ec/curve448/curve448.c
467
ossl_gf_mul(q->z, q->t, q->y); /* y/x */
crypto/openssl/crypto/ec/curve448/curve448.c
66
gf_add_nr(p->t, q->y, q->x); /* 2+e */
crypto/openssl/crypto/ec/curve448/curve448.c
67
ossl_gf_sqr(b, p->t);
crypto/openssl/crypto/ec/curve448/curve448.c
69
gf_sub_nr(p->t, a, c); /* 3+e */
crypto/openssl/crypto/ec/curve448/curve448.c
72
gf_subx_nr(a, p->z, p->t, 4); /* 6+e */
crypto/openssl/crypto/ec/curve448/curve448.c
76
ossl_gf_mul(p->z, p->t, a);
crypto/openssl/crypto/ec/curve448/curve448.c
77
ossl_gf_mul(p->y, p->t, d);
crypto/openssl/crypto/ec/curve448/curve448.c
79
ossl_gf_mul(p->t, b, d);
crypto/openssl/crypto/ec/curve448/curve448.c
98
gf_mulw(b->n->c, a->t, 2 * TWISTED_D);
crypto/openssl/crypto/ec/curve448/point_448.h
57
gf x, y, z, t;
crypto/openssl/crypto/ec/ec2_smpl.c
357
BIGNUM *x0, *y0, *x1, *y1, *x2, *y2, *s, *t;
crypto/openssl/crypto/ec/ec2_smpl.c
391
t = BN_CTX_get(ctx);
crypto/openssl/crypto/ec/ec2_smpl.c
392
if (t == NULL)
crypto/openssl/crypto/ec/ec2_smpl.c
415
if (!BN_GF2m_add(t, x0, x1))
crypto/openssl/crypto/ec/ec2_smpl.c
419
if (!group->meth->field_div(group, s, s, t, ctx))
crypto/openssl/crypto/ec/ec2_smpl.c
427
if (!BN_GF2m_add(x2, x2, t))
crypto/openssl/crypto/ec/ec2_smpl.c
869
EC_POINT *t = NULL;
crypto/openssl/crypto/ec/ec2_smpl.c
901
if ((t = EC_POINT_new(group)) == NULL) {
crypto/openssl/crypto/ec/ec2_smpl.c
906
if (!ossl_ec_scalar_mul_ladder(group, t, scalar, NULL, ctx)
crypto/openssl/crypto/ec/ec2_smpl.c
908
|| !EC_POINT_add(group, r, t, r, ctx))
crypto/openssl/crypto/ec/ec2_smpl.c
914
EC_POINT_free(t);
crypto/openssl/crypto/ec/ec_lib.c
273
EC_GROUP *t = NULL;
crypto/openssl/crypto/ec/ec_lib.c
279
if ((t = ossl_ec_group_new_ex(a->libctx, a->propq, a->meth)) == NULL)
crypto/openssl/crypto/ec/ec_lib.c
281
if (!EC_GROUP_copy(t, a))
crypto/openssl/crypto/ec/ec_lib.c
288
EC_GROUP_free(t);
crypto/openssl/crypto/ec/ec_lib.c
291
return t;
crypto/openssl/crypto/ec/ec_lib.c
790
EC_POINT *t;
crypto/openssl/crypto/ec/ec_lib.c
796
t = EC_POINT_new(group);
crypto/openssl/crypto/ec/ec_lib.c
797
if (t == NULL)
crypto/openssl/crypto/ec/ec_lib.c
799
r = EC_POINT_copy(t, a);
crypto/openssl/crypto/ec/ec_lib.c
801
EC_POINT_free(t);
crypto/openssl/crypto/ec/ec_lib.c
804
return t;
crypto/openssl/crypto/ec/ec_mult.c
279
#define EC_POINT_CSWAP(c, a, b, w, t) \
crypto/openssl/crypto/ec/ec_mult.c
284
t = ((a)->Z_is_one ^ (b)->Z_is_one) & (c); \
crypto/openssl/crypto/ec/ec_mult.c
285
(a)->Z_is_one ^= (t); \
crypto/openssl/crypto/ec/ec_mult.c
286
(b)->Z_is_one ^= (t); \
crypto/openssl/crypto/ec/ecp_nistz256.c
1081
ecp_nistz256_gather_w7(&t.a,
crypto/openssl/crypto/ec/ecp_nistz256.c
1084
ecp_nistz256_neg(t.p.Z, t.a.Y);
crypto/openssl/crypto/ec/ecp_nistz256.c
1085
copy_conditional(t.a.Y, t.p.Z, wvalue & 1);
crypto/openssl/crypto/ec/ecp_nistz256.c
1087
ecp_nistz256_point_add_affine(&p.p, &p.p, &t.a);
crypto/openssl/crypto/ec/ecp_nistz256.c
1120
P256_POINT *out = &t.p;
crypto/openssl/crypto/ec/ecp_nistz256.c
1277
BN_ULONG out[P256_LIMBS], t[P256_LIMBS];
crypto/openssl/crypto/ec/ecp_nistz256.c
1315
if (!ecp_nistz256_bignum_to_field_elem(t, x)) {
crypto/openssl/crypto/ec/ecp_nistz256.c
1320
ecp_nistz256_ord_mul_mont(table[0], t, RR);
crypto/openssl/crypto/ec/ecp_nistz256.c
1334
ecp_nistz256_ord_sqr_mont(t, table[15-1], 4); /* f0 */
crypto/openssl/crypto/ec/ecp_nistz256.c
1335
ecp_nistz256_ord_mul_mont(t, t, table[15-1]); /* ff */
crypto/openssl/crypto/ec/ecp_nistz256.c
1337
ecp_nistz256_ord_sqr_mont(out, t, 8); /* ff00 */
crypto/openssl/crypto/ec/ecp_nistz256.c
1338
ecp_nistz256_ord_mul_mont(out, out, t); /* ffff */
crypto/openssl/crypto/ec/ecp_nistz256.c
1340
ecp_nistz256_ord_sqr_mont(t, out, 16); /* ffff0000 */
crypto/openssl/crypto/ec/ecp_nistz256.c
1341
ecp_nistz256_ord_mul_mont(t, t, out); /* ffffffff */
crypto/openssl/crypto/ec/ecp_nistz256.c
1343
ecp_nistz256_ord_sqr_mont(out, t, 64); /* ffffffff0000000000000000 */
crypto/openssl/crypto/ec/ecp_nistz256.c
1344
ecp_nistz256_ord_mul_mont(out, out, t); /* ffffffff00000000ffffffff */
crypto/openssl/crypto/ec/ecp_nistz256.c
1347
ecp_nistz256_ord_mul_mont(out, out, t); /* ffffffff00000000ffffffffffffffff */
crypto/openssl/crypto/ec/ecp_nistz256.c
951
} t, p;
crypto/openssl/crypto/ec/ecp_sm2p256.c
459
} t, p;
crypto/openssl/crypto/ec/ecp_sm2p256.c
495
ecp_sm2p256_point_get_affine(&t.a, &p.p);
crypto/openssl/crypto/ec/ecp_sm2p256.c
496
ecp_sm2p256_point_P_mul_by_scalar(&kP, k, t.a);
crypto/openssl/crypto/ec/ecp_sm2p256.c
520
} t, p;
crypto/openssl/crypto/ec/ecp_sm2p256.c
563
P256_POINT *out = &t.p;
crypto/openssl/crypto/engine/eng_table.c
65
static int int_table_check(ENGINE_TABLE **t, int create)
crypto/openssl/crypto/engine/eng_table.c
69
if (*t)
crypto/openssl/crypto/engine/eng_table.c
75
*t = (ENGINE_TABLE *)lh;
crypto/openssl/crypto/evp/e_aes.c
1412
ctx->kma.param.t.g[0] = 0;
crypto/openssl/crypto/evp/e_aes.c
1413
ctx->kma.param.t.g[1] = 0;
crypto/openssl/crypto/evp/e_aes.c
1431
ctx->kma.param.j0.g[0] = ctx->kma.param.t.g[0];
crypto/openssl/crypto/evp/e_aes.c
1432
ctx->kma.param.j0.g[1] = ctx->kma.param.t.g[1];
crypto/openssl/crypto/evp/e_aes.c
1434
ctx->kma.param.t.g[0] = 0;
crypto/openssl/crypto/evp/e_aes.c
1435
ctx->kma.param.t.g[1] = 0;
crypto/openssl/crypto/evp/e_aes.c
1505
memcpy(ptr, gctx->kma.param.t.b, arg);
crypto/openssl/crypto/evp/e_aes.c
1696
memcpy(out + len, gctx->kma.param.t.b, EVP_GCM_TLS_TAG_LEN);
crypto/openssl/crypto/evp/e_aes.c
1699
if (CRYPTO_memcmp(gctx->kma.param.t.b, in + len,
crypto/openssl/crypto/evp/e_aes.c
1761
if (CRYPTO_memcmp(buf, gctx->kma.param.t.b, gctx->taglen))
crypto/openssl/crypto/evp/e_aes.c
930
} t;
crypto/openssl/crypto/evp/encode.c
19
static int evp_encodeblock_int(EVP_ENCODE_CTX *ctx, unsigned char *t,
crypto/openssl/crypto/evp/encode.c
21
static int evp_decodeblock_int(EVP_ENCODE_CTX *ctx, unsigned char *t,
crypto/openssl/crypto/evp/encode.c
222
static int evp_encodeblock_int(EVP_ENCODE_CTX *ctx, unsigned char *t,
crypto/openssl/crypto/evp/encode.c
237
*(t++) = conv_bin2ascii(l >> 18L, table);
crypto/openssl/crypto/evp/encode.c
238
*(t++) = conv_bin2ascii(l >> 12L, table);
crypto/openssl/crypto/evp/encode.c
239
*(t++) = conv_bin2ascii(l >> 6L, table);
crypto/openssl/crypto/evp/encode.c
240
*(t++) = conv_bin2ascii(l, table);
crypto/openssl/crypto/evp/encode.c
246
*(t++) = conv_bin2ascii(l >> 18L, table);
crypto/openssl/crypto/evp/encode.c
247
*(t++) = conv_bin2ascii(l >> 12L, table);
crypto/openssl/crypto/evp/encode.c
248
*(t++) = (i == 1) ? '=' : conv_bin2ascii(l >> 6L, table);
crypto/openssl/crypto/evp/encode.c
249
*(t++) = '=';
crypto/openssl/crypto/evp/encode.c
255
*t = '\0';
crypto/openssl/crypto/evp/encode.c
259
int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int dlen)
crypto/openssl/crypto/evp/encode.c
261
return evp_encodeblock_int(NULL, t, f, dlen);
crypto/openssl/crypto/evp/encode.c
403
static int evp_decodeblock_int(EVP_ENCODE_CTX *ctx, unsigned char *t,
crypto/openssl/crypto/evp/encode.c
446
*(t++) = (unsigned char)(l >> 16L) & 0xff;
crypto/openssl/crypto/evp/encode.c
447
*(t++) = (unsigned char)(l >> 8L) & 0xff;
crypto/openssl/crypto/evp/encode.c
448
*(t++) = (unsigned char)(l) & 0xff;
crypto/openssl/crypto/evp/encode.c
466
*(t++) = (unsigned char)(l >> 16L) & 0xff;
crypto/openssl/crypto/evp/encode.c
469
*(t++) = (unsigned char)(l >> 16L) & 0xff;
crypto/openssl/crypto/evp/encode.c
470
*(t++) = (unsigned char)(l >> 8L) & 0xff;
crypto/openssl/crypto/evp/encode.c
473
*(t++) = (unsigned char)(l >> 16L) & 0xff;
crypto/openssl/crypto/evp/encode.c
474
*(t++) = (unsigned char)(l >> 8L) & 0xff;
crypto/openssl/crypto/evp/encode.c
475
*(t++) = (unsigned char)(l) & 0xff;
crypto/openssl/crypto/evp/encode.c
483
int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n)
crypto/openssl/crypto/evp/encode.c
485
return evp_decodeblock_int(NULL, t, f, n, 0);
crypto/openssl/crypto/evp/p5_crpt2.c
187
int saltlen, iter, t;
crypto/openssl/crypto/evp/p5_crpt2.c
211
t = EVP_CIPHER_CTX_get_key_length(ctx);
crypto/openssl/crypto/evp/p5_crpt2.c
212
if (t < 0) {
crypto/openssl/crypto/evp/p5_crpt2.c
216
keylen = t;
crypto/openssl/crypto/evp/pmeth_lib.c
110
const EVP_PKEY_METHOD *t;
crypto/openssl/crypto/evp/pmeth_lib.c
112
if ((t = evp_pkey_meth_find_added_by_application(type)) != NULL)
crypto/openssl/crypto/evp/pmeth_lib.c
113
return t;
crypto/openssl/crypto/evp/pmeth_lib.c
116
t = &tmp;
crypto/openssl/crypto/evp/pmeth_lib.c
117
ret = OBJ_bsearch_pmeth_func(&t, standard_methods,
crypto/openssl/crypto/idea/i_cfb64.c
30
register unsigned long v0, v1, t;
crypto/openssl/crypto/idea/i_cfb64.c
52
t = ti[0];
crypto/openssl/crypto/idea/i_cfb64.c
53
l2n(t, iv);
crypto/openssl/crypto/idea/i_cfb64.c
54
t = ti[1];
crypto/openssl/crypto/idea/i_cfb64.c
55
l2n(t, iv);
crypto/openssl/crypto/idea/i_cfb64.c
72
t = ti[0];
crypto/openssl/crypto/idea/i_cfb64.c
73
l2n(t, iv);
crypto/openssl/crypto/idea/i_cfb64.c
74
t = ti[1];
crypto/openssl/crypto/idea/i_cfb64.c
75
l2n(t, iv);
crypto/openssl/crypto/idea/i_cfb64.c
85
v0 = v1 = ti[0] = ti[1] = t = c = cc = 0;
crypto/openssl/crypto/idea/i_ofb64.c
29
register unsigned long v0, v1, t;
crypto/openssl/crypto/idea/i_ofb64.c
56
t = ti[0];
crypto/openssl/crypto/idea/i_ofb64.c
57
l2n(t, dp);
crypto/openssl/crypto/idea/i_ofb64.c
58
t = ti[1];
crypto/openssl/crypto/idea/i_ofb64.c
59
l2n(t, dp);
crypto/openssl/crypto/idea/i_ofb64.c
72
t = v0 = v1 = ti[0] = ti[1] = 0;
crypto/openssl/crypto/idea/i_skey.c
112
t = b2;
crypto/openssl/crypto/idea/i_skey.c
114
b1 = t;
crypto/openssl/crypto/idea/i_skey.c
64
register IDEA_INT *fp, *tp, t;
crypto/openssl/crypto/idea/i_skey.c
81
t = tp[1];
crypto/openssl/crypto/idea/i_skey.c
83
tp[2] = t;
crypto/openssl/crypto/idea/i_skey.c
85
t = tp[49];
crypto/openssl/crypto/idea/i_skey.c
87
tp[50] = t;
crypto/openssl/crypto/idea/i_skey.c
93
long n1, n2, q, r, b1, b2, t;
crypto/openssl/crypto/info.c
243
const char *OPENSSL_info(int t)
crypto/openssl/crypto/info.c
252
switch (t) {
crypto/openssl/crypto/md2/md2_dgst.c
119
register MD2_INT t, *sp1, *sp2;
crypto/openssl/crypto/md2/md2_dgst.c
128
state[i + 16] = t = d[i];
crypto/openssl/crypto/md2/md2_dgst.c
129
state[i + 32] = (t ^ sp1[i]);
crypto/openssl/crypto/md2/md2_dgst.c
130
j = sp2[i] ^= S[t ^ j];
crypto/openssl/crypto/md2/md2_dgst.c
132
t = 0;
crypto/openssl/crypto/md2/md2_dgst.c
135
t = state[j + 0] ^= S[t];
crypto/openssl/crypto/md2/md2_dgst.c
136
t = state[j + 1] ^= S[t];
crypto/openssl/crypto/md2/md2_dgst.c
137
t = state[j + 2] ^= S[t];
crypto/openssl/crypto/md2/md2_dgst.c
138
t = state[j + 3] ^= S[t];
crypto/openssl/crypto/md2/md2_dgst.c
139
t = state[j + 4] ^= S[t];
crypto/openssl/crypto/md2/md2_dgst.c
140
t = state[j + 5] ^= S[t];
crypto/openssl/crypto/md2/md2_dgst.c
141
t = state[j + 6] ^= S[t];
crypto/openssl/crypto/md2/md2_dgst.c
142
t = state[j + 7] ^= S[t];
crypto/openssl/crypto/md2/md2_dgst.c
144
t = (t + i) & 0xff;
crypto/openssl/crypto/md4/md4_local.h
55
#define R0(a, b, c, d, k, s, t) \
crypto/openssl/crypto/md4/md4_local.h
57
a += ((k) + (t) + F((b), (c), (d))); \
crypto/openssl/crypto/md4/md4_local.h
61
#define R1(a, b, c, d, k, s, t) \
crypto/openssl/crypto/md4/md4_local.h
63
a += ((k) + (t) + G((b), (c), (d))); \
crypto/openssl/crypto/md4/md4_local.h
67
#define R2(a, b, c, d, k, s, t) \
crypto/openssl/crypto/md4/md4_local.h
69
a += ((k) + (t) + H((b), (c), (d))); \
crypto/openssl/crypto/md5/md5_local.h
66
#define R0(a, b, c, d, k, s, t) \
crypto/openssl/crypto/md5/md5_local.h
68
a += ((k) + (t) + F((b), (c), (d))); \
crypto/openssl/crypto/md5/md5_local.h
73
#define R1(a, b, c, d, k, s, t) \
crypto/openssl/crypto/md5/md5_local.h
75
a += ((k) + (t) + G((b), (c), (d))); \
crypto/openssl/crypto/md5/md5_local.h
80
#define R2(a, b, c, d, k, s, t) \
crypto/openssl/crypto/md5/md5_local.h
82
a += ((k) + (t) + H((b), (c), (d))); \
crypto/openssl/crypto/md5/md5_local.h
87
#define R3(a, b, c, d, k, s, t) \
crypto/openssl/crypto/md5/md5_local.h
89
a += ((k) + (t) + I((b), (c), (d))); \
crypto/openssl/crypto/mem_sec.c
312
#define TESTBIT(t, b) (t[(b) >> 3] & (ONE << ((b) & 7)))
crypto/openssl/crypto/mem_sec.c
313
#define SETBIT(t, b) (t[(b) >> 3] |= (ONE << ((b) & 7)))
crypto/openssl/crypto/mem_sec.c
314
#define CLEARBIT(t, b) (t[(b) >> 3] &= (0xFF & ~(ONE << ((b) & 7))))
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
324
VECTOR t;
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
330
vector_init(&t, polys, k);
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
342
matrix_mult_vector(&a_ntt, &s1_ntt, &t);
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
343
vector_ntt_inverse(&t);
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
344
vector_add(&t, &key->s2, &t);
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
347
vector_power2_round(&t, t1, t0);
crypto/openssl/crypto/ml_dsa/ml_dsa_matrix.c
24
VECTOR *t)
crypto/openssl/crypto/ml_dsa/ml_dsa_matrix.c
29
vector_zero(t);
crypto/openssl/crypto/ml_dsa/ml_dsa_matrix.c
36
poly_add(&product, &t->poly[i], &t->poly[i]);
crypto/openssl/crypto/ml_dsa/ml_dsa_matrix.h
34
matrix_mult_vector(const MATRIX *a, const VECTOR *s, VECTOR *t)
crypto/openssl/crypto/ml_dsa/ml_dsa_matrix.h
36
ossl_ml_dsa_matrix_mult_vector(a, s, t);
crypto/openssl/crypto/ml_dsa/ml_dsa_ntt.c
95
uint64_t t = (uint32_t)a * (uint32_t)ML_DSA_Q_NEG_INV; /* a * -qinv */
crypto/openssl/crypto/ml_dsa/ml_dsa_ntt.c
96
uint64_t b = a + t * ML_DSA_Q; /* a - t * q */
crypto/openssl/crypto/ml_dsa/ml_dsa_poly.h
102
poly_power2_round(const POLY *t, POLY *t1, POLY *t0)
crypto/openssl/crypto/ml_dsa/ml_dsa_poly.h
107
ossl_ml_dsa_key_compress_power2_round(t->coeff[i],
crypto/openssl/crypto/ml_dsa/ml_dsa_vector.h
175
vector_power2_round(const VECTOR *t, VECTOR *t1, VECTOR *t0)
crypto/openssl/crypto/ml_dsa/ml_dsa_vector.h
179
for (i = 0; i < t->num_poly; i++)
crypto/openssl/crypto/ml_dsa/ml_dsa_vector.h
180
poly_power2_round(t->poly + i, t1->poly + i, t0->poly + i);
crypto/openssl/crypto/ml_kem/ml_kem.c
1500
inner_product(&v, key->t, y, rank);
crypto/openssl/crypto/ml_kem/ml_kem.c
1562
vector_encode(out, key->t, 12, vinfo->rank);
crypto/openssl/crypto/ml_kem/ml_kem.c
1598
if (!vector_decode_12(key->t, in, vinfo->rank)) {
crypto/openssl/crypto/ml_kem/ml_kem.c
1708
|| !gencbd_vector_ntt(key->t, cbd_1, &counter, sigma, rank, mdctx, key))
crypto/openssl/crypto/ml_kem/ml_kem.c
1712
matrix_mult_transpose_add(key->t, key->m, key->s, rank);
crypto/openssl/crypto/ml_kem/ml_kem.c
1714
CONSTTIME_DECLASSIFY(key->t, vinfo->rank * sizeof(scalar));
crypto/openssl/crypto/ml_kem/ml_kem.c
1865
key->m = (key->t = p) + rank;
crypto/openssl/crypto/ml_kem/ml_kem.c
1885
if (key->t == NULL)
crypto/openssl/crypto/ml_kem/ml_kem.c
1897
OPENSSL_free(key->t);
crypto/openssl/crypto/ml_kem/ml_kem.c
1898
key->d = key->z = (uint8_t *)(key->s = key->m = key->t = NULL);
crypto/openssl/crypto/ml_kem/ml_kem.c
1945
key->s = key->m = key->t = NULL;
crypto/openssl/crypto/ml_kem/ml_kem.c
1976
ret->s = ret->m = ret->t = NULL;
crypto/openssl/crypto/ml_kem/ml_kem.c
1989
ok = add_storage(OPENSSL_memdup(key->t, key->vinfo->puballoc), 0, ret);
crypto/openssl/crypto/ml_kem/ml_kem.c
1994
ok = add_storage(OPENSSL_memdup(key->t, key->vinfo->prvalloc), 1, ret);
crypto/openssl/crypto/ml_kem/ml_kem.c
701
const scalar *t = key->t, *end = t + vinfo->rank;
crypto/openssl/crypto/ml_kem/ml_kem.c
710
scalar_encode(buf, t++, 12);
crypto/openssl/crypto/ml_kem/ml_kem.c
713
} while (t < end);
crypto/openssl/crypto/modes/cbc128.c
141
out_t[n] = tmp.t[n] ^ ivec_t[n];
crypto/openssl/crypto/modes/cbc128.c
80
size_t t[16 / sizeof(size_t)];
crypto/openssl/crypto/modes/cfb128.c
104
size_t t = *(size_t_aX *)(in + n);
crypto/openssl/crypto/modes/cfb128.c
106
= *(size_t_aX *)(ivec + n) ^ t;
crypto/openssl/crypto/modes/cfb128.c
107
*(size_t_aX *)(ivec + n) = t;
crypto/openssl/crypto/modes/gcm128.c
1104
out_t[i] = in_t[i] ^ ctx->EKi.t[i];
crypto/openssl/crypto/modes/gcm128.c
1129
out_t[i] = in_t[i] ^ ctx->EKi.t[i];
crypto/openssl/crypto/modes/gcm128.c
1152
out_t[i] = c ^ ctx->EKi.t[i];
crypto/openssl/crypto/modes/gcm128.c
1153
ctx->Xi.t[i] ^= c;
crypto/openssl/crypto/modes/gcm128.c
876
out_t[i] = in_t[i] ^ ctx->EKi.t[i];
crypto/openssl/crypto/modes/gcm128.c
903
out_t[i] = in_t[i] ^ ctx->EKi.t[i];
crypto/openssl/crypto/modes/gcm128.c
926
ctx->Xi.t[i] ^= out_t[i] = in_t[i] ^ ctx->EKi.t[i];
crypto/openssl/crypto/modes/siv128.c
104
memcpy(&t, in + (len - SIV_LEN), SIV_LEN);
crypto/openssl/crypto/modes/siv128.c
105
siv128_xorblock(&t, &ctx->d);
crypto/openssl/crypto/modes/siv128.c
106
if (!EVP_MAC_update(mac_ctx, t.byte, SIV_LEN))
crypto/openssl/crypto/modes/siv128.c
109
memset(&t, 0, sizeof(t));
crypto/openssl/crypto/modes/siv128.c
110
memcpy(&t, in, len);
crypto/openssl/crypto/modes/siv128.c
111
t.byte[len] = 0x80;
crypto/openssl/crypto/modes/siv128.c
113
siv128_xorblock(&t, &ctx->d);
crypto/openssl/crypto/modes/siv128.c
114
if (!EVP_MAC_update(mac_ctx, t.byte, SIV_LEN))
crypto/openssl/crypto/modes/siv128.c
306
SIV_BLOCK t, q;
crypto/openssl/crypto/modes/siv128.c
319
|| !siv128_do_s2v_p(ctx, &t, out, len))
crypto/openssl/crypto/modes/siv128.c
324
t.byte[i] ^= p[i];
crypto/openssl/crypto/modes/siv128.c
326
if ((t.word[0] | t.word[1]) != 0) {
crypto/openssl/crypto/modes/siv128.c
92
SIV_BLOCK t;
crypto/openssl/crypto/modes/wrap128.c
105
size_t i, j, t;
crypto/openssl/crypto/modes/wrap128.c
110
t = 6 * (inlen >> 3);
crypto/openssl/crypto/modes/wrap128.c
115
for (i = 0; i < inlen; i += 8, t--, R -= 8) {
crypto/openssl/crypto/modes/wrap128.c
116
A[7] ^= (unsigned char)(t & 0xff);
crypto/openssl/crypto/modes/wrap128.c
117
if (t > 0xff) {
crypto/openssl/crypto/modes/wrap128.c
118
A[6] ^= (unsigned char)((t >> 8) & 0xff);
crypto/openssl/crypto/modes/wrap128.c
119
A[5] ^= (unsigned char)((t >> 16) & 0xff);
crypto/openssl/crypto/modes/wrap128.c
120
A[4] ^= (unsigned char)((t >> 24) & 0xff);
crypto/openssl/crypto/modes/wrap128.c
54
size_t i, j, t;
crypto/openssl/crypto/modes/wrap128.c
58
t = 1;
crypto/openssl/crypto/modes/wrap128.c
67
for (i = 0; i < inlen; i += 8, t++, R += 8) {
crypto/openssl/crypto/modes/wrap128.c
70
A[7] ^= (unsigned char)(t & 0xff);
crypto/openssl/crypto/modes/wrap128.c
71
if (t > 0xff) {
crypto/openssl/crypto/modes/wrap128.c
72
A[6] ^= (unsigned char)((t >> 8) & 0xff);
crypto/openssl/crypto/modes/wrap128.c
73
A[5] ^= (unsigned char)((t >> 16) & 0xff);
crypto/openssl/crypto/modes/wrap128.c
74
A[4] ^= (unsigned char)((t >> 24) & 0xff);
crypto/openssl/crypto/o_str.c
422
int t;
crypto/openssl/crypto/o_str.c
424
while ((t = ossl_tolower(*s1) - ossl_tolower(*s2++)) == 0)
crypto/openssl/crypto/o_str.c
427
return t;
crypto/openssl/crypto/o_str.c
432
int t;
crypto/openssl/crypto/o_str.c
436
if ((t = ossl_tolower(*s1) - ossl_tolower(*s2++)) != 0)
crypto/openssl/crypto/o_str.c
437
return t;
crypto/openssl/crypto/objects/obj_xref.c
111
const nid_triple *t = &tmp;
crypto/openssl/crypto/objects/obj_xref.c
122
rv = OBJ_bsearch_sigx(&t, sigoid_srt_xref, OSSL_NELEM(sigoid_srt_xref));
crypto/openssl/crypto/objects/obj_xref.c
133
t = sk_nid_triple_value(sigx_app, idx);
crypto/openssl/crypto/objects/obj_xref.c
134
rv = &t;
crypto/openssl/crypto/ocsp/ocsp_prn.c
34
long t;
crypto/openssl/crypto/ocsp/ocsp_prn.c
42
if (ts->t == s)
crypto/openssl/crypto/pkcs7/pk7_attr.c
107
int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t)
crypto/openssl/crypto/pkcs7/pk7_attr.c
111
if (t == NULL && (tmp = t = X509_gmtime_adj(NULL, 0)) == NULL) {
crypto/openssl/crypto/pkcs7/pk7_attr.c
116
V_ASN1_UTCTIME, t)) {
crypto/openssl/crypto/poly1305/poly1305.c
205
u128 t;
crypto/openssl/crypto/poly1305/poly1305.c
213
g0 = (u64)(t = (u128)h0 + 5);
crypto/openssl/crypto/poly1305/poly1305.c
214
g1 = (u64)(t = (u128)h1 + (t >> 64));
crypto/openssl/crypto/poly1305/poly1305.c
215
g2 = h2 + (u64)(t >> 64);
crypto/openssl/crypto/poly1305/poly1305.c
226
h0 = (u64)(t = (u128)h0 + nonce[0] + ((u64)nonce[1] << 32));
crypto/openssl/crypto/poly1305/poly1305.c
227
h1 = (u64)(t = (u128)h1 + nonce[2] + ((u64)nonce[3] << 32) + (t >> 64));
crypto/openssl/crypto/poly1305/poly1305.c
356
u64 t;
crypto/openssl/crypto/poly1305/poly1305.c
366
g0 = (u32)(t = (u64)h0 + 5);
crypto/openssl/crypto/poly1305/poly1305.c
367
g1 = (u32)(t = (u64)h1 + (t >> 32));
crypto/openssl/crypto/poly1305/poly1305.c
368
g2 = (u32)(t = (u64)h2 + (t >> 32));
crypto/openssl/crypto/poly1305/poly1305.c
369
g3 = (u32)(t = (u64)h3 + (t >> 32));
crypto/openssl/crypto/poly1305/poly1305.c
370
g4 = h4 + (u32)(t >> 32);
crypto/openssl/crypto/poly1305/poly1305.c
385
h0 = (u32)(t = (u64)h0 + nonce[0]);
crypto/openssl/crypto/poly1305/poly1305.c
386
h1 = (u32)(t = (u64)h1 + (t >> 32) + nonce[1]);
crypto/openssl/crypto/poly1305/poly1305.c
387
h2 = (u32)(t = (u64)h2 + (t >> 32) + nonce[2]);
crypto/openssl/crypto/poly1305/poly1305.c
388
h3 = (u32)(t = (u64)h3 + (t >> 32) + nonce[3]);
crypto/openssl/crypto/poly1305/poly1305_base2_44.c
133
u128 t;
crypto/openssl/crypto/poly1305/poly1305_base2_44.c
141
h0 = (u64)(t = (u128)h0 + (h1 << 44));
crypto/openssl/crypto/poly1305/poly1305_base2_44.c
143
h1 = (u64)(t = (u128)h1 + (h2 << 24) + (t >> 64));
crypto/openssl/crypto/poly1305/poly1305_base2_44.c
145
h2 += (u64)(t >> 64);
crypto/openssl/crypto/poly1305/poly1305_base2_44.c
148
g0 = (u64)(t = (u128)h0 + 5);
crypto/openssl/crypto/poly1305/poly1305_base2_44.c
149
g1 = (u64)(t = (u128)h1 + (t >> 64));
crypto/openssl/crypto/poly1305/poly1305_base2_44.c
150
g2 = h2 + (u64)(t >> 64);
crypto/openssl/crypto/poly1305/poly1305_base2_44.c
161
h0 = (u64)(t = (u128)h0 + nonce[0] + ((u64)nonce[1] << 32));
crypto/openssl/crypto/poly1305/poly1305_base2_44.c
162
h1 = (u64)(t = (u128)h1 + nonce[2] + ((u64)nonce[3] << 32) + (t >> 64));
crypto/openssl/crypto/poly1305/poly1305_ieee754.c
430
u64 t;
crypto/openssl/crypto/poly1305/poly1305_ieee754.c
459
g0 = (u32)(t = h0 + 5);
crypto/openssl/crypto/poly1305/poly1305_ieee754.c
460
g1 = (u32)(t = h1 + (t >> 32));
crypto/openssl/crypto/poly1305/poly1305_ieee754.c
461
g2 = (u32)(t = h2 + (t >> 32));
crypto/openssl/crypto/poly1305/poly1305_ieee754.c
462
g3 = (u32)(t = h3 + (t >> 32));
crypto/openssl/crypto/poly1305/poly1305_ieee754.c
463
g4 = h4 + (u32)(t >> 32);
crypto/openssl/crypto/poly1305/poly1305_ieee754.c
478
g0 = (u32)(t = (u64)g0 + nonce[0]);
crypto/openssl/crypto/poly1305/poly1305_ieee754.c
479
g1 = (u32)(t = (u64)g1 + (t >> 32) + nonce[1]);
crypto/openssl/crypto/poly1305/poly1305_ieee754.c
480
g2 = (u32)(t = (u64)g2 + (t >> 32) + nonce[2]);
crypto/openssl/crypto/poly1305/poly1305_ieee754.c
481
g3 = (u32)(t = (u64)g3 + (t >> 32) + nonce[3]);
crypto/openssl/crypto/property/property_parse.c
104
"HERE-->%s", *t);
crypto/openssl/crypto/property/property_parse.c
110
"Property %s overflows", *t);
crypto/openssl/crypto/property/property_parse.c
117
"HERE-->%s", *t);
crypto/openssl/crypto/property/property_parse.c
120
*t = skip_space(s);
crypto/openssl/crypto/property/property_parse.c
126
static int parse_hex(const char *t[], OSSL_PROPERTY_DEFINITION *res)
crypto/openssl/crypto/property/property_parse.c
128
const char *s = *t;
crypto/openssl/crypto/property/property_parse.c
139
"%s", *t);
crypto/openssl/crypto/property/property_parse.c
145
"Property %s overflows", *t);
crypto/openssl/crypto/property/property_parse.c
154
"HERE-->%s", *t);
crypto/openssl/crypto/property/property_parse.c
157
*t = skip_space(s);
crypto/openssl/crypto/property/property_parse.c
163
static int parse_oct(const char *t[], OSSL_PROPERTY_DEFINITION *res)
crypto/openssl/crypto/property/property_parse.c
165
const char *s = *t;
crypto/openssl/crypto/property/property_parse.c
171
"HERE-->%s", *t);
crypto/openssl/crypto/property/property_parse.c
176
"Property %s overflows", *t);
crypto/openssl/crypto/property/property_parse.c
184
"HERE-->%s", *t);
crypto/openssl/crypto/property/property_parse.c
187
*t = skip_space(s);
crypto/openssl/crypto/property/property_parse.c
193
static int parse_string(OSSL_LIB_CTX *ctx, const char *t[], char delim,
crypto/openssl/crypto/property/property_parse.c
197
const char *s = *t;
crypto/openssl/crypto/property/property_parse.c
210
"HERE-->%c%s", delim, *t);
crypto/openssl/crypto/property/property_parse.c
215
ERR_raise_data(ERR_LIB_PROP, PROP_R_STRING_TOO_LONG, "HERE-->%s", *t);
crypto/openssl/crypto/property/property_parse.c
219
*t = skip_space(s + 1);
crypto/openssl/crypto/property/property_parse.c
224
static int parse_unquoted(OSSL_LIB_CTX *ctx, const char *t[],
crypto/openssl/crypto/property/property_parse.c
228
const char *s = *t;
crypto/openssl/crypto/property/property_parse.c
248
ERR_raise_data(ERR_LIB_PROP, PROP_R_STRING_TOO_LONG, "HERE-->%s", *t);
crypto/openssl/crypto/property/property_parse.c
251
*t = skip_space(s);
crypto/openssl/crypto/property/property_parse.c
256
static int parse_value(OSSL_LIB_CTX *ctx, const char *t[],
crypto/openssl/crypto/property/property_parse.c
259
const char *s = *t;
crypto/openssl/crypto/property/property_parse.c
279
return parse_number(t, res);
crypto/openssl/crypto/property/property_parse.c
281
return parse_unquoted(ctx, t, res, create);
crypto/openssl/crypto/property/property_parse.c
283
*t = s;
crypto/openssl/crypto/property/property_parse.c
32
static int match_ch(const char *t[], char m)
crypto/openssl/crypto/property/property_parse.c
34
const char *s = *t;
crypto/openssl/crypto/property/property_parse.c
37
*t = skip_space(s + 1);
crypto/openssl/crypto/property/property_parse.c
45
static int match(const char *t[], const char m[], size_t m_len)
crypto/openssl/crypto/property/property_parse.c
47
const char *s = *t;
crypto/openssl/crypto/property/property_parse.c
50
*t = skip_space(s + m_len);
crypto/openssl/crypto/property/property_parse.c
546
const int t = a->num_properties + b->num_properties;
crypto/openssl/crypto/property/property_parse.c
549
+ (t == 0 ? 0 : t - 1) * sizeof(r->properties[0]));
crypto/openssl/crypto/property/property_parse.c
56
static int parse_name(OSSL_LIB_CTX *ctx, const char *t[], int create,
crypto/openssl/crypto/property/property_parse.c
62
const char *s = *t;
crypto/openssl/crypto/property/property_parse.c
68
"HERE-->%s", *t);
crypto/openssl/crypto/property/property_parse.c
88
ERR_raise_data(ERR_LIB_PROP, PROP_R_NAME_TOO_LONG, "HERE-->%s", *t);
crypto/openssl/crypto/property/property_parse.c
91
*t = skip_space(s);
crypto/openssl/crypto/property/property_parse.c
96
static int parse_number(const char *t[], OSSL_PROPERTY_DEFINITION *res)
crypto/openssl/crypto/property/property_parse.c
98
const char *s = *t;
crypto/openssl/crypto/property/property_string.c
147
PROP_TABLE *t;
crypto/openssl/crypto/property/property_string.c
155
t = name ? propdata->prop_names : propdata->prop_values;
crypto/openssl/crypto/property/property_string.c
161
ps = lh_PROPERTY_STRING_retrieve(t, &p);
crypto/openssl/crypto/property/property_string.c
169
ps = lh_PROPERTY_STRING_retrieve(t, &p);
crypto/openssl/crypto/property/property_string.c
181
lh_PROPERTY_STRING_insert(t, ps_new);
crypto/openssl/crypto/property/property_string.c
182
if (lh_PROPERTY_STRING_error(t)) {
crypto/openssl/crypto/property/property_string.c
67
PROP_TABLE *t = *pt;
crypto/openssl/crypto/property/property_string.c
69
if (t != NULL) {
crypto/openssl/crypto/property/property_string.c
70
lh_PROPERTY_STRING_doall(t, &property_free);
crypto/openssl/crypto/property/property_string.c
71
lh_PROPERTY_STRING_free(t);
crypto/openssl/crypto/punycode.c
152
unsigned int k, t;
crypto/openssl/crypto/punycode.c
168
t = (k <= bias) ? tmin : (k >= bias + tmax) ? tmax
crypto/openssl/crypto/punycode.c
171
if ((unsigned int)digit < t)
crypto/openssl/crypto/punycode.c
174
if (w > maxint / (base - t))
crypto/openssl/crypto/punycode.c
176
w = w * (base - t);
crypto/openssl/crypto/rc2/rc2_cbc.c
113
t = (x0 + (x1 & ~x3) + (x2 & x3) + *(p0++)) & 0xffff;
crypto/openssl/crypto/rc2/rc2_cbc.c
114
x0 = (t << 1) | (t >> 15);
crypto/openssl/crypto/rc2/rc2_cbc.c
115
t = (x1 + (x2 & ~x0) + (x3 & x0) + *(p0++)) & 0xffff;
crypto/openssl/crypto/rc2/rc2_cbc.c
116
x1 = (t << 2) | (t >> 14);
crypto/openssl/crypto/rc2/rc2_cbc.c
117
t = (x2 + (x3 & ~x1) + (x0 & x1) + *(p0++)) & 0xffff;
crypto/openssl/crypto/rc2/rc2_cbc.c
118
x2 = (t << 3) | (t >> 13);
crypto/openssl/crypto/rc2/rc2_cbc.c
119
t = (x3 + (x0 & ~x2) + (x1 & x2) + *(p0++)) & 0xffff;
crypto/openssl/crypto/rc2/rc2_cbc.c
120
x3 = (t << 5) | (t >> 11);
crypto/openssl/crypto/rc2/rc2_cbc.c
142
register RC2_INT x0, x1, x2, x3, t;
crypto/openssl/crypto/rc2/rc2_cbc.c
158
t = ((x3 << 11) | (x3 >> 5)) & 0xffff;
crypto/openssl/crypto/rc2/rc2_cbc.c
159
x3 = (t - (x0 & ~x2) - (x1 & x2) - *(p0--)) & 0xffff;
crypto/openssl/crypto/rc2/rc2_cbc.c
160
t = ((x2 << 13) | (x2 >> 3)) & 0xffff;
crypto/openssl/crypto/rc2/rc2_cbc.c
161
x2 = (t - (x3 & ~x1) - (x0 & x1) - *(p0--)) & 0xffff;
crypto/openssl/crypto/rc2/rc2_cbc.c
162
t = ((x1 << 14) | (x1 >> 2)) & 0xffff;
crypto/openssl/crypto/rc2/rc2_cbc.c
163
x1 = (t - (x2 & ~x0) - (x3 & x0) - *(p0--)) & 0xffff;
crypto/openssl/crypto/rc2/rc2_cbc.c
164
t = ((x0 << 15) | (x0 >> 1)) & 0xffff;
crypto/openssl/crypto/rc2/rc2_cbc.c
165
x0 = (t - (x1 & ~x3) - (x2 & x3) - *(p0--)) & 0xffff;
crypto/openssl/crypto/rc2/rc2_cbc.c
98
register RC2_INT x0, x1, x2, x3, t;
crypto/openssl/crypto/rc2/rc2cfb64.c
29
register unsigned long v0, v1, t;
crypto/openssl/crypto/rc2/rc2cfb64.c
45
t = ti[0];
crypto/openssl/crypto/rc2/rc2cfb64.c
46
l2c(t, iv);
crypto/openssl/crypto/rc2/rc2cfb64.c
47
t = ti[1];
crypto/openssl/crypto/rc2/rc2cfb64.c
48
l2c(t, iv);
crypto/openssl/crypto/rc2/rc2cfb64.c
65
t = ti[0];
crypto/openssl/crypto/rc2/rc2cfb64.c
66
l2c(t, iv);
crypto/openssl/crypto/rc2/rc2cfb64.c
67
t = ti[1];
crypto/openssl/crypto/rc2/rc2cfb64.c
68
l2c(t, iv);
crypto/openssl/crypto/rc2/rc2cfb64.c
78
v0 = v1 = ti[0] = ti[1] = t = c = cc = 0;
crypto/openssl/crypto/rc2/rc2ofb64.c
28
register unsigned long v0, v1, t;
crypto/openssl/crypto/rc2/rc2ofb64.c
49
t = ti[0];
crypto/openssl/crypto/rc2/rc2ofb64.c
50
l2c(t, dp);
crypto/openssl/crypto/rc2/rc2ofb64.c
51
t = ti[1];
crypto/openssl/crypto/rc2/rc2ofb64.c
52
l2c(t, dp);
crypto/openssl/crypto/rc2/rc2ofb64.c
65
t = v0 = v1 = ti[0] = ti[1] = 0;
crypto/openssl/crypto/rc5/rc5_skey.c
23
int i, j, m, c, t, ii, jj;
crypto/openssl/crypto/rc5/rc5_skey.c
49
t = (rounds + 1) * 2;
crypto/openssl/crypto/rc5/rc5_skey.c
51
for (i = 1; i < t; i++)
crypto/openssl/crypto/rc5/rc5_skey.c
54
j = (t > c) ? t : c;
crypto/openssl/crypto/rc5/rc5_skey.c
64
if (++ii >= t)
crypto/openssl/crypto/rc5/rc5cfb64.c
29
register unsigned long v0, v1, t;
crypto/openssl/crypto/rc5/rc5cfb64.c
45
t = ti[0];
crypto/openssl/crypto/rc5/rc5cfb64.c
46
l2c(t, iv);
crypto/openssl/crypto/rc5/rc5cfb64.c
47
t = ti[1];
crypto/openssl/crypto/rc5/rc5cfb64.c
48
l2c(t, iv);
crypto/openssl/crypto/rc5/rc5cfb64.c
65
t = ti[0];
crypto/openssl/crypto/rc5/rc5cfb64.c
66
l2c(t, iv);
crypto/openssl/crypto/rc5/rc5cfb64.c
67
t = ti[1];
crypto/openssl/crypto/rc5/rc5cfb64.c
68
l2c(t, iv);
crypto/openssl/crypto/rc5/rc5cfb64.c
78
v0 = v1 = ti[0] = ti[1] = t = c = cc = 0;
crypto/openssl/crypto/rc5/rc5ofb64.c
28
register unsigned long v0, v1, t;
crypto/openssl/crypto/rc5/rc5ofb64.c
49
t = ti[0];
crypto/openssl/crypto/rc5/rc5ofb64.c
50
l2c(t, dp);
crypto/openssl/crypto/rc5/rc5ofb64.c
51
t = ti[1];
crypto/openssl/crypto/rc5/rc5ofb64.c
52
l2c(t, dp);
crypto/openssl/crypto/rc5/rc5ofb64.c
65
t = v0 = v1 = ti[0] = ti[1] = 0;
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
101
&& !OSSL_PARAM_get_BN(p, &t->Xp))
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
104
&& !OSSL_PARAM_get_BN(p, &t->Xq1))
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
107
&& !OSSL_PARAM_get_BN(p, &t->Xq2))
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
110
&& !OSSL_PARAM_get_BN(p, &t->Xq))
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
114
t->p1 = BN_new();
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
115
t->p2 = BN_new();
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
116
t->q1 = BN_new();
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
117
t->q2 = BN_new();
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
118
r->acvp_test = t;
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
121
ossl_rsa_acvp_test_free(t);
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
127
RSA_ACVP_TEST *t;
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
133
t = r->acvp_test;
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
134
if (t != NULL) {
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
136
&& !OSSL_PARAM_set_BN(p, t->p1))
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
139
&& !OSSL_PARAM_set_BN(p, t->p2))
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
142
&& !OSSL_PARAM_set_BN(p, t->q1))
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
145
&& !OSSL_PARAM_set_BN(p, t->q2))
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
151
void ossl_rsa_acvp_test_free(RSA_ACVP_TEST *t)
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
153
if (t != NULL) {
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
154
BN_free(t->Xp1);
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
155
BN_free(t->Xp2);
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
156
BN_free(t->Xp);
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
157
BN_free(t->Xq1);
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
158
BN_free(t->Xq2);
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
159
BN_free(t->Xq);
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
160
BN_free(t->p1);
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
161
BN_free(t->p2);
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
162
BN_free(t->q1);
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
163
BN_free(t->q2);
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
164
OPENSSL_free(t);
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
81
RSA_ACVP_TEST *t;
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
89
t = OPENSSL_zalloc(sizeof(*t));
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
90
if (t == NULL)
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
95
&& !OSSL_PARAM_get_BN(p, &t->Xp1))
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
98
&& !OSSL_PARAM_get_BN(p, &t->Xp2))
crypto/openssl/crypto/rsa/rsa_ameth.c
372
bn = pinfo->t;
crypto/openssl/crypto/rsa/rsa_asn1.c
54
ASN1_SIMPLE(RSA_PRIME_INFO, t, CBIGNUM),
crypto/openssl/crypto/rsa/rsa_backend.c
534
if (!rsa_bn_dup_check(&duppinfo->t, pinfo->t))
crypto/openssl/crypto/rsa/rsa_chk.c
220
if (BN_cmp(i, pinfo->t) != 0) {
crypto/openssl/crypto/rsa/rsa_gen.c
591
tmp2 = BN_copy(pinfo->t, tmp);
crypto/openssl/crypto/rsa/rsa_lib.c
510
BN_clear_free(pinfo->t);
crypto/openssl/crypto/rsa/rsa_lib.c
513
pinfo->t = coeffs[i];
crypto/openssl/crypto/rsa/rsa_lib.c
516
BN_set_flags(pinfo->t, BN_FLG_CONSTTIME);
crypto/openssl/crypto/rsa/rsa_lib.c
635
coeffs[i] = pinfo->t;
crypto/openssl/crypto/rsa/rsa_lib.c
828
pinfo->t = coeff;
crypto/openssl/crypto/rsa/rsa_lib.c
831
BN_set_flags(pinfo->t, BN_FLG_CONSTTIME);
crypto/openssl/crypto/rsa/rsa_lib.c
900
sk_BIGNUM_const_push(coeffs, pinfo->t);
crypto/openssl/crypto/rsa/rsa_local.h
21
BIGNUM *t;
crypto/openssl/crypto/rsa/rsa_mp.c
27
BN_clear_free(pinfo->t);
crypto/openssl/crypto/rsa/rsa_mp.c
42
if ((pinfo->t = BN_secure_new()) == NULL)
crypto/openssl/crypto/rsa/rsa_mp.c
52
BN_free(pinfo->t);
crypto/openssl/crypto/rsa/rsa_ossl.c
1072
if (!BN_mul(r2, r1, pinfo->t, ctx)) {
crypto/openssl/crypto/sha/sha512.c
200
SHA_LONG64 t = c->h[n];
crypto/openssl/crypto/sha/sha512.c
202
*(md++) = (unsigned char)(t >> 56);
crypto/openssl/crypto/sha/sha512.c
203
*(md++) = (unsigned char)(t >> 48);
crypto/openssl/crypto/sha/sha512.c
204
*(md++) = (unsigned char)(t >> 40);
crypto/openssl/crypto/sha/sha512.c
205
*(md++) = (unsigned char)(t >> 32);
crypto/openssl/crypto/sha/sha512.c
206
*(md++) = (unsigned char)(t >> 24);
crypto/openssl/crypto/sha/sha512.c
207
*(md++) = (unsigned char)(t >> 16);
crypto/openssl/crypto/sha/sha512.c
208
*(md++) = (unsigned char)(t >> 8);
crypto/openssl/crypto/sha/sha512.c
209
*(md++) = (unsigned char)(t);
crypto/openssl/crypto/sha/sha512.c
216
SHA_LONG64 t = c->h[SHA224_DIGEST_LENGTH / 8];
crypto/openssl/crypto/sha/sha512.c
218
*(md++) = (unsigned char)(t >> 56);
crypto/openssl/crypto/sha/sha512.c
219
*(md++) = (unsigned char)(t >> 48);
crypto/openssl/crypto/sha/sha512.c
220
*(md++) = (unsigned char)(t >> 40);
crypto/openssl/crypto/sha/sha512.c
221
*(md++) = (unsigned char)(t >> 32);
crypto/openssl/crypto/sha/sha512.c
226
SHA_LONG64 t = c->h[n];
crypto/openssl/crypto/sha/sha512.c
228
*(md++) = (unsigned char)(t >> 56);
crypto/openssl/crypto/sha/sha512.c
229
*(md++) = (unsigned char)(t >> 48);
crypto/openssl/crypto/sha/sha512.c
230
*(md++) = (unsigned char)(t >> 40);
crypto/openssl/crypto/sha/sha512.c
231
*(md++) = (unsigned char)(t >> 32);
crypto/openssl/crypto/sha/sha512.c
232
*(md++) = (unsigned char)(t >> 24);
crypto/openssl/crypto/sha/sha512.c
233
*(md++) = (unsigned char)(t >> 16);
crypto/openssl/crypto/sha/sha512.c
234
*(md++) = (unsigned char)(t >> 8);
crypto/openssl/crypto/sha/sha512.c
235
*(md++) = (unsigned char)(t);
crypto/openssl/crypto/sha/sha512.c
240
SHA_LONG64 t = c->h[n];
crypto/openssl/crypto/sha/sha512.c
242
*(md++) = (unsigned char)(t >> 56);
crypto/openssl/crypto/sha/sha512.c
243
*(md++) = (unsigned char)(t >> 48);
crypto/openssl/crypto/sha/sha512.c
244
*(md++) = (unsigned char)(t >> 40);
crypto/openssl/crypto/sha/sha512.c
245
*(md++) = (unsigned char)(t >> 32);
crypto/openssl/crypto/sha/sha512.c
246
*(md++) = (unsigned char)(t >> 24);
crypto/openssl/crypto/sha/sha512.c
247
*(md++) = (unsigned char)(t >> 16);
crypto/openssl/crypto/sha/sha512.c
248
*(md++) = (unsigned char)(t >> 8);
crypto/openssl/crypto/sha/sha512.c
249
*(md++) = (unsigned char)(t);
crypto/openssl/crypto/sha/sha512.c
254
SHA_LONG64 t = c->h[n];
crypto/openssl/crypto/sha/sha512.c
256
*(md++) = (unsigned char)(t >> 56);
crypto/openssl/crypto/sha/sha512.c
257
*(md++) = (unsigned char)(t >> 48);
crypto/openssl/crypto/sha/sha512.c
258
*(md++) = (unsigned char)(t >> 40);
crypto/openssl/crypto/sha/sha512.c
259
*(md++) = (unsigned char)(t >> 32);
crypto/openssl/crypto/sha/sha512.c
260
*(md++) = (unsigned char)(t >> 24);
crypto/openssl/crypto/sha/sha512.c
261
*(md++) = (unsigned char)(t >> 16);
crypto/openssl/crypto/sha/sha512.c
262
*(md++) = (unsigned char)(t >> 8);
crypto/openssl/crypto/sha/sha512.c
263
*(md++) = (unsigned char)(t);
crypto/openssl/crypto/slh_dsa/slh_adrs.h
39
#define SLH_ADRS_FN_DECLARE(adrsf, t) OSSL_SLH_ADRS_FUNC_##t *t = adrsf->t
crypto/openssl/crypto/slh_dsa/slh_hash.h
21
#define SLH_HASH_FN_DECLARE(hashf, t) OSSL_SLH_HASHFUNC_##t *t = hashf->t
crypto/openssl/crypto/sm2/sm2_sign.c
341
BIGNUM *t = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
353
t = BN_CTX_get(ctx);
crypto/openssl/crypto/sm2/sm2_sign.c
386
if (!BN_mod_add(t, r, s, order, ctx)) {
crypto/openssl/crypto/sm2/sm2_sign.c
391
if (BN_is_zero(t)) {
crypto/openssl/crypto/sm2/sm2_sign.c
396
if (!EC_POINT_mul(group, pt, s, EC_KEY_get0_public_key(key), t, ctx)
crypto/openssl/crypto/sm2/sm2_sign.c
402
if (!BN_mod_add(t, e, x1, order, ctx)) {
crypto/openssl/crypto/sm2/sm2_sign.c
407
if (BN_cmp(r, t) == 0)
crypto/openssl/crypto/sm4/sm4.c
247
uint32_t t = 0;
crypto/openssl/crypto/sm4/sm4.c
249
t |= ((uint32_t)SM4_S[(uint8_t)(X >> 24)]) << 24;
crypto/openssl/crypto/sm4/sm4.c
250
t |= ((uint32_t)SM4_S[(uint8_t)(X >> 16)]) << 16;
crypto/openssl/crypto/sm4/sm4.c
251
t |= ((uint32_t)SM4_S[(uint8_t)(X >> 8)]) << 8;
crypto/openssl/crypto/sm4/sm4.c
252
t |= SM4_S[(uint8_t)X];
crypto/openssl/crypto/sm4/sm4.c
254
return t;
crypto/openssl/crypto/sm4/sm4.c
259
uint32_t t = SM4_T_non_lin_sub(X);
crypto/openssl/crypto/sm4/sm4.c
264
return t ^ rotl(t, 2) ^ rotl(t, 10) ^ rotl(t, 18) ^ rotl(t, 24);
crypto/openssl/crypto/sm4/sm4.c
274
uint32_t t = SM4_T_non_lin_sub(X);
crypto/openssl/crypto/sm4/sm4.c
276
return t ^ rotl(t, 13) ^ rotl(t, 23);
crypto/openssl/crypto/thread/internal.c
129
struct openssl_threads_st *t = OPENSSL_zalloc(sizeof(*t));
crypto/openssl/crypto/thread/internal.c
131
if (t == NULL)
crypto/openssl/crypto/thread/internal.c
134
t->lock = ossl_crypto_mutex_new();
crypto/openssl/crypto/thread/internal.c
135
t->cond_finished = ossl_crypto_condvar_new();
crypto/openssl/crypto/thread/internal.c
137
if (t->lock == NULL || t->cond_finished == NULL)
crypto/openssl/crypto/thread/internal.c
140
return t;
crypto/openssl/crypto/thread/internal.c
143
ossl_threads_ctx_free((void *)t);
crypto/openssl/crypto/thread/internal.c
149
OSSL_LIB_CTX_THREADS *t = (OSSL_LIB_CTX_THREADS *)vdata;
crypto/openssl/crypto/thread/internal.c
151
if (t == NULL)
crypto/openssl/crypto/thread/internal.c
154
ossl_crypto_mutex_free(&t->lock);
crypto/openssl/crypto/thread/internal.c
155
ossl_crypto_condvar_free(&t->cond_finished);
crypto/openssl/crypto/thread/internal.c
156
OPENSSL_free(t);
crypto/openssl/crypto/threads_pthread.c
100
#define ATOMIC_LOAD_N(t, p, o) __atomic_load_n(p, o)
crypto/openssl/crypto/threads_pthread.c
101
#define ATOMIC_STORE_N(t, p, v, o) __atomic_store_n(p, v, o)
crypto/openssl/crypto/threads_pthread.c
102
#define ATOMIC_STORE(t, p, v, o) __atomic_store(p, v, o)
crypto/openssl/crypto/threads_pthread.c
108
#define IMPL_fallback_atomic_load_n(t) \
crypto/openssl/crypto/threads_pthread.c
109
static ossl_inline t fallback_atomic_load_n_##t(t *p) \
crypto/openssl/crypto/threads_pthread.c
111
t ret; \
crypto/openssl/crypto/threads_pthread.c
122
#define ATOMIC_LOAD_N(t, p, o) fallback_atomic_load_n_##t(p)
crypto/openssl/crypto/threads_pthread.c
124
#define IMPL_fallback_atomic_store_n(t) \
crypto/openssl/crypto/threads_pthread.c
125
static ossl_inline t fallback_atomic_store_n_##t(t *p, t v) \
crypto/openssl/crypto/threads_pthread.c
127
t ret; \
crypto/openssl/crypto/threads_pthread.c
137
#define ATOMIC_STORE_N(t, p, v, o) fallback_atomic_store_n_##t(p, v)
crypto/openssl/crypto/threads_pthread.c
139
#define IMPL_fallback_atomic_store(t) \
crypto/openssl/crypto/threads_pthread.c
140
static ossl_inline void fallback_atomic_store_##t(t *p, t *v) \
crypto/openssl/crypto/threads_pthread.c
148
#define ATOMIC_STORE(t, p, v, o) fallback_atomic_store_##t(p, v)
crypto/openssl/crypto/time.c
34
r.t = ((uint64_t)now.ul) * (OSSL_TIME_SECOND / 10000000);
crypto/openssl/crypto/time.c
36
struct timeval t;
crypto/openssl/crypto/time.c
38
if (gettimeofday(&t, NULL) < 0) {
crypto/openssl/crypto/time.c
43
if (t.tv_sec <= 0)
crypto/openssl/crypto/time.c
44
r.t = t.tv_usec <= 0 ? 0 : t.tv_usec * OSSL_TIME_US;
crypto/openssl/crypto/time.c
46
r.t = ((uint64_t)t.tv_sec * 1000000 + t.tv_usec) * OSSL_TIME_US;
crypto/openssl/crypto/ts/ts_rsp_sign.c
64
OSSL_TIME t;
crypto/openssl/crypto/ts/ts_rsp_sign.c
67
t = ossl_time_now();
crypto/openssl/crypto/ts/ts_rsp_sign.c
68
if (ossl_time_is_zero(t)) {
crypto/openssl/crypto/ts/ts_rsp_sign.c
75
tv = ossl_time_to_timeval(t);
crypto/openssl/crypto/x509/v3_addr.c
1018
prefixlen = (int)strtoul(s + i2, &t, 10);
crypto/openssl/crypto/x509/v3_addr.c
1019
if (t == s + i2
crypto/openssl/crypto/x509/v3_addr.c
1020
|| *t != '\0'
crypto/openssl/crypto/x509/v3_addr.c
924
char *s = NULL, *t;
crypto/openssl/crypto/x509/v3_addr.c
975
*safi = strtoul(val->value, &t, 0);
crypto/openssl/crypto/x509/v3_addr.c
976
t += strspn(t, " \t");
crypto/openssl/crypto/x509/v3_addr.c
977
if (*safi > 0xFF || *t++ != ':') {
crypto/openssl/crypto/x509/v3_addr.c
982
t += strspn(t, " \t");
crypto/openssl/crypto/x509/v3_addr.c
983
s = OPENSSL_strdup(t);
crypto/openssl/crypto/x509/v3_admis.c
234
void NAMING_AUTHORITY_set0_authorityText(NAMING_AUTHORITY *n, ASN1_STRING *t)
crypto/openssl/crypto/x509/v3_admis.c
237
n->namingAuthorityText = t;
crypto/openssl/crypto/x509/v3_lib.c
55
const X509V3_EXT_METHOD *t = &tmp, *const * ret;
crypto/openssl/crypto/x509/v3_lib.c
61
ret = OBJ_bsearch_ext(&t, standard_exts, STANDARD_EXTENSION_COUNT);
crypto/openssl/crypto/x509/x509_trust.c
117
int X509_TRUST_set(int *t, int trust)
crypto/openssl/crypto/x509/x509_trust.c
123
*t = trust;
crypto/openssl/crypto/x509/x509_vfy.c
2125
time_t t;
crypto/openssl/crypto/x509/x509_vfy.c
2128
t = *in_tm;
crypto/openssl/crypto/x509/x509_vfy.c
2130
time(&t);
crypto/openssl/crypto/x509/x509_vfy.c
2134
return ASN1_UTCTIME_adj(s, t, offset_day, offset_sec);
crypto/openssl/crypto/x509/x509_vfy.c
2136
return ASN1_GENERALIZEDTIME_adj(s, t, offset_day, offset_sec);
crypto/openssl/crypto/x509/x509_vfy.c
2138
return ASN1_TIME_adj(s, t, offset_day, offset_sec);
crypto/openssl/crypto/x509/x509_vfy.c
2691
time_t t)
crypto/openssl/crypto/x509/x509_vfy.c
2693
X509_VERIFY_PARAM_set_time(ctx->param, t);
crypto/openssl/crypto/x509/x509_vfy.c
2905
danetls_record *t = NULL;
crypto/openssl/crypto/x509/x509_vfy.c
2952
t = sk_danetls_record_value(dane->trecs, i);
crypto/openssl/crypto/x509/x509_vfy.c
2953
if ((DANETLS_USAGE_BIT(t->usage) & mask) == 0)
crypto/openssl/crypto/x509/x509_vfy.c
2955
if (t->usage != usage) {
crypto/openssl/crypto/x509/x509_vfy.c
2956
usage = t->usage;
crypto/openssl/crypto/x509/x509_vfy.c
2960
ordinal = dane->dctx->mdord[t->mtype];
crypto/openssl/crypto/x509/x509_vfy.c
2962
if (t->selector != selector) {
crypto/openssl/crypto/x509/x509_vfy.c
2963
selector = t->selector;
crypto/openssl/crypto/x509/x509_vfy.c
2973
ordinal = dane->dctx->mdord[t->mtype];
crypto/openssl/crypto/x509/x509_vfy.c
2974
} else if (t->mtype != DANETLS_MATCHING_FULL) {
crypto/openssl/crypto/x509/x509_vfy.c
2984
if (dane->dctx->mdord[t->mtype] < ordinal)
crypto/openssl/crypto/x509/x509_vfy.c
2992
if (t->mtype != mtype) {
crypto/openssl/crypto/x509/x509_vfy.c
2993
const EVP_MD *md = dane->dctx->mdevp[mtype = t->mtype];
crypto/openssl/crypto/x509/x509_vfy.c
3012
if (cmplen == t->dlen && memcmp(cmpbuf, t->data, cmplen) == 0) {
crypto/openssl/crypto/x509/x509_vfy.c
3024
dane->mtlsa = t;
crypto/openssl/crypto/x509/x509_vfy.c
3064
danetls_record *t;
crypto/openssl/crypto/x509/x509_vfy.c
3071
t = sk_danetls_record_value(dane->trecs, i);
crypto/openssl/crypto/x509/x509_vfy.c
3072
if (t->usage != DANETLS_USAGE_DANE_TA || t->selector != DANETLS_SELECTOR_SPKI || t->mtype != DANETLS_MATCHING_FULL || X509_verify(cert, t->spki) <= 0)
crypto/openssl/crypto/x509/x509_vfy.c
3082
dane->mtlsa = t;
crypto/openssl/crypto/x509/x509_vfy.c
3102
danetls_record *t = NULL;
crypto/openssl/crypto/x509/x509_vfy.c
3121
t = sk_danetls_record_value(dane->trecs, i);
crypto/openssl/crypto/x509/x509_vfy.c
3122
if (t->usage != DANETLS_USAGE_DANE_EE || t->selector != DANETLS_SELECTOR_SPKI)
crypto/openssl/crypto/x509/x509_vfy.c
3126
if (t->mtype != mtype) {
crypto/openssl/crypto/x509/x509_vfy.c
3127
const EVP_MD *md = dane->dctx->mdevp[mtype = t->mtype];
crypto/openssl/crypto/x509/x509_vfy.c
3140
if (cmplen == t->dlen && memcmp(cmpbuf, t->data, cmplen) == 0) {
crypto/openssl/crypto/x509/x509_vfy.c
3143
dane->mtlsa = t;
crypto/openssl/crypto/x509/x509_vpm.c
328
void X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param, time_t t)
crypto/openssl/crypto/x509/x509_vpm.c
330
param->check_time = t;
crypto/openssl/demos/cms/cms_ver.c
24
ASN1_TYPE *t;
crypto/openssl/demos/cms/cms_ver.c
36
t = X509_ATTRIBUTE_get0_type(attr, 0);
crypto/openssl/demos/cms/cms_ver.c
37
if (t == NULL)
crypto/openssl/demos/cms/cms_ver.c
39
switch (t->type) {
crypto/openssl/demos/cms/cms_ver.c
41
utctime = t->value.utctime;
crypto/openssl/demos/cms/cms_ver.c
45
gtime = t->value.generalizedtime;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
254
static inline int timeval_to_ms(const struct timeval *t);
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
303
static inline void ms_to_timeval(struct timeval *t, int ms)
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
305
t->tv_sec = ms < 0 ? -1 : ms / 1000;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
306
t->tv_usec = ms < 0 ? 0 : (ms % 1000) * 1000;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
309
static inline int timeval_to_ms(const struct timeval *t)
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
311
return t->tv_sec * 1000 + t->tv_usec / 1000;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
363
struct timeval start, now, deadline, t;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
368
ms_to_timeval(&t, get_conn_pump_timeout(conn));
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
369
if (t.tv_sec < 0 || timercmp(&t, &timeout, >))
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
370
t = timeout;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
379
if (poll(&pfd, 1, timeval_to_ms(&t)) == 0)
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
407
struct timeval start, now, deadline, t;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
412
ms_to_timeval(&t, get_conn_pump_timeout(conn));
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
413
if (t.tv_sec < 0 || timercmp(&t, &timeout, >))
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
414
t = timeout;
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
423
if (poll(&pfd, 1, timeval_to_ms(&t)) == 0)
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
221
static inline int timeval_to_ms(const struct timeval *t);
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
281
static inline void ms_to_timeval(struct timeval *t, int ms)
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
283
t->tv_sec = ms < 0 ? -1 : ms / 1000;
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
284
t->tv_usec = ms < 0 ? 0 : (ms % 1000) * 1000;
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
287
static inline int timeval_to_ms(const struct timeval *t)
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
289
return t->tv_sec * 1000 + t->tv_usec / 1000;
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
378
struct timeval start, now, deadline, t;
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
383
ms_to_timeval(&t, get_conn_pump_timeout(conn));
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
384
if (t.tv_sec < 0 || timercmp(&t, &timeout, >))
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
385
t = timeout;
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
394
if (poll(&pfd, 1, timeval_to_ms(&t)) == 0)
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
422
struct timeval start, now, deadline, t;
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
427
ms_to_timeval(&t, get_conn_pump_timeout(conn));
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
428
if (t.tv_sec < 0 || timercmp(&t, &timeout, >))
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
429
t = timeout;
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
438
if (poll(&pfd, 1, timeval_to_ms(&t)) == 0)
crypto/openssl/doc/designs/ddd/ddd-06-mem-uv.c
33
static inline int timeval_to_ms(const struct timeval *t)
crypto/openssl/doc/designs/ddd/ddd-06-mem-uv.c
35
return t->tv_sec * 1000 + t->tv_usec / 1000;
crypto/openssl/engines/e_loader_attic.c
1168
int t = 0;
crypto/openssl/engines/e_loader_attic.c
1239
&& (t = OSSL_STORE_INFO_get_type(result)) == STORE_INFO_EMBEDDED) {
crypto/openssl/fuzz/client.c
26
#define TIME_IMPL(t) \
crypto/openssl/fuzz/client.c
28
if (t != NULL) \
crypto/openssl/fuzz/client.c
29
*t = FUZZTIME; \
crypto/openssl/fuzz/client.c
41
time_t time(time_t *t) TIME_IMPL(t)
crypto/openssl/fuzz/dtlsclient.c
26
#define TIME_IMPL(t) \
crypto/openssl/fuzz/dtlsclient.c
28
if (t != NULL) \
crypto/openssl/fuzz/dtlsclient.c
29
*t = FUZZTIME; \
crypto/openssl/fuzz/dtlsclient.c
41
time_t time(time_t *t) TIME_IMPL(t)
crypto/openssl/fuzz/dtlsserver.c
747
#define TIME_IMPL(t) \
crypto/openssl/fuzz/dtlsserver.c
749
if (t != NULL) \
crypto/openssl/fuzz/dtlsserver.c
750
*t = FUZZTIME; \
crypto/openssl/fuzz/dtlsserver.c
762
time_t time(time_t *t) TIME_IMPL(t)
crypto/openssl/fuzz/server.c
561
#define TIME_IMPL(t) \
crypto/openssl/fuzz/server.c
563
if (t != NULL) \
crypto/openssl/fuzz/server.c
564
*t = FUZZTIME; \
crypto/openssl/fuzz/server.c
576
time_t time(time_t *t) TIME_IMPL(t)
crypto/openssl/include/crypto/ml_kem.h
180
struct ossl_ml_kem_scalar_st *t; /* Public key vector */
crypto/openssl/include/crypto/ml_kem.h
199
#define ossl_ml_kem_have_pubkey(key) ((key)->t != NULL)
crypto/openssl/include/crypto/modes.h
120
size_t t[16 / sizeof(size_t)];
crypto/openssl/include/crypto/rsa.h
134
void ossl_rsa_acvp_test_free(RSA_ACVP_TEST *t);
crypto/openssl/include/internal/quic_thread_assist.h
48
CRYPTO_THREAD *t;
crypto/openssl/include/internal/sockets.h
61
#define socket(d, t, p) ((int)socket(d, t, p))
crypto/openssl/include/internal/time.h
101
t = ossl_time_infinite();
crypto/openssl/include/internal/time.h
104
tv.tv_sec = (long int)(t.t / OSSL_TIME_SECOND);
crypto/openssl/include/internal/time.h
106
tv.tv_sec = (time_t)(t.t / OSSL_TIME_SECOND);
crypto/openssl/include/internal/time.h
108
tv.tv_usec = (t.t % OSSL_TIME_SECOND) / OSSL_TIME_US;
crypto/openssl/include/internal/time.h
116
OSSL_TIME t;
crypto/openssl/include/internal/time.h
122
t.t = tv.tv_sec * OSSL_TIME_SECOND + tv.tv_usec * OSSL_TIME_US;
crypto/openssl/include/internal/time.h
123
return t;
crypto/openssl/include/internal/time.h
129
ossl_time_to_time_t(OSSL_TIME t)
crypto/openssl/include/internal/time.h
131
return (time_t)(t.t / OSSL_TIME_SECOND);
crypto/openssl/include/internal/time.h
136
ossl_time_from_time_t(time_t t)
crypto/openssl/include/internal/time.h
140
ot.t = t;
crypto/openssl/include/internal/time.h
141
ot.t *= OSSL_TIME_SECOND;
crypto/openssl/include/internal/time.h
148
if (a.t > b.t)
crypto/openssl/include/internal/time.h
150
if (a.t < b.t)
crypto/openssl/include/internal/time.h
156
static ossl_unused ossl_inline int ossl_time_is_zero(OSSL_TIME t)
crypto/openssl/include/internal/time.h
158
return ossl_time_compare(t, ossl_time_zero()) == 0;
crypto/openssl/include/internal/time.h
162
static ossl_unused ossl_inline int ossl_time_is_infinite(OSSL_TIME t)
crypto/openssl/include/internal/time.h
164
return ossl_time_compare(t, ossl_time_infinite()) == 0;
crypto/openssl/include/internal/time.h
173
r.t = safe_add_time(a.t, b.t, &err);
crypto/openssl/include/internal/time.h
183
r.t = safe_sub_time(a.t, b.t, &err);
crypto/openssl/include/internal/time.h
191
return a.t > b.t ? ossl_time_subtract(a, b)
crypto/openssl/include/internal/time.h
201
r.t = safe_mul_time(a.t, b, &err);
crypto/openssl/include/internal/time.h
211
r.t = safe_div_time(a.t, b, &err);
crypto/openssl/include/internal/time.h
221
r.t = safe_muldiv_time(a.t, b, c, &err);
crypto/openssl/include/internal/time.h
229
return a.t > b.t ? a : b;
crypto/openssl/include/internal/time.h
236
return a.t < b.t ? a : b;
crypto/openssl/include/internal/time.h
27
uint64_t t; /* Ticks since the epoch */
crypto/openssl/include/internal/time.h
43
#define ossl_time2seconds(t) (ossl_time2ticks(t) / OSSL_TIME_SECOND)
crypto/openssl/include/internal/time.h
45
#define ossl_time2ms(t) (ossl_time2ticks(t) / OSSL_TIME_MS)
crypto/openssl/include/internal/time.h
47
#define ossl_time2us(t) (ossl_time2ticks(t) / OSSL_TIME_US)
crypto/openssl/include/internal/time.h
62
r.t = ticks;
crypto/openssl/include/internal/time.h
68
ossl_time2ticks(OSSL_TIME t)
crypto/openssl/include/internal/time.h
70
return t.t;
crypto/openssl/include/internal/time.h
90
static ossl_unused ossl_inline struct timeval ossl_time_to_timeval(OSSL_TIME t)
crypto/openssl/include/internal/time.h
99
t.t = safe_add_time(t.t, OSSL_TIME_US - 1, &err);
crypto/openssl/include/openssl/asn1.h
617
ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t);
crypto/openssl/include/openssl/asn1.h
618
void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t);
crypto/openssl/include/openssl/asn1.h
727
ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t);
crypto/openssl/include/openssl/asn1.h
728
ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t,
crypto/openssl/include/openssl/asn1.h
731
int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t);
crypto/openssl/include/openssl/asn1.h
735
time_t t);
crypto/openssl/include/openssl/asn1.h
737
time_t t, int offset_day,
crypto/openssl/include/openssl/asn1.h
838
ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t);
crypto/openssl/include/openssl/asn1.h
839
ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t,
crypto/openssl/include/openssl/asn1.h
841
int ASN1_TIME_check(const ASN1_TIME *t);
crypto/openssl/include/openssl/asn1.h
842
ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(const ASN1_TIME *t,
crypto/openssl/include/openssl/asn1.h
848
int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t);
crypto/openssl/include/openssl/asn1t.h
488
#define ASN1_TEMPLATE_item(t) (t->item_ptr)
crypto/openssl/include/openssl/asn1t.h
489
#define ASN1_TEMPLATE_adb(t) (t->item_ptr)
crypto/openssl/include/openssl/bio.h
529
#define BIO_set_sock_type(b, t) BIO_ctrl(b, BIO_C_SET_SOCK_TYPE, (t), NULL)
crypto/openssl/include/openssl/byteorder.h
100
memcpy(out, (unsigned char *)&t, 2);
crypto/openssl/include/openssl/byteorder.h
113
uint16_t t = OSSL_HTOBE16(val);
crypto/openssl/include/openssl/byteorder.h
115
memcpy(out, (unsigned char *)&t, 2);
crypto/openssl/include/openssl/byteorder.h
128
uint32_t t = OSSL_HTOLE32(val);
crypto/openssl/include/openssl/byteorder.h
130
memcpy(out, (unsigned char *)&t, 4);
crypto/openssl/include/openssl/byteorder.h
145
uint32_t t = OSSL_HTOBE32(val);
crypto/openssl/include/openssl/byteorder.h
147
memcpy(out, (unsigned char *)&t, 4);
crypto/openssl/include/openssl/byteorder.h
162
uint64_t t = OSSL_HTOLE64(val);
crypto/openssl/include/openssl/byteorder.h
164
memcpy(out, (unsigned char *)&t, 8);
crypto/openssl/include/openssl/byteorder.h
183
uint64_t t = OSSL_HTOBE64(val);
crypto/openssl/include/openssl/byteorder.h
185
memcpy(out, (unsigned char *)&t, 8);
crypto/openssl/include/openssl/byteorder.h
204
uint16_t t;
crypto/openssl/include/openssl/byteorder.h
206
memcpy((unsigned char *)&t, in, 2);
crypto/openssl/include/openssl/byteorder.h
207
*val = OSSL_LE16TOH(t);
crypto/openssl/include/openssl/byteorder.h
222
uint16_t t;
crypto/openssl/include/openssl/byteorder.h
224
memcpy((unsigned char *)&t, in, 2);
crypto/openssl/include/openssl/byteorder.h
225
*val = OSSL_BE16TOH(t);
crypto/openssl/include/openssl/byteorder.h
240
uint32_t t;
crypto/openssl/include/openssl/byteorder.h
242
memcpy((unsigned char *)&t, in, 4);
crypto/openssl/include/openssl/byteorder.h
243
*val = OSSL_LE32TOH(t);
crypto/openssl/include/openssl/byteorder.h
260
uint32_t t;
crypto/openssl/include/openssl/byteorder.h
262
memcpy((unsigned char *)&t, in, 4);
crypto/openssl/include/openssl/byteorder.h
263
*val = OSSL_BE32TOH(t);
crypto/openssl/include/openssl/byteorder.h
280
uint64_t t;
crypto/openssl/include/openssl/byteorder.h
282
memcpy((unsigned char *)&t, in, 8);
crypto/openssl/include/openssl/byteorder.h
283
*val = OSSL_LE64TOH(t);
crypto/openssl/include/openssl/byteorder.h
305
uint64_t t;
crypto/openssl/include/openssl/byteorder.h
307
memcpy((unsigned char *)&t, in, 8);
crypto/openssl/include/openssl/byteorder.h
308
*val = OSSL_BE64TOH(t);
crypto/openssl/include/openssl/byteorder.h
98
uint16_t t = OSSL_HTOLE16(val);
crypto/openssl/include/openssl/evp.h
901
int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n);
crypto/openssl/include/openssl/evp.h
907
int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n);
crypto/openssl/include/openssl/pkcs7.h
422
int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t);
crypto/openssl/include/openssl/safestack.h
177
#define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
crypto/openssl/include/openssl/safestack.h
178
#define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
crypto/openssl/include/openssl/ssl.h
1628
__owur long SSL_CTX_set_timeout(SSL_CTX *ctx, long t);
crypto/openssl/include/openssl/ssl.h
1756
__owur long SSL_SESSION_set_time(SSL_SESSION *s, long t);
crypto/openssl/include/openssl/ssl.h
1759
__owur long SSL_SESSION_set_timeout(SSL_SESSION *s, long t);
crypto/openssl/include/openssl/ssl.h
1764
__owur time_t SSL_SESSION_set_time_ex(SSL_SESSION *s, time_t t);
crypto/openssl/include/openssl/ssl.h
2231
#define SSL_CTX_sess_set_cache_size(ctx, t) \
crypto/openssl/include/openssl/ssl.h
2232
SSL_CTX_ctrl(ctx, SSL_CTRL_SET_SESS_CACHE_SIZE, t, NULL)
crypto/openssl/include/openssl/ssl.h
2917
__owur int SSL_get0_client_cert_type(const SSL *s, unsigned char **t, size_t *len);
crypto/openssl/include/openssl/ssl.h
2918
__owur int SSL_get0_server_cert_type(const SSL *s, unsigned char **t, size_t *len);
crypto/openssl/include/openssl/ssl.h
2919
__owur int SSL_CTX_get0_client_cert_type(const SSL_CTX *ctx, unsigned char **t, size_t *len);
crypto/openssl/include/openssl/ssl.h
2920
__owur int SSL_CTX_get0_server_cert_type(const SSL_CTX *s, unsigned char **t, size_t *len);
crypto/openssl/include/openssl/x509.h
692
int X509_cmp_time(const ASN1_TIME *s, time_t *t);
crypto/openssl/include/openssl/x509.h
696
ASN1_TIME *X509_time_adj(ASN1_TIME *s, long adj, time_t *t);
crypto/openssl/include/openssl/x509.h
698
int offset_day, long offset_sec, time_t *t);
crypto/openssl/include/openssl/x509_vfy.h
221
int X509_TRUST_set(int *t, int trust);
crypto/openssl/include/openssl/x509_vfy.h
783
time_t t);
crypto/openssl/include/openssl/x509_vfy.h
822
void X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param, time_t t);
crypto/openssl/providers/fips/self_test_kats.c
105
OSSL_SELF_TEST_onbegin(st, OSSL_SELF_TEST_TYPE_KAT_CIPHER, t->base.desc);
crypto/openssl/providers/fips/self_test_kats.c
110
cipher = EVP_CIPHER_fetch(libctx, t->base.algorithm, NULL);
crypto/openssl/providers/fips/self_test_kats.c
115
if ((t->mode & CIPHER_MODE_ENCRYPT) != 0) {
crypto/openssl/providers/fips/self_test_kats.c
116
if (!cipher_init(ctx, cipher, t, encrypt)
crypto/openssl/providers/fips/self_test_kats.c
117
|| !EVP_CipherUpdate(ctx, ct_buf, &len, t->base.pt,
crypto/openssl/providers/fips/self_test_kats.c
118
t->base.pt_len)
crypto/openssl/providers/fips/self_test_kats.c
124
if (ct_len != (int)t->base.expected_len
crypto/openssl/providers/fips/self_test_kats.c
125
|| memcmp(t->base.expected, ct_buf, ct_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
128
if (t->tag != NULL) {
crypto/openssl/providers/fips/self_test_kats.c
131
if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, t->tag_len,
crypto/openssl/providers/fips/self_test_kats.c
134
|| memcmp(tag, t->tag, t->tag_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
140
if ((t->mode & CIPHER_MODE_DECRYPT) != 0) {
crypto/openssl/providers/fips/self_test_kats.c
141
if (!(cipher_init(ctx, cipher, t, !encrypt)
crypto/openssl/providers/fips/self_test_kats.c
143
t->base.expected, t->base.expected_len)
crypto/openssl/providers/fips/self_test_kats.c
148
if (pt_len != (int)t->base.pt_len
crypto/openssl/providers/fips/self_test_kats.c
149
|| memcmp(pt_buf, t->base.pt, pt_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
249
static int self_test_kdf(const ST_KAT_KDF *t, OSSL_SELF_TEST *st,
crypto/openssl/providers/fips/self_test_kats.c
258
OSSL_SELF_TEST_onbegin(st, OSSL_SELF_TEST_TYPE_KAT_KDF, t->desc);
crypto/openssl/providers/fips/self_test_kats.c
260
kdf = EVP_KDF_fetch(libctx, t->algorithm, "");
crypto/openssl/providers/fips/self_test_kats.c
268
params = kat_params_to_ossl_params(libctx, t->params, NULL);
crypto/openssl/providers/fips/self_test_kats.c
272
if (t->expected_len > sizeof(out))
crypto/openssl/providers/fips/self_test_kats.c
274
if (EVP_KDF_derive(ctx, out, t->expected_len, params) <= 0)
crypto/openssl/providers/fips/self_test_kats.c
279
if (memcmp(out, t->expected, t->expected_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
291
static int self_test_drbg(const ST_KAT_DRBG *t, OSSL_SELF_TEST *st,
crypto/openssl/providers/fips/self_test_kats.c
30
static int self_test_digest(const ST_KAT_DIGEST *t, OSSL_SELF_TEST *st,
crypto/openssl/providers/fips/self_test_kats.c
304
OSSL_SELF_TEST_onbegin(st, OSSL_SELF_TEST_TYPE_DRBG, t->desc);
crypto/openssl/providers/fips/self_test_kats.c
320
rand = EVP_RAND_fetch(libctx, t->algorithm, NULL);
crypto/openssl/providers/fips/self_test_kats.c
331
drbg_params[0] = OSSL_PARAM_construct_utf8_string(t->param_name,
crypto/openssl/providers/fips/self_test_kats.c
332
t->param_value, 0);
crypto/openssl/providers/fips/self_test_kats.c
339
(void *)t->entropyin,
crypto/openssl/providers/fips/self_test_kats.c
340
t->entropyinlen);
crypto/openssl/providers/fips/self_test_kats.c
342
(void *)t->nonce, t->noncelen);
crypto/openssl/providers/fips/self_test_kats.c
345
if (!EVP_RAND_instantiate(drbg, strength, 0, t->persstr, t->persstrlen,
crypto/openssl/providers/fips/self_test_kats.c
350
(void *)t->entropyinpr1,
crypto/openssl/providers/fips/self_test_kats.c
351
t->entropyinpr1len);
crypto/openssl/providers/fips/self_test_kats.c
355
if (!EVP_RAND_generate(drbg, out, t->expectedlen, strength,
crypto/openssl/providers/fips/self_test_kats.c
357
t->entropyaddin1, t->entropyaddin1len))
crypto/openssl/providers/fips/self_test_kats.c
361
(void *)t->entropyinpr2,
crypto/openssl/providers/fips/self_test_kats.c
362
t->entropyinpr2len);
crypto/openssl/providers/fips/self_test_kats.c
37
EVP_MD *md = EVP_MD_fetch(libctx, t->algorithm, NULL);
crypto/openssl/providers/fips/self_test_kats.c
370
if (!EVP_RAND_generate(drbg, out, t->expectedlen, strength,
crypto/openssl/providers/fips/self_test_kats.c
372
t->entropyaddin2, t->entropyaddin2len))
crypto/openssl/providers/fips/self_test_kats.c
377
if (memcmp(out, t->expected, t->expectedlen) != 0)
crypto/openssl/providers/fips/self_test_kats.c
39
OSSL_SELF_TEST_onbegin(st, OSSL_SELF_TEST_TYPE_KAT_DIGEST, t->desc);
crypto/openssl/providers/fips/self_test_kats.c
398
static int self_test_ka(const ST_KAT_KAS *t,
crypto/openssl/providers/fips/self_test_kats.c
407
size_t secret_len = t->expected_len;
crypto/openssl/providers/fips/self_test_kats.c
409
OSSL_SELF_TEST_onbegin(st, OSSL_SELF_TEST_TYPE_KAT_KA, t->desc);
crypto/openssl/providers/fips/self_test_kats.c
414
params = kat_params_to_ossl_params(libctx, t->key_group,
crypto/openssl/providers/fips/self_test_kats.c
415
t->key_host_data, NULL);
crypto/openssl/providers/fips/self_test_kats.c
416
params_peer = kat_params_to_ossl_params(libctx, t->key_group,
crypto/openssl/providers/fips/self_test_kats.c
417
t->key_peer_data, NULL);
crypto/openssl/providers/fips/self_test_kats.c
422
kactx = EVP_PKEY_CTX_new_from_name(libctx, t->algorithm, "");
crypto/openssl/providers/fips/self_test_kats.c
44
|| !EVP_DigestUpdate(ctx, t->pt, t->pt_len)
crypto/openssl/providers/fips/self_test_kats.c
444
if (secret_len != t->expected_len
crypto/openssl/providers/fips/self_test_kats.c
445
|| memcmp(secret, t->expected, t->expected_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
480
static int self_test_digest_sign(const ST_KAT_SIGN *t,
crypto/openssl/providers/fips/self_test_kats.c
494
if (t->sig_expected_len > sizeof(sig))
crypto/openssl/providers/fips/self_test_kats.c
497
if (t->sig_expected == NULL)
crypto/openssl/providers/fips/self_test_kats.c
500
OSSL_SELF_TEST_onbegin(st, typ, t->desc);
crypto/openssl/providers/fips/self_test_kats.c
502
if (t->entropy != NULL) {
crypto/openssl/providers/fips/self_test_kats.c
503
if (!set_kat_drbg(libctx, t->entropy, t->entropy_len,
crypto/openssl/providers/fips/self_test_kats.c
504
t->nonce, t->nonce_len, t->persstr, t->persstr_len))
crypto/openssl/providers/fips/self_test_kats.c
508
paramskey = kat_params_to_ossl_params(libctx, t->key, NULL);
crypto/openssl/providers/fips/self_test_kats.c
509
paramsinit = kat_params_to_ossl_params(libctx, t->init, NULL);
crypto/openssl/providers/fips/self_test_kats.c
51
if (out_len != t->expected_len
crypto/openssl/providers/fips/self_test_kats.c
510
paramsverify = kat_params_to_ossl_params(libctx, t->verify, NULL);
crypto/openssl/providers/fips/self_test_kats.c
512
fromctx = EVP_PKEY_CTX_new_from_name(libctx, t->keytype, NULL);
crypto/openssl/providers/fips/self_test_kats.c
52
|| memcmp(out, t->expected, out_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
522
sigalg = EVP_SIGNATURE_fetch(libctx, t->sigalgorithm, NULL);
crypto/openssl/providers/fips/self_test_kats.c
529
digested = ((t->mode & SIGNATURE_MODE_DIGESTED) != 0);
crypto/openssl/providers/fips/self_test_kats.c
531
if ((t->mode & SIGNATURE_MODE_VERIFY_ONLY) != 0) {
crypto/openssl/providers/fips/self_test_kats.c
532
siglen = t->sig_expected_len;
crypto/openssl/providers/fips/self_test_kats.c
533
memcpy(psig, t->sig_expected, siglen);
crypto/openssl/providers/fips/self_test_kats.c
543
if ((t->mode & SIGNATURE_MODE_SIG_DIGESTED) != 0) {
crypto/openssl/providers/fips/self_test_kats.c
544
if (EVP_PKEY_sign(ctx, NULL, &siglen, t->msg, t->msg_len) <= 0)
crypto/openssl/providers/fips/self_test_kats.c
552
if (EVP_PKEY_sign(ctx, psig, &siglen, t->msg, t->msg_len) <= 0)
crypto/openssl/providers/fips/self_test_kats.c
555
if (t->sig_expected != NULL) {
crypto/openssl/providers/fips/self_test_kats.c
556
if ((t->mode & SIGNATURE_MODE_SIG_DIGESTED) != 0) {
crypto/openssl/providers/fips/self_test_kats.c
562
|| digested_sig_len != t->sig_expected_len
crypto/openssl/providers/fips/self_test_kats.c
563
|| memcmp(digested_sig, t->sig_expected, t->sig_expected_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
566
if (siglen != t->sig_expected_len
crypto/openssl/providers/fips/self_test_kats.c
567
|| memcmp(psig, t->sig_expected, t->sig_expected_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
573
if ((t->mode & SIGNATURE_MODE_SIGN_ONLY) == 0) {
crypto/openssl/providers/fips/self_test_kats.c
582
if (EVP_PKEY_verify(ctx, psig, siglen, t->msg, t->msg_len) <= 0)
crypto/openssl/providers/fips/self_test_kats.c
596
if (t->entropy != NULL) {
crypto/openssl/providers/fips/self_test_kats.c
608
static int self_test_asym_keygen(const ST_KAT_ASYM_KEYGEN *t, OSSL_SELF_TEST *st,
crypto/openssl/providers/fips/self_test_kats.c
619
OSSL_SELF_TEST_onbegin(st, OSSL_SELF_TEST_TYPE_KAT_ASYM_KEYGEN, t->desc);
crypto/openssl/providers/fips/self_test_kats.c
621
key_ctx = EVP_PKEY_CTX_new_from_name(libctx, t->algorithm, NULL);
crypto/openssl/providers/fips/self_test_kats.c
624
if (t->keygen_params != NULL) {
crypto/openssl/providers/fips/self_test_kats.c
625
key_params = kat_params_to_ossl_params(libctx, t->keygen_params, NULL);
crypto/openssl/providers/fips/self_test_kats.c
634
for (expected = t->expected_params; expected->data != NULL; ++expected) {
crypto/openssl/providers/fips/self_test_kats.c
660
static int self_test_kem_encapsulate(const ST_KAT_KEM *t, OSSL_SELF_TEST *st,
crypto/openssl/providers/fips/self_test_kats.c
666
size_t wrappedlen = t->cipher_text_len, secretlen = t->secret_len;
crypto/openssl/providers/fips/self_test_kats.c
67
const ST_KAT_CIPHER *t, int enc)
crypto/openssl/providers/fips/self_test_kats.c
677
(unsigned char *)t->entropy,
crypto/openssl/providers/fips/self_test_kats.c
678
t->entropy_len);
crypto/openssl/providers/fips/self_test_kats.c
694
if (wrappedlen != t->cipher_text_len
crypto/openssl/providers/fips/self_test_kats.c
695
|| memcmp(wrapped, t->cipher_text, t->cipher_text_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
699
if (secretlen != t->secret_len
crypto/openssl/providers/fips/self_test_kats.c
700
|| memcmp(secret, t->secret, t->secret_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
716
static int self_test_kem_decapsulate(const ST_KAT_KEM *t, OSSL_SELF_TEST *st,
crypto/openssl/providers/fips/self_test_kats.c
723
const unsigned char *test_secret = t->secret;
crypto/openssl/providers/fips/self_test_kats.c
724
const unsigned char *cipher_text = t->cipher_text;
crypto/openssl/providers/fips/self_test_kats.c
725
size_t secretlen = t->secret_len;
crypto/openssl/providers/fips/self_test_kats.c
732
cipher_text = alloced = OPENSSL_zalloc(t->cipher_text_len);
crypto/openssl/providers/fips/self_test_kats.c
735
test_secret = t->reject_secret;
crypto/openssl/providers/fips/self_test_kats.c
74
if (t->tag == NULL) {
crypto/openssl/providers/fips/self_test_kats.c
752
cipher_text, t->cipher_text_len)
crypto/openssl/providers/fips/self_test_kats.c
758
if (secretlen != t->secret_len
crypto/openssl/providers/fips/self_test_kats.c
759
|| memcmp(secret, test_secret, t->secret_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
76
return EVP_CipherInit_ex(ctx, cipher, NULL, t->key, t->iv, enc)
crypto/openssl/providers/fips/self_test_kats.c
780
static int self_test_kem(const ST_KAT_KEM *t, OSSL_SELF_TEST *st,
crypto/openssl/providers/fips/self_test_kats.c
788
ctx = EVP_PKEY_CTX_new_from_name(libctx, t->algorithm, NULL);
crypto/openssl/providers/fips/self_test_kats.c
791
params = kat_params_to_ossl_params(libctx, t->key, NULL);
crypto/openssl/providers/fips/self_test_kats.c
799
if (!self_test_kem_encapsulate(t, st, libctx, pkey)
crypto/openssl/providers/fips/self_test_kats.c
800
|| !self_test_kem_decapsulate(t, st, libctx, pkey, 0)
crypto/openssl/providers/fips/self_test_kats.c
801
|| !self_test_kem_decapsulate(t, st, libctx, pkey, 1))
crypto/openssl/providers/fips/self_test_kats.c
819
static int self_test_asym_cipher(const ST_KAT_ASYM_CIPHER *t, OSSL_SELF_TEST *st,
crypto/openssl/providers/fips/self_test_kats.c
82
in_tag = (unsigned char *)t->tag;
crypto/openssl/providers/fips/self_test_kats.c
831
OSSL_SELF_TEST_onbegin(st, OSSL_SELF_TEST_TYPE_KAT_ASYM_CIPHER, t->desc);
crypto/openssl/providers/fips/self_test_kats.c
840
|| !add_params(keybld, t->key, bnctx))
crypto/openssl/providers/fips/self_test_kats.c
843
keyctx = EVP_PKEY_CTX_new_from_name(libctx, t->algorithm, NULL);
crypto/openssl/providers/fips/self_test_kats.c
85
&& (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, t->iv_len, NULL) > 0)
crypto/openssl/providers/fips/self_test_kats.c
853
|| (t->encrypt && EVP_PKEY_encrypt_init(encctx) <= 0)
crypto/openssl/providers/fips/self_test_kats.c
854
|| (!t->encrypt && EVP_PKEY_decrypt_init(encctx) <= 0))
crypto/openssl/providers/fips/self_test_kats.c
858
if (t->postinit != NULL) {
crypto/openssl/providers/fips/self_test_kats.c
862
if (!add_params(initbld, t->postinit, bnctx))
crypto/openssl/providers/fips/self_test_kats.c
87
|| EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, t->tag_len,
crypto/openssl/providers/fips/self_test_kats.c
871
if (t->encrypt) {
crypto/openssl/providers/fips/self_test_kats.c
873
t->in, t->in_len)
crypto/openssl/providers/fips/self_test_kats.c
878
t->in, t->in_len)
crypto/openssl/providers/fips/self_test_kats.c
884
if (outlen != t->expected_len
crypto/openssl/providers/fips/self_test_kats.c
885
|| memcmp(out, t->expected, t->expected_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
90
&& EVP_CipherInit_ex(ctx, NULL, NULL, t->key, t->iv, enc)
crypto/openssl/providers/fips/self_test_kats.c
92
&& EVP_CipherUpdate(ctx, NULL, &tmp, t->aad, t->aad_len);
crypto/openssl/providers/fips/self_test_kats.c
96
static int self_test_cipher(const ST_KAT_CIPHER *t, OSSL_SELF_TEST *st,
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv_polyval.c
24
uint64_t t[2], mask;
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv_polyval.c
28
t[0] = GSWAP8(a[0]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv_polyval.c
29
t[1] = GSWAP8(a[1]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv_polyval.c
31
t[0] = a[0];
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv_polyval.c
32
t[1] = a[1];
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv_polyval.c
34
mask = -(int64_t)(t[1] & 1) & 0xe1;
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv_polyval.c
38
a[1] = GSWAP8((t[1] >> 1) ^ (t[0] << 63));
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv_polyval.c
39
a[0] = GSWAP8((t[0] >> 1) ^ mask);
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv_polyval.c
41
a[1] = (t[1] >> 1) ^ (t[0] << 63);
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv_polyval.c
42
a[0] = (t[0] >> 1) ^ mask;
crypto/openssl/providers/implementations/digests/blake2b_prov.c
193
S->t[0] += increment;
crypto/openssl/providers/implementations/digests/blake2b_prov.c
194
S->t[1] += (S->t[0] < increment);
crypto/openssl/providers/implementations/digests/blake2b_prov.c
200
v[12] = S->t[0] ^ blake2b_IV[4];
crypto/openssl/providers/implementations/digests/blake2b_prov.c
201
v[13] = S->t[1] ^ blake2b_IV[5];
crypto/openssl/providers/implementations/digests/blake2s_prov.c
186
S->t[0] += increment;
crypto/openssl/providers/implementations/digests/blake2s_prov.c
187
S->t[1] += (S->t[0] < increment);
crypto/openssl/providers/implementations/digests/blake2s_prov.c
193
v[12] = S->t[0] ^ blake2s_IV[4];
crypto/openssl/providers/implementations/digests/blake2s_prov.c
194
v[13] = S->t[1] ^ blake2s_IV[5];
crypto/openssl/providers/implementations/include/prov/blake2.h
48
uint32_t t[2];
crypto/openssl/providers/implementations/include/prov/blake2.h
73
uint64_t t[2];
crypto/openssl/providers/implementations/include/prov/ciphercommon_gcm.h
38
} t; /* tag */
crypto/openssl/providers/implementations/kdfs/argon2.c
198
static void kdf_argon2_init(KDF_ARGON2 *ctx, ARGON2_TYPE t);
crypto/openssl/providers/implementations/kdfs/argon2.c
559
void **t;
crypto/openssl/providers/implementations/kdfs/argon2.c
562
t = OPENSSL_zalloc(sizeof(void *) * ctx->lanes);
crypto/openssl/providers/implementations/kdfs/argon2.c
565
if (t == NULL || t_data == NULL)
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
587
t[l] = ossl_crypto_thread_start(ctx->libctx, &fill_segment_thr,
crypto/openssl/providers/implementations/kdfs/argon2.c
589
if (t[l] == NULL) {
crypto/openssl/providers/implementations/kdfs/argon2.c
591
if (ossl_crypto_thread_join(t[ll], NULL) == 0)
crypto/openssl/providers/implementations/kdfs/argon2.c
593
if (ossl_crypto_thread_clean(t[ll]) == 0)
crypto/openssl/providers/implementations/kdfs/argon2.c
595
t[ll] = NULL;
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
611
OPENSSL_free(t);
crypto/openssl/providers/implementations/kdfs/argon2.c
618
if (t != NULL)
crypto/openssl/providers/implementations/kdfs/argon2.c
619
OPENSSL_free(t);
crypto/openssl/providers/implementations/macs/kmac_prov.c
313
int res, t;
crypto/openssl/providers/implementations/macs/kmac_prov.c
330
t = EVP_MD_get_block_size(ossl_prov_digest_md(&kctx->digest));
crypto/openssl/providers/implementations/macs/kmac_prov.c
331
if (t <= 0) {
crypto/openssl/providers/implementations/macs/kmac_prov.c
335
block_len = t;
crypto/openssl/providers/implementations/rands/test_rng.c
100
PROV_TEST_RNG *t = (PROV_TEST_RNG *)vtest;
crypto/openssl/providers/implementations/rands/test_rng.c
102
t->entropy_pos = 0;
crypto/openssl/providers/implementations/rands/test_rng.c
103
t->state = EVP_RAND_STATE_UNINITIALISED;
crypto/openssl/providers/implementations/rands/test_rng.c
107
static unsigned char gen_byte(PROV_TEST_RNG *t)
crypto/openssl/providers/implementations/rands/test_rng.c
118
n = t->seed;
crypto/openssl/providers/implementations/rands/test_rng.c
122
t->seed = n;
crypto/openssl/providers/implementations/rands/test_rng.c
131
PROV_TEST_RNG *t = (PROV_TEST_RNG *)vtest;
crypto/openssl/providers/implementations/rands/test_rng.c
134
if (strength > t->strength)
crypto/openssl/providers/implementations/rands/test_rng.c
136
if (t->generate) {
crypto/openssl/providers/implementations/rands/test_rng.c
138
out[i] = gen_byte(t);
crypto/openssl/providers/implementations/rands/test_rng.c
140
if (t->entropy_len - t->entropy_pos < outlen)
crypto/openssl/providers/implementations/rands/test_rng.c
143
memcpy(out, t->entropy + t->entropy_pos, outlen);
crypto/openssl/providers/implementations/rands/test_rng.c
144
t->entropy_pos += outlen;
crypto/openssl/providers/implementations/rands/test_rng.c
163
PROV_TEST_RNG *t = (PROV_TEST_RNG *)vtest;
crypto/openssl/providers/implementations/rands/test_rng.c
166
if (strength > t->strength)
crypto/openssl/providers/implementations/rands/test_rng.c
169
if (t->generate) {
crypto/openssl/providers/implementations/rands/test_rng.c
171
out[i] = gen_byte(t);
crypto/openssl/providers/implementations/rands/test_rng.c
175
if (t->nonce == NULL)
crypto/openssl/providers/implementations/rands/test_rng.c
177
i = t->nonce_len > max_noncelen ? max_noncelen : t->nonce_len;
crypto/openssl/providers/implementations/rands/test_rng.c
179
memcpy(out, t->nonce, i);
crypto/openssl/providers/implementations/rands/test_rng.c
185
PROV_TEST_RNG *t = (PROV_TEST_RNG *)vtest;
crypto/openssl/providers/implementations/rands/test_rng.c
189
if (p != NULL && !OSSL_PARAM_set_int(p, t->state))
crypto/openssl/providers/implementations/rands/test_rng.c
193
if (p != NULL && !OSSL_PARAM_set_int(p, t->strength))
crypto/openssl/providers/implementations/rands/test_rng.c
197
if (p != NULL && !OSSL_PARAM_set_size_t(p, t->max_request))
crypto/openssl/providers/implementations/rands/test_rng.c
201
if (p != NULL && !OSSL_PARAM_set_uint(p, t->generate))
crypto/openssl/providers/implementations/rands/test_rng.c
228
PROV_TEST_RNG *t = (PROV_TEST_RNG *)vtest;
crypto/openssl/providers/implementations/rands/test_rng.c
237
if (p != NULL && !OSSL_PARAM_get_uint(p, &t->strength))
crypto/openssl/providers/implementations/rands/test_rng.c
244
OPENSSL_free(t->entropy);
crypto/openssl/providers/implementations/rands/test_rng.c
245
t->entropy = ptr;
crypto/openssl/providers/implementations/rands/test_rng.c
246
t->entropy_len = size;
crypto/openssl/providers/implementations/rands/test_rng.c
247
t->entropy_pos = 0;
crypto/openssl/providers/implementations/rands/test_rng.c
255
OPENSSL_free(t->nonce);
crypto/openssl/providers/implementations/rands/test_rng.c
256
t->nonce = ptr;
crypto/openssl/providers/implementations/rands/test_rng.c
257
t->nonce_len = size;
crypto/openssl/providers/implementations/rands/test_rng.c
261
if (p != NULL && !OSSL_PARAM_get_size_t(p, &t->max_request))
crypto/openssl/providers/implementations/rands/test_rng.c
265
if (p != NULL && !OSSL_PARAM_get_uint(p, &t->generate))
crypto/openssl/providers/implementations/rands/test_rng.c
295
PROV_TEST_RNG *t = (PROV_TEST_RNG *)vtest;
crypto/openssl/providers/implementations/rands/test_rng.c
297
*pout = t->entropy;
crypto/openssl/providers/implementations/rands/test_rng.c
298
return t->entropy_len > max_len ? max_len : t->entropy_len;
crypto/openssl/providers/implementations/rands/test_rng.c
303
PROV_TEST_RNG *t = (PROV_TEST_RNG *)vtest;
crypto/openssl/providers/implementations/rands/test_rng.c
305
if (t != NULL && t->lock == NULL) {
crypto/openssl/providers/implementations/rands/test_rng.c
306
t->lock = CRYPTO_THREAD_lock_new();
crypto/openssl/providers/implementations/rands/test_rng.c
307
if (t->lock == NULL) {
crypto/openssl/providers/implementations/rands/test_rng.c
317
PROV_TEST_RNG *t = (PROV_TEST_RNG *)vtest;
crypto/openssl/providers/implementations/rands/test_rng.c
319
if (t == NULL || t->lock == NULL)
crypto/openssl/providers/implementations/rands/test_rng.c
321
return CRYPTO_THREAD_write_lock(t->lock);
crypto/openssl/providers/implementations/rands/test_rng.c
326
PROV_TEST_RNG *t = (PROV_TEST_RNG *)vtest;
crypto/openssl/providers/implementations/rands/test_rng.c
328
if (t != NULL && t->lock != NULL)
crypto/openssl/providers/implementations/rands/test_rng.c
329
CRYPTO_THREAD_unlock(t->lock);
crypto/openssl/providers/implementations/rands/test_rng.c
57
PROV_TEST_RNG *t;
crypto/openssl/providers/implementations/rands/test_rng.c
59
t = OPENSSL_zalloc(sizeof(*t));
crypto/openssl/providers/implementations/rands/test_rng.c
60
if (t == NULL)
crypto/openssl/providers/implementations/rands/test_rng.c
63
t->max_request = INT_MAX;
crypto/openssl/providers/implementations/rands/test_rng.c
64
t->provctx = provctx;
crypto/openssl/providers/implementations/rands/test_rng.c
65
t->state = EVP_RAND_STATE_UNINITIALISED;
crypto/openssl/providers/implementations/rands/test_rng.c
66
return t;
crypto/openssl/providers/implementations/rands/test_rng.c
71
PROV_TEST_RNG *t = (PROV_TEST_RNG *)vtest;
crypto/openssl/providers/implementations/rands/test_rng.c
73
if (t == NULL)
crypto/openssl/providers/implementations/rands/test_rng.c
75
OPENSSL_free(t->entropy);
crypto/openssl/providers/implementations/rands/test_rng.c
76
OPENSSL_free(t->nonce);
crypto/openssl/providers/implementations/rands/test_rng.c
77
CRYPTO_THREAD_lock_free(t->lock);
crypto/openssl/providers/implementations/rands/test_rng.c
78
OPENSSL_free(t);
crypto/openssl/providers/implementations/rands/test_rng.c
86
PROV_TEST_RNG *t = (PROV_TEST_RNG *)vtest;
crypto/openssl/providers/implementations/rands/test_rng.c
88
if (!test_rng_set_ctx_params(t, params) || strength > t->strength)
crypto/openssl/providers/implementations/rands/test_rng.c
91
t->state = EVP_RAND_STATE_READY;
crypto/openssl/providers/implementations/rands/test_rng.c
92
t->entropy_pos = 0;
crypto/openssl/providers/implementations/rands/test_rng.c
93
t->seed = 221953166; /* Value doesn't matter, so long as it isn't zero */
crypto/openssl/ssl/bio_ssl.c
514
int BIO_ssl_copy_session_id(BIO *t, BIO *f)
crypto/openssl/ssl/bio_ssl.c
517
t = BIO_find_type(t, BIO_TYPE_SSL);
crypto/openssl/ssl/bio_ssl.c
519
if ((t == NULL) || (f == NULL))
crypto/openssl/ssl/bio_ssl.c
521
tdata = BIO_get_data(t);
crypto/openssl/ssl/d1_lib.c
232
OSSL_TIME t;
crypto/openssl/ssl/d1_lib.c
240
if (dtls1_get_timeout(s, &t)) {
crypto/openssl/ssl/d1_lib.c
241
*(struct timeval *)parg = ossl_time_to_timeval(t);
crypto/openssl/ssl/quic/quic_ackm.c
837
OSSL_TIME pto_timeout = ossl_time_infinite(), t;
crypto/openssl/ssl/quic/quic_ackm.c
895
t = ossl_time_add(ackm->time_of_last_ack_eliciting_pkt[i], duration);
crypto/openssl/ssl/quic/quic_ackm.c
896
if (ossl_time_compare(t, pto_timeout) < 0) {
crypto/openssl/ssl/quic/quic_ackm.c
897
pto_timeout = t;
crypto/openssl/ssl/quic/quic_thread_assist.c
115
if (!ossl_crypto_thread_native_join(qta->t, &rv)) {
crypto/openssl/ssl/quic/quic_thread_assist.c
132
ossl_crypto_thread_native_clean(qta->t);
crypto/openssl/ssl/quic/quic_thread_assist.c
135
qta->t = NULL;
crypto/openssl/ssl/quic/quic_thread_assist.c
82
qta->t = ossl_crypto_thread_native_start(assist_thread_main,
crypto/openssl/ssl/quic/quic_thread_assist.c
84
if (qta->t == NULL) {
crypto/openssl/ssl/record/methods/recmethod_local.h
83
#define TLS_RL_RECORD_set_type(r, t) ((r)->type = (t))
crypto/openssl/ssl/record/methods/ssl3_meth.c
226
int t;
crypto/openssl/ssl/record/methods/ssl3_meth.c
231
t = EVP_MD_CTX_get_size(hash);
crypto/openssl/ssl/record/methods/ssl3_meth.c
232
if (t <= 0)
crypto/openssl/ssl/record/methods/ssl3_meth.c
234
md_size = t;
crypto/openssl/ssl/record/methods/tls1_meth.c
487
int t;
crypto/openssl/ssl/record/methods/tls1_meth.c
492
t = EVP_MD_CTX_get_size(hash);
crypto/openssl/ssl/record/methods/tls1_meth.c
493
if (!ossl_assert(t >= 0))
crypto/openssl/ssl/record/methods/tls1_meth.c
495
md_size = t;
crypto/openssl/ssl/s3_lib.c
3738
size_t s, const char *t, size_t u,
crypto/openssl/ssl/s3_lib.c
3743
(void)t;
crypto/openssl/ssl/s3_lib.c
5214
unsigned char *pskpms, *t;
crypto/openssl/ssl/s3_lib.c
5228
t = pskpms;
crypto/openssl/ssl/s3_lib.c
5229
s2n(pmslen, t);
crypto/openssl/ssl/s3_lib.c
5231
memset(t, 0, pmslen);
crypto/openssl/ssl/s3_lib.c
5233
memcpy(t, pms, pmslen);
crypto/openssl/ssl/s3_lib.c
5234
t += pmslen;
crypto/openssl/ssl/s3_lib.c
5235
s2n(psklen, t);
crypto/openssl/ssl/s3_lib.c
5236
memcpy(t, s->s3.tmp.psk, psklen);
crypto/openssl/ssl/ssl_ciph.c
317
const ssl_cipher_table *t;
crypto/openssl/ssl/ssl_ciph.c
322
for (i = 0, t = ssl_cipher_table_cipher; i < SSL_ENC_NUM_IDX; i++, t++) {
crypto/openssl/ssl/ssl_ciph.c
323
if (t->nid != NID_undef) {
crypto/openssl/ssl/ssl_ciph.c
325
= ssl_evp_cipher_fetch(ctx->libctx, t->nid, ctx->propq);
crypto/openssl/ssl/ssl_ciph.c
329
ctx->disabled_enc_mask |= t->mask;
crypto/openssl/ssl/ssl_ciph.c
333
for (i = 0, t = ssl_cipher_table_mac; i < SSL_MD_NUM_IDX; i++, t++) {
crypto/openssl/ssl/ssl_ciph.c
335
= ssl_evp_md_fetch(ctx->libctx, t->nid, ctx->propq);
crypto/openssl/ssl/ssl_ciph.c
339
ctx->disabled_mac_mask |= t->mask;
crypto/openssl/ssl/ssl_conf.c
911
static int ssl_conf_cmd_allowed(SSL_CONF_CTX *cctx, const ssl_conf_cmd_tbl *t)
crypto/openssl/ssl/ssl_conf.c
913
unsigned int tfl = t->flags;
crypto/openssl/ssl/ssl_conf.c
928
const ssl_conf_cmd_tbl *t;
crypto/openssl/ssl/ssl_conf.c
934
for (i = 0, t = ssl_conf_cmds; i < OSSL_NELEM(ssl_conf_cmds); i++, t++) {
crypto/openssl/ssl/ssl_conf.c
935
if (ssl_conf_cmd_allowed(cctx, t)) {
crypto/openssl/ssl/ssl_conf.c
937
if (t->str_cmdline && strcmp(t->str_cmdline, cmd) == 0)
crypto/openssl/ssl/ssl_conf.c
938
return t;
crypto/openssl/ssl/ssl_conf.c
941
if (t->str_file && OPENSSL_strcasecmp(t->str_file, cmd) == 0)
crypto/openssl/ssl/ssl_conf.c
942
return t;
crypto/openssl/ssl/ssl_lib.c
159
static void tlsa_free(danetls_record *t)
crypto/openssl/ssl/ssl_lib.c
161
if (t == NULL)
crypto/openssl/ssl/ssl_lib.c
163
OPENSSL_free(t->data);
crypto/openssl/ssl/ssl_lib.c
164
EVP_PKEY_free(t->spki);
crypto/openssl/ssl/ssl_lib.c
165
OPENSSL_free(t);
crypto/openssl/ssl/ssl_lib.c
2022
int SSL_copy_session_id(SSL *t, const SSL *f)
crypto/openssl/ssl/ssl_lib.c
2026
SSL_CONNECTION *tsc = SSL_CONNECTION_FROM_SSL_ONLY(t);
crypto/openssl/ssl/ssl_lib.c
2033
if (!SSL_set_session(t, SSL_get_session(f))) {
crypto/openssl/ssl/ssl_lib.c
2040
if (t->method != f->method) {
crypto/openssl/ssl/ssl_lib.c
2041
t->method->ssl_deinit(t);
crypto/openssl/ssl/ssl_lib.c
2042
t->method = f->method;
crypto/openssl/ssl/ssl_lib.c
2043
if (t->method->ssl_init(t) == 0)
crypto/openssl/ssl/ssl_lib.c
2050
if (!SSL_set_session_id_context(t, fsc->sid_ctx, (int)fsc->sid_ctx_length)) {
crypto/openssl/ssl/ssl_lib.c
206
danetls_record *t = sk_danetls_record_value(from->dane.trecs, i);
crypto/openssl/ssl/ssl_lib.c
208
if (SSL_dane_tlsa_add(SSL_CONNECTION_GET_SSL(to), t->usage,
crypto/openssl/ssl/ssl_lib.c
209
t->selector, t->mtype, t->data, t->dlen)
crypto/openssl/ssl/ssl_lib.c
269
danetls_record *t;
crypto/openssl/ssl/ssl_lib.c
316
if ((t = OPENSSL_zalloc(sizeof(*t))) == NULL)
crypto/openssl/ssl/ssl_lib.c
319
t->usage = usage;
crypto/openssl/ssl/ssl_lib.c
320
t->selector = selector;
crypto/openssl/ssl/ssl_lib.c
321
t->mtype = mtype;
crypto/openssl/ssl/ssl_lib.c
322
t->data = OPENSSL_malloc(dlen);
crypto/openssl/ssl/ssl_lib.c
323
if (t->data == NULL) {
crypto/openssl/ssl/ssl_lib.c
324
tlsa_free(t);
crypto/openssl/ssl/ssl_lib.c
327
memcpy(t->data, data, dlen);
crypto/openssl/ssl/ssl_lib.c
328
t->dlen = dlen;
crypto/openssl/ssl/ssl_lib.c
340
tlsa_free(t);
crypto/openssl/ssl/ssl_lib.c
346
tlsa_free(t);
crypto/openssl/ssl/ssl_lib.c
378
tlsa_free(t);
crypto/openssl/ssl/ssl_lib.c
386
tlsa_free(t);
crypto/openssl/ssl/ssl_lib.c
397
t->spki = pkey;
crypto/openssl/ssl/ssl_lib.c
42
unsigned char *s, size_t t, size_t *u)
crypto/openssl/ssl/ssl_lib.c
435
if (!sk_danetls_record_insert(dane->trecs, t, i)) {
crypto/openssl/ssl/ssl_lib.c
436
tlsa_free(t);
crypto/openssl/ssl/ssl_lib.c
5085
if (sc->ts_msg_write.t <= 0 || sc->ts_msg_read.t <= 0)
crypto/openssl/ssl/ssl_lib.c
5087
if (sc->ts_msg_read.t < sc->ts_msg_write.t)
crypto/openssl/ssl/ssl_lib.c
53
size_t s, unsigned char *t)
crypto/openssl/ssl/ssl_lib.c
64
size_t s, const char *t, size_t u,
crypto/openssl/ssl/ssl_lib.c
8276
int SSL_get0_client_cert_type(const SSL *s, unsigned char **t, size_t *len)
crypto/openssl/ssl/ssl_lib.c
8280
if (t == NULL || len == NULL || sc == NULL)
crypto/openssl/ssl/ssl_lib.c
8283
*t = sc->client_cert_type;
crypto/openssl/ssl/ssl_lib.c
8288
int SSL_get0_server_cert_type(const SSL *s, unsigned char **t, size_t *len)
crypto/openssl/ssl/ssl_lib.c
8292
if (t == NULL || len == NULL || sc == NULL)
crypto/openssl/ssl/ssl_lib.c
8295
*t = sc->server_cert_type;
crypto/openssl/ssl/ssl_lib.c
8300
int SSL_CTX_get0_client_cert_type(const SSL_CTX *ctx, unsigned char **t, size_t *len)
crypto/openssl/ssl/ssl_lib.c
8302
if (t == NULL || len == NULL)
crypto/openssl/ssl/ssl_lib.c
8305
*t = ctx->client_cert_type;
crypto/openssl/ssl/ssl_lib.c
8310
int SSL_CTX_get0_server_cert_type(const SSL_CTX *ctx, unsigned char **t, size_t *len)
crypto/openssl/ssl/ssl_lib.c
8312
if (t == NULL || len == NULL)
crypto/openssl/ssl/ssl_lib.c
8315
*t = ctx->server_cert_type;
crypto/openssl/ssl/ssl_sess.c
1129
long SSL_CTX_set_timeout(SSL_CTX *s, long t)
crypto/openssl/ssl/ssl_sess.c
1136
s->session_timeout = ossl_seconds2time(t);
crypto/openssl/ssl/ssl_sess.c
1204
void SSL_CTX_flush_sessions(SSL_CTX *s, long t)
crypto/openssl/ssl/ssl_sess.c
1206
SSL_CTX_flush_sessions_ex(s, (time_t)t);
crypto/openssl/ssl/ssl_sess.c
1210
void SSL_CTX_flush_sessions_ex(SSL_CTX *s, time_t t)
crypto/openssl/ssl/ssl_sess.c
1215
const OSSL_TIME timeout = ossl_time_from_time_t(t);
crypto/openssl/ssl/ssl_sess.c
1233
if (t == 0 || sess_timedout(timeout, current)) {
crypto/openssl/ssl/ssl_sess.c
30
__owur static ossl_inline int sess_timedout(OSSL_TIME t, SSL_SESSION *ss)
crypto/openssl/ssl/ssl_sess.c
32
return ossl_time_compare(t, ss->calc_timeout) > 0;
crypto/openssl/ssl/ssl_sess.c
931
long SSL_SESSION_set_timeout(SSL_SESSION *s, long t)
crypto/openssl/ssl/ssl_sess.c
933
OSSL_TIME new_timeout = ossl_seconds2time(t);
crypto/openssl/ssl/ssl_sess.c
935
if (s == NULL || t < 0)
crypto/openssl/ssl/ssl_sess.c
972
time_t SSL_SESSION_set_time_ex(SSL_SESSION *s, time_t t)
crypto/openssl/ssl/ssl_sess.c
974
OSSL_TIME new_time = ossl_time_from_time_t(t);
crypto/openssl/ssl/ssl_sess.c
989
return t;
crypto/openssl/ssl/ssl_sess.c
993
long SSL_SESSION_set_time(SSL_SESSION *s, long t)
crypto/openssl/ssl/ssl_sess.c
995
return (long)SSL_SESSION_set_time_ex(s, (time_t)t);
crypto/openssl/ssl/statem/extensions_clnt.c
1075
OSSL_TIME t;
crypto/openssl/ssl/statem/extensions_clnt.c
1127
t = ossl_time_subtract(ossl_time_now(), s->session->time);
crypto/openssl/ssl/statem/extensions_clnt.c
1128
agesec = (uint32_t)ossl_time2seconds(t);
crypto/openssl/ssl/statem/extensions_srvr.c
1428
OSSL_TIME t, age, expire;
crypto/openssl/ssl/statem/extensions_srvr.c
1469
t = ossl_time_subtract(ossl_time_now(), sess->time);
crypto/openssl/ssl/statem/extensions_srvr.c
1480
expire = ossl_time_add(t, ossl_ms2time(1000));
crypto/openssl/ssl/statem/extensions_srvr.c
1483
&& ossl_time_compare(sess->timeout, t) >= 0
crypto/openssl/test/acvp_test.c
357
const struct ecdh_cofactor_derive_st *t = &ecdh_cofactor_derive_data[tstid];
crypto/openssl/test/acvp_test.c
364
int use_cofactordh = t->key_cofactor;
crypto/openssl/test/acvp_test.c
365
int cofactor_mode = t->derive_cofactor_mode;
crypto/openssl/test/acvp_test.c
379
if (t->key_cofactor != COFACTOR_NOT_SET) {
crypto/openssl/test/acvp_test.c
389
if (t->derive_cofactor_mode != COFACTOR_NOT_SET) {
crypto/openssl/test/acvp_test.c
397
t->expected))
crypto/openssl/test/acvp_test.c
407
t->expected ? "Pass" : "Fail",
crypto/openssl/test/acvp_test.c
408
state[2 + t->key_cofactor], state[2 + t->derive_cofactor_mode]);
crypto/openssl/test/asn1_time_test.c
28
time_t t; /* expected time_t*/
crypto/openssl/test/asn1_time_test.c
637
if (!TEST_int_eq(ASN1_TIME_cmp_time_t(&atime, td->t), 0)) {
crypto/openssl/test/asn1_time_test.c
638
TEST_info("ASN1_TIME_cmp_time_t(%s vs %ld) compare failed", atime.data, (long)td->t);
crypto/openssl/test/asn1_time_test.c
664
ptime = ASN1_TIME_set(NULL, td->t);
crypto/openssl/test/asn1_time_test.c
666
TEST_info("ASN1_TIME_set(%ld) failed", (long)td->t);
crypto/openssl/test/asn1_time_test.c
670
if (!TEST_int_eq(ASN1_TIME_cmp_time_t(ptime, td->t), 0)) {
crypto/openssl/test/asn1_time_test.c
672
(long)td->t, td->data, ptime->data);
crypto/openssl/test/asn1_time_test.c
676
TEST_info("ASN1_TIME_set(%ld) unexpected type", (long)td->t);
crypto/openssl/test/asn1_time_test.c
749
if (ptime != NULL && !TEST_int_eq(ASN1_TIME_cmp_time_t(ptime, td->t), 0)) {
crypto/openssl/test/asn1_time_test.c
911
time_t t;
crypto/openssl/test/asn1_time_test.c
915
t = 67768011791126057ULL;
crypto/openssl/test/asn1_time_test.c
916
at = ASN1_TIME_set(NULL, t);
crypto/openssl/test/asn1_time_test.c
937
time_t t = -1;
crypto/openssl/test/asn1_time_test.c
943
struct tm *ptm = localtime(&t);
crypto/openssl/test/asn1_time_test.c
946
if (!(t > 0) && ptm != NULL) {
crypto/openssl/test/asn1_time_test.c
954
if (!(t > 0) && ptm != NULL) {
crypto/openssl/test/bio_base64_test.c
183
static int test_bio_base64_run(test_case *t, int llen, int wscnt)
crypto/openssl/test/bio_base64_test.c
198
if (t->encoded != NULL)
crypto/openssl/test/bio_base64_test.c
199
raw = OPENSSL_zalloc(t->bytes);
crypto/openssl/test/bio_base64_test.c
201
raw = genbytes(t->bytes);
crypto/openssl/test/bio_base64_test.c
203
if (raw == NULL && t->bytes > 0) {
crypto/openssl/test/bio_base64_test.c
208
out_len = t->bytes + 1024;
crypto/openssl/test/bio_base64_test.c
216
elen = genb64(t->prefix, t->suffix, raw, t->bytes, t->trunc, t->encoded,
crypto/openssl/test/bio_base64_test.c
225
if (t->retry)
crypto/openssl/test/bio_base64_test.c
236
if (t->retry)
crypto/openssl/test/bio_base64_test.c
242
if (t->no_nl)
crypto/openssl/test/bio_base64_test.c
265
if (t->retry)
crypto/openssl/test/bio_base64_test.c
287
if (t->trunc > 0
crypto/openssl/test/bio_base64_test.c
288
|| ((t->bytes > 0 || t->no_nl) && *t->suffix && *t->suffix != '-')
crypto/openssl/test/bio_base64_test.c
289
|| (t->no_nl && *t->prefix)) {
crypto/openssl/test/bio_base64_test.c
293
|| n != (int)t->bytes
crypto/openssl/test/bio_base64_test.c
307
static int generic_case(test_case *t, int verbose)
crypto/openssl/test/bio_base64_test.c
315
int extra = t->no_nl ? 64 : 0;
crypto/openssl/test/bio_base64_test.c
321
if (test_bio_base64_run(t, *llen + extra, *wscnt) != 0)
crypto/openssl/test/bio_base64_test.c
326
if (*t->prefix)
crypto/openssl/test/bio_base64_test.c
327
fprintf(stderr, ", prefix='%s'", t->prefix);
crypto/openssl/test/bio_base64_test.c
328
if (t->encoded)
crypto/openssl/test/bio_base64_test.c
329
fprintf(stderr, ", data='%s'", t->encoded);
crypto/openssl/test/bio_base64_test.c
331
fprintf(stderr, ", datalen=%u", t->bytes);
crypto/openssl/test/bio_base64_test.c
332
if (t->trunc)
crypto/openssl/test/bio_base64_test.c
333
fprintf(stderr, ", trunc=%d", t->trunc);
crypto/openssl/test/bio_base64_test.c
334
if (*t->suffix)
crypto/openssl/test/bio_base64_test.c
335
fprintf(stderr, ", suffix='%s'", t->suffix);
crypto/openssl/test/bio_base64_test.c
338
if (t->retry)
crypto/openssl/test/bio_base64_test.c
340
if (t->no_nl)
crypto/openssl/test/bio_base64_test.c
346
if (t->encoded)
crypto/openssl/test/bio_base64_test.c
353
if (*llen > t->bytes + (t->bytes >> 1))
crypto/openssl/test/bio_base64_test.c
367
test_case t;
crypto/openssl/test/bio_base64_test.c
376
t.retry = quotrem(q, 2, &q);
crypto/openssl/test/bio_base64_test.c
377
t.no_nl = quotrem(q, 2, &q);
crypto/openssl/test/bio_base64_test.c
384
t.prefix = prefixes[variant];
crypto/openssl/test/bio_base64_test.c
385
t.encoded = NULL;
crypto/openssl/test/bio_base64_test.c
386
t.bytes = lengths[lencase];
crypto/openssl/test/bio_base64_test.c
387
t.trunc = 0;
crypto/openssl/test/bio_base64_test.c
389
t.bytes += padcase;
crypto/openssl/test/bio_base64_test.c
391
t.trunc = padcase - 2;
crypto/openssl/test/bio_base64_test.c
392
t.suffix = suffixes[variant];
crypto/openssl/test/bio_base64_test.c
394
if (padcase != 0 && (*t.suffix && *t.suffix != '-')) {
crypto/openssl/test/bio_base64_test.c
399
return generic_case(&t, 0);
crypto/openssl/test/bio_base64_test.c
404
test_case t;
crypto/openssl/test/bio_base64_test.c
407
t.retry = quotrem(q, 2, &q);
crypto/openssl/test/bio_base64_test.c
408
t.no_nl = quotrem(q, 2, &q);
crypto/openssl/test/bio_base64_test.c
416
t.prefix = "#foo\n#bar";
crypto/openssl/test/bio_base64_test.c
419
t.encoded = "A\nAAA\nAAAA\n";
crypto/openssl/test/bio_base64_test.c
420
t.suffix = "";
crypto/openssl/test/bio_base64_test.c
423
t.bytes = 6;
crypto/openssl/test/bio_base64_test.c
424
t.trunc = 0; /* ignored */
crypto/openssl/test/bio_base64_test.c
426
return generic_case(&t, 0);
crypto/openssl/test/bioprinttest.c
226
int t = 0, r;
crypto/openssl/test/bioprinttest.c
232
r = TEST_true(dofptest(i, t++, 0.0, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
233
&& TEST_true(dofptest(i, t++, 0.67, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
234
&& TEST_true(dofptest(i, t++, frac, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
235
&& TEST_true(dofptest(i, t++, frac / 1000, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
236
&& TEST_true(dofptest(i, t++, frac / 10000, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
237
&& TEST_true(dofptest(i, t++, 6.0 + frac, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
238
&& TEST_true(dofptest(i, t++, 66.0 + frac, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
239
&& TEST_true(dofptest(i, t++, 666.0 + frac, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
240
&& TEST_true(dofptest(i, t++, 6666.0 + frac, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
241
&& TEST_true(dofptest(i, t++, 66666.0 + frac, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
242
&& TEST_true(dofptest(i, t++, -66666.0 - frac, pwp->w, pwp->p));
crypto/openssl/test/bntest.c
1090
int i, j, s = 0, t, st = 0;
crypto/openssl/test/bntest.c
1108
t = BN_GF2m_mod_solve_quad(c, a, b[j], ctx);
crypto/openssl/test/bntest.c
1109
if (t) {
crypto/openssl/test/bntest.c
1142
BIGNUM *a = NULL, *b = NULL, *r = NULL, *t = NULL;
crypto/openssl/test/bntest.c
1148
|| !TEST_ptr(t = BN_new()))
crypto/openssl/test/bntest.c
1171
if (!TEST_true(BN_copy(t, b)))
crypto/openssl/test/bntest.c
1173
BN_set_negative(t, 0);
crypto/openssl/test/bntest.c
1174
if (!TEST_true(BN_sub_word(t, 1)))
crypto/openssl/test/bntest.c
1176
if (!TEST_true(BN_rshift1(t, t)))
crypto/openssl/test/bntest.c
1181
if (!TEST_true(BN_mod_exp_recp(r, a, t, b, ctx)))
crypto/openssl/test/bntest.c
1214
BN_free(t);
crypto/openssl/test/drbgtest.c
118
time_t t;
crypto/openssl/test/drbgtest.c
120
*params = OSSL_PARAM_construct_time_t(OSSL_DRBG_PARAM_RESEED_TIME, &t);
crypto/openssl/test/drbgtest.c
122
return t;
crypto/openssl/test/drbgtest.c
667
static int set_reseed_time_interval(EVP_RAND_CTX *drbg, int t)
crypto/openssl/test/drbgtest.c
672
&t);
crypto/openssl/test/drbgtest.c
714
static int run_thread(thread_t *t)
crypto/openssl/test/drbgtest.c
716
*t = CreateThread(NULL, 0, thread_run, NULL, 0, NULL);
crypto/openssl/test/drbgtest.c
717
return *t != NULL;
crypto/openssl/test/drbgtest.c
740
static int run_thread(thread_t *t)
crypto/openssl/test/drbgtest.c
742
return pthread_create(t, NULL, thread_run, NULL) == 0;
crypto/openssl/test/drbgtest.c
760
thread_t t[THREADS];
crypto/openssl/test/drbgtest.c
764
run_thread(&t[i]);
crypto/openssl/test/drbgtest.c
767
wait_for_thread(t[i]);
crypto/openssl/test/ectest.c
2790
size_t sslen, t;
crypto/openssl/test/ectest.c
2971
|| !TEST_int_eq(EVP_PKEY_derive(pctx2, NULL, &t), 1)
crypto/openssl/test/ectest.c
2972
|| !TEST_int_gt(bsize, t)
crypto/openssl/test/ectest.c
2973
|| !TEST_int_le(sslen, t)
crypto/openssl/test/ectest.c
2974
|| !TEST_int_eq(EVP_PKEY_derive(pctx2, buf2, &t), 1))
crypto/openssl/test/ectest.c
2978
if (!TEST_mem_eq(buf1, sslen, buf2, t))
crypto/openssl/test/ectest.c
3024
|| !TEST_int_eq(EVP_PKEY_derive(dctx, NULL, &t), 1)
crypto/openssl/test/ectest.c
3025
|| !TEST_int_gt(bsize, t)
crypto/openssl/test/ectest.c
3026
|| !TEST_int_le(sslen, t)
crypto/openssl/test/ectest.c
3027
|| !TEST_int_eq(EVP_PKEY_derive(dctx, buf1, &t), 1)
crypto/openssl/test/ectest.c
3029
|| !TEST_mem_eq(buf1, t, buf2, sslen))
crypto/openssl/test/evp_extra_test.c
5020
static int evp_init_seq_set_iv(EVP_CIPHER_CTX *ctx, const EVP_INIT_TEST_st *t)
crypto/openssl/test/evp_extra_test.c
5024
if (t->ivlen != 0) {
crypto/openssl/test/evp_extra_test.c
5025
if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_IVLEN, t->ivlen, NULL), 0))
crypto/openssl/test/evp_extra_test.c
5028
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, t->iv, -1)))
crypto/openssl/test/evp_extra_test.c
5046
const EVP_INIT_TEST_st *t = &evp_init_tests[idx];
crypto/openssl/test/evp_extra_test.c
5057
if (!TEST_ptr(type = EVP_CIPHER_fetch(testctx, t->cipher, testpropq))) {
crypto/openssl/test/evp_extra_test.c
5061
if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, NULL, NULL, t->initenc))) {
crypto/openssl/test/evp_extra_test.c
5069
if (t->keyfirst && !TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, t->key, NULL, -1))) {
crypto/openssl/test/evp_extra_test.c
5073
if (!evp_init_seq_set_iv(ctx, t)) {
crypto/openssl/test/evp_extra_test.c
5077
if (t->keyfirst == 0 && !TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, t->key, NULL, -1))) {
crypto/openssl/test/evp_extra_test.c
5081
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, t->finalenc))) {
crypto/openssl/test/evp_extra_test.c
5085
if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen1, t->input, t->inlen))) {
crypto/openssl/test/evp_extra_test.c
5089
if (t->finalenc == 0 && t->tag != NULL) {
crypto/openssl/test/evp_extra_test.c
5092
t->taglen, (void *)t->tag),
crypto/openssl/test/evp_extra_test.c
5102
if (!TEST_mem_eq(t->expected, t->expectedlen, outbuf, outlen1 + outlen2)) {
crypto/openssl/test/evp_extra_test.c
5106
if (t->finalenc != 0 && t->tag != NULL) {
crypto/openssl/test/evp_extra_test.c
5111
if (!TEST_mem_eq(t->tag, t->taglen, tag, taglen)) {
crypto/openssl/test/evp_extra_test.c
5135
const EVP_INIT_TEST_st *t = &evp_reinit_tests[idx];
crypto/openssl/test/evp_extra_test.c
5140
|| !TEST_ptr(type = EVP_CIPHER_fetch(testctx, t->cipher, testpropq))
crypto/openssl/test/evp_extra_test.c
5142
|| !TEST_true(EVP_CipherInit_ex2(ctx, type, t->key, t->iv, t->initenc, NULL))
crypto/openssl/test/evp_extra_test.c
5144
|| !TEST_true(EVP_CipherUpdate(ctx, outbuf1, &outlen1, t->input, t->inlen))
crypto/openssl/test/evp_extra_test.c
5147
|| !TEST_mem_eq(t->expected, t->expectedlen, outbuf1, outlen1 + outlen_final)
crypto/openssl/test/evp_extra_test.c
5151
|| !TEST_true(EVP_CipherUpdate(ctx, outbuf2, &outlen2, t->input, t->inlen))
crypto/openssl/test/evp_extra_test.c
5154
|| !TEST_mem_eq(t->expected, t->expectedlen, outbuf2, outlen2 + outlen_final))
crypto/openssl/test/evp_extra_test.c
5184
const EVP_RESET_TEST_st *t = &evp_reset_tests[idx];
crypto/openssl/test/evp_extra_test.c
5200
if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, kCFBDefaultKey, iCFBIV, t->enc))) {
crypto/openssl/test/evp_extra_test.c
5208
if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen1, t->input, t->inlen))) {
crypto/openssl/test/evp_extra_test.c
5216
if (!TEST_mem_eq(t->expected, t->expectedlen, outbuf, outlen1 + outlen2)) {
crypto/openssl/test/evp_extra_test.c
5224
if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen1, t->input, t->inlen))) {
crypto/openssl/test/evp_extra_test.c
5232
if (!TEST_mem_eq(t->expected, t->expectedlen, outbuf, outlen1 + outlen2)) {
crypto/openssl/test/evp_extra_test.c
5271
const EVP_UPDATED_IV_TEST_st *t = &evp_updated_iv_tests[idx];
crypto/openssl/test/evp_extra_test.c
5285
if ((type = EVP_CIPHER_fetch(testctx, t->cipher, testpropq)) == NULL) {
crypto/openssl/test/evp_extra_test.c
5286
TEST_info("cipher %s not supported, skipping", t->cipher);
crypto/openssl/test/evp_extra_test.c
5290
if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, kCFBDefaultKey, iCFBIV, t->enc))) {
crypto/openssl/test/evp_extra_test.c
5357
const TEST_GCM_IV_REINIT_st *t = &gcm_reinit_tests[idx];
crypto/openssl/test/evp_extra_test.c
5375
if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_IVLEN, t->ivlen1, NULL), 0)) {
crypto/openssl/test/evp_extra_test.c
5379
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, kGCMResetKey, t->iv1, 1))) {
crypto/openssl/test/evp_extra_test.c
5397
if (!TEST_mem_eq(t->expected1, t->expectedlen1, outbuf, outlen1 + outlen2)) {
crypto/openssl/test/evp_extra_test.c
5405
if (!TEST_mem_eq(t->tag1, taglen, tag, taglen)) {
crypto/openssl/test/evp_extra_test.c
5410
if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_IVLEN, t->ivlen2, NULL), 0)) {
crypto/openssl/test/evp_extra_test.c
5414
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, t->iv2, -1))) {
crypto/openssl/test/evp_extra_test.c
5431
if (!TEST_mem_eq(t->expected2, t->expectedlen2, outbuf, outlen1 + outlen2)) {
crypto/openssl/test/evp_extra_test.c
5439
if (!TEST_mem_eq(t->tag2, taglen, tag, taglen)) {
crypto/openssl/test/evp_pkey_dhkem_test.c
122
const TEST_DERIVEKEY_DATA *t = &ec_derivekey_data[0];
crypto/openssl/test/evp_pkey_dhkem_test.c
129
(char *)t->ikm, t->ikmlen);
crypto/openssl/test/evp_pkey_dhkem_test.c
142
(char *)t->ikm, t->ikmlen);
crypto/openssl/test/evp_pkey_dhkem_test.c
153
(char *)t->ikm, t->ikmlen - 1);
crypto/openssl/test/evp_pkey_dhkem_test.c
171
const TEST_ENCAPDATA *t = &ec_encapdata[tstid];
crypto/openssl/test/evp_pkey_dhkem_test.c
178
t->expected_enc,
crypto/openssl/test/evp_pkey_dhkem_test.c
179
t->expected_enclen),
crypto/openssl/test/evp_pkey_dhkem_test.c
278
const TEST_ENCAPDATA *t = &ec_encapdata[0];
crypto/openssl/test/evp_pkey_dhkem_test.c
286
t->rpub, t->rpublen))
crypto/openssl/test/evp_pkey_dhkem_test.c
305
const TEST_ENCAPDATA *t = &ec_encapdata[0];
crypto/openssl/test/evp_pkey_dhkem_test.c
307
ret = TEST_ptr(key = new_raw_private_key(t->curve, t->rpriv, t->rprivlen,
crypto/openssl/test/evp_pkey_dhkem_test.c
316
t->expected_enc,
crypto/openssl/test/evp_pkey_dhkem_test.c
317
t->expected_enclen),
crypto/openssl/test/evp_pkey_dhkem_test.c
332
const TEST_ENCAPDATA *t = &ec_encapdata[tstid];
crypto/openssl/test/evp_pkey_dhkem_test.c
340
t->expected_enc,
crypto/openssl/test/evp_pkey_dhkem_test.c
341
t->expected_enclen),
crypto/openssl/test/evp_pkey_dhkem_test.c
407
const TEST_ENCAPDATA *t = &ec_encapdata[keytype];
crypto/openssl/test/evp_pkey_dhkem_test.c
410
TEST_note("%s %s", t->curve, encap ? "Encap" : "Decap");
crypto/openssl/test/evp_pkey_dhkem_test.c
411
if (!TEST_ptr(priv = new_raw_private_key(t->curve, t->rpriv, t->rprivlen,
crypto/openssl/test/evp_pkey_dhkem_test.c
43
const TEST_ENCAPDATA *t = &ec_encapdata[tstid];
crypto/openssl/test/evp_pkey_dhkem_test.c
441
const TEST_ENCAPDATA *t = &ec_encapdata[keytype];
crypto/openssl/test/evp_pkey_dhkem_test.c
445
TEST_note("%s %s", t->curve, encap ? "Encap" : "Decap");
crypto/openssl/test/evp_pkey_dhkem_test.c
446
if (!TEST_ptr(auth = new_raw_private_key(t->curve, t->rpriv,
crypto/openssl/test/evp_pkey_dhkem_test.c
447
t->rprivlen, NULL, expected)))
crypto/openssl/test/evp_pkey_dhkem_test.c
45
TEST_note("Test %s %s Decapsulate", t->curve,
crypto/openssl/test/evp_pkey_dhkem_test.c
46
t->spriv != NULL ? "Auth" : "");
crypto/openssl/test/evp_pkey_dhkem_test.c
48
if (!TEST_ptr(rpub = new_raw_public_key(t->curve, t->rpub, t->rpublen)))
crypto/openssl/test/evp_pkey_dhkem_test.c
480
const TEST_DERIVEKEY_DATA *t = &ec_derivekey_data[tstid];
crypto/openssl/test/evp_pkey_dhkem_test.c
487
(char *)t->curvename, 0);
crypto/openssl/test/evp_pkey_dhkem_test.c
489
(char *)t->ikm, t->ikmlen);
crypto/openssl/test/evp_pkey_dhkem_test.c
503
&& TEST_mem_eq(privkey, privkeylen, t->priv, t->privlen)
crypto/openssl/test/evp_pkey_dhkem_test.c
504
&& TEST_mem_eq(pubkey, pubkeylen, t->pub, t->publen);
crypto/openssl/test/evp_pkey_dhkem_test.c
51
if (t->spriv != NULL) {
crypto/openssl/test/evp_pkey_dhkem_test.c
52
if (!TEST_ptr(spriv = new_raw_private_key(t->curve,
crypto/openssl/test/evp_pkey_dhkem_test.c
53
t->spriv, t->sprivlen,
crypto/openssl/test/evp_pkey_dhkem_test.c
54
t->spub, t->spublen)))
crypto/openssl/test/evp_pkey_dhkem_test.c
57
ret = do_encap(t, rpub, spriv);
crypto/openssl/test/evp_pkey_dhkem_test.c
620
const TEST_ENCAPDATA *t = &ec_encapdata[0];
crypto/openssl/test/evp_pkey_dhkem_test.c
622
TEST_note("%s %s", t->curve, encap ? "Encap" : "Decap");
crypto/openssl/test/evp_pkey_dhkem_test.c
625
if (!TEST_ptr(recippriv = new_raw_private_key(t->curve, t->rpriv, t->rprivlen,
crypto/openssl/test/evp_pkey_dhkem_test.c
646
t->expected_enc,
crypto/openssl/test/evp_pkey_dhkem_test.c
647
t->expected_enclen),
crypto/openssl/test/evp_pkey_dhkem_test.c
670
const TEST_ENCAPDATA *t = &ec_encapdata[TEST_KEYTYPE_P256];
crypto/openssl/test/evp_pkey_dhkem_test.c
673
TEST_note("%s %s", t->curve, encap ? "Encap" : "Decap");
crypto/openssl/test/evp_pkey_dhkem_test.c
676
if (!TEST_ptr(auth = new_raw_private_key(t->curve, t->rpriv, t->rprivlen,
crypto/openssl/test/evp_pkey_dhkem_test.c
69
const TEST_ENCAPDATA *t = &ec_encapdata[tstid];
crypto/openssl/test/evp_pkey_dhkem_test.c
690
t->expected_enc,
crypto/openssl/test/evp_pkey_dhkem_test.c
691
t->expected_enclen),
crypto/openssl/test/evp_pkey_dhkem_test.c
705
const TEST_ENCAPDATA *t = &ec_encapdata[TEST_KEYTYPE_P256];
crypto/openssl/test/evp_pkey_dhkem_test.c
71
TEST_note("Test %s %s Decapsulate", t->curve, t->spub != NULL ? "Auth" : "");
crypto/openssl/test/evp_pkey_dhkem_test.c
711
memcpy(enc, t->expected_enc, t->expected_enclen);
crypto/openssl/test/evp_pkey_dhkem_test.c
716
enc, t->expected_enclen),
crypto/openssl/test/evp_pkey_dhkem_test.c
73
if (!TEST_ptr(rpriv = new_raw_private_key(t->curve, t->rpriv, t->rprivlen,
crypto/openssl/test/evp_pkey_dhkem_test.c
734
const TEST_DERIVEKEY_DATA *t = &ecx_derivekey_data[tstid];
crypto/openssl/test/evp_pkey_dhkem_test.c
736
memcpy(masked_priv, t->priv, t->privlen);
crypto/openssl/test/evp_pkey_dhkem_test.c
737
if (OPENSSL_strcasecmp(t->curvename, "X25519") == 0) {
crypto/openssl/test/evp_pkey_dhkem_test.c
74
t->rpub, t->rpublen)))
crypto/openssl/test/evp_pkey_dhkem_test.c
743
masked_priv[t->privlen - 1] &= 127;
crypto/openssl/test/evp_pkey_dhkem_test.c
744
masked_priv[t->privlen - 1] |= 64;
crypto/openssl/test/evp_pkey_dhkem_test.c
747
masked_priv[t->privlen - 1] |= 128;
crypto/openssl/test/evp_pkey_dhkem_test.c
751
(char *)t->ikm, t->ikmlen);
crypto/openssl/test/evp_pkey_dhkem_test.c
754
ret = TEST_ptr(genctx = EVP_PKEY_CTX_new_from_name(libctx, t->curvename, NULL))
crypto/openssl/test/evp_pkey_dhkem_test.c
76
if (t->spub != NULL) {
crypto/openssl/test/evp_pkey_dhkem_test.c
766
&& TEST_mem_eq(t->pub, t->publen, pubkey, pubkeylen)
crypto/openssl/test/evp_pkey_dhkem_test.c
767
&& TEST_mem_eq(masked_priv, t->privlen, privkey, privkeylen);
crypto/openssl/test/evp_pkey_dhkem_test.c
77
if (!TEST_ptr(spub = new_raw_public_key(t->curve, t->spub, t->spublen)))
crypto/openssl/test/evp_pkey_dhkem_test.c
80
ret = do_decap(t, rpriv, spub);
crypto/openssl/test/evp_test.c
1001
static int cipher_test_parse(EVP_TEST *t, const char *keyword,
crypto/openssl/test/evp_test.c
1004
CIPHER_DATA *cdat = t->data;
crypto/openssl/test/evp_test.c
1086
static int cipher_test_enc(EVP_TEST *t, int enc, size_t out_misalign,
crypto/openssl/test/evp_test.c
1090
CIPHER_DATA *expected = t->data;
crypto/openssl/test/evp_test.c
1098
t->err = "TEST_FAILURE";
crypto/openssl/test/evp_test.c
1138
t->err = "CIPHERINIT_ERROR";
crypto/openssl/test/evp_test.c
114
static int check_fips_approved(EVP_TEST *t, int approved)
crypto/openssl/test/evp_test.c
1149
t->err = "INVALID_CTS_MODE";
crypto/openssl/test/evp_test.c
1158
t->err = "INVALID_IV_LENGTH";
crypto/openssl/test/evp_test.c
1162
t->err = "INVALID_IV_LENGTH";
crypto/openssl/test/evp_test.c
1173
t->err = "TAG_LENGTH_SET_ERROR";
crypto/openssl/test/evp_test.c
1176
t->err = "TAG_SET_ERROR";
crypto/openssl/test/evp_test.c
1191
t->err = "INVALID_ROUNDS";
crypto/openssl/test/evp_test.c
1197
t->err = "INVALID_KEY_LENGTH";
crypto/openssl/test/evp_test.c
1204
t->err = "INVALID KEY BITS";
crypto/openssl/test/evp_test.c
1209
t->err = "KEY_SET_ERROR";
crypto/openssl/test/evp_test.c
122
if (t->expect_unapproved) {
crypto/openssl/test/evp_test.c
1221
t->err = "INVALID_IV";
crypto/openssl/test/evp_test.c
1265
t->err = "SET_MAC_KEY_ERROR";
crypto/openssl/test/evp_test.c
1276
t->err = "SET_TLS_VERSION_ERROR";
crypto/openssl/test/evp_test.c
1283
t->err = "CCM_PLAINTEXT_LENGTH_SET_ERROR";
crypto/openssl/test/evp_test.c
1288
t->err = "AAD_SET_ERROR";
crypto/openssl/test/evp_test.c
1346
t->err = "TLS1_AAD_ERROR";
crypto/openssl/test/evp_test.c
1354
t->err = "TAG_SET_ERROR";
crypto/openssl/test/evp_test.c
136
static int mac_check_fips_approved(EVP_MAC_CTX *ctx, EVP_TEST *t)
crypto/openssl/test/evp_test.c
1365
t->err = "SET_XTS_STANDARD_ERROR";
crypto/openssl/test/evp_test.c
1370
t->err = "CIPHERUPDATE_ERROR";
crypto/openssl/test/evp_test.c
1411
t->err = "CIPHERFINAL_ERROR";
crypto/openssl/test/evp_test.c
1414
if (!cipher_check_fips_approved(ctx, t)) {
crypto/openssl/test/evp_test.c
1415
t->err = "FIPSAPPROVED_ERROR";
crypto/openssl/test/evp_test.c
1430
if (!memory_err_compare(t, "VALUE_MISMATCH", expected_out, out_len,
crypto/openssl/test/evp_test.c
1437
t->err = "TAG_LENGTH_INTERNAL_ERROR";
crypto/openssl/test/evp_test.c
1443
t->err = "TAG_RETRIEVE_ERROR";
crypto/openssl/test/evp_test.c
1446
if (!memory_err_compare(t, "TAG_VALUE_MISMATCH",
crypto/openssl/test/evp_test.c
1459
t->err = "INVALID_NEXT_IV";
crypto/openssl/test/evp_test.c
1464
t->err = NULL;
crypto/openssl/test/evp_test.c
1474
static int cipher_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
1476
CIPHER_DATA *cdat = t->data;
crypto/openssl/test/evp_test.c
1484
t->err = "NO_KEY";
crypto/openssl/test/evp_test.c
1490
t->err = "NO_IV";
crypto/openssl/test/evp_test.c
1495
t->err = "NO_TAG";
crypto/openssl/test/evp_test.c
1500
if (!ctrl2params(t, cdat->init_controls, NULL,
crypto/openssl/test/evp_test.c
1509
t->aux_err = aux_err;
crypto/openssl/test/evp_test.c
152
return check_fips_approved(t, approved);
crypto/openssl/test/evp_test.c
1535
rv = cipher_test_enc(t, 1, out_misalign, inp_misalign,
crypto/openssl/test/evp_test.c
1541
rv = cipher_test_enc(t, 0, out_misalign, inp_misalign,
crypto/openssl/test/evp_test.c
155
static int pkey_check_fips_approved(EVP_PKEY_CTX *ctx, EVP_TEST *t)
crypto/openssl/test/evp_test.c
1551
t->aux_err = NULL;
crypto/openssl/test/evp_test.c
1606
static int mac_test_init(EVP_TEST *t, const char *alg)
crypto/openssl/test/evp_test.c
1614
t->skip = 1;
crypto/openssl/test/evp_test.c
1659
t->data = mdat;
crypto/openssl/test/evp_test.c
1663
static void mac_test_cleanup(EVP_TEST *t)
crypto/openssl/test/evp_test.c
1665
MAC_DATA *mdat = t->data;
crypto/openssl/test/evp_test.c
1679
static int mac_test_parse(EVP_TEST *t,
crypto/openssl/test/evp_test.c
1682
MAC_DATA *mdata = t->data;
crypto/openssl/test/evp_test.c
1723
static int mac_test_ctrl_pkey(EVP_TEST *t, EVP_PKEY_CTX *pctx,
crypto/openssl/test/evp_test.c
1737
t->err = "PKEY_CTRL_INVALID";
crypto/openssl/test/evp_test.c
1739
t->err = "PKEY_CTRL_ERROR";
crypto/openssl/test/evp_test.c
1746
static int mac_test_run_pkey(EVP_TEST *t)
crypto/openssl/test/evp_test.c
1748
MAC_DATA *expected = t->data;
crypto/openssl/test/evp_test.c
1772
t->skip = 1;
crypto/openssl/test/evp_test.c
1773
t->err = NULL;
crypto/openssl/test/evp_test.c
1780
t->skip = 1;
crypto/openssl/test/evp_test.c
1781
t->err = NULL;
crypto/openssl/test/evp_test.c
1785
t->err = "MAC_KEY_CREATE_ERROR";
crypto/openssl/test/evp_test.c
179
return check_fips_approved(t, approved);
crypto/openssl/test/evp_test.c
1799
t->err = "MAC_KEY_CREATE_ERROR";
crypto/openssl/test/evp_test.c
1806
t->skip = 1;
crypto/openssl/test/evp_test.c
1807
t->err = NULL;
crypto/openssl/test/evp_test.c
1813
t->err = "INTERNAL_ERROR";
crypto/openssl/test/evp_test.c
1817
t->err = "DIGESTSIGNINIT_ERROR";
crypto/openssl/test/evp_test.c
182
static int rand_check_fips_approved(EVP_RAND_CTX *ctx, EVP_TEST *t)
crypto/openssl/test/evp_test.c
1821
if (!mac_test_ctrl_pkey(t, pctx,
crypto/openssl/test/evp_test.c
1824
t->err = "EVPPKEYCTXCTRL_ERROR";
crypto/openssl/test/evp_test.c
1835
t->err = "DIGESTSIGNUPDATE_ERROR";
crypto/openssl/test/evp_test.c
1843
t->err = "DIGESTSIGNFINAL_LENGTH_ERROR";
crypto/openssl/test/evp_test.c
1847
t->err = "TEST_FAILURE";
crypto/openssl/test/evp_test.c
1851
|| !memory_err_compare(t, "TEST_MAC_ERR",
crypto/openssl/test/evp_test.c
1854
t->err = "TEST_MAC_ERR";
crypto/openssl/test/evp_test.c
1857
t->err = NULL;
crypto/openssl/test/evp_test.c
1867
static int mac_test_run_mac(EVP_TEST *t)
crypto/openssl/test/evp_test.c
1869
MAC_DATA *expected = t->data;
crypto/openssl/test/evp_test.c
1914
t->err = "MAC_BAD_PARAMS";
crypto/openssl/test/evp_test.c
1919
t->skip = 1;
crypto/openssl/test/evp_test.c
1920
t->err = NULL;
crypto/openssl/test/evp_test.c
1938
if (!ctrl2params(t, expected->controls, defined_params,
crypto/openssl/test/evp_test.c
1949
t->err = "MAC_CREATE_ERROR";
crypto/openssl/test/evp_test.c
1959
t->err = "MAC_INIT_ERROR";
crypto/openssl/test/evp_test.c
1964
t->err = "MAC SIZE not set";
crypto/openssl/test/evp_test.c
1970
t->err = "MAC SIZE check failed";
crypto/openssl/test/evp_test.c
1975
t->err = "MAC SIZE check failed";
crypto/openssl/test/evp_test.c
198
return check_fips_approved(t, approved);
crypto/openssl/test/evp_test.c
1988
t->err = "INTERNAL_ERROR";
crypto/openssl/test/evp_test.c
1993
t->err = "TEST_FAILURE";
crypto/openssl/test/evp_test.c
1998
t->err = "TEST_FAILURE";
crypto/openssl/test/evp_test.c
2011
t->err = "MAC_UPDATE_ERROR";
crypto/openssl/test/evp_test.c
2021
t->err = "TEST_FAILURE";
crypto/openssl/test/evp_test.c
2025
|| !memory_err_compare(t, "TEST_MAC_ERR",
crypto/openssl/test/evp_test.c
2028
t->err = "MAC_FINAL_ERROR";
crypto/openssl/test/evp_test.c
2033
t->err = "MAC_FINAL_LENGTH_ERROR";
crypto/openssl/test/evp_test.c
2037
t->err = "TEST_FAILURE";
crypto/openssl/test/evp_test.c
2041
|| !memory_err_compare(t, "TEST_MAC_ERR",
crypto/openssl/test/evp_test.c
2044
t->err = "TEST_MAC_ERR";
crypto/openssl/test/evp_test.c
2047
if (!mac_check_fips_approved(ctx, t))
crypto/openssl/test/evp_test.c
2067
t->err = "MAC_REINIT_SHOULD_FAIL";
crypto/openssl/test/evp_test.c
2077
t->err = "MAC_REINIT_ERROR";
crypto/openssl/test/evp_test.c
2083
t->err = NULL;
crypto/openssl/test/evp_test.c
2095
t->err = "EVP_Q_mac failed";
crypto/openssl/test/evp_test.c
2106
static int mac_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
2108
MAC_DATA *expected = t->data;
crypto/openssl/test/evp_test.c
2111
return mac_test_run_mac(t);
crypto/openssl/test/evp_test.c
2112
return mac_test_run_pkey(t);
crypto/openssl/test/evp_test.c
2152
static int kem_test_init(EVP_TEST *t, const char *alg)
crypto/openssl/test/evp_test.c
2162
t->data = kdata;
crypto/openssl/test/evp_test.c
2170
static void kem_test_cleanup(EVP_TEST *t)
crypto/openssl/test/evp_test.c
2172
KEM_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
2186
static int kem_test_parse(EVP_TEST *t, const char *keyword, const char *value)
crypto/openssl/test/evp_test.c
2188
KEM_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
2215
static int encapsulate(EVP_TEST *t, EVP_PKEY_CTX *ctx, const char *op,
crypto/openssl/test/evp_test.c
2220
KEM_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
2229
if (!ctrl2params(t, kdata->init_ctrls, NULL, params, params_max,
crypto/openssl/test/evp_test.c
2245
t->err = "TEST_ENCAPSULATE_INIT_ERROR";
crypto/openssl/test/evp_test.c
2250
t->err = "TEST_SET_KEM_OP_ERROR";
crypto/openssl/test/evp_test.c
2254
t->err = "TEST_ENCAPSULATE_LEN_ERROR";
crypto/openssl/test/evp_test.c
2264
t->err = "TEST_ENCAPSULATE_ERROR";
crypto/openssl/test/evp_test.c
2267
ret = pkey_check_fips_approved(ctx, t);
crypto/openssl/test/evp_test.c
2284
t->err = NULL;
crypto/openssl/test/evp_test.c
2301
static int decapsulate(EVP_TEST *t, EVP_PKEY_CTX *ctx, const char *op,
crypto/openssl/test/evp_test.c
2306
KEM_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
2314
if (!ctrl2params(t, kdata->init_ctrls, NULL,
crypto/openssl/test/evp_test.c
2321
t->err = "TEST_DECAPSULATE_INIT_ERROR";
crypto/openssl/test/evp_test.c
2326
t->err = "TEST_SET_KEM_OP_ERROR";
crypto/openssl/test/evp_test.c
2330
t->err = "TEST_DECAPSULATE_LEN_ERROR";
crypto/openssl/test/evp_test.c
2339
t->err = "TEST_DECAPSULATE_ERROR";
crypto/openssl/test/evp_test.c
2343
t->err = "TEST_SECRET_MISMATCH";
crypto/openssl/test/evp_test.c
2346
t->err = NULL;
crypto/openssl/test/evp_test.c
2356
static int kem_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
2360
KEM_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
2369
t->skip = 1;
crypto/openssl/test/evp_test.c
2379
t->err = "TEST_PARSE_PUBLIC_KEY_ERROR";
crypto/openssl/test/evp_test.c
2389
t->err = "TEST_PARSE_PRIVATE_KEY_ERROR";
crypto/openssl/test/evp_test.c
2403
ret = encapsulate(t, kdata->ctx, kdata->op, &wrapped, &wrappedlen,
crypto/openssl/test/evp_test.c
2405
if (ret == 0 || t->err != NULL)
crypto/openssl/test/evp_test.c
2410
ret = decapsulate(t, kdata->ctx, kdata->op, wrapped, wrappedlen,
crypto/openssl/test/evp_test.c
2413
ret = decapsulate(t, kdata->ctx, kdata->op, kdata->input, kdata->inputlen,
crypto/openssl/test/evp_test.c
245
static int ctrl2params(EVP_TEST *t, STACK_OF(OPENSSL_STRING) *controls,
crypto/openssl/test/evp_test.c
2468
static int pkey_test_init_keyctx(EVP_TEST *t, const char *keyname,
crypto/openssl/test/evp_test.c
2481
t->skip = 1;
crypto/openssl/test/evp_test.c
2494
t->data = kdata;
crypto/openssl/test/evp_test.c
2498
static int pkey_test_init(EVP_TEST *t, const char *name,
crypto/openssl/test/evp_test.c
2510
rv = pkey_test_init_keyctx(t, name, use_public);
crypto/openssl/test/evp_test.c
2511
if (t->skip || !rv)
crypto/openssl/test/evp_test.c
2513
kdata = t->data;
crypto/openssl/test/evp_test.c
2521
static int pkey_test_init_ex2(EVP_TEST *t, const char *name,
crypto/openssl/test/evp_test.c
2545
t->skip = 1;
crypto/openssl/test/evp_test.c
2549
rv = pkey_test_init_keyctx(t, /* keyname */ p + 1, use_public);
crypto/openssl/test/evp_test.c
255
t->err = "ERR_TOO_MANY_PARAMETERS";
crypto/openssl/test/evp_test.c
2550
if (t->skip || !rv)
crypto/openssl/test/evp_test.c
2552
kdata = t->data;
crypto/openssl/test/evp_test.c
2565
static void pkey_test_cleanup(EVP_TEST *t)
crypto/openssl/test/evp_test.c
2567
PKEY_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
2577
static int pkey_test_ctrl(EVP_TEST *t, EVP_PKEY_CTX *pctx,
crypto/openssl/test/evp_test.c
2591
t->err = "PKEY_CTRL_INVALID";
crypto/openssl/test/evp_test.c
2596
t->skip = 1;
crypto/openssl/test/evp_test.c
2599
t->err = "PKEY_CTRL_ERROR";
crypto/openssl/test/evp_test.c
2607
static int pkey_add_control(EVP_TEST *t, STACK_OF(OPENSSL_STRING) *controls,
crypto/openssl/test/evp_test.c
2621
t->skip = 1;
crypto/openssl/test/evp_test.c
2628
static int pkey_test_parse(EVP_TEST *t,
crypto/openssl/test/evp_test.c
263
t->err = "ERR_PARAM_ERROR";
crypto/openssl/test/evp_test.c
2631
PKEY_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
2639
return pkey_add_control(t, kdata->controls, value);
crypto/openssl/test/evp_test.c
2643
static int pkey_test_run_init(EVP_TEST *t)
crypto/openssl/test/evp_test.c
2645
PKEY_DATA *data = t->data;
crypto/openssl/test/evp_test.c
2655
if (!ctrl2params(t, data->init_controls,
crypto/openssl/test/evp_test.c
2663
t->err = "KEYOP_INIT_ERROR";
crypto/openssl/test/evp_test.c
2668
t->err = "KEYOP_INIT_ERROR";
crypto/openssl/test/evp_test.c
2672
t->err = "KEYOP_INIT_ERROR";
crypto/openssl/test/evp_test.c
2679
if (!pkey_test_ctrl(t, data->ctx, value) || t->err != NULL)
crypto/openssl/test/evp_test.c
2688
static int pkey_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
2690
PKEY_DATA *expected = t->data;
crypto/openssl/test/evp_test.c
2695
if (!pkey_test_run_init(t))
crypto/openssl/test/evp_test.c
2700
t->err = "INTERNAL_ERROR";
crypto/openssl/test/evp_test.c
2708
t->err = "KEYOP_LENGTH_ERROR";
crypto/openssl/test/evp_test.c
2714
t->err = "KEYOP_ERROR";
crypto/openssl/test/evp_test.c
2718
if (!memory_err_compare(t, "KEYOP_MISMATCH",
crypto/openssl/test/evp_test.c
2723
t->err = NULL;
crypto/openssl/test/evp_test.c
2732
t->err = "KEYOP_LENGTH_ERROR";
crypto/openssl/test/evp_test.c
2738
t->err = "KEYOP_ERROR";
crypto/openssl/test/evp_test.c
2741
if (!memory_err_compare(t, "KEYOP_MISMATCH",
crypto/openssl/test/evp_test.c
2746
if (pkey_check_fips_approved(expected->ctx, t) <= 0)
crypto/openssl/test/evp_test.c
2755
static int pkey_fromdata_test_init(EVP_TEST *t, const char *name)
crypto/openssl/test/evp_test.c
276
t->err = "ERR_PARAM_ERROR";
crypto/openssl/test/evp_test.c
2761
t->skip = 1;
crypto/openssl/test/evp_test.c
2775
t->data = kdata;
crypto/openssl/test/evp_test.c
2783
static void pkey_fromdata_test_cleanup(EVP_TEST *t)
crypto/openssl/test/evp_test.c
2785
PKEY_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
2791
static int pkey_fromdata_test_parse(EVP_TEST *t,
crypto/openssl/test/evp_test.c
2794
PKEY_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
2797
return pkey_add_control(t, kdata->controls, value);
crypto/openssl/test/evp_test.c
2801
static int pkey_fromdata_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
2804
PKEY_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
2819
if (!ctrl2params(t, kdata->controls, key_settable_ctx_params,
crypto/openssl/test/evp_test.c
2827
t->err = "KEY_FROMDATA_ERROR";
crypto/openssl/test/evp_test.c
2848
static int sign_test_init(EVP_TEST *t, const char *name)
crypto/openssl/test/evp_test.c
2851
return pkey_test_init_ex2(t, name, 0,
crypto/openssl/test/evp_test.c
2853
return pkey_test_init(t, name, 0, EVP_PKEY_sign_init_ex, EVP_PKEY_sign);
crypto/openssl/test/evp_test.c
2868
static int sign_test_message_init(EVP_TEST *t, const char *name)
crypto/openssl/test/evp_test.c
2870
return pkey_test_init_ex2(t, name, 0,
crypto/openssl/test/evp_test.c
2887
static int verify_recover_test_init(EVP_TEST *t, const char *name)
crypto/openssl/test/evp_test.c
2890
return pkey_test_init_ex2(t, name, 1,
crypto/openssl/test/evp_test.c
2893
return pkey_test_init(t, name, 1, EVP_PKEY_verify_recover_init_ex,
crypto/openssl/test/evp_test.c
2905
static int decrypt_test_init(EVP_TEST *t, const char *name)
crypto/openssl/test/evp_test.c
2907
return pkey_test_init(t, name, 0, EVP_PKEY_decrypt_init_ex,
crypto/openssl/test/evp_test.c
2924
static int verify_test_init(EVP_TEST *t, const char *name)
crypto/openssl/test/evp_test.c
2927
return pkey_test_init_ex2(t, name, 1,
crypto/openssl/test/evp_test.c
2929
return pkey_test_init(t, name, 1, EVP_PKEY_verify_init_ex, NULL);
crypto/openssl/test/evp_test.c
2932
static int verify_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
2935
PKEY_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
2937
if (!pkey_test_run_init(t))
crypto/openssl/test/evp_test.c
2942
t->err = "VERIFY_ERROR";
crypto/openssl/test/evp_test.c
2945
if (!pkey_check_fips_approved(kdata->ctx, t))
crypto/openssl/test/evp_test.c
296
static int kdf_check_fips_approved(EVP_KDF_CTX *ctx, EVP_TEST *t)
crypto/openssl/test/evp_test.c
2963
static int verify_message_test_init(EVP_TEST *t, const char *name)
crypto/openssl/test/evp_test.c
2965
return pkey_test_init_ex2(t, name, 0,
crypto/openssl/test/evp_test.c
2982
static int verify_message_public_test_init(EVP_TEST *t, const char *name)
crypto/openssl/test/evp_test.c
2984
return pkey_test_init_ex2(t, name, 1,
crypto/openssl/test/evp_test.c
2996
static int pderive_test_init(EVP_TEST *t, const char *name)
crypto/openssl/test/evp_test.c
2998
return pkey_test_init(t, name, 0, EVP_PKEY_derive_init_ex, 0);
crypto/openssl/test/evp_test.c
3001
static int pderive_test_parse(EVP_TEST *t,
crypto/openssl/test/evp_test.c
3004
PKEY_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
3022
return pkey_add_control(t, kdata->controls, value);
crypto/openssl/test/evp_test.c
3028
static int pderive_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
3031
PKEY_DATA *expected = t->data;
crypto/openssl/test/evp_test.c
3036
if (!pkey_test_run_init(t))
crypto/openssl/test/evp_test.c
3039
t->err = NULL;
crypto/openssl/test/evp_test.c
3043
t->err = "DERIVE_SET_PEER_ERROR";
crypto/openssl/test/evp_test.c
3048
t->err = "DERIVE_ERROR";
crypto/openssl/test/evp_test.c
305
return check_fips_approved(t, approved);
crypto/openssl/test/evp_test.c
3054
t->err = "DERIVE_ERROR";
crypto/openssl/test/evp_test.c
3058
t->err = "DERIVE_ERROR";
crypto/openssl/test/evp_test.c
3062
t->err = "DERIVE_ERROR";
crypto/openssl/test/evp_test.c
3065
if (!memory_err_compare(t, "SHARED_SECRET_MISMATCH",
crypto/openssl/test/evp_test.c
3070
if (!pkey_check_fips_approved(dctx, t)) {
crypto/openssl/test/evp_test.c
3074
t->err = NULL;
crypto/openssl/test/evp_test.c
308
static int cipher_check_fips_approved(EVP_CIPHER_CTX *ctx, EVP_TEST *t)
crypto/openssl/test/evp_test.c
3144
static int scrypt_test_parse(EVP_TEST *t,
crypto/openssl/test/evp_test.c
3147
PBE_DATA *pdata = t->data;
crypto/openssl/test/evp_test.c
3161
static int pbkdf2_test_parse(EVP_TEST *t,
crypto/openssl/test/evp_test.c
3164
PBE_DATA *pdata = t->data;
crypto/openssl/test/evp_test.c
317
return check_fips_approved(t, approved);
crypto/openssl/test/evp_test.c
3181
static int pkcs12_test_parse(EVP_TEST *t,
crypto/openssl/test/evp_test.c
3184
PBE_DATA *pdata = t->data;
crypto/openssl/test/evp_test.c
3192
return pbkdf2_test_parse(t, keyword, value);
crypto/openssl/test/evp_test.c
3195
static int pbe_test_init(EVP_TEST *t, const char *alg)
crypto/openssl/test/evp_test.c
3202
t->skip = 1;
crypto/openssl/test/evp_test.c
3218
t->data = pdat;
crypto/openssl/test/evp_test.c
3222
static void pbe_test_cleanup(EVP_TEST *t)
crypto/openssl/test/evp_test.c
3224
PBE_DATA *pdat = t->data;
crypto/openssl/test/evp_test.c
3231
static int pbe_test_parse(EVP_TEST *t,
crypto/openssl/test/evp_test.c
3234
PBE_DATA *pdata = t->data;
crypto/openssl/test/evp_test.c
3243
return pbkdf2_test_parse(t, keyword, value);
crypto/openssl/test/evp_test.c
3245
return pkcs12_test_parse(t, keyword, value);
crypto/openssl/test/evp_test.c
3248
return scrypt_test_parse(t, keyword, value);
crypto/openssl/test/evp_test.c
3253
static int pbe_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
3255
PBE_DATA *expected = t->data;
crypto/openssl/test/evp_test.c
326
static int memory_err_compare(EVP_TEST *t, const char *err,
crypto/openssl/test/evp_test.c
3263
t->err = "INTERNAL_ERROR";
crypto/openssl/test/evp_test.c
3272
t->err = "PBKDF2_ERROR";
crypto/openssl/test/evp_test.c
3282
t->err = "SCRYPT_ERROR";
crypto/openssl/test/evp_test.c
3290
t->err = "PKCS12_ERROR";
crypto/openssl/test/evp_test.c
3298
t->err = "PKCS12_ERROR";
crypto/openssl/test/evp_test.c
3302
if (!memory_err_compare(t, "KEY_MISMATCH", expected->key, expected->key_len,
crypto/openssl/test/evp_test.c
3306
t->err = NULL;
crypto/openssl/test/evp_test.c
332
if (t->expected_err != NULL && strcmp(t->expected_err, err) == 0)
crypto/openssl/test/evp_test.c
3342
static int encode_test_init(EVP_TEST *t, const char *encoding)
crypto/openssl/test/evp_test.c
3354
if (!TEST_ptr(t->expected_err = OPENSSL_strdup("DECODE_ERROR")))
crypto/openssl/test/evp_test.c
3362
t->data = edata;
crypto/openssl/test/evp_test.c
3369
static void encode_test_cleanup(EVP_TEST *t)
crypto/openssl/test/evp_test.c
337
t->err = err;
crypto/openssl/test/evp_test.c
3371
ENCODE_DATA *edata = t->data;
crypto/openssl/test/evp_test.c
3378
static int encode_test_parse(EVP_TEST *t,
crypto/openssl/test/evp_test.c
3381
ENCODE_DATA *edata = t->data;
crypto/openssl/test/evp_test.c
3390
static int encode_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
3392
ENCODE_DATA *expected = t->data;
crypto/openssl/test/evp_test.c
3399
t->err = "INTERNAL_ERROR";
crypto/openssl/test/evp_test.c
3431
if (!memory_err_compare(t, "BAD_ENCODING",
crypto/openssl/test/evp_test.c
3459
t->err = "DECODE_ERROR";
crypto/openssl/test/evp_test.c
3468
t->err = "DECODE_ERROR";
crypto/openssl/test/evp_test.c
3474
&& !memory_err_compare(t, "BAD_DECODING",
crypto/openssl/test/evp_test.c
3477
t->err = "BAD_DECODING";
crypto/openssl/test/evp_test.c
3483
t->err = "BAD_DECODING";
crypto/openssl/test/evp_test.c
3488
t->err = NULL;
crypto/openssl/test/evp_test.c
3542
static int rand_test_init(EVP_TEST *t, const char *name)
crypto/openssl/test/evp_test.c
3575
t->data = rdata;
crypto/openssl/test/evp_test.c
3583
static void rand_test_cleanup(EVP_TEST *t)
crypto/openssl/test/evp_test.c
3585
RAND_DATA *rdata = t->data;
crypto/openssl/test/evp_test.c
3608
static int rand_test_parse(EVP_TEST *t,
crypto/openssl/test/evp_test.c
3611
RAND_DATA *rdata = t->data;
crypto/openssl/test/evp_test.c
3670
static int rand_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
3672
RAND_DATA *expected = t->data;
crypto/openssl/test/evp_test.c
3686
if (!ctrl2params(t, expected->init_controls,
crypto/openssl/test/evp_test.c
3703
if (t->expect_unapproved == 0) {
crypto/openssl/test/evp_test.c
3704
t->err = "EVP_RAND_CTX_set_params";
crypto/openssl/test/evp_test.c
3771
if (!rand_check_fips_approved(expected->ctx, t))
crypto/openssl/test/evp_test.c
3780
t->err = NULL;
crypto/openssl/test/evp_test.c
3817
static int kdf_test_init(EVP_TEST *t, const char *name)
crypto/openssl/test/evp_test.c
3824
t->skip = 1;
crypto/openssl/test/evp_test.c
3844
t->data = kdata;
crypto/openssl/test/evp_test.c
3849
static void kdf_test_cleanup(EVP_TEST *t)
crypto/openssl/test/evp_test.c
3851
KDF_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
3861
static int kdf_test_ctrl(EVP_TEST *t, EVP_KDF_CTX *kctx,
crypto/openssl/test/evp_test.c
3864
KDF_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
3880
t->skip = 1;
crypto/openssl/test/evp_test.c
3887
t->skip = 1;
crypto/openssl/test/evp_test.c
3894
t->skip = 1;
crypto/openssl/test/evp_test.c
3901
t->skip = 1;
crypto/openssl/test/evp_test.c
3908
t->skip = 1;
crypto/openssl/test/evp_test.c
3915
t->skip = 1;
crypto/openssl/test/evp_test.c
3922
t->skip = 1;
crypto/openssl/test/evp_test.c
3930
t->err = "KDF_PARAM_ERROR";
crypto/openssl/test/evp_test.c
3937
t->skip = 1;
crypto/openssl/test/evp_test.c
3946
t->skip = 1;
crypto/openssl/test/evp_test.c
3952
t->skip = 1;
crypto/openssl/test/evp_test.c
3959
static int kdf_test_parse(EVP_TEST *t,
crypto/openssl/test/evp_test.c
3962
KDF_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
3969
return kdf_test_ctrl(t, kdata->ctx, value);
crypto/openssl/test/evp_test.c
3973
static int kdf_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
3976
KDF_DATA *expected = t->data;
crypto/openssl/test/evp_test.c
3984
if (!ctrl2params(t, expected->init_controls,
crypto/openssl/test/evp_test.c
3989
t->err = "KDF_CTRL_ERROR";
crypto/openssl/test/evp_test.c
3995
t->err = "KDF_CTRL_ERROR";
crypto/openssl/test/evp_test.c
3999
t->err = "INTERNAL_ERROR";
crypto/openssl/test/evp_test.c
4009
t->err = "KDF_DERIVE_ERROR";
crypto/openssl/test/evp_test.c
4012
if (!kdf_check_fips_approved(expected->ctx, t)) {
crypto/openssl/test/evp_test.c
4016
if (!memory_err_compare(t, "KDF_MISMATCH",
crypto/openssl/test/evp_test.c
4021
t->err = NULL;
crypto/openssl/test/evp_test.c
4053
static int pkey_kdf_test_init(EVP_TEST *t, const char *name)
crypto/openssl/test/evp_test.c
4059
t->skip = 1;
crypto/openssl/test/evp_test.c
4071
t->data = kdata;
crypto/openssl/test/evp_test.c
4079
static void pkey_kdf_test_cleanup(EVP_TEST *t)
crypto/openssl/test/evp_test.c
4081
PKEY_KDF_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
4087
static int pkey_kdf_test_parse(EVP_TEST *t,
crypto/openssl/test/evp_test.c
4090
PKEY_KDF_DATA *kdata = t->data;
crypto/openssl/test/evp_test.c
4095
return pkey_test_ctrl(t, kdata->ctx, value);
crypto/openssl/test/evp_test.c
4099
static int pkey_kdf_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
4102
PKEY_KDF_DATA *expected = t->data;
crypto/openssl/test/evp_test.c
4112
t->err = "INTERNAL_ERROR";
crypto/openssl/test/evp_test.c
4128
t->err = "INTERNAL_ERROR";
crypto/openssl/test/evp_test.c
4132
t->err = "KDF_DERIVE_ERROR";
crypto/openssl/test/evp_test.c
4135
if (!pkey_check_fips_approved(expected->ctx, t)) {
crypto/openssl/test/evp_test.c
4140
t->err = "KDF_MISMATCH";
crypto/openssl/test/evp_test.c
4143
t->err = NULL;
crypto/openssl/test/evp_test.c
4167
static int keypair_test_init(EVP_TEST *t, const char *pair)
crypto/openssl/test/evp_test.c
4177
t->err = "PARSING_ERROR";
crypto/openssl/test/evp_test.c
4184
t->err = "MISSING_PRIVATE_KEY";
crypto/openssl/test/evp_test.c
4189
t->err = "MISSING_PUBLIC_KEY";
crypto/openssl/test/evp_test.c
4195
t->skip = 1;
crypto/openssl/test/evp_test.c
4204
t->data = data;
crypto/openssl/test/evp_test.c
4206
t->err = NULL;
crypto/openssl/test/evp_test.c
4213
static void keypair_test_cleanup(EVP_TEST *t)
crypto/openssl/test/evp_test.c
4215
OPENSSL_free(t->data);
crypto/openssl/test/evp_test.c
4216
t->data = NULL;
crypto/openssl/test/evp_test.c
4222
static int void_test_parse(EVP_TEST *t, const char *keyword, const char *value)
crypto/openssl/test/evp_test.c
4227
static int keypair_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
4230
const KEYPAIR_TEST_DATA *pair = t->data;
crypto/openssl/test/evp_test.c
4238
t->err = "KEYPAIR_TYPE_MISMATCH";
crypto/openssl/test/evp_test.c
4245
t->err = "KEYPAIR_MISMATCH";
crypto/openssl/test/evp_test.c
4247
t->err = "KEYPAIR_TYPE_MISMATCH";
crypto/openssl/test/evp_test.c
4249
t->err = "UNSUPPORTED_KEY_COMPARISON";
crypto/openssl/test/evp_test.c
4260
t->err = NULL;
crypto/openssl/test/evp_test.c
4286
static int keygen_test_init(EVP_TEST *t, const char *alg)
crypto/openssl/test/evp_test.c
4291
t->skip = 1;
crypto/openssl/test/evp_test.c
4302
t->data = data;
crypto/openssl/test/evp_test.c
4303
t->err = NULL;
crypto/openssl/test/evp_test.c
4307
static void keygen_test_cleanup(EVP_TEST *t)
crypto/openssl/test/evp_test.c
4309
KEYGEN_TEST_DATA *keygen = t->data;
crypto/openssl/test/evp_test.c
4316
OPENSSL_free(t->data);
crypto/openssl/test/evp_test.c
4317
t->data = NULL;
crypto/openssl/test/evp_test.c
4320
static int keygen_test_parse(EVP_TEST *t,
crypto/openssl/test/evp_test.c
4323
KEYGEN_TEST_DATA *keygen = t->data;
crypto/openssl/test/evp_test.c
4337
static int check_pkey_expected_values(EVP_TEST *t, const EVP_PKEY *pkey,
crypto/openssl/test/evp_test.c
4346
if (!ctrl2params(t, out_controls,
crypto/openssl/test/evp_test.c
4374
static int keygen_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
4376
KEYGEN_TEST_DATA *keygen = t->data;
crypto/openssl/test/evp_test.c
4389
t->skip = 1;
crypto/openssl/test/evp_test.c
4403
t->err = "KEYGEN_INIT_ERROR";
crypto/openssl/test/evp_test.c
4410
if (!ctrl2params(t, keygen->in_controls,
crypto/openssl/test/evp_test.c
4415
t->err = "PKEY_CTRL_ERROR";
crypto/openssl/test/evp_test.c
4421
t->err = "KEYGEN_GENERATE_ERROR";
crypto/openssl/test/evp_test.c
4425
if (!pkey_check_fips_approved(genctx, t)) {
crypto/openssl/test/evp_test.c
4435
if (!check_pkey_expected_values(t, pkey, keygen->out_controls)) {
crypto/openssl/test/evp_test.c
4436
t->err = "KEYGEN_PKEY_MISMATCH_ERROR";
crypto/openssl/test/evp_test.c
4460
t->err = NULL;
crypto/openssl/test/evp_test.c
4503
static int digestsigver_test_init(EVP_TEST *t, const char *alg, int is_verify,
crypto/openssl/test/evp_test.c
4511
t->skip = 1;
crypto/openssl/test/evp_test.c
4529
t->data = mdat;
crypto/openssl/test/evp_test.c
4533
static int digestsign_test_init(EVP_TEST *t, const char *alg)
crypto/openssl/test/evp_test.c
4535
return digestsigver_test_init(t, alg, 0, 0);
crypto/openssl/test/evp_test.c
4538
static void digestsigver_test_cleanup(EVP_TEST *t)
crypto/openssl/test/evp_test.c
4540
DIGESTSIGN_DATA *mdata = t->data;
crypto/openssl/test/evp_test.c
4549
t->data = NULL;
crypto/openssl/test/evp_test.c
4552
static int digestsigver_test_parse(EVP_TEST *t,
crypto/openssl/test/evp_test.c
4555
DIGESTSIGN_DATA *mdata = t->data;
crypto/openssl/test/evp_test.c
4566
t->skip = 1;
crypto/openssl/test/evp_test.c
4588
return pkey_add_control(t, mdata->controls, value);
crypto/openssl/test/evp_test.c
4599
static int check_deterministic_noncetype(EVP_TEST *t,
crypto/openssl/test/evp_test.c
4610
t->err = "EVP_PKEY_CTX_set_params_ERROR";
crypto/openssl/test/evp_test.c
4612
t->err = "EVP_PKEY_CTX_get_params_ERROR";
crypto/openssl/test/evp_test.c
4614
t->err = "nonce_type_not_modified_ERROR";
crypto/openssl/test/evp_test.c
4616
t->err = "nonce_type_value_ERROR";
crypto/openssl/test/evp_test.c
4618
return t->err == NULL;
crypto/openssl/test/evp_test.c
4621
static int signverify_init(EVP_TEST *t, DIGESTSIGN_DATA *data)
crypto/openssl/test/evp_test.c
4630
if (!ctrl2params(t, data->init_controls,
crypto/openssl/test/evp_test.c
4640
t->err = "DIGESTVERIFYINIT_ERROR";
crypto/openssl/test/evp_test.c
4646
t->err = "DIGESTSIGNINIT_ERROR";
crypto/openssl/test/evp_test.c
4654
if (!pkey_test_ctrl(t, data->pctx, value) || t->err != NULL)
crypto/openssl/test/evp_test.c
4669
static int digestsign_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
4672
DIGESTSIGN_DATA *expected = t->data;
crypto/openssl/test/evp_test.c
4676
if (!signverify_init(t, expected))
crypto/openssl/test/evp_test.c
4678
if (!check_deterministic_noncetype(t, expected))
crypto/openssl/test/evp_test.c
4683
if (!pkey_test_ctrl(t, expected->pctx, value) || t->err != NULL)
crypto/openssl/test/evp_test.c
4689
t->err = "DIGESTUPDATE_ERROR";
crypto/openssl/test/evp_test.c
4694
t->err = "DIGESTSIGNFINAL_LENGTH_ERROR";
crypto/openssl/test/evp_test.c
4698
t->err = "MALLOC_FAILURE";
crypto/openssl/test/evp_test.c
4703
t->err = "DIGESTSIGNFINAL_ERROR";
crypto/openssl/test/evp_test.c
4706
if (!memory_err_compare(t, "SIGNATURE_MISMATCH",
crypto/openssl/test/evp_test.c
4711
t->err = NULL;
crypto/openssl/test/evp_test.c
4725
static int digestverify_test_init(EVP_TEST *t, const char *alg)
crypto/openssl/test/evp_test.c
4727
return digestsigver_test_init(t, alg, 1, 0);
crypto/openssl/test/evp_test.c
4736
static int digestverify_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
4738
DIGESTSIGN_DATA *mdata = t->data;
crypto/openssl/test/evp_test.c
4740
if (!signverify_init(t, mdata))
crypto/openssl/test/evp_test.c
4744
t->err = "DIGESTUPDATE_ERROR";
crypto/openssl/test/evp_test.c
4751
t->err = "VERIFY_ERROR";
crypto/openssl/test/evp_test.c
4763
static int oneshot_digestsign_test_init(EVP_TEST *t, const char *alg)
crypto/openssl/test/evp_test.c
4765
return digestsigver_test_init(t, alg, 0, 1);
crypto/openssl/test/evp_test.c
4768
static int oneshot_digestsign_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
4770
DIGESTSIGN_DATA *expected = t->data;
crypto/openssl/test/evp_test.c
4774
if (!signverify_init(t, expected))
crypto/openssl/test/evp_test.c
4779
t->err = "DIGESTSIGN_LENGTH_ERROR";
crypto/openssl/test/evp_test.c
4783
t->err = "MALLOC_FAILURE";
crypto/openssl/test/evp_test.c
4789
t->err = "DIGESTSIGN_ERROR";
crypto/openssl/test/evp_test.c
4792
if (!memory_err_compare(t, "SIGNATURE_MISMATCH",
crypto/openssl/test/evp_test.c
4797
t->err = NULL;
crypto/openssl/test/evp_test.c
4811
static int oneshot_digestverify_test_init(EVP_TEST *t, const char *alg)
crypto/openssl/test/evp_test.c
4813
return digestsigver_test_init(t, alg, 1, 1);
crypto/openssl/test/evp_test.c
4816
static int oneshot_digestverify_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
4818
DIGESTSIGN_DATA *mdata = t->data;
crypto/openssl/test/evp_test.c
4820
if (!signverify_init(t, mdata))
crypto/openssl/test/evp_test.c
4826
t->err = "VERIFY_ERROR";
crypto/openssl/test/evp_test.c
4881
static void clear_test(EVP_TEST *t)
crypto/openssl/test/evp_test.c
4883
test_clearstanza(&t->s);
crypto/openssl/test/evp_test.c
4885
if (t->data != NULL) {
crypto/openssl/test/evp_test.c
4886
if (t->meth != NULL)
crypto/openssl/test/evp_test.c
4887
t->meth->cleanup(t);
crypto/openssl/test/evp_test.c
4888
OPENSSL_free(t->data);
crypto/openssl/test/evp_test.c
4889
t->data = NULL;
crypto/openssl/test/evp_test.c
4891
OPENSSL_free(t->expected_err);
crypto/openssl/test/evp_test.c
4892
t->expected_err = NULL;
crypto/openssl/test/evp_test.c
4893
OPENSSL_free(t->reason);
crypto/openssl/test/evp_test.c
4894
t->reason = NULL;
crypto/openssl/test/evp_test.c
4897
t->err = NULL;
crypto/openssl/test/evp_test.c
4898
t->skip = 0;
crypto/openssl/test/evp_test.c
4899
t->meth = NULL;
crypto/openssl/test/evp_test.c
4900
t->expect_unapproved = 0;
crypto/openssl/test/evp_test.c
4908
static int check_test_error(EVP_TEST *t)
crypto/openssl/test/evp_test.c
4913
if (t->err == NULL && t->expected_err == NULL)
crypto/openssl/test/evp_test.c
4915
if (t->err != NULL && t->expected_err == NULL) {
crypto/openssl/test/evp_test.c
4916
if (t->aux_err != NULL) {
crypto/openssl/test/evp_test.c
4918
t->s.test_file, t->s.start, t->aux_err, t->err);
crypto/openssl/test/evp_test.c
4921
t->s.test_file, t->s.start, t->err);
crypto/openssl/test/evp_test.c
4925
if (t->err == NULL && t->expected_err != NULL) {
crypto/openssl/test/evp_test.c
4927
t->s.test_file, t->s.start, t->expected_err);
crypto/openssl/test/evp_test.c
4931
if (strcmp(t->err, t->expected_err) != 0) {
crypto/openssl/test/evp_test.c
4933
t->s.test_file, t->s.start, t->expected_err, t->err);
crypto/openssl/test/evp_test.c
4937
if (t->reason == NULL)
crypto/openssl/test/evp_test.c
4940
if (t->reason == NULL) {
crypto/openssl/test/evp_test.c
4942
t->s.test_file, t->s.start);
crypto/openssl/test/evp_test.c
4949
t->s.test_file, t->s.start, t->reason);
crypto/openssl/test/evp_test.c
4957
t->s.test_file, t->s.start, t->reason);
crypto/openssl/test/evp_test.c
4961
if (strcmp(reason, t->reason) == 0)
crypto/openssl/test/evp_test.c
4965
t->s.test_file, t->s.start, t->reason, reason);
crypto/openssl/test/evp_test.c
4971
static int run_test(EVP_TEST *t)
crypto/openssl/test/evp_test.c
4973
if (t->meth == NULL)
crypto/openssl/test/evp_test.c
4975
t->s.numtests++;
crypto/openssl/test/evp_test.c
4976
if (t->skip) {
crypto/openssl/test/evp_test.c
4977
t->s.numskip++;
crypto/openssl/test/evp_test.c
4980
if (t->err == NULL && t->meth->run_test(t) != 1) {
crypto/openssl/test/evp_test.c
4982
t->s.test_file, t->s.start, t->meth->name);
crypto/openssl/test/evp_test.c
4985
if (!check_test_error(t)) {
crypto/openssl/test/evp_test.c
4987
t->s.errors++;
crypto/openssl/test/evp_test.c
5115
static int parse(EVP_TEST *t)
crypto/openssl/test/evp_test.c
5125
if (BIO_eof(t->s.fp))
crypto/openssl/test/evp_test.c
5127
clear_test(t);
crypto/openssl/test/evp_test.c
5128
if (!test_readstanza(&t->s))
crypto/openssl/test/evp_test.c
5130
} while (t->s.numpairs == 0);
crypto/openssl/test/evp_test.c
5131
pp = &t->s.pairs[0];
crypto/openssl/test/evp_test.c
5138
pkey = PEM_read_bio_PrivateKey_ex(t->s.key, NULL, 0, NULL, libctx, NULL);
crypto/openssl/test/evp_test.c
5147
pkey = PEM_read_bio_PUBKEY_ex(t->s.key, NULL, 0, NULL, libctx, NULL);
crypto/openssl/test/evp_test.c
5156
pkey = PEM_read_bio_Parameters_ex(t->s.key, NULL, libctx, NULL);
crypto/openssl/test/evp_test.c
5213
pp->value, t->s.test_file, t->s.start);
crypto/openssl/test/evp_test.c
5214
t->skip = 1;
crypto/openssl/test/evp_test.c
5224
TEST_info("Line %d: error matching FIPS versions\n", t->s.curr);
crypto/openssl/test/evp_test.c
5228
t->s.test_file, t->s.start);
crypto/openssl/test/evp_test.c
5229
t->skip = 1;
crypto/openssl/test/evp_test.c
5252
if ((t->s.numpairs - skipped) != 1)
crypto/openssl/test/evp_test.c
5253
TEST_info("Line %d: missing blank line\n", t->s.curr);
crypto/openssl/test/evp_test.c
5258
if (!TEST_ptr(t->meth = find_test(pp->key)))
crypto/openssl/test/evp_test.c
5260
if (!t->meth->init(t, pp->value)) {
crypto/openssl/test/evp_test.c
5264
if (t->skip == 1) {
crypto/openssl/test/evp_test.c
5269
for (pp++, i = 1; i < (t->s.numpairs - skipped); pp++, i++) {
crypto/openssl/test/evp_test.c
5277
t->s.test_file, t->s.start);
crypto/openssl/test/evp_test.c
5278
t->skip = 1;
crypto/openssl/test/evp_test.c
5283
t->s.curr);
crypto/openssl/test/evp_test.c
5286
if (t->expected_err != NULL) {
crypto/openssl/test/evp_test.c
5287
TEST_info("Line %d: multiple result lines", t->s.curr);
crypto/openssl/test/evp_test.c
5290
t->expected_err = take_value(pp);
crypto/openssl/test/evp_test.c
5294
if (t->reason != NULL) {
crypto/openssl/test/evp_test.c
5295
TEST_info("Line %d: multiple reason lines", t->s.curr);
crypto/openssl/test/evp_test.c
5298
t->reason = take_value(pp);
crypto/openssl/test/evp_test.c
5302
pp->value, t->s.test_file, t->s.start);
crypto/openssl/test/evp_test.c
5303
t->skip = 1;
crypto/openssl/test/evp_test.c
5306
t->expect_unapproved = 1;
crypto/openssl/test/evp_test.c
5310
t->s.test_file, t->s.start);
crypto/openssl/test/evp_test.c
5311
t->skip = 1;
crypto/openssl/test/evp_test.c
5315
int rv = t->meth->parse(t, pp->key, pp->value);
crypto/openssl/test/evp_test.c
5318
TEST_info("Line %d: unknown keyword %s", t->s.curr, pp->key);
crypto/openssl/test/evp_test.c
5323
t->s.curr, pp->key, pp->value);
crypto/openssl/test/evp_test.c
5326
if (t->skip)
crypto/openssl/test/evp_test.c
5336
EVP_TEST *t;
crypto/openssl/test/evp_test.c
5340
if (!TEST_ptr(t = OPENSSL_zalloc(sizeof(*t))))
crypto/openssl/test/evp_test.c
5342
if (!test_start_file(&t->s, testfile)) {
crypto/openssl/test/evp_test.c
5343
OPENSSL_free(t);
crypto/openssl/test/evp_test.c
5348
while (!BIO_eof(t->s.fp)) {
crypto/openssl/test/evp_test.c
5349
c = parse(t);
crypto/openssl/test/evp_test.c
5350
if (t->skip) {
crypto/openssl/test/evp_test.c
5351
t->s.numskip++;
crypto/openssl/test/evp_test.c
5354
if (c == 0 || !run_test(t)) {
crypto/openssl/test/evp_test.c
5355
t->s.errors++;
crypto/openssl/test/evp_test.c
5359
test_end_file(&t->s);
crypto/openssl/test/evp_test.c
5360
clear_test(t);
crypto/openssl/test/evp_test.c
5366
BIO_free(t->s.key);
crypto/openssl/test/evp_test.c
5367
c = t->s.errors;
crypto/openssl/test/evp_test.c
5368
OPENSSL_free(t);
crypto/openssl/test/evp_test.c
58
int (*init)(EVP_TEST *t, const char *alg);
crypto/openssl/test/evp_test.c
60
void (*cleanup)(EVP_TEST *t);
crypto/openssl/test/evp_test.c
62
int (*parse)(EVP_TEST *t, const char *name, const char *value);
crypto/openssl/test/evp_test.c
64
int (*run_test)(EVP_TEST *t);
crypto/openssl/test/evp_test.c
666
static int digest_test_init(EVP_TEST *t, const char *alg)
crypto/openssl/test/evp_test.c
674
t->skip = 1;
crypto/openssl/test/evp_test.c
685
t->data = mdat;
crypto/openssl/test/evp_test.c
695
static void digest_test_cleanup(EVP_TEST *t)
crypto/openssl/test/evp_test.c
697
DIGEST_DATA *mdat = t->data;
crypto/openssl/test/evp_test.c
704
static int digest_test_parse(EVP_TEST *t,
crypto/openssl/test/evp_test.c
707
DIGEST_DATA *mdata = t->data;
crypto/openssl/test/evp_test.c
738
static int test_duplicate_md_ctx(EVP_TEST *t, EVP_MD_CTX *mctx)
crypto/openssl/test/evp_test.c
746
t->err = "DIGESTFINALXOF_ERROR";
crypto/openssl/test/evp_test.c
751
t->err = "DIGESTFINALXOF_ERROR";
crypto/openssl/test/evp_test.c
758
static int digest_test_run(EVP_TEST *t)
crypto/openssl/test/evp_test.c
760
DIGEST_DATA *expected = t->data;
crypto/openssl/test/evp_test.c
769
t->err = "TEST_FAILURE";
crypto/openssl/test/evp_test.c
792
t->err = "DIGESTINIT_ERROR";
crypto/openssl/test/evp_test.c
797
t->err = "DIGESTUPDATE_ERROR";
crypto/openssl/test/evp_test.c
811
} else if (!test_duplicate_md_ctx(t, mctx_cpy)) {
crypto/openssl/test/evp_test.c
815
if (!test_duplicate_md_ctx(t, EVP_MD_CTX_dup(mctx)))
crypto/openssl/test/evp_test.c
820
t->err = "DIGESTFINALXOF_ERROR";
crypto/openssl/test/evp_test.c
825
t->err = "DIGESTFINAL_ERROR";
crypto/openssl/test/evp_test.c
830
t->err = "DIGEST_LENGTH_MISMATCH";
crypto/openssl/test/evp_test.c
833
if (!memory_err_compare(t, "DIGEST_MISMATCH",
crypto/openssl/test/evp_test.c
838
t->err = NULL;
crypto/openssl/test/evp_test.c
853
t->err = "EVP_Q_digest failed";
crypto/openssl/test/evp_test.c
927
static int cipher_test_init(EVP_TEST *t, const char *alg)
crypto/openssl/test/evp_test.c
935
t->skip = 1;
crypto/openssl/test/evp_test.c
946
t->skip = 1;
crypto/openssl/test/evp_test.c
972
t->skip = 1;
crypto/openssl/test/evp_test.c
977
t->data = cdat;
crypto/openssl/test/evp_test.c
983
static void cipher_test_cleanup(EVP_TEST *t)
crypto/openssl/test/evp_test.c
986
CIPHER_DATA *cdat = t->data;
crypto/openssl/test/helpers/quictestlib.c
527
thread_t t = thread_zero;
crypto/openssl/test/helpers/quictestlib.c
553
if (!TEST_true(run_thread(&t, run_server_thread)))
crypto/openssl/test/helpers/quictestlib.c
648
if (!TEST_true(wait_for_thread(t)) || !TEST_true(globserverret))
crypto/openssl/test/helpers/quictestlib.c
692
thread_t t = thread_zero;
crypto/openssl/test/helpers/quictestlib.c
708
if (!TEST_true(run_thread(&t, run_server_shutdown_thread)))
crypto/openssl/test/helpers/quictestlib.c
737
if (!TEST_true(wait_for_thread(t)))
crypto/openssl/test/param_build_test.c
182
|| !TEST_true(OSSL_PARAM_get_time_t(p, &t))
crypto/openssl/test/param_build_test.c
183
|| !TEST_time_t_eq(t, 11224)
crypto/openssl/test/param_build_test.c
98
time_t t;
crypto/openssl/test/quic_fc_test.c
259
#define RX_OP_STEP_TIME(t) \
crypto/openssl/test/quic_fc_test.c
260
{ RX_OPC_STEP_TIME, 0, (t) },
crypto/openssl/test/quic_multistream_test.c
114
CRYPTO_THREAD *t;
crypto/openssl/test/quic_multistream_test.c
1832
h->threads[i].t
crypto/openssl/test/quic_multistream_test.c
1835
if (!TEST_ptr(h->threads[i].t))
crypto/openssl/test/quic_multistream_test.c
351
OSSL_TIME t;
crypto/openssl/test/quic_multistream_test.c
356
t = ossl_time_add(ossl_time_now(), h->time_slip);
crypto/openssl/test/quic_multistream_test.c
359
return t;
crypto/openssl/test/quic_multistream_test.c
45
CRYPTO_THREAD *t;
crypto/openssl/test/quic_multistream_test.c
501
if (threads[i].t != NULL) {
crypto/openssl/test/quic_multistream_test.c
502
ossl_crypto_thread_native_join(threads[i].t, &rv);
crypto/openssl/test/quic_multistream_test.c
508
ossl_crypto_thread_native_clean(threads[i].t);
crypto/openssl/test/quic_multistream_test.c
509
threads[i].t = NULL;
crypto/openssl/test/quic_multistream_test.c
522
if (h->server_thread.t == NULL)
crypto/openssl/test/quic_multistream_test.c
530
ossl_crypto_thread_native_join(h->server_thread.t, &rv);
crypto/openssl/test/quic_multistream_test.c
531
ossl_crypto_thread_native_clean(h->server_thread.t);
crypto/openssl/test/quic_multistream_test.c
532
h->server_thread.t = NULL;
crypto/openssl/test/quic_multistream_test.c
842
h->server_thread.t
crypto/openssl/test/quic_multistream_test.c
844
if (!TEST_ptr(h->server_thread.t))
crypto/openssl/test/quic_qlog_test.c
71
OSSL_TIME t = last_time;
crypto/openssl/test/quic_qlog_test.c
73
last_time = ossl_time_add(t, ossl_ms2time(1000));
crypto/openssl/test/quic_qlog_test.c
74
return t;
crypto/openssl/test/quic_record_test.c
2950
const struct pkt_hdr_test *t = pkt_hdr_tests[tidx];
crypto/openssl/test/quic_record_test.c
2961
int is_trunc = trunc_len < t->expected_len;
crypto/openssl/test/quic_record_test.c
2962
int expect_fail = trunc_len < t->min_success_len;
crypto/openssl/test/quic_record_test.c
2966
if (is_trunc && trunc_len > t->min_success_len
crypto/openssl/test/quic_record_test.c
2967
&& t->hdr.type == QUIC_PKT_TYPE_VERSION_NEG
crypto/openssl/test/quic_record_test.c
2968
&& ((trunc_len - t->min_success_len) % 4) != 0)
crypto/openssl/test/quic_record_test.c
3003
if (!TEST_true(PACKET_buf_init(&pkt, t->expected, trunc_len)))
crypto/openssl/test/quic_record_test.c
3006
if (!TEST_int_eq(ossl_quic_wire_decode_pkt_hdr(&pkt, t->short_conn_id_len,
crypto/openssl/test/quic_record_test.c
3012
if (!TEST_true(cmp_pkt_hdr(&hdr, &t->hdr, t->payload, t->payload_len, 1)))
crypto/openssl/test/quic_record_test.c
3015
if (!TEST_ptr_eq(ptrs.raw_start, t->expected))
crypto/openssl/test/quic_record_test.c
3018
if (t->pn_offset == SIZE_MAX) {
crypto/openssl/test/quic_record_test.c
3022
if (!TEST_ptr_eq(ptrs.raw_pn, t->expected + t->pn_offset))
crypto/openssl/test/quic_record_test.c
3026
if (t->sample_offset != SIZE_MAX) {
crypto/openssl/test/quic_record_test.c
3027
if (!TEST_ptr_eq(ptrs.raw_sample, t->expected + t->sample_offset))
crypto/openssl/test/quic_record_test.c
3030
t->expected_len - t->sample_offset))
crypto/openssl/test/quic_record_test.c
3034
if (!TEST_true(ossl_quic_wire_encode_pkt_hdr(&wpkt, t->short_conn_id_len, &hdr, &wptrs)))
crypto/openssl/test/quic_record_test.c
3037
if (!TEST_true(WPACKET_memcpy(&wpkt, t->payload, t->payload_len)))
crypto/openssl/test/quic_record_test.c
3043
if (!TEST_mem_eq(buf, l, t->expected, t->expected_len))
crypto/openssl/test/quic_record_test.c
3047
if (t->sample_offset != SIZE_MAX) { /* if packet type has protection */
crypto/openssl/test/quic_record_test.c
3060
hbuf = OPENSSL_malloc(t->expected_len);
crypto/openssl/test/quic_record_test.c
3064
memcpy(hbuf, t->expected, t->expected_len);
crypto/openssl/test/quic_record_test.c
3074
for (i = 0; i < t->expected_len; ++i) {
crypto/openssl/test/quic_record_test.c
3075
unsigned char d = t->expected[i] ^ hbuf[i], rej_mask = 0xff;
crypto/openssl/test/quic_record_test.c
3079
rej_mask = (t->hdr.type == QUIC_PKT_TYPE_1RTT) ? ~0x1f : ~0xf;
crypto/openssl/test/quic_record_test.c
3080
} else if (i >= t->pn_offset && i < t->pn_offset + t->hdr.pn_len) {
crypto/openssl/test/quic_record_test.c
3083
jrel = 5 + (i - t->pn_offset) * 8;
crypto/openssl/test/quic_record_test.c
3111
if (!TEST_mem_eq(hbuf, t->expected_len, t->expected, t->expected_len))
crypto/openssl/test/quic_record_test.c
3129
const struct pkt_hdr_test *t = pkt_hdr_tests[tidx];
crypto/openssl/test/quic_record_test.c
3134
t->expected_len)))
crypto/openssl/test/quic_record_test.c
3138
for (i = 0; i < t->expected_len; ++i)
crypto/openssl/test/quic_srt_gen_test.c
46
const struct test_case *t = &tests[idx];
crypto/openssl/test/quic_srt_gen_test.c
52
t->key, t->key_len)))
crypto/openssl/test/quic_srt_gen_test.c
58
if (!TEST_true(ossl_quic_srt_gen_calculate_token(srt_gen, &t->dcid,
crypto/openssl/test/quic_srt_gen_test.c
63
&t->expected, sizeof(t->expected)))
crypto/openssl/test/quic_tserver_test.c
38
OSSL_TIME t;
crypto/openssl/test/quic_tserver_test.c
43
t = fake_time;
crypto/openssl/test/quic_tserver_test.c
46
return t;
crypto/openssl/test/quic_wire_test.c
1544
const struct pn_test *t = &pn_tests[tidx];
crypto/openssl/test/quic_wire_test.c
1549
pn_len = ossl_quic_wire_determine_pn_len(t->pn, t->tx_largest_acked);
crypto/openssl/test/quic_wire_test.c
1550
if (!TEST_int_eq(pn_len, (int)t->expected_len))
crypto/openssl/test/quic_wire_test.c
1553
if (!TEST_true(ossl_quic_wire_encode_pkt_hdr_pn(t->pn, buf, pn_len)))
crypto/openssl/test/quic_wire_test.c
1556
if (!TEST_mem_eq(t->expected_bytes, t->expected_len, buf, pn_len))
crypto/openssl/test/quic_wire_test.c
1560
t->rx_largest_pn, &res_pn)))
crypto/openssl/test/quic_wire_test.c
1563
if (!TEST_uint64_t_eq(res_pn, t->pn))
crypto/openssl/test/quicapitest.c
2113
const struct tparam_test *t;
crypto/openssl/test/quicapitest.c
2121
const struct tparam_test *t = ctx->t;
crypto/openssl/test/quicapitest.c
2123
switch (t->op) {
crypto/openssl/test/quicapitest.c
2132
if (id == t->id
crypto/openssl/test/quicapitest.c
2142
if (id != t->id
crypto/openssl/test/quicapitest.c
2160
if (id == t->id) {
crypto/openssl/test/quicapitest.c
2171
if (id == t->id)
crypto/openssl/test/quicapitest.c
2239
if (ctx->t->op == TPARAM_OP_INJECT || ctx->t->op == TPARAM_OP_DROP_INJECT
crypto/openssl/test/quicapitest.c
2240
|| ctx->t->op == TPARAM_OP_INJECT_TWICE) {
crypto/openssl/test/quicapitest.c
2241
if (!TEST_ptr(ossl_quic_wire_encode_transport_param_bytes(&wpkt, ctx->t->id,
crypto/openssl/test/quicapitest.c
2242
ctx->t->buf,
crypto/openssl/test/quicapitest.c
2243
ctx->t->buf_len)))
crypto/openssl/test/quicapitest.c
2246
if (ctx->t->op == TPARAM_OP_INJECT_TWICE
crypto/openssl/test/quicapitest.c
2247
&& !TEST_ptr(ossl_quic_wire_encode_transport_param_bytes(&wpkt, ctx->t->id,
crypto/openssl/test/quicapitest.c
2248
ctx->t->buf,
crypto/openssl/test/quicapitest.c
2249
ctx->t->buf_len)))
crypto/openssl/test/quicapitest.c
2251
} else if (ctx->t->op == TPARAM_OP_INJECT_RAW) {
crypto/openssl/test/quicapitest.c
2252
if (!TEST_true(WPACKET_memcpy(&wpkt, ctx->t->buf, ctx->t->buf_len)))
crypto/openssl/test/quicapitest.c
2299
ctx.t = &tparam_tests[idx];
crypto/openssl/test/quicapitest.c
2314
ctx.t->expect_fail != NULL)))
crypto/openssl/test/quicapitest.c
2317
if (ctx.t->expect_fail != NULL) {
crypto/openssl/test/quicapitest.c
2325
|| !TEST_ptr(strstr(info.reason, ctx.t->expect_fail))) {
crypto/openssl/test/quicapitest.c
2338
if (ctx.t->expect_fail != NULL)
crypto/openssl/test/quicapitest.c
2341
(unsigned long long)ctx.t->id,
crypto/openssl/test/quicapitest.c
2342
ctx.t->op, ctx.t->buf_len, ctx.t->expect_fail);
crypto/openssl/test/quicapitest.c
2345
(unsigned long long)ctx.t->id, ctx.t->op, ctx.t->buf_len);
crypto/openssl/test/radix/quic_bindings.c
526
assert(rt->t == NULL);
crypto/openssl/test/radix/quic_bindings.c
537
if (rt->t != NULL)
crypto/openssl/test/radix/quic_bindings.c
538
ossl_crypto_thread_native_join(rt->t, &rv);
crypto/openssl/test/radix/quic_bindings.c
540
ossl_crypto_thread_native_clean(rt->t);
crypto/openssl/test/radix/quic_bindings.c
541
rt->t = NULL;
crypto/openssl/test/radix/quic_bindings.c
644
ossl_unused static void radix_skip_time(OSSL_TIME t)
crypto/openssl/test/radix/quic_bindings.c
647
RP()->time_slip = ossl_time_add(RP()->time_slip, t);
crypto/openssl/test/radix/quic_bindings.c
807
if (!TEST_ptr(child_rt->t = ossl_crypto_thread_native_start(RADIX_THREAD_worker_main,
crypto/openssl/test/radix/quic_bindings.c
85
CRYPTO_THREAD *t;
crypto/openssl/test/ssl_ctx_test.c
110
if (!TEST_int_eq(SSL_CTX_set_min_proto_version(ctx, t.min_version), t.min_ok))
crypto/openssl/test/ssl_ctx_test.c
112
if (!TEST_int_eq(SSL_CTX_set_max_proto_version(ctx, t.max_version), t.max_ok))
crypto/openssl/test/ssl_ctx_test.c
114
if (!TEST_int_eq(SSL_CTX_get_min_proto_version(ctx), t.expected_min))
crypto/openssl/test/ssl_ctx_test.c
116
if (!TEST_int_eq(SSL_CTX_get_max_proto_version(ctx), t.expected_max))
crypto/openssl/test/ssl_ctx_test.c
119
if (!TEST_int_eq(SSL_set_min_proto_version(ssl, t.min_version), t.min_ok))
crypto/openssl/test/ssl_ctx_test.c
121
if (!TEST_int_eq(SSL_set_max_proto_version(ssl, t.max_version), t.max_ok))
crypto/openssl/test/ssl_ctx_test.c
123
if (!TEST_int_eq(SSL_get_min_proto_version(ssl), t.expected_min))
crypto/openssl/test/ssl_ctx_test.c
125
if (!TEST_int_eq(SSL_get_max_proto_version(ssl), t.expected_max))
crypto/openssl/test/ssl_ctx_test.c
78
version_test t = version_testdata[idx_tst];
crypto/openssl/test/ssl_ctx_test.c
81
switch (t.proto) {
crypto/openssl/test/testutil/driver.c
85
int t = b;
crypto/openssl/test/testutil/driver.c
87
a = t;
crypto/openssl/test/testutil/tests.c
445
static const char *print_time(const ASN1_TIME *t)
crypto/openssl/test/testutil/tests.c
447
return t == NULL ? "<null>" : (const char *)ASN1_STRING_get0_data(t);
crypto/openssl/test/threadpool_test.c
102
void *t[3];
crypto/openssl/test/threadpool_test.c
125
t[0] = ossl_crypto_thread_start(NULL, test_thread_native_fn, &local[0]);
crypto/openssl/test/threadpool_test.c
126
if (!TEST_ptr_null(t[0]))
crypto/openssl/test/threadpool_test.c
137
t[0] = ossl_crypto_thread_start(NULL, test_thread_native_fn, &local[0]);
crypto/openssl/test/threadpool_test.c
138
if (!TEST_ptr_null(t[0]))
crypto/openssl/test/threadpool_test.c
150
t[0] = ossl_crypto_thread_start(NULL, test_thread_native_fn, &local[0]);
crypto/openssl/test/threadpool_test.c
151
if (!TEST_ptr_null(t[0]))
crypto/openssl/test/threadpool_test.c
165
for (i = 0; i < OSSL_NELEM(t); ++i) {
crypto/openssl/test/threadpool_test.c
168
t[i] = ossl_crypto_thread_start(NULL, test_thread_native_fn, &local[0]);
crypto/openssl/test/threadpool_test.c
169
if (!TEST_ptr(t[i]))
crypto/openssl/test/threadpool_test.c
178
if (!TEST_int_eq(ossl_crypto_thread_join(t[i], &retval[0]), 1))
crypto/openssl/test/threadpool_test.c
180
if (!TEST_int_eq(ossl_crypto_thread_join(t[i], &retval[0]), 1))
crypto/openssl/test/threadpool_test.c
186
if (!TEST_int_eq(ossl_crypto_thread_clean(t[i]), 1))
crypto/openssl/test/threadpool_test.c
188
t[i] = NULL;
crypto/openssl/test/threadpool_test.c
190
if (!TEST_int_eq(ossl_crypto_thread_clean(t[i]), 0))
crypto/openssl/test/threadpool_test.c
196
if (!TEST_int_eq(OSSL_set_max_threads(NULL, OSSL_NELEM(t)), 1))
crypto/openssl/test/threadpool_test.c
199
for (i = 0; i < OSSL_NELEM(t); ++i) {
crypto/openssl/test/threadpool_test.c
201
t[i] = ossl_crypto_thread_start(NULL, test_thread_native_fn, &local[i]);
crypto/openssl/test/threadpool_test.c
202
if (!TEST_ptr(t[i]))
crypto/openssl/test/threadpool_test.c
205
for (i = 0; i < OSSL_NELEM(t); ++i) {
crypto/openssl/test/threadpool_test.c
206
if (!TEST_int_eq(ossl_crypto_thread_join(t[i], &retval[i]), 1))
crypto/openssl/test/threadpool_test.c
209
for (i = 0; i < OSSL_NELEM(t); ++i) {
crypto/openssl/test/threadpool_test.c
212
if (!TEST_int_eq(ossl_crypto_thread_clean(t[i]), 1))
crypto/openssl/test/threadpool_test.c
218
if (!TEST_int_eq(OSSL_set_max_threads(NULL, OSSL_NELEM(t) - 1), 1))
crypto/openssl/test/threadpool_test.c
221
for (i = 0; i < OSSL_NELEM(t); ++i) {
crypto/openssl/test/threadpool_test.c
223
t[i] = ossl_crypto_thread_start(NULL, test_thread_native_fn, &local[i]);
crypto/openssl/test/threadpool_test.c
224
if (!TEST_ptr(t[i]))
crypto/openssl/test/threadpool_test.c
227
for (i = 0; i < OSSL_NELEM(t); ++i) {
crypto/openssl/test/threadpool_test.c
228
if (!TEST_int_eq(ossl_crypto_thread_join(t[i], &retval[i]), 1))
crypto/openssl/test/threadpool_test.c
231
for (i = 0; i < OSSL_NELEM(t); ++i) {
crypto/openssl/test/threadpool_test.c
234
if (!TEST_int_eq(ossl_crypto_thread_clean(t[i]), 1))
crypto/openssl/test/threadpool_test.c
267
CRYPTO_THREAD *t, *t1, *t2;
crypto/openssl/test/threadpool_test.c
269
t = ossl_crypto_thread_native_start(test_thread_native_multiple_joins_fn1, NULL, 1);
crypto/openssl/test/threadpool_test.c
270
t1 = ossl_crypto_thread_native_start(test_thread_native_multiple_joins_fn2, t, 1);
crypto/openssl/test/threadpool_test.c
271
t2 = ossl_crypto_thread_native_start(test_thread_native_multiple_joins_fn3, t, 1);
crypto/openssl/test/threadpool_test.c
273
if (!TEST_ptr(t) || !TEST_ptr(t1) || !TEST_ptr(t2))
crypto/openssl/test/threadpool_test.c
287
if (!TEST_int_eq(ossl_crypto_thread_native_clean(t), 1))
crypto/openssl/test/threadpool_test.c
62
CRYPTO_THREAD *t;
crypto/openssl/test/threadpool_test.c
67
t = ossl_crypto_thread_native_start(test_thread_native_fn, &local, 1);
crypto/openssl/test/threadpool_test.c
68
if (!TEST_ptr(t))
crypto/openssl/test/threadpool_test.c
77
if (!TEST_int_eq(ossl_crypto_thread_native_join(t, &retval), 1))
crypto/openssl/test/threadpool_test.c
79
if (!TEST_int_eq(ossl_crypto_thread_native_join(t, &retval), 1))
crypto/openssl/test/threadpool_test.c
85
if (!TEST_int_eq(ossl_crypto_thread_native_clean(t), 1))
crypto/openssl/test/threadpool_test.c
87
t = NULL;
crypto/openssl/test/threadpool_test.c
89
if (!TEST_int_eq(ossl_crypto_thread_native_clean(t), 0))
crypto/openssl/test/threadstest.h
21
static int run_thread(thread_t *t, void (*f)(void))
crypto/openssl/test/threadstest.h
46
static int run_thread(thread_t *t, void (*f)(void))
crypto/openssl/test/threadstest.h
48
*t = CreateThread(NULL, 0, thread_run, *(void **)&f, 0, NULL);
crypto/openssl/test/threadstest.h
49
return *t != NULL;
crypto/openssl/test/threadstest.h
72
static int run_thread(thread_t *t, void (*f)(void))
crypto/openssl/test/threadstest.h
74
return pthread_create(t, NULL, thread_run, *(void **)&f) == 0;
crypto/openssl/test/x509_check_cert_pkey_test.c
174
|| !TEST_ptr(t = test_get_argument(2))
crypto/openssl/test/x509_check_cert_pkey_test.c
25
static const char *t;
crypto/openssl/test/x509_check_cert_pkey_test.c
40
if (strcmp(t, "cert") == 0) {
crypto/openssl/test/x509_check_cert_pkey_test.c
42
} else if (strcmp(t, "req") == 0) {
crypto/openssl/test/x509_time_test.c
407
ASN1_TIME t;
crypto/openssl/test/x509_time_test.c
410
memset(&t, 0, sizeof(t));
crypto/openssl/test/x509_time_test.c
411
t.type = x509_cmp_tests[idx].type;
crypto/openssl/test/x509_time_test.c
412
t.data = (unsigned char *)(x509_cmp_tests[idx].data);
crypto/openssl/test/x509_time_test.c
413
t.length = strlen(x509_cmp_tests[idx].data);
crypto/openssl/test/x509_time_test.c
414
t.flags = 0;
crypto/openssl/test/x509_time_test.c
416
result = X509_cmp_time(&t, &x509_cmp_tests[idx].cmp_time);
crypto/openssl/test/x509_time_test.c
503
ASN1_TIME *t = NULL;
crypto/openssl/test/x509_time_test.c
508
t = ASN1_TIME_new();
crypto/openssl/test/x509_time_test.c
509
if (t == NULL) {
crypto/openssl/test/x509_time_test.c
515
result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data);
crypto/openssl/test/x509_time_test.c
524
if (t != NULL && x509_format_tests[idx].expected_type != -1) {
crypto/openssl/test/x509_time_test.c
525
if (!TEST_int_eq(t->type, x509_format_tests[idx].expected_type)) {
crypto/openssl/test/x509_time_test.c
527
idx, x509_format_tests[idx].expected_type, t->type);
crypto/openssl/test/x509_time_test.c
533
if (t != NULL && x509_format_tests[idx].expected_string) {
crypto/openssl/test/x509_time_test.c
534
if (!TEST_mem_eq((const char *)t->data, t->length,
crypto/openssl/test/x509_time_test.c
538
idx, x509_format_tests[idx].expected_string, t->length,
crypto/openssl/test/x509_time_test.c
539
t->data);
crypto/openssl/test/x509_time_test.c
546
if (t != NULL)
crypto/openssl/test/x509_time_test.c
547
ASN1_TIME_free(t);
crypto/openssl/test/x509_time_test.c
611
struct tm t;
crypto/openssl/test/x509_time_test.c
622
&& TEST_true(ASN1_TIME_to_tm(a, &t))
crypto/openssl/test/x509_time_test.c
623
&& TEST_int_eq(t.tm_yday, day_of_week_tests[n].yd)
crypto/openssl/test/x509_time_test.c
624
&& TEST_int_eq(t.tm_wday, day_of_week_tests[n].wd);
crypto/openssl/test/x509_time_test.c
630
#define construct_asn1_time(s, t, e) \
crypto/openssl/test/x509_time_test.c
631
{ { sizeof(s) - 1, t, (unsigned char *)s, 0 }, e }
include/arpa/nameser.h
347
#define ns_t_qt_p(t) (ns_t_xfr_p(t) || (t) == ns_t_any || \
include/arpa/nameser.h
348
(t) == ns_t_mailb || (t) == ns_t_maila)
include/arpa/nameser.h
350
#define ns_t_mrr_p(t) ((t) == ns_t_tsig || (t) == ns_t_opt)
include/arpa/nameser.h
352
#define ns_t_rr_p(t) (!ns_t_qt_p(t) && !ns_t_mrr_p(t))
include/arpa/nameser.h
353
#define ns_t_udp_p(t) ((t) != ns_t_axfr && (t) != ns_t_zxfr)
include/arpa/nameser.h
354
#define ns_t_xfr_p(t) ((t) == ns_t_axfr || (t) == ns_t_ixfr || \
include/arpa/nameser.h
355
(t) == ns_t_zxfr)
include/rpc/xdr.h
259
#define IXDR_GET_ENUM(buf, t) ((t)IXDR_GET_LONG(buf))
include/time.h
174
time_t time2posix(time_t t);
include/time.h
175
time_t posix2time(time_t t);
include/timeconv.h
52
__int32_t _time_to_time32(time_t t);
include/timeconv.h
54
__int64_t _time_to_time64(time_t t);
include/timeconv.h
55
long _time_to_long(time_t t);
include/timeconv.h
57
int _time_to_int(time_t t);
lib/clang/liblldb/LLDBWrapLua.cpp
3032
SwigValueWrapper& operator=(const T& t) { SwigSmartPointer tmp(new T(t)); pointer = tmp; return *this; }
lib/clang/liblldb/LLDBWrapLua.cpp
3034
SwigValueWrapper& operator=(T&& t) { SwigSmartPointer tmp(new T(std::move(t))); pointer = tmp; return *this; }
lib/clang/liblldb/LLDBWrapLua.cpp
3040
static void reset(SwigValueWrapper& t, T *p) { t.pointer.reset(p); }
lib/libbe/be.c
898
be_zfs_create(libzfs_handle_t *lzh, const char *buf, zfs_type_t t,
lib/libbe/be.c
903
if ((err = zfs_create(lzh, buf, t, props)) != 0) {
lib/libc/db/btree/bt_close.c
116
BTREE *t;
lib/libc/db/btree/bt_close.c
119
t = dbp->internal;
lib/libc/db/btree/bt_close.c
122
if (t->bt_pinned != NULL) {
lib/libc/db/btree/bt_close.c
123
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/btree/bt_close.c
124
t->bt_pinned = NULL;
lib/libc/db/btree/bt_close.c
133
if (F_ISSET(t, B_INMEM | B_RDONLY) ||
lib/libc/db/btree/bt_close.c
134
!F_ISSET(t, B_MODIFIED | B_METADIRTY))
lib/libc/db/btree/bt_close.c
137
if (F_ISSET(t, B_METADIRTY) && bt_meta(t) == RET_ERROR)
lib/libc/db/btree/bt_close.c
140
if ((status = mpool_sync(t->bt_mp)) == RET_SUCCESS)
lib/libc/db/btree/bt_close.c
141
F_CLR(t, B_MODIFIED);
lib/libc/db/btree/bt_close.c
156
bt_meta(BTREE *t)
lib/libc/db/btree/bt_close.c
161
if ((p = mpool_get(t->bt_mp, P_META, 0)) == NULL)
lib/libc/db/btree/bt_close.c
167
m.psize = t->bt_psize;
lib/libc/db/btree/bt_close.c
168
m.free = t->bt_free;
lib/libc/db/btree/bt_close.c
169
m.nrecs = t->bt_nrecs;
lib/libc/db/btree/bt_close.c
170
m.flags = F_ISSET(t, SAVEMETA);
lib/libc/db/btree/bt_close.c
173
mpool_put(t->bt_mp, p, MPOOL_DIRTY);
lib/libc/db/btree/bt_close.c
62
BTREE *t;
lib/libc/db/btree/bt_close.c
65
t = dbp->internal;
lib/libc/db/btree/bt_close.c
68
if (t->bt_pinned != NULL) {
lib/libc/db/btree/bt_close.c
69
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/btree/bt_close.c
70
t->bt_pinned = NULL;
lib/libc/db/btree/bt_close.c
78
if (mpool_close(t->bt_mp) == RET_ERROR)
lib/libc/db/btree/bt_close.c
82
if (t->bt_cursor.key.data != NULL) {
lib/libc/db/btree/bt_close.c
83
free(t->bt_cursor.key.data);
lib/libc/db/btree/bt_close.c
84
t->bt_cursor.key.size = 0;
lib/libc/db/btree/bt_close.c
85
t->bt_cursor.key.data = NULL;
lib/libc/db/btree/bt_close.c
87
if (t->bt_rkey.data) {
lib/libc/db/btree/bt_close.c
88
free(t->bt_rkey.data);
lib/libc/db/btree/bt_close.c
89
t->bt_rkey.size = 0;
lib/libc/db/btree/bt_close.c
90
t->bt_rkey.data = NULL;
lib/libc/db/btree/bt_close.c
92
if (t->bt_rdata.data) {
lib/libc/db/btree/bt_close.c
93
free(t->bt_rdata.data);
lib/libc/db/btree/bt_close.c
94
t->bt_rdata.size = 0;
lib/libc/db/btree/bt_close.c
95
t->bt_rdata.data = NULL;
lib/libc/db/btree/bt_close.c
98
fd = t->bt_fd;
lib/libc/db/btree/bt_close.c
99
free(t);
lib/libc/db/btree/bt_conv.c
120
__bt_pgout(void *t, pgno_t pg, void *pp)
lib/libc/db/btree/bt_conv.c
127
if (!F_ISSET(((BTREE *)t), B_NEEDSWAP))
lib/libc/db/btree/bt_conv.c
55
__bt_pgin(void *t, pgno_t pg, void *pp)
lib/libc/db/btree/bt_conv.c
62
if (!F_ISSET(((BTREE *)t), B_NEEDSWAP))
lib/libc/db/btree/bt_debug.c
129
BTREE *t;
lib/libc/db/btree/bt_debug.c
132
t = dbp->internal;
lib/libc/db/btree/bt_debug.c
133
if ((h = mpool_get(t->bt_mp, pgno, MPOOL_IGNOREPIN)) != NULL)
lib/libc/db/btree/bt_debug.c
244
BTREE *t;
lib/libc/db/btree/bt_debug.c
250
t = dbp->internal;
lib/libc/db/btree/bt_debug.c
254
(h = mpool_get(t->bt_mp, i, MPOOL_IGNOREPIN)) != NULL; ++i)
lib/libc/db/btree/bt_debug.c
274
h = mpool_get(t->bt_mp, i, MPOOL_IGNOREPIN);
lib/libc/db/btree/bt_debug.c
280
i = F_ISSET(t, R_RECNO) ?
lib/libc/db/btree/bt_debug.c
287
if (F_ISSET(t, R_RECNO))
lib/libc/db/btree/bt_debug.c
288
(void)fprintf(stderr, " (%u header count)", t->bt_nrecs);
lib/libc/db/btree/bt_debug.c
296
pleaf *= t->bt_psize - BTDATAOFF;
lib/libc/db/btree/bt_debug.c
302
pinternal *= t->bt_psize - BTDATAOFF;
lib/libc/db/btree/bt_debug.c
54
BTREE *t;
lib/libc/db/btree/bt_debug.c
59
t = dbp->internal;
lib/libc/db/btree/bt_debug.c
61
F_ISSET(t, B_INMEM) ? "memory" : "disk", t->bt_psize);
lib/libc/db/btree/bt_debug.c
62
if (F_ISSET(t, R_RECNO))
lib/libc/db/btree/bt_debug.c
63
(void)fprintf(stderr, " keys %u", t->bt_nrecs);
lib/libc/db/btree/bt_debug.c
66
if (F_ISSET(t, flag)) { \
lib/libc/db/btree/bt_debug.c
70
if (t->flags != 0) {
lib/libc/db/btree/bt_debug.c
83
(h = mpool_get(t->bt_mp, i, MPOOL_IGNOREPIN)) != NULL; ++i)
lib/libc/db/btree/bt_delete.c
102
status = __bt_dleaf(t, NULL, h, c->pg.index);
lib/libc/db/btree/bt_delete.c
105
if (__bt_pdelete(t, h))
lib/libc/db/btree/bt_delete.c
108
mpool_put(t->bt_mp,
lib/libc/db/btree/bt_delete.c
118
F_SET(t, B_MODIFIED);
lib/libc/db/btree/bt_delete.c
135
__bt_stkacq(BTREE *t, PAGE **hp, CURSOR *c)
lib/libc/db/btree/bt_delete.c
151
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
152
if ((e = __bt_search(t, &c->key, &exact)) == NULL)
lib/libc/db/btree/bt_delete.c
169
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
172
for (level = 0; (parent = BT_POP(t)) != NULL; ++level) {
lib/libc/db/btree/bt_delete.c
174
if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
180
BT_PUSH(t, h->pgno, idx);
lib/libc/db/btree/bt_delete.c
183
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
191
BT_PUSH(t, pgno, 0);
lib/libc/db/btree/bt_delete.c
194
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
197
if ((h = mpool_get(t->bt_mp, pgno, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
201
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
202
if ((h = mpool_get(t->bt_mp, nextpg, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
210
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
211
if ((e = __bt_search(t, &c->key, &exact)) == NULL)
lib/libc/db/btree/bt_delete.c
224
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
227
for (level = 0; (parent = BT_POP(t)) != NULL; ++level) {
lib/libc/db/btree/bt_delete.c
229
if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
235
BT_PUSH(t, h->pgno, idx);
lib/libc/db/btree/bt_delete.c
238
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
248
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
251
if ((h = mpool_get(t->bt_mp, pgno, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
255
BT_PUSH(t, pgno, idx);
lib/libc/db/btree/bt_delete.c
257
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
258
if ((h = mpool_get(t->bt_mp, prevpg, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
263
ret: mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
264
return ((*hp = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL);
lib/libc/db/btree/bt_delete.c
279
__bt_bdelete(BTREE *t, const DBT *key)
lib/libc/db/btree/bt_delete.c
288
loop: if ((e = __bt_search(t, key, &exact)) == NULL)
lib/libc/db/btree/bt_delete.c
291
mpool_put(t->bt_mp, e->page, 0);
lib/libc/db/btree/bt_delete.c
303
if (__bt_dleaf(t, key, h, e->index)) {
lib/libc/db/btree/bt_delete.c
304
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
307
if (F_ISSET(t, B_NODUPS)) {
lib/libc/db/btree/bt_delete.c
309
if (__bt_pdelete(t, h))
lib/libc/db/btree/bt_delete.c
312
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/btree/bt_delete.c
316
} while (e->index < NEXTINDEX(h) && __bt_cmp(t, key, e) == 0);
lib/libc/db/btree/bt_delete.c
324
if (__bt_cmp(t, key, e) != 0)
lib/libc/db/btree/bt_delete.c
326
if (__bt_dleaf(t, key, h, e->index) == RET_ERROR) {
lib/libc/db/btree/bt_delete.c
327
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_delete.c
336
if (__bt_pdelete(t, h))
lib/libc/db/btree/bt_delete.c
342
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/btree/bt_delete.c
364
__bt_pdelete(BTREE *t, PAGE *h)
lib/libc/db/btree/bt_delete.c
385
while ((parent = BT_POP(t)) != NULL) {
lib/libc/db/btree/bt_delete.c
387
if ((pg = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
395
__ovfl_delete(t, bi->bytes) == RET_ERROR) {
lib/libc/db/btree/bt_delete.c
396
mpool_put(t->bt_mp, pg, 0);
lib/libc/db/btree/bt_delete.c
408
pg->upper = t->bt_psize;
lib/libc/db/btree/bt_delete.c
411
if (__bt_relink(t, pg) || __bt_free(t, pg))
lib/libc/db/btree/bt_delete.c
432
mpool_put(t->bt_mp, pg, MPOOL_DIRTY);
lib/libc/db/btree/bt_delete.c
438
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/btree/bt_delete.c
441
return (__bt_relink(t, h) || __bt_free(t, h));
lib/libc/db/btree/bt_delete.c
458
__bt_dleaf(BTREE *t, const DBT *key, PAGE *h, u_int idx)
lib/libc/db/btree/bt_delete.c
467
if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
lib/libc/db/btree/bt_delete.c
468
!F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
lib/libc/db/btree/bt_delete.c
469
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index == idx &&
lib/libc/db/btree/bt_delete.c
470
__bt_curdel(t, key, h, idx))
lib/libc/db/btree/bt_delete.c
475
if (bl->flags & P_BIGKEY && __ovfl_delete(t, bl->bytes) == RET_ERROR)
lib/libc/db/btree/bt_delete.c
478
__ovfl_delete(t, bl->bytes + bl->ksize) == RET_ERROR)
lib/libc/db/btree/bt_delete.c
497
if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
lib/libc/db/btree/bt_delete.c
498
!F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
lib/libc/db/btree/bt_delete.c
499
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index > idx)
lib/libc/db/btree/bt_delete.c
500
--t->bt_cursor.pg.index;
lib/libc/db/btree/bt_delete.c
519
__bt_curdel(BTREE *t, const DBT *key, PAGE *h, u_int idx)
lib/libc/db/btree/bt_delete.c
530
c = &t->bt_cursor;
lib/libc/db/btree/bt_delete.c
534
if (!F_ISSET(t, B_NODUPS)) {
lib/libc/db/btree/bt_delete.c
543
if ((status = __bt_ret(t, &e,
lib/libc/db/btree/bt_delete.c
553
if (__bt_cmp(t, key, &e) == 0) {
lib/libc/db/btree/bt_delete.c
562
if (__bt_cmp(t, key, &e) == 0) {
lib/libc/db/btree/bt_delete.c
569
if ((pg = mpool_get(t->bt_mp, h->prevpg, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
573
if (__bt_cmp(t, key, &e) == 0) {
lib/libc/db/btree/bt_delete.c
577
mpool_put(t->bt_mp, pg, 0);
lib/libc/db/btree/bt_delete.c
581
if ((pg = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
585
if (__bt_cmp(t, key, &e) == 0) {
lib/libc/db/btree/bt_delete.c
587
dup1: mpool_put(t->bt_mp, pg, 0);
lib/libc/db/btree/bt_delete.c
59
BTREE *t;
lib/libc/db/btree/bt_delete.c
592
mpool_put(t->bt_mp, pg, 0);
lib/libc/db/btree/bt_delete.c
598
__bt_ret(t, &e, &c->key, &c->key, NULL, NULL, 1)) == RET_SUCCESS) {
lib/libc/db/btree/bt_delete.c
614
__bt_relink(BTREE *t, PAGE *h)
lib/libc/db/btree/bt_delete.c
619
if ((pg = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
622
mpool_put(t->bt_mp, pg, MPOOL_DIRTY);
lib/libc/db/btree/bt_delete.c
625
if ((pg = mpool_get(t->bt_mp, h->prevpg, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
628
mpool_put(t->bt_mp, pg, MPOOL_DIRTY);
lib/libc/db/btree/bt_delete.c
64
t = dbp->internal;
lib/libc/db/btree/bt_delete.c
67
if (t->bt_pinned != NULL) {
lib/libc/db/btree/bt_delete.c
68
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/btree/bt_delete.c
69
t->bt_pinned = NULL;
lib/libc/db/btree/bt_delete.c
73
if (F_ISSET(t, B_RDONLY)) {
lib/libc/db/btree/bt_delete.c
80
status = __bt_bdelete(t, key);
lib/libc/db/btree/bt_delete.c
87
c = &t->bt_cursor;
lib/libc/db/btree/bt_delete.c
91
if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL)
lib/libc/db/btree/bt_delete.c
99
if (__bt_stkacq(t, &h, &t->bt_cursor))
lib/libc/db/btree/bt_get.c
59
BTREE *t;
lib/libc/db/btree/bt_get.c
63
t = dbp->internal;
lib/libc/db/btree/bt_get.c
66
if (t->bt_pinned != NULL) {
lib/libc/db/btree/bt_get.c
67
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/btree/bt_get.c
68
t->bt_pinned = NULL;
lib/libc/db/btree/bt_get.c
77
if ((e = __bt_search(t, key, &exact)) == NULL)
lib/libc/db/btree/bt_get.c
80
mpool_put(t->bt_mp, e->page, 0);
lib/libc/db/btree/bt_get.c
84
status = __bt_ret(t, e, NULL, NULL, data, &t->bt_rdata, 0);
lib/libc/db/btree/bt_get.c
90
if (F_ISSET(t, B_DB_LOCK))
lib/libc/db/btree/bt_get.c
91
mpool_put(t->bt_mp, e->page, 0);
lib/libc/db/btree/bt_get.c
93
t->bt_pinned = e->page;
lib/libc/db/btree/bt_open.c
156
if ((t = (BTREE *)calloc(1, sizeof(BTREE))) == NULL)
lib/libc/db/btree/bt_open.c
158
t->bt_fd = -1; /* Don't close unopened fd on error. */
lib/libc/db/btree/bt_open.c
159
t->bt_lorder = b.lorder;
lib/libc/db/btree/bt_open.c
160
t->bt_order = NOT;
lib/libc/db/btree/bt_open.c
161
t->bt_cmp = b.compare;
lib/libc/db/btree/bt_open.c
162
t->bt_pfx = b.prefix;
lib/libc/db/btree/bt_open.c
163
t->bt_rfd = -1;
lib/libc/db/btree/bt_open.c
165
if ((t->bt_dbp = dbp = (DB *)calloc(1, sizeof(DB))) == NULL)
lib/libc/db/btree/bt_open.c
167
if (t->bt_lorder != machine_lorder)
lib/libc/db/btree/bt_open.c
168
F_SET(t, B_NEEDSWAP);
lib/libc/db/btree/bt_open.c
171
dbp->internal = t;
lib/libc/db/btree/bt_open.c
187
F_SET(t, B_RDONLY);
lib/libc/db/btree/bt_open.c
196
if ((t->bt_fd = _open(fname, flags | O_CLOEXEC, mode)) < 0)
lib/libc/db/btree/bt_open.c
202
if ((t->bt_fd = tmp()) == -1)
lib/libc/db/btree/bt_open.c
204
F_SET(t, B_INMEM);
lib/libc/db/btree/bt_open.c
207
if (_fstat(t->bt_fd, &sb))
lib/libc/db/btree/bt_open.c
210
if ((nr = _read(t->bt_fd, &m, sizeof(BTMETA))) < 0)
lib/libc/db/btree/bt_open.c
224
F_CLR(t, B_NEEDSWAP);
lib/libc/db/btree/bt_open.c
226
F_SET(t, B_NEEDSWAP);
lib/libc/db/btree/bt_open.c
242
F_SET(t, m.flags);
lib/libc/db/btree/bt_open.c
243
t->bt_free = m.free;
lib/libc/db/btree/bt_open.c
244
t->bt_nrecs = m.nrecs;
lib/libc/db/btree/bt_open.c
260
F_SET(t, B_NODUPS);
lib/libc/db/btree/bt_open.c
262
t->bt_free = P_INVALID;
lib/libc/db/btree/bt_open.c
263
t->bt_nrecs = 0;
lib/libc/db/btree/bt_open.c
264
F_SET(t, B_METADIRTY);
lib/libc/db/btree/bt_open.c
267
t->bt_psize = b.psize;
lib/libc/db/btree/bt_open.c
276
ncache = howmany(b.cachesize, t->bt_psize);
lib/libc/db/btree/bt_open.c
289
t->bt_ovflsize = (t->bt_psize - BTDATAOFF) / b.minkeypage -
lib/libc/db/btree/bt_open.c
291
if (t->bt_ovflsize < NBLEAFDBT(NOVFLSIZE, NOVFLSIZE) + sizeof(indx_t))
lib/libc/db/btree/bt_open.c
292
t->bt_ovflsize =
lib/libc/db/btree/bt_open.c
296
if ((t->bt_mp =
lib/libc/db/btree/bt_open.c
297
mpool_open(NULL, t->bt_fd, t->bt_psize, ncache)) == NULL)
lib/libc/db/btree/bt_open.c
299
if (!F_ISSET(t, B_INMEM))
lib/libc/db/btree/bt_open.c
300
mpool_filter(t->bt_mp, __bt_pgin, __bt_pgout, t);
lib/libc/db/btree/bt_open.c
303
if (nroot(t) == RET_ERROR)
lib/libc/db/btree/bt_open.c
308
F_SET(t, B_DB_LOCK);
lib/libc/db/btree/bt_open.c
310
F_SET(t, B_DB_SHMEM);
lib/libc/db/btree/bt_open.c
312
F_SET(t, B_DB_TXN);
lib/libc/db/btree/bt_open.c
323
if (t) {
lib/libc/db/btree/bt_open.c
324
if (t->bt_dbp)
lib/libc/db/btree/bt_open.c
325
free(t->bt_dbp);
lib/libc/db/btree/bt_open.c
326
if (t->bt_fd != -1)
lib/libc/db/btree/bt_open.c
327
(void)_close(t->bt_fd);
lib/libc/db/btree/bt_open.c
328
free(t);
lib/libc/db/btree/bt_open.c
344
nroot(BTREE *t)
lib/libc/db/btree/bt_open.c
349
if ((root = mpool_get(t->bt_mp, 1, 0)) != NULL) {
lib/libc/db/btree/bt_open.c
353
mpool_delete(t->bt_mp, root);
lib/libc/db/btree/bt_open.c
356
mpool_put(t->bt_mp, root, 0);
lib/libc/db/btree/bt_open.c
364
if ((meta = mpool_new(t->bt_mp, &npg, MPOOL_PAGE_NEXT)) == NULL)
lib/libc/db/btree/bt_open.c
367
if ((root = mpool_new(t->bt_mp, &npg, MPOOL_PAGE_NEXT)) == NULL)
lib/libc/db/btree/bt_open.c
375
root->upper = t->bt_psize;
lib/libc/db/btree/bt_open.c
377
memset(meta, 0, t->bt_psize);
lib/libc/db/btree/bt_open.c
378
mpool_put(t->bt_mp, meta, MPOOL_DIRTY);
lib/libc/db/btree/bt_open.c
379
mpool_put(t->bt_mp, root, MPOOL_DIRTY);
lib/libc/db/btree/bt_open.c
428
BTREE *t;
lib/libc/db/btree/bt_open.c
430
t = dbp->internal;
lib/libc/db/btree/bt_open.c
433
if (t->bt_pinned != NULL) {
lib/libc/db/btree/bt_open.c
434
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/btree/bt_open.c
435
t->bt_pinned = NULL;
lib/libc/db/btree/bt_open.c
439
if (F_ISSET(t, B_INMEM)) {
lib/libc/db/btree/bt_open.c
443
return (t->bt_fd);
lib/libc/db/btree/bt_open.c
91
BTREE *t;
lib/libc/db/btree/bt_open.c
98
t = NULL;
lib/libc/db/btree/bt_overflow.c
101
plen = t->bt_psize - BTDATAOFF;
lib/libc/db/btree/bt_overflow.c
103
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_overflow.c
108
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_overflow.c
128
__ovfl_put(BTREE *t, const DBT *dbt, pgno_t *pg)
lib/libc/db/btree/bt_overflow.c
140
plen = t->bt_psize - BTDATAOFF;
lib/libc/db/btree/bt_overflow.c
143
if ((h = __bt_new(t, &npg)) == NULL)
lib/libc/db/btree/bt_overflow.c
156
mpool_put(t->bt_mp, last, MPOOL_DIRTY);
lib/libc/db/btree/bt_overflow.c
161
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/btree/bt_overflow.c
179
__ovfl_delete(BTREE *t, void *p)
lib/libc/db/btree/bt_overflow.c
193
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_overflow.c
198
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_overflow.c
203
for (plen = t->bt_psize - BTDATAOFF;; sz -= plen) {
lib/libc/db/btree/bt_overflow.c
205
__bt_free(t, h);
lib/libc/db/btree/bt_overflow.c
208
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_overflow.c
74
__ovfl_get(BTREE *t, void *p, size_t *ssz, void **buf, size_t *bufsz)
lib/libc/db/btree/bt_page.c
54
__bt_free(BTREE *t, PAGE *h)
lib/libc/db/btree/bt_page.c
58
h->nextpg = t->bt_free;
lib/libc/db/btree/bt_page.c
59
t->bt_free = h->pgno;
lib/libc/db/btree/bt_page.c
60
F_SET(t, B_METADIRTY);
lib/libc/db/btree/bt_page.c
63
return (mpool_put(t->bt_mp, h, MPOOL_DIRTY));
lib/libc/db/btree/bt_page.c
78
__bt_new(BTREE *t, pgno_t *npg)
lib/libc/db/btree/bt_page.c
82
if (t->bt_free != P_INVALID &&
lib/libc/db/btree/bt_page.c
83
(h = mpool_get(t->bt_mp, t->bt_free, 0)) != NULL) {
lib/libc/db/btree/bt_page.c
84
*npg = t->bt_free;
lib/libc/db/btree/bt_page.c
85
t->bt_free = h->nextpg;
lib/libc/db/btree/bt_page.c
86
F_SET(t, B_METADIRTY);
lib/libc/db/btree/bt_page.c
89
return (mpool_new(t->bt_mp, npg, MPOOL_PAGE_NEXT));
lib/libc/db/btree/bt_put.c
116
if (key->size + data->size > t->bt_ovflsize) {
lib/libc/db/btree/bt_put.c
117
if (key->size > t->bt_ovflsize) {
lib/libc/db/btree/bt_put.c
118
storekey: if (__ovfl_put(t, key, &pg) == RET_ERROR)
lib/libc/db/btree/bt_put.c
129
if (key->size + data->size > t->bt_ovflsize) {
lib/libc/db/btree/bt_put.c
130
if (__ovfl_put(t, data, &pg) == RET_ERROR)
lib/libc/db/btree/bt_put.c
141
if (key->size + data->size > t->bt_ovflsize)
lib/libc/db/btree/bt_put.c
147
if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL)
lib/libc/db/btree/bt_put.c
149
idx = t->bt_cursor.pg.index;
lib/libc/db/btree/bt_put.c
157
if (t->bt_order == NOT || (e = bt_fast(t, key, data, &exact)) == NULL)
lib/libc/db/btree/bt_put.c
158
if ((e = __bt_search(t, key, &exact)) == NULL)
lib/libc/db/btree/bt_put.c
173
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_put.c
176
if (!exact || !F_ISSET(t, B_NODUPS))
lib/libc/db/btree/bt_put.c
183
delete: if (__bt_dleaf(t, key, h, idx) == RET_ERROR) {
lib/libc/db/btree/bt_put.c
184
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_put.c
198
if ((status = __bt_split(t, h, key,
lib/libc/db/btree/bt_put.c
214
if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
lib/libc/db/btree/bt_put.c
215
!F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
lib/libc/db/btree/bt_put.c
216
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= idx)
lib/libc/db/btree/bt_put.c
217
++t->bt_cursor.pg.index;
lib/libc/db/btree/bt_put.c
219
if (t->bt_order == NOT) {
lib/libc/db/btree/bt_put.c
222
t->bt_order = FORWARD;
lib/libc/db/btree/bt_put.c
223
t->bt_last.index = idx;
lib/libc/db/btree/bt_put.c
224
t->bt_last.pgno = h->pgno;
lib/libc/db/btree/bt_put.c
228
t->bt_order = BACK;
lib/libc/db/btree/bt_put.c
229
t->bt_last.index = 0;
lib/libc/db/btree/bt_put.c
230
t->bt_last.pgno = h->pgno;
lib/libc/db/btree/bt_put.c
235
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/btree/bt_put.c
239
__bt_setcur(t, e->page->pgno, e->index);
lib/libc/db/btree/bt_put.c
241
F_SET(t, B_MODIFIED);
lib/libc/db/btree/bt_put.c
260
bt_fast(BTREE *t, const DBT *key, const DBT *data, int *exactp)
lib/libc/db/btree/bt_put.c
266
if ((h = mpool_get(t->bt_mp, t->bt_last.pgno, 0)) == NULL) {
lib/libc/db/btree/bt_put.c
267
t->bt_order = NOT;
lib/libc/db/btree/bt_put.c
270
t->bt_cur.page = h;
lib/libc/db/btree/bt_put.c
271
t->bt_cur.index = t->bt_last.index;
lib/libc/db/btree/bt_put.c
281
if (t->bt_order == FORWARD) {
lib/libc/db/btree/bt_put.c
282
if (t->bt_cur.page->nextpg != P_INVALID)
lib/libc/db/btree/bt_put.c
284
if (t->bt_cur.index != NEXTINDEX(h) - 1)
lib/libc/db/btree/bt_put.c
286
if ((cmp = __bt_cmp(t, key, &t->bt_cur)) < 0)
lib/libc/db/btree/bt_put.c
288
t->bt_last.index = cmp ? ++t->bt_cur.index : t->bt_cur.index;
lib/libc/db/btree/bt_put.c
290
if (t->bt_cur.page->prevpg != P_INVALID)
lib/libc/db/btree/bt_put.c
292
if (t->bt_cur.index != 0)
lib/libc/db/btree/bt_put.c
294
if ((cmp = __bt_cmp(t, key, &t->bt_cur)) > 0)
lib/libc/db/btree/bt_put.c
296
t->bt_last.index = 0;
lib/libc/db/btree/bt_put.c
302
return (&t->bt_cur);
lib/libc/db/btree/bt_put.c
308
t->bt_order = NOT;
lib/libc/db/btree/bt_put.c
309
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_put.c
63
BTREE *t;
lib/libc/db/btree/bt_put.c
73
t = dbp->internal;
lib/libc/db/btree/bt_put.c
76
if (t->bt_pinned != NULL) {
lib/libc/db/btree/bt_put.c
77
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/btree/bt_put.c
78
t->bt_pinned = NULL;
lib/libc/db/btree/bt_put.c
82
if (F_ISSET(t, B_RDONLY)) {
lib/libc/db/btree/bt_put.c
97
if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
lib/libc/db/btree/bt_put.c
98
!F_ISSET(&t->bt_cursor,
lib/libc/db/btree/bt_search.c
101
__bt_sprev(t, h, key, exactp))
lib/libc/db/btree/bt_search.c
102
return (&t->bt_cur);
lib/libc/db/btree/bt_search.c
105
__bt_snext(t, h, key, exactp))
lib/libc/db/btree/bt_search.c
106
return (&t->bt_cur);
lib/libc/db/btree/bt_search.c
109
t->bt_cur.index = base;
lib/libc/db/btree/bt_search.c
110
return (&t->bt_cur);
lib/libc/db/btree/bt_search.c
122
next: BT_PUSH(t, h->pgno, idx);
lib/libc/db/btree/bt_search.c
124
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_search.c
142
__bt_snext(BTREE *t, PAGE *h, const DBT *key, int *exactp)
lib/libc/db/btree/bt_search.c
150
if ((e.page = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL)
lib/libc/db/btree/bt_search.c
153
if (__bt_cmp(t, key, &e) == 0) {
lib/libc/db/btree/bt_search.c
154
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_search.c
155
t->bt_cur = e;
lib/libc/db/btree/bt_search.c
159
mpool_put(t->bt_mp, e.page, 0);
lib/libc/db/btree/bt_search.c
177
__bt_sprev(BTREE *t, PAGE *h, const DBT *key, int *exactp)
lib/libc/db/btree/bt_search.c
185
if ((e.page = mpool_get(t->bt_mp, h->prevpg, 0)) == NULL)
lib/libc/db/btree/bt_search.c
188
if (__bt_cmp(t, key, &e) == 0) {
lib/libc/db/btree/bt_search.c
189
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_search.c
190
t->bt_cur = e;
lib/libc/db/btree/bt_search.c
194
mpool_put(t->bt_mp, e.page, 0);
lib/libc/db/btree/bt_search.c
60
__bt_search(BTREE *t, const DBT *key, int *exactp)
lib/libc/db/btree/bt_search.c
67
BT_CLR(t);
lib/libc/db/btree/bt_search.c
69
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_search.c
73
t->bt_cur.page = h;
lib/libc/db/btree/bt_search.c
75
t->bt_cur.index = idx = base + (lim >> 1);
lib/libc/db/btree/bt_search.c
76
if ((cmp = __bt_cmp(t, key, &t->bt_cur)) == 0) {
lib/libc/db/btree/bt_search.c
79
return (&t->bt_cur);
lib/libc/db/btree/bt_search.c
98
if (!F_ISSET(t, B_NODUPS)) {
lib/libc/db/btree/bt_seq.c
101
status = __bt_seqset(t, &e, key, flags);
lib/libc/db/btree/bt_seq.c
109
__bt_setcur(t, e.page->pgno, e.index);
lib/libc/db/btree/bt_seq.c
112
__bt_ret(t, &e, key, &t->bt_rkey, data, &t->bt_rdata, 0);
lib/libc/db/btree/bt_seq.c
118
if (F_ISSET(t, B_DB_LOCK))
lib/libc/db/btree/bt_seq.c
119
mpool_put(t->bt_mp, e.page, 0);
lib/libc/db/btree/bt_seq.c
121
t->bt_pinned = e.page;
lib/libc/db/btree/bt_seq.c
143
__bt_seqset(BTREE *t, EPG *ep, DBT *key, int flags)
lib/libc/db/btree/bt_seq.c
164
return (__bt_first(t, key, ep, &exact));
lib/libc/db/btree/bt_seq.c
169
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_seq.c
174
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
181
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
190
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_seq.c
195
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
202
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
227
__bt_seqadv(BTREE *t, EPG *ep, int flags)
lib/libc/db/btree/bt_seq.c
239
c = &t->bt_cursor;
lib/libc/db/btree/bt_seq.c
250
return (__bt_first(t, &c->key, ep, &exact));
lib/libc/db/btree/bt_seq.c
253
if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL)
lib/libc/db/btree/bt_seq.c
272
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
275
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_seq.c
295
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
298
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_seq.c
326
__bt_first(BTREE *t, const DBT *key, EPG *erval, int *exactp)
lib/libc/db/btree/bt_seq.c
340
if ((ep = __bt_search(t, key, exactp)) == NULL)
lib/libc/db/btree/bt_seq.c
343
if (F_ISSET(t, B_NODUPS)) {
lib/libc/db/btree/bt_seq.c
357
mpool_put(t->bt_mp, save.page, 0);
lib/libc/db/btree/bt_seq.c
371
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
372
if ((hprev = mpool_get(t->bt_mp,
lib/libc/db/btree/bt_seq.c
375
mpool_put(t->bt_mp,
lib/libc/db/btree/bt_seq.c
383
} while (__bt_cmp(t, key, ep) == 0);
lib/libc/db/btree/bt_seq.c
391
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
401
mpool_put(t->bt_mp, h, 0);
lib/libc/db/btree/bt_seq.c
404
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_seq.c
423
__bt_setcur(BTREE *t, pgno_t pgno, u_int idx)
lib/libc/db/btree/bt_seq.c
426
if (t->bt_cursor.key.data != NULL) {
lib/libc/db/btree/bt_seq.c
427
free(t->bt_cursor.key.data);
lib/libc/db/btree/bt_seq.c
428
t->bt_cursor.key.size = 0;
lib/libc/db/btree/bt_seq.c
429
t->bt_cursor.key.data = NULL;
lib/libc/db/btree/bt_seq.c
431
F_CLR(&t->bt_cursor, CURS_ACQUIRE | CURS_AFTER | CURS_BEFORE);
lib/libc/db/btree/bt_seq.c
434
t->bt_cursor.pg.pgno = pgno;
lib/libc/db/btree/bt_seq.c
435
t->bt_cursor.pg.index = idx;
lib/libc/db/btree/bt_seq.c
436
F_SET(&t->bt_cursor, CURS_INIT);
lib/libc/db/btree/bt_seq.c
73
BTREE *t;
lib/libc/db/btree/bt_seq.c
77
t = dbp->internal;
lib/libc/db/btree/bt_seq.c
80
if (t->bt_pinned != NULL) {
lib/libc/db/btree/bt_seq.c
81
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/btree/bt_seq.c
82
t->bt_pinned = NULL;
lib/libc/db/btree/bt_seq.c
93
if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
lib/libc/db/btree/bt_seq.c
94
status = __bt_seqadv(t, &e, flags);
lib/libc/db/btree/bt_split.c
106
if (F_ISSET(t, R_RECNO))
lib/libc/db/btree/bt_split.c
113
(F_ISSET(t, R_RECNO) ?
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
140
while ((parent = BT_POP(t)) != NULL) {
lib/libc/db/btree/bt_split.c
145
if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
lib/libc/db/btree/bt_split.c
176
if (t->bt_pfx && !(bl->flags & P_BIGKEY) &&
lib/libc/db/btree/bt_split.c
183
nksize = t->bt_pfx(&a, &b);
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
237
if (bt_preserve(t, pgno) == RET_ERROR)
lib/libc/db/btree/bt_split.c
283
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
289
(F_ISSET(t, R_RECNO) ?
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
293
mpool_put(t->bt_mp, lchild, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
294
mpool_put(t->bt_mp, rchild, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
298
mpool_put(t->bt_mp, l, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
299
mpool_put(t->bt_mp, r, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
309
err1: mpool_put(t->bt_mp, lchild, MPOOL_DIRTY);
lib/libc/db/btree/bt_split.c
310
mpool_put(t->bt_mp, rchild, 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
313
mpool_put(t->bt_mp, r, 0);
lib/libc/db/btree/bt_split.c
314
__dbpanic(t->bt_dbp);
lib/libc/db/btree/bt_split.c
333
bt_page(BTREE *t, PAGE *h, PAGE **lp, PAGE **rp, indx_t *skip, size_t ilen)
lib/libc/db/btree/bt_split.c
342
if ((r = __bt_new(t, &npg)) == NULL)
lib/libc/db/btree/bt_split.c
346
r->upper = t->bt_psize;
lib/libc/db/btree/bt_split.c
374
if ((l = (PAGE *)calloc(1, t->bt_psize)) == NULL) {
lib/libc/db/btree/bt_split.c
375
mpool_put(t->bt_mp, r, 0);
lib/libc/db/btree/bt_split.c
382
l->upper = t->bt_psize;
lib/libc/db/btree/bt_split.c
387
if ((tp = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL) {
lib/libc/db/btree/bt_split.c
393
mpool_put(t->bt_mp, tp, MPOOL_DIRTY);
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
431
bt_root(BTREE *t, PAGE *h, PAGE **lp, PAGE **rp, indx_t *skip, size_t ilen)
lib/libc/db/btree/bt_split.c
441
if ((l = __bt_new(t, &lnpg)) == NULL ||
lib/libc/db/btree/bt_split.c
442
(r = __bt_new(t, &rnpg)) == NULL)
lib/libc/db/btree/bt_split.c
450
l->upper = r->upper = t->bt_psize;
lib/libc/db/btree/bt_split.c
454
tp = bt_psplit(t, h, l, r, skip, ilen);
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
479
h->linp[0] = h->upper = t->bt_psize - NRINTERNAL;
lib/libc/db/btree/bt_split.c
494
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
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
528
h->linp[0] = h->upper = t->bt_psize - nbytes;
lib/libc/db/btree/bt_split.c
548
if (bt_preserve(t, pgno) == RET_ERROR)
lib/libc/db/btree/bt_split.c
570
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
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
610
full = t->bt_psize - BTDATAOFF;
lib/libc/db/btree/bt_split.c
685
c = &t->bt_cursor;
lib/libc/db/btree/bt_split.c
73
__bt_split(BTREE *t, PAGE *sp, const DBT *key, const DBT *data, int flags,
lib/libc/db/btree/bt_split.c
764
bt_preserve(BTREE *t, pgno_t pg)
lib/libc/db/btree/bt_split.c
768
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/btree/bt_split.c
771
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
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/db/btree/bt_utils.c
102
if (__ovfl_get(t, bl->bytes + bl->ksize,
lib/libc/db/btree/bt_utils.c
106
} else if (copy || F_ISSET(t, B_DB_LOCK)) {
lib/libc/db/btree/bt_utils.c
140
__bt_cmp(BTREE *t, const DBT *k1, EPG *e)
lib/libc/db/btree/bt_utils.c
179
if (__ovfl_get(t, bigkey,
lib/libc/db/btree/bt_utils.c
180
&k2.size, &t->bt_rdata.data, &t->bt_rdata.size))
lib/libc/db/btree/bt_utils.c
182
k2.data = t->bt_rdata.data;
lib/libc/db/btree/bt_utils.c
184
return ((*t->bt_cmp)(k1, &k2));
lib/libc/db/btree/bt_utils.c
61
__bt_ret(BTREE *t, EPG *e, DBT *key, DBT *rkey, DBT *data, DBT *rdata, int copy)
lib/libc/db/btree/bt_utils.c
77
if (__ovfl_get(t, bl->bytes,
lib/libc/db/btree/bt_utils.c
81
} else if (copy || F_ISSET(t, B_DB_LOCK)) {
lib/libc/db/btree/btree.h
310
#define BT_PUSH(t, p, i) { \
lib/libc/db/btree/btree.h
311
t->bt_sp->pgno = p; \
lib/libc/db/btree/btree.h
312
t->bt_sp->index = i; \
lib/libc/db/btree/btree.h
313
++t->bt_sp; \
lib/libc/db/btree/btree.h
315
#define BT_POP(t) (t->bt_sp == t->bt_stack ? NULL : --t->bt_sp)
lib/libc/db/btree/btree.h
316
#define BT_CLR(t) (t->bt_sp = t->bt_stack)
lib/libc/db/recno/rec_close.c
106
BTREE *t;
lib/libc/db/recno/rec_close.c
112
t = dbp->internal;
lib/libc/db/recno/rec_close.c
115
if (t->bt_pinned != NULL) {
lib/libc/db/recno/rec_close.c
116
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/recno/rec_close.c
117
t->bt_pinned = NULL;
lib/libc/db/recno/rec_close.c
123
if (F_ISSET(t, R_RDONLY | R_INMEM) || !F_ISSET(t, R_MODIFIED))
lib/libc/db/recno/rec_close.c
127
if (!F_ISSET(t, R_EOF) && t->bt_irec(t, MAX_REC_NUMBER) == RET_ERROR)
lib/libc/db/recno/rec_close.c
131
if (lseek(t->bt_rfd, (off_t)0, SEEK_SET) != 0)
lib/libc/db/recno/rec_close.c
135
scursor = t->bt_cursor.rcursor;
lib/libc/db/recno/rec_close.c
140
if (F_ISSET(t, R_FIXLEN)) {
lib/libc/db/recno/rec_close.c
148
if (_write(t->bt_rfd, data.data, data.size) !=
lib/libc/db/recno/rec_close.c
154
iov[1].iov_base = &t->bt_bval;
lib/libc/db/recno/rec_close.c
161
if (_writev(t->bt_rfd, iov, 2) != (ssize_t)(data.size + 1))
lib/libc/db/recno/rec_close.c
168
t->bt_cursor.rcursor = scursor;
lib/libc/db/recno/rec_close.c
172
if ((off = lseek(t->bt_rfd, (off_t)0, SEEK_CUR)) == -1)
lib/libc/db/recno/rec_close.c
174
if (ftruncate(t->bt_rfd, off))
lib/libc/db/recno/rec_close.c
176
F_CLR(t, R_MODIFIED);
lib/libc/db/recno/rec_close.c
58
BTREE *t;
lib/libc/db/recno/rec_close.c
61
t = dbp->internal;
lib/libc/db/recno/rec_close.c
64
if (t->bt_pinned != NULL) {
lib/libc/db/recno/rec_close.c
65
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/recno/rec_close.c
66
t->bt_pinned = NULL;
lib/libc/db/recno/rec_close.c
74
if (F_ISSET(t, R_MEMMAPPED) && munmap(t->bt_smap, t->bt_msize))
lib/libc/db/recno/rec_close.c
77
if (!F_ISSET(t, R_INMEM)) {
lib/libc/db/recno/rec_close.c
78
if (F_ISSET(t, R_CLOSEFP)) {
lib/libc/db/recno/rec_close.c
79
if (fclose(t->bt_rfp))
lib/libc/db/recno/rec_close.c
82
if (_close(t->bt_rfd))
lib/libc/db/recno/rec_delete.c
111
rec_rdelete(BTREE *t, recno_t nrec)
lib/libc/db/recno/rec_delete.c
118
if ((e = __rec_search(t, nrec, SDELETE)) == NULL)
lib/libc/db/recno/rec_delete.c
123
status = __rec_dleaf(t, h, e->index);
lib/libc/db/recno/rec_delete.c
125
mpool_put(t->bt_mp, h, 0);
lib/libc/db/recno/rec_delete.c
128
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/recno/rec_delete.c
143
__rec_dleaf(BTREE *t, PAGE *h, u_int32_t idx)
lib/libc/db/recno/rec_delete.c
162
if (rl->flags & P_BIGDATA && __ovfl_delete(t, rl->bytes) == RET_ERROR)
lib/libc/db/recno/rec_delete.c
181
--t->bt_nrecs;
lib/libc/db/recno/rec_delete.c
60
BTREE *t;
lib/libc/db/recno/rec_delete.c
64
t = dbp->internal;
lib/libc/db/recno/rec_delete.c
67
if (t->bt_pinned != NULL) {
lib/libc/db/recno/rec_delete.c
68
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/recno/rec_delete.c
69
t->bt_pinned = NULL;
lib/libc/db/recno/rec_delete.c
76
if (nrec > t->bt_nrecs)
lib/libc/db/recno/rec_delete.c
79
status = rec_rdelete(t, nrec);
lib/libc/db/recno/rec_delete.c
82
if (!F_ISSET(&t->bt_cursor, CURS_INIT))
lib/libc/db/recno/rec_delete.c
84
if (t->bt_nrecs == 0)
lib/libc/db/recno/rec_delete.c
86
status = rec_rdelete(t, t->bt_cursor.rcursor - 1);
lib/libc/db/recno/rec_delete.c
88
--t->bt_cursor.rcursor;
lib/libc/db/recno/rec_delete.c
96
F_SET(t, B_MODIFIED | R_MODIFIED);
lib/libc/db/recno/rec_get.c
112
__rec_fpipe(BTREE *t, recno_t top)
lib/libc/db/recno/rec_get.c
120
if (t->bt_rdata.size < t->bt_reclen) {
lib/libc/db/recno/rec_get.c
121
t->bt_rdata.data = reallocf(t->bt_rdata.data, t->bt_reclen);
lib/libc/db/recno/rec_get.c
122
if (t->bt_rdata.data == NULL)
lib/libc/db/recno/rec_get.c
124
t->bt_rdata.size = t->bt_reclen;
lib/libc/db/recno/rec_get.c
126
data.data = t->bt_rdata.data;
lib/libc/db/recno/rec_get.c
127
data.size = t->bt_reclen;
lib/libc/db/recno/rec_get.c
129
for (nrec = t->bt_nrecs; nrec < top;) {
lib/libc/db/recno/rec_get.c
130
len = t->bt_reclen;
lib/libc/db/recno/rec_get.c
131
for (p = t->bt_rdata.data;; *p++ = ch)
lib/libc/db/recno/rec_get.c
132
if ((ch = getc(t->bt_rfp)) == EOF || !--len) {
lib/libc/db/recno/rec_get.c
136
memset(p, t->bt_bval, len);
lib/libc/db/recno/rec_get.c
137
if (__rec_iput(t,
lib/libc/db/recno/rec_get.c
147
F_SET(t, R_EOF);
lib/libc/db/recno/rec_get.c
164
__rec_vpipe(BTREE *t, recno_t top)
lib/libc/db/recno/rec_get.c
173
bval = t->bt_bval;
lib/libc/db/recno/rec_get.c
174
for (nrec = t->bt_nrecs; nrec < top; ++nrec) {
lib/libc/db/recno/rec_get.c
175
for (p = t->bt_rdata.data,
lib/libc/db/recno/rec_get.c
176
sz = t->bt_rdata.size;; *p++ = ch, --sz) {
lib/libc/db/recno/rec_get.c
177
if ((ch = getc(t->bt_rfp)) == EOF || ch == bval) {
lib/libc/db/recno/rec_get.c
178
data.data = t->bt_rdata.data;
lib/libc/db/recno/rec_get.c
179
data.size = p - (u_char *)t->bt_rdata.data;
lib/libc/db/recno/rec_get.c
182
if (__rec_iput(t, nrec, &data, 0)
lib/libc/db/recno/rec_get.c
188
len = p - (u_char *)t->bt_rdata.data;
lib/libc/db/recno/rec_get.c
189
t->bt_rdata.size += (sz = 256);
lib/libc/db/recno/rec_get.c
190
t->bt_rdata.data = reallocf(t->bt_rdata.data, t->bt_rdata.size);
lib/libc/db/recno/rec_get.c
191
if (t->bt_rdata.data == NULL)
lib/libc/db/recno/rec_get.c
193
p = (u_char *)t->bt_rdata.data + len;
lib/libc/db/recno/rec_get.c
200
F_SET(t, R_EOF);
lib/libc/db/recno/rec_get.c
217
__rec_fmap(BTREE *t, recno_t top)
lib/libc/db/recno/rec_get.c
224
if (t->bt_rdata.size < t->bt_reclen) {
lib/libc/db/recno/rec_get.c
225
t->bt_rdata.data = reallocf(t->bt_rdata.data, t->bt_reclen);
lib/libc/db/recno/rec_get.c
226
if (t->bt_rdata.data == NULL)
lib/libc/db/recno/rec_get.c
228
t->bt_rdata.size = t->bt_reclen;
lib/libc/db/recno/rec_get.c
230
data.data = t->bt_rdata.data;
lib/libc/db/recno/rec_get.c
231
data.size = t->bt_reclen;
lib/libc/db/recno/rec_get.c
233
sp = (u_char *)t->bt_cmap;
lib/libc/db/recno/rec_get.c
234
ep = (u_char *)t->bt_emap;
lib/libc/db/recno/rec_get.c
235
for (nrec = t->bt_nrecs; nrec < top; ++nrec) {
lib/libc/db/recno/rec_get.c
237
F_SET(t, R_EOF);
lib/libc/db/recno/rec_get.c
240
len = t->bt_reclen;
lib/libc/db/recno/rec_get.c
241
for (p = t->bt_rdata.data;
lib/libc/db/recno/rec_get.c
244
memset(p, t->bt_bval, len);
lib/libc/db/recno/rec_get.c
245
if (__rec_iput(t, nrec, &data, 0) != RET_SUCCESS)
lib/libc/db/recno/rec_get.c
248
t->bt_cmap = (caddr_t)sp;
lib/libc/db/recno/rec_get.c
263
__rec_vmap(BTREE *t, recno_t top)
lib/libc/db/recno/rec_get.c
270
sp = (u_char *)t->bt_cmap;
lib/libc/db/recno/rec_get.c
271
ep = (u_char *)t->bt_emap;
lib/libc/db/recno/rec_get.c
272
bval = t->bt_bval;
lib/libc/db/recno/rec_get.c
274
for (nrec = t->bt_nrecs; nrec < top; ++nrec) {
lib/libc/db/recno/rec_get.c
276
F_SET(t, R_EOF);
lib/libc/db/recno/rec_get.c
281
if (__rec_iput(t, nrec, &data, 0) != RET_SUCCESS)
lib/libc/db/recno/rec_get.c
285
t->bt_cmap = (caddr_t)sp;
lib/libc/db/recno/rec_get.c
59
BTREE *t;
lib/libc/db/recno/rec_get.c
64
t = dbp->internal;
lib/libc/db/recno/rec_get.c
67
if (t->bt_pinned != NULL) {
lib/libc/db/recno/rec_get.c
68
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/recno/rec_get.c
69
t->bt_pinned = NULL;
lib/libc/db/recno/rec_get.c
82
if (nrec > t->bt_nrecs) {
lib/libc/db/recno/rec_get.c
83
if (F_ISSET(t, R_EOF | R_INMEM))
lib/libc/db/recno/rec_get.c
85
if ((status = t->bt_irec(t, nrec)) != RET_SUCCESS)
lib/libc/db/recno/rec_get.c
90
if ((e = __rec_search(t, nrec, SEARCH)) == NULL)
lib/libc/db/recno/rec_get.c
93
status = __rec_ret(t, e, 0, NULL, data);
lib/libc/db/recno/rec_get.c
94
if (F_ISSET(t, B_DB_LOCK))
lib/libc/db/recno/rec_get.c
95
mpool_put(t->bt_mp, e->page, 0);
lib/libc/db/recno/rec_get.c
97
t->bt_pinned = e->page;
lib/libc/db/recno/rec_open.c
100
t->bt_bval = openinfo->bval;
lib/libc/db/recno/rec_open.c
102
t->bt_bval = '\n';
lib/libc/db/recno/rec_open.c
104
F_SET(t, R_RECNO);
lib/libc/db/recno/rec_open.c
106
F_SET(t, R_EOF | R_INMEM);
lib/libc/db/recno/rec_open.c
108
t->bt_rfd = rfd;
lib/libc/db/recno/rec_open.c
120
F_SET(t, R_RDONLY);
lib/libc/db/recno/rec_open.c
125
slow: if ((t->bt_rfp = fdopen(rfd, "r")) == NULL)
lib/libc/db/recno/rec_open.c
127
F_SET(t, R_CLOSEFP);
lib/libc/db/recno/rec_open.c
128
t->bt_irec =
lib/libc/db/recno/rec_open.c
129
F_ISSET(t, R_FIXLEN) ? __rec_fpipe : __rec_vpipe;
lib/libc/db/recno/rec_open.c
133
F_SET(t, R_RDONLY);
lib/libc/db/recno/rec_open.c
153
F_SET(t, R_EOF);
lib/libc/db/recno/rec_open.c
163
t->bt_msize = sb.st_size;
lib/libc/db/recno/rec_open.c
164
if ((t->bt_smap = mmap(NULL, t->bt_msize,
lib/libc/db/recno/rec_open.c
168
t->bt_cmap = t->bt_smap;
lib/libc/db/recno/rec_open.c
169
t->bt_emap = t->bt_smap + sb.st_size;
lib/libc/db/recno/rec_open.c
170
t->bt_irec = F_ISSET(t, R_FIXLEN) ?
lib/libc/db/recno/rec_open.c
172
F_SET(t, R_MEMMAPPED);
lib/libc/db/recno/rec_open.c
190
if ((h = mpool_get(t->bt_mp, P_ROOT, 0)) == NULL)
lib/libc/db/recno/rec_open.c
195
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/recno/rec_open.c
197
mpool_put(t->bt_mp, h, 0);
lib/libc/db/recno/rec_open.c
200
!F_ISSET(t, R_EOF | R_INMEM) &&
lib/libc/db/recno/rec_open.c
201
t->bt_irec(t, MAX_REC_NUMBER) == RET_ERROR)
lib/libc/db/recno/rec_open.c
218
BTREE *t;
lib/libc/db/recno/rec_open.c
220
t = dbp->internal;
lib/libc/db/recno/rec_open.c
223
if (t->bt_pinned != NULL) {
lib/libc/db/recno/rec_open.c
224
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/recno/rec_open.c
225
t->bt_pinned = NULL;
lib/libc/db/recno/rec_open.c
229
if (F_ISSET(t, R_INMEM)) {
lib/libc/db/recno/rec_open.c
233
return (t->bt_rfd);
lib/libc/db/recno/rec_open.c
55
BTREE *t;
lib/libc/db/recno/rec_open.c
92
t = dbp->internal;
lib/libc/db/recno/rec_open.c
95
F_SET(t, R_FIXLEN);
lib/libc/db/recno/rec_open.c
96
t->bt_reclen = openinfo->reclen;
lib/libc/db/recno/rec_open.c
97
if (t->bt_reclen == 0)
lib/libc/db/recno/rec_put.c
101
nrec = t->bt_cursor.rcursor;
lib/libc/db/recno/rec_put.c
121
if (nrec <= t->bt_nrecs)
lib/libc/db/recno/rec_put.c
133
if (nrec > t->bt_nrecs) {
lib/libc/db/recno/rec_put.c
134
if (!F_ISSET(t, R_EOF | R_INMEM) &&
lib/libc/db/recno/rec_put.c
135
t->bt_irec(t, nrec) == RET_ERROR)
lib/libc/db/recno/rec_put.c
137
if (nrec > t->bt_nrecs + 1) {
lib/libc/db/recno/rec_put.c
138
if (F_ISSET(t, R_FIXLEN)) {
lib/libc/db/recno/rec_put.c
139
if ((tdata.data = malloc(t->bt_reclen)) == NULL)
lib/libc/db/recno/rec_put.c
141
tdata.size = t->bt_reclen;
lib/libc/db/recno/rec_put.c
142
memset(tdata.data, t->bt_bval, tdata.size);
lib/libc/db/recno/rec_put.c
147
while (nrec > t->bt_nrecs + 1)
lib/libc/db/recno/rec_put.c
148
if (__rec_iput(t,
lib/libc/db/recno/rec_put.c
149
t->bt_nrecs, &tdata, 0) != RET_SUCCESS)
lib/libc/db/recno/rec_put.c
151
if (F_ISSET(t, R_FIXLEN))
lib/libc/db/recno/rec_put.c
156
if ((status = __rec_iput(t, nrec - 1, &fdata, flags)) != RET_SUCCESS)
lib/libc/db/recno/rec_put.c
164
t->bt_cursor.rcursor = nrec;
lib/libc/db/recno/rec_put.c
168
F_SET(t, R_MODIFIED);
lib/libc/db/recno/rec_put.c
169
return (__rec_ret(t, NULL, nrec, key, NULL));
lib/libc/db/recno/rec_put.c
184
__rec_iput(BTREE *t, recno_t nrec, const DBT *data, u_int flags)
lib/libc/db/recno/rec_put.c
201
if (data->size > t->bt_ovflsize) {
lib/libc/db/recno/rec_put.c
202
if (__ovfl_put(t, data, &pg) == RET_ERROR)
lib/libc/db/recno/rec_put.c
214
if ((e = __rec_search(t, nrec,
lib/libc/db/recno/rec_put.c
215
nrec > t->bt_nrecs || flags == R_IAFTER || flags == R_IBEFORE ?
lib/libc/db/recno/rec_put.c
235
if (nrec < t->bt_nrecs &&
lib/libc/db/recno/rec_put.c
236
__rec_dleaf(t, h, idx) == RET_ERROR) {
lib/libc/db/recno/rec_put.c
237
mpool_put(t->bt_mp, h, 0);
lib/libc/db/recno/rec_put.c
250
status = __bt_split(t, h, NULL, data, dflags, nbytes, idx);
lib/libc/db/recno/rec_put.c
252
++t->bt_nrecs;
lib/libc/db/recno/rec_put.c
265
++t->bt_nrecs;
lib/libc/db/recno/rec_put.c
266
F_SET(t, B_MODIFIED);
lib/libc/db/recno/rec_put.c
267
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/recno/rec_put.c
58
BTREE *t;
lib/libc/db/recno/rec_put.c
63
t = dbp->internal;
lib/libc/db/recno/rec_put.c
66
if (t->bt_pinned != NULL) {
lib/libc/db/recno/rec_put.c
67
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/recno/rec_put.c
68
t->bt_pinned = NULL;
lib/libc/db/recno/rec_put.c
76
if (F_ISSET(t, R_FIXLEN) && data->size != t->bt_reclen) {
lib/libc/db/recno/rec_put.c
77
if (data->size > t->bt_reclen)
lib/libc/db/recno/rec_put.c
80
if (t->bt_rdata.size < t->bt_reclen) {
lib/libc/db/recno/rec_put.c
81
t->bt_rdata.data =
lib/libc/db/recno/rec_put.c
82
reallocf(t->bt_rdata.data, t->bt_reclen);
lib/libc/db/recno/rec_put.c
83
if (t->bt_rdata.data == NULL)
lib/libc/db/recno/rec_put.c
85
t->bt_rdata.size = t->bt_reclen;
lib/libc/db/recno/rec_put.c
87
memmove(t->bt_rdata.data, data->data, data->size);
lib/libc/db/recno/rec_put.c
88
memset((char *)t->bt_rdata.data + data->size,
lib/libc/db/recno/rec_put.c
89
t->bt_bval, t->bt_reclen - data->size);
lib/libc/db/recno/rec_put.c
90
fdata.data = t->bt_rdata.data;
lib/libc/db/recno/rec_put.c
91
fdata.size = t->bt_reclen;
lib/libc/db/recno/rec_put.c
99
if (!F_ISSET(&t->bt_cursor, CURS_INIT))
lib/libc/db/recno/rec_search.c
106
while ((parent = BT_POP(t)) != NULL) {
lib/libc/db/recno/rec_search.c
107
if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
lib/libc/db/recno/rec_search.c
113
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/recno/rec_search.c
58
__rec_search(BTREE *t, recno_t recno, enum SRCHOP op)
lib/libc/db/recno/rec_search.c
69
BT_CLR(t);
lib/libc/db/recno/rec_search.c
71
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
lib/libc/db/recno/rec_search.c
74
t->bt_cur.page = h;
lib/libc/db/recno/rec_search.c
75
t->bt_cur.index = recno - total;
lib/libc/db/recno/rec_search.c
76
return (&t->bt_cur);
lib/libc/db/recno/rec_search.c
85
BT_PUSH(t, pg, idx - 1);
lib/libc/db/recno/rec_search.c
91
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/recno/rec_search.c
95
mpool_put(t->bt_mp, h, MPOOL_DIRTY);
lib/libc/db/recno/rec_search.c
98
mpool_put(t->bt_mp, h, 0);
lib/libc/db/recno/rec_seq.c
102
if (t->bt_nrecs == 0 || nrec > t->bt_nrecs) {
lib/libc/db/recno/rec_seq.c
103
if (!F_ISSET(t, R_EOF | R_INMEM) &&
lib/libc/db/recno/rec_seq.c
104
(status = t->bt_irec(t, nrec)) != RET_SUCCESS)
lib/libc/db/recno/rec_seq.c
106
if (t->bt_nrecs == 0 || nrec > t->bt_nrecs)
lib/libc/db/recno/rec_seq.c
110
if ((e = __rec_search(t, nrec - 1, SEARCH)) == NULL)
lib/libc/db/recno/rec_seq.c
113
F_SET(&t->bt_cursor, CURS_INIT);
lib/libc/db/recno/rec_seq.c
114
t->bt_cursor.rcursor = nrec;
lib/libc/db/recno/rec_seq.c
116
status = __rec_ret(t, e, nrec, key, data);
lib/libc/db/recno/rec_seq.c
117
if (F_ISSET(t, B_DB_LOCK))
lib/libc/db/recno/rec_seq.c
118
mpool_put(t->bt_mp, e->page, 0);
lib/libc/db/recno/rec_seq.c
120
t->bt_pinned = e->page;
lib/libc/db/recno/rec_seq.c
57
BTREE *t;
lib/libc/db/recno/rec_seq.c
62
t = dbp->internal;
lib/libc/db/recno/rec_seq.c
65
if (t->bt_pinned != NULL) {
lib/libc/db/recno/rec_seq.c
66
mpool_put(t->bt_mp, t->bt_pinned, 0);
lib/libc/db/recno/rec_seq.c
67
t->bt_pinned = NULL;
lib/libc/db/recno/rec_seq.c
76
if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
lib/libc/db/recno/rec_seq.c
77
nrec = t->bt_cursor.rcursor + 1;
lib/libc/db/recno/rec_seq.c
85
if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
lib/libc/db/recno/rec_seq.c
86
if ((nrec = t->bt_cursor.rcursor - 1) == 0)
lib/libc/db/recno/rec_seq.c
92
if (!F_ISSET(t, R_EOF | R_INMEM) &&
lib/libc/db/recno/rec_seq.c
93
t->bt_irec(t, MAX_REC_NUMBER) == RET_ERROR)
lib/libc/db/recno/rec_seq.c
95
nrec = t->bt_nrecs;
lib/libc/db/recno/rec_utils.c
100
memmove(t->bt_rdata.data, rl->bytes, rl->dsize);
lib/libc/db/recno/rec_utils.c
102
data->data = t->bt_rdata.data;
lib/libc/db/recno/rec_utils.c
56
__rec_ret(BTREE *t, EPG *e, recno_t nrec, DBT *key, DBT *data)
lib/libc/db/recno/rec_utils.c
65
if (sizeof(recno_t) > t->bt_rkey.size) {
lib/libc/db/recno/rec_utils.c
66
p = realloc(t->bt_rkey.data, sizeof(recno_t));
lib/libc/db/recno/rec_utils.c
69
t->bt_rkey.data = p;
lib/libc/db/recno/rec_utils.c
70
t->bt_rkey.size = sizeof(recno_t);
lib/libc/db/recno/rec_utils.c
72
memmove(t->bt_rkey.data, &nrec, sizeof(recno_t));
lib/libc/db/recno/rec_utils.c
74
key->data = t->bt_rkey.data;
lib/libc/db/recno/rec_utils.c
87
if (__ovfl_get(t, rl->bytes,
lib/libc/db/recno/rec_utils.c
88
&data->size, &t->bt_rdata.data, &t->bt_rdata.size))
lib/libc/db/recno/rec_utils.c
90
data->data = t->bt_rdata.data;
lib/libc/db/recno/rec_utils.c
91
} else if (F_ISSET(t, B_DB_LOCK)) {
lib/libc/db/recno/rec_utils.c
93
if (rl->dsize + 1 > t->bt_rdata.size) {
lib/libc/db/recno/rec_utils.c
94
p = realloc(t->bt_rdata.data, rl->dsize + 1);
lib/libc/db/recno/rec_utils.c
97
t->bt_rdata.data = p;
lib/libc/db/recno/rec_utils.c
98
t->bt_rdata.size = rl->dsize + 1;
lib/libc/db/test/btree.tests/main.c
605
char *p, *t;
lib/libc/db/test/btree.tests/main.c
629
for (p = lp + len - 1, t = buf; p >= lp; *t++ = *p--);
lib/libc/db/test/btree.tests/main.c
630
*t = '\0';
lib/libc/db/test/btree.tests/main.c
706
BTREE *t;
lib/libc/db/test/btree.tests/main.c
711
t = db->internal;
lib/libc/db/test/btree.tests/main.c
712
if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) {
lib/libc/db/test/btree.tests/main.c
720
mpool_put(t->bt_mp, h, 0);
lib/libc/db/test/dbtest.c
160
if (ofd == STDOUT_FILENO && (t = strchr(p, '\n')) != NULL)
lib/libc/db/test/dbtest.c
161
*t = '\0';
lib/libc/db/test/dbtest.c
86
char *fname, *infoarg, *p, *t, buf[8 * 1024];
lib/libc/db/test/hash.tests/thash4.c
56
time_t t;
lib/libc/gen/disklabel.c
45
gettype(char *t, const char **names)
lib/libc/gen/disklabel.c
50
if (strcasecmp(t, *nm) == 0)
lib/libc/gen/disklabel.c
52
if (isdigit((unsigned char)*t))
lib/libc/gen/disklabel.c
53
return (atoi(t));
lib/libc/gen/fts-compat.c
311
char *t;
lib/libc/gen/fts-compat.c
442
name: t = sp->fts_path + NAPPEND(p->fts_parent);
lib/libc/gen/fts-compat.c
443
*t++ = '/';
lib/libc/gen/fts-compat.c
444
memmove(t, p->fts_name, p->fts_namelen + 1);
lib/libc/gen/fts-compat.c
914
FTSENT *t;
lib/libc/gen/fts-compat.c
976
for (t = p->fts_parent;
lib/libc/gen/fts-compat.c
977
t->fts_level >= FTS_ROOTLEVEL; t = t->fts_parent)
lib/libc/gen/fts-compat.c
978
if (ino == t->fts_ino && dev == t->fts_dev) {
lib/libc/gen/fts-compat.c
979
p->fts_cycle = t;
lib/libc/gen/fts-compat11.c
301
char *t;
lib/libc/gen/fts-compat11.c
435
name: t = sp->fts_path + NAPPEND(p->fts_parent);
lib/libc/gen/fts-compat11.c
436
*t++ = '/';
lib/libc/gen/fts-compat11.c
437
memmove(t, p->fts_name, p->fts_namelen + 1);
lib/libc/gen/fts-compat11.c
897
FTSENT11 *t;
lib/libc/gen/fts-compat11.c
967
for (t = p->fts_parent;
lib/libc/gen/fts-compat11.c
968
t->fts_level >= FTS_ROOTLEVEL; t = t->fts_parent)
lib/libc/gen/fts-compat11.c
969
if (ino == t->fts_ino && dev == t->fts_dev) {
lib/libc/gen/fts-compat11.c
970
p->fts_cycle = t;
lib/libc/gen/fts.c
1035
FTSENT *t;
lib/libc/gen/fts.c
1110
for (t = p->fts_parent;
lib/libc/gen/fts.c
1111
t->fts_level >= FTS_ROOTLEVEL; t = t->fts_parent)
lib/libc/gen/fts.c
1112
if (ino == t->fts_ino && dev == t->fts_dev) {
lib/libc/gen/fts.c
1113
p->fts_cycle = t;
lib/libc/gen/fts.c
412
char *t;
lib/libc/gen/fts.c
546
name: t = sp->fts_path + NAPPEND(p->fts_parent);
lib/libc/gen/fts.c
547
*t++ = '/';
lib/libc/gen/fts.c
548
memmove(t, p->fts_name, p->fts_namelen + 1);
lib/libc/gen/getttyent.c
220
char *t;
lib/libc/gen/getttyent.c
223
for (q = 0, t = p; (c = *p) != '\0'; p++) {
lib/libc/gen/getttyent.c
230
*t++ = *p;
lib/libc/gen/getttyent.c
246
*--t = '\0';
lib/libc/gen/getttyent.c
294
struct ttyent *t;
lib/libc/gen/getttyent.c
296
return ((t = getttynam(tty)) == NULL) ? 0 : !!(t->ty_status & flag);
lib/libc/gen/getttyent.c
55
struct ttyent *t;
lib/libc/gen/getttyent.c
60
while ( (t = getttyent()) )
lib/libc/gen/getttyent.c
61
if (!strcmp(tty, t->ty_name))
lib/libc/gen/getttyent.c
64
return (t);
lib/libc/gen/isatty.c
39
struct termios t;
lib/libc/gen/isatty.c
41
retval = (tcgetattr(fd, &t) != -1);
lib/libc/gen/termios.c
121
cfgetospeed(const struct termios *t)
lib/libc/gen/termios.c
124
return (t->c_ospeed);
lib/libc/gen/termios.c
128
cfgetispeed(const struct termios *t)
lib/libc/gen/termios.c
131
return (t->c_ispeed);
lib/libc/gen/termios.c
135
cfsetospeed(struct termios *t, speed_t speed)
lib/libc/gen/termios.c
138
t->c_ospeed = speed;
lib/libc/gen/termios.c
143
cfsetispeed(struct termios *t, speed_t speed)
lib/libc/gen/termios.c
146
t->c_ispeed = speed;
lib/libc/gen/termios.c
151
cfsetspeed(struct termios *t, speed_t speed)
lib/libc/gen/termios.c
154
t->c_ispeed = t->c_ospeed = speed;
lib/libc/gen/termios.c
163
cfmakeraw(struct termios *t)
lib/libc/gen/termios.c
166
t->c_iflag &= ~(IMAXBEL|IXOFF|INPCK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON|IGNPAR);
lib/libc/gen/termios.c
167
t->c_iflag |= IGNBRK;
lib/libc/gen/termios.c
168
t->c_oflag &= ~OPOST;
lib/libc/gen/termios.c
169
t->c_lflag &= ~(ECHO|ECHOE|ECHOK|ECHONL|ICANON|ISIG|IEXTEN|NOFLSH|TOSTOP|PENDIN);
lib/libc/gen/termios.c
170
t->c_cflag &= ~(CSIZE|PARENB);
lib/libc/gen/termios.c
171
t->c_cflag |= CS8|CREAD;
lib/libc/gen/termios.c
172
t->c_cc[VMIN] = 1;
lib/libc/gen/termios.c
173
t->c_cc[VTIME] = 0;
lib/libc/gen/termios.c
181
cfmakesane(struct termios *t)
lib/libc/gen/termios.c
184
t->c_cflag = TTYDEF_CFLAG;
lib/libc/gen/termios.c
185
t->c_iflag = TTYDEF_IFLAG;
lib/libc/gen/termios.c
186
t->c_lflag = TTYDEF_LFLAG;
lib/libc/gen/termios.c
187
t->c_oflag = TTYDEF_OFLAG;
lib/libc/gen/termios.c
188
t->c_ispeed = TTYDEF_SPEED;
lib/libc/gen/termios.c
189
t->c_ospeed = TTYDEF_SPEED;
lib/libc/gen/termios.c
190
memcpy(&t->c_cc, ttydefchars, sizeof ttydefchars);
lib/libc/gen/termios.c
48
tcgetattr(int fd, struct termios *t)
lib/libc/gen/termios.c
51
return (_ioctl(fd, TIOCGETA, t));
lib/libc/gen/termios.c
55
tcsetattr(int fd, int opt, const struct termios *t)
lib/libc/gen/termios.c
60
localterm = *t;
lib/libc/gen/termios.c
62
t = &localterm;
lib/libc/gen/termios.c
66
return (_ioctl(fd, TIOCSETA, t));
lib/libc/gen/termios.c
68
return (_ioctl(fd, TIOCSETAW, t));
lib/libc/gen/termios.c
70
return (_ioctl(fd, TIOCSETAF, t));
lib/libc/gen/time.c
36
time(time_t *t)
lib/libc/gen/time.c
45
if (t != NULL)
lib/libc/gen/time.c
46
*t = retval;
lib/libc/gen/times.c
47
struct timespec t;
lib/libc/gen/times.c
58
if (clock_gettime(CLOCK_MONOTONIC, &t))
lib/libc/gen/times.c
60
c = t.tv_sec * CLK_TCK + t.tv_nsec / (1000000000 / CLK_TCK);
lib/libc/gen/utxdb.c
119
uint64_t t; \
lib/libc/gen/utxdb.c
120
t = be64toh((fu)->fu_tv); \
lib/libc/gen/utxdb.c
121
(ut)->ut_tv.tv_sec = t / 1000000; \
lib/libc/gen/utxdb.c
122
(ut)->ut_tv.tv_usec = t % 1000000; \
lib/libc/iconv/citrus_prop.c
251
char *s, *t;
lib/libc/iconv/citrus_prop.c
280
t = realloc(s, n + m);
lib/libc/iconv/citrus_prop.c
281
if (t == NULL) {
lib/libc/iconv/citrus_prop.c
285
s = t;
lib/libc/inet/inet_cidr_ntop.c
76
char *t;
lib/libc/inet/inet_cidr_ntop.c
82
t = dst;
lib/libc/inet/inet_cidr_ntop.c
88
size -= (size_t)(dst - t);
lib/libc/isc/ev_timers.c
416
evTimer *t = id.opaque;
lib/libc/isc/ev_timers.c
417
idle_timer *tt = t->uap;
lib/libc/isc/ev_timers.c
461
evTimer *t = what;
lib/libc/isc/ev_timers.c
465
FREE(t);
lib/libc/locale/collate.c
315
_collate_lookup(struct xlocale_collate *table, const wchar_t *t, int *len,
lib/libc/locale/collate.c
328
*pri = *t;
lib/libc/locale/collate.c
356
if (((p2 = chainsearch(table, t, &l)) != NULL) &&
lib/libc/locale/collate.c
362
} else if (*t <= UCHAR_MAX) {
lib/libc/locale/collate.c
368
*pri = table->char_pri_table[*t].pri[which];
lib/libc/locale/collate.c
371
((match = largesearch(table, *t)) != NULL)) {
lib/libc/locale/collate.c
384
*pri = (*t & COLLATE_MAX_PRIORITY);
lib/libc/locale/collate.c
423
const wchar_t *t;
lib/libc/locale/collate.c
454
t = src;
lib/libc/locale/collate.c
459
if ((tr = wcsdup(t)) == NULL) {
lib/libc/locale/collate.c
470
t = (const wchar_t *)tr;
lib/libc/locale/collate.c
474
while (*t || state) {
lib/libc/locale/collate.c
475
_collate_lookup(table, t, &len, &pri, pass, &state);
lib/libc/locale/collate.c
476
t += len;
lib/libc/locale/collate.c
493
while (*t || state) {
lib/libc/locale/collate.c
494
_collate_lookup(table, t, &len, &pri, pass, &state);
lib/libc/locale/collate.c
495
t += len;
lib/libc/locale/collate.c
568
const wchar_t *t;
lib/libc/locale/collate.c
601
t = src;
lib/libc/locale/collate.c
606
if ((tr = wcsdup(t)) == NULL) {
lib/libc/locale/collate.c
617
t = (const wchar_t *)tr;
lib/libc/locale/collate.c
621
while (*t || state) {
lib/libc/locale/collate.c
623
_collate_lookup(table, t, &len, &pri, pass, &state);
lib/libc/locale/collate.c
624
t += len;
lib/libc/locale/collate.c
648
while (*t || state) {
lib/libc/locale/collate.c
649
_collate_lookup(table, t, &len, &pri, pass, &state);
lib/libc/locale/collate.c
650
t += len;
lib/libc/locale/collate.c
81
destruct_collate(void *t)
lib/libc/locale/collate.c
83
struct xlocale_collate *table = t;
lib/libc/locale/collate.c
87
free(t);
lib/libc/nameser/ns_print.c
1233
int t;
lib/libc/nameser/ns_print.c
1239
for (t = (target - len - 1) / 8; t >= 0; t--)
lib/libc/nameser/ns_print.c
195
u_long t;
lib/libc/nameser/ns_print.c
210
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
212
len = SPRINTF((tmp, "%lu", t));
lib/libc/nameser/ns_print.c
219
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
221
T(len = ns_format_ttl(t, buf, buflen));
lib/libc/nameser/ns_print.c
228
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
230
T(len = ns_format_ttl(t, buf, buflen));
lib/libc/nameser/ns_print.c
237
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
239
T(len = ns_format_ttl(t, buf, buflen));
lib/libc/nameser/ns_print.c
246
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
248
T(len = ns_format_ttl(t, buf, buflen));
lib/libc/nameser/ns_print.c
261
u_int t;
lib/libc/nameser/ns_print.c
267
t = ns_get16(rdata);
lib/libc/nameser/ns_print.c
269
len = SPRINTF((tmp, "%u ", t));
lib/libc/nameser/ns_print.c
279
u_int t;
lib/libc/nameser/ns_print.c
285
t = ns_get16(rdata);
lib/libc/nameser/ns_print.c
287
len = SPRINTF((tmp, "%u ", t));
lib/libc/nameser/ns_print.c
320
char t[2+255*3];
lib/libc/nameser/ns_print.c
322
(void) inet_nsap_ntoa(rdlen, rdata, t);
lib/libc/nameser/ns_print.c
323
T(addstr(t, strlen(t), &buf, &buflen));
lib/libc/nameser/ns_print.c
335
char t[255];
lib/libc/nameser/ns_print.c
338
(void) loc_ntoa(rdata, t);
lib/libc/nameser/ns_print.c
339
T(addstr(t, strlen(t), &buf, &buflen));
lib/libc/nameser/ns_print.c
345
char t[50];
lib/libc/nameser/ns_print.c
353
len = SPRINTF((t, "%u %u ", order, preference));
lib/libc/nameser/ns_print.c
354
T(addstr(t, len, &buf, &buflen));
lib/libc/nameser/ns_print.c
386
char t[50];
lib/libc/nameser/ns_print.c
395
len = SPRINTF((t, "%u %u %u ", priority, weight, port));
lib/libc/nameser/ns_print.c
396
T(addstr(t, len, &buf, &buflen));
lib/libc/nameser/ns_print.c
507
u_long t;
lib/libc/nameser/ns_print.c
517
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
519
p_type(type), algorithm, labels, t));
lib/libc/nameser/ns_print.c
525
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
526
len = SPRINTF((tmp, "%s ", p_secstodate(t)));
lib/libc/nameser/ns_print.c
530
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
531
len = SPRINTF((tmp, "%s ", p_secstodate(t)));
lib/libc/nameser/ns_print.c
624
u_long t;
lib/libc/nameser/ns_print.c
632
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
633
len = SPRINTF((tmp, "%s ", p_secstodate(t)));
lib/libc/nameser/ns_print.c
637
t = ns_get32(rdata); rdata += NS_INT32SZ;
lib/libc/nameser/ns_print.c
638
len = SPRINTF((tmp, "%s ", p_secstodate(t)));
lib/libc/nameser/ns_print.c
711
u_int t;
lib/libc/nameser/ns_print.c
715
t = ns_get16(rdata);
lib/libc/nameser/ns_print.c
717
len = SPRINTF((tmp, "%u ", t));
lib/libc/nameser/ns_print.c
740
u_int t, w, l, j, k, c;
lib/libc/nameser/ns_print.c
750
t = ns_get16(rdata);
lib/libc/nameser/ns_print.c
752
len = SPRINTF((tmp, "%u ", t));
lib/libc/nameser/ns_print.c
755
t = *rdata++;
lib/libc/nameser/ns_print.c
756
if (t == 0) {
lib/libc/nameser/ns_print.c
759
while (t-- > 0) {
lib/libc/nameser/ns_print.c
769
t = *rdata++;
lib/libc/nameser/ns_print.c
770
while (t > 0) {
lib/libc/nameser/ns_print.c
771
switch (t) {
lib/libc/nameser/ns_print.c
825
if (t >= 5) {
lib/libc/nameser/ns_print.c
827
t -= 5;
lib/libc/nameser/ns_print.c
829
rdata += t;
lib/libc/nameser/ns_print.c
830
t -= t;
lib/libc/nameser/ns_ttl.c
147
fmt1(int t, char s, char **buf, size_t *buflen) {
lib/libc/nameser/ns_ttl.c
151
len = SPRINTF((tmp, "%d%c", t, s));
lib/libc/nameser/ns_ttl.c
41
static int fmt1(int t, char s, char **buf, size_t *buflen);
lib/libc/net/getaddrinfo.c
2712
struct res_target *t;
lib/libc/net/getaddrinfo.c
2734
for (t = target; t; t = t->next) {
lib/libc/net/getaddrinfo.c
2739
hp = (HEADER *)(void *)t->answer;
lib/libc/net/getaddrinfo.c
2742
class = t->qclass;
lib/libc/net/getaddrinfo.c
2743
type = t->qtype;
lib/libc/net/getaddrinfo.c
2744
answer = t->answer;
lib/libc/net/getaddrinfo.c
2745
anslen = t->anslen;
lib/libc/net/getaddrinfo.c
2829
t->n = n;
lib/libc/net/name6.c
591
char t;
lib/libc/net/name6.c
626
t = order[i];
lib/libc/net/name6.c
628
order[j] = t;
lib/libc/posix1e/acl_from_text.c
124
t = acl_string_to_tag(tag, qualifier);
lib/libc/posix1e/acl_from_text.c
125
if (t == -1) {
lib/libc/posix1e/acl_from_text.c
136
switch(t) {
lib/libc/posix1e/acl_from_text.c
150
error = _acl_name_to_id(t, qualifier, &id);
lib/libc/posix1e/acl_from_text.c
160
error = _posix1e_acl_add_entry(aclp, t, id, p);
lib/libc/posix1e/acl_from_text.c
84
acl_tag_t t;
lib/libc/quad/fixunsdfdi.c
51
union uu t;
lib/libc/quad/fixunsdfdi.c
76
t.ul[H] = (unsigned long)toppart;
lib/libc/quad/fixunsdfdi.c
77
t.ul[L] = 0;
lib/libc/quad/fixunsdfdi.c
78
x -= (double)t.uq;
lib/libc/quad/fixunsdfdi.c
80
t.ul[H]--;
lib/libc/quad/fixunsdfdi.c
84
t.ul[H]++;
lib/libc/quad/fixunsdfdi.c
87
t.ul[L] = (u_long)x;
lib/libc/quad/fixunsdfdi.c
88
return (t.uq);
lib/libc/quad/fixunssfdi.c
55
union uu t;
lib/libc/quad/fixunssfdi.c
81
t.ul[H] = (unsigned long)toppart;
lib/libc/quad/fixunssfdi.c
82
t.ul[L] = 0;
lib/libc/quad/fixunssfdi.c
83
x -= (double)t.uq;
lib/libc/quad/fixunssfdi.c
85
t.ul[H]--;
lib/libc/quad/fixunssfdi.c
89
t.ul[H]++;
lib/libc/quad/fixunssfdi.c
92
t.ul[L] = (u_long)x;
lib/libc/quad/fixunssfdi.c
93
return (t.uq);
lib/libc/quad/qdivrem.c
146
t = v[2]; /* nonzero, by definition */
lib/libc/quad/qdivrem.c
147
q1 = u[1] / t;
lib/libc/quad/qdivrem.c
148
rbj = COMBINE(u[1] % t, u[2]);
lib/libc/quad/qdivrem.c
149
q2 = rbj / t;
lib/libc/quad/qdivrem.c
150
rbj = COMBINE(rbj % t, u[3]);
lib/libc/quad/qdivrem.c
151
q3 = rbj / t;
lib/libc/quad/qdivrem.c
152
rbj = COMBINE(rbj % t, u[4]);
lib/libc/quad/qdivrem.c
153
q4 = rbj / t;
lib/libc/quad/qdivrem.c
155
*arq = rbj % t;
lib/libc/quad/qdivrem.c
180
for (t = v[1]; t < B / 2; t <<= 1)
lib/libc/quad/qdivrem.c
227
for (t = 0, i = n; i > 0; i--) {
lib/libc/quad/qdivrem.c
228
t = u[i + j] - v[i] * qhat - t;
lib/libc/quad/qdivrem.c
229
u[i + j] = LHALF(t);
lib/libc/quad/qdivrem.c
230
t = (B - HHALF(t)) & (B - 1);
lib/libc/quad/qdivrem.c
232
t = u[j] - t;
lib/libc/quad/qdivrem.c
233
u[j] = LHALF(t);
lib/libc/quad/qdivrem.c
240
if (HHALF(t)) {
lib/libc/quad/qdivrem.c
242
for (t = 0, i = n; i > 0; i--) { /* D6: add back. */
lib/libc/quad/qdivrem.c
243
t += u[i + j] + v[i];
lib/libc/quad/qdivrem.c
244
u[i + j] = LHALF(t);
lib/libc/quad/qdivrem.c
245
t = HHALF(t);
lib/libc/quad/qdivrem.c
247
u[j] = LHALF(u[j] + t);
lib/libc/quad/qdivrem.c
84
u_long qhat, rhat, t;
lib/libc/regex/engine.c
138
#define SP(t, s, c) print(m, t, s, c, stdout)
lib/libc/regex/engine.c
139
#define AT(t, p1, p2, s1, s2) at(m, t, p1, p2, s1, s2)
lib/libc/regex/engine.c
142
#define SP(t, s, c) /* nothing */
lib/libc/regex/engine.c
143
#define AT(t, p1, p2, s1, s2) /* nothing */
lib/libc/regex/regcomp.c
1465
# define REP(f, t) ((f)*8 + (t))
lib/libc/resolv/herror.c
101
DE_CONST("\n", t);
lib/libc/resolv/herror.c
102
v->iov_base = t;
lib/libc/resolv/herror.c
85
char *t;
lib/libc/resolv/herror.c
88
DE_CONST(s, t);
lib/libc/resolv/herror.c
89
v->iov_base = t;
lib/libc/resolv/herror.c
90
v->iov_len = strlen(t);
lib/libc/resolv/herror.c
92
DE_CONST(": ", t);
lib/libc/resolv/herror.c
93
v->iov_base = t;
lib/libc/resolv/herror.c
97
DE_CONST(hstrerror(*__h_errno()), t);
lib/libc/resolv/herror.c
98
v->iov_base = t;
lib/libc/resolv/res_findzonecut.c
322
const char *t;
lib/libc/resolv/res_findzonecut.c
337
t = ns_rr_name(rr);
lib/libc/resolv/res_findzonecut.c
340
if (ns_samedomain(dname, t) == 0) {
lib/libc/resolv/res_findzonecut.c
343
dname, t)
lib/libc/resolv/res_findzonecut.c
350
if (ns_samename(dname, t) == 1 ||
lib/libc/resolv/res_findzonecut.c
351
ns_samedomain(dname, t) == 0) {
lib/libc/resolv/res_findzonecut.c
354
dname, t)
lib/libc/resolv/res_findzonecut.c
363
if (strlen(t) + 1 > zsize) {
lib/libc/resolv/res_findzonecut.c
366
(unsigned long)strlen(t) + 1));
lib/libc/resolv/res_findzonecut.c
370
strcpy(zname, t);
lib/libc/rpc/clnt_bcast.c
247
struct timeval t;
lib/libc/rpc/clnt_bcast.c
373
(void) gettimeofday(&t, NULL);
lib/libc/rpc/clnt_bcast.c
374
msg.rm_xid = __RPC_GETXID(&t);
lib/libc/rpc/clnt_dg.c
835
time_not_ok(struct timeval *t)
lib/libc/rpc/clnt_dg.c
837
return (t->tv_sec < -1 || t->tv_sec > 100000000 ||
lib/libc/rpc/clnt_dg.c
838
t->tv_usec < -1 || t->tv_usec > 1000000);
lib/libc/rpc/clnt_vc.c
776
time_not_ok(struct timeval *t)
lib/libc/rpc/clnt_vc.c
778
return (t->tv_sec <= -1 || t->tv_sec > 100000000 ||
lib/libc/rpc/clnt_vc.c
779
t->tv_usec <= -1 || t->tv_usec > 1000000);
lib/libc/rpc/rpc_generic.c
163
char *t = p;
lib/libc/rpc/rpc_generic.c
168
return (t);
lib/libc/stdio/fflush.c
103
int n, f, t;
lib/libc/stdio/fflush.c
121
for (; n > 0; n -= t, p += t) {
lib/libc/stdio/fflush.c
122
t = _swrite(fp, (char *)p, n);
lib/libc/stdio/fflush.c
123
if (t <= 0) {
lib/libc/stdio/fgets.c
55
unsigned char *p, *t;
lib/libc/stdio/fgets.c
94
t = memchr((void *)p, '\n', len);
lib/libc/stdio/fgets.c
95
if (t != NULL) {
lib/libc/stdio/fgets.c
96
len = ++t - p;
lib/libc/stdio/fgets.c
98
fp->_p = t;
lib/libc/stdio/printfcommon.h
285
CHAR *p, *t;
lib/libc/stdio/printfcommon.h
296
t = expbuf + MAXEXPDIG;
lib/libc/stdio/printfcommon.h
299
*--t = to_char(exp % 10);
lib/libc/stdio/printfcommon.h
301
*--t = to_char(exp);
lib/libc/stdio/printfcommon.h
302
for (; t < expbuf + MAXEXPDIG; *p++ = *t++);
lib/libc/stdio/xprintf_float.c
100
*--t = to_char(expo % 10);
lib/libc/stdio/xprintf_float.c
102
*--t = to_char(expo);
lib/libc/stdio/xprintf_float.c
103
for (; t < expbuf + MAXEXPDIG; *p++ = *t++)
lib/libc/stdio/xprintf_float.c
86
char *p, *t;
lib/libc/stdio/xprintf_float.c
97
t = expbuf + MAXEXPDIG;
lib/libc/stdio/xprintf_quote.c
52
const char *str, *p, *t, *o;
lib/libc/stdio/xprintf_quote.c
69
for (t = p = str; *p; p++) {
lib/libc/stdio/xprintf_quote.c
88
if (p != t)
lib/libc/stdio/xprintf_quote.c
89
ret += __printf_out(io, pi, t, p - t);
lib/libc/stdio/xprintf_quote.c
91
t = p + 1;
lib/libc/stdio/xprintf_quote.c
93
if (p != t)
lib/libc/stdio/xprintf_quote.c
94
ret += __printf_out(io, pi, t, p - t);
lib/libc/stdio/xprintf_time.c
101
if (tx >= HOUR && (t != 0 || prec != 0)) {
lib/libc/stdio/xprintf_time.c
102
p += sprintf(p, "%jdh", t / HOUR);
lib/libc/stdio/xprintf_time.c
103
t %= HOUR;
lib/libc/stdio/xprintf_time.c
105
if (tx >= MINUTE && (t != 0 || prec != 0)) {
lib/libc/stdio/xprintf_time.c
106
p += sprintf(p, "%jdm", t / MINUTE);
lib/libc/stdio/xprintf_time.c
107
t %= MINUTE;
lib/libc/stdio/xprintf_time.c
109
if (t != 0 || tx == 0 || prec != 0)
lib/libc/stdio/xprintf_time.c
110
p += sprintf(p, "%jds", t);
lib/libc/stdio/xprintf_time.c
112
p += sprintf(p, "%jd", (intmax_t)t);
lib/libc/stdio/xprintf_time.c
64
intmax_t t, tx;
lib/libc/stdio/xprintf_time.c
69
t = tv->tv_sec;
lib/libc/stdio/xprintf_time.c
74
t = ts->tv_sec;
lib/libc/stdio/xprintf_time.c
79
t = *tp;
lib/libc/stdio/xprintf_time.c
92
tx = t;
lib/libc/stdio/xprintf_time.c
93
if (t >= YEAR) {
lib/libc/stdio/xprintf_time.c
94
p += sprintf(p, "%jdy", t / YEAR);
lib/libc/stdio/xprintf_time.c
95
t %= YEAR;
lib/libc/stdio/xprintf_time.c
97
if (tx >= DAY && (t != 0 || prec != 0)) {
lib/libc/stdio/xprintf_time.c
98
p += sprintf(p, "%jdd", t / DAY);
lib/libc/stdio/xprintf_time.c
99
t %= DAY;
lib/libc/stdlib/heapsort.c
161
char *base, *k, *p, *t;
lib/libc/stdlib/heapsort.c
181
CREATE(l, nmemb, i, j, t, p, size, cnt, tmp);
lib/libc/stdlib/heapsort.c
192
SELECT(i, j, nmemb, t, p, size, k, cnt, tmp1, tmp2);
lib/libc/stdlib/merge.c
116
u_char *f1, *f2, *t, *b, *tp2, *q, *l1, *l2;
lib/libc/stdlib/merge.c
156
b = f1, t = l1;
lib/libc/stdlib/merge.c
160
b = f2, t = l2;
lib/libc/stdlib/merge.c
164
while ((b += size) < t && CMP(q, b) >sense)
lib/libc/stdlib/merge.c
171
if ((p = (b + i)) >= t) {
lib/libc/stdlib/merge.c
172
if ((p = t - size) > b &&
lib/libc/stdlib/merge.c
174
t = p;
lib/libc/stdlib/merge.c
179
t = p;
lib/libc/stdlib/merge.c
185
while (t > b+size) {
lib/libc/stdlib/merge.c
186
i = (((t - b) / size) >> 1) * size;
lib/libc/stdlib/merge.c
188
t = p;
lib/libc/stdlib/merge.c
196
t = p;
lib/libc/stdlib/merge.c
199
COPY: b = t;
lib/libc/stdlib/merge.c
345
u_char *ai, *s, *t, *u, tmp;
lib/libc/stdlib/merge.c
349
for (t = ai; t > a; t -= size) {
lib/libc/stdlib/merge.c
350
u = t - size;
lib/libc/stdlib/merge.c
351
if (CMP(u, t) <= 0)
lib/libc/stdlib/merge.c
353
swap(u, t);
lib/libc/stdlib/qsort.c
58
char t;
lib/libc/stdlib/qsort.c
61
t = *a;
lib/libc/stdlib/qsort.c
63
*b++ = t;
lib/libc/stdlib/qsort.c
71
#define CMP(t, x, y) (cmp((x), (y), (t)))
lib/libc/stdlib/qsort.c
73
#define CMP(t, x, y) (cmp((t), (x), (y)))
lib/libc/stdlib/qsort.c
75
#define CMP(t, x, y) (cmp((x), (y), (t)))
lib/libc/stdlib/qsort.c
77
#define CMP(t, x, y) (cmp((x), (y)))
lib/libc/stdlib/radixsort.c
120
#define swap(a, b, t) t = a, a = b, b = t
lib/libc/stdlib/radixsort.c
131
const u_char **an, *t, **aj, **top[256];
lib/libc/stdlib/radixsort.c
216
swap(*ak, r, t);
lib/libc/stdlib/radixsort.c
295
const u_char **ak, **ai, *s, *t;
lib/libc/stdlib/radixsort.c
299
for (s = ai[0] + b, t = ai[-1] + b;
lib/libc/stdlib/radixsort.c
300
(ch = tr[*s]) != endch; s++, t++)
lib/libc/stdlib/radixsort.c
301
if (ch != tr[*t])
lib/libc/stdlib/radixsort.c
303
if (ch >= tr[*t])
lib/libc/stdtime/strftime.c
111
const struct tm * __restrict t)
lib/libc/stdtime/strftime.c
113
return strftime_l(s, maxsize, format, t, __get_locale());
lib/libc/stdtime/strftime.c
117
_fmt(const char *format, const struct tm * const t, char *pt,
lib/libc/stdtime/strftime.c
134
pt = _add((t->tm_wday < 0 ||
lib/libc/stdtime/strftime.c
135
t->tm_wday >= DAYSPERWEEK) ?
lib/libc/stdtime/strftime.c
136
"?" : tptr->weekday[t->tm_wday],
lib/libc/stdtime/strftime.c
140
pt = _add((t->tm_wday < 0 ||
lib/libc/stdtime/strftime.c
141
t->tm_wday >= DAYSPERWEEK) ?
lib/libc/stdtime/strftime.c
142
"?" : tptr->wday[t->tm_wday],
lib/libc/stdtime/strftime.c
146
pt = _add((t->tm_mon < 0 ||
lib/libc/stdtime/strftime.c
147
t->tm_mon >= MONSPERYEAR) ?
lib/libc/stdtime/strftime.c
149
tptr->month)[t->tm_mon],
lib/libc/stdtime/strftime.c
154
pt = _add((t->tm_mon < 0 ||
lib/libc/stdtime/strftime.c
155
t->tm_mon >= MONSPERYEAR) ?
lib/libc/stdtime/strftime.c
156
"?" : tptr->mon[t->tm_mon],
lib/libc/stdtime/strftime.c
167
pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 0,
lib/libc/stdtime/strftime.c
174
pt = _fmt(tptr->c_fmt, t, pt, ptlim, &warn2, loc);
lib/libc/stdtime/strftime.c
182
pt = _fmt("%m/%d/%y", t, pt, ptlim, warnp, loc);
lib/libc/stdtime/strftime.c
185
pt = _conv(t->tm_mday,
lib/libc/stdtime/strftime.c
212
pt = _conv(t->tm_mday,
lib/libc/stdtime/strftime.c
217
pt = _fmt("%Y-%m-%d", t, pt, ptlim, warnp, loc);
lib/libc/stdtime/strftime.c
220
pt = _conv(t->tm_hour, fmt_padding[PAD_FMT_HMS][PadIndex],
lib/libc/stdtime/strftime.c
224
pt = _conv((t->tm_hour % 12) ?
lib/libc/stdtime/strftime.c
225
(t->tm_hour % 12) : 12,
lib/libc/stdtime/strftime.c
230
pt = _conv(t->tm_yday + 1,
lib/libc/stdtime/strftime.c
245
pt = _conv(t->tm_hour, fmt_padding[PAD_FMT_SHMS][PadIndex],
lib/libc/stdtime/strftime.c
266
pt = _conv((t->tm_hour % 12) ?
lib/libc/stdtime/strftime.c
267
(t->tm_hour % 12) : 12,
lib/libc/stdtime/strftime.c
272
pt = _conv(t->tm_min, fmt_padding[PAD_FMT_HMS][PadIndex],
lib/libc/stdtime/strftime.c
276
pt = _conv(t->tm_mon + 1,
lib/libc/stdtime/strftime.c
284
pt = _add((t->tm_hour >= (HOURSPERDAY / 2)) ?
lib/libc/stdtime/strftime.c
289
pt = _fmt("%H:%M", t, pt, ptlim, warnp, loc);
lib/libc/stdtime/strftime.c
292
pt = _fmt(tptr->ampm_fmt, t, pt, ptlim,
lib/libc/stdtime/strftime.c
296
pt = _conv(t->tm_sec, fmt_padding[PAD_FMT_HMS][PadIndex],
lib/libc/stdtime/strftime.c
306
tm = *t;
lib/libc/stdtime/strftime.c
307
mkt = timeoff(&tm, t->tm_gmtoff);
lib/libc/stdtime/strftime.c
317
pt = _fmt("%H:%M:%S", t, pt, ptlim, warnp, loc);
lib/libc/stdtime/strftime.c
323
pt = _conv((t->tm_yday + DAYSPERWEEK -
lib/libc/stdtime/strftime.c
324
t->tm_wday) / DAYSPERWEEK,
lib/libc/stdtime/strftime.c
335
pt = _conv((t->tm_wday == 0) ?
lib/libc/stdtime/strftime.c
336
DAYSPERWEEK : t->tm_wday,
lib/libc/stdtime/strftime.c
367
year = t->tm_year;
lib/libc/stdtime/strftime.c
369
yday = t->tm_yday;
lib/libc/stdtime/strftime.c
370
wday = t->tm_wday;
lib/libc/stdtime/strftime.c
411
t->tm_mon == TM_JANUARY) ||
lib/libc/stdtime/strftime.c
413
t->tm_mon == TM_DECEMBER))
lib/libc/stdtime/strftime.c
433
pt = _fmt("%e-%b-%Y", t, pt, ptlim, warnp, loc);
lib/libc/stdtime/strftime.c
436
pt = _conv((t->tm_yday + DAYSPERWEEK -
lib/libc/stdtime/strftime.c
437
(t->tm_wday ?
lib/libc/stdtime/strftime.c
438
(t->tm_wday - 1) :
lib/libc/stdtime/strftime.c
444
pt = _conv(t->tm_wday, "%d", pt, ptlim, loc);
lib/libc/stdtime/strftime.c
447
pt = _fmt(tptr->X_fmt, t, pt, ptlim, warnp, loc);
lib/libc/stdtime/strftime.c
453
pt = _fmt(tptr->x_fmt, t, pt, ptlim, &warn2, loc);
lib/libc/stdtime/strftime.c
462
pt = _yconv(t->tm_year, TM_YEAR_BASE, 0, 1,
lib/libc/stdtime/strftime.c
466
pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 1,
lib/libc/stdtime/strftime.c
471
if (t->TM_ZONE != NULL)
lib/libc/stdtime/strftime.c
472
pt = _add(t->TM_ZONE, pt, ptlim);
lib/libc/stdtime/strftime.c
475
if (t->tm_isdst >= 0)
lib/libc/stdtime/strftime.c
476
pt = _add(tzname[t->tm_isdst != 0],
lib/libc/stdtime/strftime.c
489
if (t->tm_isdst < 0)
lib/libc/stdtime/strftime.c
492
diff = t->TM_GMTOFF;
lib/libc/stdtime/strftime.c
513
if (t->tm_isdst == 0)
lib/libc/stdtime/strftime.c
541
pt = _fmt(tptr->date_fmt, t, pt, ptlim,
lib/libc/stdtime/strftime.c
78
const struct tm * __restrict t, locale_t loc)
lib/libc/stdtime/strftime.c
86
p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn, loc);
lib/libc/stdtime/strptime.c
492
time_t t;
lib/libc/stdtime/strptime.c
497
if (errno == ERANGE || (long)(t = n) != n) {
lib/libc/stdtime/strptime.c
503
if (gmtime_r(&t, tm) == NULL)
lib/libc/stdtime/strptime.c
697
time_t t = timegm(tm);
lib/libc/stdtime/strptime.c
699
localtime_r(&t, tm);
lib/libc/stdtime/time32.c
33
_time_to_time32(time_t t)
lib/libc/stdtime/time32.c
35
return((__int32_t)t);
lib/libc/stdtime/time32.c
54
_time_to_time64(time_t t)
lib/libc/stdtime/time32.c
56
return((__int64_t)t);
lib/libc/stdtime/time32.c
64
_time_to_long(time_t t)
lib/libc/stdtime/time32.c
67
return(_time_to_time64(t));
lib/libc/stdtime/time32.c
68
return((long)t);
lib/libc/stdtime/time32.c
84
_time_to_int(time_t t)
lib/libc/stdtime/time32.c
87
return(_time_to_time64(t));
lib/libc/stdtime/time32.c
88
return((int)t);
lib/libc/string/bcopy.c
102
t = length / wsize;
lib/libc/string/bcopy.c
105
t = length & wmask;
lib/libc/string/bcopy.c
115
t = (uintptr_t)src;
lib/libc/string/bcopy.c
116
if ((t | (uintptr_t)dst) & wmask) {
lib/libc/string/bcopy.c
117
if ((t ^ (uintptr_t)dst) & wmask || length <= wsize)
lib/libc/string/bcopy.c
118
t = length;
lib/libc/string/bcopy.c
120
t &= wmask;
lib/libc/string/bcopy.c
121
length -= t;
lib/libc/string/bcopy.c
124
t = length / wsize;
lib/libc/string/bcopy.c
127
t = length & wmask;
lib/libc/string/bcopy.c
71
size_t t;
lib/libc/string/bcopy.c
79
#define TLOOP(s) if (t) TLOOP1(s)
lib/libc/string/bcopy.c
80
#define TLOOP1(s) do { s; } while (--t)
lib/libc/string/bcopy.c
86
t = (uintptr_t)src; /* only need low bits */
lib/libc/string/bcopy.c
87
if ((t | (uintptr_t)dst) & wmask) {
lib/libc/string/bcopy.c
92
if ((t ^ (uintptr_t)dst) & wmask || length < wsize)
lib/libc/string/bcopy.c
93
t = length;
lib/libc/string/bcopy.c
95
t = wsize - (t & wmask);
lib/libc/string/bcopy.c
96
length -= t;
lib/libc/string/memccpy.c
35
memccpy(void * restrict t, const void * restrict f, int c, size_t n)
lib/libc/string/memccpy.c
39
unsigned char *tp = t;
lib/libc/string/memset.c
109
if ((t = (long)dst & wmask) != 0) {
lib/libc/string/memset.c
110
t = wsize - t;
lib/libc/string/memset.c
111
length -= t;
lib/libc/string/memset.c
114
} while (--t != 0);
lib/libc/string/memset.c
118
t = length / wsize;
lib/libc/string/memset.c
122
} while (--t != 0);
lib/libc/string/memset.c
125
t = length & wmask;
lib/libc/string/memset.c
126
if (t != 0)
lib/libc/string/memset.c
129
} while (--t != 0);
lib/libc/string/memset.c
66
size_t t;
lib/libc/string/strerror.c
61
char *t;
lib/libc/string/strerror.c
65
t = tmp + sizeof(tmp);
lib/libc/string/strerror.c
66
*--t = '\0';
lib/libc/string/strerror.c
69
*--t = "0123456789"[uerr % 10];
lib/libc/string/strerror.c
72
*--t = '-';
lib/libc/string/strerror.c
73
*--t = ' ';
lib/libc/string/strerror.c
74
*--t = ':';
lib/libc/string/strerror.c
76
strlcat(buf, t, len);
lib/libc/string/strsignal.c
124
t = tmp;
lib/libc/string/strsignal.c
126
*t++ = "0123456789"[signum % 10];
lib/libc/string/strsignal.c
129
*t++ = '-';
lib/libc/string/strsignal.c
136
*p++ = *--t;
lib/libc/string/strsignal.c
137
if (t <= tmp)
lib/libc/string/strsignal.c
93
char *t, *p;
lib/libc/string/swab.c
14
char *t = to;
lib/libc/string/swab.c
26
memcpy(t, &tmp, 2);
lib/libc/string/swab.c
29
t += 2;
lib/libc/sys/pselect.c
38
pselect(int n, fd_set *rs, fd_set *ws, fd_set *es, const struct timespec *t,
lib/libc/sys/pselect.c
41
return (INTERPOS_SYS(pselect, n, rs, ws, es, t, s));
lib/libc/sys/select.c
38
select(int n, fd_set *rs, fd_set *ws, fd_set *es, struct timeval *t)
lib/libc/sys/select.c
40
return (INTERPOS_SYS(select, n, rs, ws, es, t));
lib/libc/sys/sigtimedwait.c
39
const struct timespec * __restrict t)
lib/libc/sys/sigtimedwait.c
41
return (INTERPOS_SYS(sigtimedwait, set, info, t));
lib/libc/tests/gen/fmtmsg_test.c
223
struct testcase *t;
lib/libc/tests/gen/fmtmsg_test.c
227
t = &testcases[i];
lib/libc/tests/gen/fmtmsg_test.c
228
if (t->msgverb != NULL)
lib/libc/tests/gen/fmtmsg_test.c
229
setenv("MSGVERB", t->msgverb, 1);
lib/libc/tests/gen/fmtmsg_test.c
232
result = run_test(t->classification, t->label, t->severity,
lib/libc/tests/gen/fmtmsg_test.c
233
t->text, t->action, t->tag);
lib/libc/tests/gen/fmtmsg_test.c
236
ATF_CHECK_MSG(strcmp(result, t->result) == 0,
lib/libc/tests/gen/fmtmsg_test.c
238
"`%s` != `%s`", i + 1, result, t->result);
lib/libc/tests/gen/fnmatch_test.c
100
if (result != t->result)
lib/libc/tests/gen/fnmatch_test.c
102
flags = t->flags;
lib/libc/tests/gen/fnmatch_test.c
104
if ((t->string[0] != '.' || t->pattern[0] == '.' ||
lib/libc/tests/gen/fnmatch_test.c
105
t->result == FNM_NOMATCH) &&
lib/libc/tests/gen/fnmatch_test.c
108
result = fnmatch(t->pattern, t->string, flags);
lib/libc/tests/gen/fnmatch_test.c
109
if (result != t->result)
lib/libc/tests/gen/fnmatch_test.c
111
flags = t->flags;
lib/libc/tests/gen/fnmatch_test.c
113
if ((strchr(t->string, '/') == NULL ||
lib/libc/tests/gen/fnmatch_test.c
114
t->result == FNM_NOMATCH) &&
lib/libc/tests/gen/fnmatch_test.c
117
result = fnmatch(t->pattern, t->string, flags);
lib/libc/tests/gen/fnmatch_test.c
118
if (result != t->result)
lib/libc/tests/gen/fnmatch_test.c
120
flags = t->flags;
lib/libc/tests/gen/fnmatch_test.c
122
if ((((t->string[0] != '.' || t->pattern[0] == '.') &&
lib/libc/tests/gen/fnmatch_test.c
123
strstr(t->string, "/.") == NULL) ||
lib/libc/tests/gen/fnmatch_test.c
124
t->result == FNM_NOMATCH) &&
lib/libc/tests/gen/fnmatch_test.c
127
result = fnmatch(t->pattern, t->string, flags);
lib/libc/tests/gen/fnmatch_test.c
128
if (result != t->result)
lib/libc/tests/gen/fnmatch_test.c
130
flags = t->flags;
lib/libc/tests/gen/fnmatch_test.c
132
if ((((t->string[0] != '.' || t->pattern[0] == '.') &&
lib/libc/tests/gen/fnmatch_test.c
133
strchr(t->string, '/') == NULL) ||
lib/libc/tests/gen/fnmatch_test.c
134
t->result == FNM_NOMATCH) &&
lib/libc/tests/gen/fnmatch_test.c
137
result = fnmatch(t->pattern, t->string, flags);
lib/libc/tests/gen/fnmatch_test.c
138
if (result != t->result)
lib/libc/tests/gen/fnmatch_test.c
140
flags = t->flags;
lib/libc/tests/gen/fnmatch_test.c
142
if ((strchr(t->string, '/') == NULL || t->result == 0)
lib/libc/tests/gen/fnmatch_test.c
145
result = fnmatch(t->pattern, t->string, flags);
lib/libc/tests/gen/fnmatch_test.c
146
if (result != t->result)
lib/libc/tests/gen/fnmatch_test.c
148
flags = t->flags;
lib/libc/tests/gen/fnmatch_test.c
150
if (t->result == 0 && !(flags & FNM_CASEFOLD)) {
lib/libc/tests/gen/fnmatch_test.c
152
result = fnmatch(t->pattern, t->string, flags);
lib/libc/tests/gen/fnmatch_test.c
153
if (result != t->result)
lib/libc/tests/gen/fnmatch_test.c
155
flags = t->flags;
lib/libc/tests/gen/fnmatch_test.c
157
if (strchr(t->pattern, '\\') == NULL &&
lib/libc/tests/gen/fnmatch_test.c
158
t->result == 0 &&
lib/libc/tests/gen/fnmatch_test.c
161
result = fnmatch(t->pattern, t->string, flags);
lib/libc/tests/gen/fnmatch_test.c
162
if (result != t->result)
lib/libc/tests/gen/fnmatch_test.c
164
flags = t->flags;
lib/libc/tests/gen/fnmatch_test.c
168
ATF_CHECK(result == t->result);
lib/libc/tests/gen/fnmatch_test.c
169
if (result == t->result)
lib/libc/tests/gen/fnmatch_test.c
171
t->pattern, t->string, flags_to_string(flags), result);
lib/libc/tests/gen/fnmatch_test.c
174
t->pattern, t->string, flags_to_string(flags),
lib/libc/tests/gen/fnmatch_test.c
175
t->result, result);
lib/libc/tests/gen/fnmatch_test.c
77
struct testcase *t;
lib/libc/tests/gen/fnmatch_test.c
80
t = &testcases[i];
lib/libc/tests/gen/fnmatch_test.c
81
flags = t->flags;
lib/libc/tests/gen/fnmatch_test.c
83
result = fnmatch(t->pattern, t->string, flags);
lib/libc/tests/gen/fnmatch_test.c
84
if (result != t->result)
lib/libc/tests/gen/fnmatch_test.c
86
if (strchr(t->pattern, '\\') == NULL &&
lib/libc/tests/gen/fnmatch_test.c
89
result = fnmatch(t->pattern, t->string, flags);
lib/libc/tests/gen/fnmatch_test.c
90
if (result != t->result)
lib/libc/tests/gen/fnmatch_test.c
92
flags = t->flags;
lib/libc/tests/gen/fnmatch_test.c
94
if (strchr(t->pattern, '\\') != NULL &&
lib/libc/tests/gen/fnmatch_test.c
95
strchr(t->string, '\\') == NULL &&
lib/libc/tests/gen/fnmatch_test.c
96
t->result == FNM_NOMATCH &&
lib/libc/tests/gen/fnmatch_test.c
99
result = fnmatch(t->pattern, t->string, flags);
lib/libc/tests/gen/fpsetmask_test.c
231
const struct ops *t;
lib/libc/tests/gen/fpsetmask_test.c
247
for (t = test_ops; t->op != NULL; t++) {
lib/libc/tests/gen/fpsetmask_test.c
248
(*t->op)();
lib/libc/tests/gen/fpsetmask_test.c
250
ATF_CHECK_EQ(ex1 & t->mask, t->mask);
lib/libc/tests/gen/fpsetmask_test.c
268
const struct ops *volatile t;
lib/libc/tests/gen/fpsetmask_test.c
284
for (t = test_ops; t->op != NULL; t++) {
lib/libc/tests/gen/fpsetmask_test.c
285
fpsetmask(t->mask);
lib/libc/tests/gen/fpsetmask_test.c
289
(*t->op)();
lib/libc/tests/gen/fpsetmask_test.c
294
ATF_CHECK_EQ(sicode, t->sicode);
lib/libc/tests/gen/fpsetmask_test.c
308
#define TEST(m, t) \
lib/libc/tests/gen/fpsetmask_test.c
309
ATF_TC(m##_##t); \
lib/libc/tests/gen/fpsetmask_test.c
311
ATF_TC_HEAD(m##_##t, tc) \
lib/libc/tests/gen/fpsetmask_test.c
316
___STRING(t) "values"); \
lib/libc/tests/gen/fpsetmask_test.c
319
ATF_TC_BODY(m##_##t, tc) \
lib/libc/tests/gen/fpsetmask_test.c
328
m(t##_ops); \
lib/libc/tests/gen/glob2_test.c
49
struct timespec t, t2;
lib/libc/tests/gen/glob2_test.c
77
clock_gettime(CLOCK_REALTIME, &t);
lib/libc/tests/gen/glob2_test.c
95
t2.tv_sec -= t.tv_sec;
lib/libc/tests/gen/glob2_test.c
96
t2.tv_nsec -= t.tv_nsec;
lib/libc/tests/gen/test-fnmatch.c
39
struct testcase *t;
lib/libc/tests/gen/test-fnmatch.c
56
t = &testcases[i];
lib/libc/tests/gen/test-fnmatch.c
57
if (strchr(t->pattern, '\'') != NULL ||
lib/libc/tests/gen/test-fnmatch.c
58
strchr(t->string, '\'') != NULL)
lib/libc/tests/gen/test-fnmatch.c
60
if (t->flags == 0 && strcmp(t->pattern, "\\") == 0)
lib/libc/tests/gen/test-fnmatch.c
62
if (num == 1 && t->flags == 0)
lib/libc/tests/gen/test-fnmatch.c
64
t->result == FNM_NOMATCH ? "no" : "",
lib/libc/tests/gen/test-fnmatch.c
65
t->pattern, t->string);
lib/libc/tests/gen/test-fnmatch.c
66
if (num == 2 && (t->flags == FNM_NOESCAPE ||
lib/libc/tests/gen/test-fnmatch.c
67
(t->flags == 0 && strchr(t->pattern, '\\') == NULL)))
lib/libc/tests/gen/test-fnmatch.c
69
t->result == FNM_NOMATCH ? "no" : "",
lib/libc/tests/gen/test-fnmatch.c
70
t->pattern, t->string);
lib/libc/tests/locale/iswctype_test.c
101
t = wctype(cls[i].name);
lib/libc/tests/locale/iswctype_test.c
102
ATF_REQUIRE(t != 0);
lib/libc/tests/locale/iswctype_test.c
104
ATF_REQUIRE(cls[i].func(j) == iswctype(j, t));
lib/libc/tests/locale/iswctype_test.c
106
t = wctype("elephant");
lib/libc/tests/locale/iswctype_test.c
107
ATF_REQUIRE(t == 0);
lib/libc/tests/locale/iswctype_test.c
109
ATF_REQUIRE(iswctype(i, t) == 0);
lib/libc/tests/locale/iswctype_test.c
57
static wctype_t t;
lib/libc/tests/locale/iswctype_test.c
83
t = wctype(cls[i].name);
lib/libc/tests/locale/iswctype_test.c
84
ATF_REQUIRE(t != 0);
lib/libc/tests/locale/iswctype_test.c
86
ATF_REQUIRE(cls[i].func(j) == iswctype(j, t));
lib/libc/tests/locale/iswctype_test.c
88
t = wctype("elephant");
lib/libc/tests/locale/iswctype_test.c
89
ATF_REQUIRE(t == 0);
lib/libc/tests/locale/iswctype_test.c
91
ATF_REQUIRE(iswctype(i, t) == 0);
lib/libc/tests/locale/towctrans_test.c
45
wctype_t t;
lib/libc/tests/locale/towctrans_test.c
57
t = wctrans(tran[i].name);
lib/libc/tests/locale/towctrans_test.c
58
ATF_REQUIRE(t != 0);
lib/libc/tests/locale/towctrans_test.c
60
ATF_REQUIRE(tran[i].func(j) == towctrans(j, t));
lib/libc/tests/locale/towctrans_test.c
62
t = wctrans("elephant");
lib/libc/tests/locale/towctrans_test.c
63
ATF_REQUIRE(t == 0);
lib/libc/tests/locale/towctrans_test.c
65
ATF_REQUIRE(towctrans(i, t) == i);
lib/libc/tests/locale/towctrans_test.c
70
t = wctrans(tran[i].name);
lib/libc/tests/locale/towctrans_test.c
71
ATF_REQUIRE(t != 0);
lib/libc/tests/locale/towctrans_test.c
73
ATF_REQUIRE(tran[i].func(j) == towctrans(j, t));
lib/libc/tests/locale/towctrans_test.c
75
t = wctrans("elephant");
lib/libc/tests/locale/towctrans_test.c
76
ATF_REQUIRE(t == 0);
lib/libc/tests/locale/towctrans_test.c
78
ATF_REQUIRE(towctrans(i, t) == i);
lib/libc/tests/resolv/resolv_test.c
235
pthread_t t;
lib/libc/tests/resolv/resolv_test.c
246
rc = pthread_create(&t, NULL, resolvloop, args);
lib/libc/tests/resolv/resolv_test.c
248
return t;
lib/libc/tests/stdlib/cxa_thread_atexit_test.cc
108
std::thread t([]() { f.use(); });
lib/libc/tests/stdlib/cxa_thread_atexit_test.cc
109
t.join();
lib/libc/tests/stdlib/cxa_thread_atexit_test.cc
128
std::thread t([]() { g.use(); });
lib/libc/tests/stdlib/cxa_thread_atexit_test.cc
129
t.join();
lib/libc/tests/stdlib/cxa_thread_atexit_test.cc
150
std::thread t([]() { h.use(); });
lib/libc/tests/stdlib/cxa_thread_atexit_test.cc
151
t.join();
lib/libc/tests/stdlib/cxa_thread_atexit_test.cc
170
std::thread t([]() { e.use(); });
lib/libc/tests/stdlib/cxa_thread_atexit_test.cc
171
t.join();
lib/libc/yp/yplib.c
145
time_t t;
lib/libc/yp/yplib.c
147
time(&t);
lib/libc/yp/yplib.c
150
if (t >= c->ypc_expire_t) {
lib/libcompat/4.3/rexec.c
125
for (t = toktab; t->tokstr; t++)
lib/libcompat/4.3/rexec.c
126
if (!strcmp(t->tokstr, tokval))
lib/libcompat/4.3/rexec.c
127
return (t->tval);
lib/libcompat/4.3/rexec.c
136
int t, i, c, usedefault = 0;
lib/libcompat/4.3/rexec.c
156
while ((t = token())) switch(t) {
lib/libcompat/4.3/rexec.c
181
while ((t = token()) && t != MACH && t != DEFAULT) switch(t) {
lib/libcompat/4.3/rexec.c
97
struct toktab *t;
lib/libfetch/ftp.c
403
time_t t;
lib/libfetch/ftp.c
462
t = timegm(&tm);
lib/libfetch/ftp.c
463
if (t == (time_t)-1)
lib/libfetch/ftp.c
464
t = time(NULL);
lib/libfetch/ftp.c
465
us->mtime = t;
lib/libfetch/ftp.c
466
us->atime = t;
lib/libfetch/http.c
955
int t;
lib/libfetch/http.c
963
t = (src[0] << 16) | (src[1] << 8) | src[2];
lib/libfetch/http.c
964
dst[0] = base64[(t >> 18) & 0x3f];
lib/libfetch/http.c
965
dst[1] = base64[(t >> 12) & 0x3f];
lib/libfetch/http.c
966
dst[2] = base64[(t >> 6) & 0x3f];
lib/libfetch/http.c
967
dst[3] = base64[(t >> 0) & 0x3f];
lib/libfetch/http.c
974
t = (src[0] << 16) | (src[1] << 8);
lib/libfetch/http.c
975
dst[0] = base64[(t >> 18) & 0x3f];
lib/libfetch/http.c
976
dst[1] = base64[(t >> 12) & 0x3f];
lib/libfetch/http.c
977
dst[2] = base64[(t >> 6) & 0x3f];
lib/libfetch/http.c
982
t = src[0] << 16;
lib/libfetch/http.c
983
dst[0] = base64[(t >> 18) & 0x3f];
lib/libfetch/http.c
984
dst[1] = base64[(t >> 12) & 0x3f];
lib/libgssapi/gss_acquire_cred.c
74
int t;
lib/libgssapi/gss_acquire_cred.c
76
&mechs->elements[i], _gss_mech_oids, &t);
lib/libgssapi/gss_acquire_cred.c
77
if (t)
lib/libgssapi/gss_add_oid_set_member.c
43
int t;
lib/libgssapi/gss_add_oid_set_member.c
48
member_oid, *oid_set, &t);
lib/libgssapi/gss_add_oid_set_member.c
51
if (t)
lib/libgssapi/gss_import_name.c
100
t--;
lib/libgssapi/gss_import_name.c
102
if (mech_oid.length != t)
lib/libgssapi/gss_import_name.c
107
if (len < t + 4)
lib/libgssapi/gss_import_name.c
109
p += t;
lib/libgssapi/gss_import_name.c
110
len -= t;
lib/libgssapi/gss_import_name.c
112
t = (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3];
lib/libgssapi/gss_import_name.c
116
if (len != t)
lib/libgssapi/gss_import_name.c
46
size_t t;
lib/libgssapi/gss_import_name.c
71
t = (p[0] << 8) + p[1];
lib/libgssapi/gss_import_name.c
83
t--;
lib/libgssapi/gss_import_name.c
88
t--;
lib/libgssapi/gss_import_name.c
94
t--;
lib/libgssapi/gss_mech_switch.c
127
unsigned int t;
lib/libgssapi/gss_mech_switch.c
131
for (t = number; t; t >>= 7)
lib/libiconv_modules/JOHAB/citrus_johab.c
123
ishangul(int l, int t)
lib/libiconv_modules/JOHAB/citrus_johab.c
127
((t >= 0x41 && t <= 0x7E) || (t >= 0x81 && t <= 0xFE)));
lib/libiconv_modules/JOHAB/citrus_johab.c
131
isuda(int l, int t)
lib/libiconv_modules/JOHAB/citrus_johab.c
135
((t >= 0x31 && t <= 0x7E) || (t >= 0x91 && t <= 0xFE)));
lib/libiconv_modules/JOHAB/citrus_johab.c
139
ishanja(int l, int t)
lib/libiconv_modules/JOHAB/citrus_johab.c
143
((t >= 0x31 && t <= 0x7E) || (t >= 0x91 && t <= 0xFE)));
lib/libiconv_modules/JOHAB/citrus_johab.c
153
int l, t;
lib/libiconv_modules/JOHAB/citrus_johab.c
188
t = *s0++ & 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
226
t = wc & 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
230
*s = t;
lib/libiconv_modules/JOHAB/citrus_johab.c
246
int m, l, linear, t;
lib/libiconv_modules/JOHAB/citrus_johab.c
254
t = wc & 0xFF;
lib/libiconv_modules/JOHAB/citrus_johab.c
255
if (ishangul(l, t) || isuda(l, t)) {
lib/libiconv_modules/JOHAB/citrus_johab.c
268
if (t >= 0x31 && t <= 0x7E)
lib/libiconv_modules/JOHAB/citrus_johab.c
269
linear += t - 0x31;
lib/libiconv_modules/JOHAB/citrus_johab.c
270
else if (t >= 0x91 && t <= 0xFE)
lib/libiconv_modules/JOHAB/citrus_johab.c
271
linear += t - 0x43;
lib/libiconv_modules/JOHAB/citrus_johab.c
275
t = (linear % 94) + 0x21;
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
306
t = (idx & 0xFF) - 0x21;
lib/libiconv_modules/JOHAB/citrus_johab.c
307
linear = (l * 94) + t;
lib/libiconv_modules/JOHAB/citrus_johab.c
309
t = linear % 188;
lib/libiconv_modules/JOHAB/citrus_johab.c
310
t += (t <= 0x4D) ? 0x31 : 0x43;
lib/libifconfig/libifconfig_sfp_tables.tpl.h
107
local t = string.format("uint%d_t", enum.bits)
lib/libifconfig/libifconfig_sfp_tables.tpl.h
109
{*t*} {*name*}; /**< {*enum.description*} */
lib/libipsec/pfkey_dump.c
647
str_time(time_t t)
lib/libipsec/pfkey_dump.c
651
if (t == 0) {
lib/libipsec/pfkey_dump.c
656
t0 = ctime(&t);
lib/libmd/sha1c.c
117
size_t t;
lib/libmd/sha1c.c
121
t = 64 + 56 - c->Nl % 64;
lib/libmd/sha1c.c
122
if (t > 64)
lib/libmd/sha1c.c
123
t -= 64;
lib/libmd/sha1c.c
127
be64enc(tmp + t, len);
lib/libmd/sha1c.c
128
SHA1_Update(c, tmp, t + 8);
lib/libmd/sha1c.c
152
uint32_t f, t, tmp;
lib/libmd/sha1c.c
161
t = (a << 5 | a >> 32 - 5) + f + e + w[i & 0xf] + K0;
lib/libmd/sha1c.c
166
a = t;
lib/libmd/sha1c.c
175
t = (a << 5 | a >> 32 - 5) + f + e + w[i & 0xf] + K0;
lib/libmd/sha1c.c
180
a = t;
lib/libmd/sha1c.c
189
t = (a << 5 | a >> 32 - 5) + f + e + w[i & 0xf] + K1;
lib/libmd/sha1c.c
194
a = t;
lib/libmd/sha1c.c
203
t = (a << 5 | a >> 32 - 5) + f + e + w[i & 0xf] + K2;
lib/libmd/sha1c.c
208
a = t;
lib/libmd/sha1c.c
217
t = (a << 5 | a >> 32 - 5) + f + e + w[i & 0xf] + K3;
lib/libmd/sha1c.c
222
a = t;
lib/libnetbsd/strsuftoll.c
110
long long num, t;
lib/libnetbsd/strsuftoll.c
128
t = num;
lib/libnetbsd/strsuftoll.c
130
if (t > num)
lib/libnetbsd/strsuftoll.c
135
t = num;
lib/libnetbsd/strsuftoll.c
137
if (t > num)
lib/libnetbsd/strsuftoll.c
142
t = num;
lib/libnetbsd/strsuftoll.c
144
if (t > num)
lib/libnetbsd/strsuftoll.c
149
t = num;
lib/libnetbsd/strsuftoll.c
151
if (t > num)
lib/libnetbsd/strsuftoll.c
156
t = num;
lib/libnetbsd/strsuftoll.c
158
if (t > num)
lib/libnetbsd/strsuftoll.c
163
t = num;
lib/libnetbsd/strsuftoll.c
165
if (t > num)
lib/libnetbsd/strsuftoll.c
176
t = num;
lib/libnetbsd/strsuftoll.c
180
if (t > num) {
lib/libnetbsd/sys/cdefs.h
115
#define __type_min_s(t) ((t)((1ULL << (sizeof(t) * __CHAR_BIT__ - 1))))
lib/libnetbsd/sys/cdefs.h
116
#define __type_max_s(t) ((t)~((1ULL << (sizeof(t) * __CHAR_BIT__ - 1))))
lib/libnetbsd/sys/cdefs.h
117
#define __type_min_u(t) ((t)0ULL)
lib/libnetbsd/sys/cdefs.h
118
#define __type_max_u(t) ((t)~0ULL)
lib/libnetbsd/sys/cdefs.h
119
#define __type_is_signed(t) (/*LINTED*/__type_min_s(t) + (t)1 < (t)1)
lib/libnetbsd/sys/cdefs.h
120
#define __type_min(t) (__type_is_signed(t) ? __type_min_s(t) : __type_min_u(t))
lib/libnetbsd/sys/cdefs.h
121
#define __type_max(t) (__type_is_signed(t) ? __type_max_s(t) : __type_max_u(t))
lib/libnetbsd/sys/cdefs.h
124
#define __type_fit_u(t, a) \
lib/libnetbsd/sys/cdefs.h
127
(__UINTMAX_TYPE__)__type_max_u(t)))
lib/libnetbsd/sys/cdefs.h
129
#define __type_fit_s(t, a) \
lib/libnetbsd/sys/cdefs.h
132
(__INTMAX_TYPE__)__type_min_s(t)) \
lib/libnetbsd/sys/cdefs.h
135
(__INTMAX_TYPE__)__type_max_s(t))))
lib/libnetbsd/sys/cdefs.h
140
#define __type_fit(t, a) (__type_is_signed(t) ? \
lib/libnetbsd/sys/cdefs.h
141
__type_fit_s(t, a) : __type_fit_u(t, a))
lib/libnetmap/nmreq.c
599
nmreq_find_option(struct nmreq_header *h, uint32_t t)
lib/libnetmap/nmreq.c
604
if (o->nro_reqtype == t)
lib/libopenbsd/ohash.c
100
i = h->t[j].hv % ns;
lib/libopenbsd/ohash.c
101
incr = ((h->t[j].hv % (ns - 2)) & ~1) + 1;
lib/libopenbsd/ohash.c
107
n[i].hv = h->t[j].hv;
lib/libopenbsd/ohash.c
108
n[i].p = h->t[j].p;
lib/libopenbsd/ohash.c
111
(h->info.free)(h->t, h->info.data);
lib/libopenbsd/ohash.c
112
h->t = n;
lib/libopenbsd/ohash.c
121
void *result = (void *)h->t[i].p;
lib/libopenbsd/ohash.c
129
h->t[i].p = DELETED;
lib/libopenbsd/ohash.c
139
if (h->t[i].p == DELETED)
lib/libopenbsd/ohash.c
142
return (void *)h->t[i].p;
lib/libopenbsd/ohash.c
151
if (h->t[i].p == DELETED) {
lib/libopenbsd/ohash.c
153
h->t[i].p = p;
lib/libopenbsd/ohash.c
155
h->t[i].p = p;
lib/libopenbsd/ohash.c
180
if (h->t[*pos].p != DELETED && h->t[*pos].p != NULL)
lib/libopenbsd/ohash.c
181
return (void *)h->t[(*pos)++].p;
lib/libopenbsd/ohash.c
201
h->t = (h->info.calloc)(h->size, sizeof(struct _ohash_record),
lib/libopenbsd/ohash.c
235
while (h->t[i].p != NULL) {
lib/libopenbsd/ohash.c
239
if (h->t[i].p == DELETED) {
lib/libopenbsd/ohash.c
242
} else if (h->t[i].hv == hv &&
lib/libopenbsd/ohash.c
243
strncmp(h->t[i].p+h->info.key_offset, start,
lib/libopenbsd/ohash.c
245
(h->t[i].p+h->info.key_offset)[end-start] == '\0') {
lib/libopenbsd/ohash.c
247
h->t[empty].hv = hv;
lib/libopenbsd/ohash.c
248
h->t[empty].p = h->t[i].p;
lib/libopenbsd/ohash.c
249
h->t[i].p = DELETED;
lib/libopenbsd/ohash.c
266
h->t[i].hv = hv;
lib/libopenbsd/ohash.c
282
while (h->t[i].p != NULL) {
lib/libopenbsd/ohash.c
286
if (h->t[i].p == DELETED) {
lib/libopenbsd/ohash.c
289
} else if (h->t[i].hv == hv &&
lib/libopenbsd/ohash.c
290
memcmp(h->t[i].p+h->info.key_offset, k, size) == 0) {
lib/libopenbsd/ohash.c
292
h->t[empty].hv = hv;
lib/libopenbsd/ohash.c
293
h->t[empty].p = h->t[i].p;
lib/libopenbsd/ohash.c
294
h->t[i].p = DELETED;
lib/libopenbsd/ohash.c
310
h->t[i].hv = hv;
lib/libopenbsd/ohash.c
64
(h->info.free)(h->t, h->info.data);
lib/libopenbsd/ohash.c
66
h->t = NULL;
lib/libopenbsd/ohash.c
99
if (h->t[j].p != NULL && h->t[j].p != DELETED) {
lib/libopenbsd/ohash.h
41
struct _ohash_record *t;
lib/libpam/modules/pam_lastlog/pam_lastlog.c
109
t = utx->ut_tv.tv_sec;
lib/libpam/modules/pam_lastlog/pam_lastlog.c
112
24 - 5, ctime(&t), utx->ut_host);
lib/libpam/modules/pam_lastlog/pam_lastlog.c
115
24 - 5, ctime(&t), utx->ut_line);
lib/libpam/modules/pam_lastlog/pam_lastlog.c
71
time_t t;
lib/libpfctl/libpfctl.c
1577
struct nl_parsed_timeouts *t = (struct nl_parsed_timeouts *)target;
lib/libpfctl/libpfctl.c
1580
if (t->i >= PFTM_MAX)
lib/libpfctl/libpfctl.c
1583
ret = snl_attr_get_uint32(ss, nla, NULL, &t->timeouts[t->i]);
lib/libpfctl/libpfctl.c
1585
t->i++;
lib/libpfctl/libpfctl.c
350
struct snl_uint64_array *t = (struct snl_uint64_array *)target;
lib/libpfctl/libpfctl.c
352
if (t->count >= t->max)
lib/libpfctl/libpfctl.c
359
t->array[t->count++] = value;
lib/libpfctl/libpfctl.h
590
typedef int (*pfctl_get_tstats_fn)(const struct pfr_tstats *t, void *arg);
lib/libpmc/pmu-events/jevents.c
289
#define EXPECT(e, t, m) do { if (!(e)) { \
lib/libpmc/pmu-events/jevents.c
290
jsmntok_t *loc = (t); \
lib/libpmc/pmu-events/jevents.c
291
if (!(t)->start && (t) > tokens) \
lib/libpmc/pmu-events/jevents.c
292
loc = (t) - 1; \
lib/libpmc/pmu-events/jevents.c
295
json_name(t)); \
lib/libpmc/pmu-events/json.c
132
int json_line(char *map, jsmntok_t *t)
lib/libpmc/pmu-events/json.c
134
return countchar(map, '\n', t->start) + 1;
lib/libpmc/pmu-events/json.c
147
const char *json_name(jsmntok_t *t)
lib/libpmc/pmu-events/json.c
149
return LOOKUP(jsmn_types, t->type);
lib/libpmc/pmu-events/json.c
152
int json_len(jsmntok_t *t)
lib/libpmc/pmu-events/json.c
154
return t->end - t->start;
lib/libpmc/pmu-events/json.c
158
int json_streq(char *map, jsmntok_t *t, const char *s)
lib/libpmc/pmu-events/json.c
160
unsigned len = json_len(t);
lib/libpmc/pmu-events/json.c
161
return len == strlen(s) && !strncasecmp(map + t->start, s, len);
lib/libpmc/pmu-events/json.c
164
int json_copystr(char *map, jsmntok_t *t, char *s, int len)
lib/libpmc/pmu-events/json.c
168
jlen = json_len(t);
lib/libpmc/pmu-events/json.c
172
memcpy(s, map + t->start, jlen);
lib/libpmc/pmu-events/json.h
10
int json_streq(char *map, jsmntok_t *t, const char *s);
lib/libpmc/pmu-events/json.h
11
int json_len(jsmntok_t *t);
lib/libpmc/pmu-events/json.h
12
int json_copystr(char *map, jsmntok_t *t, char *s, int len);
lib/libpmc/pmu-events/json.h
8
int json_line(char *map, jsmntok_t *t);
lib/libpmc/pmu-events/json.h
9
const char *json_name(jsmntok_t *t);
lib/librpcsec_gss/rpcsec_gss_conf.c
143
u_int t;
lib/librpcsec_gss/rpcsec_gss_conf.c
147
for (t = number; t; t >>= 7)
lib/librt/sigev_thread.c
49
#define HASH(t, id) ((((id) << 3) + (t)) % HASH_QUEUES)
lib/libsdp/search.c
277
SDP_GET8(t, rsp_tmp);
lib/libsdp/search.c
278
switch (t) {
lib/libsdp/search.c
299
SDP_GET8(t, rsp_tmp);
lib/libsdp/search.c
300
switch (t) {
lib/libsdp/search.c
322
SDP_GET8(t, rsp_tmp);
lib/libsdp/search.c
323
if (t != SDP_DATA_UINT16) {
lib/libsdp/search.c
60
int32_t t, len;
lib/libsdp/search.c
78
for (len = 0, t = 0; t < alen; t ++) {
lib/libsdp/search.c
79
lo = (uint16_t) (ap[t] >> 16);
lib/libsdp/search.c
80
hi = (uint16_t) (ap[t]);
lib/libsdp/search.c
88
len += (sizeof(ap[t]) + 1);
lib/libsys/x86/__vdso_gettc.c
236
char devname[64], *c, *c1, t;
lib/libsys/x86/__vdso_gettc.c
250
t = *c1;
lib/libsys/x86/__vdso_gettc.c
252
*c = t;
lib/libsysdecode/flags.c
1025
const struct name_table *t;
lib/libsysdecode/flags.c
1037
for (t = caprights, comma = false; t->str != NULL; t++) {
lib/libsysdecode/flags.c
1038
if (cap_rights_is_set(rightsp, t->val)) {
lib/libsysdecode/flags.c
1039
cap_rights_clear(&diff, t->val);
lib/libsysdecode/flags.c
1040
if (cap_rights_is_set(&sum, t->val)) {
lib/libsysdecode/flags.c
1044
cap_rights_set(&sum, t->val);
lib/libsysdecode/flags.c
1046
fprintf(fp, "%s%s", comma ? "," : "", t->str);
lib/libsysdecode/flags.c
1071
struct name_table *t, *q, tmp;
lib/libsysdecode/flags.c
1075
for (t = caprights, swapped = false; t->str != NULL; t++) {
lib/libsysdecode/flags.c
1076
cap_rights_init(&tr, t->val);
lib/libsysdecode/flags.c
1077
for (q = t + 1; q->str != NULL; q++) {
lib/libsysdecode/flags.c
1080
tmp = *t;
lib/libsysdecode/flags.c
1081
*t = *q;
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/libthread_db/arch/riscv/libpthread_md.c
48
memcpy(mc->mc_gpregs.gp_t, r->t, sizeof(mc->mc_gpregs.gp_t));
lib/libthread_db/arch/riscv/libpthread_md.c
66
memcpy(r->t, mc->mc_gpregs.gp_t, sizeof(mc->mc_gpregs.gp_t));
lib/libutil/ftime.c
43
struct timeval t;
lib/libutil/ftime.c
45
if (gettimeofday(&t, &tz) < 0)
lib/libutil/ftime.c
47
tbp->millitm = t.tv_usec / 1000;
lib/libutil/ftime.c
48
tbp->time = t.tv_sec;
lib/libutil/gr_util.c
171
char t;
lib/libutil/gr_util.c
253
t = *q;
lib/libutil/gr_util.c
262
*q = t;
lib/libutil/login_ok.c
216
auth_timeok(login_cap_t *lc, time_t t)
lib/libutil/login_ok.c
220
if (lc != NULL && t != (time_t)0 && t != (time_t)-1) {
lib/libutil/login_ok.c
226
if ((tptr = localtime(&t)) != NULL) {
lib/libutil/login_times.c
100
t = m;
lib/libutil/login_times.c
102
return (t);
lib/libutil/login_times.c
135
in_lt(const login_time_t *ltm, time_t *t)
lib/libutil/login_times.c
138
return (in_ltm(ltm, localtime(t), t));
lib/libutil/login_times.c
142
in_ltms(const login_time_t *ltm, struct tm *tm, time_t *t)
lib/libutil/login_times.c
147
if (in_ltm(ltm + i, tm, t))
lib/libutil/login_times.c
155
in_lts(const login_time_t *ltm, time_t *t)
lib/libutil/login_times.c
158
return (in_ltms(ltm, localtime(t), t));
lib/libutil/login_times.c
45
parse_time(char * ptr, u_short * t)
lib/libutil/login_times.c
52
*t = (u_short)((val / 100) * 60 + (val % 100));
lib/libutil/login_times.c
61
login_time_t t;
lib/libutil/login_times.c
63
memset(&t, 0, sizeof t);
lib/libutil/login_times.c
64
t.lt_dow = LTM_NONE;
lib/libutil/login_times.c
67
login_time_t m = t;
lib/libutil/pw_util.c
433
char t;
lib/libutil/pw_util.c
515
t = *q;
lib/libutil/pw_util.c
525
*q = t;
lib/libutil/tests/flopen_test.c
182
} t[] = {
lib/libutil/tests/flopen_test.c
196
nt = sizeof(t) / sizeof(*t);
lib/libutil/tests/flopen_test.c
199
if ((result = t[i].func()) != NULL)
lib/libutil/tests/flopen_test.c
201
t[i].name, result);
lib/libutil/tests/flopen_test.c
204
t[i].name);
lib/libutil/tests/pidfile_test.c
301
} t[] = {
lib/libutil/tests/pidfile_test.c
315
nt = sizeof(t) / sizeof(*t);
lib/libutil/tests/pidfile_test.c
318
if ((result = t[i].func()) != NULL)
lib/libutil/tests/pidfile_test.c
320
t[i].name, result);
lib/libutil/tests/pidfile_test.c
323
t[i].name);
lib/libvgl/vgl.h
49
#define VGLBITMAP_INITIALIZER(t, x, y, bits) \
lib/libvgl/vgl.h
50
{ (t), (x), (y), (x), (y), 0, 0, (bits), -1 }
lib/msun/bsdsrc/b_tgamma.c
228
double t, y, ym1;
lib/msun/bsdsrc/b_tgamma.c
244
t = r.a * yy.a;
lib/msun/bsdsrc/b_tgamma.c
246
r.a = (float)t;
lib/msun/bsdsrc/b_tgamma.c
247
r.b += (t - r.a);
lib/msun/bsdsrc/b_tgamma.c
262
double d, t, xhi, xlo;
lib/msun/bsdsrc/b_tgamma.c
266
t = (float)x;
lib/msun/bsdsrc/b_tgamma.c
267
d = (t + x) * (x - t);
lib/msun/bsdsrc/b_tgamma.c
268
t *= t;
lib/msun/bsdsrc/b_tgamma.c
269
xhi = (float)(t + x);
lib/msun/bsdsrc/b_tgamma.c
271
xlo += t;
lib/msun/bsdsrc/b_tgamma.c
273
t = 1 - x0;
lib/msun/bsdsrc/b_tgamma.c
274
t += x;
lib/msun/bsdsrc/b_tgamma.c
276
d -= t;
lib/msun/bsdsrc/b_tgamma.c
282
t = x - x0;
lib/msun/bsdsrc/b_tgamma.c
283
d = - x0 - t;
lib/msun/bsdsrc/b_tgamma.c
287
r = ratfun_gam(t, d);
lib/msun/ld128/e_lgammal_r.c
223
long double nadj,p,p1,p2,p3,q,r,t,w,y,z;
lib/msun/ld128/e_lgammal_r.c
248
t = sin_pil(x);
lib/msun/ld128/e_lgammal_r.c
249
if(t==zero) return one/vzero;
lib/msun/ld128/e_lgammal_r.c
250
nadj = logl(pi/fabsl(t*x));
lib/msun/ld128/e_lgammal_r.c
251
if(t<zero) *signgamp = -1;
lib/msun/ld128/e_lgammal_r.c
314
t = logl(x);
lib/msun/ld128/e_lgammal_r.c
320
r = (x-half)*(t-one)+w;
lib/msun/ld128/e_powl.c
148
long double yy1, t1, t2, r, s, t, u, v, w;
lib/msun/ld128/e_powl.c
354
t = (long double) n;
lib/msun/ld128/e_powl.c
355
t1 = (((z_h + z_l) + dp_h[k]) + t);
lib/msun/ld128/e_powl.c
360
t2 = z_l - (((t1 - t) - dp_h[k]) - z_h);
lib/msun/ld128/e_powl.c
410
t = n;
lib/msun/ld128/e_powl.c
411
p_h -= t;
lib/msun/ld128/e_powl.c
413
t = p_l + p_h;
lib/msun/ld128/e_powl.c
414
o.value = t;
lib/msun/ld128/e_powl.c
417
t = o.value;
lib/msun/ld128/e_powl.c
418
u = t * lg2_h;
lib/msun/ld128/e_powl.c
419
v = (p_l - (t - p_h)) * lg2 + t * lg2_l;
lib/msun/ld128/e_powl.c
423
t = z * z;
lib/msun/ld128/e_powl.c
424
u = PN[0] + t * (PN[1] + t * (PN[2] + t * (PN[3] + t * PN[4])));
lib/msun/ld128/e_powl.c
425
v = PD[0] + t * (PD[1] + t * (PD[2] + t * (PD[3] + t)));
lib/msun/ld128/e_powl.c
426
t1 = z - t * u / v;
lib/msun/ld128/e_rem_pio2l.h
126
t = (long double)ty[2] + ty[1];
lib/msun/ld128/e_rem_pio2l.h
127
r = t + ty[0];
lib/msun/ld128/e_rem_pio2l.h
128
w = ty[0] - (r - t);
lib/msun/ld128/e_rem_pio2l.h
61
long double z,w,t,r,fn;
lib/msun/ld128/e_rem_pio2l.h
87
t = r;
lib/msun/ld128/e_rem_pio2l.h
89
r = t-w;
lib/msun/ld128/e_rem_pio2l.h
90
w = fn*pio2_2t-((t-r)-w);
lib/msun/ld128/e_rem_pio2l.h
96
t = r; /* will cover all possible cases */
lib/msun/ld128/e_rem_pio2l.h
98
r = t-w;
lib/msun/ld128/e_rem_pio2l.h
99
w = fn*pio2_3t-((t-r)-w);
lib/msun/ld128/k_expl.h
239
long double q, r, r1, t;
lib/msun/ld128/k_expl.h
257
t = tbl[n2].lo + tbl[n2].hi;
lib/msun/ld128/k_expl.h
259
*lop = tbl[n2].lo + t * (q + r1);
lib/msun/ld128/k_tanl.c
105
long double a, t;
lib/msun/ld128/k_tanl.c
109
t = a = -1.0 / w; /* a = -1.0/w */
lib/msun/ld128/k_tanl.c
110
t = t + 0x1p32 - 0x1p32;
lib/msun/ld128/k_tanl.c
111
s = 1.0 + t * z;
lib/msun/ld128/k_tanl.c
112
return t + a * (s + t * v);
lib/msun/ld128/s_exp2l.c
356
long double r, t, twopk, twopkp10000, z;
lib/msun/ld128/s_exp2l.c
413
t = tbl[i0]; /* exp2t[i0] */
lib/msun/ld128/s_exp2l.c
415
r = t + t * z * (P1 + z * (P2 + z * (P3 + z * (P4 + z * (P5 + z * (P6
lib/msun/ld128/s_expl.c
101
RETURNI(t * twopk * twom10000);
lib/msun/ld128/s_expl.c
202
long double hx2_hi, hx2_lo, q, r, r1, t, twomk, twopk, x_hi;
lib/msun/ld128/s_expl.c
288
t = tbl[n2].lo + tbl[n2].hi;
lib/msun/ld128/s_expl.c
291
t = SUM2P(tbl[n2].hi - 1, tbl[n2].lo * (r1 + 1) + t * q +
lib/msun/ld128/s_expl.c
293
RETURNI(t);
lib/msun/ld128/s_expl.c
296
t = SUM2P(tbl[n2].hi - 2, tbl[n2].lo * (r1 + 1) + t * q +
lib/msun/ld128/s_expl.c
298
RETURNI(t / 2);
lib/msun/ld128/s_expl.c
301
t = SUM2P(tbl[n2].hi, tbl[n2].lo + t * (q + r1));
lib/msun/ld128/s_expl.c
302
RETURNI(t * twopk - 1);
lib/msun/ld128/s_expl.c
305
t = SUM2P(tbl[n2].hi, tbl[n2].lo + t * (q + r1));
lib/msun/ld128/s_expl.c
307
RETURNI(t * 2 * 0x1p16383L - 1);
lib/msun/ld128/s_expl.c
308
RETURNI(t * twopk - 1);
lib/msun/ld128/s_expl.c
315
t = SUM2P(tbl[n2].hi, tbl[n2].lo - twomk + t * (q + r1));
lib/msun/ld128/s_expl.c
317
t = SUM2P(tbl[n2].hi - twomk, tbl[n2].lo + t * (q + r1));
lib/msun/ld128/s_expl.c
318
RETURNI(t * twopk);
lib/msun/ld128/s_expl.c
61
long double hi, lo, t, twopk;
lib/msun/ld128/s_expl.c
87
t = SUM2P(hi, lo);
lib/msun/ld128/s_expl.c
96
RETURNI(t * 2 * 0x1p16383L);
lib/msun/ld128/s_expl.c
98
RETURNI(t * twopk);
lib/msun/ld128/s_tanpil.c
103
t = ar == 0 ? copysign(0., odd) : __kernel_tanpil(ar);
lib/msun/ld128/s_tanpil.c
105
t = odd / vzero;
lib/msun/ld128/s_tanpil.c
107
t = -__kernel_tanpil(1 - ar);
lib/msun/ld128/s_tanpil.c
108
return (x < 0 ? -t : t);
lib/msun/ld128/s_tanpil.c
120
t = fmodl(ax,2.L) == 0 ? 0 : copysign(0., -1.);
lib/msun/ld128/s_tanpil.c
121
return (copysignl(t, x));
lib/msun/ld128/s_tanpil.c
45
long double hi, lo, t;
lib/msun/ld128/s_tanpil.c
53
t = __kernel_tanl(hi, lo, -1);
lib/msun/ld128/s_tanpil.c
61
t = - __kernel_tanl(hi, lo, 1);
lib/msun/ld128/s_tanpil.c
63
t = 1;
lib/msun/ld128/s_tanpil.c
65
return (t);
lib/msun/ld128/s_tanpil.c
73
long double ai, ar, ax, hi, lo, t;
lib/msun/ld128/s_tanpil.c
86
t = (pi_lo + pi_hi) * lo + pi_lo * lo +
lib/msun/ld128/s_tanpil.c
88
return (t * 0x1p-113L);
lib/msun/ld128/s_tanpil.c
90
t = __kernel_tanpil(ax);
lib/msun/ld128/s_tanpil.c
92
t = 1 / vzero;
lib/msun/ld128/s_tanpil.c
94
t = -__kernel_tanpil(1 - ax);
lib/msun/ld128/s_tanpil.c
95
return (x < 0 ? -t : t);
lib/msun/ld80/b_tgammal.c
255
long double t, y, ym1;
lib/msun/ld80/b_tgammal.c
272
t = r.a * yy.a;
lib/msun/ld80/b_tgammal.c
274
r.a = (float)t;
lib/msun/ld80/b_tgammal.c
275
r.b += (t - r.a);
lib/msun/ld80/b_tgammal.c
290
long double d, rhi, rlo, t, xhi, xlo;
lib/msun/ld80/b_tgammal.c
294
t = (float)x;
lib/msun/ld80/b_tgammal.c
295
d = (t + x) * (x - t);
lib/msun/ld80/b_tgammal.c
296
t *= t;
lib/msun/ld80/b_tgammal.c
297
xhi = (float)(t + x);
lib/msun/ld80/b_tgammal.c
299
xlo += t;
lib/msun/ld80/b_tgammal.c
301
t = 1 - x0;
lib/msun/ld80/b_tgammal.c
302
t += x;
lib/msun/ld80/b_tgammal.c
304
d -= t;
lib/msun/ld80/b_tgammal.c
310
t = x - x0;
lib/msun/ld80/b_tgammal.c
311
d = - x0 - t;
lib/msun/ld80/b_tgammal.c
315
r = ratfun_gam(t, d);
lib/msun/ld80/e_lgammal_r.c
248
long double nadj,p,p1,p2,q,r,t,w,y,z;
lib/msun/ld80/e_lgammal_r.c
275
t = sin_pil(x);
lib/msun/ld80/e_lgammal_r.c
276
if(t==zero) RETURNI(one/vzero); /* -integer */
lib/msun/ld80/e_lgammal_r.c
277
nadj = logl(pi/fabsl(t*x));
lib/msun/ld80/e_lgammal_r.c
278
if(t<zero) *signgamp = -1;
lib/msun/ld80/e_lgammal_r.c
344
t = logl(x);
lib/msun/ld80/e_lgammal_r.c
348
r = (x-half)*(t-one)+w;
lib/msun/ld80/e_powl.c
513
long double t;
lib/msun/ld80/e_powl.c
515
t = ldexpl( x, LNXT );
lib/msun/ld80/e_powl.c
516
t = floorl( t );
lib/msun/ld80/e_powl.c
517
t = ldexpl( t, -LNXT );
lib/msun/ld80/e_powl.c
518
return(t);
lib/msun/ld80/e_rem_pio2l.h
105
t = r; /* will cover all possible cases */
lib/msun/ld80/e_rem_pio2l.h
107
r = t-w;
lib/msun/ld80/e_rem_pio2l.h
108
w = fn*pio2_3t-((t-r)-w);
lib/msun/ld80/e_rem_pio2l.h
73
long double z,w,t,r,fn;
lib/msun/ld80/e_rem_pio2l.h
96
t = r;
lib/msun/ld80/e_rem_pio2l.h
98
r = t-w;
lib/msun/ld80/e_rem_pio2l.h
99
w = fn*pio2_2t-((t-r)-w);
lib/msun/ld80/k_expl.h
221
long double fn, q, r, r1, r2, t, z;
lib/msun/ld80/k_expl.h
241
t = (long double)tbl[n2].lo + tbl[n2].hi;
lib/msun/ld80/k_expl.h
243
*lop = tbl[n2].lo + t * (q + r1);
lib/msun/ld80/k_tanl.c
110
long double a, t;
lib/msun/ld80/k_tanl.c
114
t = a = -1.0 / w; /* a = -1.0/w */
lib/msun/ld80/k_tanl.c
115
t = t + 0x1p32 - 0x1p32;
lib/msun/ld80/k_tanl.c
116
s = 1.0 + t * z;
lib/msun/ld80/k_tanl.c
117
return t + a * (s + t * v);
lib/msun/ld80/s_expl.c
104
RETURNI(t * 2 * 0x1p16383L);
lib/msun/ld80/s_expl.c
106
RETURNI(t * twopk);
lib/msun/ld80/s_expl.c
109
RETURNI(t * twopk * twom10000);
lib/msun/ld80/s_expl.c
160
long double fn, hx2_hi, hx2_lo, q, r, r1, r2, t, twomk, twopk, x_hi;
lib/msun/ld80/s_expl.c
241
t = (long double)tbl[n2].lo + tbl[n2].hi;
lib/msun/ld80/s_expl.c
244
t = SUM2P(tbl[n2].hi - 1, tbl[n2].lo * (r1 + 1) + t * q +
lib/msun/ld80/s_expl.c
246
RETURNI(t);
lib/msun/ld80/s_expl.c
249
t = SUM2P(tbl[n2].hi - 2, tbl[n2].lo * (r1 + 1) + t * q +
lib/msun/ld80/s_expl.c
251
RETURNI(t / 2);
lib/msun/ld80/s_expl.c
254
t = SUM2P(tbl[n2].hi, tbl[n2].lo + t * (q + r1));
lib/msun/ld80/s_expl.c
255
RETURNI(t * twopk - 1);
lib/msun/ld80/s_expl.c
258
t = SUM2P(tbl[n2].hi, tbl[n2].lo + t * (q + r1));
lib/msun/ld80/s_expl.c
260
RETURNI(t * 2 * 0x1p16383L - 1);
lib/msun/ld80/s_expl.c
261
RETURNI(t * twopk - 1);
lib/msun/ld80/s_expl.c
268
t = SUM2P(tbl[n2].hi, tbl[n2].lo - twomk + t * (q + r1));
lib/msun/ld80/s_expl.c
270
t = SUM2P(tbl[n2].hi - twomk, tbl[n2].lo + t * (q + r1));
lib/msun/ld80/s_expl.c
271
RETURNI(t * twopk);
lib/msun/ld80/s_expl.c
73
long double hi, lo, t, twopk;
lib/msun/ld80/s_expl.c
99
t = SUM2P(hi, lo);
lib/msun/ld80/s_tanpil.c
101
t = 1 / vzero;
lib/msun/ld80/s_tanpil.c
103
t = -__kernel_tanpil(1 - ax);
lib/msun/ld80/s_tanpil.c
104
RETURNI((hx & 0x8000) ? -t : t);
lib/msun/ld80/s_tanpil.c
114
t = ix == 0 ? copysignl(0, odd) : __kernel_tanpil(ax);
lib/msun/ld80/s_tanpil.c
116
t = odd / vzero;
lib/msun/ld80/s_tanpil.c
118
t = -__kernel_tanpil(1 - ax);
lib/msun/ld80/s_tanpil.c
119
RETURNI((hx & 0x8000) ? -t : t);
lib/msun/ld80/s_tanpil.c
131
t = ix >= 0x403f ? 0 : (copysignl(0, (lx & 1) ? -1 : 1));
lib/msun/ld80/s_tanpil.c
132
RETURNI((hx & 0x8000) ? -t : t);
lib/msun/ld80/s_tanpil.c
47
long double hi, lo, t;
lib/msun/ld80/s_tanpil.c
55
t = __kernel_tanl(hi, lo, -1);
lib/msun/ld80/s_tanpil.c
63
t = - __kernel_tanl(hi, lo, 1);
lib/msun/ld80/s_tanpil.c
65
t = 1;
lib/msun/ld80/s_tanpil.c
67
return (t);
lib/msun/ld80/s_tanpil.c
75
long double ax, hi, lo, odd, t;
lib/msun/ld80/s_tanpil.c
95
t = (pi_lo + pi_hi) * lo + pi_lo * hi +
lib/msun/ld80/s_tanpil.c
97
RETURNI(t * 0x1p-63L);
lib/msun/ld80/s_tanpil.c
99
t = __kernel_tanpil(ax);
lib/msun/src/catrig.c
457
double ax, ay, t;
lib/msun/src/catrig.c
464
t = ax;
lib/msun/src/catrig.c
466
ay = t;
lib/msun/src/catrigf.c
280
float ax, ay, t;
lib/msun/src/catrigf.c
287
t = ax;
lib/msun/src/catrigf.c
289
ay = t;
lib/msun/src/catrigl.c
300
long double ax, ay, t;
lib/msun/src/catrigl.c
307
t = ax;
lib/msun/src/catrigl.c
309
ay = t;
lib/msun/src/e_acosh.c
40
double t;
lib/msun/src/e_acosh.c
54
t=x*x;
lib/msun/src/e_acosh.c
55
return log(2.0*x-one/(x+sqrt(t-one)));
lib/msun/src/e_acosh.c
57
t = x-one;
lib/msun/src/e_acosh.c
58
return log1p(t+sqrt(2.0*t+t*t));
lib/msun/src/e_acoshf.c
26
float t;
lib/msun/src/e_acoshf.c
39
t=x*x;
lib/msun/src/e_acoshf.c
40
return logf((float)2.0*x-one/(x+sqrtf(t-one)));
lib/msun/src/e_acoshf.c
42
t = x-one;
lib/msun/src/e_acoshf.c
43
return log1pf(t+sqrtf((float)2.0*t+t*t));
lib/msun/src/e_acoshl.c
64
long double t;
lib/msun/src/e_acoshl.c
79
t=x*x;
lib/msun/src/e_acoshl.c
80
RETURNI(logl(2.0*x-one/(x+sqrtl(t-one))));
lib/msun/src/e_acoshl.c
82
t = x-one;
lib/msun/src/e_acoshl.c
83
RETURNI(log1pl(t+sqrtl(2.0*t+t*t)));
lib/msun/src/e_asin.c
102
c = (t-w*w)/(s+w);
lib/msun/src/e_asin.c
106
t = pio4_hi-(p-q);
lib/msun/src/e_asin.c
108
if(hx>0) return t; else return -t;
lib/msun/src/e_asin.c
69
double t=0.0,w,p,q,c,r,s;
lib/msun/src/e_asin.c
84
t = x*x;
lib/msun/src/e_asin.c
85
p = t*(pS0+t*(pS1+t*(pS2+t*(pS3+t*(pS4+t*pS5)))));
lib/msun/src/e_asin.c
86
q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4)));
lib/msun/src/e_asin.c
92
t = w*0.5;
lib/msun/src/e_asin.c
93
p = t*(pS0+t*(pS1+t*(pS2+t*(pS3+t*(pS4+t*pS5)))));
lib/msun/src/e_asin.c
94
q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4)));
lib/msun/src/e_asin.c
95
s = sqrt(t);
lib/msun/src/e_asin.c
98
t = pio2_hi-(2.0*(s+s*w)-pio2_lo);
lib/msun/src/e_asinf.c
41
float t,w,p,q;
lib/msun/src/e_asinf.c
53
t = x*x;
lib/msun/src/e_asinf.c
54
p = t*(pS0+t*(pS1+t*pS2));
lib/msun/src/e_asinf.c
55
q = one+t*(qS1+t*qS2);
lib/msun/src/e_asinf.c
61
t = w*(float)0.5;
lib/msun/src/e_asinf.c
62
p = t*(pS0+t*(pS1+t*pS2));
lib/msun/src/e_asinf.c
63
q = one+t*(qS1+t*qS2);
lib/msun/src/e_asinf.c
64
s = sqrt(t);
lib/msun/src/e_asinf.c
66
t = pio2-2.0*(s+s*w);
lib/msun/src/e_asinf.c
67
if(hx>0) return t; else return -t;
lib/msun/src/e_asinl.c
33
long double t=0.0,w,p,q,c,r,s;
lib/msun/src/e_asinl.c
47
t = x*x;
lib/msun/src/e_asinl.c
48
p = P(t);
lib/msun/src/e_asinl.c
49
q = Q(t);
lib/msun/src/e_asinl.c
55
t = w*0.5;
lib/msun/src/e_asinl.c
56
p = P(t);
lib/msun/src/e_asinl.c
57
q = Q(t);
lib/msun/src/e_asinl.c
58
s = sqrtl(t);
lib/msun/src/e_asinl.c
61
t = pio2_hi-(2.0*(s+s*w)-pio2_lo);
lib/msun/src/e_asinl.c
66
c = (t-w*w)/(s+w);
lib/msun/src/e_asinl.c
70
t = pio4_hi-(p-q);
lib/msun/src/e_asinl.c
72
if(expsign>0) return t; else return -t;
lib/msun/src/e_atanh.c
43
double t;
lib/msun/src/e_atanh.c
55
t = x+x;
lib/msun/src/e_atanh.c
56
t = 0.5*log1p(t+t*x/(one-x));
lib/msun/src/e_atanh.c
58
t = 0.5*log1p((x+x)/(one-x));
lib/msun/src/e_atanh.c
59
if(hx>=0) return t; else return -t;
lib/msun/src/e_atanhf.c
26
float t;
lib/msun/src/e_atanhf.c
37
t = x+x;
lib/msun/src/e_atanhf.c
38
t = (float)0.5*log1pf(t+t*x/(one-x));
lib/msun/src/e_atanhf.c
40
t = (float)0.5*log1pf((x+x)/(one-x));
lib/msun/src/e_atanhf.c
41
if(hx>=0) return t; else return -t;
lib/msun/src/e_atanhl.c
53
long double t;
lib/msun/src/e_atanhl.c
65
t = x+x;
lib/msun/src/e_atanhl.c
66
t = 0.5*log1pl(t+t*x/(one-x));
lib/msun/src/e_atanhl.c
68
t = 0.5*log1pl((x+x)/(one-x));
lib/msun/src/e_atanhl.c
69
RETURNI((hx & 0x8000) == 0 ? t : -t);
lib/msun/src/e_cosh.c
44
double t,w;
lib/msun/src/e_cosh.c
56
t = expm1(fabs(x));
lib/msun/src/e_cosh.c
57
w = one+t;
lib/msun/src/e_cosh.c
59
return one+(t*t)/(w+w);
lib/msun/src/e_cosh.c
64
t = exp(fabs(x));
lib/msun/src/e_cosh.c
65
return half*t+half/t;
lib/msun/src/e_coshf.c
24
float t,w;
lib/msun/src/e_coshf.c
35
t = expm1f(fabsf(x));
lib/msun/src/e_coshf.c
36
w = one+t;
lib/msun/src/e_coshf.c
38
return one+(t*t)/(w+w);
lib/msun/src/e_coshf.c
43
t = expf(fabsf(x));
lib/msun/src/e_coshf.c
44
return half*t+half/t;
lib/msun/src/e_exp.c
103
double y,hi=0.0,lo=0.0,c,t,twopk;
lib/msun/src/e_exp.c
130
t = k;
lib/msun/src/e_exp.c
131
hi = x - t*ln2HI[0]; /* t*ln2HI is exact here */
lib/msun/src/e_exp.c
132
lo = t*ln2LO[0];
lib/msun/src/e_exp.c
142
t = x*x;
lib/msun/src/e_exp.c
147
c = x - t*(P1+t*(P2+t*(P3+t*(P4+t*P5))));
lib/msun/src/e_expf.c
45
float y,hi=0.0,lo=0.0,c,t,twopk;
lib/msun/src/e_expf.c
69
t = k;
lib/msun/src/e_expf.c
70
hi = x - t*ln2HI[0]; /* t*ln2HI is exact here */
lib/msun/src/e_expf.c
71
lo = t*ln2LO[0];
lib/msun/src/e_expf.c
81
t = x*x;
lib/msun/src/e_expf.c
86
c = x - t*(P1+t*P2);
lib/msun/src/e_jn.c
152
double t,v;
lib/msun/src/e_jn.c
163
for(t=zero, i = 2*(n+k); i>=m; i -= 2) t = one/(i/x-t);
lib/msun/src/e_jn.c
164
a = t;
lib/msun/src/e_jn.c
195
t /= b;
lib/msun/src/e_jn.c
203
b = (t*z/b);
lib/msun/src/e_jn.c
205
b = (t*w/a);
lib/msun/src/e_jnf.c
110
float t,v;
lib/msun/src/e_jnf.c
121
for(t=zero, i = 2*(n+k); i>=m; i -= 2) t = one/(i/x-t);
lib/msun/src/e_jnf.c
122
a = t;
lib/msun/src/e_jnf.c
153
t /= b;
lib/msun/src/e_jnf.c
161
b = (t*z/b);
lib/msun/src/e_jnf.c
163
b = (t*w/a);
lib/msun/src/e_lgamma_r.c
200
double nadj,p,p1,p2,p3,q,r,t,w,y,z;
lib/msun/src/e_lgamma_r.c
224
t = sin_pi(x);
lib/msun/src/e_lgamma_r.c
225
if(t==zero) return one/vzero; /* -integer */
lib/msun/src/e_lgamma_r.c
226
nadj = log(pi/fabs(t*x));
lib/msun/src/e_lgamma_r.c
227
if(t<zero) *signgamp = -1;
lib/msun/src/e_lgamma_r.c
285
t = log(x);
lib/msun/src/e_lgamma_r.c
289
r = (x-half)*(t-one)+w;
lib/msun/src/e_lgammaf_r.c
122
float nadj,p,p1,p2,q,r,t,w,y,z;
lib/msun/src/e_lgammaf_r.c
146
t = sin_pif(x);
lib/msun/src/e_lgammaf_r.c
147
if(t==zero) return one/vzero; /* -integer */
lib/msun/src/e_lgammaf_r.c
148
nadj = logf(pi/fabsf(t*x));
lib/msun/src/e_lgammaf_r.c
149
if(t<zero) *signgamp = -1;
lib/msun/src/e_lgammaf_r.c
202
t = logf(x);
lib/msun/src/e_lgammaf_r.c
206
r = (x-half)*(t-one)+w;
lib/msun/src/e_pow.c
100
double y1,t1,t2,r,s,t,u,v,w;
lib/msun/src/e_pow.c
199
t = ax-one; /* t has 20 trailing zeros */
lib/msun/src/e_pow.c
200
w = (t*t)*(half-t*(thrd-t*qrtr));
lib/msun/src/e_pow.c
201
u = ivln2_h*t; /* ivln2_h has 21 sig. bits */
lib/msun/src/e_pow.c
202
v = t*ivln2_l-w*ivln2;
lib/msun/src/e_pow.c
250
t = n;
lib/msun/src/e_pow.c
251
t1 = (((z_h+z_l)+dp_h[k])+t);
lib/msun/src/e_pow.c
253
t2 = z_l-(((t1-t)-dp_h[k])-z_h);
lib/msun/src/e_pow.c
285
t = zero;
lib/msun/src/e_pow.c
286
SET_HIGH_WORD(t,n&~(0x000fffff>>k));
lib/msun/src/e_pow.c
289
p_h -= t;
lib/msun/src/e_pow.c
291
t = p_l+p_h;
lib/msun/src/e_pow.c
292
SET_LOW_WORD(t,0);
lib/msun/src/e_pow.c
293
u = t*lg2_h;
lib/msun/src/e_pow.c
294
v = (p_l-(t-p_h))*lg2+t*lg2_l;
lib/msun/src/e_pow.c
297
t = z*z;
lib/msun/src/e_pow.c
298
t1 = z - t*(P1+t*(P2+t*(P3+t*(P4+t*P5))));
lib/msun/src/e_powf.c
140
t = ax-1; /* t has 20 trailing zeros */
lib/msun/src/e_powf.c
141
w = (t*t)*(half-t*(thrd-t*qrtr));
lib/msun/src/e_powf.c
142
u = ivln2_h*t; /* ivln2_h has 16 sig. bits */
lib/msun/src/e_powf.c
143
v = t*ivln2_l-w*ivln2;
lib/msun/src/e_powf.c
195
t = n;
lib/msun/src/e_powf.c
196
t1 = (((z_h+z_l)+dp_h[k])+t);
lib/msun/src/e_powf.c
199
t2 = z_l-(((t1-t)-dp_h[k])-z_h);
lib/msun/src/e_powf.c
228
SET_FLOAT_WORD(t,n&~(0x007fffff>>k));
lib/msun/src/e_powf.c
231
p_h -= t;
lib/msun/src/e_powf.c
233
t = p_l+p_h;
lib/msun/src/e_powf.c
234
GET_FLOAT_WORD(is,t);
lib/msun/src/e_powf.c
235
SET_FLOAT_WORD(t,is&0xffff8000);
lib/msun/src/e_powf.c
236
u = t*lg2_h;
lib/msun/src/e_powf.c
237
v = (p_l-(t-p_h))*lg2+t*lg2_l;
lib/msun/src/e_powf.c
240
t = z*z;
lib/msun/src/e_powf.c
241
t1 = z - t*(P1+t*(P2+t*(P3+t*(P4+t*P5))));
lib/msun/src/e_powf.c
59
float y1,t1,t2,r,s,sn,t,u,v,w;
lib/msun/src/e_rem_pio2.c
137
t = r;
lib/msun/src/e_rem_pio2.c
139
r = t-w;
lib/msun/src/e_rem_pio2.c
140
w = fn*pio2_2t-((t-r)-w);
lib/msun/src/e_rem_pio2.c
145
t = r; /* will cover all possible cases */
lib/msun/src/e_rem_pio2.c
147
r = t-w;
lib/msun/src/e_rem_pio2.c
148
w = fn*pio2_3t-((t-r)-w);
lib/msun/src/e_rem_pio2.c
53
double z,w,t,r,fn;
lib/msun/src/e_sinh.c
41
double t,h;
lib/msun/src/e_sinh.c
57
t = expm1(fabs(x));
lib/msun/src/e_sinh.c
58
if(ix<0x3ff00000) return h*(2.0*t-t*t/(t+one));
lib/msun/src/e_sinh.c
59
return h*(t+t/(t+one));
lib/msun/src/e_sinhf.c
24
float t,h;
lib/msun/src/e_sinhf.c
39
t = expm1f(fabsf(x));
lib/msun/src/e_sinhf.c
40
if(ix<0x3f800000) return h*((float)2.0*t-t*t/(t+one));
lib/msun/src/e_sinhf.c
41
return h*(t+t/(t+one));
lib/msun/src/e_sqrt.c
102
int32_t ix0,s0,q,m,t,i;
lib/msun/src/e_sqrt.c
145
t = s0+r;
lib/msun/src/e_sqrt.c
146
if(t<=ix0) {
lib/msun/src/e_sqrt.c
147
s0 = t+r;
lib/msun/src/e_sqrt.c
148
ix0 -= t;
lib/msun/src/e_sqrt.c
159
t = s0;
lib/msun/src/e_sqrt.c
160
if((t<ix0)||((t==ix0)&&(t1<=ix1))) {
lib/msun/src/e_sqrt.c
163
ix0 -= t;
lib/msun/src/e_sqrtf.c
33
int32_t ix,s,q,m,t,i;
lib/msun/src/e_sqrtf.c
67
t = s+r;
lib/msun/src/e_sqrtf.c
68
if(t<=ix) {
lib/msun/src/e_sqrtf.c
69
s = t+r;
lib/msun/src/e_sqrtf.c
70
ix -= t;
lib/msun/src/k_tan.c
117
double a, t;
lib/msun/src/k_tan.c
121
t = a = -1.0 / w; /* a = -1.0/w */
lib/msun/src/k_tan.c
122
SET_LOW_WORD(t,0);
lib/msun/src/k_tan.c
123
s = 1.0 + t * z;
lib/msun/src/k_tan.c
124
return t + a * (s + t * v);
lib/msun/src/k_tanf.c
36
double z,r,w,s,t,u;
lib/msun/src/k_tanf.c
54
t = T[2]+z*T[3];
lib/msun/src/k_tanf.c
58
r = (x+s*u)+(s*w)*(t+w*r);
lib/msun/src/s_asinh.c
36
double t,w;
lib/msun/src/s_asinh.c
47
t = fabs(x);
lib/msun/src/s_asinh.c
48
w = log(2.0*t+one/(sqrt(x*x+one)+t));
lib/msun/src/s_asinh.c
50
t = x*x;
lib/msun/src/s_asinh.c
51
w =log1p(fabs(x)+t/(one+sqrt(one+t)));
lib/msun/src/s_asinhf.c
27
float t,w;
lib/msun/src/s_asinhf.c
38
t = fabsf(x);
lib/msun/src/s_asinhf.c
39
w = logf((float)2.0*t+one/(sqrtf(x*x+one)+t));
lib/msun/src/s_asinhf.c
41
t = x*x;
lib/msun/src/s_asinhf.c
42
w =log1pf(fabsf(x)+t/(one+sqrtf(one+t)));
lib/msun/src/s_asinhl.c
67
long double t, w;
lib/msun/src/s_asinhl.c
80
t = fabsl(x);
lib/msun/src/s_asinhl.c
81
w = logl(2.0*t+one/(sqrtl(x*x+one)+t));
lib/msun/src/s_asinhl.c
83
t = x*x;
lib/msun/src/s_asinhl.c
84
w =log1pl(fabsl(x)+t/(one+sqrtl(one+t)));
lib/msun/src/s_cbrt.c
100
t=u.value;
lib/msun/src/s_cbrt.c
103
s=t*t; /* t*t is exact */
lib/msun/src/s_cbrt.c
105
w=t+t; /* t+t is exact */
lib/msun/src/s_cbrt.c
106
r=(r-t)/(w+r); /* r-t is exact; w+r ~= 3*t */
lib/msun/src/s_cbrt.c
107
t=t+t*r; /* error <= (0.5 + 0.5/3) * ulp */
lib/msun/src/s_cbrt.c
109
return(t);
lib/msun/src/s_cbrt.c
41
double r,s,t=0.0,w;
lib/msun/src/s_cbrt.c
68
SET_HIGH_WORD(t,0x43500000); /* set t= 2**54 */
lib/msun/src/s_cbrt.c
69
t*=x;
lib/msun/src/s_cbrt.c
70
GET_HIGH_WORD(high,t);
lib/msun/src/s_cbrt.c
71
INSERT_WORDS(t,sign|((high&0x7fffffff)/3+B2),0);
lib/msun/src/s_cbrt.c
73
INSERT_WORDS(t,sign|(hx/3+B1),0);
lib/msun/src/s_cbrt.c
85
r=(t*t)*(t/x);
lib/msun/src/s_cbrt.c
86
t=t*((P0+r*(P1+r*P2))+((r*r)*r)*(P3+r*P4));
lib/msun/src/s_cbrt.c
98
u.value=t;
lib/msun/src/s_cbrtf.c
31
float t;
lib/msun/src/s_cbrtf.c
45
SET_FLOAT_WORD(t,0x4b800000); /* set t= 2**24 */
lib/msun/src/s_cbrtf.c
46
t*=x;
lib/msun/src/s_cbrtf.c
47
GET_FLOAT_WORD(high,t);
lib/msun/src/s_cbrtf.c
48
SET_FLOAT_WORD(t,sign|((high&0x7fffffff)/3+B2));
lib/msun/src/s_cbrtf.c
50
SET_FLOAT_WORD(t,sign|(hx/3+B1));
lib/msun/src/s_cbrtf.c
57
T=t;
lib/msun/src/s_cbrtl.c
113
t = dt + vd - 0x1.0p32;
lib/msun/src/s_cbrtl.c
123
t = dt + 0x2.0p-46 + 0x1.0p60L - 0x1.0p60;
lib/msun/src/s_cbrtl.c
132
s=t*t; /* t*t is exact */
lib/msun/src/s_cbrtl.c
134
w=t+t; /* t+t is exact */
lib/msun/src/s_cbrtl.c
135
r=(r-t)/(w+r); /* r-t is exact; w+r ~= 3*t */
lib/msun/src/s_cbrtl.c
136
t=t+t*r; /* error <= (0.5 + 0.5/3) * ulp */
lib/msun/src/s_cbrtl.c
138
t *= v.e;
lib/msun/src/s_cbrtl.c
139
RETURNI(t);
lib/msun/src/s_cbrtl.c
35
long double r, s, t, w;
lib/msun/src/s_clog.c
100
axh = (double)(ax - t) + t;
lib/msun/src/s_clog.c
104
t = (double)(ay * (0x1p27 + 1));
lib/msun/src/s_clog.c
105
ayh = (double)(ay - t) + t;
lib/msun/src/s_clog.c
145
t = ax2l + sl;
lib/msun/src/s_clog.c
146
_2sumF(sh, t);
lib/msun/src/s_clog.c
147
return (CMPLX(log1p(ay2l + t + sh) / 2, v));
lib/msun/src/s_clog.c
45
double_t ax, ax2h, ax2l, axh, axl, ay, ay2h, ay2l, ayh, ayl, sh, sl, t;
lib/msun/src/s_clog.c
57
t = ax;
lib/msun/src/s_clog.c
59
ay = t;
lib/msun/src/s_clog.c
99
t = (double)(ax * (0x1p27 + 1));
lib/msun/src/s_clogf.c
100
axh = (float)(ax - t) + t;
lib/msun/src/s_clogf.c
104
t = (float)(ay * (0x1p12F + 1));
lib/msun/src/s_clogf.c
105
ayh = (float)(ay - t) + t;
lib/msun/src/s_clogf.c
145
t = ax2l + sl;
lib/msun/src/s_clogf.c
146
_2sumF(sh, t);
lib/msun/src/s_clogf.c
147
return (CMPLXF(log1pf(ay2l + t + sh) / 2, v));
lib/msun/src/s_clogf.c
45
float_t ax, ax2h, ax2l, axh, axl, ay, ay2h, ay2l, ayh, ayl, sh, sl, t;
lib/msun/src/s_clogf.c
57
t = ax;
lib/msun/src/s_clogf.c
59
ay = t;
lib/msun/src/s_clogf.c
99
t = (float)(ax * (0x1p12F + 1));
lib/msun/src/s_clogl.c
116
t = (long double)(ax * (MULT_REDUX + 1));
lib/msun/src/s_clogl.c
117
axh = (long double)(ax - t) + t;
lib/msun/src/s_clogl.c
121
t = (long double)(ay * (MULT_REDUX + 1));
lib/msun/src/s_clogl.c
122
ayh = (long double)(ay - t) + t;
lib/msun/src/s_clogl.c
162
t = ax2l + sl;
lib/msun/src/s_clogl.c
163
_2sumF(sh, t);
lib/msun/src/s_clogl.c
164
RETURNI(CMPLXL(log1pl(ay2l + t + sh) / 2, v));
lib/msun/src/s_clogl.c
60
long double sh, sl, t;
lib/msun/src/s_clogl.c
74
t = ax;
lib/msun/src/s_clogl.c
76
ay = t;
lib/msun/src/s_csqrt.c
100
ry = scale * b / (2 * t);
lib/msun/src/s_csqrt.c
102
t = sqrt((-a + hypot(a, b)) * 0.5);
lib/msun/src/s_csqrt.c
103
rx = scale * fabs(b) / (2 * t);
lib/msun/src/s_csqrt.c
104
ry = copysign(scale * t, b);
lib/msun/src/s_csqrt.c
42
double a, b, rx, ry, scale, t;
lib/msun/src/s_csqrt.c
53
t = (b - b) / (b - b); /* raise invalid if b is not a NaN */
lib/msun/src/s_csqrt.c
54
return (CMPLX(a + 0.0L + t, a + 0.0L + t)); /* NaN + NaN i */
lib/msun/src/s_csqrt.c
69
t = (a - a) / (a - a); /* raise invalid */
lib/msun/src/s_csqrt.c
70
return (CMPLX(b + 0.0L + t, b + 0.0L + t)); /* NaN + NaN i */
lib/msun/src/s_csqrt.c
98
t = sqrt((a + hypot(a, b)) * 0.5);
lib/msun/src/s_csqrt.c
99
rx = scale * t;
lib/msun/src/s_csqrtf.c
37
double t;
lib/msun/src/s_csqrtf.c
49
t = (b - b) / (b - b); /* raise invalid if b is not a NaN */
lib/msun/src/s_csqrtf.c
50
return (CMPLXF(a + 0.0L + t, a + 0.0L + t)); /* NaN + NaN i */
lib/msun/src/s_csqrtf.c
65
t = (a - a) / (a - a); /* raise invalid */
lib/msun/src/s_csqrtf.c
66
return (CMPLXF(b + 0.0L + t, b + 0.0L + t)); /* NaN + NaN i */
lib/msun/src/s_csqrtf.c
75
t = sqrt((a + hypot(a, b)) * 0.5);
lib/msun/src/s_csqrtf.c
76
return (CMPLXF(t, b / (2 * t)));
lib/msun/src/s_csqrtf.c
78
t = sqrt((-a + hypot(a, b)) * 0.5);
lib/msun/src/s_csqrtf.c
79
return (CMPLXF(fabsf(b) / (2 * t), copysignf(t, b)));
lib/msun/src/s_csqrtl.c
113
t = sqrtl((a + hypotl(a, b)) * 0.5);
lib/msun/src/s_csqrtl.c
114
rx = scale * t;
lib/msun/src/s_csqrtl.c
115
ry = scale * b / (2 * t);
lib/msun/src/s_csqrtl.c
117
t = sqrtl((-a + hypotl(a, b)) * 0.5);
lib/msun/src/s_csqrtl.c
118
rx = scale * fabsl(b) / (2 * t);
lib/msun/src/s_csqrtl.c
119
ry = copysignl(scale * t, b);
lib/msun/src/s_csqrtl.c
57
long double a, b, rx, ry, scale, t;
lib/msun/src/s_csqrtl.c
68
t = (b - b) / (b - b); /* raise invalid if b is not a NaN */
lib/msun/src/s_csqrtl.c
69
return (CMPLXL(a + 0.0L + t, a + 0.0L + t)); /* NaN + NaN i */
lib/msun/src/s_csqrtl.c
84
t = (a - a) / (a - a); /* raise invalid */
lib/msun/src/s_csqrtl.c
85
return (CMPLXL(b + 0.0L + t, b + 0.0L + t)); /* NaN + NaN i */
lib/msun/src/s_ctanh.c
131
t = tan(y);
lib/msun/src/s_ctanh.c
132
beta = 1.0 + t * t; /* = 1 / cos^2(y) */
lib/msun/src/s_ctanh.c
136
return (CMPLX((beta * rho * s) / denom, t / denom));
lib/msun/src/s_ctanh.c
77
double t, beta, s, rho, denom;
lib/msun/src/s_ctanhf.c
42
float t, beta, s, rho, denom;
lib/msun/src/s_ctanhf.c
69
t = tanf(y);
lib/msun/src/s_ctanhf.c
70
beta = 1.0 + t * t;
lib/msun/src/s_ctanhf.c
74
return (CMPLXF((beta * rho * s) / denom, t / denom));
lib/msun/src/s_exp2.c
343
double r, t, twopk, twopkp1000, z;
lib/msun/src/s_exp2.c
367
STRICT_ASSIGN(double, t, x + redux);
lib/msun/src/s_exp2.c
368
GET_LOW_WORD(i0, t);
lib/msun/src/s_exp2.c
372
t -= redux;
lib/msun/src/s_exp2.c
373
z = x - t;
lib/msun/src/s_exp2.c
376
t = tbl[i0]; /* exp2t[i0] */
lib/msun/src/s_exp2.c
382
r = t + t * z * (P1 + z * (P2 + z * (P3 + z * (P4 + z * P5))));
lib/msun/src/s_exp2f.c
120
STRICT_ASSIGN(float, t, x + redux);
lib/msun/src/s_exp2f.c
121
GET_FLOAT_WORD(i0, t);
lib/msun/src/s_exp2f.c
125
t -= redux;
lib/msun/src/s_exp2f.c
126
z = x - t;
lib/msun/src/s_exp2f.c
97
float t;
lib/msun/src/s_expm1.c
131
double y,hi,lo,c,t,e,hxs,hfx,r1,twopk;
lib/msun/src/s_expm1.c
166
t = k;
lib/msun/src/s_expm1.c
167
hi = x - t*ln2_hi; /* t*ln2_hi is exact here */
lib/msun/src/s_expm1.c
168
lo = t*ln2_lo;
lib/msun/src/s_expm1.c
174
t = huge+x; /* return x with inexact flags when x!=0 */
lib/msun/src/s_expm1.c
175
return x - (t-(huge+x));
lib/msun/src/s_expm1.c
183
t = 3.0-r1*hfx;
lib/msun/src/s_expm1.c
184
e = hxs*((r1-t)/(6.0 - x*t));
lib/msun/src/s_expm1.c
201
t = one;
lib/msun/src/s_expm1.c
203
SET_HIGH_WORD(t,0x3ff00000 - (0x200000>>k)); /* t=1-2^-k */
lib/msun/src/s_expm1.c
204
y = t-(e-x);
lib/msun/src/s_expm1.c
207
SET_HIGH_WORD(t,((0x3ff-k)<<20)); /* 2^-k */
lib/msun/src/s_expm1.c
208
y = x-(e+t);
lib/msun/src/s_expm1f.c
108
t = one;
lib/msun/src/s_expm1f.c
110
SET_FLOAT_WORD(t,0x3f800000 - (0x1000000>>k)); /* t=1-2^-k */
lib/msun/src/s_expm1f.c
111
y = t-(e-x);
lib/msun/src/s_expm1f.c
114
SET_FLOAT_WORD(t,((0x7f-k)<<23)); /* 2^-k */
lib/msun/src/s_expm1f.c
115
y = x-(e+t);
lib/msun/src/s_expm1f.c
41
float y,hi,lo,c,t,e,hxs,hfx,r1,twopk;
lib/msun/src/s_expm1f.c
73
t = k;
lib/msun/src/s_expm1f.c
74
hi = x - t*ln2_hi; /* t*ln2_hi is exact here */
lib/msun/src/s_expm1f.c
75
lo = t*ln2_lo;
lib/msun/src/s_expm1f.c
81
t = huge+x; /* return x with inexact flags when x!=0 */
lib/msun/src/s_expm1f.c
82
return x - (t-(huge+x));
lib/msun/src/s_expm1f.c
90
t = (float)3.0-r1*hfx;
lib/msun/src/s_expm1f.c
91
e = hxs*((r1-t)/((float)6.0 - x*t));
lib/msun/src/s_nextafter.c
27
volatile double t;
lib/msun/src/s_nextafter.c
42
t = x*x;
lib/msun/src/s_nextafter.c
43
if(t==x) return t; else return x; /* raise underflow flag */
lib/msun/src/s_nextafter.c
65
t = x*x;
lib/msun/src/s_nextafter.c
66
if(t!=x) { /* raise underflow flag */
lib/msun/src/s_nextafterf.c
22
volatile float t;
lib/msun/src/s_nextafterf.c
36
t = x*x;
lib/msun/src/s_nextafterf.c
37
if(t==x) return t; else return x; /* raise underflow flag */
lib/msun/src/s_nextafterf.c
55
t = x*x;
lib/msun/src/s_nextafterf.c
56
if(t!=x) { /* raise underflow flag */
lib/msun/src/s_nextafterl.c
32
volatile long double t;
lib/msun/src/s_nextafterl.c
46
t = ux.e*ux.e;
lib/msun/src/s_nextafterl.c
47
if(t==ux.e) return t; else return ux.e; /* raise underflow flag */
lib/msun/src/s_nextafterl.c
67
t = ux.e * ux.e;
lib/msun/src/s_nextafterl.c
68
if(t!=ux.e) /* raise underflow flag */
lib/msun/src/s_nexttoward.c
32
volatile double t;
lib/msun/src/s_nexttoward.c
46
t = x*x;
lib/msun/src/s_nexttoward.c
47
if(t==x) return t; else return x; /* raise underflow flag */
lib/msun/src/s_nexttoward.c
59
t = x*x;
lib/msun/src/s_nexttoward.c
60
if(t!=x) { /* raise underflow flag */
lib/msun/src/s_nexttowardf.c
24
volatile float t;
lib/msun/src/s_nexttowardf.c
37
t = x*x;
lib/msun/src/s_nexttowardf.c
38
if(t==x) return t; else return x; /* raise underflow flag */
lib/msun/src/s_nexttowardf.c
47
t = x*x;
lib/msun/src/s_nexttowardf.c
48
if(t!=x) { /* raise underflow flag */
lib/msun/src/s_rint.c
38
double w,t;
lib/msun/src/s_rint.c
50
t = w-TWO52[sx];
lib/msun/src/s_rint.c
51
GET_HIGH_WORD(i0,t);
lib/msun/src/s_rint.c
52
SET_HIGH_WORD(t,(i0&0x7fffffff)|(sx<<31));
lib/msun/src/s_rint.c
53
return t;
lib/msun/src/s_rintf.c
32
float w,t;
lib/msun/src/s_rintf.c
40
t = w-TWO23[sx];
lib/msun/src/s_rintf.c
41
GET_FLOAT_WORD(i0,t);
lib/msun/src/s_rintf.c
42
SET_FLOAT_WORD(t,(i0&0x7fffffff)|(sx<<31));
lib/msun/src/s_rintf.c
43
return t;
lib/msun/src/s_round.c
37
double t;
lib/msun/src/s_round.c
45
t = floor(x);
lib/msun/src/s_round.c
46
if (t - x <= -0.5)
lib/msun/src/s_round.c
47
t += 1;
lib/msun/src/s_round.c
48
return (t);
lib/msun/src/s_round.c
50
t = floor(-x);
lib/msun/src/s_round.c
51
if (t + x <= -0.5)
lib/msun/src/s_round.c
52
t += 1;
lib/msun/src/s_round.c
53
return (-t);
lib/msun/src/s_roundf.c
35
float t;
lib/msun/src/s_roundf.c
43
t = floorf(x);
lib/msun/src/s_roundf.c
44
if (t - x <= -0.5F)
lib/msun/src/s_roundf.c
45
t += 1;
lib/msun/src/s_roundf.c
46
return (t);
lib/msun/src/s_roundf.c
48
t = floorf(-x);
lib/msun/src/s_roundf.c
49
if (t + x <= -0.5F)
lib/msun/src/s_roundf.c
50
t += 1;
lib/msun/src/s_roundf.c
51
return (-t);
lib/msun/src/s_roundl.c
41
long double t;
lib/msun/src/s_roundl.c
51
t = floorl(x);
lib/msun/src/s_roundl.c
52
if (t - x <= -0.5L)
lib/msun/src/s_roundl.c
53
t += 1;
lib/msun/src/s_roundl.c
54
RETURNI(t);
lib/msun/src/s_roundl.c
56
t = floorl(-x);
lib/msun/src/s_roundl.c
57
if (t + x <= -0.5L)
lib/msun/src/s_roundl.c
58
t += 1;
lib/msun/src/s_roundl.c
59
RETURNI(-t);
lib/msun/src/s_tanh.c
47
double t,z;
lib/msun/src/s_tanh.c
65
t = expm1(two*fabs(x));
lib/msun/src/s_tanh.c
66
z = one - two/(t+two);
lib/msun/src/s_tanh.c
68
t = expm1(-two*fabs(x));
lib/msun/src/s_tanh.c
69
z= -t/(t+two);
lib/msun/src/s_tanhf.c
25
float t,z;
lib/msun/src/s_tanhf.c
43
t = expm1f(two*fabsf(x));
lib/msun/src/s_tanhf.c
44
z = one - two/(t+two);
lib/msun/src/s_tanhf.c
46
t = expm1f(-two*fabsf(x));
lib/msun/src/s_tanhf.c
47
z= -t/(t+two);
lib/msun/src/s_tanpi.c
101
t = - __kernel_tan(hi, lo, -1);
lib/msun/src/s_tanpi.c
103
t = 1;
lib/msun/src/s_tanpi.c
105
return (t);
lib/msun/src/s_tanpi.c
113
double ax, hi, lo, odd, t;
lib/msun/src/s_tanpi.c
133
t = (pi_lo + pi_hi) * lo + pi_lo * hi +
lib/msun/src/s_tanpi.c
135
return (t * 0x1p-53);
lib/msun/src/s_tanpi.c
137
t = __kernel_tanpi(ax);
lib/msun/src/s_tanpi.c
139
t = 1 / vzero;
lib/msun/src/s_tanpi.c
141
t = - __kernel_tanpi(1 - ax);
lib/msun/src/s_tanpi.c
142
return ((hx & 0x80000000) ? -t : t);
lib/msun/src/s_tanpi.c
152
t = ix == 0 ? copysign(0, odd) : __kernel_tanpi(ax);
lib/msun/src/s_tanpi.c
154
t = odd / vzero;
lib/msun/src/s_tanpi.c
156
t = - __kernel_tanpi(1 - ax);
lib/msun/src/s_tanpi.c
158
return ((hx & 0x80000000) ? -t : t);
lib/msun/src/s_tanpi.c
170
t = ix >= 0x43400000 ? 0 : (copysign(0, (lx & 1) ? -1 : 1));
lib/msun/src/s_tanpi.c
171
return ((hx & 0x80000000) ? -t : t);
lib/msun/src/s_tanpi.c
85
double_t hi, lo, t;
lib/msun/src/s_tanpi.c
93
t = __kernel_tan(hi, lo, 1);
lib/msun/src/s_tanpif.c
100
return ((hx & 0x80000000) ? -t : t);
lib/msun/src/s_tanpif.c
112
t = ix >= 0x4b800000 ? 0 : (copysignf(0, (ix & 1) ? -1 : 1));
lib/msun/src/s_tanpif.c
113
return ((hx & 0x80000000) ? -t : t);
lib/msun/src/s_tanpif.c
44
float t;
lib/msun/src/s_tanpif.c
47
t = __kernel_tandf(M_PI * x, 1);
lib/msun/src/s_tanpif.c
49
t = -__kernel_tandf(M_PI * (0.5 - x), -1);
lib/msun/src/s_tanpif.c
51
t = 1;
lib/msun/src/s_tanpif.c
53
return (t);
lib/msun/src/s_tanpif.c
61
float ax, hi, lo, odd, t;
lib/msun/src/s_tanpif.c
76
t = (pi_lo + pi_hi) * lo + pi_lo * hi +
lib/msun/src/s_tanpif.c
78
return (t * 0x1p-23F);
lib/msun/src/s_tanpif.c
80
t = __kernel_tanpif(ax);
lib/msun/src/s_tanpif.c
82
t = 1 / vzero;
lib/msun/src/s_tanpif.c
84
t = - __kernel_tanpif(1 - ax);
lib/msun/src/s_tanpif.c
85
return ((hx & 0x80000000) ? -t : t);
lib/msun/src/s_tanpif.c
95
t = ix == 0 ? copysignf(0, odd) : __kernel_tanpif(ax);
lib/msun/src/s_tanpif.c
97
t = odd / vzero;
lib/msun/src/s_tanpif.c
99
t = - __kernel_tanpif(1 - ax);
libexec/bootpd/bootpd.c
738
u_int32 t = (u_int32) ntohs(bp->bp_secs);
libexec/bootpd/bootpd.c
739
if (t < hp->min_wait) {
libexec/bootpd/bootpd.c
743
t, hp->min_wait);
libexec/bootpd/dumptab.c
47
time_t t;
libexec/bootpd/dumptab.c
96
t = time(NULL);
libexec/bootpd/dumptab.c
99
fprintf(fp, "# Dump taken %s", ctime(&t));
libexec/bootpd/readfile.c
1495
char *t;
libexec/bootpd/readfile.c
1497
t = *s;
libexec/bootpd/readfile.c
1498
while (*t && (*t != ':')) {
libexec/bootpd/readfile.c
1499
t++;
libexec/bootpd/readfile.c
1501
if (*t) {
libexec/bootpd/readfile.c
1502
t++;
libexec/bootpd/readfile.c
1504
*s = t;
libexec/bootpd/readfile.c
1519
char *t;
libexec/bootpd/readfile.c
1521
t = *s;
libexec/bootpd/readfile.c
1522
while (*t && isspace(*t)) {
libexec/bootpd/readfile.c
1523
t++;
libexec/bootpd/readfile.c
1525
*s = t;
libexec/bootpd/readfile.c
1637
char *s, *t;
libexec/bootpd/readfile.c
1643
t = tmpstr;
libexec/bootpd/readfile.c
1646
(t < &tmpstr[MAXSTRINGLEN - 1]) )
libexec/bootpd/readfile.c
1647
*t++ = *s++;
libexec/bootpd/readfile.c
1648
*t = '\0';
libexec/fingerd/fingerd.c
120
char *t;
libexec/fingerd/fingerd.c
125
if ((t = malloc(sizeof(line) + 1)) == NULL)
libexec/fingerd/fingerd.c
127
memcpy(t, line, sizeof(line));
libexec/fingerd/fingerd.c
128
t[sizeof(line)] = 0;
libexec/fingerd/fingerd.c
130
if ((t = strdup(line)) == NULL)
libexec/fingerd/fingerd.c
133
for (end = t; *end; end++)
libexec/fingerd/fingerd.c
136
syslog(LOG_NOTICE, "query from %s: `%s'", rhost, t);
libexec/flua/lfbsd/lfbsd.c
60
int t;
libexec/flua/lfbsd/lfbsd.c
66
t = lua_rawgeti(L, abs_arg, i+1);
libexec/flua/lfbsd/lfbsd.c
67
if (t == LUA_TNIL)
libexec/flua/lfbsd/lfbsd.c
69
luaL_argcheck(L, t == LUA_TSTRING, arg, "expected array of strings");
libexec/getty/main.c
725
time_t t;
libexec/getty/main.c
754
t = (time_t)0;
libexec/getty/main.c
755
(void)time(&t);
libexec/getty/main.c
758
(void)strftime(db, sizeof(db), DF, localtime(&t));
libexec/getty/subr.c
226
#define SET(t, f) (t) |= (f)
libexec/getty/subr.c
227
#define CLR(t, f) (t) &= ~(f)
libexec/getty/subr.c
228
#define ISSET(t, f) ((t) & (f))
libexec/phttpget/phttpget.c
101
t += *pt++;
libexec/phttpget/phttpget.c
107
pc[j] = base64[(t >> 18) & 0x3f];
libexec/phttpget/phttpget.c
110
t <<= 6;
libexec/phttpget/phttpget.c
77
uint32_t t;
libexec/phttpget/phttpget.c
98
for (t = j = 0; j < 3; j++) {
libexec/phttpget/phttpget.c
99
t <<= 8;
libexec/rbootd/utils.c
120
GETWORD(rmp->r_brq.rmp_seqno, t);
libexec/rbootd/utils.c
125
fprintf(DbgFp," (Send Filename #%u)",t);
libexec/rbootd/utils.c
129
t, ntohs(rmp->r_brq.rmp_session),
libexec/rbootd/utils.c
138
GETWORD(rmp->r_brpl.rmp_seqno, t);
libexec/rbootd/utils.c
140
t, ntohs(rmp->r_brpl.rmp_session),
libexec/rbootd/utils.c
146
GETWORD(rmp->r_rrq.rmp_offset, t);
libexec/rbootd/utils.c
148
t, ntohs(rmp->r_rrq.rmp_session));
libexec/rbootd/utils.c
154
GETWORD(rmp->r_rrpl.rmp_offset, t);
libexec/rbootd/utils.c
156
t, ntohs(rmp->r_rrpl.rmp_session));
libexec/rbootd/utils.c
79
u_int32_t t;
libexec/rpc.rstatd/rstat_proc.c
336
register int i, j, k, t;
libexec/rpc.rstatd/rstat_proc.c
380
t = INT_MAX;
libexec/rpc.rstatd/rstat_proc.c
382
t = total_transfers;
libexec/rpc.rstatd/rstat_proc.c
383
devs[j] = t;
libexec/rtld-elf/libmap.c
203
char *cp, *f, *t, *c, *p;
libexec/rtld-elf/libmap.c
226
t = f = c = NULL;
libexec/rtld-elf/libmap.c
24
char *t;
libexec/rtld-elf/libmap.c
293
t = cp++;
libexec/rtld-elf/libmap.c
307
lmc_parse_dir(t);
libexec/rtld-elf/libmap.c
309
lmc_parse_file(t);
libexec/rtld-elf/libmap.c
311
lm_add(p, f, t);
libexec/rtld-elf/libmap.c
326
free(lm->t);
libexec/rtld-elf/libmap.c
356
lm_add(const char *p, const char *f, const char *t)
libexec/rtld-elf/libmap.c
365
dbg("%s(\"%s\", \"%s\", \"%s\")", __func__, p, f, t);
libexec/rtld-elf/libmap.c
371
if (t1 == NULL || strcmp(t1, t) != 0) {
libexec/rtld-elf/libmap.c
374
lm->t = xstrdup(t);
libexec/rtld-elf/libmap.c
384
char *t;
libexec/rtld-elf/libmap.c
389
t = lml_find(lml, f);
libexec/rtld-elf/libmap.c
390
if (t != NULL) {
libexec/rtld-elf/libmap.c
395
lm_add(NULL, f, t);
libexec/rtld-elf/libmap.c
396
return (t);
libexec/rtld-elf/libmap.c
412
char pathbuf[64], *s, *t;
libexec/rtld-elf/libmap.c
420
t = lm_find(p, s);
libexec/rtld-elf/libmap.c
423
return (t);
libexec/rtld-elf/libmap.c
435
return (lm->t);
libexec/tftpd/tftp-io.c
117
sleep(t);
libexec/tftpd/tftp-io.c
118
if (t < 32)
libexec/tftpd/tftp-io.c
119
t <<= 1;
libexec/tftpd/tftp-io.c
99
int t = 1;
sbin/bsdlabel/bsdlabel.c
131
FILE *t;
sbin/bsdlabel/bsdlabel.c
254
if (!(t = fopen(argv[1], "r")))
sbin/bsdlabel/bsdlabel.c
257
if (!getasciilabel(t, &lab))
sbin/camcontrol/camcontrol.c
9398
int t = -1;
sbin/camcontrol/camcontrol.c
9413
t = atoi(optarg);
sbin/camcontrol/camcontrol.c
9420
if (t == -1)
sbin/camcontrol/camcontrol.c
9425
if (t == -1)
sbin/camcontrol/camcontrol.c
9432
t = -1;
sbin/camcontrol/camcontrol.c
9435
t = -1;
sbin/camcontrol/camcontrol.c
9438
if (t < 0)
sbin/camcontrol/camcontrol.c
9440
else if (t <= (240 * 5))
sbin/camcontrol/camcontrol.c
9441
sc = (t + 4) / 5;
sbin/camcontrol/camcontrol.c
9442
else if (t <= (252 * 5))
sbin/camcontrol/camcontrol.c
9445
else if (t <= (11 * 30 * 60))
sbin/camcontrol/camcontrol.c
9446
sc = (t - 1) / (30 * 60) + 241;
sbin/dhclient/dhclient.c
2042
struct tm *t;
sbin/dhclient/dhclient.c
2087
t = gmtime(&lease->renewal);
sbin/dhclient/dhclient.c
2089
t->tm_wday, t->tm_year + 1900, t->tm_mon + 1, t->tm_mday,
sbin/dhclient/dhclient.c
2090
t->tm_hour, t->tm_min, t->tm_sec);
sbin/dhclient/dhclient.c
2091
t = gmtime(&lease->rebind);
sbin/dhclient/dhclient.c
2093
t->tm_wday, t->tm_year + 1900, t->tm_mon + 1, t->tm_mday,
sbin/dhclient/dhclient.c
2094
t->tm_hour, t->tm_min, t->tm_sec);
sbin/dhclient/dhclient.c
2095
t = gmtime(&lease->expiry);
sbin/dhclient/dhclient.c
2097
t->tm_wday, t->tm_year + 1900, t->tm_mon + 1, t->tm_mday,
sbin/dhclient/dhclient.c
2098
t->tm_hour, t->tm_min, t->tm_sec);
sbin/dhclient/dhclient.c
236
time_t t = time(NULL);
sbin/dhclient/dhclient.c
258
if (scripttime == 0 || t < scripttime + 10)
sbin/dhclient/dispatch.c
179
struct timeout *t;
sbin/dhclient/dispatch.c
182
t = timeouts;
sbin/dhclient/dispatch.c
184
(*(t->func))(t->what);
sbin/dhclient/dispatch.c
185
t->next = free_timeouts;
sbin/dhclient/dispatch.c
186
free_timeouts = t;
sbin/dhclient/dispatch.c
379
struct timeout *t, *q;
sbin/dhclient/dispatch.c
382
t = NULL;
sbin/dhclient/dispatch.c
385
if (t)
sbin/dhclient/dispatch.c
386
t->next = q->next;
sbin/dhclient/dispatch.c
391
t = q;
sbin/dhclient/dispatch.c
423
for (t = timeouts; t->next; t = t->next) {
sbin/dhclient/dispatch.c
424
if (timespeccmp(&t->next->when, &q->when, >)) {
sbin/dhclient/dispatch.c
425
q->next = t->next;
sbin/dhclient/dispatch.c
426
t->next = q;
sbin/dhclient/dispatch.c
432
t->next = q;
sbin/dhclient/dispatch.c
439
struct timeout *t, *q;
sbin/dhclient/dispatch.c
442
t = NULL;
sbin/dhclient/dispatch.c
445
if (t)
sbin/dhclient/dispatch.c
446
t->next = q->next;
sbin/dhclient/dispatch.c
451
t = q;
sbin/dhclient/errwarn.c
177
char *t = obuf;
sbin/dhclient/errwarn.c
189
prlen = snprintf(t, fmt_left, "%s",
sbin/dhclient/errwarn.c
193
t += prlen;
sbin/dhclient/errwarn.c
197
*t++ = ch;
sbin/dhclient/errwarn.c
202
*t = '\0';
sbin/dhclient/options.c
117
unsigned char *s, *t, *end = buffer + length;
sbin/dhclient/options.c
170
if (!(t = calloc(1, len + 1)))
sbin/dhclient/options.c
177
memcpy(t, &s[2], len);
sbin/dhclient/options.c
178
t[len] = 0;
sbin/dhclient/options.c
180
packet->options[code].data = t;
sbin/dhclient/options.c
187
t = calloc(1, len + packet->options[code].len + 1);
sbin/dhclient/options.c
188
if (!t)
sbin/dhclient/options.c
191
memcpy(t, packet->options[code].data,
sbin/dhclient/options.c
193
memcpy(t + packet->options[code].len,
sbin/dhclient/options.c
196
t[packet->options[code].len] = 0;
sbin/dhclient/options.c
198
packet->options[code].data = t;
sbin/dhclient/parse.c
160
unsigned char *t;
sbin/dhclient/parse.c
192
t = parse_numeric_aggregate(cfile, NULL, &hlen, COLON, 16, 8);
sbin/dhclient/parse.c
193
if (!t)
sbin/dhclient/parse.c
196
free(t);
sbin/dhclient/parse.c
200
memcpy((unsigned char *)&hardware->haddr[0], t,
sbin/dhclient/parse.c
205
free(t);
sbin/dhclient/parse.c
251
char *val, *t;
sbin/dhclient/parse.c
303
t = malloc(valsize);
sbin/dhclient/parse.c
304
if (!t)
sbin/dhclient/parse.c
306
memcpy(t, val, valsize);
sbin/dhclient/parse.c
307
c = cons(t, c);
sbin/dump/dumprmt.c
100
t.tv_sec = 0;
sbin/dump/dumprmt.c
101
t.tv_usec = 0;
sbin/dump/dumprmt.c
102
if (select(errfd + 1, &r, NULL, NULL, &t)) {
sbin/dump/dumprmt.c
96
struct timeval t;
sbin/dump/itime.c
210
time_t t = _time64_to_time(spcl.c_date);
sbin/dump/itime.c
211
tmsg = ctime(&t);
sbin/dump/main.c
419
time_t t = _time64_to_time(spcl.c_date);
sbin/dump/main.c
420
tmsg = ctime(&t);
sbin/dump/main.c
429
time_t t = _time64_to_time(spcl.c_ddate);
sbin/dump/main.c
430
tmsg = ctime(&t);
sbin/dump/traverse.c
121
#define CHANGEDSINCE(dp, t) \
sbin/dump/traverse.c
122
(DIP(dp, di_mtime) >= (t) || DIP(dp, di_ctime) >= (t))
sbin/fdisk/fdisk.c
227
get_type(int t)
sbin/fdisk/fdisk.c
231
ret = (t >= 0 && t <= 255) ? part_types[t] : NULL;
sbin/fsck_ffs/inode.c
1349
time_t t;
sbin/fsck_ffs/inode.c
1364
t = DIP(dp, di_mtime);
sbin/fsck_ffs/inode.c
1365
if ((p = ctime(&t)) != NULL)
sbin/fsck_msdosfs/dir.c
556
char *t;
sbin/fsck_msdosfs/dir.c
696
t = longName + --lidx * 13;
sbin/fsck_msdosfs/dir.c
697
for (k = 1; k < 11 && t < longName +
sbin/fsck_msdosfs/dir.c
701
*t++ = p[k];
sbin/fsck_msdosfs/dir.c
706
t[-1] = '?';
sbin/fsck_msdosfs/dir.c
709
for (k = 14; k < 26 && t < longName + sizeof(longName); k += 2) {
sbin/fsck_msdosfs/dir.c
712
*t++ = p[k];
sbin/fsck_msdosfs/dir.c
714
t[-1] = '?';
sbin/fsck_msdosfs/dir.c
717
for (k = 28; k < 32 && t < longName + sizeof(longName); k += 2) {
sbin/fsck_msdosfs/dir.c
720
*t++ = p[k];
sbin/fsck_msdosfs/dir.c
722
t[-1] = '?';
sbin/fsck_msdosfs/dir.c
724
if (t >= longName + sizeof(longName)) {
sbin/fsdb/fsdb.c
1169
struct tm t;
sbin/fsdb/fsdb.c
1194
t.tm_year = VAL();
sbin/fsdb/fsdb.c
1195
t.tm_year = VAL() + t.tm_year * 10;
sbin/fsdb/fsdb.c
1196
t.tm_year = VAL() + t.tm_year * 10;
sbin/fsdb/fsdb.c
1197
t.tm_year = VAL() + t.tm_year * 10 - 1900;
sbin/fsdb/fsdb.c
1198
t.tm_mon = VAL();
sbin/fsdb/fsdb.c
1199
t.tm_mon = VAL() + t.tm_mon * 10 - 1;
sbin/fsdb/fsdb.c
1200
t.tm_mday = VAL();
sbin/fsdb/fsdb.c
1201
t.tm_mday = VAL() + t.tm_mday * 10;
sbin/fsdb/fsdb.c
1202
t.tm_hour = VAL();
sbin/fsdb/fsdb.c
1203
t.tm_hour = VAL() + t.tm_hour * 10;
sbin/fsdb/fsdb.c
1204
t.tm_min = VAL();
sbin/fsdb/fsdb.c
1205
t.tm_min = VAL() + t.tm_min * 10;
sbin/fsdb/fsdb.c
1206
t.tm_sec = VAL();
sbin/fsdb/fsdb.c
1207
t.tm_sec = VAL() + t.tm_sec * 10;
sbin/fsdb/fsdb.c
1208
t.tm_isdst = -1;
sbin/fsdb/fsdb.c
1210
*secp = mktime(&t);
sbin/fsdb/fsdbutil.c
113
time_t t;
sbin/fsdb/fsdbutil.c
150
t = _time64_to_time(dp->dp2.di_birthtime);
sbin/fsdb/fsdbutil.c
151
p = ctime(&t);
sbin/fsdb/fsdbutil.c
156
t = _time32_to_time(dp->dp1.di_mtime);
sbin/fsdb/fsdbutil.c
158
t = _time64_to_time(dp->dp2.di_mtime);
sbin/fsdb/fsdbutil.c
159
p = ctime(&t);
sbin/fsdb/fsdbutil.c
163
t = _time32_to_time(dp->dp1.di_ctime);
sbin/fsdb/fsdbutil.c
165
t = _time64_to_time(dp->dp2.di_ctime);
sbin/fsdb/fsdbutil.c
166
p = ctime(&t);
sbin/fsdb/fsdbutil.c
170
t = _time32_to_time(dp->dp1.di_atime);
sbin/fsdb/fsdbutil.c
172
t = _time64_to_time(dp->dp2.di_atime);
sbin/fsdb/fsdbutil.c
173
p = ctime(&t);
sbin/init/init.c
2135
static char *t;
sbin/init/init.c
2140
t = p;
sbin/init/init.c
2141
if (!t)
sbin/init/init.c
2144
c = *t;
sbin/init/init.c
2146
c = *++t;
sbin/init/init.c
2148
t = 0;
sbin/init/init.c
2151
q = t;
sbin/init/init.c
2153
c = *++t;
sbin/init/init.c
2154
q = t;
sbin/init/init.c
2156
c = *++t;
sbin/init/init.c
2158
q = t = 0;
sbin/init/init.c
2160
*t++ = 0;
sbin/init/init.c
2163
c = *++t;
sbin/init/init.c
2164
*t++ = 0;
sbin/init/init.c
2166
t = 0;
sbin/ipf/ipfstat/ipfstat.c
1291
time_t t;
sbin/ipf/ipfstat/ipfstat.c
1503
t = time(NULL);
sbin/ipf/ipfstat/ipfstat.c
1504
strftime(str1, 80, "%T", localtime(&t));
sbin/ipf/iplang/iplang_y.y
1051
char *s, *t;
sbin/ipf/iplang/iplang_y.y
1054
if (!(t = strchr(flags, *s))) {
sbin/ipf/iplang/iplang_y.y
1063
flagv[t - flags]);
sbin/ipf/iplang/iplang_y.y
1242
u_char *s = (u_char *)ipbuffer, *t = (u_char *)outline;
sbin/ipf/iplang/iplang_y.y
1248
*t++ = '\n';
sbin/ipf/iplang/iplang_y.y
1249
*t = '\0';
sbin/ipf/iplang/iplang_y.y
1252
t = (u_char *)outline;
sbin/ipf/iplang/iplang_y.y
1253
*t = '\0';
sbin/ipf/iplang/iplang_y.y
1255
sprintf((char *)t, "%02x", *s & 0xff);
sbin/ipf/iplang/iplang_y.y
1256
t += 2;
sbin/ipf/iplang/iplang_y.y
1259
sprintf((char *)t, " ");
sbin/ipf/iplang/iplang_y.y
1260
t += 8;
sbin/ipf/iplang/iplang_y.y
1262
*t++ = (isprint(*s) ? *s : '.');
sbin/ipf/iplang/iplang_y.y
1267
*t++ = ' ';;
sbin/ipf/iplang/iplang_y.y
1272
*t++ = ' ';
sbin/ipf/iplang/iplang_y.y
1273
*t++ = ' ';
sbin/ipf/iplang/iplang_y.y
1274
*t++ = ' ';
sbin/ipf/iplang/iplang_y.y
1276
sprintf((char *)t, " ");
sbin/ipf/iplang/iplang_y.y
1277
t += 7;
sbin/ipf/iplang/iplang_y.y
1280
*t++ = (isprint(*s) ? *s : '.');
sbin/ipf/iplang/iplang_y.y
1281
*t++ = '\n';
sbin/ipf/iplang/iplang_y.y
1282
*t = '\0';
sbin/ipf/iplang/iplang_y.y
720
u_char *s = (u_char *)*arg, *t = (u_char *)canip->ah_data, c;
sbin/ipf/iplang/iplang_y.y
735
*t++ = (u_char)(val & 0xff);
sbin/ipf/iplang/iplang_y.y
753
*t++ = '\"';
sbin/ipf/iplang/iplang_y.y
756
*t++ = '\\';
sbin/ipf/iplang/iplang_y.y
759
*t++ = '\n';
sbin/ipf/iplang/iplang_y.y
762
*t++ = '\r';
sbin/ipf/iplang/iplang_y.y
765
*t++ = '\t';
sbin/ipf/iplang/iplang_y.y
776
*t++ = c;
sbin/ipf/iplang/iplang_y.y
779
*t++ = (u_char)(val & 0xff);
sbin/ipf/iplang/iplang_y.y
781
*t++ = '\\';
sbin/ipf/iplang/iplang_y.y
782
len = t - (u_char *)canip->ah_data;
sbin/ipf/ipmon/ipmon.c
1022
char *t, *proto;
sbin/ipf/ipmon/ipmon.c
1057
t = line;
sbin/ipf/ipmon/ipmon.c
1058
*t = '\0';
sbin/ipf/ipmon/ipmon.c
1063
(void) strftime(t, len, "%d/%m/%Y ", tm);
sbin/ipf/ipmon/ipmon.c
1064
i = strlen(t);
sbin/ipf/ipmon/ipmon.c
1066
t += i;
sbin/ipf/ipmon/ipmon.c
1068
(void) strftime(t, len, "%T", tm);
sbin/ipf/ipmon/ipmon.c
1069
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1070
sprintf(t, ".%-.6ld ", (long)ipl->ipl_usec);
sbin/ipf/ipmon/ipmon.c
1071
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1073
sprintf(t, "%dx ", ipl->ipl_count);
sbin/ipf/ipmon/ipmon.c
1074
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1081
sprintf(t, "%s", ifname);
sbin/ipf/ipmon/ipmon.c
1082
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1084
if (ISALPHA(*(t - 1))) {
sbin/ipf/ipmon/ipmon.c
1085
sprintf(t, "%d", ipf->fl_unit);
sbin/ipf/ipmon/ipmon.c
1086
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1091
strcat(t, " @-1:");
sbin/ipf/ipmon/ipmon.c
1093
(void) strcpy(t, " @0:");
sbin/ipf/ipmon/ipmon.c
1095
sprintf(t, " @%s:", ipf->fl_group);
sbin/ipf/ipmon/ipmon.c
1096
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1098
strcat(t, "-1 ");
sbin/ipf/ipmon/ipmon.c
1100
sprintf(t, "%u ", ipf->fl_rule + 1);
sbin/ipf/ipmon/ipmon.c
1101
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1106
*t++ = 'S';
sbin/ipf/ipmon/ipmon.c
1112
*t++ = 'p';
sbin/ipf/ipmon/ipmon.c
1114
*t++ = 'P';
sbin/ipf/ipmon/ipmon.c
1117
*t++ = 'b';
sbin/ipf/ipmon/ipmon.c
1119
*t++ = 'B';
sbin/ipf/ipmon/ipmon.c
1122
*t++ = 'L';
sbin/ipf/ipmon/ipmon.c
1125
*t++ = 'n';
sbin/ipf/ipmon/ipmon.c
1127
*t++ = '?';
sbin/ipf/ipmon/ipmon.c
1132
*t++ = ' ';
sbin/ipf/ipmon/ipmon.c
1133
*t = '\0';
sbin/ipf/ipmon/ipmon.c
1187
sprintf(t, "%s,%s -> ", hostname(f, s),
sbin/ipf/ipmon/ipmon.c
1189
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1190
sprintf(t, "%s,%s PR %s len %hu %hu",
sbin/ipf/ipmon/ipmon.c
1194
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1197
*t++ = ' ';
sbin/ipf/ipmon/ipmon.c
1198
*t++ = '-';
sbin/ipf/ipmon/ipmon.c
1201
*t++ = tcpfl[i].flag;
sbin/ipf/ipmon/ipmon.c
1203
sprintf(t, " %lu %lu %hu",
sbin/ipf/ipmon/ipmon.c
1207
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1210
*t = '\0';
sbin/ipf/ipmon/ipmon.c
1212
sprintf(t, "%s -> ", hostname(f, s));
sbin/ipf/ipmon/ipmon.c
1213
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1214
sprintf(t, "%s PR %s len %hu %hu",
sbin/ipf/ipmon/ipmon.c
1220
sprintf(t, "%s -> ", hostname(f, s));
sbin/ipf/ipmon/ipmon.c
1221
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1222
sprintf(t, "%s PR icmpv6 len %hu %hu icmpv6 %s",
sbin/ipf/ipmon/ipmon.c
1228
sprintf(t, "%s -> ", hostname(f, s));
sbin/ipf/ipmon/ipmon.c
1229
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1230
sprintf(t, "%s PR icmp len %hu %hu icmp %s",
sbin/ipf/ipmon/ipmon.c
1253
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1254
sprintf(t, " for %s,%s -",
sbin/ipf/ipmon/ipmon.c
1258
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1259
sprintf(t, " %s,%s PR %s len %hu %hu",
sbin/ipf/ipmon/ipmon.c
1268
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1269
sprintf(t, " for %s -",
sbin/ipf/ipmon/ipmon.c
1271
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1272
sprintf(t,
sbin/ipf/ipmon/ipmon.c
1278
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1279
sprintf(t, " for %s -",
sbin/ipf/ipmon/ipmon.c
1281
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1282
sprintf(t, " %s PR %s len %hu (%hu)",
sbin/ipf/ipmon/ipmon.c
1285
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1287
sprintf(t, "(frag %d:%hu@%hu%s%s)",
sbin/ipf/ipmon/ipmon.c
1298
sprintf(t, "%s -> ", hostname(f, s));
sbin/ipf/ipmon/ipmon.c
1299
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1300
sprintf(t, "%s PR %s len %hu (%hu)",
sbin/ipf/ipmon/ipmon.c
1302
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1304
sprintf(t, " (frag %d:%hu@%hu%s%s)",
sbin/ipf/ipmon/ipmon.c
1310
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1314
(void) strcpy(t, " K-S");
sbin/ipf/ipmon/ipmon.c
1315
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1319
(void) strcpy(t, " K-F");
sbin/ipf/ipmon/ipmon.c
1320
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1324
strcpy(t, " IN");
sbin/ipf/ipmon/ipmon.c
1326
strcpy(t, " OUT");
sbin/ipf/ipmon/ipmon.c
1327
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1329
sprintf(t, " log-tag %d", ipf->fl_logtag);
sbin/ipf/ipmon/ipmon.c
1330
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1333
strcpy(t, " nat-tag ");
sbin/ipf/ipmon/ipmon.c
1334
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1335
strncpy(t, ipf->fl_nattag.ipt_tag, sizeof(ipf->fl_nattag));
sbin/ipf/ipmon/ipmon.c
1336
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
1339
strcpy(t, " low-ttl");
sbin/ipf/ipmon/ipmon.c
1340
t += 8;
sbin/ipf/ipmon/ipmon.c
1343
strcpy(t, " OOW");
sbin/ipf/ipmon/ipmon.c
1344
t += 4;
sbin/ipf/ipmon/ipmon.c
1347
strcpy(t, " bad");
sbin/ipf/ipmon/ipmon.c
1348
t += 4;
sbin/ipf/ipmon/ipmon.c
1351
strcpy(t, " NAT");
sbin/ipf/ipmon/ipmon.c
1352
t += 4;
sbin/ipf/ipmon/ipmon.c
1355
strcpy(t, " bad-NAT");
sbin/ipf/ipmon/ipmon.c
1356
t += 8;
sbin/ipf/ipmon/ipmon.c
1359
strcpy(t, " bad-src");
sbin/ipf/ipmon/ipmon.c
1360
t += 8;
sbin/ipf/ipmon/ipmon.c
1363
strcpy(t, " multicast");
sbin/ipf/ipmon/ipmon.c
1364
t += 10;
sbin/ipf/ipmon/ipmon.c
1367
strcpy(t, " broadcast");
sbin/ipf/ipmon/ipmon.c
1368
t += 10;
sbin/ipf/ipmon/ipmon.c
1372
strcpy(t, " mbcast");
sbin/ipf/ipmon/ipmon.c
1373
t += 7;
sbin/ipf/ipmon/ipmon.c
1376
strcpy(t, " reason:");
sbin/ipf/ipmon/ipmon.c
1377
t += 8;
sbin/ipf/ipmon/ipmon.c
1378
strcpy(t, reasons[ipf->fl_breason]);
sbin/ipf/ipmon/ipmon.c
1379
t += strlen(reasons[ipf->fl_breason]);
sbin/ipf/ipmon/ipmon.c
1381
*t++ = '\n';
sbin/ipf/ipmon/ipmon.c
1382
*t++ = '\0';
sbin/ipf/ipmon/ipmon.c
552
u_char *s = (u_char *)buf, *t = (u_char *)hline;
sbin/ipf/ipmon/ipmon.c
561
*t++ = '\n';
sbin/ipf/ipmon/ipmon.c
562
*t = '\0';
sbin/ipf/ipmon/ipmon.c
567
t = (u_char *)hline;
sbin/ipf/ipmon/ipmon.c
568
*t = '\0';
sbin/ipf/ipmon/ipmon.c
570
sprintf((char *)t, "%02x", *s & 0xff);
sbin/ipf/ipmon/ipmon.c
571
t += 2;
sbin/ipf/ipmon/ipmon.c
574
sprintf((char *)t, " ");
sbin/ipf/ipmon/ipmon.c
575
t += 8;
sbin/ipf/ipmon/ipmon.c
577
*t++ = (isprint(*s) ? *s : '.');
sbin/ipf/ipmon/ipmon.c
582
*t++ = ' ';
sbin/ipf/ipmon/ipmon.c
587
*t++ = ' ';
sbin/ipf/ipmon/ipmon.c
588
*t++ = ' ';
sbin/ipf/ipmon/ipmon.c
589
*t++ = ' ';
sbin/ipf/ipmon/ipmon.c
591
sprintf((char *)t, " ");
sbin/ipf/ipmon/ipmon.c
592
t += 7;
sbin/ipf/ipmon/ipmon.c
595
*t++ = (isprint(*s) ? *s : '.');
sbin/ipf/ipmon/ipmon.c
596
*t++ = '\n';
sbin/ipf/ipmon/ipmon.c
597
*t = '\0';
sbin/ipf/ipmon/ipmon.c
612
time_t t;
sbin/ipf/ipmon/ipmon.c
614
t = sec;
sbin/ipf/ipmon/ipmon.c
615
tm = localtime(&t);
sbin/ipf/ipmon/ipmon.c
629
char *t;
sbin/ipf/ipmon/ipmon.c
631
t = line;
sbin/ipf/ipmon/ipmon.c
655
(void) strftime(t, len, "%d/%m/%Y ", tm);
sbin/ipf/ipmon/ipmon.c
656
i = strlen(t);
sbin/ipf/ipmon/ipmon.c
658
t += i;
sbin/ipf/ipmon/ipmon.c
660
(void) strftime(t, len, "%T", tm);
sbin/ipf/ipmon/ipmon.c
661
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
662
sprintf(t, ".%-.6ld @%hd ", (long)ipl->ipl_usec, nl->nl_rule + 1);
sbin/ipf/ipmon/ipmon.c
663
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
668
strcpy(t, "NAT:NEW");
sbin/ipf/ipmon/ipmon.c
672
strcpy(t, "NAT:FLUSH");
sbin/ipf/ipmon/ipmon.c
676
strcpy(t, "NAT:CLONE");
sbin/ipf/ipmon/ipmon.c
680
strcpy(t, "NAT:EXPIRE");
sbin/ipf/ipmon/ipmon.c
684
strcpy(t, "NAT:DESTROY");
sbin/ipf/ipmon/ipmon.c
688
strcpy(t, "NAT:PURGE");
sbin/ipf/ipmon/ipmon.c
692
sprintf(t, "NAT:Action(%d)", nl->nl_action);
sbin/ipf/ipmon/ipmon.c
695
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
701
strcpy(t, "-MAP ");
sbin/ipf/ipmon/ipmon.c
706
strcpy(t, "-RDR ");
sbin/ipf/ipmon/ipmon.c
711
strcpy(t, "-BIMAP ");
sbin/ipf/ipmon/ipmon.c
716
strcpy(t, "-MAPBLOCK ");
sbin/ipf/ipmon/ipmon.c
721
strcpy(t, "-RWR_MAP ");
sbin/ipf/ipmon/ipmon.c
725
strcpy(t, "-RWR_RDR ");
sbin/ipf/ipmon/ipmon.c
729
strcpy(t, "-ENC_MAP ");
sbin/ipf/ipmon/ipmon.c
733
strcpy(t, "-ENC_RDR ");
sbin/ipf/ipmon/ipmon.c
737
strcpy(t, "-DIV_MAP ");
sbin/ipf/ipmon/ipmon.c
741
strcpy(t, "-DIV_RDR ");
sbin/ipf/ipmon/ipmon.c
745
sprintf(t, "-Type(%d) ", nl->nl_type);
sbin/ipf/ipmon/ipmon.c
748
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
755
sprintf(t, "%s,%s <- -> ", hostname(family, nl->nl_osrcip.i6),
sbin/ipf/ipmon/ipmon.c
757
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
758
sprintf(t, "%s,%s ", hostname(family, nl->nl_nsrcip.i6),
sbin/ipf/ipmon/ipmon.c
760
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
761
sprintf(t, "[%s,%s] ", hostname(family, nl->nl_odstip.i6),
sbin/ipf/ipmon/ipmon.c
764
sprintf(t, "%s,%s ", hostname(family, nl->nl_osrcip.i6),
sbin/ipf/ipmon/ipmon.c
766
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
767
sprintf(t, "%s,%s <- -> ", hostname(family, nl->nl_odstip.i6),
sbin/ipf/ipmon/ipmon.c
769
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
770
sprintf(t, "%s,%s ", hostname(family, nl->nl_nsrcip.i6),
sbin/ipf/ipmon/ipmon.c
772
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
773
sprintf(t, "%s,%s ", hostname(family, nl->nl_ndstip.i6),
sbin/ipf/ipmon/ipmon.c
776
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
778
strcpy(t, getlocalproto(nl->nl_p[0]));
sbin/ipf/ipmon/ipmon.c
779
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
784
sprintf(t, " Pkts %" PRId64 "/%" PRId64 " Bytes %" PRId64 "/%"
sbin/ipf/ipmon/ipmon.c
787
sprintf(t, " Pkts %qd/%qd Bytes %qd/%qd",
sbin/ipf/ipmon/ipmon.c
790
sprintf(t, " Pkts %ld/%ld Bytes %ld/%ld",
sbin/ipf/ipmon/ipmon.c
794
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
797
*t++ = '\n';
sbin/ipf/ipmon/ipmon.c
798
*t++ = '\0';
sbin/ipf/ipmon/ipmon.c
812
char *t, *proto;
sbin/ipf/ipmon/ipmon.c
816
t = line;
sbin/ipf/ipmon/ipmon.c
838
(void) strftime(t, len, "%d/%m/%Y ", tm);
sbin/ipf/ipmon/ipmon.c
839
i = strlen(t);
sbin/ipf/ipmon/ipmon.c
841
t += i;
sbin/ipf/ipmon/ipmon.c
843
(void) strftime(t, len, "%T", tm);
sbin/ipf/ipmon/ipmon.c
844
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
845
sprintf(t, ".%-.6ld ", (long)ipl->ipl_usec);
sbin/ipf/ipmon/ipmon.c
846
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
853
strcpy(t, "STATE:NEW ");
sbin/ipf/ipmon/ipmon.c
857
strcpy(t, "STATE:CLONED ");
sbin/ipf/ipmon/ipmon.c
864
strcpy(t, "STATE:CLOSE ");
sbin/ipf/ipmon/ipmon.c
866
strcpy(t, "STATE:EXPIRE ");
sbin/ipf/ipmon/ipmon.c
870
strcpy(t, "STATE:FLUSH ");
sbin/ipf/ipmon/ipmon.c
874
strcpy(t, "STATE:INTERMEDIATE ");
sbin/ipf/ipmon/ipmon.c
878
strcpy(t, "STATE:REMOVE ");
sbin/ipf/ipmon/ipmon.c
882
strcpy(t, "STATE:KILLED ");
sbin/ipf/ipmon/ipmon.c
886
strcpy(t, "STATE:UNLOAD ");
sbin/ipf/ipmon/ipmon.c
890
sprintf(t, "Type: %d ", sl->isl_type);
sbin/ipf/ipmon/ipmon.c
893
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
898
sprintf(t, "%s,%s -> ",
sbin/ipf/ipmon/ipmon.c
901
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
902
sprintf(t, "%s,%s PR %s",
sbin/ipf/ipmon/ipmon.c
906
sprintf(t, "%s -> ", hostname(family, (u_32_t *)&sl->isl_src));
sbin/ipf/ipmon/ipmon.c
907
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
908
sprintf(t, "%s PR icmp %d",
sbin/ipf/ipmon/ipmon.c
912
sprintf(t, "%s -> ", hostname(family, (u_32_t *)&sl->isl_src));
sbin/ipf/ipmon/ipmon.c
913
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
914
sprintf(t, "%s PR icmpv6 %d",
sbin/ipf/ipmon/ipmon.c
918
sprintf(t, "%s -> ", hostname(family, (u_32_t *)&sl->isl_src));
sbin/ipf/ipmon/ipmon.c
919
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
920
sprintf(t, "%s PR %s",
sbin/ipf/ipmon/ipmon.c
923
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
925
sprintf(t, " tag %u", sl->isl_tag);
sbin/ipf/ipmon/ipmon.c
926
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
929
sprintf(t,
sbin/ipf/ipmon/ipmon.c
947
t += strlen(t);
sbin/ipf/ipmon/ipmon.c
950
*t++ = '\n';
sbin/ipf/ipmon/ipmon.c
951
*t++ = '\0';
sbin/ipf/ipnat/ipnat_y.y
1003
$$.t = FRI_LOOKUP;
sbin/ipf/ipnat/ipnat_y.y
1009
$$.t = FRI_LOOKUP;
sbin/ipf/ipnat/ipnat_y.y
1015
$$.t = FRI_LOOKUP;
sbin/ipf/ipnat/ipnat_y.y
1021
$$.t = FRI_LOOKUP;
sbin/ipf/ipnat/ipnat_y.y
607
{ $$.t = FRI_RANGE;
sbin/ipf/ipnat/ipnat_y.y
619
{ $$.t = FRI_RANGE;
sbin/ipf/ipnat/ipnat_y.y
669
$$.t = FRI_RANGE;
sbin/ipf/ipnat/ipnat_y.y
681
$$.t = FRI_RANGE;
sbin/ipf/ipnat/ipnat_y.y
695
| IPNY_DSTLIST '/' YY_NUMBER { $$.t = FRI_LOOKUP;
sbin/ipf/ipnat/ipnat_y.y
700
| IPNY_DSTLIST '/' YY_STR { $$.t = FRI_LOOKUP;
sbin/ipf/ipnat/ipnat_y.y
88
int t; /* Address type */
sbin/ipf/ipnat/ipnat_y.y
919
$$.t = FRI_NORMAL;
sbin/ipf/ipnat/ipnat_y.y
923
$$.t = FRI_NORMAL;
sbin/ipf/ipnat/ipnat_y.y
941
$$.t = FRI_NORMAL;
sbin/ipf/ipnat/ipnat_y.y
956
$$.t = FRI_NORMAL;
sbin/ipf/ipnat/ipnat_y.y
968
$$.t = FRI_NORMAL;
sbin/ipf/ipnat/ipnat_y.y
982
$$.t = FRI_NORMAL;
sbin/ipf/ipnat/ipnat_y.y
994
$$.t = FRI_NORMAL;
sbin/ipf/ipscan/ipscan_y.y
202
char c, *s, *t, *u;
sbin/ipf/ipscan/ipscan_y.y
207
t = strchr(s, c);
sbin/ipf/ipscan/ipscan_y.y
208
*t = '\0';
sbin/ipf/ipscan/ipscan_y.y
209
for (u = dst, i = 0; (i <= ISC_TLEN) && (s < t); ) {
sbin/ipf/ipscan/ipscan_y.y
212
if (s >= t)
sbin/ipf/ipscan/ipscan_y.y
249
} while ((i <= ISC_TLEN) && (s <= t) && (j > 0));
sbin/ipf/ipsend/ip.c
238
tcphdr_t *t, *t2;
sbin/ipf/ipsend/ip.c
245
t = (tcphdr_t *)((char *)ip + hlen);
sbin/ipf/ipsend/ip.c
248
thlen = TCP_OFF(t) << 2;
sbin/ipf/ipsend/ipsend.c
100
if (resolve(t, (char *)&ic->icmp_ip.ip_dst) == -1)
sbin/ipf/ipsend/ipsend.c
102
fprintf(stderr,"Cant resolve %s\n", t);
sbin/ipf/ipsend/ipsend.c
105
if ((t = strtok(NULL, ",")))
sbin/ipf/ipsend/ipsend.c
107
if (resolve(t,
sbin/ipf/ipsend/ipsend.c
110
fprintf(stderr,"Cant resolve %s\n", t);
sbin/ipf/ipsend/ipsend.c
89
char *t;
sbin/ipf/ipsend/ipsend.c
91
t = strtok(s, ",");
sbin/ipf/ipsend/ipsend.c
92
t = strtok(NULL, ",");
sbin/ipf/ipsend/ipsend.c
93
if (resolve(t, (char *)&ic->icmp_gwaddr) == -1)
sbin/ipf/ipsend/ipsend.c
95
fprintf(stderr,"Cant resolve %s\n", t);
sbin/ipf/ipsend/ipsend.c
98
if ((t = strtok(NULL, ",")))
sbin/ipf/ipsend/ipsopt.c
101
t = NULL;
sbin/ipf/ipsend/ipsopt.c
110
if ((t = strchr(class, ',')))
sbin/ipf/ipsend/ipsopt.c
111
*t = '\0';
sbin/ipf/ipsend/ipsopt.c
123
if (t)
sbin/ipf/ipsend/ipsopt.c
124
*t++ = ',';
sbin/ipf/ipsend/ipsopt.c
125
class = t;
sbin/ipf/ipsend/ipsopt.c
145
char *s, *t;
sbin/ipf/ipsend/ipsopt.c
149
if ((t = strchr(s, '=')))
sbin/ipf/ipsend/ipsopt.c
150
*t++ = '\0';
sbin/ipf/ipsend/ipsopt.c
155
if ((inc = addipopt(op, io, len, t))) {
sbin/ipf/ipsend/ipsopt.c
77
char *s = op, *t;
sbin/ipf/ipsend/iptests.c
1003
t->th_ack = htonl(0x80000000);
sbin/ipf/ipsend/iptests.c
1009
t->th_ack = htonl(0xc0000000);
sbin/ipf/ipsend/iptests.c
1015
t->th_ack = htonl(0xffffffff);
sbin/ipf/ipsend/iptests.c
1022
__tcp_set_flags(t, TH_SYN);
sbin/ipf/ipsend/iptests.c
1027
t->th_seq = htonl(0);
sbin/ipf/ipsend/iptests.c
1033
t->th_seq = htonl(0x7fff);
sbin/ipf/ipsend/iptests.c
1039
t->th_win = htons(0xffff);
sbin/ipf/ipsend/iptests.c
1075
t->th_dport = htons(i);
sbin/ipf/ipsend/iptests.c
1078
t->th_sport = sin.sin_port;
sbin/ipf/ipsend/iptests.c
1092
__tcp_set_flags(t, TH_ACK|TH_URG);
sbin/ipf/ipsend/iptests.c
1094
ntohs(t->th_sport), ntohs(t->th_dport));
sbin/ipf/ipsend/iptests.c
1095
t->th_urp = htons(1);
sbin/ipf/ipsend/iptests.c
1099
t->th_seq = htonl(tcb.snd_nxt);
sbin/ipf/ipsend/iptests.c
1101
t->th_urp = htons(0x7fff);
sbin/ipf/ipsend/iptests.c
1104
t->th_urp = htons(0x8000);
sbin/ipf/ipsend/iptests.c
1107
t->th_urp = htons(0xffff);
sbin/ipf/ipsend/iptests.c
1110
t->th_urp = 0;
sbin/ipf/ipsend/iptests.c
1111
__tcp_set_flags(t, __tcp_get_flags(t) & ~TH_URG);
sbin/ipf/ipsend/iptests.c
1119
__tcp_set_flags(t, TH_ACK);
sbin/ipf/ipsend/iptests.c
1122
TCP_OFF_A(t, ntohs(i));
sbin/ipf/ipsend/iptests.c
1136
t->th_seq = htonl(1);
sbin/ipf/ipsend/iptests.c
1137
t->th_ack = htonl(1);
sbin/ipf/ipsend/iptests.c
1138
TCP_OFF_A(t, 0);
sbin/ipf/ipsend/iptests.c
1141
__tcp_set_flags(t, TH_SYN);
sbin/ipf/ipsend/iptests.c
1147
t->th_sport = 0;
sbin/ipf/ipsend/iptests.c
1153
t->th_sport = htons(1);
sbin/ipf/ipsend/iptests.c
1159
t->th_sport = htons(32767);
sbin/ipf/ipsend/iptests.c
1165
t->th_sport = htons(32768);
sbin/ipf/ipsend/iptests.c
1171
t->th_sport = htons(65535);
sbin/ipf/ipsend/iptests.c
1178
t->th_sport = htons(1);
sbin/ipf/ipsend/iptests.c
1179
__tcp_set_flags(t, TH_SYN);
sbin/ipf/ipsend/iptests.c
1185
t->th_dport = 0;
sbin/ipf/ipsend/iptests.c
1191
t->th_dport = htons(1);
sbin/ipf/ipsend/iptests.c
1197
t->th_dport = htons(32767);
sbin/ipf/ipsend/iptests.c
1203
t->th_dport = htons(32768);
sbin/ipf/ipsend/iptests.c
1209
t->th_dport = htons(65535);
sbin/ipf/ipsend/iptests.c
1219
t->th_sport = htons(25);
sbin/ipf/ipsend/iptests.c
1220
t->th_dport = htons(25);
sbin/ipf/ipsend/iptests.c
1221
__tcp_set_flags(t, TH_SYN);
sbin/ipf/ipsend/iptests.c
901
tcphdr_t *t;
sbin/ipf/ipsend/iptests.c
904
t = (tcphdr_t *)((char *)ip + (IP_HL(ip) << 2));
sbin/ipf/ipsend/iptests.c
905
TCP_OFF_A(t, 0);
sbin/ipf/ipsend/iptests.c
906
t->th_sport = htons(1);
sbin/ipf/ipsend/iptests.c
907
t->th_dport = htons(1);
sbin/ipf/ipsend/iptests.c
908
t->th_win = htons(4096);
sbin/ipf/ipsend/iptests.c
909
t->th_urp = 0;
sbin/ipf/ipsend/iptests.c
910
t->th_sum = 0;
sbin/ipf/ipsend/iptests.c
911
t->th_seq = htonl(1);
sbin/ipf/ipsend/iptests.c
912
t->th_ack = 0;
sbin/ipf/ipsend/iptests.c
923
TCP_OFF_A(t, sizeof(*t) >> 2);
sbin/ipf/ipsend/iptests.c
926
__tcp_set_flags(t, i);
sbin/ipf/ipsend/iptests.c
936
__tcp_set_flags(t, TH_SYN);
sbin/ipf/ipsend/iptests.c
942
t->th_seq = htonl(0);
sbin/ipf/ipsend/iptests.c
948
t->th_seq = htonl(1);
sbin/ipf/ipsend/iptests.c
954
t->th_seq = htonl(0x7fffffff);
sbin/ipf/ipsend/iptests.c
960
t->th_seq = htonl(0x80000000);
sbin/ipf/ipsend/iptests.c
966
t->th_seq = htonl(0xc0000000);
sbin/ipf/ipsend/iptests.c
972
t->th_seq = htonl(0xffffffff);
sbin/ipf/ipsend/iptests.c
979
__tcp_set_flags(t, TH_ACK);
sbin/ipf/ipsend/iptests.c
985
t->th_ack = 0;
sbin/ipf/ipsend/iptests.c
991
t->th_ack = htonl(1);
sbin/ipf/ipsend/iptests.c
997
t->th_ack = htonl(0x7fffffff);
sbin/ipf/ipsend/resend.c
34
tcphdr_t *t;
sbin/ipf/ipsend/resend.c
37
t = (tcphdr_t *)((char *)ip + (IP_HL(ip) << 2));
sbin/ipf/ipsend/resend.c
46
printf(",%d", t->th_sport);
sbin/ipf/ipsend/resend.c
49
printf(",%d", t->th_dport);
sbin/ipf/ipsend/resend.c
52
(u_long)t->th_seq, (u_long)t->th_ack);
sbin/ipf/ipsend/resend.c
54
if (__tcp_get_flags(t) & i)
sbin/ipf/ipsend/sock.c
151
struct tcpcb *t;
sbin/ipf/ipsend/sock.c
186
t = NULL;
sbin/ipf/ipsend/sock.c
219
t = (struct tcpcb *)calloc(1, sizeof(*t));
sbin/ipf/ipsend/sock.c
220
if (KMCPY(t, i->inp_ppcb, sizeof(*t)) == -1)
sbin/ipf/ipsend/sock.c
223
(u_long)i->inp_ppcb, (u_long)t, (u_long)sizeof(*t));
sbin/ipf/ipsend/sock.c
237
if (t != NULL)
sbin/ipf/ipsend/sock.c
238
free(t);
sbin/ipf/ipsend/sock.c
246
struct tcpcb *t, tcb;
sbin/ipf/ipsend/sock.c
283
if (!(t = find_tcp(fd, ti)))
sbin/ipf/ipsend/sock.c
297
KMCPY(&tcb, t, sizeof(tcb));
sbin/ipf/libipf/assigndefined.c
14
char *s, *t;
sbin/ipf/libipf/assigndefined.c
20
t = strchr(s, '=');
sbin/ipf/libipf/assigndefined.c
21
if (t == NULL)
sbin/ipf/libipf/assigndefined.c
23
*t++ = '\0';
sbin/ipf/libipf/assigndefined.c
24
set_variable(s, t);
sbin/ipf/libipf/assigndefined.c
25
*--t = '=';
sbin/ipf/libipf/buildopts.c
18
char *s, *t;
sbin/ipf/libipf/buildopts.c
22
if ((t = strchr(s, '=')))
sbin/ipf/libipf/buildopts.c
23
*t++ = '\0';
sbin/ipf/libipf/buildopts.c
25
t = "";
sbin/ipf/libipf/buildopts.c
29
if ((inc = addipopt(op, io, len, t))) {
sbin/ipf/libipf/ipf_dotuning.c
18
char *s, *t;
sbin/ipf/libipf/ipf_dotuning.c
40
} else if ((t = strchr(s, '=')) != NULL) {
sbin/ipf/libipf/ipf_dotuning.c
42
*t++ = '\0';
sbin/ipf/libipf/ipf_dotuning.c
44
if (sscanf(t, "%lu", &tu.ipft_vlong) == 1) {
sbin/ipf/libipf/ipft_hx.c
100
else if (*t == 'o')
sbin/ipf/libipf/ipft_hx.c
104
*ifn = t;
sbin/ipf/libipf/ipft_hx.c
125
t = (char *)ip;
sbin/ipf/libipf/ipft_hx.c
129
int c = *t;
sbin/ipf/libipf/ipft_hx.c
130
if (t < (char *)ip)
sbin/ipf/libipf/ipft_hx.c
132
while (t < (char *)ip) {
sbin/ipf/libipf/ipft_hx.c
137
t++;
sbin/ipf/libipf/ipft_hx.c
58
register char *s, *t, *u;
sbin/ipf/libipf/ipft_hx.c
90
t = line + 1;
sbin/ipf/libipf/ipft_hx.c
91
if (s - t > 0) {
sbin/ipf/libipf/ipft_hx.c
93
if ((u = strchr(t, ',')) && (u < s)) {
sbin/ipf/libipf/ipft_hx.c
98
if (*t == 'i')
sbin/ipf/libipf/ipft_tx.c
266
char *s, *t;
sbin/ipf/libipf/ipft_tx.c
270
if ((t = strchr(myflagset, *s)))
sbin/ipf/libipf/ipft_tx.c
272
myflags[t-myflagset]);
sbin/ipf/libipf/ipft_tx.c
290
char *t;
sbin/ipf/libipf/ipft_tx.c
292
t = strchr(*cpp, ',');
sbin/ipf/libipf/ipft_tx.c
293
if (t != NULL)
sbin/ipf/libipf/ipft_tx.c
294
*t = '\0';
sbin/ipf/libipf/ipft_tx.c
297
if (t != NULL)
sbin/ipf/libipf/ipft_tx.c
298
ic->icmp_code = atoi(t + 1);
sbin/ipf/libipf/ipft_tx.c
304
if (t != NULL)
sbin/ipf/libipf/ipft_tx.c
305
*t = ',';
sbin/ipf/libipf/ipft_tx.c
438
char *s, *t;
sbin/ipf/libipf/ipft_tx.c
442
if ((t = strchr(myflagset, *s)))
sbin/ipf/libipf/ipft_tx.c
444
myflags[t-myflagset]);
sbin/ipf/libipf/ipft_tx.c
462
char *t;
sbin/ipf/libipf/ipft_tx.c
464
t = strchr(*cpp, ',');
sbin/ipf/libipf/ipft_tx.c
465
if (t != NULL)
sbin/ipf/libipf/ipft_tx.c
466
*t = '\0';
sbin/ipf/libipf/ipft_tx.c
469
if (t != NULL)
sbin/ipf/libipf/ipft_tx.c
470
ic6->icmp6_code = atoi(t + 1);
sbin/ipf/libipf/ipft_tx.c
476
if (t != NULL)
sbin/ipf/libipf/ipft_tx.c
477
*t = ',';
sbin/ipf/libipf/load_file.c
16
char *s, line[1024], *t;
sbin/ipf/libipf/load_file.c
55
for (t = line; ISSPACE(*t); t++)
sbin/ipf/libipf/load_file.c
57
if (*t == '!') {
sbin/ipf/libipf/load_file.c
59
t++;
sbin/ipf/libipf/load_file.c
66
s = strchr(t, '#');
sbin/ipf/libipf/load_file.c
69
if (s == t)
sbin/ipf/libipf/load_file.c
76
s = strlen(t) + t - 1;
sbin/ipf/libipf/load_file.c
80
a = alist_new(AF_UNSPEC, t);
sbin/ipf/libipf/load_file.c
90
filename, linenum, t);
sbin/ipf/libipf/load_http.c
123
t = strchr(buffer, ' ');
sbin/ipf/libipf/load_http.c
124
if (t == NULL)
sbin/ipf/libipf/load_http.c
126
t++;
sbin/ipf/libipf/load_http.c
127
if (*t != '2')
sbin/ipf/libipf/load_http.c
132
while ((t = strchr(u, '\r')) != NULL) {
sbin/ipf/libipf/load_http.c
133
if (t == u) {
sbin/ipf/libipf/load_http.c
134
if (*(t + 1) == '\n') {
sbin/ipf/libipf/load_http.c
135
u = t + 2;
sbin/ipf/libipf/load_http.c
139
t++;
sbin/ipf/libipf/load_http.c
140
} else if (*(t + 1) == '\n') {
sbin/ipf/libipf/load_http.c
142
u = t + 2;
sbin/ipf/libipf/load_http.c
144
u = t + 1;
sbin/ipf/libipf/load_http.c
155
t = strchr(buffer, '\n');
sbin/ipf/libipf/load_http.c
156
if (t == NULL)
sbin/ipf/libipf/load_http.c
160
*t = '\0';
sbin/ipf/libipf/load_http.c
176
for (u = t - 1; (u >= buffer) && ISSPACE(*u); u--)
sbin/ipf/libipf/load_http.c
192
t++;
sbin/ipf/libipf/load_http.c
193
removed = t - buffer;
sbin/ipf/libipf/load_http.c
194
memmove(buffer, t, sizeof(buffer) - left - removed);
sbin/ipf/libipf/load_http.c
33
char *s, *t, *u, buffer[LOAD_BUFSIZE], *myurl;
sbin/ipf/libipf/load_http.c
65
t = strchr(s, '/');
sbin/ipf/libipf/load_http.c
66
if (t == NULL) {
sbin/ipf/libipf/load_http.c
71
*t++ = '\0';
sbin/ipf/libipf/parsefields.c
16
t = strchr(s, '=');
sbin/ipf/libipf/parsefields.c
17
if (t != NULL) {
sbin/ipf/libipf/parsefields.c
18
*t++ = '\0';
sbin/ipf/libipf/parsefields.c
19
if (*t == '\0')
sbin/ipf/libipf/parsefields.c
40
if (t == NULL) {
sbin/ipf/libipf/parsefields.c
43
fields[num - 1].w_word = t;
sbin/ipf/libipf/parsefields.c
9
char *s, *t;
sbin/ipf/libipf/parseipfexpr.c
135
for (s = arg; (*s != '\0') && (osize < asize); s = t) {
sbin/ipf/libipf/parseipfexpr.c
140
for (t = s; (*t != '\0') && (*t != ','); t++)
sbin/ipf/libipf/parseipfexpr.c
142
if (*t == ',')
sbin/ipf/libipf/parseipfexpr.c
143
*t++ = '\0';
sbin/ipf/libipf/parseipfexpr.c
38
char *temp, *arg, *s, *t, *ops, *error;
sbin/ipf/libipf/printfieldhdr.c
17
char *s, *t;
sbin/ipf/libipf/printfieldhdr.c
44
for (t = s; *t != '\0'; t++) {
sbin/ipf/libipf/printfieldhdr.c
45
if (ISALPHA(*t) && ISLOWER(*t))
sbin/ipf/libipf/printfieldhdr.c
46
*t = TOUPPER(*t);
sbin/ipf/libipf/printtcpflags.c
13
for (s = flagset, t = flags; *s; s++, t++) {
sbin/ipf/libipf/printtcpflags.c
14
if (tcpf & *t)
sbin/ipf/libipf/printtcpflags.c
24
for (s = flagset, t = flags; *s; s++, t++)
sbin/ipf/libipf/printtcpflags.c
25
if (tcpfm & *t)
sbin/ipf/libipf/printtcpflags.c
7
uint16_t *t;
sbin/ipf/libipf/save_v1trap.c
292
u_char *s = buffer, *t, *pdulen, *varlen;
sbin/ipf/libipf/save_v1trap.c
383
t = s + 1;
sbin/ipf/libipf/save_v1trap.c
384
bcopy(ipf_trap0_1, t, sizeof(ipf_trap0_1));
sbin/ipf/libipf/save_v1trap.c
385
t += sizeof(ipf_trap0_1);
sbin/ipf/libipf/save_v1trap.c
387
*t++ = 0x2; /* Integer */
sbin/ipf/libipf/save_v1trap.c
388
n = writeint(t + 1, IPFILTER_VERSION);
sbin/ipf/libipf/save_v1trap.c
389
*t = n;
sbin/ipf/libipf/save_v1trap.c
390
t += n + 1;
sbin/ipf/libipf/save_v1trap.c
392
len = t - s - 1;
sbin/ipf/libipf/save_v1trap.c
395
s = t;
sbin/ipf/libipf/save_v1trap.c
403
t = s + trapmsglen;
sbin/ipf/libipf/save_v1trap.c
404
bcopy(ipf_trap0_2, t, sizeof(ipf_trap0_2));
sbin/ipf/libipf/save_v1trap.c
405
t += sizeof(ipf_trap0_2);
sbin/ipf/libipf/save_v1trap.c
407
*t++ = 0x4; /* Octet string */
sbin/ipf/libipf/save_v1trap.c
408
n = writelength(t, msglen);
sbin/ipf/libipf/save_v1trap.c
409
t += n;
sbin/ipf/libipf/save_v1trap.c
410
bcopy(msg, t, msglen);
sbin/ipf/libipf/save_v1trap.c
411
t += msglen;
sbin/ipf/libipf/save_v1trap.c
413
len = t - s - trapmsglen;
sbin/ipf/libipf/save_v1trap.c
416
len = t - varlen - varlensz;
sbin/ipf/libipf/save_v1trap.c
419
len = t - pdulen - pdulensz;
sbin/ipf/libipf/save_v1trap.c
422
len = t - buffer - baselensz - 1;
sbin/ipf/libipf/save_v1trap.c
425
return (t - buffer);
sbin/ipf/libipf/save_v2trap.c
294
u_char *s = buffer, *t, *pdulen;
sbin/ipf/libipf/save_v2trap.c
379
t = s + 1;
sbin/ipf/libipf/save_v2trap.c
380
bcopy(ipf_trap0_1, t, sizeof(ipf_trap0_1));
sbin/ipf/libipf/save_v2trap.c
381
t += sizeof(ipf_trap0_1);
sbin/ipf/libipf/save_v2trap.c
383
*t++ = 0x2; /* Integer */
sbin/ipf/libipf/save_v2trap.c
384
n = writeint(t + 1, IPFILTER_VERSION);
sbin/ipf/libipf/save_v2trap.c
385
*t = n;
sbin/ipf/libipf/save_v2trap.c
386
t += n + 1;
sbin/ipf/libipf/save_v2trap.c
388
len = t - s - 1;
sbin/ipf/libipf/save_v2trap.c
391
s = t;
sbin/ipf/libipf/save_v2trap.c
404
t = s + trapmsglen;
sbin/ipf/libipf/save_v2trap.c
405
bcopy(ipf_trap0_2, t, sizeof(ipf_trap0_2));
sbin/ipf/libipf/save_v2trap.c
406
t += sizeof(ipf_trap0_2);
sbin/ipf/libipf/save_v2trap.c
408
*t++ = 0x4; /* Octet string */
sbin/ipf/libipf/save_v2trap.c
409
n = writelength(t, msglen);
sbin/ipf/libipf/save_v2trap.c
410
t += n;
sbin/ipf/libipf/save_v2trap.c
411
bcopy(msg, t, msglen);
sbin/ipf/libipf/save_v2trap.c
412
t += msglen;
sbin/ipf/libipf/save_v2trap.c
414
len = t - s - trapmsglen;
sbin/ipf/libipf/save_v2trap.c
417
len = t - varlen - varlensz;
sbin/ipf/libipf/save_v2trap.c
420
len = t - pdulen - pdulensz;
sbin/ipf/libipf/save_v2trap.c
423
len = t - buffer - baselensz - 1;
sbin/ipf/libipf/save_v2trap.c
426
return (t - buffer);
sbin/ipf/libipf/tcpflags.c
33
char *s, *t;
sbin/ipf/libipf/tcpflags.c
39
if (!(t = strchr(flagset, *s))) {
sbin/ipf/libipf/tcpflags.c
42
tcpf |= flags[t - flagset];
sbin/ipf/libipf/var.c
39
char c, *s, *t, *value;
sbin/ipf/libipf/var.c
46
for (t = s; *t != '\0'; t++)
sbin/ipf/libipf/var.c
47
if (*t == '}')
sbin/ipf/libipf/var.c
49
if (*t == '\0') {
sbin/ipf/libipf/var.c
54
for (t = s + 1; *t != '\0'; t++)
sbin/ipf/libipf/var.c
55
if (!ISALPHA(*t) && !ISDIGIT(*t) && (*t != '_'))
sbin/ipf/libipf/var.c
64
*after = t;
sbin/ipf/libipf/var.c
65
c = *t;
sbin/ipf/libipf/var.c
66
*t = '\0';
sbin/ipf/libipf/var.c
68
*t = c;
sbin/ipfw/dummynet.c
169
us_to_time(int t, char *strt)
sbin/ipfw/dummynet.c
171
if (t < 0)
sbin/ipfw/dummynet.c
173
else if ( t==0 )
sbin/ipfw/dummynet.c
174
sprintf(strt,"%d", t);
sbin/ipfw/dummynet.c
175
else if (t< 1000)
sbin/ipfw/dummynet.c
176
sprintf(strt,"%dus", t);
sbin/ipfw/dummynet.c
177
else if (t < 1000000)
sbin/ipfw/dummynet.c
178
sprintf(strt,"%gms", (float) t / 1000);
sbin/ipfw/dummynet.c
180
sprintf(strt,"%gfs", (float) t / 1000000);
sbin/ipfw/dummynet.c
1856
for (t = fs->lookup_step; t > 1; --t)
sbin/ipfw/ipfw2.c
1356
char *t;
sbin/ipfw/ipfw2.c
1369
t = table_search_ctlv(fo->tstate,
sbin/ipfw/ipfw2.c
1374
(key != NULL ? key : "<invalid>"), t);
sbin/ipfw/ipfw2.c
1383
bprintf(bp, "lookup %s:%s %s", key, maskbuf, t);
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
1406
t = table_search_ctlv(fo->tstate,
sbin/ipfw/ipfw2.c
1419
insntoc(&cmd->o, table)->value, t);
sbin/ipfw/ipfw2.c
1422
bprintf(bp, "table(%s", t);
sbin/ipfw/ipfw2.c
1529
char *t;
sbin/ipfw/ipfw2.c
1533
t = table_search_ctlv(fo->tstate, insntoc(cmd, kidx)->kidx);
sbin/ipfw/ipfw2.c
1534
bprintf(bp, "table(%s", t);
sbin/ipfw/ipfw2.c
2481
time_t t = (time_t)0;
sbin/ipfw/ipfw2.c
2484
strcpy(timestr, ctime(&t));
sbin/ipfw/ipfw2.c
2489
t = _long_to_time(cntr->timestamp);
sbin/ipfw/ipfw2.c
2491
strcpy(timestr, ctime(&t));
sbin/ipfw/ipfw2.c
3467
char *t = NULL, *p = strpbrk(av, "/:,{");
sbin/ipfw/ipfw2.c
3476
if ((t = strpbrk(p, ",{")) != NULL) {
sbin/ipfw/ipfw2.c
3477
nd = *t;
sbin/ipfw/ipfw2.c
3478
*t = '\0';
sbin/ipfw/ipfw2.c
3513
if (t)
sbin/ipfw/ipfw2.c
3514
*t = nd;
sbin/ipfw/nat.c
638
struct nat44_cfg_redir *t;
sbin/ipfw/nat.c
687
t = (struct nat44_cfg_redir *)&buf[off];
sbin/ipfw/nat.c
689
switch (t->mode) {
sbin/ipfw/nat.c
692
if (t->spool_cnt == 0)
sbin/ipfw/nat.c
693
printf(" %s", inet_ntoa(t->laddr));
sbin/ipfw/nat.c
695
for (i = 0; i < t->spool_cnt; i++) {
sbin/ipfw/nat.c
704
printf(" %s", inet_ntoa(t->paddr));
sbin/ipfw/nat.c
707
p = getprotobynumber(t->proto);
sbin/ipfw/nat.c
709
if (!t->spool_cnt) {
sbin/ipfw/nat.c
710
printf("%s:%u", inet_ntoa(t->laddr), t->lport);
sbin/ipfw/nat.c
711
if (t->pport_cnt > 1)
sbin/ipfw/nat.c
712
printf("-%u", t->lport +
sbin/ipfw/nat.c
713
t->pport_cnt - 1);
sbin/ipfw/nat.c
715
for (i=0; i < t->spool_cnt; i++) {
sbin/ipfw/nat.c
725
if (t->paddr.s_addr)
sbin/ipfw/nat.c
726
printf("%s:", inet_ntoa(t->paddr));
sbin/ipfw/nat.c
727
printf("%u", t->pport);
sbin/ipfw/nat.c
728
if (!t->spool_cnt && t->pport_cnt > 1)
sbin/ipfw/nat.c
729
printf("-%u", t->pport + t->pport_cnt - 1);
sbin/ipfw/nat.c
731
if (t->raddr.s_addr) {
sbin/ipfw/nat.c
732
printf(" %s", inet_ntoa(t->raddr));
sbin/ipfw/nat.c
733
if (t->rport) {
sbin/ipfw/nat.c
734
printf(":%u", t->rport);
sbin/ipfw/nat.c
735
if (!t->spool_cnt && t->rport_cnt > 1)
sbin/ipfw/nat.c
736
printf("-%u", t->rport +
sbin/ipfw/nat.c
737
t->rport_cnt - 1);
sbin/ipfw/nat.c
742
p = getprotobynumber(t->proto);
sbin/ipfw/nat.c
744
inet_ntoa(t->laddr));
sbin/ipfw/nat.c
745
if (t->paddr.s_addr != 0) {
sbin/ipfw/nat.c
746
printf(" %s", inet_ntoa(t->paddr));
sbin/ipfw/nat.c
747
if (t->raddr.s_addr)
sbin/ipfw/nat.c
748
printf(" %s", inet_ntoa(t->raddr));
sbin/mount_cd9660/mount_cd9660.c
202
struct ioc_read_toc_entry t;
sbin/mount_cd9660/mount_cd9660.c
219
t.address_format = CD_LBA_FORMAT;
sbin/mount_cd9660/mount_cd9660.c
220
t.starting_track = 0;
sbin/mount_cd9660/mount_cd9660.c
221
t.data_len = ntocentries * sizeof(struct cd_toc_entry);
sbin/mount_cd9660/mount_cd9660.c
222
t.data = toc_buffer;
sbin/mount_cd9660/mount_cd9660.c
224
if (ioctl(fd, CDIOREADTOCENTRYS, (char *) &t) == -1) {
sbin/nvmecontrol/comnd.c
100
gen_usage(t);
sbin/nvmecontrol/comnd.c
70
gen_usage(const struct cmd *t)
sbin/nvmecontrol/comnd.c
75
SLIST_FOREACH(walker, &t->subcmd, link) {
sbin/nvmecontrol/comnd.c
82
cmd_dispatch(int argc, char *argv[], const struct cmd *t)
sbin/nvmecontrol/comnd.c
86
if (t == NULL)
sbin/nvmecontrol/comnd.c
87
t = ⊤
sbin/nvmecontrol/comnd.c
90
gen_usage(t);
sbin/nvmecontrol/comnd.c
93
SLIST_FOREACH(walker, &t->subcmd, link) {
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
141
t = NVMEV(NVME_NS_DATA_DLFEAT_READ, nsdata->dlfeat);
sbin/nvmecontrol/identify.c
143
(t == NVME_NS_DATA_DLFEAT_READ_NR) ? "Not Reported" :
sbin/nvmecontrol/identify.c
144
(t == NVME_NS_DATA_DLFEAT_READ_00) ? "00h" :
sbin/nvmecontrol/identify.c
145
(t == NVME_NS_DATA_DLFEAT_READ_FF) ? "FFh" : "Unknown",
sbin/nvmecontrol/identify.c
268
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/identify.c
67
uint8_t flbas_fmt, t;
sbin/nvmecontrol/identify_ext.c
272
t = NVMEV(NVME_CTRLR_DATA_VWC_ALL, cdata->vwc);
sbin/nvmecontrol/identify_ext.c
276
(t == NVME_CTRLR_DATA_VWC_ALL_NO) ? ", no flush all" :
sbin/nvmecontrol/identify_ext.c
277
(t == NVME_CTRLR_DATA_VWC_ALL_YES) ? ", flush all" : "");
sbin/nvmecontrol/identify_ext.c
50
uint8_t compare, write_unc, dsm, t;
sbin/nvmecontrol/logpage.c
280
print_temp_K(uint16_t t)
sbin/nvmecontrol/logpage.c
282
printf("%u K, %2.2f C, %3.2f F\n", t, (float)t - 273.15, (float)t * 9 / 5 - 459.67);
sbin/nvmecontrol/logpage.c
286
print_temp_C(uint16_t t)
sbin/nvmecontrol/logpage.c
288
printf("%2.2f K, %u C, %3.2f F\n", (float)t + 273.15, t, (float)t * 9 / 5 + 32);
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
386
struct ns_result_str *t = ns_result;
sbin/nvmecontrol/ns.c
388
while (t->res != 0xFFFF) {
sbin/nvmecontrol/ns.c
389
if (t->res == res)
sbin/nvmecontrol/ns.c
390
return (t->str);
sbin/nvmecontrol/ns.c
391
t++;
sbin/nvmecontrol/ns.c
393
return t->str;
sbin/nvmecontrol/ns.c
59
#define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
sbin/nvmecontrol/nvmecontrol.h
90
void print_temp_C(uint16_t t);
sbin/nvmecontrol/nvmecontrol.h
91
void print_temp_K(uint16_t t);
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
236
int t;
sbin/pfctl/parse.y
5014
$$->rport.a = $$->rport.b = $$->rport.t = 0;
sbin/pfctl/parse.y
5207
$$->rport.a = $$->rport.b = $$->rport.t = 0;
sbin/pfctl/parse.y
6573
if (!rs->rport.b && rs->rport.t) {
sbin/pfctl/parse.y
6577
if (validate_range(rs->rport.t, rs->rport.a,
sbin/pfctl/parse.y
8040
r->t = PF_OP_NONE;
sbin/pfctl/parse.y
8048
r->t = PF_OP_IRG;
sbin/pfctl/parse.y
8058
r->t = PF_OP_NONE;
sbin/pfctl/parse.y
8060
r->t = PF_OP_RRG;
sbin/pfctl/pfctl.c
1193
const char *t[PF_SKIP_COUNT] = { "i", "d", "f",
sbin/pfctl/pfctl.c
1201
printf("%s=", t[i]);
sbin/pfctl/pfctl.c
2665
struct pfr_buffer *t, buf;
sbin/pfctl/pfctl.c
2689
t = &buf;
sbin/pfctl/pfctl.c
2692
t = trans;
sbin/pfctl/pfctl.c
2693
osize = t->pfrb_size;
sbin/pfctl/pfctl.c
2735
pf.trans = t;
sbin/pfctl/pfctl.c
2763
pf.eth_ticket = pfctl_get_ticket(t, PF_RULESET_ETH, anchorname);
sbin/pfctl/pfctl.c
2766
pfctl_get_ticket(t, PF_RULESET_ALTQ, anchorname);
sbin/pfctl/pfctl.c
2769
pfctl_get_ticket(t, PF_RULESET_TABLE, anchorname);
sbin/pfctl/pfctl.c
2815
if (pfctl_trans(dev, t, DIOCXCOMMIT, osize))
sbin/pfctl/pfctl.c
2825
if (pfctl_trans(dev, t, DIOCXROLLBACK, osize))
sbin/pfctl/pfctl.c
3621
struct pfr_buffer t;
sbin/pfctl/pfctl.c
3638
memset(&t, 0, sizeof(t));
sbin/pfctl/pfctl.c
3639
t.pfrb_type = PFRB_TRANS;
sbin/pfctl/pfctl.c
3640
if (pfctl_trans(dev, &t, DIOCXBEGIN, 0))
sbin/pfctl/pfctl.c
3651
if (pfctl_trans(dev, &t, DIOCXCOMMIT, 0))
sbin/pfctl/pfctl.c
623
struct pfr_buffer t;
sbin/pfctl/pfctl.c
627
memset(&t, 0, sizeof(t));
sbin/pfctl/pfctl.c
628
t.pfrb_type = PFRB_TRANS;
sbin/pfctl/pfctl.c
629
if (pfctl_add_trans(&t, PF_RULESET_ALTQ, "") ||
sbin/pfctl/pfctl.c
630
pfctl_trans(dev, &t, DIOCXBEGIN, 0) ||
sbin/pfctl/pfctl.c
631
pfctl_trans(dev, &t, DIOCXCOMMIT, 0))
sbin/pfctl/pfctl_optimize.c
1296
struct pfr_table *t;
sbin/pfctl/pfctl_optimize.c
1321
PFRB_FOREACH(t, &table_buffer) {
sbin/pfctl/pfctl_optimize.c
1322
if (strcasecmp(t->pfrt_name, tbl->pt_name) == 0) {
sbin/pfctl/pfctl_parser.c
367
print_ugid(u_int8_t op, id_t i1, id_t i2, const char *t)
sbin/pfctl/pfctl_parser.c
373
printf(" %s", t);
sbin/pfctl/pfctl_table.c
626
struct pfr_table *t;
sbin/pfctl/pfctl_table.c
639
PFRB_FOREACH(t, &b) {
sbin/pfctl/pfctl_table.c
640
if (!(t->pfrt_flags & PFR_TFLAG_ACTIVE))
sbin/pfctl/pfctl_table.c
642
if (!strcmp(anchorname, t->pfrt_anchor))
sbin/pfctl/pfctl_table.c
644
if (!strcmp(tablename, t->pfrt_name))
sbin/pfctl/pfctl_table.c
647
t->pfrt_anchor[0] ? t->pfrt_anchor : "/");
sbin/ping/ping.c
214
double t;
sbin/ping/ping.c
369
t = strtod(optarg, &ep) * 1000.0;
sbin/ping/ping.c
370
if (*ep || ep == optarg || t > (double)INT_MAX)
sbin/ping/ping.c
374
interval = (int)t;
sbin/ping/ping.c
498
t = strtod(optarg, &ep);
sbin/ping/ping.c
499
if (*ep || ep == optarg || t > (double)INT_MAX)
sbin/ping/ping.c
503
waittime = (int)t;
sbin/ping/ping6.c
1742
u_long t;
sbin/ping/ping6.c
1765
memcpy(&t, &buf[off+ICMP6ECHOLEN+8], sizeof(t));
sbin/ping/ping6.c
1766
ttl = (int32_t)ntohl(t);
sbin/ping/ping6.c
2132
uint32_t t;
sbin/ping/ping6.c
2134
memcpy(&t, cp, sizeof(t));
sbin/ping/ping6.c
2135
ttl = (u_int32_t)ntohl(t);
sbin/ping/ping6.c
298
double t;
sbin/ping/ping6.c
439
t = strtod(optarg, &e);
sbin/ping/ping6.c
442
if (t < 1 && getuid()) {
sbin/ping/ping6.c
446
intvl.tv_sec = (time_t)t;
sbin/ping/ping6.c
448
(long)((t - intvl.tv_sec) * 1000000000);
sbin/ping/ping6.c
546
t = strtod(optarg, &e);
sbin/ping/ping6.c
547
if (*e || e == optarg || t > (double)INT_MAX)
sbin/ping/ping6.c
551
waittime = (int)t;
sbin/rcorder/hash.c
114
t->numEntries = 0;
sbin/rcorder/hash.c
115
t->size = i;
sbin/rcorder/hash.c
116
t->mask = i - 1;
sbin/rcorder/hash.c
117
t->bucketPtr = hp = (struct Hash_Entry **)emalloc(sizeof(*hp) * i);
sbin/rcorder/hash.c
141
Hash_DeleteTable(Hash_Table *t)
sbin/rcorder/hash.c
146
for (hp = t->bucketPtr, i = t->size; --i >= 0;) {
sbin/rcorder/hash.c
152
free((char *)t->bucketPtr);
sbin/rcorder/hash.c
158
t->bucketPtr = NULL;
sbin/rcorder/hash.c
181
Hash_Table *t, /* Hash table to search. */
sbin/rcorder/hash.c
191
for (e = t->bucketPtr[h & t->mask]; e != NULL; e = e->next)
sbin/rcorder/hash.c
218
register Hash_Table *t, /* Hash table to search. */
sbin/rcorder/hash.c
237
for (e = t->bucketPtr[h & t->mask]; e != NULL; e = e->next) {
sbin/rcorder/hash.c
250
if (t->numEntries >= rebuildLimit * t->size)
sbin/rcorder/hash.c
251
RebuildTable(t);
sbin/rcorder/hash.c
253
hp = &t->bucketPtr[h & t->mask];
sbin/rcorder/hash.c
259
t->numEntries++;
sbin/rcorder/hash.c
284
Hash_DeleteEntry(Hash_Table *t, Hash_Entry *e)
sbin/rcorder/hash.c
290
for (hp = &t->bucketPtr[e->namehash & t->mask];
sbin/rcorder/hash.c
295
t->numEntries--;
sbin/rcorder/hash.c
324
Hash_Table *t, /* Table to be searched. */
sbin/rcorder/hash.c
328
searchPtr->tablePtr = t;
sbin/rcorder/hash.c
358
Hash_Table *t = searchPtr->tablePtr;
sbin/rcorder/hash.c
373
if (searchPtr->nextIndex >= t->size)
sbin/rcorder/hash.c
375
e = t->bucketPtr[searchPtr->nextIndex++];
sbin/rcorder/hash.c
399
RebuildTable(register Hash_Table *t)
sbin/rcorder/hash.c
406
oldhp = t->bucketPtr;
sbin/rcorder/hash.c
407
oldsize = i = t->size;
sbin/rcorder/hash.c
409
t->size = i;
sbin/rcorder/hash.c
410
t->mask = mask = i - 1;
sbin/rcorder/hash.c
411
t->bucketPtr = hp = (struct Hash_Entry **) emalloc(sizeof(*hp) * i);
sbin/rcorder/hash.c
417
xp = &t->bucketPtr[e->namehash & mask];
sbin/rcorder/hash.c
95
register Hash_Table *t, /* Structure to use to hold table. */
sbin/restore/tape.c
440
time_t t = _time64_to_time(tmpbuf.c_date);
sbin/restore/tape.c
441
fprintf(stderr, "Wrong dump date\n\tgot: %s", ctime(&t));
sbin/restore/tape.c
547
time_t t;
sbin/restore/tape.c
548
t = _time64_to_time(spcl.c_date);
sbin/restore/tape.c
549
fprintf(stdout, "Dump date: %s", ctime(&t));
sbin/restore/tape.c
550
t = _time64_to_time(spcl.c_ddate);
sbin/restore/tape.c
552
(spcl.c_ddate == 0) ? "the epoch\n" : ctime(&t));
sbin/routed/radix.c
198
struct radix_node *t = head->rnh_treetop, *x;
sbin/routed/radix.c
201
struct radix_node *saved_t, *top = t;
sbin/routed/radix.c
202
int off = t->rn_off, vlen = *(u_char *)cp, matched_off;
sbin/routed/radix.c
209
for (; t->rn_b >= 0; ) {
sbin/routed/radix.c
210
if (t->rn_bmask & cp[t->rn_off])
sbin/routed/radix.c
211
t = t->rn_r;
sbin/routed/radix.c
213
t = t->rn_l;
sbin/routed/radix.c
226
if (t->rn_mask)
sbin/routed/radix.c
227
vlen = *(u_char *)t->rn_mask;
sbin/routed/radix.c
228
cp += off; cp2 = t->rn_key + off; cplim = v + vlen;
sbin/routed/radix.c
244
if (!(t->rn_flags & RNF_ROOT))
sbin/routed/radix.c
245
return t; /* not a root */
sbin/routed/radix.c
246
if (t->rn_dupedkey) {
sbin/routed/radix.c
247
t = t->rn_dupedkey;
sbin/routed/radix.c
248
return t; /* have some real data */
sbin/routed/radix.c
251
return t; /* not the ones root */
sbin/routed/radix.c
265
if ((saved_t = t)->rn_mask == 0)
sbin/routed/radix.c
266
t = t->rn_dupedkey;
sbin/routed/radix.c
267
for (; t; t = t->rn_dupedkey) {
sbin/routed/radix.c
273
if (t->rn_flags & RNF_NORMAL) {
sbin/routed/radix.c
274
if (rn_b <= t->rn_b)
sbin/routed/radix.c
275
return t;
sbin/routed/radix.c
276
} else if (rn_satisfies_leaf(v, t, matched_off)) {
sbin/routed/radix.c
277
return t;
sbin/routed/radix.c
280
t = saved_t;
sbin/routed/radix.c
284
t = t->rn_p;
sbin/routed/radix.c
285
if ((m = t->rn_mklist)) {
sbin/routed/radix.c
297
off = min(t->rn_off, matched_off);
sbin/routed/radix.c
298
x = rn_search_m(v, t, m->rm_mask);
sbin/routed/radix.c
306
} while (t != top);
sbin/routed/radix.c
320
struct radix_node *tt = nodes, *t = tt + 1;
sbin/routed/radix.c
321
t->rn_b = b; t->rn_bmask = 0x80 >> (b & 7);
sbin/routed/radix.c
322
t->rn_l = tt; t->rn_off = b >> 3;
sbin/routed/radix.c
323
tt->rn_b = -1; tt->rn_key = (caddr_t)v; tt->rn_p = t;
sbin/routed/radix.c
324
tt->rn_flags = t->rn_flags = RNF_ACTIVE;
sbin/routed/radix.c
326
tt->rn_info = rn_nodenum++; t->rn_info = rn_nodenum++;
sbin/routed/radix.c
327
tt->rn_twin = t; tt->rn_ybro = rn_clist; rn_clist = tt;
sbin/routed/radix.c
329
return t;
sbin/routed/radix.c
341
struct radix_node *t = rn_search(v_arg, top);
sbin/routed/radix.c
350
caddr_t cp2 = t->rn_key + head_off;
sbin/routed/radix.c
358
if (!(t->rn_flags & RNF_ROOT) || *(cp2-1) == 0) {
sbin/routed/radix.c
360
return t;
sbin/routed/radix.c
381
t = rn_newpair(v_arg, b, nodes); tt = t->rn_l;
sbin/routed/radix.c
383
p->rn_l = t;
sbin/routed/radix.c
385
p->rn_r = t;
sbin/routed/radix.c
386
x->rn_p = t; t->rn_p = p; /* frees x, p as temp vars below */
sbin/routed/radix.c
387
if ((cp[t->rn_off] & t->rn_bmask) == 0) {
sbin/routed/radix.c
388
t->rn_r = x;
sbin/routed/radix.c
390
t->rn_r = tt; t->rn_l = x;
sbin/routed/radix.c
515
struct radix_node *t, *x = NULL, *tt;
sbin/routed/radix.c
541
for (t = tt; tt; t = tt, tt = tt->rn_dupedkey) {
sbin/routed/radix.c
564
(tt = treenodes)->rn_dupedkey = t;
sbin/routed/radix.c
565
tt->rn_flags = t->rn_flags;
sbin/routed/radix.c
566
tt->rn_p = x = t->rn_p;
sbin/routed/radix.c
567
if (x->rn_l == t) x->rn_l = tt; else x->rn_r = tt;
sbin/routed/radix.c
570
(tt = treenodes)->rn_dupedkey = t->rn_dupedkey;
sbin/routed/radix.c
571
t->rn_dupedkey = tt;
sbin/routed/radix.c
574
t=tt+1; tt->rn_info = rn_nodenum++; t->rn_info = rn_nodenum++;
sbin/routed/radix.c
575
tt->rn_twin = t; tt->rn_ybro = rn_clist; rn_clist = tt;
sbin/routed/radix.c
589
t = saved_tt->rn_p;
sbin/routed/radix.c
592
b_leaf = -1 - t->rn_b;
sbin/routed/radix.c
593
if (t->rn_r == saved_tt) x = t->rn_l; else x = t->rn_r;
sbin/routed/radix.c
596
for (mp = &t->rn_mklist; x; x = x->rn_dupedkey)
sbin/routed/radix.c
608
t->rn_mklist = m; *mp = NULL;
sbin/routed/radix.c
612
if ((netmask == 0) || (b > t->rn_b ))
sbin/routed/radix.c
616
x = t;
sbin/routed/radix.c
617
t = t->rn_p;
sbin/routed/radix.c
618
} while (b <= t->rn_b && x != top);
sbin/routed/radix.c
656
struct radix_node *t, *p, *x, *tt;
sbin/routed/radix.c
700
t = saved_tt->rn_p;
sbin/routed/radix.c
701
if (b > t->rn_b)
sbin/routed/radix.c
704
x = t;
sbin/routed/radix.c
705
t = t->rn_p;
sbin/routed/radix.c
706
} while (b <= t->rn_b && x != top);
sbin/routed/radix.c
726
for (t = rn_clist; t && t->rn_ybro != tt; t = t->rn_ybro) {}
sbin/routed/radix.c
727
if (t) t->rn_ybro = tt->rn_ybro;
sbin/routed/radix.c
729
t = tt->rn_p;
sbin/routed/radix.c
732
x = dupedkey; x->rn_p = t;
sbin/routed/radix.c
733
if (t->rn_l == tt) t->rn_l = x; else t->rn_r = x;
sbin/routed/radix.c
740
t = tt + 1;
sbin/routed/radix.c
741
if (t->rn_flags & RNF_ACTIVE) {
sbin/routed/radix.c
743
*++x = *t; p = t->rn_p;
sbin/routed/radix.c
745
b = t->rn_info; *++x = *t; t->rn_info = b; p = t->rn_p;
sbin/routed/radix.c
747
if (p->rn_l == t) p->rn_l = x; else p->rn_r = x;
sbin/routed/radix.c
752
if (t->rn_l == tt) x = t->rn_r; else x = t->rn_l;
sbin/routed/radix.c
753
p = t->rn_p;
sbin/routed/radix.c
754
if (p->rn_r == t) p->rn_r = x; else p->rn_l = x;
sbin/routed/radix.c
759
if (t->rn_mklist) {
sbin/routed/radix.c
763
*mp = t->rn_mklist;
sbin/routed/radix.c
768
for (m = t->rn_mklist; m && x; x = x->rn_dupedkey)
sbin/routed/radix.c
787
if (t != x) {
sbin/routed/radix.c
789
*t = *x;
sbin/routed/radix.c
791
b = t->rn_info; *t = *x; t->rn_info = b;
sbin/routed/radix.c
793
t->rn_l->rn_p = t; t->rn_r->rn_p = t;
sbin/routed/radix.c
795
if (p->rn_l == x) p->rn_l = t; else p->rn_r = t;
sbin/routed/radix.c
845
struct radix_node *t, *tt, *ttt;
sbin/routed/radix.c
851
t = rn_newpair(rn_zeros, off, rnh->rnh_nodes);
sbin/routed/radix.c
853
t->rn_r = ttt;
sbin/routed/radix.c
854
t->rn_p = t;
sbin/routed/radix.c
855
tt = t->rn_l;
sbin/routed/radix.c
856
tt->rn_flags = t->rn_flags = RNF_ROOT | RNF_ACTIVE;
sbin/routed/radix.c
865
rnh->rnh_treetop = t;
sbin/savecore/savecore.c
166
time_t t;
sbin/savecore/savecore.c
200
t = dtoh64(h->dumptime);
sbin/savecore/savecore.c
201
localtime_r(&t, &tm);
sbin/setkey/setkey.c
537
u_int t;
sbin/setkey/setkey.c
558
t = (u_long)0;
sbin/setkey/setkey.c
560
t = (u_long)(cur - ltc->sadb_lifetime_addtime);
sbin/setkey/setkey.c
561
if (t >= 1000)
sbin/setkey/setkey.c
564
snprintf(buf, sizeof(buf), " %3lu/", (u_long)t);
sbin/setkey/setkey.c
567
t = (u_long)lth->sadb_lifetime_addtime;
sbin/setkey/setkey.c
568
if (t >= 1000)
sbin/setkey/setkey.c
571
snprintf(buf, sizeof(buf), "%-3lu", (u_long)t);
sbin/setkey/setkey.c
644
gmt2local(time_t t)
sbin/setkey/setkey.c
650
if (t == 0)
sbin/setkey/setkey.c
651
t = time(NULL);
sbin/setkey/setkey.c
653
*gmt = *gmtime(&t);
sbin/setkey/setkey.c
654
loc = localtime(&t);
share/examples/ipfilter/l4check/l4check.c
484
char c, buf[512], *s, *t, *errtxt = NULL, *line;
share/examples/ipfilter/l4check/l4check.c
531
t = strtok(line, " \t");
share/examples/ipfilter/l4check/l4check.c
532
if (!t)
share/examples/ipfilter/l4check/l4check.c
534
if (!strcasecmp(t, "interface")) {
share/examples/ipfilter/l4check/l4check.c
537
t = strtok(NULL, "\t");
share/examples/ipfilter/l4check/l4check.c
538
if (!s || !t) {
share/examples/ipfilter/l4check/l4check.c
544
if (!strchr(t, ',')) {
share/examples/ipfilter/l4check/l4check.c
553
if (!gethostport(t, num, &ipn->in_outip,
share/examples/ipfilter/l4check/l4check.c
567
} else if (!strcasecmp(t, "remote")) {
share/examples/ipfilter/l4check/l4check.c
577
t = strtok(NULL, "");
share/examples/ipfilter/l4check/l4check.c
578
if (!s || !t || strcasecmp(s, "server")) {
share/examples/ipfilter/l4check/l4check.c
585
if (!gethostport(t, num, &ipn->in_inip,
share/examples/ipfilter/l4check/l4check.c
607
} else if (!strcasecmp(t, "connect")) {
share/examples/ipfilter/l4check/l4check.c
610
t = strtok(NULL, "\t");
share/examples/ipfilter/l4check/l4check.c
611
if (!s || !t) {
share/examples/ipfilter/l4check/l4check.c
616
ctimeout = atoi(t);
share/examples/ipfilter/l4check/l4check.c
621
frequency = atoi(t);
share/examples/ipfilter/l4check/l4check.c
631
} else if (!strcasecmp(t, "probe")) {
share/examples/ipfilter/l4check/l4check.c
645
t = strtok(NULL, "");
share/examples/ipfilter/l4check/l4check.c
646
if (!t) {
share/examples/ipfilter/l4check/l4check.c
653
probe = malloc(strlen(t));
share/examples/ipfilter/l4check/l4check.c
654
copystr(probe, t);
share/examples/ipfilter/l4check/l4check.c
660
t = strtok(NULL, " \t");
share/examples/ipfilter/l4check/l4check.c
661
if (!t) {
share/examples/ipfilter/l4check/l4check.c
673
probe = mapfile(t, &plen);
share/examples/ipfilter/l4check/l4check.c
677
t, plen, probe);
share/examples/ipfilter/l4check/l4check.c
679
} else if (!strcasecmp(t, "response")) {
share/examples/ipfilter/l4check/l4check.c
686
t = strtok(NULL, " \t");
share/examples/ipfilter/l4check/l4check.c
687
if (!t) {
share/examples/ipfilter/l4check/l4check.c
692
rtimeout = atoi(t);
share/examples/ipfilter/l4check/l4check.c
71
register char *s, *t, c;
share/examples/ipfilter/l4check/l4check.c
714
t = strtok(NULL, " \t");
share/examples/ipfilter/l4check/l4check.c
715
if (!t) {
share/examples/ipfilter/l4check/l4check.c
727
response = mapfile(t, &rlen);
share/examples/ipfilter/l4check/l4check.c
733
t, rlen, response);
share/examples/ipfilter/l4check/l4check.c
74
for (s = src, t = dst; s && t && (c = *s++); )
share/examples/ipfilter/l4check/l4check.c
80
*t++ = '\n';
share/examples/ipfilter/l4check/l4check.c
83
*t++ = '\r';
share/examples/ipfilter/l4check/l4check.c
86
*t++ = '\t';
share/examples/ipfilter/l4check/l4check.c
90
*t++ = c;
share/examples/ipfilter/l4check/l4check.c
93
*t = '\0';
stand/common/commands.c
128
char *topic, *subtopic, *t, *s, *d;
stand/common/commands.c
163
while (help_getnext(hfd, &t, &s, &d)) {
stand/common/commands.c
166
if (help_emitsummary(t, s, d))
stand/common/commands.c
169
} else if (strcmp(topic, t)) {
stand/common/commands.c
191
if (help_emitsummary(t, s, d))
stand/common/commands.c
195
free(t);
stand/common/commands.c
198
t = s = d = NULL;
stand/common/commands.c
200
free(t);
stand/common/modinfo.c
72
#define MOD_STR(t, a, s, c) { \
stand/common/modinfo.c
73
COPY32(t, a, c); \
stand/common/modinfo.c
84
#define MOD_VAR(t, a, s, c) { \
stand/common/modinfo.c
85
COPY32(t, a, c); \
stand/efi/include/efi.h
70
#define IsDevicePathType(a, t) ( DevicePathType(a) == t )
stand/efi/libefi/efi_console.c
756
int t, i;
stand/efi/libefi/efi_console.c
825
t = fg_c;
stand/efi/libefi/efi_console.c
827
bg_c = t;
stand/efi/libefi/efinet.c
170
time_t t;
stand/efi/libefi/efinet.c
184
t = getsecs();
stand/efi/libefi/efinet.c
185
while ((getsecs() - t) < timeout) {
stand/efi/libefi/time_arm64.c
56
time_t t;
stand/efi/libefi/time_arm64.c
58
t = READ_SPECIALREG(cntvct_el0) / timer_freq;
stand/efi/libefi/time_arm64.c
60
*tloc = t;
stand/efi/libefi/time_arm64.c
62
return (t);
stand/efi/libefi/time_event.c
66
time_t t;
stand/efi/libefi/time_event.c
68
t = curtime;
stand/efi/libefi/time_event.c
70
*tloc = t;
stand/efi/libefi/time_event.c
72
return (t);
stand/efi/loader/main.c
896
acpi_uart_type(UINT8 t)
stand/efi/loader/main.c
908
if (t >= nitems(types))
stand/efi/loader/main.c
910
return (types[t]);
stand/ficl/vm.c
646
FICL_UNS t = 2;
stand/ficl/vm.c
648
for (; ((t <= u) && (t != 0)); i++, t <<= 1)
stand/ficl/vm.c
650
if (u == t)
stand/i386/libi386/pxe.c
572
time_t t;
stand/i386/libi386/pxe.c
577
t = getsecs();
stand/i386/libi386/pxe.c
579
while ((getsecs() - t) < timeout) {
stand/i386/libi386/textvidc.c
379
int t;
stand/i386/libi386/textvidc.c
450
t = fg_c;
stand/i386/libi386/textvidc.c
452
bg_c = t;
stand/i386/libi386/time.c
68
time(time_t *t)
stand/i386/libi386/time.c
87
if (t != NULL)
stand/i386/libi386/time.c
88
*t = now;
stand/kboot/kboot/main.c
478
uint64_t ti, t;
stand/kboot/kboot/main.c
483
t = tv.tv_sec*1000000 + tv.tv_usec;
stand/kboot/kboot/main.c
484
} while (t < ti + usecs);
stand/kboot/libkboot/dfk.c
148
char *val, *name, *x, t;
stand/kboot/libkboot/dfk.c
161
t = *x++;
stand/kboot/libkboot/dfk.c
162
if (strchr("dDbB", t) == NULL)
stand/kboot/libkboot/termios.c
32
host_cfmakeraw(struct host_termios *t)
stand/kboot/libkboot/termios.c
34
t->c_iflag &= ~(HOST_IGNBRK | HOST_BRKINT | HOST_PARMRK | HOST_ISTRIP |
stand/kboot/libkboot/termios.c
36
t->c_oflag &= ~HOST_OPOST;
stand/kboot/libkboot/termios.c
37
t->c_lflag &= ~(HOST_ECHO | HOST_ECHONL | HOST_ICANON | HOST_ISIG |
stand/kboot/libkboot/termios.c
39
t->c_cflag &= ~(HOST_CSIZE | HOST_PARENB);
stand/kboot/libkboot/termios.c
40
t->c_cflag |= HOST_CS8;
stand/kboot/libkboot/termios.c
41
t->c_cc[HOST_VMIN] = 1;
stand/kboot/libkboot/termios.c
42
t->c_cc[HOST_VTIME] = 0;
stand/kshim/bsd_busspace.c
100
bus_space_write_multi_4(bus_space_tag_t t, bus_space_handle_t h,
stand/kshim/bsd_busspace.c
111
bus_space_write_1(bus_space_tag_t t, bus_space_handle_t h,
stand/kshim/bsd_busspace.c
118
bus_space_write_2(bus_space_tag_t t, bus_space_handle_t h,
stand/kshim/bsd_busspace.c
125
bus_space_write_4(bus_space_tag_t t, bus_space_handle_t h,
stand/kshim/bsd_busspace.c
132
bus_space_read_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset)
stand/kshim/bsd_busspace.c
138
bus_space_read_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset)
stand/kshim/bsd_busspace.c
144
bus_space_read_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset)
stand/kshim/bsd_busspace.c
150
bus_space_read_region_1(bus_space_tag_t t, bus_space_handle_t h,
stand/kshim/bsd_busspace.c
162
bus_space_write_region_1(bus_space_tag_t t, bus_space_handle_t h,
stand/kshim/bsd_busspace.c
174
bus_space_read_region_4(bus_space_tag_t t, bus_space_handle_t h,
stand/kshim/bsd_busspace.c
196
bus_space_write_region_4(bus_space_tag_t t, bus_space_handle_t h,
stand/kshim/bsd_busspace.c
40
bus_space_subregion(bus_space_tag_t t, bus_space_handle_t bsh,
stand/kshim/bsd_busspace.c
49
bus_space_read_multi_1(bus_space_tag_t t, bus_space_handle_t h,
stand/kshim/bsd_busspace.c
53
*datap++ = bus_space_read_1(t, h, offset);
stand/kshim/bsd_busspace.c
58
bus_space_read_multi_2(bus_space_tag_t t, bus_space_handle_t h,
stand/kshim/bsd_busspace.c
62
*datap++ = bus_space_read_2(t, h, offset);
stand/kshim/bsd_busspace.c
67
bus_space_read_multi_4(bus_space_tag_t t, bus_space_handle_t h,
stand/kshim/bsd_busspace.c
78
bus_space_write_multi_1(bus_space_tag_t t, bus_space_handle_t h,
stand/kshim/bsd_busspace.c
84
bus_space_write_1(t, h, offset, temp);
stand/kshim/bsd_busspace.c
89
bus_space_write_multi_2(bus_space_tag_t t, bus_space_handle_t h,
stand/kshim/bsd_busspace.c
95
bus_space_write_2(t, h, offset, temp);
stand/kshim/bsd_kernel.c
1206
uint8_t t;
stand/kshim/bsd_kernel.c
1208
t = 0;
stand/kshim/bsd_kernel.c
1211
t |= 1;
stand/kshim/bsd_kernel.c
1214
t |= 2;
stand/kshim/bsd_kernel.c
1216
if (t == 0) {
stand/kshim/bsd_kernel.c
1222
} else if (t == 1) {
stand/kshim/bsd_kernel.c
1228
} else if (t == 2) {
stand/kshim/bsd_kernel.c
1234
} else if (t == 3) {
stand/kshim/bsd_kernel.h
494
int bus_space_subregion(bus_space_tag_t t, bus_space_handle_t bsh,
stand/kshim/bsd_kernel.h
499
void bus_space_write_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint8_t data);
stand/kshim/bsd_kernel.h
500
void bus_space_write_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint16_t data);
stand/kshim/bsd_kernel.h
501
void bus_space_write_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint32_t data);
stand/kshim/bsd_kernel.h
503
uint8_t bus_space_read_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset);
stand/kshim/bsd_kernel.h
504
uint16_t bus_space_read_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset);
stand/kshim/bsd_kernel.h
505
uint32_t bus_space_read_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset);
stand/kshim/bsd_kernel.h
507
void bus_space_read_multi_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint8_t *datap, bus_size_t count);
stand/kshim/bsd_kernel.h
508
void bus_space_read_multi_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint16_t *datap, bus_size_t count);
stand/kshim/bsd_kernel.h
509
void bus_space_read_multi_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint32_t *datap, bus_size_t count);
stand/kshim/bsd_kernel.h
511
void bus_space_write_multi_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint8_t *datap, bus_size_t count);
stand/kshim/bsd_kernel.h
512
void bus_space_write_multi_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint16_t *datap, bus_size_t count);
stand/kshim/bsd_kernel.h
513
void bus_space_write_multi_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint32_t *datap, bus_size_t count);
stand/libofw/ofw_net.c
132
time_t t;
stand/libofw/ofw_net.c
152
t = getsecs();
stand/libofw/ofw_net.c
156
(getsecs() - t < timeout));
stand/libsa/ip.c
400
time_t t;
stand/libsa/ip.c
403
t = getsecs();
stand/libsa/ip.c
404
while ((getsecs() - t) < tleft) {
stand/libsa/net.c
101
if (MAXWAIT > 0 && (t - tref) >= MAXWAIT) {
stand/libsa/net.c
122
while ((getsecs() - t) < tmo)
stand/libsa/net.c
128
tlast = t;
stand/libsa/net.c
138
t = getsecs();
stand/libsa/net.c
139
tleft -= t - tlast;
stand/libsa/net.c
140
tlast = t;
stand/libsa/net.c
87
time_t t, tmo, tlast;
stand/libsa/net.c
99
tref = t = getsecs();
stand/libsa/random.c
49
long x, hi, lo, t;
stand/libsa/random.c
60
t = 16807 * lo - 2836 * hi;
stand/libsa/random.c
61
if (t <= 0)
stand/libsa/random.c
62
t += 0x7fffffff;
stand/libsa/random.c
63
randseed = t;
stand/libsa/random.c
64
return (t);
stand/libsa/tftp.c
153
struct tftphdr t;
stand/libsa/tftp.c
163
wbuf.t.th_opcode = htons((u_short)ERROR);
stand/libsa/tftp.c
164
wbuf.t.th_code = htons(errcode);
stand/libsa/tftp.c
166
wtail = wbuf.t.th_msg;
stand/libsa/tftp.c
171
sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t);
stand/libsa/tftp.c
179
struct tftphdr t;
stand/libsa/tftp.c
183
wbuf.t.th_opcode = htons((u_short)ACK);
stand/libsa/tftp.c
184
wtail = (char *)&wbuf.t.th_block;
stand/libsa/tftp.c
185
wbuf.t.th_block = htons(block);
stand/libsa/tftp.c
191
sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t);
stand/libsa/tftp.c
200
struct tftphdr *t;
stand/libsa/tftp.c
210
len = readudp(d, &ptr, (void **)&t, tleft);
stand/libsa/tftp.c
217
extra->rtype = ntohs(t->th_opcode);
stand/libsa/tftp.c
218
block = ntohs(t->th_block);
stand/libsa/tftp.c
245
uh = (struct udphdr *)t - 1;
stand/libsa/tftp.c
248
got = len - (t->th_data - (char *)t);
stand/libsa/tftp.c
250
*payload = t;
stand/libsa/tftp.c
254
tftp_error = ntohs(t->th_code);
stand/libsa/tftp.c
284
uh = (struct udphdr *)t - 1;
stand/libsa/tftp.c
288
tftp_oack_len = len - sizeof(t->th_opcode);
stand/libsa/tftp.c
289
if (tftp_parse_oack(h, t->th_u.tu_stuff, tftp_oack_len) != 0) {
stand/libsa/tftp.c
296
*payload = t;
stand/libsa/tftp.c
312
struct tftphdr t;
stand/libsa/tftp.c
320
struct tftphdr *t;
stand/libsa/tftp.c
332
wbuf.t.th_opcode = htons((u_short)RRQ);
stand/libsa/tftp.c
333
wtail = wbuf.t.th_stuff;
stand/libsa/tftp.c
369
res = sendrecv(h->iodesc, &sendudp, &wbuf.t, wtail - (char *)&wbuf.t,
stand/libsa/tftp.c
370
&recvtftp, &pkt, (void **)&t, &recv_extra);
stand/libsa/tftp.c
380
h->tftp_hdr = t;
stand/libsa/tftp.c
413
struct tftphdr t;
stand/libsa/tftp.c
419
struct tftphdr *t;
stand/libsa/tftp.c
421
wbuf.t.th_opcode = htons((u_short)ACK);
stand/libsa/tftp.c
422
wtail = (char *)&wbuf.t.th_block;
stand/libsa/tftp.c
423
wbuf.t.th_block = htons((u_short)h->currblock);
stand/libsa/tftp.c
434
res = sendrecv(h->iodesc, &sendudp, &wbuf.t, wtail - (char *)&wbuf.t,
stand/libsa/tftp.c
435
&recvtftp, &pkt, (void **)&t, &recv_extra);
stand/libsa/tftp.c
446
h->tftp_hdr = t;
stand/uboot/glue.c
154
int t;
stand/uboot/glue.c
156
if (!syscall(API_TSTC, NULL, &t))
stand/uboot/glue.c
159
return (t);
stand/uboot/main.c
125
int t[3] = { MR_ATTR_DRAM, MR_ATTR_FLASH, MR_ATTR_SRAM };
stand/uboot/main.c
132
size = memsize(si, t[i]);
stand/uboot/main.c
134
printf("%s: %juMB\n", ub_mem_type(t[i]),
stand/uboot/net.c
276
time_t t;
stand/uboot/net.c
284
t = getsecs();
stand/uboot/net.c
295
} while ((rlen == -1 || rlen == 0) && (getsecs() - t < timeout));
sys/amd64/amd64/bpf_jit_machdep.h
475
#define JCC(t, f) do { \
sys/amd64/amd64/bpf_jit_machdep.h
478
emitm(&stream, ((t) << 8) | 0x0f, 2); \
sys/amd64/amd64/bpf_jit_machdep.h
484
emitm(&stream, ((t) << 8) | 0x0f, 2); \
sys/amd64/include/param.h
83
#define ALIGNED_POINTER(p, t) 1
sys/amd64/linux/linux_proto.h
25
#define PAD_(t) (sizeof(syscallarg_t) <= sizeof(t) ? \
sys/amd64/linux/linux_proto.h
26
0 : sizeof(syscallarg_t) - sizeof(t))
sys/amd64/linux/linux_proto.h
29
#define PADL_(t) 0
sys/amd64/linux/linux_proto.h
30
#define PADR_(t) PAD_(t)
sys/amd64/linux/linux_proto.h
32
#define PADL_(t) PAD_(t)
sys/amd64/linux/linux_proto.h
33
#define PADR_(t) 0
sys/amd64/linux32/linux32_proto.h
25
#define PAD_(t) (sizeof(syscallarg_t) <= sizeof(t) ? \
sys/amd64/linux32/linux32_proto.h
26
0 : sizeof(syscallarg_t) - sizeof(t))
sys/amd64/linux32/linux32_proto.h
29
#define PADL_(t) 0
sys/amd64/linux32/linux32_proto.h
30
#define PADR_(t) PAD_(t)
sys/amd64/linux32/linux32_proto.h
32
#define PADL_(t) PAD_(t)
sys/amd64/linux32/linux32_proto.h
33
#define PADR_(t) 0
sys/amd64/sgx/sgx.c
531
sgx_tcs_dump(struct sgx_softc *sc, struct tcs *t)
sys/amd64/sgx/sgx.c
534
dprintf("t->flags %lx\n", t->flags);
sys/amd64/sgx/sgx.c
535
dprintf("t->ossa %lx\n", t->ossa);
sys/amd64/sgx/sgx.c
536
dprintf("t->cssa %x\n", t->cssa);
sys/amd64/sgx/sgx.c
537
dprintf("t->nssa %x\n", t->nssa);
sys/amd64/sgx/sgx.c
538
dprintf("t->oentry %lx\n", t->oentry);
sys/amd64/sgx/sgx.c
539
dprintf("t->ofsbasgx %lx\n", t->ofsbasgx);
sys/amd64/sgx/sgx.c
540
dprintf("t->ogsbasgx %lx\n", t->ogsbasgx);
sys/amd64/sgx/sgx.c
541
dprintf("t->fslimit %x\n", t->fslimit);
sys/amd64/sgx/sgx.c
542
dprintf("t->gslimit %x\n", t->gslimit);
sys/amd64/sgx/sgx.c
795
struct tcs *t;
sys/amd64/sgx/sgx.c
844
t = (struct tcs *)tmp_vaddr;
sys/amd64/sgx/sgx.c
845
ret = sgx_tcs_validate(t);
sys/amd64/sgx/sgx.c
851
sgx_tcs_dump(sc, t);
sys/amd64/vmm/intel/ept.c
124
int i, t, tabs;
sys/amd64/vmm/intel/ept.c
131
for (t = 0; t < tabs; t++)
sys/amd64/vmm/intel/ept.c
141
for (t = 0; t < tabs; t++)
sys/amd64/vmm/io/vlapic.c
711
vlapic_callout_reset(struct vlapic *vlapic, sbintime_t t)
sys/amd64/vmm/io/vlapic.c
713
callout_reset_sbt_curcpu(&vlapic->callout, t, 0,
sys/amd64/vmm/io/vrtc.c
152
time_t t, secs;
sys/amd64/vmm/io/vrtc.c
156
t = vrtc->base_rtctime;
sys/amd64/vmm/io/vrtc.c
164
t += secs;
sys/amd64/vmm/io/vrtc.c
167
return (t);
sys/amd64/vmm/io/vrtc.c
776
time_t t;
sys/amd64/vmm/io/vrtc.c
780
t = vrtc_curtime(vrtc, &basetime);
sys/amd64/vmm/io/vrtc.c
783
return (t);
sys/amd64/vmm/vmm.c
745
int error, t, vcpuid, vcpu_halted, vm_halted;
sys/amd64/vmm/vmm.c
805
t = ticks;
sys/amd64/vmm/vmm.c
813
vmm_stat_incr(vcpu, VCPU_IDLE_TICKS, ticks - t);
sys/arm/arm/bus_space_generic.c
105
generic_bs_subregion(bus_space_tag_t t, bus_space_handle_t bsh, bus_size_t offset,
sys/arm/arm/bus_space_generic.c
114
generic_bs_barrier(bus_space_tag_t t, bus_space_handle_t bsh, bus_size_t offset,
sys/arm/arm/bus_space_generic.c
65
generic_bs_map(bus_space_tag_t t, bus_addr_t bpa, bus_size_t size, int flags,
sys/arm/arm/bus_space_generic.c
82
generic_bs_alloc(bus_space_tag_t t, bus_addr_t rstart, bus_addr_t rend, bus_size_t size,
sys/arm/arm/bus_space_generic.c
91
generic_bs_unmap(bus_space_tag_t t, bus_space_handle_t h, bus_size_t size)
sys/arm/arm/bus_space_generic.c
98
generic_bs_free(bus_space_tag_t t, bus_space_handle_t bsh, bus_size_t size)
sys/arm/arm/busdma_machdep.c
477
bus_dma_template_clone(bus_dma_template_t *t, bus_dma_tag_t dmat)
sys/arm/arm/busdma_machdep.c
480
if (t == NULL || dmat == NULL)
sys/arm/arm/busdma_machdep.c
483
t->alignment = dmat->alignment;
sys/arm/arm/busdma_machdep.c
484
t->boundary = dmat->boundary;
sys/arm/arm/busdma_machdep.c
485
t->lowaddr = dmat->lowaddr;
sys/arm/arm/busdma_machdep.c
486
t->highaddr = dmat->highaddr;
sys/arm/arm/busdma_machdep.c
487
t->maxsize = dmat->maxsize;
sys/arm/arm/busdma_machdep.c
488
t->nsegments = dmat->nsegments;
sys/arm/arm/busdma_machdep.c
489
t->maxsegsize = dmat->maxsegsz;
sys/arm/arm/busdma_machdep.c
490
t->flags = dmat->flags;
sys/arm/arm/busdma_machdep.c
491
t->lockfunc = dmat->lockfunc;
sys/arm/arm/busdma_machdep.c
492
t->lockfuncarg = dmat->lockfuncarg;
sys/arm/arm/gic.c
1282
int t;
sys/arm/arm/gic.c
1286
t = db_read_token();
sys/arm/arm/gic.c
1287
if (t == tIDENT) {
sys/arm/arm/pmap-v6.c
365
#define TEX(t, i, o, s) \
sys/arm/arm/pmap-v6.c
366
((t) << TEXDEF_TYPE_SHIFT) | \
sys/arm/freescale/imx/imx6_anatop.c
497
uint32_t t;
sys/arm/freescale/imx/imx6_anatop.c
501
t = temp_from_count(sc, sc->temp_last_cnt) + TZ_ZEROC;
sys/arm/freescale/imx/imx6_anatop.c
503
return (sysctl_handle_int(oidp, &t, 0, req));
sys/arm/freescale/imx/imx6_sdma.h
126
uint32_t t : 1;
sys/arm/include/bus.h
261
#define __bs_nonsingle(type, sz, t, h, o, a, c) \
sys/arm/include/bus.h
262
(*(t)->__bs_opname(type,sz))((t), h, o, a, c)
sys/arm/include/bus.h
263
#define __bs_set(type, sz, t, h, o, v, c) \
sys/arm/include/bus.h
264
(*(t)->__bs_opname(type,sz))((t), h, o, v, c)
sys/arm/include/bus.h
265
#define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \
sys/arm/include/bus.h
266
(*(t)->__bs_opname(c,sz))((t), h1, o1, h2, o2, cnt)
sys/arm/include/bus.h
269
#define __bs_rs_s(sz, t, h, o) \
sys/arm/include/bus.h
270
(*(t)->__bs_opname_s(r,sz))((t), h, o)
sys/arm/include/bus.h
271
#define __bs_ws_s(sz, t, h, o, v) \
sys/arm/include/bus.h
272
(*(t)->__bs_opname_s(w,sz))((t), h, o, v)
sys/arm/include/bus.h
273
#define __bs_nonsingle_s(type, sz, t, h, o, a, c) \
sys/arm/include/bus.h
274
(*(t)->__bs_opname_s(type,sz))((t), h, o, a, c)
sys/arm/include/bus.h
278
IFN(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o) \
sys/arm/include/bus.h
281
if (__predict_true(t->MBR == NULL)) \
sys/arm/include/bus.h
284
return (t->MBR(t, h, o)); \
sys/arm/include/bus.h
289
IFN(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, TYP v)\
sys/arm/include/bus.h
292
if (__predict_true(t->MBR == NULL)) \
sys/arm/include/bus.h
295
t->MBR(t, h, o, v); \
sys/arm/include/bus.h
301
#define bus_space_map(t, a, s, c, hp) \
sys/arm/include/bus.h
302
(*(t)->bs_map)((t), (a), (s), (c), (hp))
sys/arm/include/bus.h
303
#define bus_space_unmap(t, h, s) \
sys/arm/include/bus.h
304
(*(t)->bs_unmap)((t), (h), (s))
sys/arm/include/bus.h
305
#define bus_space_subregion(t, h, o, s, hp) \
sys/arm/include/bus.h
306
(*(t)->bs_subregion)((t), (h), (o), (s), (hp))
sys/arm/include/bus.h
311
#define bus_space_alloc(t, rs, re, s, a, b, c, ap, hp) \
sys/arm/include/bus.h
312
(*(t)->bs_alloc)((t), (rs), (re), (s), (a), (b), \
sys/arm/include/bus.h
314
#define bus_space_free(t, h, s) \
sys/arm/include/bus.h
315
(*(t)->bs_free)((t), (h), (s))
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/bus.h
342
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arm/include/bus.h
343
__bs_nonsingle(rm,1,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
344
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arm/include/bus.h
345
__bs_nonsingle(rm,2,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
346
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arm/include/bus.h
347
__bs_nonsingle(rm,4,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
348
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/arm/include/bus.h
349
__bs_nonsingle(rm,8,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
351
#define bus_space_read_multi_stream_1(t, h, o, a, c) \
sys/arm/include/bus.h
352
__bs_nonsingle_s(rm,1,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
353
#define bus_space_read_multi_stream_2(t, h, o, a, c) \
sys/arm/include/bus.h
354
__bs_nonsingle_s(rm,2,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
355
#define bus_space_read_multi_stream_4(t, h, o, a, c) \
sys/arm/include/bus.h
356
__bs_nonsingle_s(rm,4,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
357
#define bus_space_read_multi_stream_8(t, h, o, a, c) \
sys/arm/include/bus.h
358
__bs_nonsingle_s(rm,8,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
363
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arm/include/bus.h
364
__bs_nonsingle(rr,1,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
365
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arm/include/bus.h
366
__bs_nonsingle(rr,2,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
367
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arm/include/bus.h
368
__bs_nonsingle(rr,4,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
369
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arm/include/bus.h
370
__bs_nonsingle(rr,8,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
372
#define bus_space_read_region_stream_1(t, h, o, a, c) \
sys/arm/include/bus.h
373
__bs_nonsingle_s(rr,1,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
374
#define bus_space_read_region_stream_2(t, h, o, a, c) \
sys/arm/include/bus.h
375
__bs_nonsingle_s(rr,2,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
376
#define bus_space_read_region_stream_4(t, h, o, a, c) \
sys/arm/include/bus.h
377
__bs_nonsingle_s(rr,4,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
378
#define bus_space_read_region_stream_8(t, h, o, a, c) \
sys/arm/include/bus.h
379
__bs_nonsingle_s(rr,8,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
397
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arm/include/bus.h
398
__bs_nonsingle(wm,1,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
399
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arm/include/bus.h
400
__bs_nonsingle(wm,2,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
401
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arm/include/bus.h
402
__bs_nonsingle(wm,4,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
403
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/arm/include/bus.h
404
__bs_nonsingle(wm,8,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
406
#define bus_space_write_multi_stream_1(t, h, o, a, c) \
sys/arm/include/bus.h
407
__bs_nonsingle_s(wm,1,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
408
#define bus_space_write_multi_stream_2(t, h, o, a, c) \
sys/arm/include/bus.h
409
__bs_nonsingle_s(wm,2,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
410
#define bus_space_write_multi_stream_4(t, h, o, a, c) \
sys/arm/include/bus.h
411
__bs_nonsingle_s(wm,4,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
412
#define bus_space_write_multi_stream_8(t, h, o, a, c) \
sys/arm/include/bus.h
413
__bs_nonsingle_s(wm,8,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
418
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arm/include/bus.h
419
__bs_nonsingle(wr,1,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
420
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arm/include/bus.h
421
__bs_nonsingle(wr,2,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
422
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arm/include/bus.h
423
__bs_nonsingle(wr,4,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
424
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arm/include/bus.h
425
__bs_nonsingle(wr,8,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
427
#define bus_space_write_region_stream_1(t, h, o, a, c) \
sys/arm/include/bus.h
428
__bs_nonsingle_s(wr,1,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
429
#define bus_space_write_region_stream_2(t, h, o, a, c) \
sys/arm/include/bus.h
430
__bs_nonsingle_s(wr,2,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
431
#define bus_space_write_region_stream_4(t, h, o, a, c) \
sys/arm/include/bus.h
432
__bs_nonsingle_s(wr,4,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
433
#define bus_space_write_region_stream_8(t, h, o, a, c) \
sys/arm/include/bus.h
434
__bs_nonsingle_s(wr,8,(t),(h),(o),(a),(c))
sys/arm/include/bus.h
439
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/arm/include/bus.h
440
__bs_set(sm,1,(t),(h),(o),(v),(c))
sys/arm/include/bus.h
441
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/arm/include/bus.h
442
__bs_set(sm,2,(t),(h),(o),(v),(c))
sys/arm/include/bus.h
443
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/arm/include/bus.h
444
__bs_set(sm,4,(t),(h),(o),(v),(c))
sys/arm/include/bus.h
445
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/arm/include/bus.h
446
__bs_set(sm,8,(t),(h),(o),(v),(c))
sys/arm/include/bus.h
451
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arm/include/bus.h
452
__bs_set(sr,1,(t),(h),(o),(v),(c))
sys/arm/include/bus.h
453
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arm/include/bus.h
454
__bs_set(sr,2,(t),(h),(o),(v),(c))
sys/arm/include/bus.h
455
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arm/include/bus.h
456
__bs_set(sr,4,(t),(h),(o),(v),(c))
sys/arm/include/bus.h
457
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arm/include/bus.h
458
__bs_set(sr,8,(t),(h),(o),(v),(c))
sys/arm/include/bus.h
463
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arm/include/bus.h
464
__bs_copy(1, t, h1, o1, h2, o2, c)
sys/arm/include/bus.h
465
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arm/include/bus.h
466
__bs_copy(2, t, h1, o1, h2, o2, c)
sys/arm/include/bus.h
467
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arm/include/bus.h
468
__bs_copy(4, t, h1, o1, h2, o2, c)
sys/arm/include/bus.h
469
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arm/include/bus.h
470
__bs_copy(8, t, h1, o1, h2, o2, c)
sys/arm/include/bus.h
478
int __bs_c(f,_bs_map) (bus_space_tag_t t, bus_addr_t addr, \
sys/arm/include/bus.h
482
void __bs_c(f,_bs_unmap) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
486
int __bs_c(f,_bs_subregion) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
491
int __bs_c(f,_bs_alloc) (bus_space_tag_t t, bus_addr_t rstart, \
sys/arm/include/bus.h
497
void __bs_c(f,_bs_free) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
504
void __bs_c(f,_bs_barrier) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
508
uint8_t __bs_c(f,_bs_r_1) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
512
uint16_t __bs_c(f,_bs_r_2) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
516
uint32_t __bs_c(f,_bs_r_4) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
520
uint64_t __bs_c(f,_bs_r_8) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
524
uint8_t __bs_c(f,_bs_r_1_s) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
528
uint16_t __bs_c(f,_bs_r_2_s) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
532
uint32_t __bs_c(f,_bs_r_4_s) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
536
void __bs_c(f,_bs_w_1) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
540
void __bs_c(f,_bs_w_2) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
544
void __bs_c(f,_bs_w_4) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
548
void __bs_c(f,_bs_w_8) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
552
void __bs_c(f,_bs_w_1_s) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
556
void __bs_c(f,_bs_w_2_s) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
560
void __bs_c(f,_bs_w_4_s) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
564
void __bs_c(f,_bs_rm_1) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
568
void __bs_c(f,_bs_rm_2) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
572
void __bs_c(f,_bs_rm_4) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
576
void __bs_c(f,_bs_rm_8) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
580
void __bs_c(f,_bs_wm_1) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
584
void __bs_c(f,_bs_wm_2) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
588
void __bs_c(f,_bs_wm_4) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
592
void __bs_c(f,_bs_wm_8) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
596
void __bs_c(f, _bs_rr_1) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
600
void __bs_c(f, _bs_rr_2) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
604
void __bs_c(f, _bs_rr_4) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
608
void __bs_c(f, _bs_rr_8) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
612
void __bs_c(f, _bs_wr_1) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
616
void __bs_c(f, _bs_wr_2) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
620
void __bs_c(f, _bs_wr_4) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
624
void __bs_c(f, _bs_wr_8) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
628
void __bs_c(f,_bs_sm_1) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
632
void __bs_c(f,_bs_sm_2) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
636
void __bs_c(f,_bs_sm_4) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
640
void __bs_c(f,_bs_sm_8) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
644
void __bs_c(f,_bs_sr_1) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
648
void __bs_c(f,_bs_sr_2) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
652
void __bs_c(f,_bs_sr_4) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
656
void __bs_c(f,_bs_sr_8) (bus_space_tag_t t, bus_space_handle_t bsh, \
sys/arm/include/bus.h
660
void __bs_c(f,_bs_c_1) (bus_space_tag_t t, bus_space_handle_t bsh1, \
sys/arm/include/bus.h
665
void __bs_c(f,_bs_c_2) (bus_space_tag_t t, bus_space_handle_t bsh1, \
sys/arm/include/bus.h
670
void __bs_c(f,_bs_c_4) (bus_space_tag_t t, bus_space_handle_t bsh1, \
sys/arm/include/bus.h
675
void __bs_c(f,_bs_c_8) (bus_space_tag_t t, bus_space_handle_t bsh1, \
sys/arm/include/bus.h
733
#define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
sys/arm/include/bus_dma.h
74
#define BUS_DMA_TAG_VALID(t) ((t) != (bus_dma_tag_t)0)
sys/arm/include/param.h
86
#define ALIGNED_POINTER(p, t) ((((unsigned)(p)) & (sizeof(t)-1)) == 0)
sys/arm/mv/mv_common.c
1703
int i, entry_size, err, t, tuple_size, tuples;
sys/arm/mv/mv_common.c
1706
t = 0;
sys/arm/mv/mv_common.c
1724
for (i = 0, t = 0; t < tuples; i += entry_size, t++) {
sys/arm/mv/mv_common.c
1725
cpu_win_tbl[t].target = 1;
sys/arm/mv/mv_common.c
1726
cpu_win_tbl[t].attr = fdt32_to_cpu(ranges[i + 1]);
sys/arm/mv/mv_common.c
1727
cpu_win_tbl[t].base = fdt32_to_cpu(ranges[i + 2]);
sys/arm/mv/mv_common.c
1728
cpu_win_tbl[t].size = fdt32_to_cpu(ranges[i + 3]);
sys/arm/mv/mv_common.c
1729
cpu_win_tbl[t].remap = ~0;
sys/arm/mv/mv_common.c
1732
cpu_win_tbl[t].target,
sys/arm/mv/mv_common.c
1733
cpu_win_tbl[t].attr, cpu_win_tbl[t].base,
sys/arm/mv/mv_common.c
1734
cpu_win_tbl[t].size, cpu_win_tbl[t].remap);
sys/arm/mv/mv_common.c
1757
if (t >= nitems(cpu_win_tbl)) {
sys/arm/mv/mv_common.c
1762
cpu_win_tbl[t].target = soc_decode_win_spec->win_cesa_target;
sys/arm/mv/mv_common.c
1764
cpu_win_tbl[t].attr = soc_decode_win_spec->win_cesa_attr(0);
sys/arm/mv/mv_common.c
1766
cpu_win_tbl[t].attr = soc_decode_win_spec->win_cesa_attr(1);
sys/arm/mv/mv_common.c
1767
cpu_win_tbl[t].base = sram_base;
sys/arm/mv/mv_common.c
1768
cpu_win_tbl[t].size = sram_size;
sys/arm/mv/mv_common.c
1769
cpu_win_tbl[t].remap = ~0;
sys/arm/mv/mv_common.c
1785
t++;
sys/arm/mv/mv_common.c
1786
if (t >= nitems(cpu_win_tbl)) {
sys/arm/mv/mv_common.c
1792
cpu_win_tbl[t].target = soc_decode_win_spec->win_cesa_target;
sys/arm/mv/mv_common.c
1793
cpu_win_tbl[t].attr = soc_decode_win_spec->win_cesa_attr(1);
sys/arm/mv/mv_common.c
1794
cpu_win_tbl[t].base = sram_base;
sys/arm/mv/mv_common.c
1795
cpu_win_tbl[t].size = sram_size;
sys/arm/mv/mv_common.c
1796
cpu_win_tbl[t].remap = ~0;
sys/arm/nvidia/tegra124/tegra124_xusbpadctl.c
221
#define PORT(t, n, p, i) { \
sys/arm/nvidia/tegra124/tegra124_xusbpadctl.c
222
.type = t, \
sys/arm/nvidia/tegra124/tegra124_xusbpadctl.c
269
#define PAD(n, t, u, d) { \
sys/arm/nvidia/tegra124/tegra124_xusbpadctl.c
271
.type = t, \
sys/arm/nvidia/tegra_soctherm.c
559
int32_t t;
sys/arm/nvidia/tegra_soctherm.c
561
t = READBACK_VALUE(val) * 1000;
sys/arm/nvidia/tegra_soctherm.c
563
t += 500;
sys/arm/nvidia/tegra_soctherm.c
565
t *= -1;
sys/arm/nvidia/tegra_soctherm.c
567
return (t);
sys/arm/ti/cpsw/if_cpsw.c
2594
struct bintime t;
sys/arm/ti/cpsw/if_cpsw.c
2598
getbinuptime(&t);
sys/arm/ti/cpsw/if_cpsw.c
2599
bintime_sub(&t, &sc->attach_uptime);
sys/arm/ti/cpsw/if_cpsw.c
2600
result = t.sec;
sys/arm/ti/cpsw/if_cpsw.c
2654
struct bintime t;
sys/arm/ti/cpsw/if_cpsw.c
2660
getbinuptime(&t);
sys/arm/ti/cpsw/if_cpsw.c
2661
bintime_sub(&t, &sc->init_uptime);
sys/arm/ti/cpsw/if_cpsw.c
2662
result = t.sec;
sys/arm/ti/cpsw/if_cpsw.c
313
int t = (int)(time_second % (24 * 60 * 60));
sys/arm/ti/cpsw/if_cpsw.c
315
printf("%02d:%02d:%02d %s ", t / (60 * 60), (t / 60) % 60, t % 60, funcname);
sys/arm64/arm64/bus_machdep.c
114
generic_bs_unmap(void *t, bus_space_handle_t bsh, bus_size_t size)
sys/arm64/arm64/bus_machdep.c
121
generic_bs_barrier(void *t, bus_space_handle_t bsh, bus_size_t offset,
sys/arm64/arm64/bus_machdep.c
127
generic_bs_subregion(void *t, bus_space_handle_t bsh, bus_size_t offset,
sys/arm64/arm64/bus_machdep.c
140
generic_bs_sr_1(void *t, bus_space_handle_t bsh,
sys/arm64/arm64/bus_machdep.c
145
generic_bs_w_1(t, bsh, offset, value);
sys/arm64/arm64/bus_machdep.c
149
generic_bs_sr_2(void *t, bus_space_handle_t bsh,
sys/arm64/arm64/bus_machdep.c
154
generic_bs_w_2(t, bsh, offset, value);
sys/arm64/arm64/bus_machdep.c
158
generic_bs_sr_4(void *t, bus_space_handle_t bsh,
sys/arm64/arm64/bus_machdep.c
163
generic_bs_w_4(t, bsh, offset, value);
sys/arm64/arm64/bus_machdep.c
167
generic_bs_sr_8(void *t, bus_space_handle_t bsh, bus_size_t offset,
sys/arm64/arm64/bus_machdep.c
172
generic_bs_w_8(t, bsh, offset, value);
sys/arm64/arm64/bus_machdep.c
97
generic_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int flags,
sys/arm64/arm64/busdma_machdep.c
148
bus_dma_template_clone(bus_dma_template_t *t, bus_dma_tag_t dmat)
sys/arm64/arm64/busdma_machdep.c
152
if (t == NULL || dmat == NULL)
sys/arm64/arm64/busdma_machdep.c
157
t->alignment = common->alignment;
sys/arm64/arm64/busdma_machdep.c
158
t->boundary = common->boundary;
sys/arm64/arm64/busdma_machdep.c
159
t->lowaddr = common->lowaddr;
sys/arm64/arm64/busdma_machdep.c
160
t->highaddr = common->highaddr;
sys/arm64/arm64/busdma_machdep.c
161
t->maxsize = common->maxsize;
sys/arm64/arm64/busdma_machdep.c
162
t->nsegments = common->nsegments;
sys/arm64/arm64/busdma_machdep.c
163
t->maxsegsize = common->maxsegsz;
sys/arm64/arm64/busdma_machdep.c
164
t->flags = common->flags;
sys/arm64/arm64/busdma_machdep.c
165
t->lockfunc = common->lockfunc;
sys/arm64/arm64/busdma_machdep.c
166
t->lockfuncarg = common->lockfuncarg;
sys/arm64/arm64/cmn600.c
216
#define NAME_OF(t, n) case NODE_TYPE_ ## t: return n
sys/arm64/arm64/cmn600.c
242
#define NAME_OF(t, n) case POR_MXP_PX_INFO_DEV_TYPE_ ## t: return n
sys/arm64/cavium/thunder_pcie_pem.c
574
bus_space_tag_t t;
sys/arm64/cavium/thunder_pcie_pem.c
586
t = sc->reg_bst;
sys/arm64/cavium/thunder_pcie_pem.c
594
data = bus_space_read_1(t, h, reg);
sys/arm64/cavium/thunder_pcie_pem.c
597
data = le16toh(bus_space_read_2(t, h, reg));
sys/arm64/cavium/thunder_pcie_pem.c
600
data = le32toh(bus_space_read_4(t, h, reg));
sys/arm64/cavium/thunder_pcie_pem.c
618
bus_space_tag_t t;
sys/arm64/cavium/thunder_pcie_pem.c
630
t = sc->reg_bst;
sys/arm64/cavium/thunder_pcie_pem.c
638
bus_space_write_1(t, h, reg, val);
sys/arm64/cavium/thunder_pcie_pem.c
641
bus_space_write_2(t, h, reg, htole16(val));
sys/arm64/cavium/thunder_pcie_pem.c
644
bus_space_write_4(t, h, reg, htole32(val));
sys/arm64/include/atomic.h
102
_ATOMIC_OP_PROTO(t, op, bar, _lse) \
sys/arm64/include/atomic.h
104
uint##t##_t tmp; \
sys/arm64/include/atomic.h
117
_ATOMIC_OP_PROTO(t, op, bar, ) \
sys/arm64/include/atomic.h
120
atomic_##op##_##bar##t##_lse(p, val); \
sys/arm64/include/atomic.h
122
atomic_##op##_##bar##t##_llsc(p, val); \
sys/arm64/include/atomic.h
145
#define _ATOMIC_CMPSET_PROTO(t, bar, flav) \
sys/arm64/include/atomic.h
147
atomic_cmpset_##bar##t##flav(volatile uint##t##_t *p, \
sys/arm64/include/atomic.h
148
uint##t##_t cmpval, uint##t##_t newval)
sys/arm64/include/atomic.h
150
#define _ATOMIC_FCMPSET_PROTO(t, bar, flav) \
sys/arm64/include/atomic.h
152
atomic_fcmpset_##bar##t##flav(volatile uint##t##_t *p, \
sys/arm64/include/atomic.h
153
uint##t##_t *cmpval, uint##t##_t newval)
sys/arm64/include/atomic.h
155
#define _ATOMIC_CMPSET_IMPL(t, w, s, bar, a, l) \
sys/arm64/include/atomic.h
156
_ATOMIC_CMPSET_PROTO(t, bar, _llsc) \
sys/arm64/include/atomic.h
158
uint##t##_t tmp; \
sys/arm64/include/atomic.h
177
_ATOMIC_CMPSET_PROTO(t, bar, _lse) \
sys/arm64/include/atomic.h
179
uint##t##_t oldval; \
sys/arm64/include/atomic.h
197
_ATOMIC_CMPSET_PROTO(t, bar, ) \
sys/arm64/include/atomic.h
200
return (atomic_cmpset_##bar##t##_lse(p, cmpval, \
sys/arm64/include/atomic.h
203
return (atomic_cmpset_##bar##t##_llsc(p, cmpval, \
sys/arm64/include/atomic.h
207
_ATOMIC_FCMPSET_PROTO(t, bar, _llsc) \
sys/arm64/include/atomic.h
209
uint##t##_t _cmpval, tmp; \
sys/arm64/include/atomic.h
229
_ATOMIC_FCMPSET_PROTO(t, bar, _lse) \
sys/arm64/include/atomic.h
231
uint##t##_t _cmpval, tmp; \
sys/arm64/include/atomic.h
250
_ATOMIC_FCMPSET_PROTO(t, bar, ) \
sys/arm64/include/atomic.h
253
return (atomic_fcmpset_##bar##t##_lse(p, cmpval, \
sys/arm64/include/atomic.h
256
return (atomic_fcmpset_##bar##t##_llsc(p, cmpval, \
sys/arm64/include/atomic.h
275
#define _ATOMIC_FETCHADD_PROTO(t, flav) \
sys/arm64/include/atomic.h
276
static __inline uint##t##_t \
sys/arm64/include/atomic.h
277
atomic_fetchadd_##t##flav(volatile uint##t##_t *p, uint##t##_t val)
sys/arm64/include/atomic.h
279
#define _ATOMIC_FETCHADD_IMPL(t, w) \
sys/arm64/include/atomic.h
280
_ATOMIC_FETCHADD_PROTO(t, _llsc) \
sys/arm64/include/atomic.h
282
uint##t##_t ret, tmp; \
sys/arm64/include/atomic.h
298
_ATOMIC_FETCHADD_PROTO(t, _lse) \
sys/arm64/include/atomic.h
300
uint##t##_t ret; \
sys/arm64/include/atomic.h
314
_ATOMIC_FETCHADD_PROTO(t, ) \
sys/arm64/include/atomic.h
317
return (atomic_fetchadd_##t##_lse(p, val)); \
sys/arm64/include/atomic.h
319
return (atomic_fetchadd_##t##_llsc(p, val)); \
sys/arm64/include/atomic.h
325
#define _ATOMIC_SWAP_PROTO(t, flav) \
sys/arm64/include/atomic.h
326
static __inline uint##t##_t \
sys/arm64/include/atomic.h
327
atomic_swap_##t##flav(volatile uint##t##_t *p, uint##t##_t val)
sys/arm64/include/atomic.h
329
#define _ATOMIC_READANDCLEAR_PROTO(t, flav) \
sys/arm64/include/atomic.h
330
static __inline uint##t##_t \
sys/arm64/include/atomic.h
331
atomic_readandclear_##t##flav(volatile uint##t##_t *p)
sys/arm64/include/atomic.h
333
#define _ATOMIC_SWAP_IMPL(t, w, zreg) \
sys/arm64/include/atomic.h
334
_ATOMIC_SWAP_PROTO(t, _llsc) \
sys/arm64/include/atomic.h
336
uint##t##_t ret; \
sys/arm64/include/atomic.h
351
_ATOMIC_SWAP_PROTO(t, _lse) \
sys/arm64/include/atomic.h
353
uint##t##_t ret; \
sys/arm64/include/atomic.h
367
_ATOMIC_SWAP_PROTO(t, ) \
sys/arm64/include/atomic.h
370
return (atomic_swap_##t##_lse(p, val)); \
sys/arm64/include/atomic.h
372
return (atomic_swap_##t##_llsc(p, val)); \
sys/arm64/include/atomic.h
375
_ATOMIC_READANDCLEAR_PROTO(t, _llsc) \
sys/arm64/include/atomic.h
377
uint##t##_t ret; \
sys/arm64/include/atomic.h
392
_ATOMIC_READANDCLEAR_PROTO(t, _lse) \
sys/arm64/include/atomic.h
394
return (atomic_swap_##t##_lse(p, 0)); \
sys/arm64/include/atomic.h
397
_ATOMIC_READANDCLEAR_PROTO(t, ) \
sys/arm64/include/atomic.h
400
return (atomic_readandclear_##t##_lse(p)); \
sys/arm64/include/atomic.h
402
return (atomic_readandclear_##t##_llsc(p)); \
sys/arm64/include/atomic.h
408
#define _ATOMIC_TEST_OP_PROTO(t, op, bar, flav) \
sys/arm64/include/atomic.h
410
atomic_testand##op##_##bar##t##flav(volatile uint##t##_t *p, u_int val)
sys/arm64/include/atomic.h
412
#define _ATOMIC_TEST_OP_IMPL(t, w, op, llsc_asm_op, lse_asm_op, bar, a) \
sys/arm64/include/atomic.h
413
_ATOMIC_TEST_OP_PROTO(t, op, bar, _llsc) \
sys/arm64/include/atomic.h
415
uint##t##_t mask, old, tmp; \
sys/arm64/include/atomic.h
418
mask = ((uint##t##_t)1) << (val & (t - 1)); \
sys/arm64/include/atomic.h
432
_ATOMIC_TEST_OP_PROTO(t, op, bar, _lse) \
sys/arm64/include/atomic.h
434
uint##t##_t mask, old; \
sys/arm64/include/atomic.h
436
mask = ((uint##t##_t)1) << (val & (t - 1)); \
sys/arm64/include/atomic.h
449
_ATOMIC_TEST_OP_PROTO(t, op, bar, ) \
sys/arm64/include/atomic.h
452
return (atomic_testand##op##_##bar##t##_lse(p, val)); \
sys/arm64/include/atomic.h
454
return (atomic_testand##op##_##bar##t##_llsc(p, val)); \
sys/arm64/include/atomic.h
466
#define _ATOMIC_LOAD_ACQ_IMPL(t, w, s) \
sys/arm64/include/atomic.h
467
static __inline uint##t##_t \
sys/arm64/include/atomic.h
468
atomic_load_acq_##t(const volatile uint##t##_t *p) \
sys/arm64/include/atomic.h
470
uint##t##_t ret; \
sys/arm64/include/atomic.h
488
#define _ATOMIC_STORE_REL_IMPL(t, w, s) \
sys/arm64/include/atomic.h
490
atomic_store_rel_##t(volatile uint##t##_t *p, uint##t##_t val) \
sys/arm64/include/atomic.h
80
#define _ATOMIC_OP_PROTO(t, op, bar, flav) \
sys/arm64/include/atomic.h
82
atomic_##op##_##bar##t##flav(volatile uint##t##_t *p, uint##t##_t val)
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
85
_ATOMIC_OP_PROTO(t, op, bar, _llsc) \
sys/arm64/include/atomic.h
87
uint##t##_t tmp; \
sys/arm64/include/bus.h
294
#define __bs_rs(sz, t, h, o) \
sys/arm64/include/bus.h
295
(*(t)->__bs_opname(r,sz))((t)->bs_cookie, h, o)
sys/arm64/include/bus.h
296
#define __bs_ws(sz, t, h, o, v) \
sys/arm64/include/bus.h
297
(*(t)->__bs_opname(w,sz))((t)->bs_cookie, h, o, v)
sys/arm64/include/bus.h
298
#define __bs_nonsingle(type, sz, t, h, o, a, c) \
sys/arm64/include/bus.h
299
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, a, c)
sys/arm64/include/bus.h
300
#define __bs_set(type, sz, t, h, o, v, c) \
sys/arm64/include/bus.h
301
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, v, c)
sys/arm64/include/bus.h
302
#define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \
sys/arm64/include/bus.h
303
(*(t)->__bs_opname(c,sz))((t)->bs_cookie, h1, o1, h2, o2, cnt)
sys/arm64/include/bus.h
306
#define __bs_rs_s(sz, t, h, o) \
sys/arm64/include/bus.h
307
(*(t)->__bs_opname_s(r,sz))((t)->bs_cookie, h, o)
sys/arm64/include/bus.h
308
#define __bs_ws_s(sz, t, h, o, v) \
sys/arm64/include/bus.h
309
(*(t)->__bs_opname_s(w,sz))((t)->bs_cookie, h, o, v)
sys/arm64/include/bus.h
310
#define __bs_peek(sz, t, h, o, vp) \
sys/arm64/include/bus.h
311
(*(t)->__bs_opname(peek, sz))((t)->bs_cookie, h, o, vp)
sys/arm64/include/bus.h
312
#define __bs_poke(sz, t, h, o, v) \
sys/arm64/include/bus.h
313
(*(t)->__bs_opname(poke, sz))((t)->bs_cookie, h, o, v)
sys/arm64/include/bus.h
314
#define __bs_nonsingle_s(type, sz, t, h, o, a, c) \
sys/arm64/include/bus.h
315
(*(t)->__bs_opname_s(type,sz))((t)->bs_cookie, h, o, a, c)
sys/arm64/include/bus.h
320
#define bus_space_map(t, a, s, c, hp) \
sys/arm64/include/bus.h
321
(*(t)->bs_map)((t)->bs_cookie, (a), (s), (c), (hp))
sys/arm64/include/bus.h
322
#define bus_space_unmap(t, h, s) \
sys/arm64/include/bus.h
323
(*(t)->bs_unmap)((t)->bs_cookie, (h), (s))
sys/arm64/include/bus.h
324
#define bus_space_subregion(t, h, o, s, hp) \
sys/arm64/include/bus.h
325
(*(t)->bs_subregion)((t)->bs_cookie, (h), (o), (s), (hp))
sys/arm64/include/bus.h
330
#define bus_space_alloc(t, rs, re, s, a, b, c, ap, hp) \
sys/arm64/include/bus.h
331
(*(t)->bs_alloc)((t)->bs_cookie, (rs), (re), (s), (a), (b), \
sys/arm64/include/bus.h
333
#define bus_space_free(t, h, s) \
sys/arm64/include/bus.h
334
(*(t)->bs_free)((t)->bs_cookie, (h), (s))
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/include/bus.h
345
#define bus_space_read_1(t, h, o) __bs_rs(1,(t),(h),(o))
sys/arm64/include/bus.h
346
#define bus_space_read_2(t, h, o) __bs_rs(2,(t),(h),(o))
sys/arm64/include/bus.h
347
#define bus_space_read_4(t, h, o) __bs_rs(4,(t),(h),(o))
sys/arm64/include/bus.h
348
#define bus_space_read_8(t, h, o) __bs_rs(8,(t),(h),(o))
sys/arm64/include/bus.h
350
#define bus_space_read_stream_1(t, h, o) __bs_rs_s(1,(t), (h), (o))
sys/arm64/include/bus.h
351
#define bus_space_read_stream_2(t, h, o) __bs_rs_s(2,(t), (h), (o))
sys/arm64/include/bus.h
352
#define bus_space_read_stream_4(t, h, o) __bs_rs_s(4,(t), (h), (o))
sys/arm64/include/bus.h
353
#define bus_space_read_stream_8(t, h, o) __bs_rs_s(8,(t), (h), (o))
sys/arm64/include/bus.h
358
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/arm64/include/bus.h
359
__bs_nonsingle(rm,1,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
360
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/arm64/include/bus.h
361
__bs_nonsingle(rm,2,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
362
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/arm64/include/bus.h
363
__bs_nonsingle(rm,4,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
364
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/arm64/include/bus.h
365
__bs_nonsingle(rm,8,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
367
#define bus_space_read_multi_stream_1(t, h, o, a, c) \
sys/arm64/include/bus.h
368
__bs_nonsingle_s(rm,1,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
369
#define bus_space_read_multi_stream_2(t, h, o, a, c) \
sys/arm64/include/bus.h
370
__bs_nonsingle_s(rm,2,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
371
#define bus_space_read_multi_stream_4(t, h, o, a, c) \
sys/arm64/include/bus.h
372
__bs_nonsingle_s(rm,4,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
373
#define bus_space_read_multi_stream_8(t, h, o, a, c) \
sys/arm64/include/bus.h
374
__bs_nonsingle_s(rm,8,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
379
#define bus_space_read_region_1(t, h, o, a, c) \
sys/arm64/include/bus.h
380
__bs_nonsingle(rr,1,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
381
#define bus_space_read_region_2(t, h, o, a, c) \
sys/arm64/include/bus.h
382
__bs_nonsingle(rr,2,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
383
#define bus_space_read_region_4(t, h, o, a, c) \
sys/arm64/include/bus.h
384
__bs_nonsingle(rr,4,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
385
#define bus_space_read_region_8(t, h, o, a, c) \
sys/arm64/include/bus.h
386
__bs_nonsingle(rr,8,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
388
#define bus_space_read_region_stream_1(t, h, o, a, c) \
sys/arm64/include/bus.h
389
__bs_nonsingle_s(rr,1,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
390
#define bus_space_read_region_stream_2(t, h, o, a, c) \
sys/arm64/include/bus.h
391
__bs_nonsingle_s(rr,2,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
392
#define bus_space_read_region_stream_4(t, h, o, a, c) \
sys/arm64/include/bus.h
393
__bs_nonsingle_s(rr,4,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
394
#define bus_space_read_region_stream_8(t, h, o, a, c) \
sys/arm64/include/bus.h
395
__bs_nonsingle_s(rr,8,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
400
#define bus_space_write_1(t, h, o, v) __bs_ws(1,(t),(h),(o),(v))
sys/arm64/include/bus.h
401
#define bus_space_write_2(t, h, o, v) __bs_ws(2,(t),(h),(o),(v))
sys/arm64/include/bus.h
402
#define bus_space_write_4(t, h, o, v) __bs_ws(4,(t),(h),(o),(v))
sys/arm64/include/bus.h
403
#define bus_space_write_8(t, h, o, v) __bs_ws(8,(t),(h),(o),(v))
sys/arm64/include/bus.h
405
#define bus_space_write_stream_1(t, h, o, v) __bs_ws_s(1,(t),(h),(o),(v))
sys/arm64/include/bus.h
406
#define bus_space_write_stream_2(t, h, o, v) __bs_ws_s(2,(t),(h),(o),(v))
sys/arm64/include/bus.h
407
#define bus_space_write_stream_4(t, h, o, v) __bs_ws_s(4,(t),(h),(o),(v))
sys/arm64/include/bus.h
408
#define bus_space_write_stream_8(t, h, o, v) __bs_ws_s(8,(t),(h),(o),(v))
sys/arm64/include/bus.h
413
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/arm64/include/bus.h
414
__bs_nonsingle(wm,1,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
415
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/arm64/include/bus.h
416
__bs_nonsingle(wm,2,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
417
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/arm64/include/bus.h
418
__bs_nonsingle(wm,4,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
419
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/arm64/include/bus.h
420
__bs_nonsingle(wm,8,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
422
#define bus_space_write_multi_stream_1(t, h, o, a, c) \
sys/arm64/include/bus.h
423
__bs_nonsingle_s(wm,1,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
424
#define bus_space_write_multi_stream_2(t, h, o, a, c) \
sys/arm64/include/bus.h
425
__bs_nonsingle_s(wm,2,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
426
#define bus_space_write_multi_stream_4(t, h, o, a, c) \
sys/arm64/include/bus.h
427
__bs_nonsingle_s(wm,4,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
428
#define bus_space_write_multi_stream_8(t, h, o, a, c) \
sys/arm64/include/bus.h
429
__bs_nonsingle_s(wm,8,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
434
#define bus_space_write_region_1(t, h, o, a, c) \
sys/arm64/include/bus.h
435
__bs_nonsingle(wr,1,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
436
#define bus_space_write_region_2(t, h, o, a, c) \
sys/arm64/include/bus.h
437
__bs_nonsingle(wr,2,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
438
#define bus_space_write_region_4(t, h, o, a, c) \
sys/arm64/include/bus.h
439
__bs_nonsingle(wr,4,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
440
#define bus_space_write_region_8(t, h, o, a, c) \
sys/arm64/include/bus.h
441
__bs_nonsingle(wr,8,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
443
#define bus_space_write_region_stream_1(t, h, o, a, c) \
sys/arm64/include/bus.h
444
__bs_nonsingle_s(wr,1,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
445
#define bus_space_write_region_stream_2(t, h, o, a, c) \
sys/arm64/include/bus.h
446
__bs_nonsingle_s(wr,2,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
447
#define bus_space_write_region_stream_4(t, h, o, a, c) \
sys/arm64/include/bus.h
448
__bs_nonsingle_s(wr,4,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
449
#define bus_space_write_region_stream_8(t, h, o, a, c) \
sys/arm64/include/bus.h
450
__bs_nonsingle_s(wr,8,(t),(h),(o),(a),(c))
sys/arm64/include/bus.h
455
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/arm64/include/bus.h
456
__bs_set(sm,1,(t),(h),(o),(v),(c))
sys/arm64/include/bus.h
457
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/arm64/include/bus.h
458
__bs_set(sm,2,(t),(h),(o),(v),(c))
sys/arm64/include/bus.h
459
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/arm64/include/bus.h
460
__bs_set(sm,4,(t),(h),(o),(v),(c))
sys/arm64/include/bus.h
461
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/arm64/include/bus.h
462
__bs_set(sm,8,(t),(h),(o),(v),(c))
sys/arm64/include/bus.h
464
#define bus_space_set_multi_stream_1(t, h, o, v, c) \
sys/arm64/include/bus.h
465
bus_space_set_multi_1((t), (h), (o), (v), (c))
sys/arm64/include/bus.h
466
#define bus_space_set_multi_stream_2(t, h, o, v, c) \
sys/arm64/include/bus.h
467
bus_space_set_multi_2((t), (h), (o), (v), (c))
sys/arm64/include/bus.h
468
#define bus_space_set_multi_stream_4(t, h, o, v, c) \
sys/arm64/include/bus.h
469
bus_space_set_multi_4((t), (h), (o), (v), (c))
sys/arm64/include/bus.h
470
#define bus_space_set_multi_stream_8(t, h, o, v, c) \
sys/arm64/include/bus.h
471
bus_space_set_multi_8((t), (h), (o), (v), (c))
sys/arm64/include/bus.h
476
#define bus_space_set_region_1(t, h, o, v, c) \
sys/arm64/include/bus.h
477
__bs_set(sr,1,(t),(h),(o),(v),(c))
sys/arm64/include/bus.h
478
#define bus_space_set_region_2(t, h, o, v, c) \
sys/arm64/include/bus.h
479
__bs_set(sr,2,(t),(h),(o),(v),(c))
sys/arm64/include/bus.h
480
#define bus_space_set_region_4(t, h, o, v, c) \
sys/arm64/include/bus.h
481
__bs_set(sr,4,(t),(h),(o),(v),(c))
sys/arm64/include/bus.h
482
#define bus_space_set_region_8(t, h, o, v, c) \
sys/arm64/include/bus.h
483
__bs_set(sr,8,(t),(h),(o),(v),(c))
sys/arm64/include/bus.h
485
#define bus_space_set_region_stream_1(t, h, o, v, c) \
sys/arm64/include/bus.h
486
bus_space_set_region_1((t), (h), (o), (v), (c))
sys/arm64/include/bus.h
487
#define bus_space_set_region_stream_2(t, h, o, v, c) \
sys/arm64/include/bus.h
488
bus_space_set_region_2((t), (h), (o), (v), (c))
sys/arm64/include/bus.h
489
#define bus_space_set_region_stream_4(t, h, o, v, c) \
sys/arm64/include/bus.h
490
bus_space_set_region_4((t), (h), (o), (v), (c))
sys/arm64/include/bus.h
491
#define bus_space_set_region_stream_8(t, h, o, v, c) \
sys/arm64/include/bus.h
492
bus_space_set_region_8((t), (h), (o), (v), (c))
sys/arm64/include/bus.h
497
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/arm64/include/bus.h
498
__bs_copy(1, t, h1, o1, h2, o2, c)
sys/arm64/include/bus.h
499
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/arm64/include/bus.h
500
__bs_copy(2, t, h1, o1, h2, o2, c)
sys/arm64/include/bus.h
501
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/arm64/include/bus.h
502
__bs_copy(4, t, h1, o1, h2, o2, c)
sys/arm64/include/bus.h
503
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/arm64/include/bus.h
504
__bs_copy(8, t, h1, o1, h2, o2, c)
sys/arm64/include/bus.h
509
#define bus_space_poke_1(t, h, o, v) __bs_poke(1, (t), (h), (o), (v))
sys/arm64/include/bus.h
510
#define bus_space_poke_2(t, h, o, v) __bs_poke(2, (t), (h), (o), (v))
sys/arm64/include/bus.h
511
#define bus_space_poke_4(t, h, o, v) __bs_poke(4, (t), (h), (o), (v))
sys/arm64/include/bus.h
512
#define bus_space_poke_8(t, h, o, v) __bs_poke(8, (t), (h), (o), (v))
sys/arm64/include/bus.h
517
#define bus_space_peek_1(t, h, o, vp) __bs_peek(1, (t), (h), (o), (vp))
sys/arm64/include/bus.h
518
#define bus_space_peek_2(t, h, o, vp) __bs_peek(2, (t), (h), (o), (vp))
sys/arm64/include/bus.h
519
#define bus_space_peek_4(t, h, o, vp) __bs_peek(4, (t), (h), (o), (vp))
sys/arm64/include/bus.h
520
#define bus_space_peek_8(t, h, o, vp) __bs_peek(8, (t), (h), (o), (vp))
sys/arm64/include/bus.h
75
#define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
sys/arm64/include/param.h
75
#define ALIGNED_POINTER(p, t) ((((u_long)(p)) & (sizeof(t) - 1)) == 0)
sys/arm64/iommu/iommu.c
166
iommu_tag_init(struct iommu_domain *iodom, struct bus_dma_tag_iommu *t)
sys/arm64/iommu/iommu.c
172
t->common.impl = &bus_dma_iommu_impl;
sys/arm64/iommu/iommu.c
173
t->common.alignment = 1;
sys/arm64/iommu/iommu.c
174
t->common.boundary = 0;
sys/arm64/iommu/iommu.c
175
t->common.lowaddr = maxaddr;
sys/arm64/iommu/iommu.c
176
t->common.highaddr = maxaddr;
sys/arm64/iommu/iommu.c
177
t->common.maxsize = maxaddr;
sys/arm64/iommu/iommu.c
178
t->common.nsegments = BUS_SPACE_UNRESTRICTED;
sys/arm64/iommu/iommu.c
179
t->common.maxsegsz = maxaddr;
sys/arm64/linux/linux_proto.h
25
#define PAD_(t) (sizeof(syscallarg_t) <= sizeof(t) ? \
sys/arm64/linux/linux_proto.h
26
0 : sizeof(syscallarg_t) - sizeof(t))
sys/arm64/linux/linux_proto.h
29
#define PADL_(t) 0
sys/arm64/linux/linux_proto.h
30
#define PADR_(t) PAD_(t)
sys/arm64/linux/linux_proto.h
32
#define PADL_(t) PAD_(t)
sys/arm64/linux/linux_proto.h
33
#define PADR_(t) 0
sys/arm64/nvidia/tegra210/tegra210_xusbpadctl.c
383
#define PORT(t, n, p, i) { \
sys/arm64/nvidia/tegra210/tegra210_xusbpadctl.c
384
.type = t, \
sys/arm64/nvidia/tegra210/tegra210_xusbpadctl.c
436
#define PAD(n, t, cn, rn, e, d) { \
sys/arm64/nvidia/tegra210/tegra210_xusbpadctl.c
438
.type = t, \
sys/cam/cam_ccb.h
305
#define XPORT_IS_NVME(t) ((t) == XPORT_NVME || (t) == XPORT_NVMF)
sys/cam/cam_ccb.h
306
#define XPORT_IS_ATA(t) ((t) == XPORT_ATA || (t) == XPORT_SATA)
sys/cam/cam_ccb.h
307
#define XPORT_IS_SCSI(t) ((t) != XPORT_UNKNOWN && \
sys/cam/cam_ccb.h
308
(t) != XPORT_UNSPECIFIED && \
sys/cam/cam_ccb.h
309
!XPORT_IS_ATA(t) && !XPORT_IS_NVME(t))
sys/cam/cam_ccb.h
310
#define XPORT_DEVSTAT_TYPE(t) (XPORT_IS_ATA(t) ? DEVSTAT_TYPE_IF_IDE : \
sys/cam/cam_ccb.h
311
XPORT_IS_SCSI(t) ? DEVSTAT_TYPE_IF_SCSI : \
sys/cam/cam_ccb.h
312
XPORT_IS_NVME(t) ? DEVSTAT_TYPE_IF_NVME : \
sys/cam/ctl/ctl.c
3871
uint64_t *t;
sys/cam/ctl/ctl.c
3873
t = lun->pr_keys[residx/CTL_MAX_INIT_PER_PORT];
sys/cam/ctl/ctl.c
3874
if (t == NULL)
sys/cam/ctl/ctl.c
3876
return (t[residx % CTL_MAX_INIT_PER_PORT]);
sys/cam/ctl/ctl.c
3882
uint64_t *t;
sys/cam/ctl/ctl.c
3884
t = lun->pr_keys[residx/CTL_MAX_INIT_PER_PORT];
sys/cam/ctl/ctl.c
3885
if (t == NULL)
sys/cam/ctl/ctl.c
3887
t[residx % CTL_MAX_INIT_PER_PORT] = 0;
sys/cam/ctl/ctl.c
3912
uint64_t *t;
sys/cam/ctl/ctl.c
3914
t = lun->pr_keys[residx/CTL_MAX_INIT_PER_PORT];
sys/cam/ctl/ctl.c
3915
KASSERT(t != NULL, ("prkey %d is not allocated", residx));
sys/cam/ctl/ctl.c
3916
t[residx % CTL_MAX_INIT_PER_PORT] = key;
sys/cam/ctl/ctl.c
5937
uint64_t t;
sys/cam/ctl/ctl.c
5949
t = scsi_4btoul(lun->MODE_IE.interval_timer);
sys/cam/ctl/ctl.c
5950
if (t == 0 || t == UINT32_MAX)
sys/cam/ctl/ctl.c
5951
t = 3000; /* 5 min */
sys/cam/ctl/ctl.c
5952
callout_schedule_sbt(&lun->ie_callout, SBT_1S / 10 * t,
sys/cam/ctl/ctl.c
5963
uint64_t t;
sys/cam/ctl/ctl.c
5982
t = scsi_4btoul(pg->interval_timer);
sys/cam/ctl/ctl.c
5983
if (t == 0 || t == UINT32_MAX)
sys/cam/ctl/ctl.c
5984
t = 3000; /* 5 min */
sys/cam/ctl/ctl.c
5985
callout_reset_sbt(&lun->ie_callout, SBT_1S / 10 * t,
sys/cam/ctl/ctl.c
6811
struct bintime *t;
sys/cam/ctl/ctl.c
6829
t = &lun->stats.time[CTL_STATS_READ];
sys/cam/ctl/ctl.c
6830
scsi_u64to8b((uint64_t)t->sec * 1000 + t->frac / (UINT64_MAX / 1000),
sys/cam/ctl/ctl.c
6832
t = &lun->stats.time[CTL_STATS_WRITE];
sys/cam/ctl/ctl.c
6833
scsi_u64to8b((uint64_t)t->sec * 1000 + t->frac / (UINT64_MAX / 1000),
sys/cam/ctl/ctl_backend_ramdisk.c
1131
uint64_t t;
sys/cam/ctl/ctl_backend_ramdisk.c
1159
ctl_expand_number(value, &t);
sys/cam/ctl/ctl_backend_ramdisk.c
1160
be_lun->pblocksize = t;
sys/cam/ctl/ctl_backend_ramdisk.c
1194
t = be_lun->size_bytes / be_lun->pblocksize;
sys/cam/ctl/ctl_backend_ramdisk.c
1195
while (t > 1) {
sys/cam/ctl/ctl_backend_ramdisk.c
1196
t /= PPP;
sys/cddl/boot/zfs/sha256.c
130
uint32_t a, b, c, d, e, f, g, h, t, T1, T2, W[64];
sys/cddl/boot/zfs/sha256.c
133
for (t = 0; t < 16; t++, cp += sizeof (uint32_t))
sys/cddl/boot/zfs/sha256.c
134
W[t] = (cp[0] << 24) | (cp[1] << 16) | (cp[2] << 8) | cp[3];
sys/cddl/boot/zfs/sha256.c
137
for (t = 16; t < 64; t++)
sys/cddl/boot/zfs/sha256.c
138
W[t] = SIGMA1_256(W[t - 2]) + W[t - 7] +
sys/cddl/boot/zfs/sha256.c
139
SIGMA0_256(W[t - 15]) + W[t - 16];
sys/cddl/boot/zfs/sha256.c
146
for (t = 0; t < 64; t++) {
sys/cddl/boot/zfs/sha256.c
147
T1 = h + BIGSIGMA1_256(e) + Ch(e, f, g) + SHA256_K[t] + W[t];
sys/cddl/boot/zfs/sha256.c
161
uint64_t a, b, c, d, e, f, g, h, t, T1, T2, W[80];
sys/cddl/boot/zfs/sha256.c
164
for (t = 0; t < 16; t++, cp += sizeof (uint64_t))
sys/cddl/boot/zfs/sha256.c
165
W[t] = ((uint64_t)cp[0] << 56) | ((uint64_t)cp[1] << 48) |
sys/cddl/boot/zfs/sha256.c
171
for (t = 16; t < 80; t++)
sys/cddl/boot/zfs/sha256.c
172
W[t] = SIGMA1_512(W[t - 2]) + W[t - 7] +
sys/cddl/boot/zfs/sha256.c
173
SIGMA0_512(W[t - 15]) + W[t - 16];
sys/cddl/boot/zfs/sha256.c
180
for (t = 0; t < 80; t++) {
sys/cddl/boot/zfs/sha256.c
181
T1 = h + BIGSIGMA1_512(e) + Ch(e, f, g) + SHA512_K[t] + W[t];
sys/cddl/boot/zfs/zfsimpl.h
297
#define BPE_SET_ETYPE(bp, t) do { \
sys/cddl/boot/zfs/zfsimpl.h
299
BF64_SET((bp)->blk_prop, 40, 8, t); \
sys/cddl/boot/zfs/zfssubr.c
1057
int n, i, c, t, tt;
sys/cddl/boot/zfs/zfssubr.c
1078
for (t = 0; t < ntgts; t++) {
sys/cddl/boot/zfs/zfssubr.c
1079
if (tgts[t] >= rm->rm_firstdatacol) {
sys/cddl/boot/zfs/zfssubr.c
1081
tgts[t] - rm->rm_firstdatacol;
sys/cddl/boot/zfs/zfssubr.c
1165
vdev_raidz_reconstruct(raidz_map_t *rm, int *t, int nt)
sys/cddl/boot/zfs/zfssubr.c
1177
ASSERT(t[i] > t[i - 1]);
sys/cddl/boot/zfs/zfssubr.c
1184
if (i < nt && c == t[i]) {
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
149
kthread_t *t = curthread;
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
150
struct regs *rp = lwptoregs(ttolwp(t));
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
151
size_t isz = t->t_dtrace_npc - t->t_dtrace_pc;
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
153
ASSERT(t->t_dtrace_on);
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
161
if (rp->r_pc < t->t_dtrace_scrpc ||
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
162
rp->r_pc > t->t_dtrace_astpc + isz) {
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
163
t->t_dtrace_ft = 0;
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
164
} else if (rp->r_pc == t->t_dtrace_scrpc ||
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
165
rp->r_pc == t->t_dtrace_astpc) {
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
166
rp->r_pc = t->t_dtrace_pc;
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
167
t->t_dtrace_ft = 0;
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
174
kthread_t *t = curthread;
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
175
struct regs *rp = lwptoregs(ttolwp(t));
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
176
size_t isz = t->t_dtrace_npc - t->t_dtrace_pc;
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
178
ASSERT(t->t_dtrace_on);
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
184
if (rp->r_pc < t->t_dtrace_scrpc ||
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
185
rp->r_pc > t->t_dtrace_astpc + isz) {
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
186
t->t_dtrace_ft = 0;
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
198
if (rp->r_pc >= t->t_dtrace_scrpc + isz &&
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
199
rp->r_pc < t->t_dtrace_astpc) {
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
206
if (t->t_dtrace_reg != 0 &&
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
207
rp->r_pc == t->t_dtrace_scrpc + isz) {
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
208
switch (t->t_dtrace_reg) {
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
210
rp->r_rax = t->t_dtrace_regv;
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
213
rp->r_rcx = t->t_dtrace_regv;
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
216
rp->r_r8 = t->t_dtrace_regv;
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
219
rp->r_r9 = t->t_dtrace_regv;
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
224
rp->r_pc = t->t_dtrace_npc;
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
225
t->t_dtrace_ft = 0;
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
233
if (!t->t_dtrace_step) {
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
234
ASSERT(rp->r_pc < t->t_dtrace_astpc);
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
235
rp->r_pc += t->t_dtrace_astpc - t->t_dtrace_scrpc;
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
236
t->t_dtrace_step = 1;
sys/cddl/dev/dtrace/amd64/dtrace_subr.c
239
t->t_dtrace_ast = 1;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
146
kthread_t *t = curthread;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
147
struct regs *rp = lwptoregs(ttolwp(t));
sys/cddl/dev/dtrace/i386/dtrace_subr.c
148
size_t isz = t->t_dtrace_npc - t->t_dtrace_pc;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
150
ASSERT(t->t_dtrace_on);
sys/cddl/dev/dtrace/i386/dtrace_subr.c
158
if (rp->r_pc < t->t_dtrace_scrpc ||
sys/cddl/dev/dtrace/i386/dtrace_subr.c
159
rp->r_pc > t->t_dtrace_astpc + isz) {
sys/cddl/dev/dtrace/i386/dtrace_subr.c
160
t->t_dtrace_ft = 0;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
161
} else if (rp->r_pc == t->t_dtrace_scrpc ||
sys/cddl/dev/dtrace/i386/dtrace_subr.c
162
rp->r_pc == t->t_dtrace_astpc) {
sys/cddl/dev/dtrace/i386/dtrace_subr.c
163
rp->r_pc = t->t_dtrace_pc;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
164
t->t_dtrace_ft = 0;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
171
kthread_t *t = curthread;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
172
struct regs *rp = lwptoregs(ttolwp(t));
sys/cddl/dev/dtrace/i386/dtrace_subr.c
173
size_t isz = t->t_dtrace_npc - t->t_dtrace_pc;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
175
ASSERT(t->t_dtrace_on);
sys/cddl/dev/dtrace/i386/dtrace_subr.c
181
if (rp->r_pc < t->t_dtrace_scrpc ||
sys/cddl/dev/dtrace/i386/dtrace_subr.c
182
rp->r_pc > t->t_dtrace_astpc + isz) {
sys/cddl/dev/dtrace/i386/dtrace_subr.c
183
t->t_dtrace_ft = 0;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
195
if (rp->r_pc >= t->t_dtrace_scrpc + isz &&
sys/cddl/dev/dtrace/i386/dtrace_subr.c
196
rp->r_pc < t->t_dtrace_astpc) {
sys/cddl/dev/dtrace/i386/dtrace_subr.c
203
if (t->t_dtrace_reg != 0 &&
sys/cddl/dev/dtrace/i386/dtrace_subr.c
204
rp->r_pc == t->t_dtrace_scrpc + isz) {
sys/cddl/dev/dtrace/i386/dtrace_subr.c
205
switch (t->t_dtrace_reg) {
sys/cddl/dev/dtrace/i386/dtrace_subr.c
207
rp->r_rax = t->t_dtrace_regv;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
210
rp->r_rcx = t->t_dtrace_regv;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
213
rp->r_r8 = t->t_dtrace_regv;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
216
rp->r_r9 = t->t_dtrace_regv;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
221
rp->r_pc = t->t_dtrace_npc;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
222
t->t_dtrace_ft = 0;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
230
if (!t->t_dtrace_step) {
sys/cddl/dev/dtrace/i386/dtrace_subr.c
231
ASSERT(rp->r_pc < t->t_dtrace_astpc);
sys/cddl/dev/dtrace/i386/dtrace_subr.c
232
rp->r_pc += t->t_dtrace_astpc - t->t_dtrace_scrpc;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
233
t->t_dtrace_step = 1;
sys/cddl/dev/dtrace/i386/dtrace_subr.c
236
t->t_dtrace_ast = 1;
sys/cddl/dev/fbt/fbt.c
952
uint_t kind, n = 1, t;
sys/cddl/dev/fbt/fbt.c
964
fbt_get_ctt_index(hp->cth_version, tp, NULL, &t, NULL);
sys/cddl/dev/fbt/fbt.c
976
ctf_decl_push(cd, lc, t);
sys/cddl/dev/fbt/fbt.c
983
ctf_decl_push(cd, lc, t);
sys/cddl/dev/fbt/fbt.c
988
ctf_decl_push(cd, lc, t);
sys/cddl/dev/fbt/fbt.c
995
ctf_decl_push(cd, lc, t);
sys/cddl/dev/kinst/riscv/kinst_isa.c
38
return (_MATCH_REG(t[n - 5]));
sys/cddl/dev/kinst/riscv/kinst_isa.c
46
return (_MATCH_REG(t[n - 28 + 3]));
sys/compat/freebsd32/freebsd32_proto.h
25
#define PAD_(t) (sizeof(syscallarg_t) <= sizeof(t) ? \
sys/compat/freebsd32/freebsd32_proto.h
26
0 : sizeof(syscallarg_t) - sizeof(t))
sys/compat/freebsd32/freebsd32_proto.h
29
#define PADL_(t) 0
sys/compat/freebsd32/freebsd32_proto.h
30
#define PADR_(t) PAD_(t)
sys/compat/freebsd32/freebsd32_proto.h
32
#define PADL_(t) PAD_(t)
sys/compat/freebsd32/freebsd32_proto.h
33
#define PADR_(t) 0
sys/compat/linux/linux_file.c
65
static int linux_do_accessat(struct thread *t, int, const char *, int, int);
sys/compat/linuxkpi/common/include/linux/bitops.h
51
#define BITS_PER_TYPE(t) (sizeof(t) * BITS_PER_BYTE)
sys/compat/linuxkpi/common/include/linux/cleanup.h
41
CLEANUP_NAME(_n, _destroy)(_dt *t) \
sys/compat/linuxkpi/common/include/linux/cleanup.h
45
_T = *t; \
sys/compat/linuxkpi/common/include/linux/compiler.h
91
#define is_signed_type(t) ((t)-1 < (t)1)
sys/compat/linuxkpi/common/include/linux/compiler.h
92
#define is_unsigned_type(t) ((t)-1 > (t)1)
sys/compat/linuxkpi/common/include/linux/delay.h
54
#define udelay(t) DELAY(t)
sys/compat/linuxkpi/common/include/linux/interrupt.h
176
#define tasklet_hi_schedule(t) tasklet_schedule(t)
sys/compat/linuxkpi/common/include/linux/kernel.h
136
#define FIELD_SIZEOF(t, f) sizeof(((t *)0)->f)
sys/compat/linuxkpi/common/include/linux/kernel.h
275
#define offsetofend(t, m) \
sys/compat/linuxkpi/common/include/linux/kernel.h
276
(offsetof(t, m) + sizeof((((t *)0)->m)))
sys/compat/linuxkpi/common/include/linux/overflow.h
35
#define type_max(t) __type_max(typeof(t))
sys/compat/linuxkpi/common/include/linux/overflow.h
37
#define type_min(t) __type_min(typeof(t))
sys/compat/linuxkpi/common/include/linux/random.h
76
uint32_t t, v;
sys/compat/linuxkpi/common/include/linux/random.h
81
t = ceil - floor + 1;
sys/compat/linuxkpi/common/include/linux/random.h
82
x = (uint64_t)t * v;
sys/compat/linuxkpi/common/include/linux/random.h
83
while (x < t)
sys/compat/linuxkpi/common/include/linux/random.h
84
x = (uint64_t)t * get_random_u32();
sys/compat/linuxkpi/common/include/linux/sched.h
224
sched_set_fifo(struct task_struct *t)
sys/compat/linuxkpi/common/include/linux/sched.h
230
rtp_to_pri(&rtp, t->task_thread);
sys/compat/linuxkpi/common/include/linux/sched.h
234
sched_set_fifo_low(struct task_struct *t)
sys/compat/linuxkpi/common/include/linux/sched.h
240
rtp_to_pri(&rtp, t->task_thread);
sys/compat/linuxkpi/common/include/net/mac80211.h
1618
ieee80211_chswitch_done(struct ieee80211_vif *vif, bool t, uint32_t link_id)
sys/compat/linuxkpi/common/include/net/mac80211.h
2104
ieee80211_sta_set_buffered(struct ieee80211_sta *sta, uint8_t tid, bool t)
sys/compat/linuxkpi/common/src/linux_kobject.c
110
const struct kobj_type *t;
sys/compat/linuxkpi/common/src/linux_kobject.c
121
t = kobj->ktype;
sys/compat/linuxkpi/common/src/linux_kobject.c
123
for (attr = t->default_attrs; *attr != NULL; attr++) {
sys/crypto/aesni/aesni_wrap.c
195
__m128i t = _mm_cmpeq_epi64(x, ZERO);
sys/crypto/aesni/aesni_wrap.c
196
t = _mm_unpackhi_epi64(t, ZERO);
sys/crypto/aesni/aesni_wrap.c
197
x = _mm_sub_epi64(x, t);
sys/crypto/armv8/armv8_crypto.h
44
size_t t[16 / sizeof(size_t)];
sys/crypto/ccp/ccp_hardware.c
1140
uint64_t t;
sys/crypto/ccp/ccp_hardware.c
1142
t = bswap64(buffer[3]);
sys/crypto/ccp/ccp_hardware.c
1144
buffer[0] = t;
sys/crypto/ccp/ccp_hardware.c
1146
t = bswap64(buffer[2]);
sys/crypto/ccp/ccp_hardware.c
1148
buffer[1] = t;
sys/crypto/ccp/ccp_hardware.c
1320
char t;
sys/crypto/ccp/ccp_hardware.c
1324
t = data[i];
sys/crypto/ccp/ccp_hardware.c
1326
data[len] = t;
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
253
l=r=t=u=0;
sys/crypto/des/des_enc.c
69
DES_LONG l,r,t,u;
sys/crypto/des/des_locl.h
126
#define LOAD_DATA(R,S,u,t,E0,E1,tmp) \
sys/crypto/des/des_locl.h
128
t=R^s[S+1]
sys/crypto/des/des_locl.h
146
LOAD_DATA(R,S,u,t,E0,E1,u1); \
sys/crypto/des/des_locl.h
150
t=ROTATE(t,4); \
sys/crypto/des/des_locl.h
159
u2=(int)t>>8L; \
sys/crypto/des/des_locl.h
160
u1=(int)t&0xfc; \
sys/crypto/des/des_locl.h
162
t>>=16L; \
sys/crypto/des/des_locl.h
165
u3=(int)t>>8L; \
sys/crypto/des/des_locl.h
166
u1=(int)t&0xfc; \
sys/crypto/des/des_locl.h
174
LOAD_DATA(R,S,u,t,E0,E1,u1); \
sys/crypto/des/des_locl.h
178
t=ROTATE(t,4); \
sys/crypto/des/des_locl.h
187
u2=(int)t>>8L; \
sys/crypto/des/des_locl.h
188
u1=(int)t&0xfc; \
sys/crypto/des/des_locl.h
192
s1=(int)(t>>16L); \
sys/crypto/des/des_locl.h
193
s2=(int)(t>>24L); \
sys/crypto/des/des_locl.h
198
u2=(int)t>>8L; \
sys/crypto/des/des_locl.h
199
u1=(int)t&0xfc; \
sys/crypto/des/des_locl.h
203
s1=(int)(t>>16L); \
sys/crypto/des/des_locl.h
204
s2=(int)(t>>24L); \
sys/crypto/des/des_locl.h
212
LOAD_DATA_tmp(R,S,u,t,E0,E1); \
sys/crypto/des/des_locl.h
213
t=ROTATE(t,4); \
sys/crypto/des/des_locl.h
219
*(const DES_LONG *)(des_SP+0x100+((t )&0xfc))^ \
sys/crypto/des/des_locl.h
220
*(const DES_LONG *)(des_SP+0x300+((t>> 8L)&0xfc))^ \
sys/crypto/des/des_locl.h
221
*(const DES_LONG *)(des_SP+0x500+((t>>16L)&0xfc))^ \
sys/crypto/des/des_locl.h
222
*(const DES_LONG *)(des_SP+0x700+((t>>24L)&0xfc)); }
sys/crypto/des/des_locl.h
230
LOAD_DATA(R,S,u,t,E0,E1,u1); \
sys/crypto/des/des_locl.h
232
t=ROTATE(t,6); \
sys/crypto/des/des_locl.h
244
u2=(int)t>>8L; \
sys/crypto/des/des_locl.h
245
u1=(int)t&0x3f; \
sys/crypto/des/des_locl.h
247
t>>=16L; \
sys/crypto/des/des_locl.h
250
u3=(int)t>>8L; \
sys/crypto/des/des_locl.h
251
u1=(int)t&0x3f; \
sys/crypto/des/des_locl.h
259
LOAD_DATA(R,S,u,t,E0,E1,u1); \
sys/crypto/des/des_locl.h
261
t=ROTATE(t,6); \
sys/crypto/des/des_locl.h
273
u2=(int)t>>8L; \
sys/crypto/des/des_locl.h
274
u1=(int)t&0x3f; \
sys/crypto/des/des_locl.h
278
s1=(int)t>>16; \
sys/crypto/des/des_locl.h
279
s2=(int)t>>24L; \
sys/crypto/des/des_locl.h
289
LOAD_DATA_tmp(R,S,u,t,E0,E1); \
sys/crypto/des/des_locl.h
290
t=ROTATE(t,4); \
sys/crypto/des/des_locl.h
296
des_SPtrans[1][(t>> 2L)&0x3f]^ \
sys/crypto/des/des_locl.h
297
des_SPtrans[3][(t>>10L)&0x3f]^ \
sys/crypto/des/des_locl.h
298
des_SPtrans[5][(t>>18L)&0x3f]^ \
sys/crypto/des/des_locl.h
299
des_SPtrans[7][(t>>26L)&0x3f]; }
sys/crypto/des/des_locl.h
340
#define PERM_OP(a,b,t,n,m) ((t)=((((a)>>(n))^(b))&(m)),\
sys/crypto/des/des_locl.h
341
(b)^=(t),\
sys/crypto/des/des_locl.h
342
(a)^=((t)<<(n)))
sys/crypto/des/des_setkey.c
139
#define HPERM_OP(a,t,n,m) ((t)=((((a)<<(16-(n)))^(a))&(m)),\
sys/crypto/des/des_setkey.c
140
(a)=(a)^(t)^(t>>(16-(n))))
sys/crypto/des/des_setkey.c
172
DES_LONG c,d,t,s,t2;
sys/crypto/des/des_setkey.c
186
PERM_OP (d,c,t,4,0x0f0f0f0fL);
sys/crypto/des/des_setkey.c
187
HPERM_OP(c,t,-2,0xcccc0000L);
sys/crypto/des/des_setkey.c
188
HPERM_OP(d,t,-2,0xcccc0000L);
sys/crypto/des/des_setkey.c
189
PERM_OP (d,c,t,1,0x55555555L);
sys/crypto/des/des_setkey.c
190
PERM_OP (c,d,t,8,0x00ff00ffL);
sys/crypto/des/des_setkey.c
191
PERM_OP (d,c,t,1,0x55555555L);
sys/crypto/des/des_setkey.c
211
t= des_skb[4][ (d )&0x3f ]|
sys/crypto/des/des_setkey.c
217
t2=((t<<16L)|(s&0x0000ffffL))&0xffffffffL;
sys/crypto/des/des_setkey.c
220
t2=((s>>16L)|(t&0xffff0000L));
sys/crypto/md5c.c
103
le64enc(tmp + t, len);
sys/crypto/md5c.c
104
MD5Update(ctx, tmp, t + 8);
sys/crypto/md5c.c
93
unsigned t;
sys/crypto/md5c.c
97
t = 64 + 56 - ctx->count[0] % 64;
sys/crypto/md5c.c
98
if (t > 64)
sys/crypto/md5c.c
99
t -= 64;
sys/crypto/openssl/ossl_sha512.c
111
SHA_LONG64 t = c->h[n];
sys/crypto/openssl/ossl_sha512.c
113
*(md++) = (unsigned char)(t >> 56);
sys/crypto/openssl/ossl_sha512.c
114
*(md++) = (unsigned char)(t >> 48);
sys/crypto/openssl/ossl_sha512.c
115
*(md++) = (unsigned char)(t >> 40);
sys/crypto/openssl/ossl_sha512.c
116
*(md++) = (unsigned char)(t >> 32);
sys/crypto/openssl/ossl_sha512.c
117
*(md++) = (unsigned char)(t >> 24);
sys/crypto/openssl/ossl_sha512.c
118
*(md++) = (unsigned char)(t >> 16);
sys/crypto/openssl/ossl_sha512.c
119
*(md++) = (unsigned char)(t >> 8);
sys/crypto/openssl/ossl_sha512.c
120
*(md++) = (unsigned char)(t);
sys/crypto/openssl/ossl_sha512.c
127
SHA_LONG64 t = c->h[SHA224_DIGEST_LENGTH / 8];
sys/crypto/openssl/ossl_sha512.c
129
*(md++) = (unsigned char)(t >> 56);
sys/crypto/openssl/ossl_sha512.c
130
*(md++) = (unsigned char)(t >> 48);
sys/crypto/openssl/ossl_sha512.c
131
*(md++) = (unsigned char)(t >> 40);
sys/crypto/openssl/ossl_sha512.c
132
*(md++) = (unsigned char)(t >> 32);
sys/crypto/openssl/ossl_sha512.c
137
SHA_LONG64 t = c->h[n];
sys/crypto/openssl/ossl_sha512.c
139
*(md++) = (unsigned char)(t >> 56);
sys/crypto/openssl/ossl_sha512.c
140
*(md++) = (unsigned char)(t >> 48);
sys/crypto/openssl/ossl_sha512.c
141
*(md++) = (unsigned char)(t >> 40);
sys/crypto/openssl/ossl_sha512.c
142
*(md++) = (unsigned char)(t >> 32);
sys/crypto/openssl/ossl_sha512.c
143
*(md++) = (unsigned char)(t >> 24);
sys/crypto/openssl/ossl_sha512.c
144
*(md++) = (unsigned char)(t >> 16);
sys/crypto/openssl/ossl_sha512.c
145
*(md++) = (unsigned char)(t >> 8);
sys/crypto/openssl/ossl_sha512.c
146
*(md++) = (unsigned char)(t);
sys/crypto/openssl/ossl_sha512.c
151
SHA_LONG64 t = c->h[n];
sys/crypto/openssl/ossl_sha512.c
153
*(md++) = (unsigned char)(t >> 56);
sys/crypto/openssl/ossl_sha512.c
154
*(md++) = (unsigned char)(t >> 48);
sys/crypto/openssl/ossl_sha512.c
155
*(md++) = (unsigned char)(t >> 40);
sys/crypto/openssl/ossl_sha512.c
156
*(md++) = (unsigned char)(t >> 32);
sys/crypto/openssl/ossl_sha512.c
157
*(md++) = (unsigned char)(t >> 24);
sys/crypto/openssl/ossl_sha512.c
158
*(md++) = (unsigned char)(t >> 16);
sys/crypto/openssl/ossl_sha512.c
159
*(md++) = (unsigned char)(t >> 8);
sys/crypto/openssl/ossl_sha512.c
160
*(md++) = (unsigned char)(t);
sys/crypto/openssl/ossl_sha512.c
165
SHA_LONG64 t = c->h[n];
sys/crypto/openssl/ossl_sha512.c
167
*(md++) = (unsigned char)(t >> 56);
sys/crypto/openssl/ossl_sha512.c
168
*(md++) = (unsigned char)(t >> 48);
sys/crypto/openssl/ossl_sha512.c
169
*(md++) = (unsigned char)(t >> 40);
sys/crypto/openssl/ossl_sha512.c
170
*(md++) = (unsigned char)(t >> 32);
sys/crypto/openssl/ossl_sha512.c
171
*(md++) = (unsigned char)(t >> 24);
sys/crypto/openssl/ossl_sha512.c
172
*(md++) = (unsigned char)(t >> 16);
sys/crypto/openssl/ossl_sha512.c
173
*(md++) = (unsigned char)(t >> 8);
sys/crypto/openssl/ossl_sha512.c
174
*(md++) = (unsigned char)(t);
sys/crypto/sha1.c
136
for (t = 0; t < 20; t++) {
sys/crypto/sha1.c
137
s = t & 0x0f;
sys/crypto/sha1.c
138
if (t >= 16) {
sys/crypto/sha1.c
141
tmp = S(5, a) + F0(b, c, d) + e + W(s) + K(t);
sys/crypto/sha1.c
144
for (t = 20; t < 40; t++) {
sys/crypto/sha1.c
145
s = t & 0x0f;
sys/crypto/sha1.c
147
tmp = S(5, a) + F1(b, c, d) + e + W(s) + K(t);
sys/crypto/sha1.c
150
for (t = 40; t < 60; t++) {
sys/crypto/sha1.c
151
s = t & 0x0f;
sys/crypto/sha1.c
153
tmp = S(5, a) + F2(b, c, d) + e + W(s) + K(t);
sys/crypto/sha1.c
156
for (t = 60; t < 80; t++) {
sys/crypto/sha1.c
157
s = t & 0x0f;
sys/crypto/sha1.c
159
tmp = S(5, a) + F3(b, c, d) + e + W(s) + K(t);
sys/crypto/sha1.c
57
#define K(t) _K[(t) / 20]
sys/crypto/sha1.c
94
size_t t, s;
sys/ddb/db_capture.c
340
int t;
sys/ddb/db_capture.c
342
t = db_read_token();
sys/ddb/db_capture.c
343
if (t != tIDENT) {
sys/ddb/db_command.c
192
int t;
sys/ddb/db_command.c
195
t = db_read_token();
sys/ddb/db_command.c
196
} while (t != tEOL);
sys/ddb/db_command.c
384
int t, result;
sys/ddb/db_command.c
387
t = db_read_token();
sys/ddb/db_command.c
388
if (t == tEOL) {
sys/ddb/db_command.c
395
} else if (t == tEXCL) {
sys/ddb/db_command.c
398
} else if (t != tIDENT) {
sys/ddb/db_command.c
435
t = db_read_token();
sys/ddb/db_command.c
436
if (t != tIDENT) {
sys/ddb/db_command.c
451
t = db_read_token();
sys/ddb/db_command.c
452
if (t == tSLASH) {
sys/ddb/db_command.c
453
t = db_read_token();
sys/ddb/db_command.c
454
if (t != tIDENT) {
sys/ddb/db_command.c
461
db_unread_token(t);
sys/ddb/db_command.c
474
t = db_read_token();
sys/ddb/db_command.c
475
if (t == tCOMMA) {
sys/ddb/db_command.c
482
db_unread_token(t);
sys/ddb/db_command.c
643
int t;
sys/ddb/db_command.c
651
t = db_read_token();
sys/ddb/db_command.c
652
if (t == tLPAREN) {
sys/ddb/db_command.c
655
while ((t = db_read_token()) == tCOMMA) {
sys/ddb/db_command.c
668
db_unread_token(t);
sys/ddb/db_command.c
836
int t;
sys/ddb/db_command.c
844
t = db_read_token();
sys/ddb/db_command.c
845
if (t == tCOMMA) {
sys/ddb/db_command.c
853
db_unread_token(t);
sys/ddb/db_ctf.c
102
vlen = CTF_V3_INFO_VLEN(t->ctt_info);
sys/ddb/db_ctf.c
103
kind = CTF_V3_INFO_KIND(t->ctt_info);
sys/ddb/db_ctf.c
104
ssize = ((t->ctt_size == CTF_V3_LSIZE_SENT) ? CTF_TYPE_LSIZE(t) :
sys/ddb/db_ctf.c
105
t->ctt_size);
sys/ddb/db_ctf.c
106
type_struct_size = ((t->ctt_size == CTF_V3_LSIZE_SENT) ?
sys/ddb/db_ctf.c
179
struct ctf_type_v3 *t =
sys/ddb/db_ctf.c
183
if (t->ctt_name == name_stroff) {
sys/ddb/db_ctf.c
186
if ((skiplen = db_ctf_type_size(t)) == -1) {
sys/ddb/db_ctf.c
227
struct ctf_type_v3 *t =
sys/ddb/db_ctf.c
236
if ((skiplen = db_ctf_type_size(t)) == -1) {
sys/ddb/db_ctf.c
97
db_ctf_type_size(struct ctf_type_v3 *t)
sys/ddb/db_examine.c
254
int t;
sys/ddb/db_examine.c
261
t = db_read_token();
sys/ddb/db_examine.c
262
if (t == tSLASH) {
sys/ddb/db_examine.c
263
t = db_read_token();
sys/ddb/db_examine.c
264
if (t != tIDENT) {
sys/ddb/db_examine.c
280
db_unread_token(t);
sys/ddb/db_examine.c
299
t = db_read_token();
sys/ddb/db_examine.c
300
if (t == tCOMMA) {
sys/ddb/db_examine.c
307
db_unread_token(t);
sys/ddb/db_expr.c
105
db_unread_token(t);
sys/ddb/db_expr.c
112
int t;
sys/ddb/db_expr.c
114
t = db_read_token();
sys/ddb/db_expr.c
115
if (t == tMINUS) {
sys/ddb/db_expr.c
124
if (t == tEXCL) {
sys/ddb/db_expr.c
133
if (t == tBIT_NOT) {
sys/ddb/db_expr.c
142
if (t == tSTAR) {
sys/ddb/db_expr.c
153
db_unread_token(t);
sys/ddb/db_expr.c
161
int t;
sys/ddb/db_expr.c
166
t = db_read_token();
sys/ddb/db_expr.c
167
while (t == tSTAR || t == tSLASH || t == tPCT || t == tHASH ||
sys/ddb/db_expr.c
168
t == tBIT_AND ) {
sys/ddb/db_expr.c
171
t == tSTAR ? '*' : t == tSLASH ? '/' : t == tPCT ? '%' :
sys/ddb/db_expr.c
172
t == tHASH ? '#' : '&');
sys/ddb/db_expr.c
176
switch(t) {
sys/ddb/db_expr.c
188
if (t == tSLASH)
sys/ddb/db_expr.c
190
else if (t == tPCT)
sys/ddb/db_expr.c
195
t = db_read_token();
sys/ddb/db_expr.c
197
db_unread_token(t);
sys/ddb/db_expr.c
206
int t;
sys/ddb/db_expr.c
211
t = db_read_token();
sys/ddb/db_expr.c
212
while (t == tPLUS || t == tMINUS || t == tBIT_OR) {
sys/ddb/db_expr.c
215
t == tPLUS ? '+' : t == tMINUS ? '-' : '|');
sys/ddb/db_expr.c
219
switch (t) {
sys/ddb/db_expr.c
232
t = db_read_token();
sys/ddb/db_expr.c
234
db_unread_token(t);
sys/ddb/db_expr.c
243
int t;
sys/ddb/db_expr.c
247
t = db_read_token();
sys/ddb/db_expr.c
248
while (t == tSHIFT_L || t == tSHIFT_R) {
sys/ddb/db_expr.c
251
t == tSHIFT_L ? "<<" : ">>");
sys/ddb/db_expr.c
260
if (t == tSHIFT_L)
sys/ddb/db_expr.c
266
t = db_read_token();
sys/ddb/db_expr.c
268
db_unread_token(t);
sys/ddb/db_expr.c
278
int t;
sys/ddb/db_expr.c
283
t = db_read_token();
sys/ddb/db_expr.c
284
while (t == tLOG_EQ || t == tLOG_NOT_EQ || t == tGREATER ||
sys/ddb/db_expr.c
285
t == tGREATER_EQ || t == tLESS || t == tLESS_EQ) {
sys/ddb/db_expr.c
288
t == tLOG_EQ ? "==" : t == tLOG_NOT_EQ ? "!=" :
sys/ddb/db_expr.c
289
t == tGREATER ? ">" : t == tGREATER_EQ ? ">=" :
sys/ddb/db_expr.c
290
t == tLESS ? "<" : "<=");
sys/ddb/db_expr.c
294
switch(t) {
sys/ddb/db_expr.c
316
t = db_read_token();
sys/ddb/db_expr.c
318
db_unread_token(t);
sys/ddb/db_expr.c
328
int t;
sys/ddb/db_expr.c
333
t = db_read_token();
sys/ddb/db_expr.c
334
while (t == tLOG_AND) {
sys/ddb/db_expr.c
341
t = db_read_token();
sys/ddb/db_expr.c
343
db_unread_token(t);
sys/ddb/db_expr.c
353
int t;
sys/ddb/db_expr.c
358
t = db_read_token();
sys/ddb/db_expr.c
359
while (t == tLOG_OR) {
sys/ddb/db_expr.c
366
t = db_read_token();
sys/ddb/db_expr.c
368
db_unread_token(t);
sys/ddb/db_expr.c
53
int t;
sys/ddb/db_expr.c
55
t = db_read_token();
sys/ddb/db_expr.c
56
if (t == tIDENT) {
sys/ddb/db_expr.c
66
if (t == tNUMBER) {
sys/ddb/db_expr.c
70
if (t == tDOT) {
sys/ddb/db_expr.c
74
if (t == tDOTDOT) {
sys/ddb/db_expr.c
78
if (t == tPLUS) {
sys/ddb/db_expr.c
82
if (t == tDITTO) {
sys/ddb/db_expr.c
86
if (t == tDOLLAR) {
sys/ddb/db_expr.c
91
if (t == tLPAREN) {
sys/ddb/db_expr.c
97
t = db_read_token();
sys/ddb/db_expr.c
98
if (t != tRPAREN) {
sys/ddb/db_lex.c
131
db_unread_token(int t)
sys/ddb/db_lex.c
133
db_look_token = t;
sys/ddb/db_lex.c
139
int t;
sys/ddb/db_lex.c
144
t = db_look_token;
sys/ddb/db_lex.c
148
t = db_lex(flags);
sys/ddb/db_lex.c
149
return (t);
sys/ddb/db_lex.h
85
void db_unread_token(int t);
sys/ddb/db_pprint.c
425
int t = 0;
sys/ddb/db_pprint.c
431
t = db_read_token();
sys/ddb/db_pprint.c
432
if (t == tSLASH) {
sys/ddb/db_pprint.c
433
t = db_read_token();
sys/ddb/db_pprint.c
434
if (t != tIDENT) {
sys/ddb/db_pprint.c
439
t = db_read_token();
sys/ddb/db_pprint.c
440
if (t != tNUMBER) {
sys/ddb/db_pprint.c
448
t = db_read_token();
sys/ddb/db_pprint.c
451
if (t == tIDENT) {
sys/ddb/db_pprint.c
453
t = db_read_token();
sys/ddb/db_pprint.c
455
if (t != tIDENT) {
sys/ddb/db_script.c
361
int t;
sys/ddb/db_script.c
367
t = db_read_token();
sys/ddb/db_script.c
368
if (t != tIDENT)
sys/ddb/db_script.c
388
int error, t;
sys/ddb/db_script.c
390
t = db_read_token();
sys/ddb/db_script.c
391
if (t != tIDENT) {
sys/ddb/db_script.c
404
t = db_read_token();
sys/ddb/db_script.c
405
if (t == tEOL) {
sys/ddb/db_script.c
413
} else if (t == tEQ) {
sys/ddb/db_script.c
432
int error, t;
sys/ddb/db_script.c
434
t = db_read_token();
sys/ddb/db_script.c
435
if (t != tIDENT) {
sys/ddb/db_textdump.c
534
int t;
sys/ddb/db_textdump.c
536
t = db_read_token();
sys/ddb/db_textdump.c
537
if (t != tIDENT) {
sys/ddb/db_variables.c
133
int t;
sys/ddb/db_variables.c
135
t = db_read_token();
sys/ddb/db_variables.c
136
if (t == tEOL) {
sys/ddb/db_variables.c
147
if (t != tDOLLAR) {
sys/ddb/db_variables.c
156
t = db_read_token();
sys/ddb/db_variables.c
157
if (t != tEQ)
sys/ddb/db_variables.c
158
db_unread_token(t);
sys/ddb/db_variables.c
61
int t;
sys/ddb/db_variables.c
63
t = db_read_token();
sys/ddb/db_variables.c
64
if (t == tIDENT) {
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
1246
((u_int32_t)t & 0xffff))
sys/dev/acpi_support/atk0110.c
203
sensor->t = AIBS_SENS_TYPE(sensor->i);
sys/dev/acpi_support/atk0110.c
205
switch (sensor->t) {
sys/dev/acpi_support/atk0110.c
212
sensor->t);
sys/dev/acpi_support/atk0110.c
235
sensor->t == AIBS_SENS_TYPE_TEMP ? "IK" : "I", descr);
sys/dev/acpi_support/atk0110.c
248
int t, v, f;
sys/dev/acpi_support/atk0110.c
285
v = t = f = 0;
sys/dev/acpi_support/atk0110.c
293
switch (sensor->t) {
sys/dev/acpi_support/atk0110.c
302
s_idx = &t;
sys/dev/acpi_support/atk0110.c
311
sensor->t);
sys/dev/acpi_support/atk0110.c
318
sensor->t, name, CTLFLAG_RD | CTLFLAG_MPSAFE,
sys/dev/acpi_support/atk0110.c
465
switch (sensor->t) {
sys/dev/acpi_support/atk0110.c
500
switch (sensor->t) {
sys/dev/acpi_support/atk0110.c
565
switch (sensor->t) {
sys/dev/acpi_support/atk0110.c
69
int t;
sys/dev/acpica/Osd/OsdSchedule.c
272
UINT64 t;
sys/dev/acpica/Osd/OsdSchedule.c
275
t = (uint64_t)bt.sec * 10000000;
sys/dev/acpica/Osd/OsdSchedule.c
276
t += ((uint64_t)10000000 * (uint32_t)(bt.frac >> 32)) >> 32;
sys/dev/acpica/Osd/OsdSchedule.c
278
return (t);
sys/dev/acpica/acpi.c
1921
ACPI_OBJECT_TYPE t;
sys/dev/acpica/acpi.c
1928
t = acpi_get_type(dev);
sys/dev/acpica/acpi.c
1929
if (t != ACPI_TYPE_DEVICE && t != ACPI_TYPE_PROCESSOR)
sys/dev/acpica/acpi_apei.c
319
uint8_t *t;
sys/dev/acpica/acpi_apei.c
332
t = ged->SectionType;
sys/dev/acpica/acpi_apei.c
336
t[3], t[2], t[1], t[0], t[5], t[4], t[7], t[6],
sys/dev/acpica/acpi_apei.c
337
t[8], t[9], t[10], t[11], t[12], t[13], t[14], t[15]);
sys/dev/acpica/acpi_apei.c
339
t = (uint8_t *)GED_DATA(ged);
sys/dev/acpica/acpi_apei.c
341
printf(" %02x", t[off]);
sys/dev/acpica/acpi_apei.c
351
t = ged->FruId;
sys/dev/acpica/acpi_apei.c
354
t[3], t[2], t[1], t[0], t[5], t[4], t[7], t[6],
sys/dev/acpica/acpi_apei.c
355
t[8], t[9], t[10], t[11], t[12], t[13], t[14], t[15]);
sys/dev/acpica/acpi_apei.c
364
t = (uint8_t *)GED_DATA(ged);
sys/dev/acpica/acpi_apei.c
366
printf(" %02x", t[off]);
sys/dev/acpica/acpi_hpet.c
112
} t[32];
sys/dev/acpica/acpi_hpet.c
205
struct hpet_timer *t;
sys/dev/acpica/acpi_hpet.c
209
t = (mt->pcpu_master < 0) ? mt : &sc->t[mt->pcpu_slaves[curcpu]];
sys/dev/acpica/acpi_hpet.c
211
t->mode = TIMER_PERIODIC;
sys/dev/acpica/acpi_hpet.c
212
t->div = (sc->freq * period) >> 32;
sys/dev/acpica/acpi_hpet.c
214
t->mode = TIMER_ONESHOT;
sys/dev/acpica/acpi_hpet.c
215
t->div = 0;
sys/dev/acpica/acpi_hpet.c
220
fdiv = t->div;
sys/dev/acpica/acpi_hpet.c
221
if (t->irq < 0)
sys/dev/acpica/acpi_hpet.c
222
bus_write_4(sc->mem_res, HPET_ISR, 1 << t->num);
sys/dev/acpica/acpi_hpet.c
223
t->caps |= HPET_TCNF_INT_ENB;
sys/dev/acpica/acpi_hpet.c
226
t->next = now + fdiv;
sys/dev/acpica/acpi_hpet.c
227
if (t->mode == TIMER_PERIODIC && (t->caps & HPET_TCAP_PER_INT)) {
sys/dev/acpica/acpi_hpet.c
228
t->caps |= HPET_TCNF_TYPE;
sys/dev/acpica/acpi_hpet.c
229
bus_write_4(sc->mem_res, HPET_TIMER_CAP_CNF(t->num),
sys/dev/acpica/acpi_hpet.c
230
t->caps | HPET_TCNF_VAL_SET);
sys/dev/acpica/acpi_hpet.c
231
bus_write_4(sc->mem_res, HPET_TIMER_COMPARATOR(t->num),
sys/dev/acpica/acpi_hpet.c
232
t->next);
sys/dev/acpica/acpi_hpet.c
233
bus_write_4(sc->mem_res, HPET_TIMER_COMPARATOR(t->num),
sys/dev/acpica/acpi_hpet.c
234
t->div);
sys/dev/acpica/acpi_hpet.c
236
t->caps &= ~HPET_TCNF_TYPE;
sys/dev/acpica/acpi_hpet.c
237
bus_write_4(sc->mem_res, HPET_TIMER_CAP_CNF(t->num),
sys/dev/acpica/acpi_hpet.c
238
t->caps);
sys/dev/acpica/acpi_hpet.c
239
bus_write_4(sc->mem_res, HPET_TIMER_COMPARATOR(t->num),
sys/dev/acpica/acpi_hpet.c
240
t->next);
sys/dev/acpica/acpi_hpet.c
243
if ((int32_t)(now - t->next + HPET_MIN_CYCLES) >= 0) {
sys/dev/acpica/acpi_hpet.c
254
struct hpet_timer *t;
sys/dev/acpica/acpi_hpet.c
257
t = (mt->pcpu_master < 0) ? mt : &sc->t[mt->pcpu_slaves[curcpu]];
sys/dev/acpica/acpi_hpet.c
258
t->mode = TIMER_STOPPED;
sys/dev/acpica/acpi_hpet.c
259
t->caps &= ~(HPET_TCNF_INT_ENB | HPET_TCNF_TYPE);
sys/dev/acpica/acpi_hpet.c
260
bus_write_4(sc->mem_res, HPET_TIMER_CAP_CNF(t->num), t->caps);
sys/dev/acpica/acpi_hpet.c
267
struct hpet_timer *t = (struct hpet_timer *)arg;
sys/dev/acpica/acpi_hpet.c
269
struct hpet_softc *sc = t->sc;
sys/dev/acpica/acpi_hpet.c
272
if (t->mode == TIMER_STOPPED)
sys/dev/acpica/acpi_hpet.c
275
if (t->pcpu_cpu >= 0 && t->pcpu_cpu != curcpu) {
sys/dev/acpica/acpi_hpet.c
276
if ((++t->pcpu_misrouted) % 32 == 0) {
sys/dev/acpica/acpi_hpet.c
279
t->num, t->pcpu_cpu, curcpu);
sys/dev/acpica/acpi_hpet.c
286
if ((t->mode == TIMER_PERIODIC &&
sys/dev/acpica/acpi_hpet.c
287
(t->caps & HPET_TCAP_PER_INT) == 0) ||
sys/dev/acpica/acpi_hpet.c
288
t->mode == TIMER_ONESHOT) {
sys/dev/acpica/acpi_hpet.c
289
t->next = bus_read_4(sc->mem_res, HPET_MAIN_COUNTER) +
sys/dev/acpica/acpi_hpet.c
291
bus_write_4(sc->mem_res, HPET_TIMER_COMPARATOR(t->num),
sys/dev/acpica/acpi_hpet.c
292
t->next);
sys/dev/acpica/acpi_hpet.c
296
if (t->mode == TIMER_PERIODIC &&
sys/dev/acpica/acpi_hpet.c
297
(t->caps & HPET_TCAP_PER_INT) == 0) {
sys/dev/acpica/acpi_hpet.c
298
t->next += t->div;
sys/dev/acpica/acpi_hpet.c
300
if ((int32_t)((now + t->div / 2) - t->next) > 0)
sys/dev/acpica/acpi_hpet.c
301
t->next = now + t->div / 2;
sys/dev/acpica/acpi_hpet.c
303
HPET_TIMER_COMPARATOR(t->num), t->next);
sys/dev/acpica/acpi_hpet.c
304
} else if (t->mode == TIMER_ONESHOT)
sys/dev/acpica/acpi_hpet.c
305
t->mode = TIMER_STOPPED;
sys/dev/acpica/acpi_hpet.c
306
mt = (t->pcpu_master < 0) ? t : &sc->t[t->pcpu_master];
sys/dev/acpica/acpi_hpet.c
326
hpet_intr_single(&sc->t[i]);
sys/dev/acpica/acpi_hpet.c
470
struct hpet_timer *t;
sys/dev/acpica/acpi_hpet.c
547
t = &sc->t[i];
sys/dev/acpica/acpi_hpet.c
548
t->sc = sc;
sys/dev/acpica/acpi_hpet.c
549
t->num = i;
sys/dev/acpica/acpi_hpet.c
550
t->mode = TIMER_STOPPED;
sys/dev/acpica/acpi_hpet.c
551
t->intr_rid = -1;
sys/dev/acpica/acpi_hpet.c
552
t->irq = -1;
sys/dev/acpica/acpi_hpet.c
553
t->pcpu_cpu = -1;
sys/dev/acpica/acpi_hpet.c
554
t->pcpu_misrouted = 0;
sys/dev/acpica/acpi_hpet.c
555
t->pcpu_master = -1;
sys/dev/acpica/acpi_hpet.c
556
t->caps = bus_read_4(sc->mem_res, HPET_TIMER_CAP_CNF(i));
sys/dev/acpica/acpi_hpet.c
557
t->vectors = bus_read_4(sc->mem_res, HPET_TIMER_CAP_CNF(i) + 4);
sys/dev/acpica/acpi_hpet.c
561
t->vectors, (t->caps & HPET_TCNF_INT_ROUTE) >> 9,
sys/dev/acpica/acpi_hpet.c
562
(t->caps & HPET_TCAP_FSB_INT_DEL) ? ", MSI" : "",
sys/dev/acpica/acpi_hpet.c
563
(t->caps & HPET_TCAP_SIZE) ? ", 64bit" : "",
sys/dev/acpica/acpi_hpet.c
564
(t->caps & HPET_TCAP_PER_INT) ? ", periodic" : "");
sys/dev/acpica/acpi_hpet.c
608
sc->t[0].vectors = 0;
sys/dev/acpica/acpi_hpet.c
609
sc->t[1].vectors = 0;
sys/dev/acpica/acpi_hpet.c
662
t = &sc->t[i];
sys/dev/acpica/acpi_hpet.c
664
t->irq = (i == 0) ? 0 : 8;
sys/dev/acpica/acpi_hpet.c
666
else if (t->caps & HPET_TCAP_FSB_INT_DEL) {
sys/dev/acpica/acpi_hpet.c
669
&t->irq))) {
sys/dev/acpica/acpi_hpet.c
676
else if (dvectors & t->vectors) {
sys/dev/acpica/acpi_hpet.c
677
t->irq = ffs(dvectors & t->vectors) - 1;
sys/dev/acpica/acpi_hpet.c
678
dvectors &= ~(1 << t->irq);
sys/dev/acpica/acpi_hpet.c
680
if (t->irq >= 0) {
sys/dev/acpica/acpi_hpet.c
681
t->intr_rid = hpet_find_irq_rid(dev, t->irq, t->irq);
sys/dev/acpica/acpi_hpet.c
682
t->intr_res = bus_alloc_resource(dev, SYS_RES_IRQ,
sys/dev/acpica/acpi_hpet.c
683
&t->intr_rid, t->irq, t->irq, 1, RF_ACTIVE);
sys/dev/acpica/acpi_hpet.c
684
if (t->intr_res == NULL) {
sys/dev/acpica/acpi_hpet.c
685
t->irq = -1;
sys/dev/acpica/acpi_hpet.c
688
} else if (bus_setup_intr(dev, t->intr_res,
sys/dev/acpica/acpi_hpet.c
689
INTR_TYPE_CLK, hpet_intr_single, NULL, t,
sys/dev/acpica/acpi_hpet.c
690
&t->intr_handle) != 0) {
sys/dev/acpica/acpi_hpet.c
691
t->irq = -1;
sys/dev/acpica/acpi_hpet.c
695
bus_describe_intr(dev, t->intr_res,
sys/dev/acpica/acpi_hpet.c
696
t->intr_handle, "t%d", i);
sys/dev/acpica/acpi_hpet.c
700
if (t->irq < 0 && (cvectors & t->vectors) != 0) {
sys/dev/acpica/acpi_hpet.c
701
cvectors &= t->vectors;
sys/dev/acpica/acpi_hpet.c
705
if (sc->legacy_route && sc->t[0].irq < 0 && sc->t[1].irq < 0)
sys/dev/acpica/acpi_hpet.c
715
t = &sc->t[i];
sys/dev/acpica/acpi_hpet.c
716
if (t->irq >= 0 && num_percpu_t > 0) {
sys/dev/acpica/acpi_hpet.c
719
t->pcpu_cpu = cur_cpu;
sys/dev/acpica/acpi_hpet.c
720
t->pcpu_master = pcpu_master;
sys/dev/acpica/acpi_hpet.c
721
sc->t[pcpu_master].
sys/dev/acpica/acpi_hpet.c
723
bus_bind_intr(dev, t->intr_res, cur_cpu);
sys/dev/acpica/acpi_hpet.c
726
} else if (t->irq >= 0)
sys/dev/acpica/acpi_hpet.c
727
bus_bind_intr(dev, t->intr_res, CPU_FIRST());
sys/dev/acpica/acpi_hpet.c
752
t = &sc->t[i];
sys/dev/acpica/acpi_hpet.c
753
t->caps &= ~(HPET_TCNF_FSB_EN | HPET_TCNF_INT_ROUTE);
sys/dev/acpica/acpi_hpet.c
754
t->caps &= ~(HPET_TCNF_VAL_SET | HPET_TCNF_INT_ENB);
sys/dev/acpica/acpi_hpet.c
755
t->caps &= ~(HPET_TCNF_INT_TYPE);
sys/dev/acpica/acpi_hpet.c
756
t->caps |= HPET_TCNF_32MODE;
sys/dev/acpica/acpi_hpet.c
757
if (t->irq >= 0 && sc->legacy_route && i < 2) {
sys/dev/acpica/acpi_hpet.c
761
if ((t->caps & HPET_TCAP_FSB_INT_DEL) && t->irq >= 0) {
sys/dev/acpica/acpi_hpet.c
767
t->irq, &addr, &data) == 0) {
sys/dev/acpica/acpi_hpet.c
772
t->caps |= HPET_TCNF_FSB_EN;
sys/dev/acpica/acpi_hpet.c
774
t->irq = -2;
sys/dev/acpica/acpi_hpet.c
777
if (t->irq >= 0)
sys/dev/acpica/acpi_hpet.c
778
t->caps |= (t->irq << 9);
sys/dev/acpica/acpi_hpet.c
779
else if (sc->irq >= 0 && (t->vectors & (1 << sc->irq)))
sys/dev/acpica/acpi_hpet.c
780
t->caps |= (sc->irq << 9) | HPET_TCNF_INT_TYPE;
sys/dev/acpica/acpi_hpet.c
781
bus_write_4(sc->mem_res, HPET_TIMER_CAP_CNF(i), t->caps);
sys/dev/acpica/acpi_hpet.c
783
if (t->irq < 0 &&
sys/dev/acpica/acpi_hpet.c
784
(sc->irq < 0 || (t->vectors & (1 << sc->irq)) == 0))
sys/dev/acpica/acpi_hpet.c
788
t->et.et_name = "HPET";
sys/dev/acpica/acpi_hpet.c
790
sprintf(t->name, "HPET%d", maxhpetet);
sys/dev/acpica/acpi_hpet.c
791
t->et.et_name = t->name;
sys/dev/acpica/acpi_hpet.c
793
t->et.et_flags = ET_FLAGS_PERIODIC | ET_FLAGS_ONESHOT;
sys/dev/acpica/acpi_hpet.c
794
t->et.et_quality = 450;
sys/dev/acpica/acpi_hpet.c
795
if (t->pcpu_master >= 0) {
sys/dev/acpica/acpi_hpet.c
796
t->et.et_flags |= ET_FLAGS_PERCPU;
sys/dev/acpica/acpi_hpet.c
797
t->et.et_quality += 100;
sys/dev/acpica/acpi_hpet.c
799
t->et.et_quality -= 100;
sys/dev/acpica/acpi_hpet.c
800
if ((t->caps & HPET_TCAP_PER_INT) == 0)
sys/dev/acpica/acpi_hpet.c
801
t->et.et_quality -= 10;
sys/dev/acpica/acpi_hpet.c
802
t->et.et_frequency = sc->freq;
sys/dev/acpica/acpi_hpet.c
803
t->et.et_min_period =
sys/dev/acpica/acpi_hpet.c
805
t->et.et_max_period = (0xfffffffeLLU << 32) / sc->freq;
sys/dev/acpica/acpi_hpet.c
806
t->et.et_start = hpet_start;
sys/dev/acpica/acpi_hpet.c
807
t->et.et_stop = hpet_stop;
sys/dev/acpica/acpi_hpet.c
808
t->et.et_priv = &sc->t[i];
sys/dev/acpica/acpi_hpet.c
809
if (t->pcpu_master < 0 || t->pcpu_master == i) {
sys/dev/acpica/acpi_hpet.c
810
et_register(&t->et);
sys/dev/acpica/acpi_hpet.c
877
struct hpet_timer *t;
sys/dev/acpica/acpi_hpet.c
885
t = &sc->t[i];
sys/dev/acpica/acpi_hpet.c
887
if (t->irq >= 0 && (sc->legacy_route == 0 || i >= 2)) {
sys/dev/acpica/acpi_hpet.c
893
t->irq, &addr, &data) == 0) {
sys/dev/acpica/acpi_hpet.c
901
if (t->mode == TIMER_STOPPED)
sys/dev/acpica/acpi_hpet.c
903
t->next = bus_read_4(sc->mem_res, HPET_MAIN_COUNTER);
sys/dev/acpica/acpi_hpet.c
904
if (t->mode == TIMER_PERIODIC &&
sys/dev/acpica/acpi_hpet.c
905
(t->caps & HPET_TCAP_PER_INT) != 0) {
sys/dev/acpica/acpi_hpet.c
906
t->caps |= HPET_TCNF_TYPE;
sys/dev/acpica/acpi_hpet.c
907
t->next += t->div;
sys/dev/acpica/acpi_hpet.c
908
bus_write_4(sc->mem_res, HPET_TIMER_CAP_CNF(t->num),
sys/dev/acpica/acpi_hpet.c
909
t->caps | HPET_TCNF_VAL_SET);
sys/dev/acpica/acpi_hpet.c
910
bus_write_4(sc->mem_res, HPET_TIMER_COMPARATOR(t->num),
sys/dev/acpica/acpi_hpet.c
911
t->next);
sys/dev/acpica/acpi_hpet.c
912
bus_read_4(sc->mem_res, HPET_TIMER_COMPARATOR(t->num));
sys/dev/acpica/acpi_hpet.c
913
bus_write_4(sc->mem_res, HPET_TIMER_COMPARATOR(t->num),
sys/dev/acpica/acpi_hpet.c
914
t->div);
sys/dev/acpica/acpi_hpet.c
916
t->next += sc->freq / 1024;
sys/dev/acpica/acpi_hpet.c
917
bus_write_4(sc->mem_res, HPET_TIMER_COMPARATOR(t->num),
sys/dev/acpica/acpi_hpet.c
918
t->next);
sys/dev/acpica/acpi_hpet.c
920
bus_write_4(sc->mem_res, HPET_ISR, 1 << t->num);
sys/dev/acpica/acpi_hpet.c
921
bus_write_4(sc->mem_res, HPET_TIMER_CAP_CNF(t->num), t->caps);
sys/dev/acpica/acpi_hpet.c
960
struct hpet_timer *t;
sys/dev/acpica/acpi_hpet.c
966
t = &sc->t[i];
sys/dev/acpica/acpi_hpet.c
967
if (t->irq != irq)
sys/dev/acpica/acpivar.h
274
#define ACPICOMPAT_PNP_INFO(t, busname) \
sys/dev/acpica/acpivar.h
275
MODULE_PNP_INFO("Z:_HID", busname, t##hid, t, nitems(t)-1); \
sys/dev/acpica/acpivar.h
276
MODULE_PNP_INFO("Z:_CID", busname, t##cid, t, nitems(t)-1);
sys/dev/acpica/acpivar.h
277
#define ACPI_PNP_INFO(t) ACPICOMPAT_PNP_INFO(t, acpi)
sys/dev/acpica/acpivar.h
314
ACPI_OBJECT_TYPE t;
sys/dev/acpica/acpivar.h
318
if (ACPI_FAILURE(AcpiGetType(h, &t)))
sys/dev/acpica/acpivar.h
320
return (t);
sys/dev/ahci/ahci.c
1534
int t = ccb->ccb_h.target_id;
sys/dev/ahci/ahci.c
1540
ch->curr[t].tags))) == 0)
sys/dev/ahci/ahci.c
1545
if (ch->numrslotspd[t] != 0 && ch->numtslotspd[t] == 0)
sys/dev/ahci/ahci.c
1560
if (ch->numrslotspd[t] != 0 && ch->numtslotspd[t] != 0)
sys/dev/ahci/ahci.c
2405
ahci_wait_ready(struct ahci_channel *ch, int t, int t0)
sys/dev/ahci/ahci.c
2412
if (timeout > t) {
sys/dev/ahci/ahci.c
2413
if (t != 0) {
sys/dev/ahci/ahci.c
2417
MAX(t, 0) + t0, val);
sys/dev/ahci/ahci.c
87
static int ahci_wait_ready(struct ahci_channel *ch, int t, int t0);
sys/dev/ata/ata-sata.c
111
int timeout, t;
sys/dev/ata/ata-sata.c
115
t = 0;
sys/dev/ata/ata-sata.c
123
if (++t > timeout)
sys/dev/ata/ata-sata.c
128
if (t > timeout) {
sys/dev/ata/ata-sata.c
138
t * 10, status);
sys/dev/ata/ata-sata.c
141
port, t * 10, status);
sys/dev/ata/ata-sata.c
148
return ((t > timeout) ? 0 : 1);
sys/dev/ath/if_ath.c
4588
#define TXQACTIVE(t, q) ( (t) & (1 << (q)))
sys/dev/ath/if_ath_sysctl.c
460
int i, t, param = 0;
sys/dev/ath/if_ath_sysctl.c
507
i = t = 0;
sys/dev/ath/if_ath_sysctl.c
511
printf("Busy: %d\n", t);
sys/dev/ath/if_ath_sysctl.c
514
t++;
sys/dev/ath/if_ath_sysctl.c
518
t, i, sc->sc_txbuf_cnt);
sys/dev/ath/if_ath_sysctl.c
520
i = t = 0;
sys/dev/ath/if_ath_sysctl.c
524
printf("Busy: %d\n", t);
sys/dev/ath/if_ath_sysctl.c
527
t++;
sys/dev/ath/if_ath_sysctl.c
531
t, i);
sys/dev/ath/if_ath_tdma.c
164
struct if_ath_alq_tdma_timer_set t;
sys/dev/ath/if_ath_tdma.c
165
t.bt_intval = htobe32(bt.bt_intval);
sys/dev/ath/if_ath_tdma.c
166
t.bt_nexttbtt = htobe32(bt.bt_nexttbtt);
sys/dev/ath/if_ath_tdma.c
167
t.bt_nextdba = htobe32(bt.bt_nextdba);
sys/dev/ath/if_ath_tdma.c
168
t.bt_nextswba = htobe32(bt.bt_nextswba);
sys/dev/ath/if_ath_tdma.c
169
t.bt_nextatim = htobe32(bt.bt_nextatim);
sys/dev/ath/if_ath_tdma.c
170
t.bt_flags = htobe32(bt.bt_flags);
sys/dev/ath/if_ath_tdma.c
171
t.sc_tdmadbaprep = htobe32(sc->sc_tdmadbaprep);
sys/dev/ath/if_ath_tdma.c
172
t.sc_tdmaswbaprep = htobe32(sc->sc_tdmaswbaprep);
sys/dev/ath/if_ath_tdma.c
174
sizeof(t), (char *) &t);
sys/dev/ath/if_ath_tdma.c
318
struct if_ath_alq_tdma_timer_config t;
sys/dev/ath/if_ath_tdma.c
320
t.tdma_slot = htobe32(tdma->tdma_slot);
sys/dev/ath/if_ath_tdma.c
321
t.tdma_slotlen = htobe32(tdma->tdma_slotlen);
sys/dev/ath/if_ath_tdma.c
322
t.tdma_slotcnt = htobe32(tdma->tdma_slotcnt);
sys/dev/ath/if_ath_tdma.c
323
t.tdma_bintval = htobe32(tdma->tdma_bintval);
sys/dev/ath/if_ath_tdma.c
324
t.tdma_guard = htobe32(sc->sc_tdmaguard);
sys/dev/ath/if_ath_tdma.c
325
t.tdma_scbintval = htobe32(sc->sc_tdmabintval);
sys/dev/ath/if_ath_tdma.c
326
t.tdma_dbaprep = htobe32(sc->sc_tdmadbaprep);
sys/dev/ath/if_ath_tdma.c
329
sizeof(t), (char *) &t);
sys/dev/ath/if_ath_tdma.c
516
struct if_ath_alq_tdma_beacon_state t;
sys/dev/ath/if_ath_tdma.c
517
t.rx_tsf = htobe64(rstamp);
sys/dev/ath/if_ath_tdma.c
518
t.beacon_tsf = htobe64(le64toh(ni->ni_tstamp.tsf));
sys/dev/ath/if_ath_tdma.c
519
t.tsf64 = htobe64(tsf);
sys/dev/ath/if_ath_tdma.c
520
t.nextslot_tsf = htobe64(nextslot);
sys/dev/ath/if_ath_tdma.c
521
t.nextslot_tu = htobe32(nextslottu);
sys/dev/ath/if_ath_tdma.c
522
t.txtime = htobe32(txtime);
sys/dev/ath/if_ath_tdma.c
524
sizeof(t), (char *) &t);
sys/dev/ath/if_ath_tdma.c
528
struct if_ath_alq_tdma_slot_calc t;
sys/dev/ath/if_ath_tdma.c
530
t.nexttbtt = htobe64(nexttbtt_full);
sys/dev/ath/if_ath_tdma.c
531
t.next_slot = htobe64(nextslot);
sys/dev/ath/if_ath_tdma.c
532
t.tsfdelta = htobe32(tsfdelta);
sys/dev/ath/if_ath_tdma.c
533
t.avg_plus = htobe32(TDMA_AVG(sc->sc_avgtsfdeltap));
sys/dev/ath/if_ath_tdma.c
534
t.avg_minus = htobe32(TDMA_AVG(sc->sc_avgtsfdeltam));
sys/dev/ath/if_ath_tdma.c
537
sizeof(t), (char *) &t);
sys/dev/ath/if_ath_tdma.c
593
struct if_ath_alq_tdma_tsf_adjust t;
sys/dev/ath/if_ath_tdma.c
595
t.tsfdelta = htobe32(tsfdelta);
sys/dev/ath/if_ath_tdma.c
596
t.tsf64_old = htobe64(tsf);
sys/dev/ath/if_ath_tdma.c
597
t.tsf64_new = htobe64(tsf + tsfdelta);
sys/dev/ath/if_ath_tdma.c
599
sizeof(t), (char *) &t);
sys/dev/ath/if_ath_tx.c
3932
int t;
sys/dev/ath/if_ath_tx.c
3939
t = 0;
sys/dev/ath/if_ath_tx.c
3946
if (t == 0) {
sys/dev/ath/if_ath_tx.c
3956
t = 0;
sys/dev/ath/if_ath_tx.c
3962
if (t == 0) {
sys/dev/atkbdc/atkbdc.c
846
int t;
sys/dev/atkbdc/atkbdc.c
855
for (t = wait; t > 0; ) {
sys/dev/atkbdc/atkbdc.c
867
t = wait;
sys/dev/atkbdc/atkbdc.c
869
t -= delta;
sys/dev/atkbdc/atkbdc.c
885
int t;
sys/dev/atkbdc/atkbdc.c
894
for (t = wait; t > 0; ) {
sys/dev/atkbdc/atkbdc.c
906
t = wait;
sys/dev/atkbdc/atkbdc.c
908
t -= delta;
sys/dev/atkbdc/atkbdc.c
924
int t;
sys/dev/atkbdc/atkbdc.c
933
for (t = wait; t > 0; ) {
sys/dev/atkbdc/atkbdc.c
943
t = wait;
sys/dev/atkbdc/atkbdc.c
945
t -= delta;
sys/dev/atkbdc/atkbdc_isa.c
253
int t;
sys/dev/atkbdc/atkbdc_isa.c
278
if (resource_int_value(name, unit, "irq", &t) != 0)
sys/dev/atkbdc/atkbdc_isa.c
279
t = -1;
sys/dev/atkbdc/atkbdc_isa.c
281
t = rman_get_start(sc->irq);
sys/dev/atkbdc/atkbdc_isa.c
282
if (t > 0)
sys/dev/atkbdc/atkbdc_isa.c
284
ivar->rid, t, t, 1);
sys/dev/atkbdc/atkbdcreg.h
259
void empty_kbd_buffer(KBDC kbdc, int t);
sys/dev/atkbdc/atkbdcreg.h
260
void empty_aux_buffer(KBDC kbdc, int t);
sys/dev/atkbdc/atkbdcreg.h
261
void empty_both_buffers(KBDC kbdc, int t);
sys/dev/axgbe/xgbe-sysctl.c
173
#define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f))
sys/dev/axgbe/xgbe_osdep.h
197
#define min_t(t, a, b) MIN((t)(a), (t)(b))
sys/dev/axgbe/xgbe_osdep.h
198
#define max_t(t, a, b) MAX((t)(a), (t)(b))
sys/dev/bce/if_bce.c
672
const struct bce_type *t;
sys/dev/bce/if_bce.c
676
t = bce_devs;
sys/dev/bce/if_bce.c
693
while(t->bce_name != NULL) {
sys/dev/bce/if_bce.c
694
if ((vid == t->bce_vid) && (did == t->bce_did) &&
sys/dev/bce/if_bce.c
695
((svid == t->bce_svid) || (t->bce_svid == PCI_ANY_ID)) &&
sys/dev/bce/if_bce.c
696
((sdid == t->bce_sdid) || (t->bce_sdid == PCI_ANY_ID))) {
sys/dev/bce/if_bce.c
698
t->bce_name, (((pci_read_config(dev,
sys/dev/bce/if_bce.c
703
t++;
sys/dev/bfe/if_bfe.c
164
struct bfe_type *t;
sys/dev/bfe/if_bfe.c
166
t = bfe_devs;
sys/dev/bfe/if_bfe.c
168
while (t->bfe_name != NULL) {
sys/dev/bfe/if_bfe.c
169
if (pci_get_vendor(dev) == t->bfe_vid &&
sys/dev/bfe/if_bfe.c
170
pci_get_device(dev) == t->bfe_did) {
sys/dev/bfe/if_bfe.c
171
device_set_desc(dev, t->bfe_name);
sys/dev/bfe/if_bfe.c
174
t++;
sys/dev/bge/if_bge.c
2706
const struct bge_type *t = bge_devs;
sys/dev/bge/if_bge.c
2715
while(t->bge_vid != 0) {
sys/dev/bge/if_bge.c
2716
if ((vid == t->bge_vid) && (did == t->bge_did)) {
sys/dev/bge/if_bge.c
2733
t++;
sys/dev/bxe/bxe.c
2491
struct bxe_device_type *t;
sys/dev/bxe/bxe.c
2495
t = bxe_devs;
sys/dev/bxe/bxe.c
2504
while (t->bxe_name != NULL) {
sys/dev/bxe/bxe.c
2505
if ((vid == t->bxe_vid) && (did == t->bxe_did) &&
sys/dev/bxe/bxe.c
2506
((svid == t->bxe_svid) || (t->bxe_svid == PCI_ANY_ID)) &&
sys/dev/bxe/bxe.c
2507
((sdid == t->bxe_sdid) || (t->bxe_sdid == PCI_ANY_ID))) {
sys/dev/bxe/bxe.c
2509
"%s (%c%d) BXE v:%s", t->bxe_name,
sys/dev/bxe/bxe.c
2516
t++;
sys/dev/bxe/bxe_stats.h
552
#define UPDATE_STAT64(s, t) \
sys/dev/bxe/bxe_stats.h
554
DIFF_64(diff.hi, new->s##_hi, pstats->mac_stx[0].t##_hi, \
sys/dev/bxe/bxe_stats.h
555
diff.lo, new->s##_lo, pstats->mac_stx[0].t##_lo); \
sys/dev/bxe/bxe_stats.h
556
pstats->mac_stx[0].t##_hi = new->s##_hi; \
sys/dev/bxe/bxe_stats.h
557
pstats->mac_stx[0].t##_lo = new->s##_lo; \
sys/dev/bxe/bxe_stats.h
558
ADD_64(pstats->mac_stx[1].t##_hi, diff.hi, \
sys/dev/bxe/bxe_stats.h
559
pstats->mac_stx[1].t##_lo, diff.lo); \
sys/dev/bxe/bxe_stats.h
562
#define UPDATE_STAT64_NIG(s, t) \
sys/dev/bxe/bxe_stats.h
566
ADD_64(estats->t##_hi, diff.hi, \
sys/dev/bxe/bxe_stats.h
567
estats->t##_lo, diff.lo); \
sys/dev/bxe/bxe_stats.h
577
#define ADD_STAT64(diff, t) \
sys/dev/bxe/bxe_stats.h
579
ADD_64(pstats->mac_stx[1].t##_hi, new->diff##_hi, \
sys/dev/bxe/bxe_stats.h
580
pstats->mac_stx[1].t##_lo, new->diff##_lo); \
sys/dev/bxe/bxe_stats.h
590
#define UPDATE_EXTEND_TSTAT_X(s, t, size) \
sys/dev/bxe/bxe_stats.h
595
ADD_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \
sys/dev/bxe/bxe_stats.h
598
#define UPDATE_EXTEND_TSTAT(s, t) UPDATE_EXTEND_TSTAT_X(s, t, 32)
sys/dev/bxe/bxe_stats.h
600
#define UPDATE_EXTEND_E_TSTAT(s, t, size) \
sys/dev/bxe/bxe_stats.h
602
UPDATE_EXTEND_TSTAT_X(s, t, size); \
sys/dev/bxe/bxe_stats.h
603
ADD_EXTEND_64(estats->t##_hi, estats->t##_lo, diff); \
sys/dev/bxe/bxe_stats.h
606
#define UPDATE_EXTEND_USTAT(s, t) \
sys/dev/bxe/bxe_stats.h
610
ADD_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \
sys/dev/bxe/bxe_stats.h
613
#define UPDATE_EXTEND_E_USTAT(s, t) \
sys/dev/bxe/bxe_stats.h
615
UPDATE_EXTEND_USTAT(s, t); \
sys/dev/bxe/bxe_stats.h
616
ADD_EXTEND_64(estats->t##_hi, estats->t##_lo, diff); \
sys/dev/bxe/bxe_stats.h
619
#define UPDATE_EXTEND_XSTAT(s, t) \
sys/dev/bxe/bxe_stats.h
623
ADD_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \
sys/dev/bxe/bxe_stats.h
626
#define UPDATE_QSTAT(s, t) \
sys/dev/bxe/bxe_stats.h
628
qstats->t##_hi = qstats_old->t##_hi + le32toh(s.hi); \
sys/dev/bxe/bxe_stats.h
629
qstats->t##_lo = qstats_old->t##_lo + le32toh(s.lo); \
sys/dev/bxe/bxe_stats.h
676
#define UPDATE_ESTAT(s, t) \
sys/dev/bxe/bxe_stats.h
678
SUB_64(estats->s##_hi, estats_old->t##_hi, \
sys/dev/bxe/bxe_stats.h
679
estats->s##_lo, estats_old->t##_lo); \
sys/dev/bxe/bxe_stats.h
680
ADD_64(estats->s##_hi, estats->t##_hi, \
sys/dev/bxe/bxe_stats.h
681
estats->s##_lo, estats->t##_lo); \
sys/dev/bxe/bxe_stats.h
682
estats_old->t##_hi = estats->t##_hi; \
sys/dev/bxe/bxe_stats.h
683
estats_old->t##_lo = estats->t##_lo; \
sys/dev/bxe/bxe_stats.h
698
#define SUB_EXTEND_USTAT(s, t) \
sys/dev/bxe/bxe_stats.h
701
SUB_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \
sys/dev/cxgb/cxgb_main.c
2600
struct ch_qset_params *t = (struct ch_qset_params *)data;
sys/dev/cxgb/cxgb_main.c
2605
if (t->qset_idx >= nqsets)
sys/dev/cxgb/cxgb_main.c
2608
i = q1 + t->qset_idx;
sys/dev/cxgb/cxgb_main.c
2610
t->rspq_size = q->rspq_size;
sys/dev/cxgb/cxgb_main.c
2611
t->txq_size[0] = q->txq_size[0];
sys/dev/cxgb/cxgb_main.c
2612
t->txq_size[1] = q->txq_size[1];
sys/dev/cxgb/cxgb_main.c
2613
t->txq_size[2] = q->txq_size[2];
sys/dev/cxgb/cxgb_main.c
2614
t->fl_size[0] = q->fl_size;
sys/dev/cxgb/cxgb_main.c
2615
t->fl_size[1] = q->jumbo_size;
sys/dev/cxgb/cxgb_main.c
2616
t->polling = q->polling;
sys/dev/cxgb/cxgb_main.c
2617
t->lro = q->lro;
sys/dev/cxgb/cxgb_main.c
2618
t->intr_lat = q->coalesce_usecs;
sys/dev/cxgb/cxgb_main.c
2619
t->cong_thres = q->cong_thres;
sys/dev/cxgb/cxgb_main.c
2620
t->qnum = i;
sys/dev/cxgb/cxgb_main.c
2623
t->vector = 0;
sys/dev/cxgb/cxgb_main.c
2625
t->vector = rman_get_start(sc->msix_irq_res[i]);
sys/dev/cxgb/cxgb_main.c
2627
t->vector = rman_get_start(sc->irq_res);
sys/dev/cxgb/cxgb_main.c
2639
struct ch_mem_range *t = (struct ch_mem_range *)data;
sys/dev/cxgb/cxgb_main.c
2656
fw_data = malloc(t->len, M_DEVBUF, M_NOWAIT);
sys/dev/cxgb/cxgb_main.c
2660
error = copyin(t->buf, fw_data, t->len);
sys/dev/cxgb/cxgb_main.c
2663
error = -t3_load_fw(sc, fw_data, t->len);
sys/dev/cxgb/cxgb_main.c
2680
struct ch_mem_range *t = (struct ch_mem_range *)data;
sys/dev/cxgb/cxgb_main.c
2682
boot_data = malloc(t->len, M_DEVBUF, M_NOWAIT);
sys/dev/cxgb/cxgb_main.c
2686
error = copyin(t->buf, boot_data, t->len);
sys/dev/cxgb/cxgb_main.c
2688
error = -t3_load_boot(sc, boot_data, t->len);
sys/dev/cxgb/cxgb_main.c
2774
struct ch_mem_range *t = (struct ch_mem_range *)data;
sys/dev/cxgb/cxgb_main.c
2783
uint32_t len = t->len, addr = t->addr;
sys/dev/cxgb/cxgb_main.c
2791
if (t->mem_id == MEM_CM)
sys/dev/cxgb/cxgb_main.c
2793
else if (t->mem_id == MEM_PMRX)
sys/dev/cxgb/cxgb_main.c
2795
else if (t->mem_id == MEM_PMTX)
sys/dev/cxgb/cxgb_main.c
2805
t->version = 3 | (sc->params.rev << 10);
sys/dev/cxgb/cxgb_main.c
2811
useraddr = (uint8_t *)t->buf;
sys/dev/cxgb/cxgb_main.c
2827
struct ch_tcam_word *t = (struct ch_tcam_word *)data;
sys/dev/cxgb/cxgb_main.c
2833
return -t3_read_mc5_range(&sc->mc5, t->addr, 1, t->buf);
sys/dev/cxgb/cxgb_main.c
2837
struct ch_trace *t = (struct ch_trace *)data;
sys/dev/cxgb/cxgb_main.c
2840
tp = (const struct trace_params *)&t->sip;
sys/dev/cxgb/cxgb_main.c
2841
if (t->config_tx)
sys/dev/cxgb/cxgb_main.c
2842
t3_config_trace_filter(sc, tp, 0, t->invert_match,
sys/dev/cxgb/cxgb_main.c
2843
t->trace_tx);
sys/dev/cxgb/cxgb_main.c
2844
if (t->config_rx)
sys/dev/cxgb/cxgb_main.c
2845
t3_config_trace_filter(sc, tp, 1, t->invert_match,
sys/dev/cxgb/cxgb_main.c
2846
t->trace_rx);
sys/dev/cxgb/cxgb_main.c
2878
struct ch_hw_sched *t = (struct ch_hw_sched *)data;
sys/dev/cxgb/cxgb_main.c
2883
if (t->sched >= NTX_SCHED || !in_range(t->mode, 0, 1) ||
sys/dev/cxgb/cxgb_main.c
2884
!in_range(t->channel, 0, 1) ||
sys/dev/cxgb/cxgb_main.c
2885
!in_range(t->kbps, 0, 10000000) ||
sys/dev/cxgb/cxgb_main.c
2886
!in_range(t->class_ipg, 0, 10000 * 65535 / ticks_per_usec) ||
sys/dev/cxgb/cxgb_main.c
2887
!in_range(t->flow_ipg, 0,
sys/dev/cxgb/cxgb_main.c
2891
if (t->kbps >= 0) {
sys/dev/cxgb/cxgb_main.c
2892
error = t3_config_sched(sc, t->kbps, t->sched);
sys/dev/cxgb/cxgb_main.c
2896
if (t->class_ipg >= 0)
sys/dev/cxgb/cxgb_main.c
2897
t3_set_sched_ipg(sc, t->sched, t->class_ipg);
sys/dev/cxgb/cxgb_main.c
2898
if (t->flow_ipg >= 0) {
sys/dev/cxgb/cxgb_main.c
2899
t->flow_ipg *= 1000; /* us -> ns */
sys/dev/cxgb/cxgb_main.c
2900
t3_set_pace_tbl(sc, &t->flow_ipg, t->sched, 1);
sys/dev/cxgb/cxgb_main.c
2902
if (t->mode >= 0) {
sys/dev/cxgb/cxgb_main.c
2903
int bit = 1 << (S_TX_MOD_TIMER_MODE + t->sched);
sys/dev/cxgb/cxgb_main.c
2906
bit, t->mode ? bit : 0);
sys/dev/cxgb/cxgb_main.c
2908
if (t->channel >= 0)
sys/dev/cxgb/cxgb_main.c
2910
1 << t->sched, t->channel << t->sched);
sys/dev/cxgbe/crypto/t6_kern_tls.c
112
mst_to_tls(struct m_snd_tag *t)
sys/dev/cxgbe/crypto/t6_kern_tls.c
114
return (__containerof(t, struct tlspcb, com));
sys/dev/cxgbe/crypto/t7_kern_tls.c
122
mst_to_tls(struct m_snd_tag *t)
sys/dev/cxgbe/crypto/t7_kern_tls.c
124
return (__containerof(t, struct tlspcb, com));
sys/dev/cxgbe/offload.h
101
mst_to_crt(struct m_snd_tag *t)
sys/dev/cxgbe/offload.h
103
return (__containerof(t, struct cxgbe_rate_tag, com));
sys/dev/cxgbe/t4_filter.c
1109
set_filter(struct adapter *sc, struct t4_filter *t)
sys/dev/cxgbe/t4_filter.c
111
alloc_hftid_hash(struct tid_info *t, int flags)
sys/dev/cxgbe/t4_filter.c
1121
if (t->fs.hash) {
sys/dev/cxgbe/t4_filter.c
1125
if (t->idx != (uint32_t)-1)
sys/dev/cxgbe/t4_filter.c
1128
if (is_t5(sc) && t->fs.hitcnts)
sys/dev/cxgbe/t4_filter.c
1130
if (!is_4tuple_specified(&t->fs))
sys/dev/cxgbe/t4_filter.c
1132
rc = hashfilter_ntuple(sc, &t->fs, &ftuple);
sys/dev/cxgbe/t4_filter.c
1136
if (separate_hpfilter_region(sc) && t->fs.prio) {
sys/dev/cxgbe/t4_filter.c
1139
if (t->idx >= ti->nhpftids)
sys/dev/cxgbe/t4_filter.c
1144
if (t->idx >= ti->nftids)
sys/dev/cxgbe/t4_filter.c
1148
if (t->fs.type == 1 &&
sys/dev/cxgbe/t4_filter.c
1149
((t->idx & 0x3) || t->idx + 4 >= ti->nftids))
sys/dev/cxgbe/t4_filter.c
115
MPASS(t->ntids > 0);
sys/dev/cxgbe/t4_filter.c
1154
if (is_t4(sc) && t->fs.action == FILTER_SWITCH &&
sys/dev/cxgbe/t4_filter.c
1155
(t->fs.newvlan == VLAN_REMOVE || t->fs.newvlan == VLAN_REWRITE ||
sys/dev/cxgbe/t4_filter.c
1156
t->fs.swapmac || t->fs.nat_mode))
sys/dev/cxgbe/t4_filter.c
1159
if (t->fs.action == FILTER_SWITCH && t->fs.eport >= sc->params.nports)
sys/dev/cxgbe/t4_filter.c
116
MPASS(t->hftid_hash_4t == NULL);
sys/dev/cxgbe/t4_filter.c
1161
if (t->fs.val.iport >= sc->params.nports)
sys/dev/cxgbe/t4_filter.c
1165
if (!t->fs.dirsteer && !t->fs.dirsteerhash && !t->fs.maskhash && t->fs.iq)
sys/dev/cxgbe/t4_filter.c
1169
rc = check_fspec_against_fconf_iconf(sc, &t->fs);
sys/dev/cxgbe/t4_filter.c
117
MPASS(t->hftid_hash_tid == NULL);
sys/dev/cxgbe/t4_filter.c
1189
if (t->fs.hash) {
sys/dev/cxgbe/t4_filter.c
119
n = max(t->ntids / 1024, 16);
sys/dev/cxgbe/t4_filter.c
1195
} else if (separate_hpfilter_region(sc) && t->fs.prio &&
sys/dev/cxgbe/t4_filter.c
120
t->hftid_hash_4t = hashinit_flags(n, M_CXGBE, &t->hftid_4t_mask, flags);
sys/dev/cxgbe/t4_filter.c
121
if (t->hftid_hash_4t == NULL)
sys/dev/cxgbe/t4_filter.c
123
t->hftid_hash_tid = hashinit_flags(n, M_CXGBE, &t->hftid_tid_mask,
sys/dev/cxgbe/t4_filter.c
1236
if (t->fs.newdmac || t->fs.newvlan) {
sys/dev/cxgbe/t4_filter.c
1238
l2te = t4_l2t_alloc_switching(sc, t->fs.vlan, t->fs.eport,
sys/dev/cxgbe/t4_filter.c
1239
t->fs.dmac);
sys/dev/cxgbe/t4_filter.c
1246
if (t->fs.newsmac) {
sys/dev/cxgbe/t4_filter.c
1248
smt = t4_smt_alloc_switching(sc->smt, t->fs.smac);
sys/dev/cxgbe/t4_filter.c
125
if (t->hftid_hash_tid == NULL) {
sys/dev/cxgbe/t4_filter.c
1253
rc = t4_smt_set_switching(sc, smt, 0x0, t->fs.smac);
sys/dev/cxgbe/t4_filter.c
1258
if (t->fs.hash)
sys/dev/cxgbe/t4_filter.c
1259
rc = set_hashfilter(sc, t, ftuple, l2te, smt);
sys/dev/cxgbe/t4_filter.c
126
hashdestroy(t->hftid_hash_4t, M_CXGBE, t->hftid_4t_mask);
sys/dev/cxgbe/t4_filter.c
1261
rc = set_tcamfilter(sc, t, l2te, smt);
sys/dev/cxgbe/t4_filter.c
127
t->hftid_hash_4t = NULL;
sys/dev/cxgbe/t4_filter.c
1274
del_tcamfilter(struct adapter *sc, struct t4_filter *t)
sys/dev/cxgbe/t4_filter.c
1285
if (separate_hpfilter_region(sc) && t->fs.prio) {
sys/dev/cxgbe/t4_filter.c
1299
if (t->idx >= nfilters) {
sys/dev/cxgbe/t4_filter.c
1303
f += t->idx;
sys/dev/cxgbe/t4_filter.c
131
mtx_init(&t->hftid_lock, "T4 hashfilters", 0, MTX_DEF);
sys/dev/cxgbe/t4_filter.c
1317
MPASS(f->tid == tid_base + t->idx);
sys/dev/cxgbe/t4_filter.c
132
cv_init(&t->hftid_cv, "t4hfcv");
sys/dev/cxgbe/t4_filter.c
1328
t->fs = f->fs; /* extra info for the caller */
sys/dev/cxgbe/t4_filter.c
1346
del_filter(struct adapter *sc, struct t4_filter *t)
sys/dev/cxgbe/t4_filter.c
1357
if (t->fs.hash) {
sys/dev/cxgbe/t4_filter.c
1359
return (del_hashfilter(sc, t));
sys/dev/cxgbe/t4_filter.c
1360
} else if (separate_hpfilter_region(sc) && t->fs.prio) {
sys/dev/cxgbe/t4_filter.c
1362
return (del_tcamfilter(sc, t));
sys/dev/cxgbe/t4_filter.c
1365
return (del_tcamfilter(sc, t));
sys/dev/cxgbe/t4_filter.c
138
free_hftid_hash(struct tid_info *t)
sys/dev/cxgbe/t4_filter.c
147
if (t->tids_in_use > 0) {
sys/dev/cxgbe/t4_filter.c
149
head = t->hftid_hash_tid;
sys/dev/cxgbe/t4_filter.c
150
for (i = 0; i <= t->hftid_tid_mask; i++) {
sys/dev/cxgbe/t4_filter.c
157
head = t->hftid_hash_4t;
sys/dev/cxgbe/t4_filter.c
158
for (i = 0; i <= t->hftid_4t_mask; i++) {
sys/dev/cxgbe/t4_filter.c
1620
get_tcamfilter(struct adapter *sc, struct t4_filter *t)
sys/dev/cxgbe/t4_filter.c
1629
MPASS(!t->fs.hash);
sys/dev/cxgbe/t4_filter.c
1631
if (separate_hpfilter_region(sc) && t->fs.prio) {
sys/dev/cxgbe/t4_filter.c
1647
if (in_use == 0 || f == NULL || t->idx >= nfilters) {
sys/dev/cxgbe/t4_filter.c
1648
t->idx = 0xffffffff;
sys/dev/cxgbe/t4_filter.c
1652
f += t->idx;
sys/dev/cxgbe/t4_filter.c
1654
for (i = t->idx; i < nfilters; i++, f++) {
sys/dev/cxgbe/t4_filter.c
1657
t->idx = i;
sys/dev/cxgbe/t4_filter.c
1658
t->l2tidx = f->l2te ? f->l2te->idx : 0;
sys/dev/cxgbe/t4_filter.c
1659
t->smtidx = f->smt ? f->smt->idx : 0;
sys/dev/cxgbe/t4_filter.c
1661
t->hits = get_filter_hits(sc, f->tid);
sys/dev/cxgbe/t4_filter.c
1663
t->hits = UINT64_MAX;
sys/dev/cxgbe/t4_filter.c
1664
t->fs = f->fs;
sys/dev/cxgbe/t4_filter.c
1669
t->idx = 0xffffffff;
sys/dev/cxgbe/t4_filter.c
167
MPASS(t->tids_in_use == n);
sys/dev/cxgbe/t4_filter.c
1676
get_hashfilter(struct adapter *sc, struct t4_filter *t)
sys/dev/cxgbe/t4_filter.c
168
t->tids_in_use = 0;
sys/dev/cxgbe/t4_filter.c
1683
MPASS(t->fs.hash);
sys/dev/cxgbe/t4_filter.c
1686
t->idx >= inv_tid) {
sys/dev/cxgbe/t4_filter.c
1687
t->idx = 0xffffffff;
sys/dev/cxgbe/t4_filter.c
1690
if (t->idx < ti->tid_base)
sys/dev/cxgbe/t4_filter.c
1691
t->idx = ti->tid_base;
sys/dev/cxgbe/t4_filter.c
1694
for (tid = t->idx; tid < inv_tid; tid++) {
sys/dev/cxgbe/t4_filter.c
1697
t->idx = tid;
sys/dev/cxgbe/t4_filter.c
1698
t->l2tidx = f->l2te ? f->l2te->idx : 0;
sys/dev/cxgbe/t4_filter.c
1699
t->smtidx = f->smt ? f->smt->idx : 0;
sys/dev/cxgbe/t4_filter.c
1701
t->hits = get_filter_hits(sc, tid);
sys/dev/cxgbe/t4_filter.c
1703
t->hits = UINT64_MAX;
sys/dev/cxgbe/t4_filter.c
1704
t->fs = f->fs;
sys/dev/cxgbe/t4_filter.c
1709
t->idx = 0xffffffff;
sys/dev/cxgbe/t4_filter.c
171
if (t->hftid_hash_4t) {
sys/dev/cxgbe/t4_filter.c
172
hashdestroy(t->hftid_hash_4t, M_CXGBE, t->hftid_4t_mask);
sys/dev/cxgbe/t4_filter.c
173
t->hftid_hash_4t = NULL;
sys/dev/cxgbe/t4_filter.c
175
if (t->hftid_hash_tid) {
sys/dev/cxgbe/t4_filter.c
176
hashdestroy(t->hftid_hash_tid, M_CXGBE, t->hftid_tid_mask);
sys/dev/cxgbe/t4_filter.c
177
t->hftid_hash_tid = NULL;
sys/dev/cxgbe/t4_filter.c
179
if (mtx_initialized(&t->hftid_lock)) {
sys/dev/cxgbe/t4_filter.c
180
mtx_destroy(&t->hftid_lock);
sys/dev/cxgbe/t4_filter.c
181
cv_destroy(&t->hftid_cv);
sys/dev/cxgbe/t4_filter.c
1833
set_hashfilter(struct adapter *sc, struct t4_filter *t, uint64_t ftuple,
sys/dev/cxgbe/t4_filter.c
1842
MPASS(t->fs.hash);
sys/dev/cxgbe/t4_filter.c
1844
MPASS((t->fs.val.pfvf_vld & t->fs.val.ovlan_vld) == 0);
sys/dev/cxgbe/t4_filter.c
1845
MPASS((t->fs.mask.pfvf_vld & t->fs.mask.ovlan_vld) == 0);
sys/dev/cxgbe/t4_filter.c
1847
hash = hf_hashfn_4t(&t->fs);
sys/dev/cxgbe/t4_filter.c
1850
if (lookup_hf(sc, &t->fs, hash) != NULL) {
sys/dev/cxgbe/t4_filter.c
1860
f->fs = t->fs;
sys/dev/cxgbe/t4_filter.c
188
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/t4_filter.c
189
LIST_HEAD(, filter_entry) *head = t->hftid_hash_4t;
sys/dev/cxgbe/t4_filter.c
1897
t->idx = f->tid;
sys/dev/cxgbe/t4_filter.c
194
LIST_INSERT_HEAD(&head[hash & t->hftid_4t_mask], f, link_4t);
sys/dev/cxgbe/t4_filter.c
195
atomic_add_int(&t->tids_in_use, f->fs.type ? 2 : 1);
sys/dev/cxgbe/t4_filter.c
2004
del_hashfilter(struct adapter *sc, struct t4_filter *t)
sys/dev/cxgbe/t4_filter.c
201
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/t4_filter.c
2017
if (t->idx < sc->tids.tid_base || t->idx >= inv_tid)
sys/dev/cxgbe/t4_filter.c
202
LIST_HEAD(, filter_entry) *head = t->hftid_hash_tid;
sys/dev/cxgbe/t4_filter.c
2021
f = lookup_hftid(sc, t->idx);
sys/dev/cxgbe/t4_filter.c
2026
MPASS(f->tid == t->idx);
sys/dev/cxgbe/t4_filter.c
2041
mk_del_hashfilter_wr(sc, t->idx, wr, wrlen, sc->sge.fwq.abs_id);
sys/dev/cxgbe/t4_filter.c
2045
t->fs = f->fs; /* extra info for the caller */
sys/dev/cxgbe/t4_filter.c
205
MPASS(f->tid >= t->tid_base);
sys/dev/cxgbe/t4_filter.c
206
MPASS(f->tid - t->tid_base < t->ntids);
sys/dev/cxgbe/t4_filter.c
207
mtx_assert(&t->hftid_lock, MA_OWNED);
sys/dev/cxgbe/t4_filter.c
210
LIST_INSERT_HEAD(&head[hash & t->hftid_tid_mask], f, link_tid);
sys/dev/cxgbe/t4_filter.c
264
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/t4_filter.c
265
LIST_HEAD(, filter_entry) *head = t->hftid_hash_4t;
sys/dev/cxgbe/t4_filter.c
268
mtx_assert(&t->hftid_lock, MA_OWNED);
sys/dev/cxgbe/t4_filter.c
274
LIST_FOREACH(f, &head[hash & t->hftid_4t_mask], link_4t) {
sys/dev/cxgbe/t4_filter.c
285
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/t4_filter.c
286
LIST_HEAD(, filter_entry) *head = t->hftid_hash_tid;
sys/dev/cxgbe/t4_filter.c
290
mtx_assert(&t->hftid_lock, MA_OWNED);
sys/dev/cxgbe/t4_filter.c
294
LIST_FOREACH(f, &head[hash & t->hftid_tid_mask], link_tid) {
sys/dev/cxgbe/t4_filter.c
305
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/t4_filter.c
307
mtx_assert(&t->hftid_lock, MA_OWNED);
sys/dev/cxgbe/t4_filter.c
310
atomic_subtract_int(&t->tids_in_use, f->fs.type ? 2 : 1);
sys/dev/cxgbe/t4_filter.c
317
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/t4_filter.c
319
mtx_assert(&t->hftid_lock, MA_OWNED);
sys/dev/cxgbe/t4_filter.c
743
uint64_t t;
sys/dev/cxgbe/t4_filter.c
745
read_via_memwin(sc, 0, tcb_addr + 16, (uint32_t *)&t, 8);
sys/dev/cxgbe/t4_filter.c
746
hits = be64toh(t);
sys/dev/cxgbe/t4_filter.c
748
uint32_t t;
sys/dev/cxgbe/t4_filter.c
750
read_via_memwin(sc, 0, tcb_addr + 24, &t, 4);
sys/dev/cxgbe/t4_filter.c
751
hits = be32toh(t);
sys/dev/cxgbe/t4_filter.c
759
get_filter(struct adapter *sc, struct t4_filter *t)
sys/dev/cxgbe/t4_filter.c
761
if (t->fs.hash)
sys/dev/cxgbe/t4_filter.c
762
return (get_hashfilter(sc, t));
sys/dev/cxgbe/t4_filter.c
764
return (get_tcamfilter(sc, t));
sys/dev/cxgbe/t4_filter.c
768
set_tcamfilter(struct adapter *sc, struct t4_filter *t, struct l2t_entry *l2te,
sys/dev/cxgbe/t4_filter.c
777
const int ntids = t->fs.type ? 4 : 1;
sys/dev/cxgbe/t4_filter.c
779
MPASS(!t->fs.hash);
sys/dev/cxgbe/t4_filter.c
781
MPASS((t->fs.val.pfvf_vld & t->fs.val.ovlan_vld) == 0);
sys/dev/cxgbe/t4_filter.c
782
MPASS((t->fs.mask.pfvf_vld & t->fs.mask.ovlan_vld) == 0);
sys/dev/cxgbe/t4_filter.c
784
if (separate_hpfilter_region(sc) && t->fs.prio) {
sys/dev/cxgbe/t4_filter.c
785
MPASS(t->idx < sc->tids.nhpftids);
sys/dev/cxgbe/t4_filter.c
786
f = &sc->tids.hpftid_tab[t->idx];
sys/dev/cxgbe/t4_filter.c
787
tid = sc->tids.hpftid_base + t->idx;
sys/dev/cxgbe/t4_filter.c
789
MPASS(t->idx < sc->tids.nftids);
sys/dev/cxgbe/t4_filter.c
790
f = &sc->tids.ftid_tab[t->idx];
sys/dev/cxgbe/t4_filter.c
791
tid = sc->tids.ftid_base + t->idx;
sys/dev/cxgbe/t4_filter.c
815
if (separate_hpfilter_region(sc) && t->fs.prio)
sys/dev/cxgbe/t4_filter.c
830
f->fs = t->fs;
sys/dev/cxgbe/t4_filter.c
834
if (t->fs.val.pfvf_vld || t->fs.val.ovlan_vld)
sys/dev/cxgbe/t4_filter.c
838
if (t->fs.mask.pfvf_vld || t->fs.mask.ovlan_vld)
sys/dev/cxgbe/t4_main.c
11596
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/t4_main.c
11603
if (t->natids) {
sys/dev/cxgbe/t4_main.c
11604
sbuf_printf(sb, "ATID range: 0-%u, in use: %u\n", t->natids - 1,
sys/dev/cxgbe/t4_main.c
11605
t->atids_in_use);
sys/dev/cxgbe/t4_main.c
11608
if (t->nhpftids) {
sys/dev/cxgbe/t4_main.c
11610
t->hpftid_base, t->hpftid_end, t->hpftids_in_use);
sys/dev/cxgbe/t4_main.c
11613
if (t->ntids) {
sys/dev/cxgbe/t4_main.c
11636
sbuf_printf(sb, "%u-%u, ", t->tid_base, x - 1);
sys/dev/cxgbe/t4_main.c
11637
sbuf_printf(sb, "%u-%u", y, t->tid_base + t->ntids - 1);
sys/dev/cxgbe/t4_main.c
11639
sbuf_printf(sb, "%u-%u", t->tid_base, t->tid_base +
sys/dev/cxgbe/t4_main.c
11640
t->ntids - 1);
sys/dev/cxgbe/t4_main.c
11643
atomic_load_acq_int(&t->tids_in_use));
sys/dev/cxgbe/t4_main.c
11646
if (t->nstids) {
sys/dev/cxgbe/t4_main.c
11647
sbuf_printf(sb, "STID range: %u-%u, in use: %u\n", t->stid_base,
sys/dev/cxgbe/t4_main.c
11648
t->stid_base + t->nstids - 1, t->stids_in_use);
sys/dev/cxgbe/t4_main.c
11651
if (t->nftids) {
sys/dev/cxgbe/t4_main.c
11652
sbuf_printf(sb, "FTID range: %u-%u, in use: %u\n", t->ftid_base,
sys/dev/cxgbe/t4_main.c
11653
t->ftid_end, t->ftids_in_use);
sys/dev/cxgbe/t4_main.c
11656
if (t->netids) {
sys/dev/cxgbe/t4_main.c
11657
sbuf_printf(sb, "ETID range: %u-%u, in use: %u\n", t->etid_base,
sys/dev/cxgbe/t4_main.c
11658
t->etid_base + t->netids - 1, t->etids_in_use);
sys/dev/cxgbe/t4_main.c
13755
calculate_nqueues(int *t, int nc, const int c)
sys/dev/cxgbe/t4_main.c
13759
if (*t > 0)
sys/dev/cxgbe/t4_main.c
13761
nq = *t < 0 ? -*t : c;
sys/dev/cxgbe/t4_main.c
13762
*t = min(nc, nq);
sys/dev/cxgbe/t4_main.c
14016
int t;
sys/dev/cxgbe/t4_main.c
14020
t = db_read_token();
sys/dev/cxgbe/t4_main.c
14021
if (t == tIDENT) {
sys/dev/cxgbe/t4_main.c
14042
int radix, tid, t;
sys/dev/cxgbe/t4_main.c
14048
t = db_read_token();
sys/dev/cxgbe/t4_main.c
14049
if (t == tIDENT) {
sys/dev/cxgbe/t4_main.c
14051
t = db_read_token();
sys/dev/cxgbe/t4_main.c
14052
if (t == tNUMBER) {
sys/dev/cxgbe/t4_main.c
14079
int radix, t;
sys/dev/cxgbe/t4_main.c
14085
t = db_read_token();
sys/dev/cxgbe/t4_main.c
14086
if (t == tIDENT) {
sys/dev/cxgbe/t4_main.c
14088
t = db_read_token();
sys/dev/cxgbe/t4_main.c
14089
if (t == tNUMBER) {
sys/dev/cxgbe/t4_main.c
14091
t = db_read_token();
sys/dev/cxgbe/t4_main.c
14092
if (t == tNUMBER) {
sys/dev/cxgbe/t4_main.c
4245
struct tid_info *t;
sys/dev/cxgbe/t4_main.c
4248
t = &sc->tids;
sys/dev/cxgbe/t4_main.c
4249
if (t->natids == 0)
sys/dev/cxgbe/t4_main.c
4252
MPASS(t->atid_tab == NULL);
sys/dev/cxgbe/t4_main.c
4254
t->atid_tab = malloc(t->natids * sizeof(*t->atid_tab), M_CXGBE,
sys/dev/cxgbe/t4_main.c
4256
mtx_init(&t->atid_lock, "atid lock", NULL, MTX_DEF);
sys/dev/cxgbe/t4_main.c
4257
t->afree = t->atid_tab;
sys/dev/cxgbe/t4_main.c
4258
t->atids_in_use = 0;
sys/dev/cxgbe/t4_main.c
4259
t->atid_alloc_stopped = false;
sys/dev/cxgbe/t4_main.c
4260
for (i = 1; i < t->natids; i++)
sys/dev/cxgbe/t4_main.c
4261
t->atid_tab[i - 1].next = &t->atid_tab[i];
sys/dev/cxgbe/t4_main.c
4262
t->atid_tab[t->natids - 1].next = NULL;
sys/dev/cxgbe/t4_main.c
4268
struct tid_info *t;
sys/dev/cxgbe/t4_main.c
4270
t = &sc->tids;
sys/dev/cxgbe/t4_main.c
4272
KASSERT(t->atids_in_use == 0,
sys/dev/cxgbe/t4_main.c
4273
("%s: %d atids still in use.", __func__, t->atids_in_use));
sys/dev/cxgbe/t4_main.c
4275
if (mtx_initialized(&t->atid_lock))
sys/dev/cxgbe/t4_main.c
4276
mtx_destroy(&t->atid_lock);
sys/dev/cxgbe/t4_main.c
4277
free(t->atid_tab, M_CXGBE);
sys/dev/cxgbe/t4_main.c
4278
t->atid_tab = NULL;
sys/dev/cxgbe/t4_main.c
4284
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/t4_main.c
4286
if (t->natids == 0)
sys/dev/cxgbe/t4_main.c
4288
mtx_lock(&t->atid_lock);
sys/dev/cxgbe/t4_main.c
4289
t->atid_alloc_stopped = true;
sys/dev/cxgbe/t4_main.c
4290
mtx_unlock(&t->atid_lock);
sys/dev/cxgbe/t4_main.c
4296
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/t4_main.c
4298
if (t->natids == 0)
sys/dev/cxgbe/t4_main.c
4300
mtx_lock(&t->atid_lock);
sys/dev/cxgbe/t4_main.c
4301
KASSERT(t->atids_in_use == 0,
sys/dev/cxgbe/t4_main.c
4302
("%s: %d atids still in use.", __func__, t->atids_in_use));
sys/dev/cxgbe/t4_main.c
4303
t->atid_alloc_stopped = false;
sys/dev/cxgbe/t4_main.c
4304
mtx_unlock(&t->atid_lock);
sys/dev/cxgbe/t4_main.c
4310
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/t4_main.c
4313
mtx_lock(&t->atid_lock);
sys/dev/cxgbe/t4_main.c
4314
if (t->afree && !t->atid_alloc_stopped) {
sys/dev/cxgbe/t4_main.c
4315
union aopen_entry *p = t->afree;
sys/dev/cxgbe/t4_main.c
4317
atid = p - t->atid_tab;
sys/dev/cxgbe/t4_main.c
4319
t->afree = p->next;
sys/dev/cxgbe/t4_main.c
4321
t->atids_in_use++;
sys/dev/cxgbe/t4_main.c
4323
mtx_unlock(&t->atid_lock);
sys/dev/cxgbe/t4_main.c
4330
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/t4_main.c
4332
return (t->atid_tab[atid].data);
sys/dev/cxgbe/t4_main.c
4338
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/t4_main.c
4339
union aopen_entry *p = &t->atid_tab[atid];
sys/dev/cxgbe/t4_main.c
4341
mtx_lock(&t->atid_lock);
sys/dev/cxgbe/t4_main.c
4342
p->next = t->afree;
sys/dev/cxgbe/t4_main.c
4343
t->afree = p;
sys/dev/cxgbe/t4_main.c
4344
t->atids_in_use--;
sys/dev/cxgbe/t4_main.c
4345
mtx_unlock(&t->atid_lock);
sys/dev/cxgbe/t4_main.c
9306
int rc, t;
sys/dev/cxgbe/t4_main.c
9325
t = val == 0 ? -1 : val;
sys/dev/cxgbe/t4_main.c
9327
rc = sysctl_handle_int(oidp, &t, 0, req);
sys/dev/cxgbe/t4_sched.c
705
struct tid_info *t;
sys/dev/cxgbe/t4_sched.c
710
t = &sc->tids;
sys/dev/cxgbe/t4_sched.c
711
MPASS(t->netids > 0);
sys/dev/cxgbe/t4_sched.c
713
mtx_init(&t->etid_lock, "etid lock", NULL, MTX_DEF);
sys/dev/cxgbe/t4_sched.c
714
t->etid_tab = malloc(sizeof(*t->etid_tab) * t->netids, M_CXGBE,
sys/dev/cxgbe/t4_sched.c
716
t->efree = t->etid_tab;
sys/dev/cxgbe/t4_sched.c
717
t->etids_in_use = 0;
sys/dev/cxgbe/t4_sched.c
718
for (i = 1; i < t->netids; i++)
sys/dev/cxgbe/t4_sched.c
719
t->etid_tab[i - 1].next = &t->etid_tab[i];
sys/dev/cxgbe/t4_sched.c
720
t->etid_tab[t->netids - 1].next = NULL;
sys/dev/cxgbe/t4_sched.c
726
struct tid_info *t;
sys/dev/cxgbe/t4_sched.c
731
t = &sc->tids;
sys/dev/cxgbe/t4_sched.c
732
MPASS(t->netids > 0);
sys/dev/cxgbe/t4_sched.c
734
free(t->etid_tab, M_CXGBE);
sys/dev/cxgbe/t4_sched.c
735
t->etid_tab = NULL;
sys/dev/cxgbe/t4_sched.c
737
if (mtx_initialized(&t->etid_lock))
sys/dev/cxgbe/t4_sched.c
738
mtx_destroy(&t->etid_lock);
sys/dev/cxgbe/t4_sched.c
748
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/t4_sched.c
751
mtx_lock(&t->etid_lock);
sys/dev/cxgbe/t4_sched.c
752
if (t->efree) {
sys/dev/cxgbe/t4_sched.c
753
union etid_entry *p = t->efree;
sys/dev/cxgbe/t4_sched.c
755
etid = p - t->etid_tab + t->etid_base;
sys/dev/cxgbe/t4_sched.c
756
t->efree = p->next;
sys/dev/cxgbe/t4_sched.c
758
t->etids_in_use++;
sys/dev/cxgbe/t4_sched.c
760
mtx_unlock(&t->etid_lock);
sys/dev/cxgbe/t4_sched.c
767
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/t4_sched.c
769
return (t->etid_tab[etid - t->etid_base].cst);
sys/dev/cxgbe/t4_sched.c
775
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/t4_sched.c
776
union etid_entry *p = &t->etid_tab[etid - t->etid_base];
sys/dev/cxgbe/t4_sched.c
778
mtx_lock(&t->etid_lock);
sys/dev/cxgbe/t4_sched.c
779
p->next = t->efree;
sys/dev/cxgbe/t4_sched.c
780
t->efree = p;
sys/dev/cxgbe/t4_sched.c
781
t->etids_in_use--;
sys/dev/cxgbe/t4_sched.c
782
mtx_unlock(&t->etid_lock);
sys/dev/cxgbe/t4_tracer.c
259
t4_get_tracer(struct adapter *sc, struct t4_tracer *t)
sys/dev/cxgbe/t4_tracer.c
264
if (t->idx >= NTRACE) {
sys/dev/cxgbe/t4_tracer.c
265
t->idx = 0xff;
sys/dev/cxgbe/t4_tracer.c
266
t->enabled = 0;
sys/dev/cxgbe/t4_tracer.c
267
t->valid = 0;
sys/dev/cxgbe/t4_tracer.c
281
for (i = t->idx; i < NTRACE; i++) {
sys/dev/cxgbe/t4_tracer.c
282
if (isset(&sc->tracer_valid, t->idx)) {
sys/dev/cxgbe/t4_tracer.c
284
t->idx = i;
sys/dev/cxgbe/t4_tracer.c
285
t->enabled = enabled;
sys/dev/cxgbe/t4_tracer.c
286
t->valid = 1;
sys/dev/cxgbe/t4_tracer.c
287
memcpy(&t->tp.data[0], &tp.data[0], sizeof(t->tp.data));
sys/dev/cxgbe/t4_tracer.c
288
memcpy(&t->tp.mask[0], &tp.mask[0], sizeof(t->tp.mask));
sys/dev/cxgbe/t4_tracer.c
289
t->tp.snap_len = tp.snap_len;
sys/dev/cxgbe/t4_tracer.c
290
t->tp.min_len = tp.min_len;
sys/dev/cxgbe/t4_tracer.c
291
t->tp.skip_ofst = tp.skip_ofst;
sys/dev/cxgbe/t4_tracer.c
292
t->tp.skip_len = tp.skip_len;
sys/dev/cxgbe/t4_tracer.c
293
t->tp.invert = tp.invert;
sys/dev/cxgbe/t4_tracer.c
297
t->tp.port = sc->chan_map[tp.port];
sys/dev/cxgbe/t4_tracer.c
299
t->tp.port = sc->chan_map[tp.port - 4] + 4;
sys/dev/cxgbe/t4_tracer.c
301
t->tp.port = tp.port;
sys/dev/cxgbe/t4_tracer.c
307
t->idx = 0xff;
sys/dev/cxgbe/t4_tracer.c
308
t->enabled = 0;
sys/dev/cxgbe/t4_tracer.c
309
t->valid = 0;
sys/dev/cxgbe/t4_tracer.c
317
t4_set_tracer(struct adapter *sc, struct t4_tracer *t)
sys/dev/cxgbe/t4_tracer.c
322
if (t->idx >= NTRACE)
sys/dev/cxgbe/t4_tracer.c
340
if (t->valid == 0) {
sys/dev/cxgbe/t4_tracer.c
341
if (isset(&sc->tracer_valid, t->idx))
sys/dev/cxgbe/t4_tracer.c
348
if (t->tp.port > 19 || t->tp.snap_len > 9600 ||
sys/dev/cxgbe/t4_tracer.c
349
t->tp.min_len > M_TFMINPKTSIZE || t->tp.skip_len > M_TFLENGTH ||
sys/dev/cxgbe/t4_tracer.c
350
t->tp.skip_ofst > M_TFOFFSET) {
sys/dev/cxgbe/t4_tracer.c
355
memcpy(&tp.data[0], &t->tp.data[0], sizeof(tp.data));
sys/dev/cxgbe/t4_tracer.c
356
memcpy(&tp.mask[0], &t->tp.mask[0], sizeof(tp.mask));
sys/dev/cxgbe/t4_tracer.c
357
tp.snap_len = t->tp.snap_len;
sys/dev/cxgbe/t4_tracer.c
358
tp.min_len = t->tp.min_len;
sys/dev/cxgbe/t4_tracer.c
359
tp.skip_ofst = t->tp.skip_ofst;
sys/dev/cxgbe/t4_tracer.c
360
tp.skip_len = t->tp.skip_len;
sys/dev/cxgbe/t4_tracer.c
361
tp.invert = !!t->tp.invert;
sys/dev/cxgbe/t4_tracer.c
364
if (t->tp.port < 4) {
sys/dev/cxgbe/t4_tracer.c
365
if (sc->port[t->tp.port] == NULL) {
sys/dev/cxgbe/t4_tracer.c
369
tp.port = sc->port[t->tp.port]->tx_chan;
sys/dev/cxgbe/t4_tracer.c
370
} else if (t->tp.port < 8) {
sys/dev/cxgbe/t4_tracer.c
371
if (sc->port[t->tp.port - 4] == NULL) {
sys/dev/cxgbe/t4_tracer.c
375
tp.port = sc->port[t->tp.port - 4]->tx_chan + 4;
sys/dev/cxgbe/t4_tracer.c
377
tp.port = t->tp.port;
sys/dev/cxgbe/t4_tracer.c
381
rc = -t4_set_trace_filter(sc, tpp, t->idx, t->enabled);
sys/dev/cxgbe/t4_tracer.c
383
if (t->enabled) {
sys/dev/cxgbe/t4_tracer.c
384
setbit(&sc->tracer_valid, t->idx);
sys/dev/cxgbe/t4_tracer.c
389
setbit(&sc->tracer_enabled, t->idx);
sys/dev/cxgbe/t4_tracer.c
391
clrbit(&sc->tracer_enabled, t->idx);
sys/dev/cxgbe/tom/t4_ddp.c
1322
int a, b, t;
sys/dev/cxgbe/tom/t4_ddp.c
1333
t = a;
sys/dev/cxgbe/tom/t4_ddp.c
1335
b = t;
sys/dev/cxgbe/tom/t4_listen.c
100
MPASS(t->stid_tab == NULL);
sys/dev/cxgbe/tom/t4_listen.c
102
t->stid_tab = malloc(t->nstids * sizeof(*t->stid_tab), M_CXGBE,
sys/dev/cxgbe/tom/t4_listen.c
104
if (t->stid_tab == NULL)
sys/dev/cxgbe/tom/t4_listen.c
106
t->stid_bitmap = bit_alloc(t->nstids, M_CXGBE, M_NOWAIT);
sys/dev/cxgbe/tom/t4_listen.c
107
if (t->stid_bitmap == NULL) {
sys/dev/cxgbe/tom/t4_listen.c
108
free(t->stid_tab, M_CXGBE);
sys/dev/cxgbe/tom/t4_listen.c
109
t->stid_tab = NULL;
sys/dev/cxgbe/tom/t4_listen.c
112
mtx_init(&t->stid_lock, "stid lock", NULL, MTX_DEF);
sys/dev/cxgbe/tom/t4_listen.c
113
t->stids_in_use = 0;
sys/dev/cxgbe/tom/t4_listen.c
121
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/tom/t4_listen.c
123
KASSERT(t->stids_in_use == 0,
sys/dev/cxgbe/tom/t4_listen.c
124
("%s: %d tids still in use.", __func__, t->stids_in_use));
sys/dev/cxgbe/tom/t4_listen.c
126
if (mtx_initialized(&t->stid_lock))
sys/dev/cxgbe/tom/t4_listen.c
127
mtx_destroy(&t->stid_lock);
sys/dev/cxgbe/tom/t4_listen.c
128
free(t->stid_tab, M_CXGBE);
sys/dev/cxgbe/tom/t4_listen.c
129
t->stid_tab = NULL;
sys/dev/cxgbe/tom/t4_listen.c
130
free(t->stid_bitmap, M_CXGBE);
sys/dev/cxgbe/tom/t4_listen.c
131
t->stid_bitmap = NULL;
sys/dev/cxgbe/tom/t4_listen.c
137
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/tom/t4_listen.c
143
mtx_lock(&t->stid_lock);
sys/dev/cxgbe/tom/t4_listen.c
144
t->stid_tab_stopped = true;
sys/dev/cxgbe/tom/t4_listen.c
145
mtx_unlock(&t->stid_lock);
sys/dev/cxgbe/tom/t4_listen.c
178
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/tom/t4_listen.c
196
mtx_lock(&t->stid_lock);
sys/dev/cxgbe/tom/t4_listen.c
197
t->stid_tab_stopped = false;
sys/dev/cxgbe/tom/t4_listen.c
198
mtx_unlock(&t->stid_lock);
sys/dev/cxgbe/tom/t4_listen.c
205
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/tom/t4_listen.c
211
mtx_lock(&t->stid_lock);
sys/dev/cxgbe/tom/t4_listen.c
212
MPASS(t->stids_in_use <= t->nstids);
sys/dev/cxgbe/tom/t4_listen.c
213
if (n > t->nstids - t->stids_in_use || t->stid_tab_stopped) {
sys/dev/cxgbe/tom/t4_listen.c
214
mtx_unlock(&t->stid_lock);
sys/dev/cxgbe/tom/t4_listen.c
226
for (i = 0; i + 1 < t->nstids; i = roundup2(val + 1, 2)) {
sys/dev/cxgbe/tom/t4_listen.c
227
bit_ffc_area_at(t->stid_bitmap, i, t->nstids, 2, &val);
sys/dev/cxgbe/tom/t4_listen.c
242
bit_ffc_at(t->stid_bitmap, 0, t->nstids, &val);
sys/dev/cxgbe/tom/t4_listen.c
250
if (val & 1 || bit_test(t->stid_bitmap, val + 1))
sys/dev/cxgbe/tom/t4_listen.c
263
if (bit_test(t->stid_bitmap, pair_stid) == 0) {
sys/dev/cxgbe/tom/t4_listen.c
269
if (val >= t->nstids)
sys/dev/cxgbe/tom/t4_listen.c
271
bit_ffs_at(t->stid_bitmap, val, t->nstids, &val);
sys/dev/cxgbe/tom/t4_listen.c
276
MPASS(stid + n - 1 < t->nstids);
sys/dev/cxgbe/tom/t4_listen.c
277
MPASS(bit_ntest(t->stid_bitmap, stid, stid + n - 1, 0));
sys/dev/cxgbe/tom/t4_listen.c
278
bit_nset(t->stid_bitmap, stid, stid + n - 1);
sys/dev/cxgbe/tom/t4_listen.c
279
t->stids_in_use += n;
sys/dev/cxgbe/tom/t4_listen.c
280
t->stid_tab[stid] = ctx;
sys/dev/cxgbe/tom/t4_listen.c
284
t->stid_tab[stid + 1] = NULL;
sys/dev/cxgbe/tom/t4_listen.c
287
stid += t->stid_base;
sys/dev/cxgbe/tom/t4_listen.c
289
mtx_unlock(&t->stid_lock);
sys/dev/cxgbe/tom/t4_listen.c
296
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/tom/t4_listen.c
298
return (t->stid_tab[stid - t->stid_base]);
sys/dev/cxgbe/tom/t4_listen.c
304
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/tom/t4_listen.c
307
mtx_lock(&t->stid_lock);
sys/dev/cxgbe/tom/t4_listen.c
308
MPASS(stid >= t->stid_base);
sys/dev/cxgbe/tom/t4_listen.c
309
stid -= t->stid_base;
sys/dev/cxgbe/tom/t4_listen.c
310
MPASS(stid + n - 1 < t->nstids);
sys/dev/cxgbe/tom/t4_listen.c
311
MPASS(t->stids_in_use <= t->nstids);
sys/dev/cxgbe/tom/t4_listen.c
312
MPASS(t->stids_in_use >= n);
sys/dev/cxgbe/tom/t4_listen.c
313
MPASS(t->stid_tab[stid] != NULL);
sys/dev/cxgbe/tom/t4_listen.c
317
MPASS(t->stid_tab[stid + 1] == NULL);
sys/dev/cxgbe/tom/t4_listen.c
320
MPASS(bit_ntest(t->stid_bitmap, stid, stid + n - 1, 1));
sys/dev/cxgbe/tom/t4_listen.c
321
bit_nclear(t->stid_bitmap, stid, stid + n - 1);
sys/dev/cxgbe/tom/t4_listen.c
322
t->stid_tab[stid] = NULL;
sys/dev/cxgbe/tom/t4_listen.c
323
t->stids_in_use -= n;
sys/dev/cxgbe/tom/t4_listen.c
324
mtx_unlock(&t->stid_lock);
sys/dev/cxgbe/tom/t4_listen.c
97
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/tom/t4_listen.c
99
MPASS(t->nstids > 0);
sys/dev/cxgbe/tom/t4_tom.c
1035
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/tom/t4_tom.c
1037
MPASS(tid >= t->tid_base);
sys/dev/cxgbe/tom/t4_tom.c
1038
MPASS(tid - t->tid_base < t->ntids);
sys/dev/cxgbe/tom/t4_tom.c
1040
t->tid_tab[tid - t->tid_base] = ctx;
sys/dev/cxgbe/tom/t4_tom.c
1041
atomic_add_int(&t->tids_in_use, ntids);
sys/dev/cxgbe/tom/t4_tom.c
1047
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/tom/t4_tom.c
1049
return (t->tid_tab[tid - t->tid_base]);
sys/dev/cxgbe/tom/t4_tom.c
1055
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/tom/t4_tom.c
1057
t->tid_tab[tid - t->tid_base] = ctx;
sys/dev/cxgbe/tom/t4_tom.c
1063
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/tom/t4_tom.c
1065
t->tid_tab[tid - t->tid_base] = NULL;
sys/dev/cxgbe/tom/t4_tom.c
1066
atomic_subtract_int(&t->tids_in_use, ntids);
sys/dev/cxgbe/tom/t4_tom.c
1486
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/tom/t4_tom.c
1488
MPASS(t->ntids > 0);
sys/dev/cxgbe/tom/t4_tom.c
1489
MPASS(t->tid_tab == NULL);
sys/dev/cxgbe/tom/t4_tom.c
1491
t->tid_tab = malloc(t->ntids * sizeof(*t->tid_tab), M_CXGBE,
sys/dev/cxgbe/tom/t4_tom.c
1493
if (t->tid_tab == NULL)
sys/dev/cxgbe/tom/t4_tom.c
1495
atomic_store_rel_int(&t->tids_in_use, 0);
sys/dev/cxgbe/tom/t4_tom.c
1503
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/tom/t4_tom.c
1505
KASSERT(t->tids_in_use == 0,
sys/dev/cxgbe/tom/t4_tom.c
1506
("%s: %d tids still in use.", __func__, t->tids_in_use));
sys/dev/cxgbe/tom/t4_tom.c
1508
free(t->tid_tab, M_CXGBE);
sys/dev/cxgbe/tom/t4_tom.c
1509
t->tid_tab = NULL;
sys/dev/cxgbe/tom/t4_tom.c
2041
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/tom/t4_tom.c
2056
mtx_lock(&t->atid_lock);
sys/dev/cxgbe/tom/t4_tom.c
2057
MPASS(t->atid_alloc_stopped == true);
sys/dev/cxgbe/tom/t4_tom.c
2058
mtx_unlock(&t->atid_lock);
sys/dev/cxgbe/tom/t4_tom.c
2068
for (atid = 0; atid < t->natids; atid++) {
sys/dev/cxgbe/tom/t4_tom.c
2070
if ((uintptr_t)toep >= (uintptr_t)&t->atid_tab[0] &&
sys/dev/cxgbe/tom/t4_tom.c
2071
(uintptr_t)toep < (uintptr_t)&t->atid_tab[t->natids])
sys/dev/cxgbe/tom/t4_tom.c
2093
MPASS(atomic_load_int(&t->atids_in_use) == 0);
sys/dev/cxgbe/tom/t4_tom.c
2102
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/tom/t4_tom.c
2133
MPASS(atomic_load_int(&t->tids_in_use) == 0);
sys/dev/cxgbe/tom/t4_tom.c
2180
struct tid_info *t = &sc->tids;
sys/dev/cxgbe/tom/t4_tom.c
2186
if (atomic_load_int(&t->atids_in_use) > 0)
sys/dev/cxgbe/tom/t4_tom.c
2188
if (atomic_load_int(&t->stids_in_use) > 0)
sys/dev/cxgbe/tom/t4_tom.c
2190
if (atomic_load_int(&t->tids_in_use) > 0)
sys/dev/dc/if_dc.c
1558
const struct dc_type *t;
sys/dev/dc/if_dc.c
1562
t = dc_devs;
sys/dev/dc/if_dc.c
1566
while (t->dc_name != NULL) {
sys/dev/dc/if_dc.c
1567
if (devid == t->dc_devid && rev >= t->dc_minrev)
sys/dev/dc/if_dc.c
1568
return (t);
sys/dev/dc/if_dc.c
1569
t++;
sys/dev/dc/if_dc.c
1587
const struct dc_type *t;
sys/dev/dc/if_dc.c
1589
t = dc_devtype(dev);
sys/dev/dc/if_dc.c
1591
if (t != NULL) {
sys/dev/dc/if_dc.c
1592
device_set_desc(dev, t->dc_name);
sys/dev/dpaa2/dpaa2_mcp.h
469
#define DPAA2_CMD_TK(c, t) dpaa2_mcp_tk((c), (t))
sys/dev/dpaa2/dpaa2_types.c
36
#define COMPARE_TYPE(t, v) (strncmp((v), (t), strlen((v))) == 0)
sys/dev/drm2/drm_crtc.c
2618
struct drm_display_mode *match_mode, *t;
sys/dev/drm2/drm_crtc.c
2620
list_for_each_entry_safe(match_mode, t, &connector->user_modes, head) {
sys/dev/drm2/drm_crtc.c
576
struct drm_display_mode *mode, *t;
sys/dev/drm2/drm_crtc.c
578
list_for_each_entry_safe(mode, t, &connector->probed_modes, head)
sys/dev/drm2/drm_crtc.c
581
list_for_each_entry_safe(mode, t, &connector->modes, head)
sys/dev/drm2/drm_crtc.c
584
list_for_each_entry_safe(mode, t, &connector->user_modes, head)
sys/dev/drm2/drm_crtc.h
112
#define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \
sys/dev/drm2/drm_crtc.h
113
.name = nm, .status = 0, .type = (t), .clock = (c), \
sys/dev/drm2/drm_edid.c
1001
struct edid *edid, u8 *t)
sys/dev/drm2/drm_edid.c
1005
hmin = t[7];
sys/dev/drm2/drm_edid.c
1007
hmin += ((t[4] & 0x04) ? 255 : 0);
sys/dev/drm2/drm_edid.c
1008
hmax = t[8];
sys/dev/drm2/drm_edid.c
1010
hmax += ((t[4] & 0x08) ? 255 : 0);
sys/dev/drm2/drm_edid.c
1018
struct edid *edid, u8 *t)
sys/dev/drm2/drm_edid.c
1022
vmin = t[5];
sys/dev/drm2/drm_edid.c
1024
vmin += ((t[4] & 0x01) ? 255 : 0);
sys/dev/drm2/drm_edid.c
1025
vmax = t[6];
sys/dev/drm2/drm_edid.c
1027
vmax += ((t[4] & 0x02) ? 255 : 0);
sys/dev/drm2/drm_edid.c
1034
range_pixel_clock(struct edid *edid, u8 *t)
sys/dev/drm2/drm_edid.c
1037
if (t[9] == 0 || t[9] == 255)
sys/dev/drm2/drm_edid.c
1041
if (edid->revision >= 4 && t[10] == 0x04)
sys/dev/drm2/drm_edid.c
1042
return (t[9] * 10000) - ((t[12] >> 2) * 250);
sys/dev/drm2/drm_edid.c
1045
return t[9] * 10000 + 5001;
sys/dev/drm2/drm_edid.c
1053
u8 *t = (u8 *)timing;
sys/dev/drm2/drm_edid.c
1055
if (!mode_in_hsync_range(mode, edid, t))
sys/dev/drm2/drm_edid.c
1058
if (!mode_in_vsync_range(mode, edid, t))
sys/dev/drm2/drm_edid.c
1061
if ((max_clock = range_pixel_clock(edid, t)))
sys/dev/drm2/drm_edid.c
1066
if (edid->revision >= 4 && t[10] == 0x04)
sys/dev/drm2/drm_edid.c
1067
if (t[13] && mode->hdisplay > 8 * (t[13] + (256 * (t[12]&0x3))))
sys/dev/drm2/drm_edid.c
1675
monitor_name(struct detailed_timing *t, void *data)
sys/dev/drm2/drm_edid.c
1677
if (t->data.other_data.type == EDID_DETAIL_MONITOR_NAME)
sys/dev/drm2/drm_edid.c
1678
*(u8 **)data = t->data.other_data.data.str.str;
sys/dev/drm2/drm_edid.c
499
struct drm_display_mode *t, *cur_mode, *preferred_mode;
sys/dev/drm2/drm_edid.c
513
list_for_each_entry_safe(cur_mode, t, &connector->probed_modes, head) {
sys/dev/drm2/drm_edid.c
633
is_rb(struct detailed_timing *t, void *data)
sys/dev/drm2/drm_edid.c
635
u8 *r = (u8 *)t;
sys/dev/drm2/drm_edid.c
655
find_gtf2(struct detailed_timing *t, void *data)
sys/dev/drm2/drm_edid.c
657
u8 *r = (u8 *)t;
sys/dev/drm2/drm_edid.c
741
struct std_timing *t, int revision)
sys/dev/drm2/drm_edid.c
747
unsigned aspect_ratio = (t->vfreq_aspect & EDID_TIMING_ASPECT_MASK)
sys/dev/drm2/drm_edid.c
749
unsigned vfreq = (t->vfreq_aspect & EDID_TIMING_VFREQ_MASK)
sys/dev/drm2/drm_edid.c
753
if (bad_std_timing(t->hsize, t->vfreq_aspect))
sys/dev/drm2/drm_edid.c
757
hsize = t->hsize * 8 + 248;
sys/dev/drm2/drm_irq.c
1304
struct drm_pending_vblank_event *e, *t;
sys/dev/drm2/drm_irq.c
1312
list_for_each_entry_safe(e, t, &dev->vblank_event_list, base.link) {
sys/dev/drm2/drm_irq.c
982
struct drm_pending_vblank_event *e, *t;
sys/dev/drm2/drm_irq.c
994
list_for_each_entry_safe(e, t, &dev->vblank_event_list, base.link) {
sys/dev/drm2/drm_modes.c
867
struct drm_display_mode *mode, *t;
sys/dev/drm2/drm_modes.c
869
list_for_each_entry_safe(mode, t, mode_list, head) {
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
1088
struct device_pools *p, *t;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
1093
list_for_each_entry_safe_reverse(p, t, &_manager->pools, pools) {
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
567
enum pool_type t[] = {IS_WC, IS_UC, IS_CACHED, IS_DMA32, IS_UNDEFINED};
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
610
if (type & t[i]) {
sys/dev/ena/ena_netmap.c
277
enum txrx t;
sys/dev/ena/ena_netmap.c
286
for_rx_tx(t) {
sys/dev/ena/ena_netmap.c
287
for (i = 0; i <= nma_get_nrings(na, t); i++) {
sys/dev/ena/ena_netmap.c
288
kring = NMR(na, t)[i];
sys/dev/ena/ena_netmap.c
298
for_rx_tx(t) {
sys/dev/ena/ena_netmap.c
299
for (i = 0; i <= nma_get_nrings(na, t); i++) {
sys/dev/ena/ena_netmap.c
300
kring = NMR(na, t)[i];
sys/dev/enetc/enetc_hw.h
114
#define ENETC_BDR(t, i, r) (0x8000 + (t) * 0x100 + ENETC_BDR_OFF(i) + (r))
sys/dev/enic/enic_compat.h
41
#define udelay(t) DELAY(t)
sys/dev/eqos/if_eqos.c
84
#define TX_QUEUED(h, t) ((((h) - (t)) + TX_DESC_COUNT) % TX_DESC_COUNT)
sys/dev/etherswitch/ar40xx/ar40xx_hw.c
281
uint32_t t;
sys/dev/etherswitch/ar40xx/ar40xx_hw.c
285
t = AR40XX_REG_READ(sc, reg);
sys/dev/etherswitch/ar40xx/ar40xx_hw.c
286
if ((t & mask) == val)
sys/dev/etherswitch/ar40xx/ar40xx_hw.c
297
(unsigned int)reg, t, mask, val);
sys/dev/etherswitch/arswitch/arswitch_8327.c
1033
uint32_t t;
sys/dev/etherswitch/arswitch/arswitch_8327.c
1038
t = pvid << AR8327_PORT_VLAN0_DEF_SVID_S;
sys/dev/etherswitch/arswitch/arswitch_8327.c
1039
t |= pvid << AR8327_PORT_VLAN0_DEF_CVID_S;
sys/dev/etherswitch/arswitch/arswitch_8327.c
1040
arswitch_writereg(sc->sc_dev, AR8327_REG_PORT_VLAN0(port), t);
sys/dev/etherswitch/arswitch/arswitch_8327.c
186
uint32_t t;
sys/dev/etherswitch/arswitch/arswitch_8327.c
191
t = 0;
sys/dev/etherswitch/arswitch/arswitch_8327.c
197
t = AR8327_PAD_MAC_MII_EN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
199
t |= AR8327_PAD_MAC_MII_RXCLK_SEL;
sys/dev/etherswitch/arswitch/arswitch_8327.c
201
t |= AR8327_PAD_MAC_MII_TXCLK_SEL;
sys/dev/etherswitch/arswitch/arswitch_8327.c
205
t = AR8327_PAD_MAC_GMII_EN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
207
t |= AR8327_PAD_MAC_GMII_RXCLK_SEL;
sys/dev/etherswitch/arswitch/arswitch_8327.c
209
t |= AR8327_PAD_MAC_GMII_TXCLK_SEL;
sys/dev/etherswitch/arswitch/arswitch_8327.c
213
t = AR8327_PAD_SGMII_EN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
221
t |= cfg->txclk_delay_sel << AR8327_PAD_RGMII_TXCLK_DELAY_SEL_S;
sys/dev/etherswitch/arswitch/arswitch_8327.c
222
t |= cfg->rxclk_delay_sel << AR8327_PAD_RGMII_RXCLK_DELAY_SEL_S;
sys/dev/etherswitch/arswitch/arswitch_8327.c
224
t |= AR8327_PAD_RGMII_RXCLK_DELAY_EN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
226
t |= AR8327_PAD_RGMII_TXCLK_DELAY_EN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
229
t |= AR8327_PAD_SGMII_DELAY_EN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
234
t = AR8327_PAD_PHY_MII_EN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
236
t |= AR8327_PAD_PHY_MII_RXCLK_SEL;
sys/dev/etherswitch/arswitch/arswitch_8327.c
238
t |= AR8327_PAD_PHY_MII_TXCLK_SEL;
sys/dev/etherswitch/arswitch/arswitch_8327.c
242
t = AR8327_PAD_PHY_GMII_EN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
244
t |= AR8327_PAD_PHY_GMII_PIPE_RXCLK_SEL;
sys/dev/etherswitch/arswitch/arswitch_8327.c
246
t |= AR8327_PAD_PHY_GMII_RXCLK_SEL;
sys/dev/etherswitch/arswitch/arswitch_8327.c
248
t |= AR8327_PAD_PHY_GMII_TXCLK_SEL;
sys/dev/etherswitch/arswitch/arswitch_8327.c
252
t = AR8327_PAD_RGMII_EN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
253
t |= cfg->txclk_delay_sel << AR8327_PAD_RGMII_TXCLK_DELAY_SEL_S;
sys/dev/etherswitch/arswitch/arswitch_8327.c
254
t |= cfg->rxclk_delay_sel << AR8327_PAD_RGMII_RXCLK_DELAY_SEL_S;
sys/dev/etherswitch/arswitch/arswitch_8327.c
256
t |= AR8327_PAD_RGMII_RXCLK_DELAY_EN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
258
t |= AR8327_PAD_RGMII_TXCLK_DELAY_EN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
262
t = AR8327_PAD_PHYX_GMII_EN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
266
t = AR8327_PAD_PHYX_RGMII_EN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
270
t = AR8327_PAD_PHYX_MII_EN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
274
return (t);
sys/dev/etherswitch/arswitch/arswitch_8327.c
284
uint32_t t;
sys/dev/etherswitch/arswitch/arswitch_8327.c
289
t = AR8X16_PORT_STS_TXMAC | AR8X16_PORT_STS_RXMAC;
sys/dev/etherswitch/arswitch/arswitch_8327.c
290
t |= cfg->duplex ? AR8X16_PORT_STS_DUPLEX : 0;
sys/dev/etherswitch/arswitch/arswitch_8327.c
291
t |= cfg->rxpause ? AR8X16_PORT_STS_RXFLOW : 0;
sys/dev/etherswitch/arswitch/arswitch_8327.c
292
t |= cfg->txpause ? AR8X16_PORT_STS_TXFLOW : 0;
sys/dev/etherswitch/arswitch/arswitch_8327.c
296
t |= AR8X16_PORT_STS_SPEED_10;
sys/dev/etherswitch/arswitch/arswitch_8327.c
299
t |= AR8X16_PORT_STS_SPEED_100;
sys/dev/etherswitch/arswitch/arswitch_8327.c
302
t |= AR8X16_PORT_STS_SPEED_1000;
sys/dev/etherswitch/arswitch/arswitch_8327.c
306
return (t);
sys/dev/etherswitch/arswitch/arswitch_8327.c
585
uint32_t t, new_pos, pos;
sys/dev/etherswitch/arswitch/arswitch_8327.c
601
t = 0;
sys/dev/etherswitch/arswitch/arswitch_8327.c
603
t = ar8327_get_pad_cfg(&pc);
sys/dev/etherswitch/arswitch/arswitch_8327.c
606
t |= AR8337_PAD_MAC06_EXCHANGE_EN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
608
arswitch_writereg(sc->sc_dev, AR8327_REG_PAD0_MODE, t);
sys/dev/etherswitch/arswitch/arswitch_8327.c
612
t = 0;
sys/dev/etherswitch/arswitch/arswitch_8327.c
614
t = ar8327_get_pad_cfg(&pc);
sys/dev/etherswitch/arswitch/arswitch_8327.c
615
arswitch_writereg(sc->sc_dev, AR8327_REG_PAD5_MODE, t);
sys/dev/etherswitch/arswitch/arswitch_8327.c
619
t = 0;
sys/dev/etherswitch/arswitch/arswitch_8327.c
621
t = ar8327_get_pad_cfg(&pc);
sys/dev/etherswitch/arswitch/arswitch_8327.c
622
arswitch_writereg(sc->sc_dev, AR8327_REG_PAD6_MODE, t);
sys/dev/etherswitch/arswitch/arswitch_8327.c
652
t = scfg.sgmii_ctrl;
sys/dev/etherswitch/arswitch/arswitch_8327.c
654
t |= AR8327_SGMII_CTRL_EN_PLL |
sys/dev/etherswitch/arswitch/arswitch_8327.c
658
t &= ~(AR8327_SGMII_CTRL_EN_PLL |
sys/dev/etherswitch/arswitch/arswitch_8327.c
662
arswitch_writereg(sc->sc_dev, AR8327_REG_SGMII_CTRL, t);
sys/dev/etherswitch/arswitch/arswitch_8327.c
717
uint32_t t;
sys/dev/etherswitch/arswitch/arswitch_8327.c
722
t = AR8327_FWD_CTRL0_CPU_PORT_EN |
sys/dev/etherswitch/arswitch/arswitch_8327.c
724
arswitch_writereg(sc->sc_dev, AR8327_REG_FWD_CTRL0, t);
sys/dev/etherswitch/arswitch/arswitch_8327.c
727
t = (AR8327_PORTS_ALL << AR8327_FWD_CTRL1_UC_FLOOD_S) |
sys/dev/etherswitch/arswitch/arswitch_8327.c
730
arswitch_writereg(sc->sc_dev, AR8327_REG_FWD_CTRL1, t);
sys/dev/etherswitch/arswitch/arswitch_8327.c
742
t = arswitch_readreg(sc->sc_dev, AR8327_REG_EEE_CTRL);
sys/dev/etherswitch/arswitch/arswitch_8327.c
743
t |= AR8327_EEE_CTRL_DISABLE_PHY(0) |
sys/dev/etherswitch/arswitch/arswitch_8327.c
748
arswitch_writereg(sc->sc_dev, AR8327_REG_EEE_CTRL, t);
sys/dev/etherswitch/arswitch/arswitch_8327.c
764
uint32_t t;
sys/dev/etherswitch/arswitch/arswitch_8327.c
771
t = sc->ar8327.port0_status;
sys/dev/etherswitch/arswitch/arswitch_8327.c
773
t = sc->ar8327.port6_status;
sys/dev/etherswitch/arswitch/arswitch_8327.c
775
t = AR8X16_PORT_STS_LINK_AUTO;
sys/dev/etherswitch/arswitch/arswitch_8327.c
777
arswitch_writereg(sc->sc_dev, AR8327_REG_PORT_STATUS(port), t);
sys/dev/etherswitch/arswitch/arswitch_8327.c
783
t = 1 << AR8327_PORT_VLAN0_DEF_SVID_S;
sys/dev/etherswitch/arswitch/arswitch_8327.c
784
t |= 1 << AR8327_PORT_VLAN0_DEF_CVID_S;
sys/dev/etherswitch/arswitch/arswitch_8327.c
785
arswitch_writereg(sc->sc_dev, AR8327_REG_PORT_VLAN0(port), t);
sys/dev/etherswitch/arswitch/arswitch_8327.c
787
t = AR8327_PORT_VLAN1_OUT_MODE_UNTOUCH << AR8327_PORT_VLAN1_OUT_MODE_S;
sys/dev/etherswitch/arswitch/arswitch_8327.c
788
arswitch_writereg(sc->sc_dev, AR8327_REG_PORT_VLAN1(port), t);
sys/dev/etherswitch/arswitch/arswitch_8327.c
798
t = AR8327_PORT_LOOKUP_LEARN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
799
t |= AR8X16_PORT_CTRL_STATE_FORWARD << AR8327_PORT_LOOKUP_STATE_S;
sys/dev/etherswitch/arswitch/arswitch_8327.c
802
t |= (ports & ~(1 << port));
sys/dev/etherswitch/arswitch/arswitch_8327.c
803
arswitch_writereg(sc->sc_dev, AR8327_REG_PORT_LOOKUP(port), t);
sys/dev/etherswitch/arswitch/arswitch_8327.c
868
uint32_t t;
sys/dev/etherswitch/arswitch/arswitch_8327.c
921
t = 1 << AR8327_PORT_VLAN0_DEF_SVID_S;
sys/dev/etherswitch/arswitch/arswitch_8327.c
922
t |= 1 << AR8327_PORT_VLAN0_DEF_CVID_S;
sys/dev/etherswitch/arswitch/arswitch_8327.c
923
arswitch_writereg(sc->sc_dev, AR8327_REG_PORT_VLAN0(i), t);
sys/dev/etherswitch/arswitch/arswitch_8327.c
925
t = AR8327_PORT_VLAN1_PORT_VLAN_PROP;
sys/dev/etherswitch/arswitch/arswitch_8327.c
926
t |= egress << AR8327_PORT_VLAN1_OUT_MODE_S;
sys/dev/etherswitch/arswitch/arswitch_8327.c
927
arswitch_writereg(sc->sc_dev, AR8327_REG_PORT_VLAN1(i), t);
sys/dev/etherswitch/arswitch/arswitch_8327.c
931
t = (ports & ~(1 << i)); /* all ports besides us */
sys/dev/etherswitch/arswitch/arswitch_8327.c
932
t |= AR8327_PORT_LOOKUP_LEARN;
sys/dev/etherswitch/arswitch/arswitch_8327.c
934
t |= ingress << AR8327_PORT_LOOKUP_IN_MODE_S;
sys/dev/etherswitch/arswitch/arswitch_8327.c
935
t |= AR8X16_PORT_CTRL_STATE_FORWARD << AR8327_PORT_LOOKUP_STATE_S;
sys/dev/etherswitch/arswitch/arswitch_8327.c
936
arswitch_writereg(sc->sc_dev, AR8327_REG_PORT_LOOKUP(i), t);
sys/dev/evdev/cdev.c
177
struct input_event t;
sys/dev/evdev/cdev.c
237
bcopy(head, &event.t, evsize);
sys/dev/evdev/cdev.c
259
struct input_event t;
sys/dev/evdev/cdev.c
298
ret = evdev_inject_event(evdev, event.t.type,
sys/dev/evdev/cdev.c
299
event.t.code, event.t.value);
sys/dev/exca/excavar.h
159
exca_get_ ## A(device_t dev, T *t) \
sys/dev/exca/excavar.h
162
EXCA_IVAR_ ## B, (uintptr_t *) t); \
sys/dev/firewire/fwcrom.c
450
char t[MAX_TEXT];
sys/dev/firewire/fwcrom.c
463
bzero(&t[0], roundup2(len, sizeof(uint32_t)));
sys/dev/firewire/fwcrom.c
464
bcopy(buf, &t[0], len);
sys/dev/firewire/fwcrom.c
465
p = (uint32_t *)&t[0];
sys/dev/firewire/sbp.c
1589
int orb_fun, status_valid0, status_valid, t, l, reset_agent = 0;
sys/dev/firewire/sbp.c
1619
t = SBP_ADDR2TRG(addr);
sys/dev/firewire/sbp.c
1620
if (t >= SBP_NUM_TARGETS) {
sys/dev/firewire/sbp.c
1622
"sbp_recv1: invalid target %d\n", t);
sys/dev/firewire/sbp.c
1625
target = &sbp->targets[t];
sys/dev/firewire/sbp.c
1629
"sbp_recv1: invalid lun %d (target=%d)\n", l, t);
sys/dev/firewire/sbp.c
653
struct timeval t;
sys/dev/firewire/sbp.c
658
t.tv_sec = login_delay / 1000;
sys/dev/firewire/sbp.c
659
t.tv_usec = (login_delay % 1000) * 1000;
sys/dev/firewire/sbp.c
660
timevalsub(&t, &delta);
sys/dev/firewire/sbp.c
661
if (t.tv_sec >= 0 && t.tv_usec > 0)
sys/dev/firewire/sbp.c
662
ticks = (t.tv_sec * 1000 + t.tv_usec / 1000) * hz / 1000;
sys/dev/firewire/sbp.c
665
(intmax_t)t.tv_sec, t.tv_usec, ticks);
sys/dev/firewire/sbp.c
91
#define SBP_DEV2ADDR(t, l) \
sys/dev/firewire/sbp.c
94
| (((t) & 0x3f) << 2))
sys/dev/firmware/arm/scmi.c
137
#define tsk_to_req(t) __containerof((t), struct scmi_req, tsk)
sys/dev/hpt27xx/him.h
414
#define INIT_TQ_ITEM(t, p, a) \
sys/dev/hpt27xx/him.h
415
do { (t)->proc = p; (t)->arg = a; (t)->next = 0; } while (0)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
269
OSM_TASK *t = vbus_ext->tasks;
sys/dev/hpt27xx/hpt27xx_os_bsd.c
270
while (t->next) t = t->next;
sys/dev/hpt27xx/hpt27xx_os_bsd.c
271
t->next = task;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
388
OSM_TASK *t = tasks;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
389
tasks = t->next;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
390
t->next = 0;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
391
t->func(vbus_ext->vbus, t->data);
sys/dev/hpt27xx/ldm.h
499
void ldm_queue_vbus_dpc(PVBUS vbus, struct tq_item *t);
sys/dev/hpt27xx/ldm.h
500
void ldm_queue_vbus_idle(PVBUS vbus, struct tq_item *t);
sys/dev/hptnr/him.h
402
#define INIT_TQ_ITEM(t, p, a) \
sys/dev/hptnr/him.h
403
do { (t)->proc = p; (t)->arg = a; (t)->next = 0; } while (0)
sys/dev/hptnr/hptnr_os_bsd.c
256
OSM_TASK *t = vbus_ext->tasks;
sys/dev/hptnr/hptnr_os_bsd.c
257
while (t->next) t = t->next;
sys/dev/hptnr/hptnr_os_bsd.c
258
t->next = task;
sys/dev/hptnr/hptnr_osm_bsd.c
390
OSM_TASK *t = tasks;
sys/dev/hptnr/hptnr_osm_bsd.c
391
tasks = t->next;
sys/dev/hptnr/hptnr_osm_bsd.c
392
t->next = 0;
sys/dev/hptnr/hptnr_osm_bsd.c
393
t->func(vbus_ext->vbus, t->data);
sys/dev/hptnr/ldm.h
498
void ldm_queue_task(struct task_queue *tq, struct tq_item *t);
sys/dev/hptnr/ldm.h
499
void ldm_queue_vbus_dpc(PVBUS vbus, struct tq_item *t);
sys/dev/hptrr/him.h
357
#define INIT_TQ_ITEM(t, p, a) \
sys/dev/hptrr/him.h
358
do { (t)->proc = p; (t)->arg = a; (t)->next = 0; } while (0)
sys/dev/hptrr/hptrr_os_bsd.c
242
OSM_TASK *t = vbus_ext->tasks;
sys/dev/hptrr/hptrr_os_bsd.c
243
while (t->next) t = t->next;
sys/dev/hptrr/hptrr_os_bsd.c
244
t->next = task;
sys/dev/hptrr/hptrr_osm_bsd.c
392
OSM_TASK *t = tasks;
sys/dev/hptrr/hptrr_osm_bsd.c
393
tasks = t->next;
sys/dev/hptrr/hptrr_osm_bsd.c
394
t->next = 0;
sys/dev/hptrr/hptrr_osm_bsd.c
395
t->func(vbus_ext->vbus, t->data);
sys/dev/hptrr/ldm.h
492
void ldm_queue_task(struct task_queue *tq, struct tq_item *t);
sys/dev/hptrr/ldm.h
493
void ldm_queue_vbus_dpc(PVBUS vbus, struct tq_item *t);
sys/dev/hwpmc/hwpmc_mod.c
1041
pmc_can_attach(struct pmc *pm, struct proc *t)
sys/dev/hwpmc/hwpmc_mod.c
1051
if ((o = pm->pm_owner->po_owner) == t)
sys/dev/hwpmc/hwpmc_mod.c
1059
PROC_LOCK(t);
sys/dev/hwpmc/hwpmc_mod.c
1060
tc = t->p_ucred;
sys/dev/hwpmc/hwpmc_mod.c
1062
PROC_UNLOCK(t);
sys/dev/hwt/hwt_ioctl.c
77
hwt_priv_check(struct proc *o, struct proc *t)
sys/dev/hwt/hwt_ioctl.c
88
PROC_LOCK_ASSERT(t, MA_OWNED);
sys/dev/hwt/hwt_ioctl.c
89
tc = t->p_ucred;
sys/dev/ice/ice_flex_pipe.c
1344
hw->blk[blk].xlt2.t[vsi] = vsig;
sys/dev/ice/ice_flex_pipe.c
1367
if (memcmp(&es->t[off], fv, es->fvw * sizeof(*fv)))
sys/dev/ice/ice_flex_pipe.c
1536
ice_memset(&hw->blk[blk].es.t[off], 0, hw->blk[blk].es.fvw *
sys/dev/ice/ice_flex_pipe.c
1540
ice_memcpy(&hw->blk[blk].es.t[off], fv, hw->blk[blk].es.fvw *
sys/dev/ice/ice_flex_pipe.c
1622
ptg = hw->blk[blk].xlt1.t[pt];
sys/dev/ice/ice_flex_pipe.c
1642
vsig = hw->blk[blk].xlt2.t[vsi];
sys/dev/ice/ice_flex_pipe.c
1715
sizeof(*hw->blk[block_id].xlt1.t);
sys/dev/ice/ice_flex_pipe.c
1716
dst = hw->blk[block_id].xlt1.t;
sys/dev/ice/ice_flex_pipe.c
1718
sizeof(*hw->blk[block_id].xlt1.t);
sys/dev/ice/ice_flex_pipe.c
1728
sizeof(*hw->blk[block_id].xlt2.t);
sys/dev/ice/ice_flex_pipe.c
1729
dst = (u8 *)hw->blk[block_id].xlt2.t;
sys/dev/ice/ice_flex_pipe.c
1731
sizeof(*hw->blk[block_id].xlt2.t);
sys/dev/ice/ice_flex_pipe.c
1741
sizeof(*hw->blk[block_id].prof.t);
sys/dev/ice/ice_flex_pipe.c
1742
dst = (u8 *)hw->blk[block_id].prof.t;
sys/dev/ice/ice_flex_pipe.c
1744
sizeof(*hw->blk[block_id].prof.t);
sys/dev/ice/ice_flex_pipe.c
1754
sizeof(*hw->blk[block_id].prof_redir.t);
sys/dev/ice/ice_flex_pipe.c
1755
dst = hw->blk[block_id].prof_redir.t;
sys/dev/ice/ice_flex_pipe.c
1757
sizeof(*hw->blk[block_id].prof_redir.t);
sys/dev/ice/ice_flex_pipe.c
1768
sizeof(*hw->blk[block_id].es.t);
sys/dev/ice/ice_flex_pipe.c
1769
dst = (u8 *)hw->blk[block_id].es.t;
sys/dev/ice/ice_flex_pipe.c
1772
sizeof(*hw->blk[block_id].es.t);
sys/dev/ice/ice_flex_pipe.c
1854
xlt1->t = (u8 *)ice_calloc(hw, xlt1->count, sizeof(*xlt1->t));
sys/dev/ice/ice_flex_pipe.c
1855
if (!xlt1->t)
sys/dev/ice/ice_flex_pipe.c
1875
xlt2->t = (u16 *)ice_calloc(hw, xlt2->count, sizeof(*xlt2->t));
sys/dev/ice/ice_flex_pipe.c
1876
if (!xlt2->t)
sys/dev/ice/ice_flex_pipe.c
1883
prof->t = (struct ice_prof_tcam_entry *)
sys/dev/ice/ice_flex_pipe.c
1884
ice_calloc(hw, prof->count, sizeof(*prof->t));
sys/dev/ice/ice_flex_pipe.c
1886
if (!prof->t)
sys/dev/ice/ice_flex_pipe.c
1891
prof_redir->t = (u8 *)ice_calloc(hw, prof_redir->count,
sys/dev/ice/ice_flex_pipe.c
1892
sizeof(*prof_redir->t));
sys/dev/ice/ice_flex_pipe.c
1894
if (!prof_redir->t)
sys/dev/ice/ice_flex_pipe.c
1900
es->t = (struct ice_fv_word *)
sys/dev/ice/ice_flex_pipe.c
1902
sizeof(*es->t));
sys/dev/ice/ice_flex_pipe.c
1903
if (!es->t)
sys/dev/ice/ice_flex_pipe.c
2036
ice_free(hw, hw->blk[i].xlt1.t);
sys/dev/ice/ice_flex_pipe.c
2037
ice_free(hw, hw->blk[i].xlt2.t);
sys/dev/ice/ice_flex_pipe.c
2040
ice_free(hw, hw->blk[i].prof.t);
sys/dev/ice/ice_flex_pipe.c
2041
ice_free(hw, hw->blk[i].prof_redir.t);
sys/dev/ice/ice_flex_pipe.c
2042
ice_free(hw, hw->blk[i].es.t);
sys/dev/ice/ice_flex_pipe.c
2088
if (xlt1->t)
sys/dev/ice/ice_flex_pipe.c
2089
ice_memset(xlt1->t, 0, xlt1->count * sizeof(*xlt1->t),
sys/dev/ice/ice_flex_pipe.c
2102
if (xlt2->t)
sys/dev/ice/ice_flex_pipe.c
2103
ice_memset(xlt2->t, 0, xlt2->count * sizeof(*xlt2->t),
sys/dev/ice/ice_flex_pipe.c
2106
if (prof->t)
sys/dev/ice/ice_flex_pipe.c
2107
ice_memset(prof->t, 0, prof->count * sizeof(*prof->t),
sys/dev/ice/ice_flex_pipe.c
2110
if (prof_redir->t)
sys/dev/ice/ice_flex_pipe.c
2111
ice_memset(prof_redir->t, 0,
sys/dev/ice/ice_flex_pipe.c
2112
prof_redir->count * sizeof(*prof_redir->t),
sys/dev/ice/ice_flex_pipe.c
2115
if (es->t)
sys/dev/ice/ice_flex_pipe.c
2116
ice_memset(es->t, 0,
sys/dev/ice/ice_flex_pipe.c
2117
es->count * sizeof(*es->t) * es->fvw,
sys/dev/ice/ice_flex_pipe.c
2213
dc_msk, nm_msk, hw->blk[blk].prof.t[idx].key);
sys/dev/ice/ice_flex_pipe.c
2215
hw->blk[blk].prof.t[idx].addr = CPU_TO_LE16(idx);
sys/dev/ice/ice_flex_pipe.c
2216
hw->blk[blk].prof.t[idx].prof_id = prof_id;
sys/dev/ice/ice_flex_pipe.c
2306
ice_memcpy(p->es, &hw->blk[blk].es.t[off], vec_size,
sys/dev/ice/ice_flex_pipe.c
2346
&hw->blk[blk].prof.t[tmp->tcam_idx].key,
sys/dev/ice/ice_flex_pipe.c
2347
sizeof(hw->blk[blk].prof.t->key),
sys/dev/ice/ice_flex_pipe.c
2766
struct ice_vsig_prof *d, *t;
sys/dev/ice/ice_flex_pipe.c
2769
LIST_FOR_EACH_ENTRY_SAFE(d, t,
sys/dev/ice/ice_flex_pipe.c
2822
struct ice_vsig_prof *p, *t;
sys/dev/ice/ice_flex_pipe.c
2824
LIST_FOR_EACH_ENTRY_SAFE(p, t,
sys/dev/ice/ice_flex_pipe.c
3200
struct ice_vsig_prof *t;
sys/dev/ice/ice_flex_pipe.c
3216
LIST_FOR_EACH_ENTRY(t, &hw->blk[blk].xlt2.vsig_tbl[idx].prop_lst,
sys/dev/ice/ice_flex_pipe.c
3220
for (i = 0; i < t->tcam_count; i++) {
sys/dev/ice/ice_flex_pipe.c
3226
used = ice_is_bit_set(ptgs_used, t->tcam[i].ptg);
sys/dev/ice/ice_flex_pipe.c
3228
if (used && t->tcam[i].in_use) {
sys/dev/ice/ice_flex_pipe.c
3235
&t->tcam[i],
sys/dev/ice/ice_flex_pipe.c
3239
} else if (!used && !t->tcam[i].in_use) {
sys/dev/ice/ice_flex_pipe.c
3245
&t->tcam[i],
sys/dev/ice/ice_flex_pipe.c
3252
ice_set_bit(t->tcam[i].ptg, ptgs_used);
sys/dev/ice/ice_flex_pipe.c
3277
struct ice_vsig_prof *t;
sys/dev/ice/ice_flex_pipe.c
3287
t = (struct ice_vsig_prof *)ice_malloc(hw, sizeof(*t));
sys/dev/ice/ice_flex_pipe.c
3288
if (!t)
sys/dev/ice/ice_flex_pipe.c
3299
t->profile_cookie = map->profile_cookie;
sys/dev/ice/ice_flex_pipe.c
3300
t->prof_id = map->prof_id;
sys/dev/ice/ice_flex_pipe.c
3301
t->tcam_count = map->ptg_cnt;
sys/dev/ice/ice_flex_pipe.c
3321
t->tcam[i].ptg = map->ptg[i];
sys/dev/ice/ice_flex_pipe.c
3322
t->tcam[i].prof_id = map->prof_id;
sys/dev/ice/ice_flex_pipe.c
3323
t->tcam[i].tcam_idx = tcam_idx;
sys/dev/ice/ice_flex_pipe.c
3324
t->tcam[i].in_use = true;
sys/dev/ice/ice_flex_pipe.c
3328
p->prof_id = t->tcam[i].prof_id;
sys/dev/ice/ice_flex_pipe.c
3329
p->ptg = t->tcam[i].ptg;
sys/dev/ice/ice_flex_pipe.c
3331
p->tcam_idx = t->tcam[i].tcam_idx;
sys/dev/ice/ice_flex_pipe.c
3334
status = ice_tcam_write_entry(hw, blk, t->tcam[i].tcam_idx,
sys/dev/ice/ice_flex_pipe.c
3335
t->tcam[i].prof_id,
sys/dev/ice/ice_flex_pipe.c
3336
t->tcam[i].ptg, vsig, 0, 0,
sys/dev/ice/ice_flex_pipe.c
3350
LIST_ADD_TAIL(&t->list,
sys/dev/ice/ice_flex_pipe.c
3353
LIST_ADD(&t->list,
sys/dev/ice/ice_flex_pipe.c
3362
ice_free(hw, t);
sys/dev/ice/ice_flex_pipe.c
3429
struct ice_vsig_prof *t;
sys/dev/ice/ice_flex_pipe.c
3441
LIST_FOR_EACH_ENTRY(t, lst, ice_vsig_prof, list) {
sys/dev/ice/ice_flex_pipe.c
3443
status = ice_add_prof_id_vsig(hw, blk, vsig, t->profile_cookie,
sys/dev/ice/ice_flex_pipe.c
3464
struct ice_vsig_prof *t;
sys/dev/ice/ice_flex_pipe.c
3470
t = (struct ice_vsig_prof *)ice_malloc(hw, sizeof(*t));
sys/dev/ice/ice_flex_pipe.c
3471
if (!t)
sys/dev/ice/ice_flex_pipe.c
3474
t->profile_cookie = hdl;
sys/dev/ice/ice_flex_pipe.c
3475
LIST_ADD(&t->list, &lst);
sys/dev/ice/ice_flex_pipe.c
3479
LIST_DEL(&t->list);
sys/dev/ice/ice_flex_pipe.c
3480
ice_free(hw, t);
sys/dev/ice/ice_flex_pipe.c
714
fv_ext = hw->blk[blk].es.t + (prof * hw->blk[blk].es.fvw);
sys/dev/ice/ice_flex_pipe.c
910
hw->blk[blk].xlt1.t[ptype] = ptg;
sys/dev/ice/ice_flex_type.h
271
struct ice_fv_word *t;
sys/dev/ice/ice_flex_type.h
346
u8 *t;
sys/dev/ice/ice_flex_type.h
370
u16 *t;
sys/dev/ice/ice_flex_type.h
424
struct ice_prof_tcam_entry *t;
sys/dev/ice/ice_flex_type.h
429
u8 *t;
sys/dev/ice/ice_flow.c
1222
enum ice_flow_fld_match_type t = range ?
sys/dev/ice/ice_flow.c
1225
ice_flow_set_fld_ext(seg, fld, t, val_loc, mask_loc, last_loc);
sys/dev/ice/ice_flow.c
1365
struct ice_flow_prof *p, *t;
sys/dev/ice/ice_flow.c
1376
LIST_FOR_EACH_ENTRY_SAFE(p, t, &hw->fl_profs[blk], ice_flow_prof,
sys/dev/ice/ice_osdep.h
197
#define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f))
sys/dev/iicbus/iicbb.c
334
int t = 0;
sys/dev/iicbus/iicbb.c
349
t++;
sys/dev/iicbus/iicbb.c
350
} while(t < sc->udelay);
sys/dev/iicbus/iicbb.c
352
DELAY(sc->udelay - t);
sys/dev/iicbus/iicbus.h
73
#define IICBUS_FDT_PNP_INFO(t) FDTCOMPAT_PNP_INFO(t, iicbus)
sys/dev/iicbus/iicbus.h
75
#define IICBUS_FDT_PNP_INFO(t)
sys/dev/iicbus/iicbus.h
79
#define IICBUS_ACPI_PNP_INFO(t) ACPICOMPAT_PNP_INFO(t, iicbus)
sys/dev/iicbus/iicbus.h
81
#define IICBUS_ACPI_PNP_INFO(t)
sys/dev/iicbus/rtc/ds3231.c
145
int error, neg, t;
sys/dev/iicbus/rtc/ds3231.c
160
t = 0;
sys/dev/iicbus/rtc/ds3231.c
162
t += 250;
sys/dev/iicbus/rtc/ds3231.c
164
t += 500;
sys/dev/iicbus/rtc/ds3231.c
165
t /= 100;
sys/dev/iicbus/rtc/ds3231.c
166
*temp += t;
sys/dev/irdma/irdma_cm.c
1419
irdma_cm_timer_tick(struct timer_list *t)
sys/dev/irdma/irdma_cm.c
1426
struct irdma_cm_core *cm_core = timer_container_of(cm_core, t, tcp_timer);
sys/dev/irdma/irdma_hw.c
469
irdma_aeq_ceq0_tasklet_cb(unsigned long t)
sys/dev/irdma/irdma_hw.c
471
struct irdma_pci_f *rf = from_tasklet(rf, (struct tasklet_struct *)t,
sys/dev/irdma/irdma_hw.c
485
irdma_ceq_tasklet_cb(unsigned long t)
sys/dev/irdma/irdma_hw.c
487
struct irdma_ceq *iwceq = from_tasklet(iwceq, (struct tasklet_struct *)t,
sys/dev/irdma/irdma_utils.c
1602
irdma_hw_stats_timeout(struct timer_list *t)
sys/dev/irdma/irdma_utils.c
1605
timer_container_of(pf_devstat, t, stats_timer);
sys/dev/irdma/irdma_utils.c
949
irdma_terminate_timeout(struct timer_list *t)
sys/dev/irdma/irdma_utils.c
951
struct irdma_qp *iwqp = timer_container_of(iwqp, t, terminate_timer);
sys/dev/isp/isp.c
4286
unsigned int ibits, obits, box, opcode, t, to;
sys/dev/isp/isp.c
4343
for (t = 0; t < to; t += 100) {
sys/dev/iwm/if_iwm.c
173
#define mtodoff(m, t, off) ((t)((m)->m_data + (off)))
sys/dev/iwm/if_iwm_pcie_trans.c
401
int t = 0;
sys/dev/iwm/if_iwm_pcie_trans.c
419
t += 200;
sys/dev/iwm/if_iwm_pcie_trans.c
420
} while (t < 150000);
sys/dev/iwx/if_iwx.c
2452
int t = 0;
sys/dev/iwx/if_iwx.c
2471
t += 200;
sys/dev/iwx/if_iwx.c
2472
} while (t < 150000);
sys/dev/ixgbe/if_ixv.c
1505
int t = na->num_rx_desc - 1 - nm_kr_rxspace(kring);
sys/dev/ixgbe/if_ixv.c
1507
IXGBE_WRITE_REG(hw, IXGBE_VFRDT(rxr->me), t);
sys/dev/lge/if_lge.c
425
const struct lge_type *t;
sys/dev/lge/if_lge.c
427
t = lge_devs;
sys/dev/lge/if_lge.c
429
while(t->lge_name != NULL) {
sys/dev/lge/if_lge.c
430
if ((pci_get_vendor(dev) == t->lge_vid) &&
sys/dev/lge/if_lge.c
431
(pci_get_device(dev) == t->lge_did)) {
sys/dev/lge/if_lge.c
432
device_set_desc(dev, t->lge_name);
sys/dev/lge/if_lge.c
435
t++;
sys/dev/liquidio/base/lio_mem_ops.c
272
__be32 t = htobe32(val);
sys/dev/liquidio/base/lio_mem_ops.c
274
lio_pci_rw_core_mem(oct, coreaddr, (uint8_t *)&t, 4, 0);
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
588
dma_addr_t t;
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
595
size, &t, gfp);
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
599
buf->direct.map = t;
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
601
while (t & ((1 << buf->page_shift) - 1)) {
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
623
&t, gfp);
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
627
buf->page_list[i].map = t;
sys/dev/mlx4/mlx4_core/mlx4_eq.c
1000
eq->page_list[i].map = t;
sys/dev/mlx4/mlx4_core/mlx4_eq.c
962
dma_addr_t t;
sys/dev/mlx4/mlx4_core/mlx4_eq.c
994
PAGE_SIZE, &t,
sys/dev/mlx4/mlx4_core/mlx4_eq.c
999
dma_list[i] = t;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
484
int t;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
494
for (t = 0; t < MLX4_NUM_OF_RESOURCE_TYPE; ++t)
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
496
slave_list[i].res_list[t]);
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
530
for (t = 0; t < dev->persist->num_vfs + 1; t++) {
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
532
mlx4_get_active_ports(dev, t);
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
536
t, dev->caps.num_qps -
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
542
t, dev->caps.num_cqs -
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
547
t, dev->caps.num_srqs -
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
552
t, dev->caps.num_mpts -
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
557
t, dev->caps.num_mtts -
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
561
if (t == mlx4_master_func_num(dev)) {
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
576
res_alloc->quota[t] =
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
579
res_alloc->guaranteed[t] = 2;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
584
res_alloc->quota[t] = MLX4_MAX_MAC_NUM;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
585
res_alloc->guaranteed[t] = 2;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
589
if (t == mlx4_master_func_num(dev)) {
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
590
res_alloc->quota[t] = MLX4_MAX_VLAN_NUM;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
591
res_alloc->guaranteed[t] = MLX4_MAX_VLAN_NUM / 2;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
594
res_alloc->quota[t];
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
596
res_alloc->quota[t] = MLX4_MAX_VLAN_NUM / 2;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
597
res_alloc->guaranteed[t] = 0;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
601
res_alloc->quota[t] = dev->caps.max_counters;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
602
if (t == mlx4_master_func_num(dev))
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
603
res_alloc->guaranteed[t] =
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
606
else if (t <= max_vfs_guarantee_counter)
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
607
res_alloc->guaranteed[t] =
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
611
res_alloc->guaranteed[t] = 0;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
612
res_alloc->res_free -= res_alloc->guaranteed[t];
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
621
res_alloc->guaranteed[t];
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
623
res_alloc->res_reserved += res_alloc->guaranteed[t];
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2845
u32 *t = dseg;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2848
t[1] = 0;
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
712
struct kobject *p, *t;
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
749
list_for_each_entry_safe(p, t,
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
787
struct kobject *p, *t;
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
794
list_for_each_entry_safe(p, t,
sys/dev/mlx5/diagnostics.h
29
#define MLX5_CORE_DIAGNOSTICS_NUM(n, s, t) n
sys/dev/mlx5/diagnostics.h
30
#define MLX5_CORE_DIAGNOSTICS_STRUCT(n, s, t) s,
sys/dev/mlx5/diagnostics.h
31
#define MLX5_CORE_DIAGNOSTICS_ENTRY(n, s, t) { #s, (t) },
sys/dev/mlx5/mlx5_accel/mlx5_ipsec_fs.c
1803
dest[0].ft = priv->fts.vlan.t;
sys/dev/mlx5/mlx5_accel/mlx5_ipsec_fs.c
2144
dest.ft = priv->fts.vlan.t;
sys/dev/mlx5/mlx5_core/mlx5_fs_tcp.c
164
flow = mlx5_add_flow_rules(ft->t, spec, &flow_act, &dest, 1);
sys/dev/mlx5/mlx5_core/mlx5_fs_tcp.c
195
((priv->fts.ipsec_ft) ? priv->fts.ipsec_ft : priv->fts.vlan.t) :
sys/dev/mlx5/mlx5_core/mlx5_fs_tcp.c
196
fs_tcp->tables[type + 1].t;
sys/dev/mlx5/mlx5_core/mlx5_fs_tcp.c
198
rule = mlx5_add_flow_rules(fs_tcp->tables[type].t, &spec, &flow_act,
sys/dev/mlx5/mlx5_core/mlx5_fs_tcp.c
272
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_core/mlx5_fs_tcp.c
282
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_core/mlx5_fs_tcp.c
322
ft->t = mlx5_create_flow_table(priv->fts.accel_tcp.ns, &ft_attr);
sys/dev/mlx5/mlx5_core/mlx5_fs_tcp.c
323
if (IS_ERR(ft->t)) {
sys/dev/mlx5/mlx5_core/mlx5_fs_tcp.c
324
err = PTR_ERR(ft->t);
sys/dev/mlx5/mlx5_core/mlx5_fs_tcp.c
325
ft->t = NULL;
sys/dev/mlx5/mlx5_core/mlx5_fs_tcp.c
336
mlx5_destroy_flow_table(ft->t);
sys/dev/mlx5/mlx5_core/mlx5_fs_tcp.c
337
ft->t = NULL;
sys/dev/mlx5/mlx5_core/mlx5_fs_tcp.c
353
mlx5_destroy_flow_table(ft->t);
sys/dev/mlx5/mlx5_core/mlx5_fs_tcp.c
354
ft->t = NULL;
sys/dev/mlx5/mlx5_en/en.h
1018
struct mlx5_flow_table *t;
sys/dev/mlx5/mlx5_en/en.h
386
#define MLX5E_PPORT_PER_PRIO_STATS_PREFIX(m,p,c,t,f,s,d) \
sys/dev/mlx5/mlx5_en/en.h
387
m(c, t, pri_##p##_##f, "prio" #p "_" s, "Priority " #p " - " d)
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1233
mlx5_destroy_flow_table(ft->t);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1234
ft->t = NULL;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1281
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1294
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1305
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1314
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1327
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1339
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1350
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1363
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1375
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1386
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1436
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1447
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1456
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1503
ft->t = mlx5_create_flow_table(priv->fts.ns, &ft_attr);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1505
if (IS_ERR(ft->t)) {
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1506
err = PTR_ERR(ft->t);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1507
ft->t = NULL;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1526
mlx5_destroy_flow_table(ft->t);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1527
ft->t = NULL;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1566
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1577
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1588
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1630
ft->t = mlx5_create_flow_table(priv->fts.ns, &ft_attr);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1632
if (IS_ERR(ft->t)) {
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1633
err = PTR_ERR(ft->t);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1634
ft->t = NULL;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1653
mlx5_destroy_flow_table(ft->t);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1654
ft->t = NULL;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1669
struct mlx5_flow_table *ft = priv->fts.vxlan.t;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1686
dest.ft = priv->fts.main_vxlan.t;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1806
struct mlx5_flow_table *ft = priv->fts.vxlan.t;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1818
dest.ft = priv->fts.main.t;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1967
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
1976
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
2018
ft->t = mlx5_create_flow_table(priv->fts.ns, &ft_attr);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
2020
if (IS_ERR(ft->t)) {
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
2021
err = PTR_ERR(ft->t);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
2022
ft->t = NULL;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
2042
mlx5_destroy_flow_table(ft->t);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
2043
ft->t = NULL;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
2072
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
2083
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
2092
ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
2134
ft->t = mlx5_create_flow_table(priv->fts.ns, &ft_attr);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
2136
if (IS_ERR(ft->t)) {
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
2137
err = PTR_ERR(ft->t);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
2138
ft->t = NULL;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
2158
mlx5_destroy_flow_table(ft->t);
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
2159
ft->t = NULL;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
257
struct mlx5_flow_table *ft = priv->fts.main.t;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
474
struct mlx5_flow_table *ft = priv->fts.main_vxlan.t;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
668
struct mlx5_flow_table *ft = priv->fts.vlan.t;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
684
dest.ft = priv->fts.vxlan.t;
sys/dev/mlx5/mlx5_fpga/mlx5fpga_sdk.c
110
xfer.t.data = buf;
sys/dev/mlx5/mlx5_fpga/mlx5fpga_sdk.c
111
xfer.t.size = size;
sys/dev/mlx5/mlx5_fpga/mlx5fpga_sdk.c
112
xfer.t.addr = addr;
sys/dev/mlx5/mlx5_fpga/mlx5fpga_sdk.c
113
xfer.t.conn = fdev->shell_conn;
sys/dev/mlx5/mlx5_fpga/mlx5fpga_sdk.c
114
xfer.t.direction = direction;
sys/dev/mlx5/mlx5_fpga/mlx5fpga_sdk.c
115
xfer.t.complete1 = mem_complete;
sys/dev/mlx5/mlx5_fpga/mlx5fpga_sdk.c
117
ret = mlx5_fpga_xfer_exec(&xfer.t);
sys/dev/mlx5/mlx5_fpga/mlx5fpga_sdk.c
47
struct mlx5_fpga_transaction t;
sys/dev/mlx5/mlx5_fpga/mlx5fpga_sdk.c
94
xfer = container_of(complete, struct mem_transfer, t);
sys/dev/mlx5/mlx5_ib/mlx5_ib_cong.c
419
#define MLX5_GET_UNALIGNED_64(t,p,f) \
sys/dev/mlx5/mlx5_ib/mlx5_ib_cong.c
420
(((u64)MLX5_GET(t,p,f##_high) << 32) | MLX5_GET(t,p,f##_low))
sys/dev/mpi3mr/mpi3mr_pci.c
267
bus_dma_template_t t;
sys/dev/mpi3mr/mpi3mr_pci.c
300
bus_dma_template_init(&t, bus_get_dma_tag(dev));
sys/dev/mpi3mr/mpi3mr_pci.c
301
if (bus_dma_template_tag(&t, &sc->mpi3mr_parent_dmat)) {
sys/dev/mpr/mpr.c
1363
bus_dma_template_t t;
sys/dev/mpr/mpr.c
1385
bus_dma_template_init(&t, sc->mpr_parent_dmat);
sys/dev/mpr/mpr.c
1386
BUS_DMA_TEMPLATE_FILL(&t, BD_ALIGNMENT(16), BD_MAXSIZE(qsize),
sys/dev/mpr/mpr.c
1389
if (bus_dma_template_tag(&t, &sc->queues_dmat)) {
sys/dev/mpr/mpr.c
1417
bus_dma_template_t t;
sys/dev/mpr/mpr.c
1431
bus_dma_template_init(&t, sc->mpr_parent_dmat);
sys/dev/mpr/mpr.c
1432
BUS_DMA_TEMPLATE_FILL(&t, BD_ALIGNMENT(4), BD_MAXSIZE(rsize),
sys/dev/mpr/mpr.c
1435
if (bus_dma_template_tag(&t, &sc->reply_dmat)) {
sys/dev/mpr/mpr.c
1482
bus_dma_template_t t;
sys/dev/mpr/mpr.c
1487
bus_dma_template_init(&t, sc->mpr_parent_dmat);
sys/dev/mpr/mpr.c
1488
BUS_DMA_TEMPLATE_FILL(&t, BD_ALIGNMENT(16), BD_MAXSIZE(rsize),
sys/dev/mpr/mpr.c
1491
if (bus_dma_template_tag(&t, &sc->req_dmat)) {
sys/dev/mpr/mpr.c
1513
bus_dma_template_init(&t, sc->mpr_parent_dmat);
sys/dev/mpr/mpr.c
1514
BUS_DMA_TEMPLATE_FILL(&t, BD_ALIGNMENT(16), BD_MAXSIZE(rsize),
sys/dev/mpr/mpr.c
1517
if (bus_dma_template_tag(&t, &sc->chain_dmat)) {
sys/dev/mpr/mpr.c
1535
bus_dma_template_clone(&t, sc->req_dmat);
sys/dev/mpr/mpr.c
1536
BUS_DMA_TEMPLATE_FILL(&t, BD_ALIGNMENT(1), BD_MAXSIZE(rsize),
sys/dev/mpr/mpr.c
1538
if (bus_dma_template_tag(&t, &sc->sense_dmat)) {
sys/dev/mpr/mpr.c
1564
bus_dma_template_init(&t, sc->mpr_parent_dmat);
sys/dev/mpr/mpr.c
1565
BUS_DMA_TEMPLATE_FILL(&t, BD_MAXSIZE(BUS_SPACE_MAXSIZE_32BIT),
sys/dev/mpr/mpr.c
1570
if (bus_dma_template_tag(&t, &sc->buffer_dmat)) {
sys/dev/mpr/mpr.c
1623
bus_dma_template_t t;
sys/dev/mpr/mpr.c
1653
bus_dma_template_init(&t, sc->mpr_parent_dmat);
sys/dev/mpr/mpr.c
1654
BUS_DMA_TEMPLATE_FILL(&t, BD_ALIGNMENT(4), BD_MAXSIZE(rsize),
sys/dev/mpr/mpr.c
1657
if (bus_dma_template_tag(&t, &sc->prp_page_dmat)) {
sys/dev/mpr/mpr_pci.c
217
bus_dma_template_t t;
sys/dev/mpr/mpr_pci.c
265
bus_dma_template_init(&t, bus_get_dma_tag(dev));
sys/dev/mpr/mpr_pci.c
266
if (bus_dma_template_tag(&t, &sc->mpr_parent_dmat)) {
sys/dev/mpr/mpr_user.c
1455
bus_dma_template_t t;
sys/dev/mpr/mpr_user.c
1518
bus_dma_template_init(&t, sc->mpr_parent_dmat);
sys/dev/mpr/mpr_user.c
1519
BUS_DMA_TEMPLATE_FILL(&t, BD_LOWADDR(BUS_SPACE_MAXADDR_32BIT),
sys/dev/mpr/mpr_user.c
1522
if (bus_dma_template_tag(&t, &sc->fw_diag_dmat)) {
sys/dev/mps/mps.c
1299
bus_dma_template_t t;
sys/dev/mps/mps.c
1321
bus_dma_template_init(&t, sc->mps_parent_dmat);
sys/dev/mps/mps.c
1322
BUS_DMA_TEMPLATE_FILL(&t, BD_ALIGNMENT(16), BD_MAXSIZE(qsize),
sys/dev/mps/mps.c
1325
if (bus_dma_template_tag(&t, &sc->queues_dmat)) {
sys/dev/mps/mps.c
1353
bus_dma_template_t t;
sys/dev/mps/mps.c
1367
bus_dma_template_init(&t, sc->mps_parent_dmat);
sys/dev/mps/mps.c
1368
BUS_DMA_TEMPLATE_FILL(&t, BD_ALIGNMENT(4), BD_MAXSIZE(rsize),
sys/dev/mps/mps.c
1371
if (bus_dma_template_tag(&t, &sc->reply_dmat)) {
sys/dev/mps/mps.c
1422
bus_dma_template_t t;
sys/dev/mps/mps.c
1427
bus_dma_template_init(&t, sc->mps_parent_dmat);
sys/dev/mps/mps.c
1428
BUS_DMA_TEMPLATE_FILL(&t, BD_ALIGNMENT(16), BD_MAXSIZE(rsize),
sys/dev/mps/mps.c
1431
if (bus_dma_template_tag(&t, &sc->req_dmat)) {
sys/dev/mps/mps.c
1453
bus_dma_template_clone(&t, sc->req_dmat);
sys/dev/mps/mps.c
1454
BUS_DMA_TEMPLATE_FILL(&t, BD_MAXSIZE(rsize), BD_MAXSEGSIZE(rsize),
sys/dev/mps/mps.c
1457
if (bus_dma_template_tag(&t, &sc->chain_dmat)) {
sys/dev/mps/mps.c
1475
bus_dma_template_clone(&t, sc->req_dmat);
sys/dev/mps/mps.c
1476
BUS_DMA_TEMPLATE_FILL(&t, BD_ALIGNMENT(1), BD_MAXSIZE(rsize),
sys/dev/mps/mps.c
1478
if (bus_dma_template_tag(&t, &sc->sense_dmat)) {
sys/dev/mps/mps.c
1494
bus_dma_template_init(&t, sc->mps_parent_dmat);
sys/dev/mps/mps.c
1495
BUS_DMA_TEMPLATE_FILL(&t, BD_MAXSIZE(BUS_SPACE_MAXSIZE_32BIT),
sys/dev/mps/mps.c
1500
if (bus_dma_template_tag(&t, &sc->buffer_dmat)) {
sys/dev/mps/mps_pci.c
184
bus_dma_template_t t;
sys/dev/mps/mps_pci.c
211
bus_dma_template_init(&t, bus_get_dma_tag(dev));
sys/dev/mps/mps_pci.c
212
if (bus_dma_template_tag(&t, &sc->mps_parent_dmat)) {
sys/dev/mps/mps_user.c
1344
bus_dma_template_t t;
sys/dev/mps/mps_user.c
1407
bus_dma_template_init(&t, sc->mps_parent_dmat);
sys/dev/mps/mps_user.c
1408
BUS_DMA_TEMPLATE_FILL(&t, BD_NSEGMENTS(1), BD_MAXSIZE(buffer_size),
sys/dev/mps/mps_user.c
1410
if (bus_dma_template_tag(&t, &sc->fw_diag_dmat)) {
sys/dev/mpt/mpilib/mpi_targ.h
598
#define SET_IO_INDEX(t, i) \
sys/dev/mpt/mpilib/mpi_targ.h
599
((t) = ((t) & ~TARGET_MODE_REPLY_IO_INDEX_MASK) | \
sys/dev/mpt/mpilib/mpi_targ.h
606
#define SET_INITIATOR_INDEX(t, ii) \
sys/dev/mpt/mpilib/mpi_targ.h
607
((t) = ((t) & ~TARGET_MODE_REPLY_INITIATOR_INDEX_MASK) | \
sys/dev/mpt/mpilib/mpi_targ.h
614
#define SET_ALIAS(t, a) ((t) = ((t) & ~TARGET_MODE_REPLY_ALIAS_MASK) | \
sys/dev/mpt/mpilib/mpi_targ.h
621
#define SET_PORT(t, p) ((t) = ((t) & ~TARGET_MODE_REPLY_PORT_MASK) | \
sys/dev/mpt/mpilib/mpi_targ.h
638
#define SET_HOST_INDEX_0100(t, hi) \
sys/dev/mpt/mpilib/mpi_targ.h
639
((t) = ((t) & ~TARGET_MODE_REPLY_0100_MASK_HOST_INDEX) | \
sys/dev/mpt/mpilib/mpi_targ.h
646
#define SET_IOC_INDEX_0100(t, ii) \
sys/dev/mpt/mpilib/mpi_targ.h
647
((t) = ((t) & ~TARGET_MODE_REPLY_0100_MASK_IOC_INDEX) | \
sys/dev/mpt/mpilib/mpi_targ.h
655
#define SET_INITIATOR_INDEX_0100(t, ii) \
sys/dev/mpt/mpilib/mpi_targ.h
656
((t) = ((t) & ~TARGET_MODE_REPLY_0100_MASK_INITIATOR_INDEX) | \
sys/dev/mpt/mpt.h
1102
int mpt_read_cfg_page(struct mpt_softc *t, int /*Action*/,
sys/dev/mthca/mthca_allocator.c
202
dma_addr_t t;
sys/dev/mthca/mthca_allocator.c
211
size, &t, GFP_KERNEL);
sys/dev/mthca/mthca_allocator.c
215
dma_unmap_addr_set(&buf->direct, mapping, t);
sys/dev/mthca/mthca_allocator.c
219
while (t & ((1 << shift) - 1)) {
sys/dev/mthca/mthca_allocator.c
230
dma_list[i] = t + i * (1 << shift);
sys/dev/mthca/mthca_allocator.c
253
&t, GFP_KERNEL);
sys/dev/mthca/mthca_allocator.c
257
dma_list[i] = t;
sys/dev/mthca/mthca_allocator.c
258
dma_unmap_addr_set(&buf->page_list[i], mapping, t);
sys/dev/mthca/mthca_eq.c
472
dma_addr_t t;
sys/dev/mthca/mthca_eq.c
501
PAGE_SIZE, &t, GFP_KERNEL);
sys/dev/mthca/mthca_eq.c
505
dma_list[i] = t;
sys/dev/mthca/mthca_eq.c
506
dma_unmap_addr_set(&eq->page_list[i], mapping, t);
sys/dev/mvs/mvs.c
1930
mvs_wait(device_t dev, u_int s, u_int c, int t)
sys/dev/mvs/mvs.c
1936
if (timeout >= t) {
sys/dev/mvs/mvs.c
1937
if (t != 0)
sys/dev/mvs/mvs.c
1969
int t;
sys/dev/mvs/mvs.c
1974
if ((t = mvs_wait(dev, 0, ATA_S_BUSY | ATA_S_DRQ, 0)) >= 0) {
sys/dev/mvs/mvs.c
75
static int mvs_wait(device_t dev, u_int s, u_int c, int t);
sys/dev/my/if_my.c
769
struct my_type *t;
sys/dev/my/if_my.c
771
t = my_devs;
sys/dev/my/if_my.c
772
while (t->my_name != NULL) {
sys/dev/my/if_my.c
773
if ((pci_get_vendor(dev) == t->my_vid) &&
sys/dev/my/if_my.c
774
(pci_get_device(dev) == t->my_did)) {
sys/dev/my/if_my.c
775
device_set_desc(dev, t->my_name);
sys/dev/my/if_my.c
776
my_info_tmp = t;
sys/dev/my/if_my.c
779
t++;
sys/dev/neta/if_mvneta.c
2674
struct mvneta_tx_desc *t;
sys/dev/neta/if_mvneta.c
2682
t = NULL;
sys/dev/neta/if_mvneta.c
2750
t = &tx->desc[tx->cpu];
sys/dev/neta/if_mvneta.c
2751
t->command = 0;
sys/dev/neta/if_mvneta.c
2752
t->l4ichk = 0;
sys/dev/neta/if_mvneta.c
2753
t->flags = 0;
sys/dev/neta/if_mvneta.c
2756
t->command |= MVNETA_TX_CMD_W_PACKET_OFFSET(0);
sys/dev/neta/if_mvneta.c
2757
t->command |= MVNETA_TX_CMD_F;
sys/dev/neta/if_mvneta.c
2758
mvneta_tx_set_csumflag(ifp, t, mbuf);
sys/dev/neta/if_mvneta.c
2760
t->bufptr_pa = txsegs[i].ds_addr;
sys/dev/neta/if_mvneta.c
2761
t->bytecnt = txsegs[i].ds_len;
sys/dev/neta/if_mvneta.c
2768
DASSERT(t != NULL);
sys/dev/neta/if_mvneta.c
2769
t->command |= MVNETA_TX_CMD_L|MVNETA_TX_CMD_PADDING;
sys/dev/neta/if_mvneta.c
2788
struct mvneta_tx_desc *t, struct mbuf *m)
sys/dev/neta/if_mvneta.c
2817
t->command |= MVNETA_TX_CMD_L3_IP4;
sys/dev/neta/if_mvneta.c
2819
t->command |= MVNETA_TX_CMD_L4_CHECKSUM_NONE;
sys/dev/neta/if_mvneta.c
2826
t->command |= MVNETA_TX_CMD_IP4_CHECKSUM;
sys/dev/neta/if_mvneta.c
2831
t->command |= MVNETA_TX_CMD_L4_CHECKSUM_NOFRAG;
sys/dev/neta/if_mvneta.c
2832
t->command |= MVNETA_TX_CMD_L4_TCP;
sys/dev/neta/if_mvneta.c
2834
t->command |= MVNETA_TX_CMD_L4_CHECKSUM_NOFRAG;
sys/dev/neta/if_mvneta.c
2835
t->command |= MVNETA_TX_CMD_L4_UDP;
sys/dev/neta/if_mvneta.c
2837
t->command |= MVNETA_TX_CMD_L4_CHECKSUM_NONE;
sys/dev/neta/if_mvneta.c
2839
t->l4ichk = 0;
sys/dev/neta/if_mvneta.c
2840
t->command |= MVNETA_TX_CMD_IP_HEADER_LEN(iphl >> 2);
sys/dev/neta/if_mvneta.c
2841
t->command |= MVNETA_TX_CMD_L3_OFFSET(ipoff);
sys/dev/neta/if_mvneta.c
2849
struct mvneta_tx_desc *t __diagused;
sys/dev/neta/if_mvneta.c
2880
t = &tx->desc[tx->dma];
sys/dev/neta/if_mvneta.c
2882
if (t->flags & MVNETA_TX_F_ES)
sys/dev/neta/if_mvneta.c
2888
DASSERT((t->command & MVNETA_TX_CMD_F) != 0);
sys/dev/neta/if_mvneta.c
2894
DASSERT((t->flags & MVNETA_TX_CMD_F) == 0);
sys/dev/neta/if_mvnetareg.h
734
#define MVNETA_PRXITTH_RITT(t) ((t) & 0xffffff)
sys/dev/netmap/if_ptnet.c
1135
nm_prdis("%d,%d: csb {hc %u h %u c %u ht %u}", t, i,
sys/dev/netmap/if_ptnet.c
1139
t, i, kring->nr_hwcur, kring->rhead, kring->rcur,
sys/dev/netmap/netmap.c
1013
enum txrx t;
sys/dev/netmap/netmap.c
1017
for_rx_tx(t) {
sys/dev/netmap/netmap.c
1018
for (i = nma_get_nrings(na, t);
sys/dev/netmap/netmap.c
1019
i < netmap_real_rings(na, t); i++) {
sys/dev/netmap/netmap.c
1020
kring = NMR(na, t)[i];
sys/dev/netmap/netmap.c
1682
#define NM_FAIL_ON(t) do { \
sys/dev/netmap/netmap.c
1683
if (unlikely(t)) { \
sys/dev/netmap/netmap.c
1684
nm_prlim(5, "%s: fail '" #t "' " \
sys/dev/netmap/netmap.c
1893
enum txrx t;
sys/dev/netmap/netmap.c
1898
for_rx_tx(t) {
sys/dev/netmap/netmap.c
1899
if (nr_flags & excluded_direction[t]) {
sys/dev/netmap/netmap.c
1900
priv->np_qfirst[t] = priv->np_qlast[t] = 0;
sys/dev/netmap/netmap.c
1906
priv->np_qfirst[t] = 0;
sys/dev/netmap/netmap.c
1907
priv->np_qlast[t] = nma_get_nrings(na, t);
sys/dev/netmap/netmap.c
1908
nm_prdis("ALL/PIPE: %s %d %d", nm_txrx2str(t),
sys/dev/netmap/netmap.c
1909
priv->np_qfirst[t], priv->np_qlast[t]);
sys/dev/netmap/netmap.c
1917
priv->np_qfirst[t] = (nr_mode == NR_REG_SW ?
sys/dev/netmap/netmap.c
1918
nma_get_nrings(na, t) : 0);
sys/dev/netmap/netmap.c
1919
priv->np_qlast[t] = netmap_all_rings(na, t);
sys/dev/netmap/netmap.c
1921
nm_txrx2str(t),
sys/dev/netmap/netmap.c
1922
priv->np_qfirst[t], priv->np_qlast[t]);
sys/dev/netmap/netmap.c
1932
if (j >= nma_get_nrings(na, t))
sys/dev/netmap/netmap.c
1934
priv->np_qfirst[t] = j;
sys/dev/netmap/netmap.c
1935
priv->np_qlast[t] = j + 1;
sys/dev/netmap/netmap.c
1936
nm_prdis("ONE_NIC: %s %d %d", nm_txrx2str(t),
sys/dev/netmap/netmap.c
1937
priv->np_qfirst[t], priv->np_qlast[t]);
sys/dev/netmap/netmap.c
1951
if (j >= nma_get_host_nrings(na, t))
sys/dev/netmap/netmap.c
1953
priv->np_qfirst[t] = nma_get_nrings(na, t) + j;
sys/dev/netmap/netmap.c
1954
priv->np_qlast[t] = nma_get_nrings(na, t) + j + 1;
sys/dev/netmap/netmap.c
1955
nm_prdis("ONE_SW: %s %d %d", nm_txrx2str(t),
sys/dev/netmap/netmap.c
1956
priv->np_qfirst[t], priv->np_qlast[t]);
sys/dev/netmap/netmap.c
1995
enum txrx t;
sys/dev/netmap/netmap.c
2009
for_rx_tx(t) {
sys/dev/netmap/netmap.c
2010
if (nm_si_user(priv, t))
sys/dev/netmap/netmap.c
2011
na->si_users[t]++;
sys/dev/netmap/netmap.c
2020
enum txrx t;
sys/dev/netmap/netmap.c
2022
for_rx_tx(t) {
sys/dev/netmap/netmap.c
2023
if (nm_si_user(priv, t))
sys/dev/netmap/netmap.c
2024
na->si_users[t]--;
sys/dev/netmap/netmap.c
2025
priv->np_qfirst[t] = priv->np_qlast[t] = 0;
sys/dev/netmap/netmap.c
2040
(t == NR_TX && within_sel((p_), (t_), (i_)))) && \
sys/dev/netmap/netmap.c
2057
enum txrx t;
sys/dev/netmap/netmap.c
2071
foreach_selected_ring(priv, t, i, kring) {
sys/dev/netmap/netmap.c
2083
foreach_selected_ring(priv, t, i, kring) {
sys/dev/netmap/netmap.c
2103
enum txrx t;
sys/dev/netmap/netmap.c
2112
foreach_selected_ring(priv, t, i, kring) {
sys/dev/netmap/netmap.c
2136
enum txrx t;
sys/dev/netmap/netmap.c
2148
for_rx_tx(t) {
sys/dev/netmap/netmap.c
2149
num_rings[t] = priv->np_qlast[t] - priv->np_qfirst[t];
sys/dev/netmap/netmap.c
2150
tot_rings += num_rings[t];
sys/dev/netmap/netmap.c
2201
for_rx_tx(t) {
sys/dev/netmap/netmap.c
2202
for (i = 0; i < num_rings[t]; i++) {
sys/dev/netmap/netmap.c
2204
NMR(priv->np_na, t)[i + priv->np_qfirst[t]];
sys/dev/netmap/netmap.c
2208
if (t == NR_RX) {
sys/dev/netmap/netmap.c
2289
enum txrx t;
sys/dev/netmap/netmap.c
2352
foreach_selected_ring(priv, t, i, kring) {
sys/dev/netmap/netmap.c
2353
struct netmap_kring *kring = NMR(na, t)[i];
sys/dev/netmap/netmap.c
2416
enum txrx t;
sys/dev/netmap/netmap.c
2424
foreach_selected_ring(priv, t, i, kring) {
sys/dev/netmap/netmap.c
2466
if (mtu && t == NR_RX && kring->hwbuf_len < mtu) {
sys/dev/netmap/netmap.c
2751
enum txrx t;
sys/dev/netmap/netmap.c
2873
for_rx_tx(t) {
sys/dev/netmap/netmap.c
2874
priv->np_si[t] = nm_si_user(priv, t) ?
sys/dev/netmap/netmap.c
2875
&na->si[t] : &NMR(na, t)[priv->np_qfirst[t]]->si;
sys/dev/netmap/netmap.c
3179
t = (cmd == NIOCTXSYNC ? NR_TX : NR_RX);
sys/dev/netmap/netmap.c
3180
krings = NMR(na, t);
sys/dev/netmap/netmap.c
3181
qfirst = priv->np_qfirst[t];
sys/dev/netmap/netmap.c
3182
qlast = priv->np_qlast[t];
sys/dev/netmap/netmap.c
3728
const enum txrx t = NR_TX;
sys/dev/netmap/netmap.c
3729
for (i = priv->np_qfirst[t]; i < priv->np_qlast[t]; i++) {
sys/dev/netmap/netmap.c
3730
kring = NMR(na, t)[i];
sys/dev/netmap/netmap.c
3734
revents |= want[t];
sys/dev/netmap/netmap.c
3735
want[t] = 0;
sys/dev/netmap/netmap.c
3741
const enum txrx t = NR_RX;
sys/dev/netmap/netmap.c
3744
for (i = priv->np_qfirst[t]; i < priv->np_qlast[t]; i++) {
sys/dev/netmap/netmap.c
3745
kring = NMR(na, t)[i];
sys/dev/netmap/netmap.c
3922
enum txrx t;
sys/dev/netmap/netmap.c
3925
for_rx_tx(t) {
sys/dev/netmap/netmap.c
3926
for (i = 0; i < nma_get_nrings(na, t); i++) {
sys/dev/netmap/netmap.c
3927
struct netmap_kring *kring = NMR(na, t)[i];
sys/dev/netmap/netmap.c
3964
enum txrx t = kring->tx;
sys/dev/netmap/netmap.c
3971
if (na->si_users[t] > 0)
sys/dev/netmap/netmap.c
3972
nm_os_selwakeup(&na->si[t]);
sys/dev/netmap/netmap.c
4458
enum txrx t = (work_done ? NR_RX : NR_TX);
sys/dev/netmap/netmap.c
4466
if (q >= nma_get_nrings(na, t))
sys/dev/netmap/netmap.c
4469
kring = NMR(na, t)[q];
sys/dev/netmap/netmap.c
4475
if (t == NR_RX) {
sys/dev/netmap/netmap.c
4559
enum txrx t;
sys/dev/netmap/netmap.c
4561
for_rx_tx(t) {
sys/dev/netmap/netmap.c
4564
for (i = 0; i < netmap_real_rings(na, t); i++) {
sys/dev/netmap/netmap.c
4565
struct netmap_kring *kring = NMR(na, t)[i];
sys/dev/netmap/netmap.c
602
netmap_set_ring(struct netmap_adapter *na, u_int ring_id, enum txrx t, int stopped)
sys/dev/netmap/netmap.c
605
netmap_disable_ring(NMR(na, t)[ring_id], stopped);
sys/dev/netmap/netmap.c
607
NMR(na, t)[ring_id]->nkr_stopped = 0;
sys/dev/netmap/netmap.c
616
enum txrx t;
sys/dev/netmap/netmap.c
625
for_rx_tx(t) {
sys/dev/netmap/netmap.c
626
for (i = 0; i < netmap_real_rings(na, t); i++) {
sys/dev/netmap/netmap.c
627
netmap_set_ring(na, i, t, stopped);
sys/dev/netmap/netmap.c
850
enum txrx t;
sys/dev/netmap/netmap.c
886
for_rx_tx(t) {
sys/dev/netmap/netmap.c
887
ndesc = nma_get_ndesc(na, t);
sys/dev/netmap/netmap.c
888
for (i = 0; i < n[t]; i++) {
sys/dev/netmap/netmap.c
889
kring = NMR(na, t)[i];
sys/dev/netmap/netmap.c
893
kring->tx = t;
sys/dev/netmap/netmap.c
897
if (i < nma_get_nrings(na, t)) {
sys/dev/netmap/netmap.c
898
kring->nm_sync = (t == NR_TX ? na->nm_txsync : na->nm_rxsync);
sys/dev/netmap/netmap.c
905
kring->nm_sync = (t == NR_TX ?
sys/dev/netmap/netmap.c
915
kring->rtail = kring->nr_hwtail = (t == NR_TX ? ndesc - 1 : 0);
sys/dev/netmap/netmap.c
917
nm_txrx2str(t), i);
sys/dev/netmap/netmap.c
925
mtx_init(&kring->q_lock, (t == NR_TX ? "nm_txq_lock" : "nm_rxq_lock"), NULL, MTX_DEF);
sys/dev/netmap/netmap.c
928
err = nm_os_selinfo_init(&na->si[t], na->name);
sys/dev/netmap/netmap.c
945
enum txrx t;
sys/dev/netmap/netmap.c
953
for_rx_tx(t)
sys/dev/netmap/netmap.c
954
nm_os_selinfo_uninit(&na->si[t]);
sys/dev/netmap/netmap_bdg.c
1316
enum txrx t;
sys/dev/netmap/netmap_bdg.c
1339
for_rx_tx(t) {
sys/dev/netmap/netmap_bdg.c
1340
for (i = 0; i < netmap_all_rings(na, t); i++) {
sys/dev/netmap/netmap_bdg.c
1341
NMR(hwna, nm_txrx_swap(t))[i]->nr_pending_mode =
sys/dev/netmap/netmap_bdg.c
1342
NMR(na, t)[i]->nr_pending_mode;
sys/dev/netmap/netmap_bdg.c
1352
for_rx_tx(t) {
sys/dev/netmap/netmap_bdg.c
1353
for (i = 0; i < netmap_all_rings(na, t); i++) {
sys/dev/netmap/netmap_bdg.c
1354
struct netmap_kring *kring = NMR(hwna, nm_txrx_swap(t))[i];
sys/dev/netmap/netmap_bdg.c
1355
NMR(na, t)[i]->nr_mode = kring->nr_mode;
sys/dev/netmap/netmap_bdg.c
1403
for_rx_tx(t) {
sys/dev/netmap/netmap_bdg.c
1404
nma_set_host_nrings(hwna, t, 1);
sys/dev/netmap/netmap_bdg.c
1442
enum txrx t;
sys/dev/netmap/netmap_bdg.c
1454
for_rx_tx(t) {
sys/dev/netmap/netmap_bdg.c
1455
enum txrx r = nm_txrx_swap(t);
sys/dev/netmap/netmap_bdg.c
1456
u_int nr = nma_get_nrings(hostna, t);
sys/dev/netmap/netmap_bdg.c
1458
nma_set_host_nrings(na, t, nr);
sys/dev/netmap/netmap_bdg.c
1459
if (nma_get_host_nrings(hwna, t) < nr) {
sys/dev/netmap/netmap_bdg.c
1460
nma_set_host_nrings(hwna, t, nr);
sys/dev/netmap/netmap_bdg.c
1462
nma_set_ndesc(hostna, t, nma_get_ndesc(hwna, r));
sys/dev/netmap/netmap_bdg.c
1513
enum txrx t;
sys/dev/netmap/netmap_bdg.c
1522
for_rx_tx(t) {
sys/dev/netmap/netmap_bdg.c
1523
for (i = 0; i < netmap_all_rings(hwna, t); i++) {
sys/dev/netmap/netmap_bdg.c
1524
NMR(hwna, t)[i]->users++;
sys/dev/netmap/netmap_bdg.c
1527
NMR(na, t)[i]->nr_kflags |= NKR_NEEDRING;
sys/dev/netmap/netmap_bdg.c
1541
for_rx_tx(t) {
sys/dev/netmap/netmap_bdg.c
1542
enum txrx r = nm_txrx_swap(t); /* swap NR_TX <-> NR_RX */
sys/dev/netmap/netmap_bdg.c
1544
NMR(na, t)[i]->nkr_num_slots = NMR(hwna, r)[i]->nkr_num_slots;
sys/dev/netmap/netmap_bdg.c
1545
NMR(na, t)[i]->ring = NMR(hwna, r)[i]->ring;
sys/dev/netmap/netmap_bdg.c
1556
for_rx_tx(t) {
sys/dev/netmap/netmap_bdg.c
1557
for (i = 0; i < nma_get_nrings(hostna, t); i++) {
sys/dev/netmap/netmap_bdg.c
1558
NMR(hostna, t)[i]->na = hostna;
sys/dev/netmap/netmap_bdg.c
1566
for_rx_tx(t) {
sys/dev/netmap/netmap_bdg.c
1567
for (i = 0; i < netmap_all_rings(hwna, t); i++) {
sys/dev/netmap/netmap_bdg.c
1568
NMR(hwna, t)[i]->users--;
sys/dev/netmap/netmap_bdg.c
1569
NMR(na, t)[i]->users--;
sys/dev/netmap/netmap_bdg.c
1583
enum txrx t;
sys/dev/netmap/netmap_bdg.c
1589
for_rx_tx(t) {
sys/dev/netmap/netmap_bdg.c
1590
for (i = 0; i < netmap_all_rings(hwna, t); i++) {
sys/dev/netmap/netmap_bdg.c
1591
NMR(hwna, t)[i]->users--;
sys/dev/netmap/netmap_bdg.c
1592
NMR(na, t)[i]->users--;
sys/dev/netmap/netmap_bdg.c
1721
enum txrx t;
sys/dev/netmap/netmap_bdg.c
1738
for_rx_tx(t) {
sys/dev/netmap/netmap_bdg.c
1739
enum txrx r = nm_txrx_swap(t); /* swap NR_TX <-> NR_RX */
sys/dev/netmap/netmap_bdg.c
1740
nma_set_nrings(na, t, nma_get_nrings(hwna, r));
sys/dev/netmap/netmap_bdg.c
1741
nma_set_ndesc(na, t, nma_get_ndesc(hwna, r));
sys/dev/netmap/netmap_bdg.c
751
struct nm_bdg_kthread *t = bps->kthreads + i;
sys/dev/netmap/netmap_bdg.c
756
t->bps = bps;
sys/dev/netmap/netmap_bdg.c
757
t->qfirst = all ? bps->qfirst /* must be 0 */: affinity;
sys/dev/netmap/netmap_bdg.c
758
t->qlast = all ? bps->qlast : t->qfirst + 1;
sys/dev/netmap/netmap_bdg.c
760
nm_prinf("kthread %d a:%u qf:%u ql:%u", i, affinity, t->qfirst,
sys/dev/netmap/netmap_bdg.c
761
t->qlast);
sys/dev/netmap/netmap_bdg.c
764
kcfg.worker_private = t;
sys/dev/netmap/netmap_bdg.c
765
t->nmk = nm_os_kctx_create(&kcfg, NULL);
sys/dev/netmap/netmap_bdg.c
766
if (t->nmk == NULL) {
sys/dev/netmap/netmap_bdg.c
769
nm_os_kctx_worker_setaff(t->nmk, affinity);
sys/dev/netmap/netmap_bdg.c
775
struct nm_bdg_kthread *t = bps->kthreads + i;
sys/dev/netmap/netmap_bdg.c
776
nm_os_kctx_destroy(t->nmk);
sys/dev/netmap/netmap_bdg.c
795
struct nm_bdg_kthread *t = bps->kthreads + i;
sys/dev/netmap/netmap_bdg.c
796
error = nm_os_kctx_worker_start(t->nmk);
sys/dev/netmap/netmap_bdg.c
806
struct nm_bdg_kthread *t = bps->kthreads + i;
sys/dev/netmap/netmap_bdg.c
807
nm_os_kctx_worker_stop(t->nmk);
sys/dev/netmap/netmap_bdg.c
822
struct nm_bdg_kthread *t = bps->kthreads + i;
sys/dev/netmap/netmap_bdg.c
823
nm_os_kctx_worker_stop(t->nmk);
sys/dev/netmap/netmap_bdg.c
824
nm_os_kctx_destroy(t->nmk);
sys/dev/netmap/netmap_kern.h
1066
netmap_real_rings(struct netmap_adapter *na, enum txrx t)
sys/dev/netmap/netmap_kern.h
1068
return nma_get_nrings(na, t) +
sys/dev/netmap/netmap_kern.h
1069
!!(na->na_flags & NAF_HOST_RINGS) * nma_get_host_nrings(na, t);
sys/dev/netmap/netmap_kern.h
1074
netmap_all_rings(struct netmap_adapter *na, enum txrx t)
sys/dev/netmap/netmap_kern.h
1076
return max(nma_get_nrings(na, t) + 1, netmap_real_rings(na, t));
sys/dev/netmap/netmap_kern.h
1404
netmap_kring_on(struct netmap_adapter *na, u_int q, enum txrx t)
sys/dev/netmap/netmap_kern.h
1411
if (t == NR_RX && q < na->num_rx_rings)
sys/dev/netmap/netmap_kern.h
1413
else if (t == NR_TX && q < na->num_tx_rings)
sys/dev/netmap/netmap_kern.h
1783
#define netmap_sync_map(na, tag, map, sz, t)
sys/dev/netmap/netmap_kern.h
1859
bus_dma_tag_t tag, bus_dmamap_t map, u_int sz, enum txrx t)
sys/dev/netmap/netmap_kern.h
1863
(t == NR_TX ? DMA_TO_DEVICE : DMA_FROM_DEVICE));
sys/dev/netmap/netmap_kern.h
1869
bus_dma_tag_t tag, bus_dmamap_t map, u_int sz, enum txrx t)
sys/dev/netmap/netmap_kern.h
1873
(t == NR_TX ? DMA_TO_DEVICE : DMA_FROM_DEVICE));
sys/dev/netmap/netmap_kern.h
1892
#define netmap_sync_map_cpu(na, tag, map, sz, t)
sys/dev/netmap/netmap_kern.h
1893
#define netmap_sync_map_dev(na, tag, map, sz, t)
sys/dev/netmap/netmap_kern.h
2094
enum txrx t;
sys/dev/netmap/netmap_kern.h
2097
for_rx_tx(t) {
sys/dev/netmap/netmap_kern.h
2098
for (i = np->np_qfirst[t]; i < np->np_qlast[t]; i++) {
sys/dev/netmap/netmap_kern.h
2099
struct netmap_kring *kring = NMR(na, t)[i];
sys/dev/netmap/netmap_kern.h
2110
nm_si_user(struct netmap_priv_d *priv, enum txrx t)
sys/dev/netmap/netmap_kern.h
2113
(priv->np_qlast[t] - priv->np_qfirst[t] > 1));
sys/dev/netmap/netmap_kern.h
338
nm_txrx2str(enum txrx t)
sys/dev/netmap/netmap_kern.h
340
return (t== NR_RX ? "RX" : "TX");
sys/dev/netmap/netmap_kern.h
344
nm_txrx_swap(enum txrx t)
sys/dev/netmap/netmap_kern.h
346
return (t== NR_RX ? NR_TX : NR_RX);
sys/dev/netmap/netmap_kern.h
349
#define for_rx_tx(t) for ((t) = 0; (t) < NR_TXRX; (t)++)
sys/dev/netmap/netmap_kern.h
935
nma_get_ndesc(struct netmap_adapter *na, enum txrx t)
sys/dev/netmap/netmap_kern.h
937
return (t == NR_TX ? na->num_tx_desc : na->num_rx_desc);
sys/dev/netmap/netmap_kern.h
941
nma_set_ndesc(struct netmap_adapter *na, enum txrx t, u_int v)
sys/dev/netmap/netmap_kern.h
943
if (t == NR_TX)
sys/dev/netmap/netmap_kern.h
950
nma_get_nrings(struct netmap_adapter *na, enum txrx t)
sys/dev/netmap/netmap_kern.h
952
return (t == NR_TX ? na->num_tx_rings : na->num_rx_rings);
sys/dev/netmap/netmap_kern.h
956
nma_get_host_nrings(struct netmap_adapter *na, enum txrx t)
sys/dev/netmap/netmap_kern.h
958
return (t == NR_TX ? na->num_host_tx_rings : na->num_host_rx_rings);
sys/dev/netmap/netmap_kern.h
962
nma_set_nrings(struct netmap_adapter *na, enum txrx t, u_int v)
sys/dev/netmap/netmap_kern.h
964
if (t == NR_TX)
sys/dev/netmap/netmap_kern.h
971
nma_set_host_nrings(struct netmap_adapter *na, enum txrx t, u_int v)
sys/dev/netmap/netmap_kern.h
973
if (t == NR_TX)
sys/dev/netmap/netmap_kern.h
980
NMR(struct netmap_adapter *na, enum txrx t)
sys/dev/netmap/netmap_kern.h
982
return (t == NR_TX ? na->tx_rings : na->rx_rings);
sys/dev/netmap/netmap_mem2.c
1994
enum txrx t;
sys/dev/netmap/netmap_mem2.c
1996
for_rx_tx(t) {
sys/dev/netmap/netmap_mem2.c
1999
for (i = 0; i < netmap_all_rings(na, t); i++) {
sys/dev/netmap/netmap_mem2.c
2000
struct netmap_kring *kring = NMR(na, t)[i];
sys/dev/netmap/netmap_mem2.c
2018
nm_prerr("Cannot allocate %s_ring", nm_txrx2str(t));
sys/dev/netmap/netmap_mem2.c
2037
nm_prdis("initializing slots for %s_ring", nm_txrx2str(t));
sys/dev/netmap/netmap_mem2.c
2043
nm_prerr("Cannot allocate buffers for %s_ring", nm_txrx2str(t));
sys/dev/netmap/netmap_mem2.c
2073
enum txrx t;
sys/dev/netmap/netmap_mem2.c
2075
for_rx_tx(t) {
sys/dev/netmap/netmap_mem2.c
2077
for (i = 0; i < netmap_all_rings(na, t); i++) {
sys/dev/netmap/netmap_mem2.c
2078
struct netmap_kring *kring = NMR(na, t)[i];
sys/dev/netmap/netmap_mem2.c
2116
enum txrx t;
sys/dev/netmap/netmap_mem2.c
2119
for_rx_tx(t) {
sys/dev/netmap/netmap_mem2.c
2121
n[t] = netmap_all_rings(na, t);
sys/dev/netmap/netmap_mem2.c
2122
ntot += n[t];
sys/dev/netmap/netmap_mem2.c
2833
enum txrx t;
sys/dev/netmap/netmap_mem2.c
2835
for_rx_tx(t) {
sys/dev/netmap/netmap_mem2.c
2837
for (i = 0; i < nma_get_nrings(na, t) + 1; i++) {
sys/dev/netmap/netmap_mem2.c
2838
struct netmap_kring *kring = &NMR(na, t)[i];
sys/dev/netmap/netmap_monitor.c
174
enum txrx t;
sys/dev/netmap/netmap_monitor.c
179
for_rx_tx(t) {
sys/dev/netmap/netmap_monitor.c
181
u_int first = nma_get_nrings(na, t);
sys/dev/netmap/netmap_monitor.c
182
for (i = 0; i < nma_get_host_nrings(na, t); i++) {
sys/dev/netmap/netmap_monitor.c
183
struct netmap_kring *kring = NMR(na, t)[first + i];
sys/dev/netmap/netmap_monitor.c
184
kring->nm_sync = t == NR_TX ? netmap_monitor_txsync :
sys/dev/netmap/netmap_monitor.c
200
nm_txrx2flag(enum txrx t)
sys/dev/netmap/netmap_monitor.c
202
return (t == NR_RX ? NR_MONITOR_RX : NR_MONITOR_TX);
sys/dev/netmap/netmap_monitor.c
300
nm_zmon_list_head(struct netmap_kring *mkring, enum txrx t)
sys/dev/netmap/netmap_monitor.c
304
struct netmap_zmon_list *z = &kring->zmon_list[t];
sys/dev/netmap/netmap_monitor.c
309
z = &kring->zmon_list[t];
sys/dev/netmap/netmap_monitor.c
321
enum txrx t = kring->tx;
sys/dev/netmap/netmap_monitor.c
322
struct netmap_zmon_list *z = &kring->zmon_list[t];
sys/dev/netmap/netmap_monitor.c
323
struct netmap_zmon_list *mz = &mkring->zmon_list[t];
sys/dev/netmap/netmap_monitor.c
343
ikring->zmon_list[t].next = mkring;
sys/dev/netmap/netmap_monitor.c
371
netmap_monitor_del(struct netmap_kring *mkring, struct netmap_kring *kring, enum txrx t)
sys/dev/netmap/netmap_monitor.c
374
struct netmap_zmon_list *mz = &mkring->zmon_list[t];
sys/dev/netmap/netmap_monitor.c
380
kring = nm_zmon_list_head(mkring, t);
sys/dev/netmap/netmap_monitor.c
394
mz->next->zmon_list[t].prev = mz->prev;
sys/dev/netmap/netmap_monitor.c
406
kring->zmon_list[t].prev =
sys/dev/netmap/netmap_monitor.c
411
mz->prev->zmon_list[t].next = mz->next;
sys/dev/netmap/netmap_monitor.c
450
enum txrx t;
sys/dev/netmap/netmap_monitor.c
452
for_rx_tx(t) {
sys/dev/netmap/netmap_monitor.c
455
for (i = 0; i < netmap_all_rings(na, t); i++) {
sys/dev/netmap/netmap_monitor.c
456
struct netmap_kring *kring = NMR(na, t)[i];
sys/dev/netmap/netmap_monitor.c
457
struct netmap_zmon_list *z = &kring->zmon_list[t];
sys/dev/netmap/netmap_monitor.c
482
zkring = zkring->zmon_list[t].next)
sys/dev/netmap/netmap_monitor.c
490
netmap_adapter_put(zkring->zmon_list[t].prev->na);
sys/dev/netmap/netmap_monitor.c
494
z->next->zmon_list[t].prev = NULL;
sys/dev/netmap/netmap_monitor.c
517
enum txrx t, s;
sys/dev/netmap/netmap_monitor.c
526
for_rx_tx(t) {
sys/dev/netmap/netmap_monitor.c
527
for (i = 0; i < netmap_all_rings(na, t); i++) {
sys/dev/netmap/netmap_monitor.c
528
mkring = NMR(na, t)[i];
sys/dev/netmap/netmap_monitor.c
532
if (t == NR_TX)
sys/dev/netmap/netmap_monitor.c
548
for_rx_tx(t) {
sys/dev/netmap/netmap_monitor.c
549
for (i = 0; i < netmap_all_rings(na, t); i++) {
sys/dev/netmap/netmap_monitor.c
550
mkring = NMR(na, t)[i];
sys/dev/netmap/netmap_monitor.c
554
if (t == NR_TX)
sys/dev/netmap/netmap_pipe.c
321
enum txrx t;
sys/dev/netmap/netmap_pipe.c
337
for_rx_tx(t) {
sys/dev/netmap/netmap_pipe.c
338
enum txrx r = nm_txrx_swap(t); /* swap NR_TX <-> NR_RX */
sys/dev/netmap/netmap_pipe.c
339
for (i = 0; i < nma_get_nrings(na, t); i++) {
sys/dev/netmap/netmap_pipe.c
340
struct netmap_kring *k1 = NMR(na, t)[i],
sys/dev/netmap/netmap_pipe.c
394
enum txrx t;
sys/dev/netmap/netmap_pipe.c
396
for_rx_tx(t) {
sys/dev/netmap/netmap_pipe.c
397
for (i = 0; i < nma_get_nrings(na, t); i++) {
sys/dev/netmap/netmap_pipe.c
398
struct netmap_kring *kring = NMR(na, t)[i];
sys/dev/netmap/netmap_pipe.c
416
for_rx_tx(t) {
sys/dev/netmap/netmap_pipe.c
417
for (i = 0; i < nma_get_nrings(na, t); i++) {
sys/dev/netmap/netmap_pipe.c
418
struct netmap_kring *kring = NMR(na, t)[i];
sys/dev/netmap/netmap_pipe.c
540
enum txrx t;
sys/dev/netmap/netmap_pipe.c
554
for_rx_tx(t) {
sys/dev/netmap/netmap_pipe.c
555
for (i = 0; i < nma_get_nrings(sna, t); i++) {
sys/dev/netmap/netmap_pipe.c
556
struct netmap_kring *kring = NMR(sna, t)[i];
sys/dev/nfe/if_nfe.c
273
struct nfe_type *t;
sys/dev/nfe/if_nfe.c
275
t = nfe_devs;
sys/dev/nfe/if_nfe.c
277
while (t->name != NULL) {
sys/dev/nfe/if_nfe.c
278
if ((pci_get_vendor(dev) == t->vid_id) &&
sys/dev/nfe/if_nfe.c
279
(pci_get_device(dev) == t->dev_id)) {
sys/dev/nfe/if_nfe.c
280
device_set_desc(dev, t->name);
sys/dev/nfe/if_nfe.c
283
t++;
sys/dev/nge/if_nge.c
795
const struct nge_type *t;
sys/dev/nge/if_nge.c
797
t = nge_devs;
sys/dev/nge/if_nge.c
799
while (t->nge_name != NULL) {
sys/dev/nge/if_nge.c
800
if ((pci_get_vendor(dev) == t->nge_vid) &&
sys/dev/nge/if_nge.c
801
(pci_get_device(dev) == t->nge_did)) {
sys/dev/nge/if_nge.c
802
device_set_desc(dev, t->nge_name);
sys/dev/nge/if_nge.c
805
t++;
sys/dev/nmdm/nmdm.c
299
bits_per_char(struct termios *t)
sys/dev/nmdm/nmdm.c
304
switch (t->c_cflag & CSIZE) {
sys/dev/nmdm/nmdm.c
311
if (t->c_cflag & PARENB)
sys/dev/nmdm/nmdm.c
313
if (t->c_cflag & CSTOPB)
sys/dev/nmdm/nmdm.c
319
nmdm_param(struct tty *tp, struct termios *t)
sys/dev/nmdm/nmdm.c
327
if (!((t->c_cflag | tp2->t_termios.c_cflag) & CDSR_OFLOW)) {
sys/dev/nmdm/nmdm.c
340
bpc = imax(bits_per_char(t), bits_per_char(&tp2->t_termios));
sys/dev/nmdm/nmdm.c
344
speed = imin(tp2->t_termios.c_ospeed, t->c_ispeed);
sys/dev/nmdm/nmdm.c
369
t = &tp2->t_termios;
sys/dev/ntb/ntb_hw/ntb_hw_plx.c
625
unsigned t;
sys/dev/ntb/ntb_hw/ntb_hw_plx.c
627
t = 1 << sc->split;
sys/dev/ntb/ntb_hw/ntb_hw_plx.c
628
if (uidx < t) {
sys/dev/ntb/ntb_hw/ntb_hw_plx.c
633
return (uidx - (t - 1));
sys/dev/ntb/ntb_hw/ntb_hw_plx.c
882
u_int off, t;
sys/dev/ntb/ntb_hw/ntb_hw_plx.c
898
for (t = 0; t <= 1000; t++) {
sys/dev/nvme/nvme_test.c
137
getmicrouptime(&t);
sys/dev/nvme/nvme_test.c
138
timevalsub(&t, &io_test->start);
sys/dev/nvme/nvme_test.c
140
if (t.tv_sec >= io_test->time)
sys/dev/nvme/nvme_test.c
163
struct timeval t;
sys/dev/nvme/nvme_test.c
173
getmicrouptime(&t);
sys/dev/nvme/nvme_test.c
174
timevalsub(&t, &tth->start);
sys/dev/nvme/nvme_test.c
176
if (t.tv_sec >= tth->time) {
sys/dev/nvme/nvme_test.c
90
struct timeval t;
sys/dev/oce/oce_if.c
2310
#define ticks_to_msecs(t) (1000 * (t) / hz)
sys/dev/ocs_fc/ocs_hw.h
1461
#define CPUTRACE(t) ocs_printf("trace: %-20s %2s %-16s cpu %2d\n", __func__, t, \
sys/dev/ocs_fc/ocs_os.c
920
__ocs_callout(void *t)
sys/dev/ocs_fc/ocs_os.c
922
ocs_timer_t *timer = t;
sys/dev/ofw/ofw_bus_subr.h
67
#define FDTCOMPAT_PNP_INFO(t, busname) \
sys/dev/ofw/ofw_bus_subr.h
68
MODULE_PNP_INFO(FDTCOMPAT_PNP_DESCR, busname, t, t, sizeof(t) / sizeof(t[0]));
sys/dev/ofw/ofw_bus_subr.h
70
#define OFWBUS_PNP_INFO(t) FDTCOMPAT_PNP_INFO(t, ofwbus)
sys/dev/ofw/ofw_bus_subr.h
71
#define SIMPLEBUS_PNP_INFO(t) FDTCOMPAT_PNP_INFO(t, simplebus)
sys/dev/ow/ow.c
209
ow_send_byte(device_t lldev, struct ow_timing *t, uint8_t byte)
sys/dev/ow/ow.c
215
OWLL_WRITE_ONE(lldev, t);
sys/dev/ow/ow.c
217
OWLL_WRITE_ZERO(lldev, t);
sys/dev/ow/ow.c
221
ow_read_byte(device_t lldev, struct ow_timing *t, uint8_t *bytep)
sys/dev/ow/ow.c
228
OWLL_READ_DATA(lldev, t, &bit);
sys/dev/ow/ow.c
239
struct ow_timing *t;
sys/dev/ow/ow.c
274
t = (cmd->flags & OW_FLAG_OVERDRIVE) ?
sys/dev/ow/ow.c
277
ow_send_byte(lldev, t, cmd->xpt_cmd[i]);
sys/dev/ow/ow.c
281
OWLL_READ_DATA(lldev, t, &bit);
sys/dev/ow/ow.c
286
ow_read_byte(lldev, t, cmd->xpt_read + i);
sys/dev/ow/owc_gpiobus.c
185
owc_gpiobus_write_one(device_t dev, struct ow_timing *t)
sys/dev/ow/owc_gpiobus.c
196
DELAY(t->t_low1);
sys/dev/ow/owc_gpiobus.c
200
DELAY(t->t_slot - t->t_low1 + t->t_rec);
sys/dev/ow/owc_gpiobus.c
220
owc_gpiobus_write_zero(device_t dev, struct ow_timing *t)
sys/dev/ow/owc_gpiobus.c
231
DELAY(t->t_low0);
sys/dev/ow/owc_gpiobus.c
235
DELAY(t->t_slot - t->t_low0 + t->t_rec);
sys/dev/ow/owc_gpiobus.c
258
owc_gpiobus_read_data(device_t dev, struct ow_timing *t, int *bit)
sys/dev/ow/owc_gpiobus.c
272
DELAY(t->t_lowr);
sys/dev/ow/owc_gpiobus.c
283
} while (now - then < (t->t_rdv + 2) * SBT_1US && sample == false);
sys/dev/ow/owc_gpiobus.c
286
if (now - then < t->t_rdv * SBT_1US)
sys/dev/ow/owc_gpiobus.c
294
} while (now - then < (t->t_slot + t->t_rec) * SBT_1US);
sys/dev/ow/owc_gpiobus.c
320
owc_gpiobus_reset_and_presence(device_t dev, struct ow_timing *t, int *bit)
sys/dev/ow/owc_gpiobus.c
345
DELAY(t->t_rstl);
sys/dev/ow/owc_gpiobus.c
349
DELAY(t->t_pdh + t->t_pdl / 2);
sys/dev/ow/owc_gpiobus.c
357
DELAY(t->t_rsth - (t->t_pdh + t->t_pdl / 2)); /* Timing not critical for this one */
sys/dev/pccard/pccardvar.h
103
#define PCCARD_PNP_INFO(t) \
sys/dev/pccard/pccardvar.h
104
MODULE_PNP_INFO(PCCARD_PNP_DESCR, pccard, t, t, nitems(t) - 1)
sys/dev/pccard/pccardvar.h
209
pccard_get_ ## A(device_t dev, T *t) \
sys/dev/pccard/pccardvar.h
212
PCCARD_IVAR_ ## B, (uintptr_t *) t); \
sys/dev/pci/controller/pci_n1sdp.c
264
bus_space_tag_t t;
sys/dev/pci/controller/pci_n1sdp.c
278
if (n1sdp_get_bus_space(dev, bus, slot, func, reg, &t, &h, &offset) !=0)
sys/dev/pci/controller/pci_n1sdp.c
281
data = bus_space_read_4(t, h, offset & ~3);
sys/dev/pci/controller/pci_n1sdp.c
310
bus_space_tag_t t;
sys/dev/pci/controller/pci_n1sdp.c
324
if (n1sdp_get_bus_space(dev, bus, slot, func, reg, &t, &h, &offset) !=0)
sys/dev/pci/controller/pci_n1sdp.c
327
data = bus_space_read_4(t, h, offset & ~3);
sys/dev/pci/controller/pci_n1sdp.c
345
bus_space_write_4(t, h, offset & ~3, data);
sys/dev/pwm/pwmbus.h
46
pwmbus_get_ ## A(device_t dev, T *t) \
sys/dev/pwm/pwmbus.h
49
PWMBUS_IVAR_ ## B, (uintptr_t *) t); \
sys/dev/pwm/pwmbus.h
52
pwmbus_set_ ## A(device_t dev, T t) \
sys/dev/pwm/pwmbus.h
55
PWMBUS_IVAR_ ## B, (uintptr_t) t); \
sys/dev/pwm/pwmbus.h
61
#define PWMBUS_FDT_PNP_INFO(t) FDTCOMPAT_PNP_INFO(t, pwmbus)
sys/dev/pwm/pwmbus.h
63
#define PWMBUS_FDT_PNP_INFO(t)
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_auth_enc.c
45
#define LAC_ALG_CHAIN_CCM_BUILD_B0_FLAGS(Adata, t, q) \
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_auth_enc.c
47
((((t)-2) >> 1) << LAC_ALG_CHAIN_CCM_B0_FLAGS_T_SHIFT) | ((q)-1))
sys/dev/qat/qat_common/adf_cfg_bundle.h
21
typeof(stype) t = (stype); \
sys/dev/qat/qat_common/adf_cfg_bundle.h
24
b->rings[i + j]->serv_type = t; \
sys/dev/qat/qat_common/adf_cfg_bundle.h
25
b->rings[i + j + s]->serv_type = t; \
sys/dev/qcom_clk/qcom_clk_freqtbl.c
42
const struct qcom_clk_freq_tbl *t;
sys/dev/qcom_clk/qcom_clk_freqtbl.c
47
for (t = tbl; t->freq !=0; t++) {
sys/dev/qcom_clk/qcom_clk_freqtbl.c
48
if (freq <= t->freq)
sys/dev/qcom_clk/qcom_clk_freqtbl.c
49
return (t);
sys/dev/qlnx/qlnxe/qlnx_os.h
100
qlnx_hz = tvtohz(&t);
sys/dev/qlnx/qlnxe/qlnx_os.h
112
struct timeval t;
sys/dev/qlnx/qlnxe/qlnx_os.h
114
t.tv_sec = sec;
sys/dev/qlnx/qlnxe/qlnx_os.h
115
t.tv_usec = 0;
sys/dev/qlnx/qlnxe/qlnx_os.h
117
return (tvtohz(&t));
sys/dev/qlnx/qlnxe/qlnx_os.h
95
struct timeval t;
sys/dev/qlnx/qlnxe/qlnx_os.h
97
t.tv_sec = ms / 1000;
sys/dev/qlnx/qlnxe/qlnx_os.h
98
t.tv_usec = (ms % 1000) * 1000;
sys/dev/qlxgb/qla_os.h
100
qla_hz = tvtohz(&t);
sys/dev/qlxgb/qla_os.h
112
struct timeval t;
sys/dev/qlxgb/qla_os.h
114
t.tv_sec = sec;
sys/dev/qlxgb/qla_os.h
115
t.tv_usec = 0;
sys/dev/qlxgb/qla_os.h
117
return (tvtohz(&t));
sys/dev/qlxgb/qla_os.h
95
struct timeval t;
sys/dev/qlxgb/qla_os.h
97
t.tv_sec = ms / 1000;
sys/dev/qlxgb/qla_os.h
98
t.tv_usec = (ms % 1000) * 1000;
sys/dev/qlxgbe/ql_os.h
101
qla_hz = tvtohz(&t);
sys/dev/qlxgbe/ql_os.h
113
struct timeval t;
sys/dev/qlxgbe/ql_os.h
115
t.tv_sec = sec;
sys/dev/qlxgbe/ql_os.h
116
t.tv_usec = 0;
sys/dev/qlxgbe/ql_os.h
118
return (tvtohz(&t));
sys/dev/qlxgbe/ql_os.h
96
struct timeval t;
sys/dev/qlxgbe/ql_os.h
98
t.tv_sec = ms / 1000;
sys/dev/qlxgbe/ql_os.h
99
t.tv_usec = (ms % 1000) * 1000;
sys/dev/qlxge/qls_os.h
100
t.tv_usec = (ms % 1000) * 1000;
sys/dev/qlxge/qls_os.h
102
qla_hz = tvtohz(&t);
sys/dev/qlxge/qls_os.h
114
struct timeval t;
sys/dev/qlxge/qls_os.h
116
t.tv_sec = sec;
sys/dev/qlxge/qls_os.h
117
t.tv_usec = 0;
sys/dev/qlxge/qls_os.h
119
return (tvtohz(&t));
sys/dev/qlxge/qls_os.h
97
struct timeval t;
sys/dev/qlxge/qls_os.h
99
t.tv_sec = ms / 1000;
sys/dev/random/unit_test.c
238
long t;
sys/dev/random/unit_test.c
242
for (t = 0; t < NUM_THREADS; t++) {
sys/dev/random/unit_test.c
243
printf("In main: creating thread %ld\n", t);
sys/dev/random/unit_test.c
244
rc = thrd_create(&threads[t], (t == 0 ? RunHarvester : ReadCSPRNG), NULL);
sys/dev/random/unit_test.c
251
for (t = 2; t < NUM_THREADS; t++)
sys/dev/random/unit_test.c
252
thrd_join(threads[t], &rc);
sys/dev/re/if_re.c
943
const struct rl_type *t;
sys/dev/re/if_re.c
970
t = re_devs;
sys/dev/re/if_re.c
971
for (i = 0; i < nitems(re_devs); i++, t++) {
sys/dev/re/if_re.c
972
if (vendor == t->rl_vid && devid == t->rl_did) {
sys/dev/re/if_re.c
973
device_set_desc(dev, t->rl_name);
sys/dev/rl/if_rl.c
586
const struct rl_type *t;
sys/dev/rl/if_rl.c
600
t = rl_devs;
sys/dev/rl/if_rl.c
601
for (i = 0; i < nitems(rl_devs); i++, t++) {
sys/dev/rl/if_rl.c
602
if (vendor == t->rl_vid && devid == t->rl_did) {
sys/dev/rl/if_rl.c
603
device_set_desc(dev, t->rl_name);
sys/dev/rl/if_rl.c
640
const struct rl_type *t;
sys/dev/rl/if_rl.c
757
t = rl_devs;
sys/dev/rl/if_rl.c
759
while(t->rl_name != NULL) {
sys/dev/rl/if_rl.c
760
if (rl_did == t->rl_did) {
sys/dev/rl/if_rl.c
761
sc->rl_type = t->rl_basetype;
sys/dev/rl/if_rl.c
764
t++;
sys/dev/rtsx/rtsx.c
316
#define ISSET(t, f) ((t) & (f))
sys/dev/rtwn/rtl8812a/r12a_priv.h
81
#define R12A_COND_TYPE(t) ((t) << 4)
sys/dev/sfxge/common/efsys.h
90
#define bus_space_read_stream_8(t, h, o) \
sys/dev/sfxge/common/efsys.h
91
bus_space_read_8((t), (h), (o))
sys/dev/sfxge/common/efsys.h
93
#define bus_space_write_stream_8(t, h, o, v) \
sys/dev/sfxge/common/efsys.h
94
bus_space_write_8((t), (h), (o), (v))
sys/dev/sfxge/sfxge_rx.c
764
unsigned t;
sys/dev/sfxge/sfxge_rx.c
778
t = *(volatile int *)&ticks;
sys/dev/sfxge/sfxge_rx.c
779
if (__predict_false(t != st->last_purge_ticks))
sys/dev/sfxge/sfxge_rx.c
780
sfxge_lro_purge_idle(rxq, t);
sys/dev/sge/if_sge.c
532
struct sge_type *t;
sys/dev/sge/if_sge.c
534
t = sge_devs;
sys/dev/sge/if_sge.c
535
while (t->sge_name != NULL) {
sys/dev/sge/if_sge.c
536
if ((pci_get_vendor(dev) == t->sge_vid) &&
sys/dev/sge/if_sge.c
537
(pci_get_device(dev) == t->sge_did)) {
sys/dev/sge/if_sge.c
538
device_set_desc(dev, t->sge_name);
sys/dev/sge/if_sge.c
541
t++;
sys/dev/siis/siis.c
1560
siis_wait_ready(device_t dev, int t)
sys/dev/siis/siis.c
1569
if (timeout++ > t) {
sys/dev/siis/siis.c
1571
"status = %08x\n", t, val);
sys/dev/siis/siis.c
83
static int siis_wait_ready(device_t dev, int t);
sys/dev/sis/if_sis.c
875
const struct sis_type *t;
sys/dev/sis/if_sis.c
877
t = sis_devs;
sys/dev/sis/if_sis.c
879
while (t->sis_name != NULL) {
sys/dev/sis/if_sis.c
880
if ((pci_get_vendor(dev) == t->sis_vid) &&
sys/dev/sis/if_sis.c
881
(pci_get_device(dev) == t->sis_did)) {
sys/dev/sis/if_sis.c
882
device_set_desc(dev, t->sis_name);
sys/dev/sis/if_sis.c
885
t++;
sys/dev/sk/if_sk.c
1130
const struct sk_type *t = sk_devs;
sys/dev/sk/if_sk.c
1132
while(t->sk_name != NULL) {
sys/dev/sk/if_sk.c
1133
if ((pci_get_vendor(dev) == t->sk_vid) &&
sys/dev/sk/if_sk.c
1134
(pci_get_device(dev) == t->sk_did)) {
sys/dev/sk/if_sk.c
1139
if ((t->sk_vid == VENDORID_LINKSYS) &&
sys/dev/sk/if_sk.c
1140
(t->sk_did == DEVICEID_LINKSYS_EG1032) &&
sys/dev/sk/if_sk.c
1143
t++;
sys/dev/sk/if_sk.c
1146
device_set_desc(dev, t->sk_name);
sys/dev/sk/if_sk.c
1149
t++;
sys/dev/sk/if_skreg.h
383
#define SK_IM_USECS(x, t) ((x) * (t))
sys/dev/smartpqi/smartpqi_defines.h
742
#define PQI_PD_INDEX(t) (t + PQI_MAX_LOGICALS)
sys/dev/sound/midi/midiq.h
36
int h, t, s; \
sys/dev/sound/midi/midiq.h
41
(head).h=(head).t=0; \
sys/dev/sound/midi/midiq.h
46
#define MIDIQ_EMPTY(head) ((head).h == (head).t )
sys/dev/sound/midi/midiq.h
48
#define MIDIQ_LENBASE(head) ((head).h - (head).t < 0 ? \
sys/dev/sound/midi/midiq.h
49
(head).h - (head).t + (head).s : \
sys/dev/sound/midi/midiq.h
50
(head).h - (head).t)
sys/dev/sound/midi/midiq.h
69
if(MIDIQ_FULL(head)) (head).h=(head).t; \
sys/dev/sound/midi/midiq.h
70
if (move) MIDIQ_MOVE((buf), &(head).b[(head).t], sizeof(*(head).b) * min((size), (head).s - (head).t)); \
sys/dev/sound/midi/midiq.h
71
if( (head).s - (head).t < (size) ) { \
sys/dev/sound/midi/midiq.h
72
if (move) MIDIQ_MOVE((buf) + (head).s - (head).t, (head).b, sizeof(*(head).b) * ((size) - (head).s + (head).t) ); \
sys/dev/sound/midi/midiq.h
75
(head).t+=(size); \
sys/dev/sound/midi/midiq.h
76
(head).t%=(head).s; \
sys/dev/sound/midi/midiq.h
83
#define MIDIQ_CLEAR(head) ((head).h = (head).t = 0)
sys/dev/sound/pci/es137x.c
1112
uint32_t t, x, orig;
sys/dev/sound/pci/es137x.c
1115
for (t = 0; t < 0x1000; t++) {
sys/dev/sound/pci/es137x.c
1125
for (t = 0; t < 0x1000; t++) {
sys/dev/sound/pci/es137x.c
1131
for (t = 0; t < 0x1000; t++) {
sys/dev/sound/pci/es137x.c
1150
uint32_t t, x, orig;
sys/dev/sound/pci/es137x.c
1153
for (t = 0; t < 0x1000; t++) {
sys/dev/sound/pci/es137x.c
1164
for (t = 0; t < 0x1000; t++) {
sys/dev/sound/pci/es137x.c
1170
for (t = 0; t < 0x1000; t++) {
sys/dev/sound/pci/es137x.c
1184
for (t = 0; t < 0x1000; t++) {
sys/dev/sound/pci/es137x.c
1296
uint32_t t, r;
sys/dev/sound/pci/es137x.c
1298
for (t = 0; t < 0x1000; t++) {
sys/dev/sound/pci/es137x.c
421
unsigned int t;
sys/dev/sound/pci/es137x.c
425
for (t = 0; t < 0x1000; t++) {
sys/dev/sound/pci/hda/hdaa.c
6949
int i, t = -1, t1;
sys/dev/sound/pci/hda/hdaa.c
6958
if (t == -1)
sys/dev/sound/pci/hda/hdaa.c
6959
t = t1;
sys/dev/sound/pci/hda/hdaa.c
6960
else if (t != t1) {
sys/dev/sound/pci/hda/hdaa.c
6961
t = -2;
sys/dev/sound/pci/hda/hdaa.c
6965
return (t);
sys/dev/sound/pci/solo.c
366
uint32_t t;
sys/dev/sound/pci/solo.c
369
t = (795500 + speed / 2) / speed;
sys/dev/sound/pci/solo.c
370
speed = (795500 + t / 2) / t;
sys/dev/sound/pci/solo.c
371
t = (256 - t) | 0x80;
sys/dev/sound/pci/solo.c
373
t = (397700 + speed / 2) / speed;
sys/dev/sound/pci/solo.c
374
speed = (397700 + t / 2) / t;
sys/dev/sound/pci/solo.c
375
t = 128 - t;
sys/dev/sound/pci/solo.c
378
return t & 0x000000ff;
sys/dev/sound/pci/vibes.c
259
uint32_t rs, re, r, best_r = 0, r2, t, n, best_n = 0;
sys/dev/sound/pci/vibes.c
270
t = 80000000 / f_out;
sys/dev/sound/pci/vibes.c
271
for (rs = 1; (1 << rs) < t; rs++);
sys/dev/sound/pci/vibes.c
273
t = 150000000 / f_out;
sys/dev/sound/pci/vibes.c
274
for (re = 1; (2 << re) < t; re++);
sys/dev/sound/pcm/channel.h
200
struct pcm_channel *t = NULL; \
sys/dev/sound/pcm/channel.h
201
CHN_FOREACH(t, x, z) { \
sys/dev/sound/pcm/channel.h
202
if (t == y) \
sys/dev/sound/pcm/channel.h
205
if (t != y) \
sys/dev/sound/pcm/channel.h
210
struct pcm_channel *t = NULL; \
sys/dev/sound/pcm/channel.h
211
CHN_FOREACH(t, w, z) { \
sys/dev/sound/pcm/channel.h
212
if (t == y) \
sys/dev/sound/pcm/channel.h
215
if (t != y) \
sys/dev/sound/pcm/channel.h
223
struct pcm_channel *t = NULL; \
sys/dev/sound/pcm/channel.h
224
CHN_FOREACH(t, holder, list) { \
sys/dev/sound/pcm/channel.h
225
if (CHN_NEXT(t, list) == (elm)) { \
sys/dev/sound/pcm/channel.h
226
SLIST_REMOVE_AFTER(t, CHN_LINK(list)); \
sys/dev/sound/pcm/channel.h
234
struct pcm_channel *t, *a = NULL; \
sys/dev/sound/pcm/channel.h
235
CHN_FOREACH(t, x, z) { \
sys/dev/sound/pcm/channel.h
236
if (((y)->type w t->type) || \
sys/dev/sound/pcm/channel.h
237
(((y)->type == t->type) && ((y)->unit w t->unit))) \
sys/dev/sound/pcm/channel.h
238
a = t; \
sys/dev/sound/pcm/feeder_chain.c
513
#define FEEDER_BW(c, t) ((c)->t.matrix->channels * (c)->t.rate)
sys/dev/sound/pcm/feeder_chain.c
531
#define FEEDEQ_VALIDRATE(c, t) (feeder_eq_validrate((c)->t.rate) != 0)
sys/dev/sound/pcm/feeder_chain.c
757
#define FEEDER_BUILD(t) do { \
sys/dev/sound/pcm/feeder_chain.c
758
ret = feeder_build_##t(c, &cdesc); \
sys/dev/sound/pcm/feeder_eq.c
128
#define FEEDEQ_ERR_CLIP_CHECK(t, v) do { \
sys/dev/sound/pcm/feeder_eq.c
130
errx(1, "\n\n%s(): ["#t"] Sample clipping: %jd\n", \
sys/dev/sound/pcm/g711.h
174
#define _G711_TO_INTPCM(t, v) ((intpcm_t) \
sys/dev/sound/pcm/g711.h
175
((int8_t)((t)[(uint8_t)(v)] ^ 0x80)))
sys/dev/sound/pcm/g711.h
177
#define _INTPCM_TO_G711(t, v) ((t)[(uint8_t)((v) ^ 0x80)])
sys/dev/spibus/spi.h
45
#define SPIBUS_FDT_PNP_INFO(t) FDTCOMPAT_PNP_INFO(t, spibus)
sys/dev/spibus/spi.h
47
#define SPIBUS_FDT_PNP_INFO(t)
sys/dev/spibus/spi.h
51
#define SPIBUS_ACPI_PNP_INFO(t) ACPICOMPAT_PNP_INFO(t, spibus)
sys/dev/spibus/spi.h
53
#define SPIBUS_ACPI_PNP_INFO(t)
sys/dev/spibus/spibusvar.h
59
spibus_get_ ## A(device_t dev, T *t) \
sys/dev/spibus/spibusvar.h
62
SPIBUS_IVAR_ ## B, (uintptr_t *) t); \
sys/dev/spibus/spibusvar.h
65
spibus_set_ ## A(device_t dev, T t) \
sys/dev/spibus/spibusvar.h
68
SPIBUS_IVAR_ ## B, (uintptr_t) t); \
sys/dev/ste/if_ste.c
882
const struct ste_type *t;
sys/dev/ste/if_ste.c
884
t = ste_devs;
sys/dev/ste/if_ste.c
886
while (t->ste_name != NULL) {
sys/dev/ste/if_ste.c
887
if ((pci_get_vendor(dev) == t->ste_vid) &&
sys/dev/ste/if_ste.c
888
(pci_get_device(dev) == t->ste_did)) {
sys/dev/ste/if_ste.c
889
device_set_desc(dev, t->ste_name);
sys/dev/ste/if_ste.c
892
t++;
sys/dev/sym/sym_hipd.c
7883
int s, t;
sys/dev/sym/sym_hipd.c
7888
t = nsegs - 1;
sys/dev/sym/sym_hipd.c
7889
ps = psegs[t].ds_addr;
sys/dev/sym/sym_hipd.c
7890
pe = ps + psegs[t].ds_len;
sys/dev/sym/sym_hipd.c
7905
if (--t < 0)
sys/dev/sym/sym_hipd.c
7907
ps = psegs[t].ds_addr;
sys/dev/sym/sym_hipd.c
7908
pe = ps + psegs[t].ds_len;
sys/dev/sym/sym_hipd.c
7916
return t >= 0 ? -1 : 0;
sys/dev/syscons/rain/rain_saver.c
68
int i, t;
sys/dev/syscons/rain/rain_saver.c
70
t = rain_pal[BLUE(MAX)];
sys/dev/syscons/rain/rain_saver.c
73
rain_pal[BLUE(1)] = t;
sys/dev/syscons/sysmouse.c
219
smdev_param(struct tty *tp, struct termios *t)
sys/dev/syscons/sysmouse.c
226
t->c_ispeed = TTYDEF_SPEED;
sys/dev/syscons/sysmouse.c
227
t->c_ospeed = B0;
sys/dev/thunderbolt/nhi.c
323
bus_dma_template_t t;
sys/dev/thunderbolt/nhi.c
371
bus_dma_template_init(&t, sc->parent_dmat);
sys/dev/thunderbolt/nhi.c
372
t.alignment = 4;
sys/dev/thunderbolt/nhi.c
373
t.maxsize = t.maxsegsize = ring_size;
sys/dev/thunderbolt/nhi.c
374
t.nsegments = 1;
sys/dev/thunderbolt/nhi.c
375
if ((error = bus_dma_template_tag(&t, &r->ring_dmat)) != 0) {
sys/dev/thunderbolt/nhi.c
519
bus_dma_template_t t;
sys/dev/thunderbolt/nhi.c
538
bus_dma_template_init(&t, sc->parent_dmat);
sys/dev/thunderbolt/nhi.c
539
t.maxsize = t.maxsegsize = size;
sys/dev/thunderbolt/nhi.c
540
t.nsegments = 1;
sys/dev/thunderbolt/nhi.c
541
if (bus_dma_template_tag(&t, &sc->ring0_dmat)) {
sys/dev/thunderbolt/nhi_pci.c
112
bus_dma_template_t t;
sys/dev/thunderbolt/nhi_pci.c
150
bus_dma_template_init(&t, bus_get_dma_tag(dev));
sys/dev/thunderbolt/nhi_pci.c
151
if (bus_dma_template_tag(&t, &sc->parent_dmat) != 0) {
sys/dev/ti/if_ti.c
2355
const struct ti_type *t;
sys/dev/ti/if_ti.c
2357
t = ti_devs;
sys/dev/ti/if_ti.c
2359
while (t->ti_name != NULL) {
sys/dev/ti/if_ti.c
2360
if ((pci_get_vendor(dev) == t->ti_vid) &&
sys/dev/ti/if_ti.c
2361
(pci_get_device(dev) == t->ti_did)) {
sys/dev/ti/if_ti.c
2362
device_set_desc(dev, t->ti_name);
sys/dev/ti/if_ti.c
2365
t++;
sys/dev/uart/uart_tty.c
260
uart_tty_param(struct tty *tp, struct termios *t)
sys/dev/uart/uart_tty.c
268
if (t->c_ispeed != t->c_ospeed && t->c_ospeed != 0)
sys/dev/uart/uart_tty.c
270
if (t->c_ospeed == 0) {
sys/dev/uart/uart_tty.c
274
switch (t->c_cflag & CSIZE) {
sys/dev/uart/uart_tty.c
280
stopbits = (t->c_cflag & CSTOPB) ? 2 : 1;
sys/dev/uart/uart_tty.c
281
if (t->c_cflag & PARENB)
sys/dev/uart/uart_tty.c
282
parity = (t->c_cflag & PARODD) ? UART_PARITY_ODD :
sys/dev/uart/uart_tty.c
286
if (UART_PARAM(sc, t->c_ospeed, databits, stopbits, parity) != 0)
sys/dev/uart/uart_tty.c
288
if ((t->c_cflag & CNO_RTSDTR) == 0)
sys/dev/uart/uart_tty.c
292
if ((t->c_cflag & CRTS_IFLOW) && sc->sc_isquelch)
sys/dev/uart/uart_tty.c
295
if ((t->c_cflag & CNO_RTSDTR) == 0)
sys/dev/uart/uart_tty.c
299
UART_IOCTL(sc, UART_IOCTL_IFLOW, (t->c_cflag & CRTS_IFLOW));
sys/dev/uart/uart_tty.c
302
UART_IOCTL(sc, UART_IOCTL_OFLOW, (t->c_cflag & CCTS_OFLOW));
sys/dev/usb/controller/musb_otg_allwinner.c
243
awusbdrd_bs_r_1(awusb_bs_tag t, bus_space_handle_t h, bus_size_t o)
sys/dev/usb/controller/musb_otg_allwinner.c
245
struct bus_space *bs = t;
sys/dev/usb/controller/musb_otg_allwinner.c
256
awusbdrd_bs_r_1_noconf(awusb_bs_tag t, bus_space_handle_t h, bus_size_t o)
sys/dev/usb/controller/musb_otg_allwinner.c
266
return (awusbdrd_bs_r_1(t, h, o));
sys/dev/usb/controller/musb_otg_allwinner.c
271
awusbdrd_bs_r_2(awusb_bs_tag t, bus_space_handle_t h, bus_size_t o)
sys/dev/usb/controller/musb_otg_allwinner.c
273
struct bus_space *bs = t;
sys/dev/usb/controller/musb_otg_allwinner.c
281
awusbdrd_bs_w_1(awusb_bs_tag t, bus_space_handle_t h, bus_size_t o,
sys/dev/usb/controller/musb_otg_allwinner.c
284
struct bus_space *bs = t;
sys/dev/usb/controller/musb_otg_allwinner.c
293
awusbdrd_bs_w_2(awusb_bs_tag t, bus_space_handle_t h, bus_size_t o,
sys/dev/usb/controller/musb_otg_allwinner.c
296
struct bus_space *bs = t;
sys/dev/usb/controller/musb_otg_allwinner.c
305
awusbdrd_bs_rm_1(awusb_bs_tag t, bus_space_handle_t h, bus_size_t o,
sys/dev/usb/controller/musb_otg_allwinner.c
308
struct bus_space *bs = t;
sys/dev/usb/controller/musb_otg_allwinner.c
314
awusbdrd_bs_rm_4(awusb_bs_tag t, bus_space_handle_t h, bus_size_t o,
sys/dev/usb/controller/musb_otg_allwinner.c
317
struct bus_space *bs = t;
sys/dev/usb/controller/musb_otg_allwinner.c
323
awusbdrd_bs_wm_1(awusb_bs_tag t, bus_space_handle_t h, bus_size_t o,
sys/dev/usb/controller/musb_otg_allwinner.c
326
struct bus_space *bs = t;
sys/dev/usb/controller/musb_otg_allwinner.c
335
awusbdrd_bs_wm_4(awusb_bs_tag t, bus_space_handle_t h, bus_size_t o,
sys/dev/usb/controller/musb_otg_allwinner.c
338
struct bus_space *bs = t;
sys/dev/usb/controller/uhci.h
75
#define UHCI_TD_ZERO_ACTLEN(t) ((t) | 0x3ff)
sys/dev/usb/controller/uhci.h
99
#define UHCI_TD_SET_DT(t) ((t) << 19)
sys/dev/usb/controller/xhci.c
1106
uint8_t t;
sys/dev/usb/controller/xhci.c
1118
t = 2;
sys/dev/usb/controller/xhci.c
1154
if (!--t)
sys/dev/usb/net/if_auereg.h
220
#define AUE_LOCK_ASSERT(_sc, t) mtx_assert(&(_sc)->sc_mtx, t)
sys/dev/usb/net/if_axereg.h
363
#define AXE_LOCK_ASSERT(_sc, t) mtx_assert(&(_sc)->sc_mtx, t)
sys/dev/usb/net/if_axgereg.h
216
#define AXGE_LOCK_ASSERT(_sc, t) mtx_assert(&(_sc)->sc_mtx, t)
sys/dev/usb/net/if_cdcereg.h
122
#define CDCE_LOCK_ASSERT(_sc, t) mtx_assert(&(_sc)->sc_mtx, t)
sys/dev/usb/net/if_cuereg.h
132
#define CUE_LOCK_ASSERT(_sc, t) mtx_assert(&(_sc)->sc_mtx, t)
sys/dev/usb/net/if_iphethvar.h
104
#define IPHETH_LOCK_ASSERT(_sc, t) mtx_assert(&(_sc)->sc_mtx, t)
sys/dev/usb/net/if_kuereg.h
141
#define KUE_LOCK_ASSERT(_sc, t) mtx_assert(&(_sc)->sc_mtx, t)
sys/dev/usb/net/if_mosreg.h
176
#define MOS_LOCK_ASSERT(_sc, t) mtx_assert(&(_sc)->sc_mtx, t)
sys/dev/usb/net/if_muge.c
193
#define MUGE_LOCK_ASSERT(_sc, t) mtx_assert(&(_sc)->sc_mtx, t)
sys/dev/usb/net/if_ruereg.h
178
#define RUE_LOCK_ASSERT(_sc, t) mtx_assert(&(_sc)->sc_mtx, t)
sys/dev/usb/net/if_smscreg.h
275
#define SMSC_LOCK_ASSERT(_sc, t) mtx_assert(&(_sc)->sc_mtx, t)
sys/dev/usb/net/if_udavreg.h
168
#define UDAV_LOCK_ASSERT(_sc, t) mtx_assert(&(_sc)->sc_mtx, t)
sys/dev/usb/net/if_umb.c
165
#define umb_pin_type(t) umb_val2descr(umb_pintype, (t))
sys/dev/usb/net/if_urereg.h
618
#define URE_LOCK_ASSERT(_sc, t) mtx_assert(&(_sc)->sc_mtx, t)
sys/dev/usb/net/usb_ethernet.c
64
#define UE_LOCK_ASSERT(_ue, t) mtx_assert((_ue)->ue_mtx, t)
sys/dev/usb/serial/uark.c
361
uark_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/uark.c
363
if ((t->c_ospeed < 300) || (t->c_ospeed > 115200))
sys/dev/usb/serial/uark.c
369
uark_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/uark.c
372
uint32_t speed = t->c_ospeed;
sys/dev/usb/serial/uark.c
386
if (t->c_cflag & CSTOPB)
sys/dev/usb/serial/uark.c
391
if (t->c_cflag & PARENB) {
sys/dev/usb/serial/uark.c
392
if (t->c_cflag & PARODD)
sys/dev/usb/serial/uark.c
399
switch (t->c_cflag & CSIZE) {
sys/dev/usb/serial/ubsa.c
424
ubsa_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/ubsa.c
429
switch (t->c_ospeed) {
sys/dev/usb/serial/ubsa.c
450
ubsa_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/ubsa.c
457
switch (t->c_ospeed) {
sys/dev/usb/serial/ubsa.c
474
value = B230400 / t->c_ospeed;
sys/dev/usb/serial/ubsa.c
481
if (t->c_cflag & PARENB)
sys/dev/usb/serial/ubsa.c
482
value = (t->c_cflag & PARODD) ? UBSA_PARITY_ODD : UBSA_PARITY_EVEN;
sys/dev/usb/serial/ubsa.c
488
switch (t->c_cflag & CSIZE) {
sys/dev/usb/serial/ubsa.c
506
value = (t->c_cflag & CSTOPB) ? 1 : 0;
sys/dev/usb/serial/ubsa.c
511
if (t->c_cflag & CRTSCTS)
sys/dev/usb/serial/ubsa.c
514
if (t->c_iflag & (IXON | IXOFF))
sys/dev/usb/serial/ubser.c
338
ubser_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/ubser.c
349
switch (t->c_ospeed) {
sys/dev/usb/serial/ubser.c
357
if (t->c_cflag & CSTOPB)
sys/dev/usb/serial/ubser.c
361
if (t->c_cflag & PARENB)
sys/dev/usb/serial/ubser.c
365
switch (t->c_cflag & CSIZE) {
sys/dev/usb/serial/ubser.c
373
if ((t->c_cflag &
sys/dev/usb/serial/uchcom.c
709
uchcom_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/uchcom.c
720
if (t->c_ospeed <= 6000000)
sys/dev/usb/serial/uchcom.c
724
if (t->c_ospeed <= 2000000)
sys/dev/usb/serial/uchcom.c
733
uchcom_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/uchcom.c
740
if (t->c_cflag & CSTOPB)
sys/dev/usb/serial/uchcom.c
743
if (t->c_cflag & PARENB) {
sys/dev/usb/serial/uchcom.c
745
if (t->c_cflag & PARODD)
sys/dev/usb/serial/uchcom.c
751
switch (t->c_cflag & CSIZE) {
sys/dev/usb/serial/uchcom.c
768
uchcom_set_baudrate(sc, t->c_ospeed,
sys/dev/usb/serial/uchcom.c
771
uchcom_set_baudrate(sc, t->c_ospeed,
sys/dev/usb/serial/ucycom.c
472
ucycom_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/ucycom.c
474
switch (t->c_ospeed) {
sys/dev/usb/serial/ucycom.c
500
ucycom_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/ucycom.c
507
if (t->c_cflag & CIGNORE) {
sys/dev/usb/serial/ucycom.c
511
switch (t->c_cflag & CSIZE) {
sys/dev/usb/serial/ucycom.c
523
if (t->c_cflag & CSTOPB)
sys/dev/usb/serial/ucycom.c
525
if (t->c_cflag & PARENB)
sys/dev/usb/serial/ucycom.c
527
if (t->c_cflag & PARODD)
sys/dev/usb/serial/ucycom.c
531
ucycom_cfg_write(sc, t->c_ospeed, cfg);
sys/dev/usb/serial/udbc.c
341
udbc_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/ufintek.c
486
ufintek_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/ufintek.c
491
if ((t->c_ospeed <= 1) || (t->c_ospeed > 115200))
sys/dev/usb/serial/ufintek.c
498
DPRINTF("baud=%d\n", t->c_ospeed);
sys/dev/usb/serial/ufintek.c
500
divisor = ((uint32_t)UFINTEK_BAUD_REF) / ((uint32_t)t->c_ospeed);
sys/dev/usb/serial/ufintek.c
519
ufintek_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/ufintek.c
525
DPRINTF("baud=%d\n", t->c_ospeed);
sys/dev/usb/serial/ufintek.c
527
divisor = ((uint32_t)UFINTEK_BAUD_REF) / ((uint32_t)t->c_ospeed);
sys/dev/usb/serial/ufintek.c
541
if (!(t->c_cflag & CIGNORE)) {
sys/dev/usb/serial/ufintek.c
543
switch (t->c_cflag & CSIZE) {
sys/dev/usb/serial/ufintek.c
559
if (t->c_cflag & CSTOPB)
sys/dev/usb/serial/ufintek.c
561
if (t->c_cflag & PARODD)
sys/dev/usb/serial/ufintek.c
563
else if (t->c_cflag & PARENB)
sys/dev/usb/serial/ufoma.c
954
ufoma_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/ufoma.c
960
ufoma_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/ufoma.c
974
USETDW(ls.dwDTERate, t->c_ospeed);
sys/dev/usb/serial/ufoma.c
976
if (t->c_cflag & CSTOPB) {
sys/dev/usb/serial/ufoma.c
982
if (t->c_cflag & PARENB) {
sys/dev/usb/serial/ufoma.c
983
if (t->c_cflag & PARODD) {
sys/dev/usb/serial/ufoma.c
992
switch (t->c_cflag & CSIZE) {
sys/dev/usb/serial/uftdi.c
1579
uftdi_set_parm_soft(struct ucom_softc *ucom, struct termios *t,
sys/dev/usb/serial/uftdi.c
1588
err = uftdi_sio_encode_baudrate(sc, t->c_ospeed, cfg);
sys/dev/usb/serial/uftdi.c
1590
err = uftdi_encode_baudrate(sc, t->c_ospeed, cfg);
sys/dev/usb/serial/uftdi.c
1594
if (t->c_cflag & CSTOPB)
sys/dev/usb/serial/uftdi.c
1599
if (t->c_cflag & PARENB) {
sys/dev/usb/serial/uftdi.c
1600
if (t->c_cflag & PARODD) {
sys/dev/usb/serial/uftdi.c
1609
switch (t->c_cflag & CSIZE) {
sys/dev/usb/serial/uftdi.c
1627
if (t->c_cflag & CRTSCTS) {
sys/dev/usb/serial/uftdi.c
1629
} else if (t->c_iflag & (IXON | IXOFF)) {
sys/dev/usb/serial/uftdi.c
1631
cfg->v_start = t->c_cc[VSTART];
sys/dev/usb/serial/uftdi.c
1632
cfg->v_stop = t->c_cc[VSTOP];
sys/dev/usb/serial/uftdi.c
1641
uftdi_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/uftdi.c
1647
return (uftdi_set_parm_soft(ucom, t, &cfg));
sys/dev/usb/serial/uftdi.c
1651
uftdi_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/uftdi.c
1660
if (uftdi_set_parm_soft(ucom, t, &cfg)) {
sys/dev/usb/serial/umcs.c
606
umcs7840_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/umcs.c
614
if (t->c_cflag & CSTOPB) {
sys/dev/usb/serial/umcs.c
623
if (t->c_cflag & PARENB) {
sys/dev/usb/serial/umcs.c
625
if (t->c_cflag & PARODD) {
sys/dev/usb/serial/umcs.c
638
switch (t->c_cflag & CSIZE) {
sys/dev/usb/serial/umcs.c
657
if (t->c_cflag & CRTSCTS) {
sys/dev/usb/serial/umcs.c
663
if (t->c_cflag & (CDTR_IFLOW | CDSR_OFLOW)) {
sys/dev/usb/serial/umcs.c
677
umcs7840_set_baudrate(sc, pn, t->c_ospeed);
sys/dev/usb/serial/umcs.c
681
umcs7840_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/umcs.c
686
if (umcs7840_calc_baudrate(t->c_ospeed, &divisor, &clk) || !divisor)
sys/dev/usb/serial/umct.c
504
umct_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/umct.c
510
umct_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/umct.c
515
value = umct_calc_baud(t->c_ospeed);
sys/dev/usb/serial/umct.c
520
switch (t->c_cflag & CSIZE) {
sys/dev/usb/serial/umct.c
536
value |= (t->c_cflag & CSTOPB) ? 0x4 : 0;
sys/dev/usb/serial/umct.c
537
if (t->c_cflag & PARENB) {
sys/dev/usb/serial/umct.c
539
value |= (t->c_cflag & PARODD) ? 0x0 : 0x10;
sys/dev/usb/serial/umodem.c
574
umodem_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/umodem.c
580
umodem_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/umodem.c
590
USETDW(ls.dwDTERate, t->c_ospeed);
sys/dev/usb/serial/umodem.c
592
ls.bCharFormat = (t->c_cflag & CSTOPB) ?
sys/dev/usb/serial/umodem.c
595
ls.bParityType = (t->c_cflag & PARENB) ?
sys/dev/usb/serial/umodem.c
596
((t->c_cflag & PARODD) ?
sys/dev/usb/serial/umodem.c
599
switch (t->c_cflag & CSIZE) {
sys/dev/usb/serial/umoscom.c
456
umoscom_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/umoscom.c
458
if ((t->c_ospeed <= 1) || (t->c_ospeed > 115200))
sys/dev/usb/serial/umoscom.c
465
umoscom_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/umoscom.c
470
DPRINTF("speed=%d\n", t->c_ospeed);
sys/dev/usb/serial/umoscom.c
472
data = ((uint32_t)UMOSCOM_BAUD_REF) / ((uint32_t)t->c_ospeed);
sys/dev/usb/serial/umoscom.c
487
if (t->c_cflag & CSTOPB)
sys/dev/usb/serial/umoscom.c
492
if (t->c_cflag & PARENB) {
sys/dev/usb/serial/umoscom.c
493
if (t->c_cflag & PARODD)
sys/dev/usb/serial/umoscom.c
500
switch (t->c_cflag & CSIZE) {
sys/dev/usb/serial/uplcom.c
771
uplcom_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/uplcom.c
787
if (t->c_ospeed & 0x80000000)
sys/dev/usb/serial/uplcom.c
791
if (t->c_ospeed <= 12000000)
sys/dev/usb/serial/uplcom.c
795
if (t->c_ospeed <= 12000000)
sys/dev/usb/serial/uplcom.c
799
if (t->c_ospeed <= 6000000)
sys/dev/usb/serial/uplcom.c
803
if (uplcom_baud_supported(t->c_ospeed))
sys/dev/usb/serial/uplcom.c
808
DPRINTF("uplcom_param: bad baud rate (%d)\n", t->c_ospeed);
sys/dev/usb/serial/uplcom.c
855
uplcom_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/uplcom.c
868
if ((t->c_ospeed & 0x80000000) || uplcom_baud_supported(t->c_ospeed))
sys/dev/usb/serial/uplcom.c
869
USETDW(ls.dwDTERate, t->c_ospeed);
sys/dev/usb/serial/uplcom.c
871
t->c_ospeed = uplcom_encode_baud_rate_divisor((uint8_t*)&ls.dwDTERate, t->c_ospeed);
sys/dev/usb/serial/uplcom.c
873
if (t->c_cflag & CSTOPB) {
sys/dev/usb/serial/uplcom.c
874
if ((t->c_cflag & CSIZE) == CS5) {
sys/dev/usb/serial/uplcom.c
887
if (t->c_cflag & PARENB) {
sys/dev/usb/serial/uplcom.c
888
if (t->c_cflag & PARODD) {
sys/dev/usb/serial/uplcom.c
897
switch (t->c_cflag & CSIZE) {
sys/dev/usb/serial/uplcom.c
926
if (t->c_cflag & CRTSCTS) {
sys/dev/usb/serial/usb_serial.c
1322
ucom_param(struct tty *tp, struct termios *t)
sys/dev/usb/serial/usb_serial.c
1349
if (t->c_ispeed && (t->c_ispeed != t->c_ospeed)) {
sys/dev/usb/serial/usb_serial.c
1355
t->c_ispeed = t->c_ospeed;
sys/dev/usb/serial/usb_serial.c
1359
error = (sc->sc_callback->ucom_pre_param) (sc, t);
sys/dev/usb/serial/usb_serial.c
1370
error = ucom_queue_command(sc, ucom_cfg_param, t,
sys/dev/usb/serial/usb_serial.c
1383
if (t->c_cflag & CRTS_IFLOW) {
sys/dev/usb/serial/uslcom.c
608
uslcom_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/uslcom.c
629
if (t->c_ospeed <= 0 || t->c_ospeed > maxspeed)
sys/dev/usb/serial/uslcom.c
635
uslcom_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/uslcom.c
644
baudrate = t->c_ospeed;
sys/dev/usb/serial/uslcom.c
656
if (t->c_cflag & CSTOPB)
sys/dev/usb/serial/uslcom.c
660
if (t->c_cflag & PARENB) {
sys/dev/usb/serial/uslcom.c
661
if (t->c_cflag & PARODD)
sys/dev/usb/serial/uslcom.c
667
switch (t->c_cflag & CSIZE) {
sys/dev/usb/serial/uslcom.c
693
if (t->c_cflag & CRTSCTS) {
sys/dev/usb/serial/uvscom.c
540
uvscom_pre_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/uvscom.c
542
switch (t->c_ospeed) {
sys/dev/usb/serial/uvscom.c
562
uvscom_cfg_param(struct ucom_softc *ucom, struct termios *t)
sys/dev/usb/serial/uvscom.c
569
switch (t->c_ospeed) {
sys/dev/usb/serial/uvscom.c
611
if (t->c_cflag & CSTOPB) {
sys/dev/usb/serial/uvscom.c
614
if (t->c_cflag & PARENB) {
sys/dev/usb/serial/uvscom.c
615
if (t->c_cflag & PARODD) {
sys/dev/usb/serial/uvscom.c
624
switch (t->c_cflag & CSIZE) {
sys/dev/usb/usb_generic.c
1788
uint8_t t;
sys/dev/usb/usb_generic.c
1791
t = 1;
sys/dev/usb/usb_generic.c
1793
t = 0;
sys/dev/usb/usb_generic.c
1795
if (f->flag_short == t) {
sys/dev/usb/usb_generic.c
1803
f->flag_short = t;
sys/dev/usb/usb_generic.c
1832
usb_frlength_t t;
sys/dev/usb/usb_generic.c
1835
t = 0; /* use "wMaxPacketSize" */
sys/dev/usb/usb_generic.c
1837
t = *(int *)addr;
sys/dev/usb/usb_generic.c
1839
t = 256 * 1024;
sys/dev/usb/usb_generic.c
1841
if (f->bufsize == t) {
sys/dev/usb/usb_generic.c
1849
f->bufsize = t;
sys/dev/usb/usb_process.c
272
uint8_t t;
sys/dev/usb/usb_process.c
281
t = 0;
sys/dev/usb/usb_process.c
284
t |= 1;
sys/dev/usb/usb_process.c
287
t |= 2;
sys/dev/usb/usb_process.c
289
if (t == 0) {
sys/dev/usb/usb_process.c
295
} else if (t == 1) {
sys/dev/usb/usb_process.c
301
} else if (t == 2) {
sys/dev/usb/usb_process.c
307
} else if (t == 3) {
sys/dev/usb/usb_process.c
326
DPRINTF(" t=%u, num=%u\n", t, up->up_msg_num);
sys/dev/usb/usb_transfer.c
2287
usbd_xfer_set_timeout(struct usb_xfer *xfer, int t)
sys/dev/usb/usb_transfer.c
2289
xfer->timeout = t;
sys/dev/usb/wlan/if_mtwvar.h
387
#define MTW_LOCK_ASSERT(sc, t) mtx_assert(&(sc)->sc_mtx, t)
sys/dev/usb/wlan/if_rumreg.h
141
#define RT2573_TBCN_DELAY(t) (t)
sys/dev/usb/wlan/if_runvar.h
264
#define RUN_LOCK_ASSERT(sc, t) mtx_assert(&(sc)->sc_mtx, t)
sys/dev/usb/wlan/if_uralvar.h
134
#define RAL_LOCK_ASSERT(sc, t) mtx_assert(&(sc)->sc_mtx, t)
sys/dev/usb/wlan/if_zydreg.h
1313
#define ZYD_LOCK_ASSERT(sc, t) mtx_assert(&(sc)->sc_mtx, t)
sys/dev/vge/if_vge.c
643
struct vge_type *t;
sys/dev/vge/if_vge.c
645
t = vge_devs;
sys/dev/vge/if_vge.c
647
while (t->vge_name != NULL) {
sys/dev/vge/if_vge.c
648
if ((pci_get_vendor(dev) == t->vge_vid) &&
sys/dev/vge/if_vge.c
649
(pci_get_device(dev) == t->vge_did)) {
sys/dev/vge/if_vge.c
650
device_set_desc(dev, t->vge_name);
sys/dev/vge/if_vge.c
653
t++;
sys/dev/vkbd/vkbd.c
84
#define VKBD_SLEEP(s, f, d, t) \
sys/dev/vkbd/vkbd.c
85
msleep(&(s)->f, &(s)->ks_lock, PCATCH | PZERO, d, t)
sys/dev/vkbd/vkbd.c
93
#define VKBD_SLEEP(s, f, d, t) tsleep(&(s)->f, PCATCH | PZERO, d, t)
sys/dev/vmd/vmd.c
121
struct vmd_type *t;
sys/dev/vmd/vmd.c
126
for (t = vmd_devs; t->vmd_name != NULL; t++) {
sys/dev/vmd/vmd.c
127
if (vid == t->vmd_vid && did == t->vmd_did) {
sys/dev/vmd/vmd.c
128
device_set_desc(dev, t->vmd_name);
sys/dev/vmd/vmd.c
252
struct vmd_type *t;
sys/dev/vmd/vmd.c
281
for (t = vmd_devs; t->vmd_name != NULL; t++) {
sys/dev/vmd/vmd.c
282
if (vid == t->vmd_vid && did == t->vmd_did)
sys/dev/vmd/vmd.c
287
if ((t->flags & BUS_RESTRICT) &&
sys/dev/vmd/vmd.c
355
sc->vmd_fist_vector = (t->flags & VECTOR_OFFSET) ? 1 : 0;
sys/dev/vmd/vmd.c
357
if (vmd_bypass_msi && (t->flags & CAN_BYPASS_MSI)) {
sys/dev/vmware/vmci/vmci_kernel_if.h
32
#define vmci_list_scan_safe(_e, _l, n, t) \
sys/dev/vmware/vmci/vmci_kernel_if.h
33
LIST_FOREACH_SAFE(_e, _l, n, t)
sys/dev/vmware/vmci/vmci_kernel_if.h
34
#define vmci_list_swap(_l1, _l2, t, f) LIST_SWAP(_l1, _l2, t, f)
sys/dev/vr/if_vr.c
572
const struct vr_type *t = vr_devs;
sys/dev/vr/if_vr.c
574
for (t = vr_devs; t->vr_name != NULL; t++)
sys/dev/vr/if_vr.c
575
if ((pci_get_vendor(dev) == t->vr_vid) &&
sys/dev/vr/if_vr.c
576
(pci_get_device(dev) == t->vr_did))
sys/dev/vr/if_vr.c
577
return (t);
sys/dev/vr/if_vr.c
588
const struct vr_type *t;
sys/dev/vr/if_vr.c
590
t = vr_match(dev);
sys/dev/vr/if_vr.c
591
if (t != NULL) {
sys/dev/vr/if_vr.c
592
device_set_desc(dev, t->vr_name);
sys/dev/vr/if_vr.c
607
const struct vr_type *t;
sys/dev/vr/if_vr.c
614
t = vr_match(dev);
sys/dev/vr/if_vr.c
615
KASSERT(t != NULL, ("Lost if_vr device match"));
sys/dev/vr/if_vr.c
616
sc->vr_quirks = t->vr_quirks;
sys/dev/wbwd/wbwd.c
501
uint8_t t;
sys/dev/wbwd/wbwd.c
531
t = superio_read(dev, 0x2B) & ~0x10;
sys/dev/wbwd/wbwd.c
532
superio_write(dev, 0x2B, t); /* set GPIO24 to WDT0 */
sys/dev/wbwd/wbwd.c
536
t = superio_read(dev, 0x29) & ~0x60;
sys/dev/wbwd/wbwd.c
537
t |= 0x20;
sys/dev/wbwd/wbwd.c
538
superio_write(dev, 0x29, t);
sys/dev/wbwd/wbwd.c
542
t = superio_read(dev, 0x2b) & ~0x04;
sys/dev/wbwd/wbwd.c
543
superio_write(dev, 0x2b, t);
sys/dev/wbwd/wbwd.c
546
t = (superio_read(dev, 0x2B) & ~0x08) | 0x04;
sys/dev/wbwd/wbwd.c
547
superio_write(dev, 0x2B, t); /* set GPIO3 to WDT0 */
sys/dev/wbwd/wbwd.c
551
t = superio_read(dev, 0x2D) & ~0x01; /* PIN77 -> WDT0# */
sys/dev/wbwd/wbwd.c
552
superio_write(dev, 0x2D, t); /* set GPIO5 to WDT0 */
sys/dev/wbwd/wbwd.c
553
t = superio_read(dev, sc->ctl_reg);
sys/dev/wbwd/wbwd.c
554
t |= 0x02; /* enable the WDTO# output low pulse
sys/dev/wbwd/wbwd.c
556
superio_write(dev, sc->ctl_reg, t);
sys/dev/wbwd/wbwd.c
561
t = superio_read(dev, 0x2C) & ~0x80; /* PIN47 -> WDT0# */
sys/dev/wbwd/wbwd.c
562
superio_write(dev, 0x2C, t);
sys/dev/wbwd/wbwd.c
582
t = superio_read(dev, sc->ctl_reg);
sys/dev/wbwd/wbwd.c
583
t |= 0x02; /* enable the WDTO# output low pulse
sys/dev/wbwd/wbwd.c
585
superio_write(dev, sc->ctl_reg, t);
sys/dev/wg/crypto.h
90
uint32_t t[2];
sys/dev/wg/if_wg.c
100
uint32_t t;
sys/dev/wg/if_wg.c
107
uint32_t t;
sys/dev/wg/if_wg.c
1302
pkt.t = WG_PKT_INITIATION;
sys/dev/wg/if_wg.c
1321
pkt.t = WG_PKT_RESPONSE;
sys/dev/wg/if_wg.c
1335
pkt.t = WG_PKT_COOKIE;
sys/dev/wg/if_wg.c
1509
struct m_tag *t, *tmp;
sys/dev/wg/if_wg.c
1533
SLIST_FOREACH_SAFE(t, &m->m_pkthdr.tags, m_tag_link, tmp) {
sys/dev/wg/if_wg.c
1534
if ((t->m_tag_id != 0 || t->m_tag_cookie != MTAG_WGLOOP) &&
sys/dev/wg/if_wg.c
1535
t->m_tag_id != PACKET_TAG_MACLABEL)
sys/dev/wg/if_wg.c
1536
m_tag_delete(m, t);
sys/dev/wg/if_wg.c
1598
data->t = WG_PKT_DATA;
sys/dev/wg/if_wg.c
82
uint32_t t;
sys/dev/wg/if_wg.c
91
uint32_t t;
sys/dev/wg/wg_crypto.c
123
v[12] = blake2s_iv[4] ^ state->t[0];
sys/dev/wg/wg_crypto.c
124
v[13] = blake2s_iv[5] ^ state->t[1];
sys/dev/wg/wg_crypto.c
73
state->t[0] += inc;
sys/dev/wg/wg_crypto.c
74
state->t[1] += (state->t[0] < inc);
sys/dev/xen/netfront/netfront.c
350
static void tag_free(struct m_tag *t)
sys/dev/xen/netfront/netfront.c
352
struct mbuf_xennet *ref = (struct mbuf_xennet *)t;
sys/dev/xen/xenstore/xenstore.c
1270
xs_directory(struct xs_transaction t, const char *dir, const char *node,
sys/dev/xen/xenstore/xenstore.c
1279
error = xs_single(t, XS_DIRECTORY, sbuf_data(path), &len,
sys/dev/xen/xenstore/xenstore.c
1291
xs_exists(struct xs_transaction t, const char *dir, const char *node)
sys/dev/xen/xenstore/xenstore.c
1296
error = xs_directory(t, dir, node, &dir_n, &d);
sys/dev/xen/xenstore/xenstore.c
1304
xs_read(struct xs_transaction t, const char *dir, const char *node,
sys/dev/xen/xenstore/xenstore.c
1312
error = xs_single(t, XS_READ, sbuf_data(path), len, &ret);
sys/dev/xen/xenstore/xenstore.c
1321
xs_write(struct xs_transaction t, const char *dir, const char *node,
sys/dev/xen/xenstore/xenstore.c
1335
error = xs_talkv(t, XS_WRITE, iovec, 2, NULL, NULL);
sys/dev/xen/xenstore/xenstore.c
1342
xs_mkdir(struct xs_transaction t, const char *dir, const char *node)
sys/dev/xen/xenstore/xenstore.c
1348
ret = xs_single(t, XS_MKDIR, sbuf_data(path), NULL, NULL);
sys/dev/xen/xenstore/xenstore.c
1355
xs_rm(struct xs_transaction t, const char *dir, const char *node)
sys/dev/xen/xenstore/xenstore.c
1361
ret = xs_single(t, XS_RM, sbuf_data(path), NULL, NULL);
sys/dev/xen/xenstore/xenstore.c
1461
xs_transaction_start(struct xs_transaction *t)
sys/dev/xen/xenstore/xenstore.c
1469
t->id = strtoul(id_str, NULL, 0);
sys/dev/xen/xenstore/xenstore.c
1476
xs_transaction_end(struct xs_transaction t, int abort)
sys/dev/xen/xenstore/xenstore.c
1485
return (xs_single(t, XS_TRANSACTION_END, abortstr, NULL, NULL));
sys/dev/xen/xenstore/xenstore.c
1489
xs_scanf(struct xs_transaction t, const char *dir, const char *node,
sys/dev/xen/xenstore/xenstore.c
1496
error = xs_read(t, dir, node, NULL, (void **) &val);
sys/dev/xen/xenstore/xenstore.c
1513
xs_vprintf(struct xs_transaction t,
sys/dev/xen/xenstore/xenstore.c
1522
error = xs_write(t, dir, node, sbuf_data(sb));
sys/dev/xen/xenstore/xenstore.c
1529
xs_printf(struct xs_transaction t, const char *dir, const char *node,
sys/dev/xen/xenstore/xenstore.c
1536
error = xs_vprintf(t, dir, node, fmt, ap);
sys/dev/xen/xenstore/xenstore.c
1543
xs_gather(struct xs_transaction t, const char *dir, ...)
sys/dev/xen/xenstore/xenstore.c
1556
error = xs_read(t, dir, name, NULL, (void **) &p);
sys/dev/xen/xenstore/xenstore.c
813
xs_talkv(struct xs_transaction t, enum xsd_sockmsg_type request_type,
sys/dev/xen/xenstore/xenstore.c
821
msg.tx_id = t.id;
sys/dev/xen/xenstore/xenstore.c
884
xs_single(struct xs_transaction t, enum xsd_sockmsg_type request_type,
sys/dev/xen/xenstore/xenstore.c
892
return (xs_talkv(t, request_type, &iovec, 1, len, result));
sys/dev/xilinx/xlnx_pcib.c
430
bus_space_tag_t t;
sys/dev/xilinx/xlnx_pcib.c
433
t = rman_get_bustag(sc->res);
sys/dev/xilinx/xlnx_pcib.c
445
val = bus_space_read_4(t, h, XLNX_PCIE_PHYSCR);
sys/dev/xilinx/xlnx_pcib.c
464
bus_space_tag_t t;
sys/dev/xilinx/xlnx_pcib.c
476
t = rman_get_bustag(sc->res);
sys/dev/xilinx/xlnx_pcib.c
479
data = bus_space_read_4(t, h, offset & ~3);
sys/dev/xilinx/xlnx_pcib.c
508
bus_space_tag_t t;
sys/dev/xilinx/xlnx_pcib.c
521
t = rman_get_bustag(sc->res);
sys/dev/xilinx/xlnx_pcib.c
532
data = bus_space_read_4(t, h, offset & ~3);
sys/dev/xilinx/xlnx_pcib.c
535
bus_space_write_4(t, h, offset & ~3, htole32(data));
sys/dev/xilinx/xlnx_pcib.c
538
data = bus_space_read_4(t, h, offset & ~3);
sys/dev/xilinx/xlnx_pcib.c
541
bus_space_write_4(t, h, offset & ~3, htole32(data));
sys/dev/xilinx/xlnx_pcib.c
544
bus_space_write_4(t, h, offset, htole32(val));
sys/dev/xl/if_xl.c
898
const struct xl_type *t;
sys/dev/xl/if_xl.c
900
t = xl_devs;
sys/dev/xl/if_xl.c
902
while (t->xl_name != NULL) {
sys/dev/xl/if_xl.c
903
if ((pci_get_vendor(dev) == t->xl_vid) &&
sys/dev/xl/if_xl.c
904
(pci_get_device(dev) == t->xl_did)) {
sys/dev/xl/if_xl.c
905
device_set_desc(dev, t->xl_name);
sys/dev/xl/if_xl.c
908
t++;
sys/fs/nfs/nfs.h
160
#define NFS_SETTIME(t) do { \
sys/fs/nfs/nfs.h
161
(t).tv_sec = time.tv_sec; (t).tv_nsec = 1000 * time.tv_usec; } while (0)
sys/fs/nfs/nfs.h
408
#define NFSSET_ATTRBIT(t, f) do { \
sys/fs/nfs/nfs.h
409
(t)->bits[0] = (f)->bits[0]; \
sys/fs/nfs/nfs.h
410
(t)->bits[1] = (f)->bits[1]; \
sys/fs/nfs/nfs.h
411
(t)->bits[2] = (f)->bits[2]; \
sys/fs/nfs/nfs.h
552
#define NFSSET_OPBIT(t, f) do { \
sys/fs/nfs/nfs.h
553
(t)->bits[0] = (f)->bits[0]; \
sys/fs/nfs/nfs.h
554
(t)->bits[1] = (f)->bits[1]; \
sys/fs/nfs/nfs.h
555
(t)->bits[2] = (f)->bits[2]; \
sys/fs/nfs/nfsport.h
1020
#define NFSATTRISSET(t, v, a) ((v)->a != (t)VNOVAL)
sys/fs/nfs/nfsport.h
770
#define NFSSOCKADDR(a, t) ((t)(a))
sys/fs/nfs/nfsproto.h
781
#define vtonfsv2_mode(t,m) \
sys/fs/nfs/nfsproto.h
782
txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : \
sys/fs/nfs/nfsproto.h
783
MAKEIMODE((t), (m)))
sys/fs/nfs/xdr_subs.h
49
#define fxdr_unsigned(t, v) ((t)ntohl((int32_t)(v)))
sys/fs/nfs/xdr_subs.h
52
#define fxdr_nfsv2time(f, t) do { \
sys/fs/nfs/xdr_subs.h
53
(t)->tv_sec = ntohl(((struct nfsv2_time *)(f))->nfsv2_sec); \
sys/fs/nfs/xdr_subs.h
55
(t)->tv_nsec = 1000 * ntohl(((struct nfsv2_time *)(f))->nfsv2_usec); \
sys/fs/nfs/xdr_subs.h
57
(t)->tv_nsec = 0; \
sys/fs/nfs/xdr_subs.h
60
#define txdr_nfsv2time(f, t) do { \
sys/fs/nfs/xdr_subs.h
61
((struct nfsv2_time *)(t))->nfsv2_sec = htonl((f)->tv_sec); \
sys/fs/nfs/xdr_subs.h
63
((struct nfsv2_time *)(t))->nfsv2_usec = htonl((f)->tv_nsec / 1000); \
sys/fs/nfs/xdr_subs.h
65
((struct nfsv2_time *)(t))->nfsv2_usec = 0xffffffff; \
sys/fs/nfs/xdr_subs.h
68
#define fxdr_nfsv3time(f, t) do { \
sys/fs/nfs/xdr_subs.h
69
(t)->tv_sec = ntohl(((struct nfsv3_time *)(f))->nfsv3_sec); \
sys/fs/nfs/xdr_subs.h
70
(t)->tv_nsec = ntohl(((struct nfsv3_time *)(f))->nfsv3_nsec); \
sys/fs/nfs/xdr_subs.h
73
#define txdr_nfsv3time(f, t) do { \
sys/fs/nfs/xdr_subs.h
74
((struct nfsv3_time *)(t))->nfsv3_sec = htonl((f)->tv_sec); \
sys/fs/nfs/xdr_subs.h
75
((struct nfsv3_time *)(t))->nfsv3_nsec = htonl((f)->tv_nsec); \
sys/fs/nfs/xdr_subs.h
78
#define fxdr_nfsv4time(f, t) do { \
sys/fs/nfs/xdr_subs.h
79
(t)->tv_sec = ntohl(((struct nfsv4_time *)(f))->nfsv4_sec); \
sys/fs/nfs/xdr_subs.h
80
(t)->tv_nsec = (ntohl(((struct nfsv4_time *)(f))->nfsv4_nsec) % \
sys/fs/nfs/xdr_subs.h
84
#define txdr_nfsv4time(f, t) do { \
sys/fs/nfs/xdr_subs.h
85
((struct nfsv4_time *)(t))->nfsv4_highsec = 0; \
sys/fs/nfs/xdr_subs.h
86
((struct nfsv4_time *)(t))->nfsv4_sec = htonl((f)->tv_sec); \
sys/fs/nfs/xdr_subs.h
87
((struct nfsv4_time *)(t))->nfsv4_nsec = htonl((f)->tv_nsec); \
sys/fs/nfs/xdr_subs.h
95
txdr_hyper(uint64_t f, uint32_t* t)
sys/fs/nfs/xdr_subs.h
97
t[0] = htonl((u_int32_t)(f >> 32));
sys/fs/nfs/xdr_subs.h
98
t[1] = htonl((u_int32_t)(f & 0xffffffff));
sys/fs/nfsserver/nfs_fha_new.c
159
uint64_t t;
sys/fs/nfsserver/nfs_fha_new.c
179
t = 0;
sys/fs/nfsserver/nfs_fha_new.c
183
t ^= ((uint64_t)buf[i] << (i & 7) * 8);
sys/fs/nfsserver/nfs_fha_new.c
185
*fh = t;
sys/fs/procfs/procfs_dbregs.c
70
#define PROC(d, w, t, r) wrap32 ? \
sys/fs/procfs/procfs_dbregs.c
71
proc_ ## d ## _ ## w ## 32(t, r ## 32) : \
sys/fs/procfs/procfs_dbregs.c
72
proc_ ## d ## _ ## w(t, r)
sys/fs/procfs/procfs_dbregs.c
77
#define PROC(d, w, t, r) proc_ ## d ## _ ## w(t, r)
sys/fs/procfs/procfs_fpregs.c
64
#define PROC(d, w, t, r) wrap32 ? \
sys/fs/procfs/procfs_fpregs.c
65
proc_ ## d ## _ ## w ## 32(t, r ## 32) : \
sys/fs/procfs/procfs_fpregs.c
66
proc_ ## d ## _ ## w(t, r)
sys/fs/procfs/procfs_fpregs.c
71
#define PROC(d, w, t, r) proc_ ## d ## _ ## w(t, r)
sys/fs/procfs/procfs_regs.c
64
#define PROC(d, w, t, r) wrap32 ? \
sys/fs/procfs/procfs_regs.c
65
proc_ ## d ## _ ## w ## 32(t, r ## 32) : \
sys/fs/procfs/procfs_regs.c
66
proc_ ## d ## _ ## w(t, r)
sys/fs/procfs/procfs_regs.c
71
#define PROC(d, w, t, r) proc_ ## d ## _ ## w(t, r)
sys/fs/smbfs/smbfs_subr.c
92
u_long t;
sys/fs/smbfs/smbfs_subr.c
95
smb_time_local2server(tsp, tzoff, &t);
sys/fs/smbfs/smbfs_subr.c
96
tt.tv_sec = t;
sys/fs/udf/udf_vnops.c
219
udf_timetotimespec(struct timestamp *time, struct timespec *t)
sys/fs/udf/udf_vnops.c
233
t->tv_sec = 0;
sys/fs/udf/udf_vnops.c
234
t->tv_nsec = 0;
sys/fs/udf/udf_vnops.c
239
t->tv_sec = time->second;
sys/fs/udf/udf_vnops.c
240
t->tv_sec += time->minute * 60;
sys/fs/udf/udf_vnops.c
241
t->tv_sec += time->hour * 3600;
sys/fs/udf/udf_vnops.c
242
t->tv_sec += (time->day - 1) * 3600 * 24;
sys/fs/udf/udf_vnops.c
246
t->tv_sec += mon_lens[lpyear][time->month - 1] * 3600 * 24;
sys/fs/udf/udf_vnops.c
251
t->tv_sec += 1262304000;
sys/fs/udf/udf_vnops.c
254
t->tv_sec += 946684800;
sys/fs/udf/udf_vnops.c
257
t->tv_sec += 631152000;
sys/fs/udf/udf_vnops.c
260
t->tv_sec += 315532800;
sys/fs/udf/udf_vnops.c
267
t->tv_sec += daysinyear * 3600 * 24;
sys/fs/udf/udf_vnops.c
270
t->tv_nsec = time->centisec * 10000 + time->hund_usec * 100 +
sys/fs/udf/udf_vnops.c
282
t->tv_sec -= tz.s_tz_offset * 60;
sys/geom/geom_slice.c
221
off_t t;
sys/geom/geom_slice.c
241
t = bp->bio_offset + gsl->offset;
sys/geom/geom_slice.c
244
if (t >= ghp->offset + ghp->length)
sys/geom/geom_slice.c
246
if (t + bp->bio_length <= ghp->offset)
sys/geom/linux_lvm/g_linux_lvm.c
872
for (char *t = key; *t != '\0'; t++) \
sys/geom/linux_lvm/g_linux_lvm.c
873
if (isspace(*t)) { \
sys/geom/linux_lvm/g_linux_lvm.c
874
*t = '\0'; \
sys/geom/part/g_part_gpt.c
337
gpt_map_type(struct uuid *t)
sys/geom/part/g_part_gpt.c
342
if (EQUUID(t, uap->uuid))
sys/geom/raid/g_raid.c
1496
struct timeval now, t;
sys/geom/raid/g_raid.c
1521
t = now;
sys/geom/raid/g_raid.c
1525
timevalcmp(&vol->v_last_done, &t, < ))
sys/geom/raid/g_raid.c
1526
t = vol->v_last_done;
sys/geom/raid/g_raid.c
1528
timevalsub(&t, &now);
sys/geom/raid/g_raid.c
1530
t.tv_sec * 1000000 + t.tv_usec;
sys/geom/raid/g_raid.c
1564
t.tv_sec = g_raid_idle_threshold / 1000000;
sys/geom/raid/g_raid.c
1565
t.tv_usec = g_raid_idle_threshold % 1000000;
sys/geom/raid/g_raid.c
1566
timevaladd(&t, &vol->v_last_done);
sys/geom/raid/g_raid.c
1568
if (timevalcmp(&t, &now, <= )) {
sys/i386/i386/bpf_jit_machdep.h
420
#define JCC(t, f) do { \
sys/i386/i386/bpf_jit_machdep.h
423
emitm(&stream, ((t) << 8) | 0x0f, 2); \
sys/i386/i386/bpf_jit_machdep.h
429
emitm(&stream, ((t) << 8) | 0x0f, 2); \
sys/i386/i386/trap.c
1000
struct i386tss *t;
sys/i386/i386/trap.c
1007
t = PCPU_GET(common_tssp);
sys/i386/i386/trap.c
1014
t->tss_eip, t->tss_esp, t->tss_ebp, t->tss_eax,
sys/i386/i386/trap.c
1015
t->tss_edx, t->tss_ecx, t->tss_edi, t->tss_esi,
sys/i386/i386/trap.c
1016
t->tss_ebx,
sys/i386/i386/trap.c
1017
t->tss_eflags, t->tss_cs, t->tss_ss, t->tss_ds,
sys/i386/i386/trap.c
1018
t->tss_es, t->tss_fs, t->tss_gs, t->tss_cr3);
sys/i386/include/atomic.h
544
uint64_t t = *p;
sys/i386/include/atomic.h
545
if (atomic_cmpset_64(p, t, t + v))
sys/i386/include/atomic.h
546
return (t);
sys/i386/include/atomic.h
553
uint64_t t;
sys/i386/include/atomic.h
556
t = *p;
sys/i386/include/atomic.h
557
if (atomic_cmpset_64(p, t, t + v))
sys/i386/include/atomic.h
565
uint64_t t;
sys/i386/include/atomic.h
568
t = *p;
sys/i386/include/atomic.h
569
if (atomic_cmpset_64(p, t, t - v))
sys/i386/include/param.h
74
#define ALIGNED_POINTER(p, t) 1
sys/i386/linux/linux_proto.h
25
#define PAD_(t) (sizeof(syscallarg_t) <= sizeof(t) ? \
sys/i386/linux/linux_proto.h
26
0 : sizeof(syscallarg_t) - sizeof(t))
sys/i386/linux/linux_proto.h
29
#define PADL_(t) 0
sys/i386/linux/linux_proto.h
30
#define PADR_(t) PAD_(t)
sys/i386/linux/linux_proto.h
32
#define PADL_(t) PAD_(t)
sys/i386/linux/linux_proto.h
33
#define PADR_(t) 0
sys/isa/isavar.h
143
#define ISA_PNP_INFO(t) \
sys/isa/isavar.h
144
MODULE_PNP_INFO(ISA_PNP_DESCR, isa, t, t, nitems(t) - 1); \
sys/kern/imgact_binmisc.c
121
char t[IBE_INTERP_LEN_MAX];
sys/kern/imgact_binmisc.c
124
memset(t, 0, sizeof(t));
sys/kern/imgact_binmisc.c
130
sp = str; tp = t;
sys/kern/imgact_binmisc.c
151
memcpy(ibe->ibe_interpreter, t, len);
sys/kern/imgact_binmisc.c
160
tp = t;
sys/kern/imgact_binmisc.c
165
NDINIT(&nd, LOOKUP, FOLLOW | ISOPEN, UIO_SYSSPACE, t);
sys/kern/imgact_elf.c
237
#define aligned(a, t) (rounddown2((u_long)(a), sizeof(t)) == (u_long)(a))
sys/kern/kern_acct.c
337
int t, ret;
sys/kern/kern_acct.c
397
t = tmp.tv_sec * hz + tmp.tv_usec / tick;
sys/kern/kern_acct.c
398
if (t)
sys/kern/kern_acct.c
400
+ ru.ru_isrss) / t);
sys/kern/kern_clock.c
482
long global, newticks, *t;
sys/kern/kern_clock.c
487
t = DPCPU_PTR(pcputicks);
sys/kern/kern_clock.c
488
*t += cnt;
sys/kern/kern_clock.c
491
newticks = *t - global;
sys/kern/kern_clock.c
494
*t = global - 1;
sys/kern/kern_clock.c
498
} while (!atomic_fcmpset_long(&ticksl, &global, *t));
sys/kern/kern_clock.c
544
long *t;
sys/kern/kern_clock.c
548
t = DPCPU_ID_PTR(cpu, pcputicks);
sys/kern/kern_clock.c
549
*t = ticksl;
sys/kern/kern_clocksource.c
158
sbintime_t t, *hct;
sys/kern/kern_clocksource.c
217
t = getnextcpuevent(state, 0);
sys/kern/kern_clocksource.c
220
state->nextevent = t;
sys/kern/kern_clocksource.c
758
sbintime_t now, t;
sys/kern/kern_clocksource.c
776
t = getnextcpuevent(state, 1);
sys/kern/kern_clocksource.c
778
state->nextevent = t;
sys/kern/kern_clocksource.c
782
return (MAX(t - now, 0));
sys/kern/kern_descrip.c
484
u_int t;
sys/kern/kern_descrip.c
496
res |= ftes[i].t;
sys/kern/kern_descrip.c
505
{ .f = FD_CLOEXEC, .t = UF_EXCLOSE },
sys/kern/kern_descrip.c
506
{ .f = FD_CLOFORK, .t = UF_FOCLOSE },
sys/kern/kern_descrip.c
507
{ .f = FD_RESOLVE_BENEATH, .t = UF_RESOLVE_BENEATH },
sys/kern/kern_descrip.c
518
{ .f = UF_EXCLOSE, .t = FD_CLOEXEC },
sys/kern/kern_descrip.c
519
{ .f = UF_FOCLOSE, .t = FD_CLOFORK },
sys/kern/kern_descrip.c
520
{ .f = UF_RESOLVE_BENEATH, .t = FD_RESOLVE_BENEATH },
sys/kern/kern_descrip.c
531
{ .f = FDDUP_FLAG_CLOEXEC, .t = UF_EXCLOSE },
sys/kern/kern_descrip.c
532
{ .f = FDDUP_FLAG_CLOFORK, .t = UF_FOCLOSE },
sys/kern/kern_descrip.c
543
{ .f = CLOSE_RANGE_CLOEXEC, .t = UF_EXCLOSE },
sys/kern/kern_descrip.c
544
{ .f = CLOSE_RANGE_CLOFORK, .t = UF_FOCLOSE },
sys/kern/kern_descrip.c
555
{ .f = O_CLOEXEC, .t = UF_EXCLOSE },
sys/kern/kern_descrip.c
556
{ .f = O_CLOFORK, .t = UF_FOCLOSE },
sys/kern/kern_descrip.c
557
{ .f = O_RESOLVE_BENEATH, .t = UF_RESOLVE_BENEATH },
sys/kern/kern_devctl.c
518
const char *t;
sys/kern/kern_devctl.c
522
t = "ATTACH";
sys/kern/kern_devctl.c
525
t = "DETACH";
sys/kern/kern_devctl.c
528
t = "NOMATCH";
sys/kern/kern_devctl.c
532
what, t, sbuf_data(&sb) + beginlen);
sys/kern/kern_exit.c
1023
t = proc_realparent(p);
sys/kern/kern_exit.c
1024
PROC_LOCK(t);
sys/kern/kern_exit.c
1028
t->p_pid);
sys/kern/kern_exit.c
1029
proc_reparent(p, t, false);
sys/kern/kern_exit.c
1031
pksignal(t, SIGCHLD, p->p_ksi);
sys/kern/kern_exit.c
1032
wakeup(t);
sys/kern/kern_exit.c
1034
PROC_UNLOCK(t);
sys/kern/kern_exit.c
271
struct proc *p, *nq, *q, *t;
sys/kern/kern_exit.c
586
t = proc_realparent(q);
sys/kern/kern_exit.c
587
if (t == p) {
sys/kern/kern_exit.c
590
PROC_LOCK(t);
sys/kern/kern_exit.c
591
proc_reparent(q, t, true);
sys/kern/kern_exit.c
592
PROC_UNLOCK(t);
sys/kern/kern_exit.c
991
struct proc *q, *t;
sys/kern/kern_poll.c
295
static struct timeval prev_t, t;
sys/kern/kern_poll.c
301
microuptime(&t);
sys/kern/kern_poll.c
302
delta = (t.tv_usec - prev_t.tv_usec) +
sys/kern/kern_poll.c
303
(t.tv_sec - prev_t.tv_sec)*1000000;
sys/kern/kern_poll.c
307
prev_t = t;
sys/kern/kern_poll.c
375
struct timeval t;
sys/kern/kern_poll.c
397
microuptime(&t);
sys/kern/kern_poll.c
398
kern_load = (t.tv_usec - poll_start_t.tv_usec) +
sys/kern/kern_poll.c
399
(t.tv_sec - poll_start_t.tv_sec)*1000000; /* us */
sys/kern/kern_procctl.c
369
struct reap_kill_tracker *t;
sys/kern/kern_procctl.c
372
t = malloc(sizeof(struct reap_kill_tracker), M_TEMP, M_WAITOK);
sys/kern/kern_procctl.c
373
t->parent = p2;
sys/kern/kern_procctl.c
374
TAILQ_INSERT_TAIL(tracker, t, link);
sys/kern/kern_procctl.c
378
reap_kill_sched_free(struct reap_kill_tracker *t)
sys/kern/kern_procctl.c
380
PROC_TREE_UNREF(t->parent);
sys/kern/kern_procctl.c
381
free(t, M_TEMP);
sys/kern/kern_procctl.c
419
struct reap_kill_tracker *t;
sys/kern/kern_procctl.c
427
while ((t = TAILQ_FIRST(&tracker)) != NULL) {
sys/kern/kern_procctl.c
428
TAILQ_REMOVE(&tracker, t, link);
sys/kern/kern_procctl.c
437
if ((t->parent->p_treeflag & P_TREE_REAPER) == 0) {
sys/kern/kern_procctl.c
438
reap_kill_sched_free(t);
sys/kern/kern_procctl.c
443
LIST_FOREACH(p2, &t->parent->p_reaplist, p_reapsibling) {
sys/kern/kern_procctl.c
444
if (t->parent == reaper &&
sys/kern/kern_procctl.c
502
reap_kill_sched_free(t);
sys/kern/kern_sysctl.c
3097
int error, i, t, flags;
sys/kern/kern_sysctl.c
3100
t = db_read_token();
sys/kern/kern_sysctl.c
3101
if (t == tSLASH || t == tMINUS) {
sys/kern/kern_sysctl.c
3102
t = db_read_token();
sys/kern/kern_sysctl.c
3103
if (t != tIDENT) {
sys/kern/kern_sysctl.c
3111
db_unread_token(t);
sys/kern/kern_sysctl.c
3123
t = db_read_token();
sys/kern/kern_sysctl.c
3124
if (t != tIDENT) {
sys/kern/kern_sysctl.c
3134
t = db_read_token();
sys/kern/kern_sysctl.c
3135
if (t != tEOL) {
sys/kern/kern_tc.c
1375
time_t t;
sys/kern/kern_tc.c
1442
t = bt.sec;
sys/kern/kern_tc.c
1445
if (bt.sec != t)
sys/kern/kern_tc.c
1446
th->th_boottime.sec += bt.sec - t;
sys/kern/kern_tc.c
1944
int t;
sys/kern/kern_tc.c
1947
t = (99 + tc_timepercentage) / tc_timepercentage;
sys/kern/kern_tc.c
1948
tc_precexp = fls(t + (t >> 1)) - 1;
sys/kern/kern_thread.c
760
struct task *t;
sys/kern/kern_thread.c
772
t = malloc(sizeof(*t), M_TEMP, M_WAITOK);
sys/kern/kern_thread.c
773
TASK_INIT(t, 0, thread_reap_task_cb, t);
sys/kern/kern_thread.c
774
taskqueue_enqueue(taskqueue_thread, t);
sys/kern/kern_thread.c
775
taskqueue_drain(taskqueue_thread, t);
sys/kern/kern_thread.c
776
free(t, M_TEMP);
sys/kern/kern_timeout.c
1388
sbintime_t maxpr, maxt, medpr, medt, now, spr, st, t;
sys/kern/kern_timeout.c
1411
t = tmp->c_time - now;
sys/kern/kern_timeout.c
1412
if (t < 0)
sys/kern/kern_timeout.c
1413
t = 0;
sys/kern/kern_timeout.c
1414
st += t / SBT_1US;
sys/kern/kern_timeout.c
1416
if (t > maxt)
sys/kern/kern_timeout.c
1417
maxt = t;
sys/kern/kern_timeout.c
1420
ct[flssbt(t)]++;
sys/kern/kern_timeout.c
1462
t = (i != 0) ? (((sbintime_t)1) << (i - 1)) : 0;
sys/kern/kern_timeout.c
1466
t / SBT_1S, (t & 0xffffffff) * 1000000 >> 32,
sys/kern/kern_ubsan.c
87
#define SET(t, f) ((t) |= (f))
sys/kern/kern_ubsan.c
88
#define ISSET(t, f) ((t) & (f))
sys/kern/kern_ubsan.c
89
#define CLR(t, f) ((t) &= ~(f))
sys/kern/sched_ule.c
1941
const u_int t = (u_int)ticks;
sys/kern/sched_ule.c
1945
const u_int lu_span = t - ts->ts_ltick;
sys/kern/sched_ule.c
1954
ts->ts_ftick = t - t_tgt;
sys/kern/sched_ule.c
1955
ts->ts_ltick = t;
sys/kern/sched_ule.c
1959
if (t - ts->ts_ftick >= t_max) {
sys/kern/sched_ule.c
1977
ts->ts_ftick = t - t_tgt;
sys/kern/sched_ule.c
1982
ts->ts_ltick = t;
sys/kern/sched_ule.c
313
#define SCHED_AFFINITY(ts, t) ((u_int)ticks - (ts)->ts_rltick < (t) * affinity)
sys/kern/sched_ule.c
345
#define TDQ_LOCK_ASSERT(t, type) mtx_assert(TDQ_LOCKPTR((t)), (type))
sys/kern/sched_ule.c
346
#define TDQ_LOCK(t) mtx_lock_spin(TDQ_LOCKPTR((t)))
sys/kern/sched_ule.c
347
#define TDQ_LOCK_FLAGS(t, f) mtx_lock_spin_flags(TDQ_LOCKPTR((t)), (f))
sys/kern/sched_ule.c
348
#define TDQ_TRYLOCK(t) mtx_trylock_spin(TDQ_LOCKPTR((t)))
sys/kern/sched_ule.c
349
#define TDQ_TRYLOCK_FLAGS(t, f) mtx_trylock_spin_flags(TDQ_LOCKPTR((t)), (f))
sys/kern/sched_ule.c
350
#define TDQ_UNLOCK(t) mtx_unlock_spin(TDQ_LOCKPTR((t)))
sys/kern/sched_ule.c
351
#define TDQ_LOCKPTR(t) ((struct mtx *)(&(t)->tdq_lock))
sys/kern/subr_bus_dma.c
602
bus_dma_template_init(bus_dma_template_t *t, bus_dma_tag_t parent)
sys/kern/subr_bus_dma.c
605
if (t == NULL)
sys/kern/subr_bus_dma.c
608
t->parent = parent;
sys/kern/subr_bus_dma.c
609
t->alignment = 1;
sys/kern/subr_bus_dma.c
610
t->boundary = 0;
sys/kern/subr_bus_dma.c
611
t->lowaddr = t->highaddr = BUS_SPACE_MAXADDR;
sys/kern/subr_bus_dma.c
612
t->maxsize = t->maxsegsize = BUS_SPACE_MAXSIZE;
sys/kern/subr_bus_dma.c
613
t->nsegments = BUS_SPACE_UNRESTRICTED;
sys/kern/subr_bus_dma.c
614
t->lockfunc = NULL;
sys/kern/subr_bus_dma.c
615
t->lockfuncarg = NULL;
sys/kern/subr_bus_dma.c
616
t->flags = 0;
sys/kern/subr_bus_dma.c
620
bus_dma_template_tag(bus_dma_template_t *t, bus_dma_tag_t *dmat)
sys/kern/subr_bus_dma.c
623
if (t == NULL || dmat == NULL)
sys/kern/subr_bus_dma.c
626
return (bus_dma_tag_create(t->parent, t->alignment, t->boundary,
sys/kern/subr_bus_dma.c
627
t->lowaddr, t->highaddr, NULL, NULL, t->maxsize,
sys/kern/subr_bus_dma.c
628
t->nsegments, t->maxsegsize, t->flags, t->lockfunc, t->lockfuncarg,
sys/kern/subr_bus_dma.c
633
bus_dma_template_fill(bus_dma_template_t *t, bus_dma_param_t *kv, u_int count)
sys/kern/subr_bus_dma.c
641
t->parent = pkv->ptr;
sys/kern/subr_bus_dma.c
644
t->alignment = pkv->num;
sys/kern/subr_bus_dma.c
647
t->boundary = pkv->num;
sys/kern/subr_bus_dma.c
650
t->lowaddr = pkv->pa;
sys/kern/subr_bus_dma.c
653
t->highaddr = pkv->pa;
sys/kern/subr_bus_dma.c
656
t->maxsize = pkv->num;
sys/kern/subr_bus_dma.c
659
t->nsegments = pkv->num;
sys/kern/subr_bus_dma.c
662
t->maxsegsize = pkv->num;
sys/kern/subr_bus_dma.c
665
t->flags = pkv->num;
sys/kern/subr_bus_dma.c
668
t->lockfunc = pkv->ptr;
sys/kern/subr_bus_dma.c
671
t->lockfuncarg = pkv->ptr;
sys/kern/subr_bus_dma.c
674
t->name = pkv->ptr;
sys/kern/subr_fattime.c
262
uint16_t d, t;
sys/kern/subr_fattime.c
285
d = t = p = 0;
sys/kern/subr_fattime.c
286
timespec2fattime(&ts, 1, &d, &t, &p);
sys/kern/subr_fattime.c
287
printf("%04x %04x %02x -- ", d, t, p);
sys/kern/subr_fattime.c
292
(t >> 11) & 0x1f,
sys/kern/subr_fattime.c
293
(t >> 5) & 0x3f,
sys/kern/subr_fattime.c
294
((t >> 0) & 0x1f) * 2);
sys/kern/subr_fattime.c
297
fattime2timespec(d, t, p, 1, &ts);
sys/kern/subr_lock.c
390
int spin, int t)
sys/kern/subr_lock.c
404
if (l->ticks == t)
sys/kern/subr_lock.c
409
l->ticks = t;
sys/kern/subr_lock.c
424
int t)
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
445
int error, cpu, t;
sys/kern/subr_lock.c
461
t = ticks;
sys/kern/subr_lock.c
463
lock_prof_type_stats(&LP_CPU(cpu)->lpc_types[0], sb, 0, t);
sys/kern/subr_lock.c
464
lock_prof_type_stats(&LP_CPU(cpu)->lpc_types[1], sb, 1, t);
sys/kern/subr_rman.c
145
struct resource_i *r, *s, *t;
sys/kern/subr_rman.c
180
t = TAILQ_NEXT(s, r_link);
sys/kern/subr_rman.c
181
if (t && r->r_start <= t->r_end && r->r_end >= t->r_start) {
sys/kern/subr_rman.c
190
if (t && (r->r_end + 1 != t->r_start || t->r_flags != 0))
sys/kern/subr_rman.c
191
t = NULL;
sys/kern/subr_rman.c
196
if (t != NULL) {
sys/kern/subr_rman.c
197
s->r_end = t->r_end;
sys/kern/subr_rman.c
198
TAILQ_REMOVE(&rm->rm_list, t, r_link);
sys/kern/subr_rman.c
200
free(t, M_RMAN);
sys/kern/subr_rman.c
205
} else if (t != NULL) {
sys/kern/subr_rman.c
207
t->r_start = r->r_start;
sys/kern/subr_rman.c
301
struct resource_i *r, *s, *t, *new;
sys/kern/subr_rman.c
332
t = TAILQ_NEXT(r, r_link);
sys/kern/subr_rman.c
335
KASSERT(t == NULL || r->r_end + 1 == t->r_start,
sys/kern/subr_rman.c
347
if (end > r->r_end && (t == NULL || (t->r_flags & RF_ALLOCATED) ||
sys/kern/subr_rman.c
348
t->r_end < end)) {
sys/kern/subr_rman.c
370
(end < r->r_end && t != NULL && !(t->r_flags & RF_ALLOCATED))) {
sys/kern/subr_rman.c
371
KASSERT(t->r_flags == 0, ("next is busy"));
sys/kern/subr_rman.c
373
if (t->r_end == end) {
sys/kern/subr_rman.c
374
TAILQ_REMOVE(&rm->rm_list, t, r_link);
sys/kern/subr_rman.c
375
free(t, M_RMAN);
sys/kern/subr_rman.c
377
t->r_start = end + 1;
sys/kern/subr_rman.c
408
t = TAILQ_NEXT(r, r_link);
sys/kern/subr_rman.c
409
if (t != NULL && !(t->r_flags & RF_ALLOCATED)) {
sys/kern/subr_rman.c
410
t->r_start = end + 1;
sys/kern/subr_rman.c
660
struct resource_i *s, *t;
sys/kern/subr_rman.c
706
t = TAILQ_NEXT(r, r_link);
sys/kern/subr_rman.c
707
if (t != NULL && ((t->r_flags & RF_ALLOCATED) != 0 ||
sys/kern/subr_rman.c
708
r->r_end + 1 != t->r_start))
sys/kern/subr_rman.c
709
t = NULL;
sys/kern/subr_rman.c
711
if (s != NULL && t != NULL) {
sys/kern/subr_rman.c
715
s->r_end = t->r_end;
sys/kern/subr_rman.c
717
TAILQ_REMOVE(&rm->rm_list, t, r_link);
sys/kern/subr_rman.c
718
free(t, M_RMAN);
sys/kern/subr_rman.c
725
} else if (t != NULL) {
sys/kern/subr_rman.c
729
t->r_start = r->r_start;
sys/kern/subr_rman.c
836
rman_set_bustag(struct resource *r, bus_space_tag_t t)
sys/kern/subr_rman.c
839
r->r_bustag = t;
sys/kern/subr_smr.c
219
int t, d;
sys/kern/subr_smr.c
228
t = ticks;
sys/kern/subr_smr.c
233
d = t - s_wr.ticks;
sys/kern/subr_smr.c
239
s_wr.ticks = t;
sys/kern/subr_taskqueue.c
125
TASK_INIT(&timeout_task->t, priority, func, context);
sys/kern/subr_taskqueue.c
346
taskqueue_enqueue_locked(timeout_task->q, &timeout_task->t, 0);
sys/kern/subr_taskqueue.c
360
res = timeout_task->t.ta_pending;
sys/kern/subr_taskqueue.c
366
taskqueue_enqueue_locked(queue, &timeout_task->t, 0);
sys/kern/subr_taskqueue.c
616
error = taskqueue_cancel_locked(queue, &timeout_task->t, &pending1);
sys/kern/subr_taskqueue.c
669
taskqueue_drain(queue, &timeout_task->t);
sys/kern/subr_vmem.c
1603
bt_t *t;
sys/kern/subr_vmem.c
1618
t = TAILQ_NEXT(bt, bt_seglist);
sys/kern/subr_vmem.c
1619
if (t != NULL && t->bt_type == BT_TYPE_FREE) {
sys/kern/subr_vmem.c
1620
MPASS(BT_END(bt) < t->bt_start); /* YYY */
sys/kern/subr_vmem.c
1621
bt->bt_size += t->bt_size;
sys/kern/subr_vmem.c
1622
bt_remfree(vm, t);
sys/kern/subr_vmem.c
1623
bt_remseg(vm, t);
sys/kern/subr_vmem.c
1625
t = TAILQ_PREV(bt, vmem_seglist, bt_seglist);
sys/kern/subr_vmem.c
1626
if (t != NULL && t->bt_type == BT_TYPE_FREE) {
sys/kern/subr_vmem.c
1627
MPASS(BT_END(t) < bt->bt_start); /* YYY */
sys/kern/subr_vmem.c
1628
bt->bt_size += t->bt_size;
sys/kern/subr_vmem.c
1629
bt->bt_start = t->bt_start;
sys/kern/subr_vmem.c
1630
bt_remfree(vm, t);
sys/kern/subr_vmem.c
1631
bt_remseg(vm, t);
sys/kern/subr_witness.c
1196
init_verbose_tracker(struct verbose_tracker *t, struct sbuf *sb,
sys/kern/subr_witness.c
1200
KASSERT(t != NULL,
sys/kern/subr_witness.c
1204
t->sb = sb;
sys/kern/subr_witness.c
1205
t->check_generation = check_generation;
sys/kern/subr_witness.c
1206
t->alloc_flags = alloc_flags;
sys/kern/subr_witness.c
1210
reset_verbose_tracker(struct verbose_tracker *t, int generation)
sys/kern/subr_witness.c
1213
KASSERT(t != NULL,
sys/kern/subr_witness.c
1215
t->pair_count = 0;
sys/kern/subr_witness.c
1216
t->generation = generation;
sys/kern/subr_witness.c
1220
has_verbose_lockpair(const struct verbose_tracker *t, int from, int to)
sys/kern/subr_witness.c
1225
for (i = 0; i < (2 * t->pair_count); i += 2)
sys/kern/subr_witness.c
1226
if (t->pairs[i] == from && t->pairs[i + 1] == to)
sys/kern/subr_witness.c
1232
add_verbose_lockpair(struct verbose_tracker *t, int from, int to)
sys/kern/subr_witness.c
1236
if (has_verbose_lockpair(t, from, to))
sys/kern/subr_witness.c
1240
if (t->pair_count < NUM_VERBOSE_STACKS) {
sys/kern/subr_witness.c
1241
t->pairs[t->pair_count * 2] = from;
sys/kern/subr_witness.c
1242
t->pairs[(t->pair_count * 2) + 1] = to;
sys/kern/subr_witness.c
1243
t->pair_count++;
sys/kern/subr_witness.c
1248
sbuf_print_verbose_witness_chains(struct verbose_tracker *t, int from, int to)
sys/kern/subr_witness.c
1256
if (t->check_generation && t->generation != w_generation) {
sys/kern/subr_witness.c
1268
t->found[recursion_count] = 0;
sys/kern/subr_witness.c
1278
t->t_w1 = *w1;
sys/kern/subr_witness.c
1279
t->t_w2 = *w2;
sys/kern/subr_witness.c
1282
sbuf_printf(t->sb, "\"%s\" -> \"%s\"",
sys/kern/subr_witness.c
1283
t->t_w1.w_name, t->t_w2.w_name);
sys/kern/subr_witness.c
1291
if (t->check_generation &&
sys/kern/subr_witness.c
1292
t->generation != w_generation) {
sys/kern/subr_witness.c
1301
t->t_w1 = w_data[t->recursion_list[i]];
sys/kern/subr_witness.c
1303
sbuf_printf(t->sb, " -> \"%s\"", t->t_w1.w_name);
sys/kern/subr_witness.c
1306
sbuf_putc(t->sb, '\n');
sys/kern/subr_witness.c
1307
add_verbose_lockpair(t, from, to);
sys/kern/subr_witness.c
1308
t->found[recursion_count]++;
sys/kern/subr_witness.c
1311
if (t->check_generation && t->generation != w_generation) {
sys/kern/subr_witness.c
1329
t->recursion_list[recursion_count] = to;
sys/kern/subr_witness.c
1330
t->iter[recursion_count] = 1;
sys/kern/subr_witness.c
1334
for (; t->iter[recursion_count] < w_max_used_index;
sys/kern/subr_witness.c
1335
t->iter[recursion_count]++) {
sys/kern/subr_witness.c
1336
if (t->iter[recursion_count] == to ||
sys/kern/subr_witness.c
1337
t->iter[recursion_count] == from)
sys/kern/subr_witness.c
1339
if (isitmychild(&w_data[t->iter[recursion_count]],
sys/kern/subr_witness.c
1342
to = t->iter[recursion_count];
sys/kern/subr_witness.c
1350
to = t->recursion_list[recursion_count];
sys/kern/subr_witness.c
1351
if (t->found[recursion_count + 1] > 0) {
sys/kern/subr_witness.c
1352
add_verbose_lockpair(t, t->iter[recursion_count], to);
sys/kern/subr_witness.c
1353
t->found[recursion_count]++;
sys/kern/subr_witness.c
1355
t->iter[recursion_count]++;
sys/kern/subr_witness.c
1362
sbuf_print_verbose_witness_stacks(struct verbose_tracker *t)
sys/kern/subr_witness.c
1368
for (i = 0; i < (2 * t->pair_count); i += 2) {
sys/kern/subr_witness.c
1370
if (t->check_generation && t->generation != w_generation) {
sys/kern/subr_witness.c
1383
t->t_w1 = w_data[t->pairs[i]];
sys/kern/subr_witness.c
1384
t->t_w2 = w_data[t->pairs[i + 1]];
sys/kern/subr_witness.c
1385
data = witness_lock_order_get(&t->t_w1, &t->t_w2);
sys/kern/subr_witness.c
1387
stack_copy(&data->wlod_stack, &t->t_stack);
sys/kern/subr_witness.c
1388
hardcoded = (w_rmatrix[t->pairs[i]][t->pairs[i + 1]] &
sys/kern/subr_witness.c
1392
sbuf_printf(t->sb,
sys/kern/subr_witness.c
1395
t->t_w1.w_name, t->t_w1.w_class->lc_name,
sys/kern/subr_witness.c
1396
t->t_w2.w_name, t->t_w2.w_class->lc_name);
sys/kern/subr_witness.c
1398
stack_sbuf_print_flags(t->sb, &t->t_stack,
sys/kern/subr_witness.c
1399
t->alloc_flags, STACK_SBUF_FMT_LONG);
sys/kern/subr_witness.c
1401
sbuf_printf(t->sb, "(No stack trace)\n");
sys/kern/subr_witness.c
1402
sbuf_putc(t->sb, '\n');
sys/kern/subr_witness.c
1792
struct verbose_tracker *t;
sys/kern/subr_witness.c
1805
(t = malloc(sizeof(struct verbose_tracker),
sys/kern/subr_witness.c
1824
init_verbose_tracker(t, &sb, M_NOWAIT,
sys/kern/subr_witness.c
1826
reset_verbose_tracker(t, 0);
sys/kern/subr_witness.c
1830
sbuf_print_verbose_witness_chains(t,
sys/kern/subr_witness.c
1833
sbuf_print_verbose_witness_stacks(t);
sys/kern/subr_witness.c
1834
free(t, M_TEMP);
sys/kern/subr_witness.c
3028
struct verbose_tracker *t;
sys/kern/subr_witness.c
3041
t = malloc(sizeof(struct verbose_tracker), M_TEMP, M_WAITOK | M_ZERO);
sys/kern/subr_witness.c
3042
init_verbose_tracker(t, sb, M_WAITOK, check_generation);
sys/kern/subr_witness.c
3048
reset_verbose_tracker(t, generation);
sys/kern/subr_witness.c
3125
sbuf_print_verbose_witness_chains(t, i,
sys/kern/subr_witness.c
3127
if (data1 && !has_verbose_lockpair(t, i, j)) {
sys/kern/subr_witness.c
3128
sbuf_printf(t->sb,
sys/kern/subr_witness.c
3131
add_verbose_lockpair(t, i, j);
sys/kern/subr_witness.c
3134
sbuf_print_verbose_witness_stacks(t);
sys/kern/subr_witness.c
3136
reset_verbose_tracker(t, generation);
sys/kern/subr_witness.c
3144
sbuf_print_verbose_witness_chains(t, j,
sys/kern/subr_witness.c
3147
!has_verbose_lockpair(t, j, i)) {
sys/kern/subr_witness.c
3148
sbuf_printf(t->sb,
sys/kern/subr_witness.c
3151
add_verbose_lockpair(t, j, i);
sys/kern/subr_witness.c
3154
sbuf_print_verbose_witness_stacks(t);
sys/kern/subr_witness.c
3156
reset_verbose_tracker(t, generation);
sys/kern/subr_witness.c
3179
free(t, M_TEMP);
sys/kern/sys_process.c
905
#define PROC_READ(w, t, a) wrap32 ? \
sys/kern/sys_process.c
906
proc_read_ ## w ## 32(t, a) : \
sys/kern/sys_process.c
907
proc_read_ ## w (t, a)
sys/kern/sys_process.c
908
#define PROC_WRITE(w, t, a) wrap32 ? \
sys/kern/sys_process.c
909
(safe ? proc_write_ ## w ## 32(t, a) : EINVAL ) : \
sys/kern/sys_process.c
910
proc_write_ ## w (t, a)
sys/kern/sys_process.c
912
#define PROC_READ(w, t, a) proc_read_ ## w (t, a)
sys/kern/sys_process.c
913
#define PROC_WRITE(w, t, a) proc_write_ ## w (t, a)
sys/kern/tty.c
1000
t->c_ospeed = B50;
sys/kern/tty.c
1001
else if (t->c_ospeed > B115200)
sys/kern/tty.c
1002
t->c_ospeed = B115200;
sys/kern/tty.c
1003
t->c_cflag |= CREAD;
sys/kern/tty.c
1757
struct termios *t = data;
sys/kern/tty.c
1765
if (t->c_ispeed == 0)
sys/kern/tty.c
1766
t->c_ispeed = t->c_ospeed;
sys/kern/tty.c
1769
t->c_iflag &= TTYSUP_IFLAG;
sys/kern/tty.c
1770
t->c_oflag &= TTYSUP_OFLAG;
sys/kern/tty.c
1771
t->c_lflag &= TTYSUP_LFLAG;
sys/kern/tty.c
1772
t->c_cflag &= TTYSUP_CFLAG;
sys/kern/tty.c
1786
if ((t->c_cflag & CIGNORE) == 0 &&
sys/kern/tty.c
1787
(tp->t_termios.c_cflag != t->c_cflag ||
sys/kern/tty.c
1788
((tp->t_termios.c_iflag ^ t->c_iflag) &
sys/kern/tty.c
1790
tp->t_termios.c_ispeed != t->c_ispeed ||
sys/kern/tty.c
1791
tp->t_termios.c_ospeed != t->c_ospeed)) {
sys/kern/tty.c
1792
error = ttydevsw_param(tp, t);
sys/kern/tty.c
1798
tp->t_termios.c_cflag = t->c_cflag & ~CIGNORE;
sys/kern/tty.c
1799
tp->t_termios.c_ispeed = t->c_ispeed;
sys/kern/tty.c
1800
tp->t_termios.c_ospeed = t->c_ospeed;
sys/kern/tty.c
1815
if ((t->c_lflag & ICANON) != (tp->t_termios.c_lflag & ICANON))
sys/kern/tty.c
1817
else if (tp->t_termios.c_cc[VEOF] != t->c_cc[VEOF] ||
sys/kern/tty.c
1818
tp->t_termios.c_cc[VEOL] != t->c_cc[VEOL])
sys/kern/tty.c
1822
tp->t_termios.c_iflag = t->c_iflag;
sys/kern/tty.c
1823
tp->t_termios.c_oflag = t->c_oflag;
sys/kern/tty.c
1824
tp->t_termios.c_lflag = t->c_lflag;
sys/kern/tty.c
1825
memcpy(&tp->t_termios.c_cc, t->c_cc, sizeof t->c_cc);
sys/kern/tty.c
1831
if ((t->c_lflag & ICANON) == 0) {
sys/kern/tty.c
2407
_db_show_termios(const char *name, const struct termios *t)
sys/kern/tty.c
2412
t->c_iflag, t->c_oflag, t->c_cflag, t->c_lflag,
sys/kern/tty.c
2413
t->c_ispeed, t->c_ospeed);
sys/kern/tty.c
910
struct termios *t = &tp->t_termios_init_in;
sys/kern/tty.c
912
t->c_cflag = TTYDEF_CFLAG;
sys/kern/tty.c
913
t->c_iflag = TTYDEF_IFLAG;
sys/kern/tty.c
914
t->c_lflag = TTYDEF_LFLAG;
sys/kern/tty.c
915
t->c_oflag = TTYDEF_OFLAG;
sys/kern/tty.c
916
t->c_ispeed = TTYDEF_SPEED;
sys/kern/tty.c
917
t->c_ospeed = TTYDEF_SPEED;
sys/kern/tty.c
918
memcpy(&t->c_cc, ttydefchars, sizeof ttydefchars);
sys/kern/tty.c
920
tp->t_termios_init_out = *t;
sys/kern/tty.c
987
ttydevsw_defparam(struct tty *tp __unused, struct termios *t)
sys/kern/tty.c
995
if (t->c_ispeed < B50)
sys/kern/tty.c
996
t->c_ispeed = B50;
sys/kern/tty.c
997
else if (t->c_ispeed > B115200)
sys/kern/tty.c
998
t->c_ispeed = B115200;
sys/kern/tty.c
999
if (t->c_ospeed < B50)
sys/kern/tty_compat.c
332
ttcompatsetflags(struct tty *tp, struct termios *t)
sys/kern/tty_compat.c
335
tcflag_t iflag = t->c_iflag;
sys/kern/tty_compat.c
336
tcflag_t oflag = t->c_oflag;
sys/kern/tty_compat.c
337
tcflag_t lflag = t->c_lflag;
sys/kern/tty_compat.c
338
tcflag_t cflag = t->c_cflag;
sys/kern/tty_compat.c
402
t->c_iflag = iflag;
sys/kern/tty_compat.c
403
t->c_oflag = oflag;
sys/kern/tty_compat.c
404
t->c_lflag = lflag;
sys/kern/tty_compat.c
405
t->c_cflag = cflag;
sys/kern/tty_compat.c
409
ttcompatsetlflags(struct tty *tp, struct termios *t)
sys/kern/tty_compat.c
412
tcflag_t iflag = t->c_iflag;
sys/kern/tty_compat.c
413
tcflag_t oflag = t->c_oflag;
sys/kern/tty_compat.c
414
tcflag_t lflag = t->c_lflag;
sys/kern/tty_compat.c
415
tcflag_t cflag = t->c_cflag;
sys/kern/tty_compat.c
478
t->c_iflag = iflag;
sys/kern/tty_compat.c
479
t->c_oflag = oflag;
sys/kern/tty_compat.c
480
t->c_lflag = lflag;
sys/kern/tty_compat.c
481
t->c_cflag = cflag;
sys/kern/tty_compat.c
50
static void ttcompatsetflags(struct tty *tp, struct termios *t);
sys/kern/tty_compat.c
51
static void ttcompatsetlflags(struct tty *tp, struct termios *t);
sys/kern/tty_inq.c
222
#define CORRECT_BLOCK(t) do { \
sys/kern/tty_inq.c
223
if (t <= TTYINQ_DATASIZE) \
sys/kern/tty_inq.c
224
t = 0; \
sys/kern/tty_inq.c
226
t -= TTYINQ_DATASIZE; \
sys/kern/uipc_ktls.c
3467
size_t t, ta, tc;
sys/kern/uipc_ktls.c
3473
t = *sz;
sys/kern/uipc_ktls.c
3474
tc = MIN(t, ktls->params.cipher_key_len);
sys/kern/uipc_ktls.c
3477
ta = MIN(t - tc, ktls->params.auth_key_len);
sys/kern/uipc_mbuf2.c
109
struct mbuf *t;
sys/kern/uipc_mbuf2.c
111
for (t = m; t; t = t->m_next)
sys/kern/uipc_mbuf2.c
112
printf(" %d", t->m_len);
sys/kern/uipc_mbuf2.c
253
struct mbuf *t;
sys/kern/uipc_mbuf2.c
255
for (t = m; t; t = t->m_next)
sys/kern/uipc_mbuf2.c
256
printf("%c%d", t == n ? '*' : ' ', t->m_len);
sys/kern/uipc_mbuf2.c
302
m_tag_free_default(struct m_tag *t)
sys/kern/uipc_mbuf2.c
305
if (t->m_tag_id == PACKET_TAG_MACLABEL)
sys/kern/uipc_mbuf2.c
306
mac_mbuf_tag_destroy(t);
sys/kern/uipc_mbuf2.c
308
free(t, M_PACKET_TAGS);
sys/kern/uipc_mbuf2.c
315
struct m_tag *t;
sys/kern/uipc_mbuf2.c
320
t = malloc(len + sizeof(struct m_tag), M_PACKET_TAGS, wait);
sys/kern/uipc_mbuf2.c
321
if (t == NULL)
sys/kern/uipc_mbuf2.c
323
m_tag_setup(t, cookie, type, len);
sys/kern/uipc_mbuf2.c
324
t->m_tag_free = m_tag_free_default;
sys/kern/uipc_mbuf2.c
325
return t;
sys/kern/uipc_mbuf2.c
330
m_tag_delete(struct mbuf *m, struct m_tag *t)
sys/kern/uipc_mbuf2.c
333
KASSERT(m && t, ("m_tag_delete: null argument, m %p t %p", m, t));
sys/kern/uipc_mbuf2.c
334
m_tag_unlink(m, t);
sys/kern/uipc_mbuf2.c
335
m_tag_free(t);
sys/kern/uipc_mbuf2.c
340
m_tag_delete_chain(struct mbuf *m, struct m_tag *t)
sys/kern/uipc_mbuf2.c
345
if (t != NULL)
sys/kern/uipc_mbuf2.c
346
p = t;
sys/kern/uipc_mbuf2.c
375
m_tag_locate(struct mbuf *m, uint32_t cookie, uint16_t type, struct m_tag *t)
sys/kern/uipc_mbuf2.c
380
if (t == NULL)
sys/kern/uipc_mbuf2.c
383
p = SLIST_NEXT(t, m_tag_link);
sys/kern/uipc_mbuf2.c
394
m_tag_copy(struct m_tag *t, int how)
sys/kern/uipc_mbuf2.c
399
KASSERT(t, ("m_tag_copy: null tag"));
sys/kern/uipc_mbuf2.c
400
p = m_tag_alloc(t->m_tag_cookie, t->m_tag_id, t->m_tag_len, how);
sys/kern/uipc_mbuf2.c
409
if (t->m_tag_id == PACKET_TAG_MACLABEL) {
sys/kern/uipc_mbuf2.c
414
mac_mbuf_tag_copy(t, p);
sys/kern/uipc_mbuf2.c
417
bcopy(t + 1, p + 1, t->m_tag_len); /* Copy the data */
sys/kern/uipc_mbuf2.c
430
struct m_tag *p, *t, *tprev = NULL;
sys/kern/uipc_mbuf2.c
437
t = m_tag_copy(p, how);
sys/kern/uipc_mbuf2.c
438
if (t == NULL) {
sys/kern/uipc_mbuf2.c
443
SLIST_INSERT_HEAD(&to->m_pkthdr.tags, t, m_tag_link);
sys/kern/uipc_mbuf2.c
445
SLIST_INSERT_AFTER(tprev, t, m_tag_link);
sys/kern/uipc_mbuf2.c
446
tprev = t;
sys/kern/vfs_mount.c
2518
const char **t, *p, *q;
sys/kern/vfs_mount.c
2526
for(t = global_opts; *t != NULL; t++) {
sys/kern/vfs_mount.c
2527
if (strcmp(*t, p) == 0)
sys/kern/vfs_mount.c
2530
if (strcmp(*t, q) == 0)
sys/kern/vfs_mount.c
2534
if (*t != NULL)
sys/kern/vfs_mount.c
2536
for(t = legal; *t != NULL; t++) {
sys/kern/vfs_mount.c
2537
if (strcmp(*t, p) == 0)
sys/kern/vfs_mount.c
2540
if (strcmp(*t, q) == 0)
sys/kern/vfs_mount.c
2544
if (*t != NULL)
sys/kern/vfs_mountroot.c
188
struct root_hold_token *t;
sys/kern/vfs_mountroot.c
195
TAILQ_FOREACH(t, &root_holds, list) {
sys/kern/vfs_mountroot.c
196
if (t == h) {
sys/kgssapi/gss_add_oid_set_member.c
47
int t;
sys/kgssapi/gss_add_oid_set_member.c
52
member_oid, *oid_set, &t);
sys/kgssapi/gss_add_oid_set_member.c
55
if (t)
sys/kgssapi/krb5/kcrypto_aes.c
259
int i, off, t;
sys/kgssapi/krb5/kcrypto_aes.c
308
t = last2.cn[i];
sys/kgssapi/krb5/kcrypto_aes.c
310
last2.cn_1[i] = t;
sys/libkern/bcopy.c
104
t = length / wsize;
sys/libkern/bcopy.c
107
t = length & wmask;
sys/libkern/bcopy.c
117
t = (size_t)src;
sys/libkern/bcopy.c
119
if ((t | (ptraddr_t)dst) & wmask) {
sys/libkern/bcopy.c
120
if ((t ^ (ptraddr_t)dst) & wmask || length <= wsize) {
sys/libkern/bcopy.c
121
t = length;
sys/libkern/bcopy.c
123
t &= wmask;
sys/libkern/bcopy.c
126
length -= t;
sys/libkern/bcopy.c
129
t = length / wsize;
sys/libkern/bcopy.c
132
t = length & wmask;
sys/libkern/bcopy.c
66
size_t t;
sys/libkern/bcopy.c
78
#define TLOOP(s) if (t) TLOOP1(s)
sys/libkern/bcopy.c
79
#define TLOOP1(s) do { s; } while (--t)
sys/libkern/bcopy.c
85
t = (size_t)src; /* only need low bits */
sys/libkern/bcopy.c
87
if ((t | (ptraddr_t)dst) & wmask) {
sys/libkern/bcopy.c
92
if ((t ^ (ptraddr_t)dst) & wmask || length < wsize) {
sys/libkern/bcopy.c
93
t = length;
sys/libkern/bcopy.c
95
t = wsize - (t & wmask);
sys/libkern/bcopy.c
98
length -= t;
sys/libkern/qdivrem.c
147
t = v[2]; /* nonzero, by definition */
sys/libkern/qdivrem.c
148
q1 = u[1] / t;
sys/libkern/qdivrem.c
149
rbj = COMBINE(u[1] % t, u[2]);
sys/libkern/qdivrem.c
150
q2 = rbj / t;
sys/libkern/qdivrem.c
151
rbj = COMBINE(rbj % t, u[3]);
sys/libkern/qdivrem.c
152
q3 = rbj / t;
sys/libkern/qdivrem.c
153
rbj = COMBINE(rbj % t, u[4]);
sys/libkern/qdivrem.c
154
q4 = rbj / t;
sys/libkern/qdivrem.c
156
*arq = rbj % t;
sys/libkern/qdivrem.c
181
for (t = v[1]; t < B / 2; t <<= 1)
sys/libkern/qdivrem.c
228
for (t = 0, i = n; i > 0; i--) {
sys/libkern/qdivrem.c
229
t = u[i + j] - v[i] * qhat - t;
sys/libkern/qdivrem.c
230
u[i + j] = LHALF(t);
sys/libkern/qdivrem.c
231
t = (B - HHALF(t)) & (B - 1);
sys/libkern/qdivrem.c
233
t = u[j] - t;
sys/libkern/qdivrem.c
234
u[j] = LHALF(t);
sys/libkern/qdivrem.c
241
if (HHALF(t)) {
sys/libkern/qdivrem.c
243
for (t = 0, i = n; i > 0; i--) { /* D6: add back. */
sys/libkern/qdivrem.c
244
t += u[i + j] + v[i];
sys/libkern/qdivrem.c
245
u[i + j] = LHALF(t);
sys/libkern/qdivrem.c
246
t = HHALF(t);
sys/libkern/qdivrem.c
248
u[j] = LHALF(u[j] + t);
sys/libkern/qdivrem.c
85
u_long qhat, rhat, t;
sys/libkern/qsort.c
51
TYPE t = *pi; \
sys/libkern/qsort.c
53
*pj++ = t; \
sys/libkern/qsort.c
74
long t = *(long *)(a); \
sys/libkern/qsort.c
76
*(long *)(b) = t; \
sys/libkern/qsort.c
78
int t = *(int *)(a); \
sys/libkern/qsort.c
80
*(int *)(b) = t; \
sys/libkern/qsort.c
88
#define CMP(t, x, y) (cmp((x), (y), (t)))
sys/libkern/qsort.c
90
#define CMP(t, x, y) (cmp((x), (y)))
sys/net/altq/altq_cbq.c
463
struct pf_mtag *t;
sys/net/altq/altq_cbq.c
477
if ((t = pf_find_mtag(m)) != NULL)
sys/net/altq/altq_cbq.c
478
cl = clh_to_clp(cbqp, t->qid);
sys/net/altq/altq_codel.c
382
codel_control_law(u_int64_t t, u_int64_t interval, u_int32_t rec_inv_sqrt)
sys/net/altq/altq_codel.c
385
return (t + (u_int32_t)(((u_int64_t)interval *
sys/net/altq/altq_codel.c
66
static u_int64_t codel_control_law(u_int64_t t, u_int64_t, u_int32_t);
sys/net/altq/altq_fairq.c
486
struct pf_mtag *t;
sys/net/altq/altq_fairq.c
501
if ((t = pf_find_mtag(m)) != NULL) {
sys/net/altq/altq_fairq.c
502
cl = clh_to_clp(pif, t->qid);
sys/net/altq/altq_fairq.c
503
qid_hash = t->qid_hash;
sys/net/altq/altq_hfsc.c
659
struct pf_mtag *t;
sys/net/altq/altq_hfsc.c
673
if ((t = pf_find_mtag(m)) != NULL)
sys/net/altq/altq_hfsc.c
674
cl = clh_to_clp(hif, t->qid);
sys/net/altq/altq_priq.c
450
struct pf_mtag *t;
sys/net/altq/altq_priq.c
464
if ((t = pf_find_mtag(m)) != NULL)
sys/net/altq/altq_priq.c
465
cl = clh_to_clp(pif, t->qid);
sys/net/altq/altq_red.c
295
int t;
sys/net/altq/altq_red.c
299
t = (now.tv_sec - rp->red_last.tv_sec);
sys/net/altq/altq_red.c
300
if (t > 60) {
sys/net/altq/altq_red.c
307
t = t * 1000000 + (now.tv_usec - rp->red_last.tv_usec);
sys/net/altq/altq_red.c
308
n = t / rp->red_pkttime - 1;
sys/net/altq/altq_rio.c
321
int dpindex, i, n, t;
sys/net/altq/altq_rio.c
340
t = (now.tv_sec - prec->last.tv_sec);
sys/net/altq/altq_rio.c
341
if (t > 60)
sys/net/altq/altq_rio.c
344
t = t * 1000000 +
sys/net/altq/altq_rio.c
346
n = t / rp->rio_pkttime;
sys/net/altq/altq_rmclass.c
1247
#define NSEC_TO_USEC(t) (((t) >> 10) + ((t) >> 16) + ((t) >> 17))
sys/net/altq/altq_rmclass.c
1475
int delay, t, extradelay;
sys/net/altq/altq_rmclass.c
1520
t = hzto(&cl->undertime_);
sys/net/altq/altq_rmclass.c
1522
t = 2;
sys/net/altq/altq_rmclass.c
1523
CALLOUT_RESET(&cl->callout_, t, rmc_restart, cl);
sys/net/altq/altq_rmclass.c
465
rm_class_t *t = cl, *p;
sys/net/altq/altq_rmclass.c
470
while (t != NULL) {
sys/net/altq/altq_rmclass.c
471
p = t->parent_;
sys/net/altq/altq_rmclass.c
472
if (p && (t->depth_ >= p->depth_)) {
sys/net/altq/altq_rmclass.c
473
p->depth_ = t->depth_ + 1;
sys/net/altq/altq_rmclass.c
474
t = p;
sys/net/altq/altq_rmclass.c
476
t = NULL;
sys/net/altq/altq_rmclass.c
492
rm_class_t *p, *t;
sys/net/altq/altq_rmclass.c
496
if ((t = p->children_) == NULL) {
sys/net/altq/altq_rmclass.c
501
while (t != NULL) {
sys/net/altq/altq_rmclass.c
502
if (t->depth_ > cdepth)
sys/net/altq/altq_rmclass.c
503
cdepth = t->depth_;
sys/net/altq/altq_rmclass.c
504
t = t->next_;
sys/net/altq/altq_rmclass.c
517
rm_class_t *t;
sys/net/altq/altq_rmclass.c
522
} else if ((t = cl->children_) != NULL) {
sys/net/altq/altq_rmclass.c
523
while (t != NULL) {
sys/net/altq/altq_rmclass.c
524
if (t->children_ != NULL)
sys/net/altq/altq_rmclass.c
525
rmc_depth_recompute(t);
sys/net/altq/altq_rmclass.c
526
t = t->next_;
sys/net/altq/altq_var.h
157
#define CALLOUT_RESET(c,t,f,a) callout_reset((c),(t),(f),(a))
sys/net/bpf.h
187
#define BPF_T_FORMAT(t) ((t) & BPF_T_FORMAT_MASK)
sys/net/bpf.h
188
#define BPF_T_FLAG(t) ((t) & BPF_T_FLAG_MASK)
sys/net/bpf.h
189
#define BPF_T_VALID(t) \
sys/net/bpf.h
190
((t) == BPF_T_NONE || (BPF_T_FORMAT(t) != BPF_T_NONE && \
sys/net/bpf.h
191
((t) & ~(BPF_T_FORMAT_MASK | BPF_T_FLAG_MASK)) == 0))
sys/net/bridgestp.c
1493
bstp_set_htime(struct bstp_state *bs, int t)
sys/net/bridgestp.c
1496
t *= BSTP_TICK_VAL;
sys/net/bridgestp.c
1502
if (t < BSTP_MIN_HELLO_TIME || t > BSTP_MAX_HELLO_TIME)
sys/net/bridgestp.c
1506
bs->bs_bridge_htime = t;
sys/net/bridgestp.c
1513
bstp_set_fdelay(struct bstp_state *bs, int t)
sys/net/bridgestp.c
1516
t *= BSTP_TICK_VAL;
sys/net/bridgestp.c
1518
if (t < BSTP_MIN_FORWARD_DELAY || t > BSTP_MAX_FORWARD_DELAY)
sys/net/bridgestp.c
1522
bs->bs_bridge_fdelay = t;
sys/net/bridgestp.c
1529
bstp_set_maxage(struct bstp_state *bs, int t)
sys/net/bridgestp.c
1532
t *= BSTP_TICK_VAL;
sys/net/bridgestp.c
1534
if (t < BSTP_MIN_MAX_AGE || t > BSTP_MAX_MAX_AGE)
sys/net/bridgestp.c
1538
bs->bs_bridge_max_age = t;
sys/net/bridgestp.c
1940
bstp_timer_start(struct bstp_timer *t, uint16_t v)
sys/net/bridgestp.c
1942
t->value = v;
sys/net/bridgestp.c
1943
t->active = 1;
sys/net/bridgestp.c
1944
t->latched = 0;
sys/net/bridgestp.c
1948
bstp_timer_stop(struct bstp_timer *t)
sys/net/bridgestp.c
1950
t->value = 0;
sys/net/bridgestp.c
1951
t->active = 0;
sys/net/bridgestp.c
1952
t->latched = 0;
sys/net/bridgestp.c
1956
bstp_timer_latch(struct bstp_timer *t)
sys/net/bridgestp.c
1958
t->latched = 1;
sys/net/bridgestp.c
1959
t->active = 1;
sys/net/bridgestp.c
1963
bstp_timer_dectest(struct bstp_timer *t)
sys/net/bridgestp.c
1965
if (t->active == 0 || t->latched)
sys/net/bridgestp.c
1967
t->value -= BSTP_TICK_VAL;
sys/net/bridgestp.c
1968
if (t->value <= 0) {
sys/net/bridgestp.c
1969
bstp_timer_stop(t);
sys/net/debugnet.c
1008
t = db_read_token_flags(DRT_WSPACE);
sys/net/debugnet.c
1009
if (t == tWSPACE)
sys/net/debugnet.c
1010
t = db_read_token_flags(DRT_WSPACE);
sys/net/debugnet.c
1012
while (t != tEOL) {
sys/net/debugnet.c
1013
if (t != tMINUS) {
sys/net/debugnet.c
1015
cmd, t);
sys/net/debugnet.c
1019
t = db_read_token_flags(DRT_WSPACE);
sys/net/debugnet.c
1020
if (t != tIDENT) {
sys/net/debugnet.c
1022
cmd, t);
sys/net/debugnet.c
1054
t = db_read_token_flags(DRT_WSPACE);
sys/net/debugnet.c
1055
if (t != tWSPACE) {
sys/net/debugnet.c
1057
"flag %c, got %d\n", cmd, ch, t);
sys/net/debugnet.c
1062
t = db_read_token_flags(DRT_WSPACE);
sys/net/debugnet.c
1063
if (t != tIDENT) {
sys/net/debugnet.c
1065
cmd, t);
sys/net/debugnet.c
1093
t = db_read_token_flags(DRT_WSPACE);
sys/net/debugnet.c
1094
if (t == tEOL)
sys/net/debugnet.c
1096
if (t != tWSPACE) {
sys/net/debugnet.c
1098
"flag %c option; got %d\n", cmd, ch, t);
sys/net/debugnet.c
1101
t = db_read_token_flags(DRT_WSPACE);
sys/net/debugnet.c
937
int t;
sys/net/debugnet.c
941
t = db_read_token_flags(DRT_WSPACE | DRT_DECIMAL);
sys/net/debugnet.c
942
if (t != tNUMBER) {
sys/net/debugnet.c
944
__func__, opt->printname, octet, t);
sys/net/debugnet.c
963
t = db_read_token_flags(DRT_WSPACE);
sys/net/debugnet.c
964
if (t != tDOT) {
sys/net/debugnet.c
967
t);
sys/net/debugnet.c
982
int t, error;
sys/net/ieee8023ad_lacp.c
2094
const struct lacp_peerinfo *t;
sys/net/ieee8023ad_lacp.c
2096
t = a;
sys/net/ieee8023ad_lacp.c
2098
b = t;
sys/net/if_ethersubr.c
284
struct pf_mtag *t;
sys/net/if_ethersubr.c
383
((t = pf_find_mtag(m)) == NULL || !t->routed)) {
sys/net/if_gif.c
435
uint32_t t;
sys/net/if_gif.c
493
t = 0;
sys/net/if_gif.c
496
ECN_NOCARE, &t, &ip6->ip6_flow);
sys/net/if_gif.c
497
ecn = (ntohl(t) >> 20) & 0xff;
sys/net/if_gif.c
576
uint32_t t;
sys/net/if_gif.c
614
t = htonl((uint32_t)ecn << 20);
sys/net/if_gif.c
617
ECN_NOCARE, &t, &ip6->ip6_flow) == 0) {
sys/net/if_pflog.h
74
#define PFLOG_PACKET(b,t,c,d,e,f,g,h) do { \
sys/net/if_pflog.h
76
pflog_packet_ptr(b,t,c,d,e,f,g,h); \
sys/net/iflib.h
174
#define IFLIB_PNP_INFO(b, u, t) \
sys/net/iflib.h
175
MODULE_PNP_INFO(IFLIB_PNP_DESCR, b, u, t, nitems(t) - 1)
sys/net/pfvar.h
1856
#define pfr_kentry_counter(kc, dir, op, t) \
sys/net/pfvar.h
1858
(dir) * PFR_OP_ADDR_MAX * PFR_TYPE_MAX + (op) * PFR_TYPE_MAX + (t))
sys/net/pfvar.h
2794
struct timeval t;
sys/net/pfvar.h
2795
getmicrouptime(&t);
sys/net/pfvar.h
2796
return ((t.tv_sec * 1000) + (t.tv_usec / 1000));
sys/net/pfvar.h
2802
struct timeval t;
sys/net/pfvar.h
2803
getmicrotime(&t);
sys/net/pfvar.h
2804
return ((t.tv_sec * 1000) + (t.tv_usec / 1000));
sys/net/radix.c
1106
struct radix_node *t, *tt, *ttt;
sys/net/radix.c
1108
t = rn_newpair(rn_zeros, off, base_nodes);
sys/net/radix.c
1110
t->rn_right = ttt;
sys/net/radix.c
1111
t->rn_parent = t;
sys/net/radix.c
1112
tt = t->rn_left; /* ... which in turn is base_nodes */
sys/net/radix.c
1113
tt->rn_flags = t->rn_flags = RNF_ROOT | RNF_ACTIVE;
sys/net/radix.c
1118
rh->rnh_treetop = t;
sys/net/radix.c
274
struct radix_node *t = head->rnh_treetop, *x;
sys/net/radix.c
277
struct radix_node *saved_t, *top = t;
sys/net/radix.c
278
int off = t->rn_offset, vlen = LEN(cp), matched_off;
sys/net/radix.c
285
for (; t->rn_bit >= 0; ) {
sys/net/radix.c
286
if (t->rn_bmask & cp[t->rn_offset])
sys/net/radix.c
287
t = t->rn_right;
sys/net/radix.c
289
t = t->rn_left;
sys/net/radix.c
302
if (t->rn_mask)
sys/net/radix.c
303
vlen = *(u_char *)t->rn_mask;
sys/net/radix.c
304
cp += off; cp2 = t->rn_key + off; cplim = v + vlen;
sys/net/radix.c
315
if (t->rn_flags & RNF_ROOT)
sys/net/radix.c
316
t = t->rn_dupedkey;
sys/net/radix.c
317
return (t);
sys/net/radix.c
328
if ((saved_t = t)->rn_mask == 0)
sys/net/radix.c
329
t = t->rn_dupedkey;
sys/net/radix.c
330
for (; t; t = t->rn_dupedkey)
sys/net/radix.c
336
if (t->rn_flags & RNF_NORMAL) {
sys/net/radix.c
337
if (rn_bit <= t->rn_bit)
sys/net/radix.c
338
return (t);
sys/net/radix.c
339
} else if (rn_satisfies_leaf(v, t, matched_off))
sys/net/radix.c
340
return (t);
sys/net/radix.c
341
t = saved_t;
sys/net/radix.c
345
t = t->rn_parent;
sys/net/radix.c
346
m = t->rn_mklist;
sys/net/radix.c
358
off = min(t->rn_offset, matched_off);
sys/net/radix.c
359
x = rn_search_m(v, t, m->rm_mask);
sys/net/radix.c
367
} while (t != top);
sys/net/radix.c
406
struct radix_node *tt = nodes, *t = tt + 1;
sys/net/radix.c
407
t->rn_bit = b;
sys/net/radix.c
408
t->rn_bmask = 0x80 >> (b & 7);
sys/net/radix.c
409
t->rn_left = tt;
sys/net/radix.c
410
t->rn_offset = b >> 3;
sys/net/radix.c
413
t->rn_parent = t->rn_right = NULL;
sys/net/radix.c
421
tt->rn_parent = t;
sys/net/radix.c
422
tt->rn_flags = t->rn_flags = RNF_ACTIVE;
sys/net/radix.c
423
tt->rn_mklist = t->rn_mklist = 0;
sys/net/radix.c
425
tt->rn_info = rn_nodenum++; t->rn_info = rn_nodenum++;
sys/net/radix.c
426
tt->rn_twin = t;
sys/net/radix.c
430
return (t);
sys/net/radix.c
440
struct radix_node *t = rn_search(v_arg, top);
sys/net/radix.c
447
caddr_t cp2 = t->rn_key + head_off;
sys/net/radix.c
455
return (t);
sys/net/radix.c
476
t = rn_newpair(v_arg, b, nodes);
sys/net/radix.c
477
tt = t->rn_left;
sys/net/radix.c
479
p->rn_left = t;
sys/net/radix.c
481
p->rn_right = t;
sys/net/radix.c
482
x->rn_parent = t;
sys/net/radix.c
483
t->rn_parent = p; /* frees x, p as temp vars below */
sys/net/radix.c
484
if ((cp[t->rn_offset] & t->rn_bmask) == 0) {
sys/net/radix.c
485
t->rn_right = x;
sys/net/radix.c
487
t->rn_right = tt;
sys/net/radix.c
488
t->rn_left = x;
sys/net/radix.c
611
struct radix_node *t, *x = NULL, *tt;
sys/net/radix.c
638
for (t = tt; tt; t = tt, tt = tt->rn_dupedkey) {
sys/net/radix.c
664
(tt = treenodes)->rn_dupedkey = t;
sys/net/radix.c
665
tt->rn_flags = t->rn_flags;
sys/net/radix.c
666
tt->rn_parent = x = t->rn_parent;
sys/net/radix.c
667
t->rn_parent = tt; /* parent */
sys/net/radix.c
668
if (x->rn_left == t)
sys/net/radix.c
674
(tt = treenodes)->rn_dupedkey = t->rn_dupedkey;
sys/net/radix.c
675
t->rn_dupedkey = tt;
sys/net/radix.c
676
tt->rn_parent = t; /* parent */
sys/net/radix.c
681
t=tt+1; tt->rn_info = rn_nodenum++; t->rn_info = rn_nodenum++;
sys/net/radix.c
682
tt->rn_twin = t; tt->rn_ybro = rn_clist; rn_clist = tt;
sys/net/radix.c
696
t = saved_tt->rn_parent;
sys/net/radix.c
699
b_leaf = -1 - t->rn_bit;
sys/net/radix.c
700
if (t->rn_right == saved_tt)
sys/net/radix.c
701
x = t->rn_left;
sys/net/radix.c
703
x = t->rn_right;
sys/net/radix.c
706
for (mp = &t->rn_mklist; x; x = x->rn_dupedkey)
sys/net/radix.c
719
t->rn_mklist = m; *mp = NULL;
sys/net/radix.c
723
if ((netmask == 0) || (b > t->rn_bit ))
sys/net/radix.c
727
x = t;
sys/net/radix.c
728
t = t->rn_parent;
sys/net/radix.c
729
} while (b <= t->rn_bit && x != top);
sys/net/radix.c
766
struct radix_node *t, *p, *x, *tt;
sys/net/radix.c
812
t = saved_tt->rn_parent;
sys/net/radix.c
813
if (b > t->rn_bit)
sys/net/radix.c
816
x = t;
sys/net/radix.c
817
t = t->rn_parent;
sys/net/radix.c
818
} while (b <= t->rn_bit && x != top);
sys/net/radix.c
838
for (t = rn_clist; t && t->rn_ybro != tt; t = t->rn_ybro) {}
sys/net/radix.c
839
if (t) t->rn_ybro = tt->rn_ybro;
sys/net/radix.c
841
t = tt->rn_parent;
sys/net/radix.c
850
x = dupedkey; x->rn_parent = t;
sys/net/radix.c
851
if (t->rn_left == tt)
sys/net/radix.c
852
t->rn_left = x;
sys/net/radix.c
854
t->rn_right = x;
sys/net/radix.c
866
t = tt + 1;
sys/net/radix.c
867
if (t->rn_flags & RNF_ACTIVE) {
sys/net/radix.c
869
*++x = *t;
sys/net/radix.c
870
p = t->rn_parent;
sys/net/radix.c
872
b = t->rn_info;
sys/net/radix.c
873
*++x = *t;
sys/net/radix.c
874
t->rn_info = b;
sys/net/radix.c
875
p = t->rn_parent;
sys/net/radix.c
877
if (p->rn_left == t)
sys/net/radix.c
886
if (t->rn_left == tt)
sys/net/radix.c
887
x = t->rn_right;
sys/net/radix.c
889
x = t->rn_left;
sys/net/radix.c
890
p = t->rn_parent;
sys/net/radix.c
891
if (p->rn_right == t)
sys/net/radix.c
899
if (t->rn_mklist) {
sys/net/radix.c
903
*mp = t->rn_mklist;
sys/net/radix.c
908
for (m = t->rn_mklist; m && x; x = x->rn_dupedkey)
sys/net/radix.c
926
if (t != x) {
sys/net/radix.c
928
*t = *x;
sys/net/radix.c
930
b = t->rn_info;
sys/net/radix.c
931
*t = *x;
sys/net/radix.c
932
t->rn_info = b;
sys/net/radix.c
934
t->rn_left->rn_parent = t;
sys/net/radix.c
935
t->rn_right->rn_parent = t;
sys/net/radix.c
938
p->rn_left = t;
sys/net/radix.c
940
p->rn_right = t;
sys/net/radix.h
152
#define R_Malloc(p, t, n) (p = (t) malloc((unsigned int)(n)))
sys/net/radix.h
153
#define R_Zalloc(p, t, n) (p = (t) calloc(1,(unsigned int)(n)))
sys/net/radix.h
156
#define R_Malloc(p, t, n) (p = (t) malloc((unsigned long)(n), M_RTABLE, M_NOWAIT))
sys/net/radix.h
157
#define R_Zalloc(p, t, n) (p = (t) malloc((unsigned long)(n), M_RTABLE, M_NOWAIT | M_ZERO))
sys/net/vnet.h
277
#define VNET_DECLARE(t, n) extern t VNET_NAME(n)
sys/net/vnet.h
279
#define VNET_DEFINE(t, n) \
sys/net/vnet.h
280
struct _hack; t VNET_NAME(n) __section(VNET_SETNAME) __used
sys/net/vnet.h
287
#define VNET_DEFINE_STATIC(t, n) \
sys/net/vnet.h
288
t VNET_NAME(n) __section(VNET_SETNAME) __used
sys/net/vnet.h
290
#define VNET_DEFINE_STATIC(t, n) \
sys/net/vnet.h
291
static t VNET_NAME(n) __section(VNET_SETNAME) __used
sys/net/vnet.h
431
#define VNET_DECLARE(t, n) extern t n
sys/net/vnet.h
432
#define VNET_DEFINE(t, n) struct _hack; t n
sys/net/vnet.h
433
#define VNET_DEFINE_STATIC(t, n) static t n
sys/net80211/ieee80211.h
209
#define IEEE80211_IS_FC0_CHECK_VER_TYPE(wh, v, t) \
sys/net80211/ieee80211.h
211
(((wh)->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == (t)))
sys/net80211/ieee80211.h
214
#define IEEE80211_IS_FC0_CHECK_VER_TYPE_SUBTYPE(wh, v, t, st) \
sys/net80211/ieee80211.h
216
(((wh)->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == (t)) && \
sys/net80211/ieee80211_crypto_tkip.c
589
u16 t = Sbox[Hi8(v)];
sys/net80211/ieee80211_crypto_tkip.c
590
return Sbox[Lo8(v)] ^ ((t << 8) | (t >> 8));
sys/net80211/ieee80211_crypto_tkip.c
675
#define S_SWAP(a,b) do { u8 t = S[a]; S[a] = S[b]; S[b] = t; } while(0)
sys/net80211/ieee80211_crypto_wep.c
347
#define S_SWAP(a,b) do { uint8_t t = S[a]; S[a] = S[b]; S[b] = t; } while(0)
sys/net80211/ieee80211_crypto_wep.c
430
#define S_SWAP(a,b) do { uint8_t t = S[a]; S[a] = S[b]; S[b] = t; } while(0)
sys/net80211/ieee80211_freebsd.c
228
int t = 0, error;
sys/net80211/ieee80211_freebsd.c
230
error = sysctl_handle_int(oidp, &t, 0, req);
sys/net80211/ieee80211_freebsd.c
249
int t = 0, error;
sys/net80211/ieee80211_freebsd.c
251
error = sysctl_handle_int(oidp, &t, 0, req);
sys/net80211/ieee80211_freebsd.h
280
#define ticks_to_msecs(t) TICKS_2_MSEC(t)
sys/net80211/ieee80211_freebsd.h
281
#define ticks_to_secs(t) ((t) / hz)
sys/net80211/ieee80211_regdomain.c
203
uint8_t *ai, *t;
sys/net80211/ieee80211_regdomain.c
207
for (t = ai; t > aa; t -= size) {
sys/net80211/ieee80211_regdomain.c
208
uint8_t *u = t - size;
sys/net80211/ieee80211_regdomain.c
209
if (chancompar(u, t) <= 0)
sys/net80211/ieee80211_regdomain.c
211
swap(u, t, size);
sys/netgraph/netflow/netflow_v9.c
167
close_flowset(struct mbuf *m, struct netflow_v9_packet_opt *t)
sys/netgraph/netflow/netflow_v9.c
175
m_old = m_getptr(m, t->flow_header + offsetof(struct netflow_v9_flowset_header, length), &offset);
sys/netgraph/netflow/netflow_v9.c
178
len = (uint16_t)(m_pktlen(m) - t->flow_header);
sys/netgraph/netflow/netflow_v9.c
196
export9_send(priv_p priv, fib_export_p fe, item_p item, struct netflow_v9_packet_opt *t, int flags)
sys/netgraph/netflow/netflow_v9.c
205
if (t == NULL) {
sys/netgraph/netflow/netflow_v9.c
212
if (m_pktlen(m) != t->flow_header)
sys/netgraph/netflow/netflow_v9.c
213
close_flowset(m, t);
sys/netgraph/netflow/netflow_v9.c
216
header->count = t->count;
sys/netgraph/netflow/netflow_v9.c
221
header->count = htons(t->count);
sys/netgraph/netflow/netflow_v9.c
230
free(t, M_NETFLOW_GENERAL);
sys/netgraph/netflow/netflow_v9.c
237
export9_add(item_p item, struct netflow_v9_packet_opt *t, struct flow_entry *fle)
sys/netgraph/netflow/netflow_v9.c
248
if (t == NULL) {
sys/netgraph/netflow/netflow_v9.c
332
if (flow_type != t->flow_type) {
sys/netgraph/netflow/netflow_v9.c
334
if (t->flow_type != 0)
sys/netgraph/netflow/netflow_v9.c
335
close_flowset(m, t);
sys/netgraph/netflow/netflow_v9.c
337
t->flow_type = flow_type;
sys/netgraph/netflow/netflow_v9.c
338
t->flow_header = m_pktlen(m);
sys/netgraph/netflow/netflow_v9.c
353
t->count++;
sys/netgraph/netflow/netflow_v9.c
355
if (m_pktlen(m) + sizeof(struct netflow_v9_record_general) + sizeof(struct netflow_v9_flowset_header) >= _NETFLOW_V9_MAX_SIZE(t->mtu))
sys/netgraph/netflow/netflow_v9.c
368
struct netflow_v9_packet_opt *t = NULL;
sys/netgraph/netflow/netflow_v9.c
374
t = fe->exp.item9_opt;
sys/netgraph/netflow/netflow_v9.c
389
t = malloc(sizeof(struct netflow_v9_packet_opt), M_NETFLOW_GENERAL, M_NOWAIT | M_ZERO);
sys/netgraph/netflow/netflow_v9.c
390
if (t == NULL) {
sys/netgraph/netflow/netflow_v9.c
397
free(t, M_NETFLOW_GENERAL);
sys/netgraph/netflow/netflow_v9.c
407
t->count = 0;
sys/netgraph/netflow/netflow_v9.c
408
t->mtu = mtu;
sys/netgraph/netflow/netflow_v9.c
409
t->flow_header = m->m_len;
sys/netgraph/netflow/netflow_v9.c
424
t->flow_header = m->m_len;
sys/netgraph/netflow/netflow_v9.c
425
t->count += priv->flowset_records[0];
sys/netgraph/netflow/netflow_v9.c
429
*tt = t;
sys/netgraph/netflow/netflow_v9.c
438
return_export9_dgram(priv_p priv, fib_export_p fe, item_p item, struct netflow_v9_packet_opt *t, int flags)
sys/netgraph/netflow/netflow_v9.c
448
fe->exp.item9_opt = t;
sys/netgraph/netflow/netflow_v9.c
452
export9_send(priv, fe, item, t, flags);
sys/netgraph/netflow/ng_netflow.h
508
#define MILLIUPTIME(t) (((t) << 9) + /* 512 */ \
sys/netgraph/netflow/ng_netflow.h
509
((t) << 8) + /* 256 */ \
sys/netgraph/netflow/ng_netflow.h
510
((t) << 7) + /* 128 */ \
sys/netgraph/netflow/ng_netflow.h
511
((t) << 6) + /* 64 */ \
sys/netgraph/netflow/ng_netflow.h
512
((t) << 5) + /* 32 */ \
sys/netgraph/netflow/ng_netflow.h
513
((t) << 3)) /* 8 */
sys/netgraph/ng_base.c
1971
long t = ngq->q_flags;
sys/netgraph/ng_base.c
1972
if (t & WRITER_ACTIVE) {
sys/netgraph/ng_base.c
1976
__func__, node->nd_ID, node, t);
sys/netgraph/ng_base.c
1979
if (atomic_cmpset_acq_int(&ngq->q_flags, t,
sys/netgraph/ng_base.c
1980
t + READER_INCREMENT))
sys/netgraph/ng_base.c
2052
long t = node->nd_input_queue.q_flags;
sys/netgraph/ng_base.c
2053
if (t & NGQ_RMASK)
sys/netgraph/ng_base.c
2055
if (atomic_cmpset_acq_int(&node->nd_input_queue.q_flags, t,
sys/netgraph/ng_base.c
2056
t + READER_INCREMENT)) {
sys/netgraph/ng_cisco.c
598
uint32_t t;
sys/netgraph/ng_cisco.c
607
t = time.tv_sec * 1000 + time.tv_usec / 1000;
sys/netgraph/ng_cisco.c
621
ch->time0 = htons((uint16_t) (t >> 16));
sys/netgraph/ng_cisco.c
622
ch->time1 = htons((uint16_t) t);
sys/netgraph/ng_iface.c
126
#define PRIV_RLOCK(priv, t) rm_rlock(&priv->lock, t)
sys/netgraph/ng_iface.c
127
#define PRIV_RUNLOCK(priv, t) rm_runlock(&priv->lock, t)
sys/netgraph/ng_ksocket.c
230
char *t;
sys/netgraph/ng_ksocket.c
242
if ((t = strchr(s + *off, '/')) == NULL)
sys/netgraph/ng_ksocket.c
244
if ((len = t - (s + *off)) > sizeof(fambuf) - 1)
sys/netgraph/ng_parse.c
125
#define METHOD(t,m) (ng_get_ ## m ## _method(t))
sys/netgraph/ng_parse.c
126
#define INVOKE(t,m) (*METHOD(t,m))
sys/netgraph/ng_parse.c
128
static ng_parse_t *ng_get_parse_method(const struct ng_parse_type *t);
sys/netgraph/ng_parse.c
129
static ng_unparse_t *ng_get_unparse_method(const struct ng_parse_type *t);
sys/netgraph/ng_parse.c
131
struct ng_parse_type *t);
sys/netgraph/ng_parse.c
132
static ng_getAlign_t *ng_get_getAlign_method(const struct ng_parse_type *t);
sys/netgraph/ng_parse.c
134
#define ALIGNMENT(t) (METHOD(t, getAlign) == NULL ? \
sys/netgraph/ng_parse.c
135
0 : INVOKE(t, getAlign)(t))
sys/netgraph/ng_parse.c
1684
char *t;
sys/netgraph/ng_parse.c
1709
if ((t = ng_get_string_token(s, startp, lenp, NULL)) == NULL)
sys/netgraph/ng_parse.c
1711
free(t, M_NETGRAPH_PARSE);
sys/netgraph/ng_parse.c
1873
ng_get_parse_method(const struct ng_parse_type *t)
sys/netgraph/ng_parse.c
1875
while (t != NULL && t->parse == NULL)
sys/netgraph/ng_parse.c
1876
t = t->supertype;
sys/netgraph/ng_parse.c
1877
return (t ? t->parse : NULL);
sys/netgraph/ng_parse.c
1881
ng_get_unparse_method(const struct ng_parse_type *t)
sys/netgraph/ng_parse.c
1883
while (t != NULL && t->unparse == NULL)
sys/netgraph/ng_parse.c
1884
t = t->supertype;
sys/netgraph/ng_parse.c
1885
return (t ? t->unparse : NULL);
sys/netgraph/ng_parse.c
1889
ng_get_getDefault_method(const struct ng_parse_type *t)
sys/netgraph/ng_parse.c
1891
while (t != NULL && t->getDefault == NULL)
sys/netgraph/ng_parse.c
1892
t = t->supertype;
sys/netgraph/ng_parse.c
1893
return (t ? t->getDefault : NULL);
sys/netgraph/ng_parse.c
1897
ng_get_getAlign_method(const struct ng_parse_type *t)
sys/netgraph/ng_parse.c
1899
while (t != NULL && t->getAlign == NULL)
sys/netgraph/ng_parse.c
1900
t = t->supertype;
sys/netgraph/ng_parse.c
1901
return (t ? t->getAlign : NULL);
sys/netgraph/ng_pptpgre.c
1284
pptptime_t t;
sys/netgraph/ng_pptpgre.c
1287
t = (pptptime_t)tv.tv_sec * PPTP_TIME_SCALE;
sys/netgraph/ng_pptpgre.c
1288
t += tv.tv_usec / (1000000 / PPTP_TIME_SCALE);
sys/netgraph/ng_pptpgre.c
1289
return(t);
sys/netgraph/ng_pptpgre.c
908
#define INIT_SENDQ(t) do { \
sys/netgraph/ng_pptpgre.c
909
t.item = item; \
sys/netgraph/ng_pptpgre.c
910
t.seq = seq; \
sys/netgraph/ng_pptpgre.c
911
SLIST_INSERT_HEAD(&sendq, &t, next); \
sys/netgraph/ng_pptpgre.c
912
last = &t; \
sys/netgraph/ng_source.c
79
#define mtod_off(m,off,t) ((t)(mtod((m),caddr_t)+(off)))
sys/netgraph/ng_vlan.c
257
struct ng_vlan_table *t;
sys/netgraph/ng_vlan.c
389
NG_MKRESPONSE(resp, msg, sizeof(*t) +
sys/netgraph/ng_vlan.c
390
vlan_count * sizeof(*t->filter), M_NOWAIT);
sys/netgraph/ng_vlan.c
397
t = (struct ng_vlan_table *)resp->data;
sys/netgraph/ng_vlan.c
398
t->n = 0;
sys/netgraph/ng_vlan.c
399
vf = &t->filter[0];
sys/netgraph/ng_vlan.c
423
t->n ++;
sys/netinet/cc/cc_cubic.h
176
double C, t;
sys/netinet/cc/cc_cubic.h
180
t = ticks_elapsed / (double)hz;
sys/netinet/cc/cc_cubic.h
186
return (C * pow(t - K / pow(2, CUBIC_SHIFT), 3.0) + wmax_segs);
sys/netinet/in.h
693
#define in_hosteq(s, t) ((s).s_addr == (t).s_addr)
sys/netinet/in_mcast.c
2952
int t;
sys/netinet/in_mcast.c
2974
for (t = 0; t < 2; t++) {
sys/netinet/in_mcast.c
2975
printf("t%d: fmode %s asm %u ex %u in %u rec %u\n", t,
sys/netinet/in_mcast.c
2976
inm_mode_str(inm->inm_st[t].iss_fmode),
sys/netinet/in_mcast.c
2977
inm->inm_st[t].iss_asm,
sys/netinet/in_mcast.c
2978
inm->inm_st[t].iss_ex,
sys/netinet/in_mcast.c
2979
inm->inm_st[t].iss_in,
sys/netinet/in_mcast.c
2980
inm->inm_st[t].iss_rec);
sys/netinet/in_pcb.c
933
struct inpcb *t;
sys/netinet/in_pcb.c
951
t = in_pcblookup_local(inp->inp_pcbinfo, laddr, lport,
sys/netinet/in_pcb.c
953
if (t != NULL &&
sys/netinet/in_pcb.c
955
in_nullhost(t->inp_faddr)) &&
sys/netinet/in_pcb.c
956
(inp->inp_cred->cr_uid != t->inp_cred->cr_uid))
sys/netinet/in_pcb.c
959
t = in_pcblookup_local(inp->inp_pcbinfo, laddr, lport, fib,
sys/netinet/in_pcb.c
961
if (t != NULL && ((reuseport | reuseport_lb) &
sys/netinet/in_pcb.c
962
t->inp_socket->so_options) == 0) {
sys/netinet/in_pcb.c
965
!in_nullhost(t->inp_laddr) ||
sys/netinet/in_pcb.c
967
(t->inp_vflag & INP_IPV6PROTO) == 0)
sys/netinet/in_var.h
328
uint8_t t)
sys/netinet/in_var.h
331
t = !!t;
sys/netinet/in_var.h
332
if (inm->inm_st[t].iss_ex > 0 &&
sys/netinet/in_var.h
333
inm->inm_st[t].iss_ex == ims->ims_st[t].ex)
sys/netinet/in_var.h
335
else if (ims->ims_st[t].in > 0 && ims->ims_st[t].ex == 0)
sys/netinet/ip_fw.h
378
#define F_INSN_SIZE(t) ((sizeof (t))/sizeof(u_int32_t))
sys/netinet/ip_icmp.c
1037
u_long t;
sys/netinet/ip_icmp.c
1040
t = (atv.tv_sec % (24*60*60)) * 1000 + atv.tv_usec / 1000;
sys/netinet/ip_icmp.c
1041
return (htonl(t));
sys/netinet/ip_icmp.c
775
struct in_addr t;
sys/netinet/ip_icmp.c
791
t = ip->ip_dst;
sys/netinet/ip_icmp.c
800
CK_LIST_FOREACH(ia, INADDR_HASH(t.s_addr), ia_hash) {
sys/netinet/ip_icmp.c
801
if (t.s_addr == IA_SIN(ia)->sin_addr.s_addr) {
sys/netinet/ip_icmp.c
802
t = IA_SIN(ia)->sin_addr;
sys/netinet/ip_icmp.c
819
t.s_addr) {
sys/netinet/ip_icmp.c
820
t = IA_SIN(ia)->sin_addr;
sys/netinet/ip_icmp.c
836
t = IA_SIN(ia)->sin_addr;
sys/netinet/ip_icmp.c
851
t = IA_SIN(ia)->sin_addr;
sys/netinet/ip_icmp.c
867
t = IA_SIN(ifatoia(nh->nh_ifa))->sin_addr;
sys/netinet/ip_icmp.c
872
ip->ip_src = t;
sys/netinet/ip_reass.c
203
struct mbuf *p, *q, *nq, *t;
sys/netinet/ip_reass.c
485
t = m->m_next;
sys/netinet/ip_reass.c
487
m_cat(m, t);
sys/netinet/ip_reass.c
618
time_t t;
sys/netinet/ip_reass.c
621
t = fp->ipq_expire - time_uptime;
sys/netinet/ip_reass.c
622
t = (t > 0) ? t : 1;
sys/netinet/ip_reass.c
623
callout_reset_sbt(&bucket->timer, SBT_1S * t, SBT_1S,
sys/netinet/libalias/alias.c
1727
struct dll *t;
sys/netinet/libalias/alias.c
1745
t = malloc(sizeof(struct dll));
sys/netinet/libalias/alias.c
1746
if (t == NULL)
sys/netinet/libalias/alias.c
1748
strncpy(t->name, p->name, DLL_LEN);
sys/netinet/libalias/alias.c
1749
t->handle = handle;
sys/netinet/libalias/alias.c
1750
if (attach_dll(t) == EEXIST) {
sys/netinet/libalias/alias.c
1751
free(t);
sys/netinet/libalias/alias.c
1756
m = dlsym(t->handle, "handlers");
sys/netinet/libalias/alias.c
1769
struct dll *t;
sys/netinet/libalias/alias.c
1776
while ((t = walk_dll_chain()) != NULL) {
sys/netinet/libalias/alias.c
1777
dlclose(t->handle);
sys/netinet/libalias/alias.c
1778
free(t);
sys/netinet/libalias/alias_mod.c
162
struct dll *t;
sys/netinet/libalias/alias_mod.c
164
t = SLIST_FIRST(&dll_chain);
sys/netinet/libalias/alias_mod.c
165
if (t == NULL)
sys/netinet/libalias/alias_mod.c
168
return (t);
sys/netinet/libalias/alias_skinny.c
302
u_int32_t msgId, t, len, lip;
sys/netinet/libalias/alias_skinny.c
343
t = len;
sys/netinet/libalias/alias_skinny.c
345
if (t > orig_len || t > dlen) {
sys/netinet/pim.h
80
#define PIM_MAKE_VT(v, t) (0xff & (((v) << 4) | (0x0f & (t))))
sys/netinet/sctp_constants.h
545
#define SCTP_IS_TIMER_TYPE_VALID(t) (((t) > SCTP_TIMER_TYPE_NONE) && \
sys/netinet/sctp_constants.h
546
((t) < SCTP_TIMER_TYPE_LAST))
sys/netinet/sctputil.c
1718
sctp_timeout_handler(void *t)
sys/netinet/sctputil.c
1736
tmr = (struct sctp_timer *)t;
sys/netinet/tcp_fastopen.c
358
#define TCP_FASTOPEN_KEYS_RLOCK(t) rm_rlock(&V_tcp_fastopen_keylock, (t))
sys/netinet/tcp_fastopen.c
359
#define TCP_FASTOPEN_KEYS_RUNLOCK(t) rm_runlock(&V_tcp_fastopen_keylock, (t))
sys/netinet/tcp_hpts.c
1056
uint32_t t = 0, i;
sys/netinet/tcp_hpts.c
1063
for (i = 0, t = hpts_slot(hpts->p_cur_slot, 1); i < NUM_OF_HPTSI_SLOTS; i++) {
sys/netinet/tcp_hpts.c
1064
if (TAILQ_EMPTY(&hpts->p_hptss[t].head) == 0) {
sys/netinet/tcp_hpts.c
1067
t = (t + 1) % NUM_OF_HPTSI_SLOTS;
sys/netinet/tcp_input.c
1775
uint32_t t;
sys/netinet/tcp_input.c
1777
t = tcp_ts_getticks() - to.to_tsecr;
sys/netinet/tcp_input.c
1778
if (!tp->t_rttlow || tp->t_rttlow > t)
sys/netinet/tcp_input.c
1779
tp->t_rttlow = t;
sys/netinet/tcp_input.c
1781
TCP_TS_TO_TICKS(t) + 1);
sys/netinet/tcp_input.c
2910
uint32_t t;
sys/netinet/tcp_input.c
2912
t = tcp_ts_getticks() - to.to_tsecr;
sys/netinet/tcp_input.c
2913
if (!tp->t_rttlow || tp->t_rttlow > t)
sys/netinet/tcp_input.c
2914
tp->t_rttlow = t;
sys/netinet/tcp_input.c
2915
tcp_xmit_timer(tp, TCP_TS_TO_TICKS(t) + 1);
sys/netinet/tcp_output.c
1746
int t = ((tp->t_srtt >> 2) + tp->t_rttvar) >> 1;
sys/netinet/tcp_output.c
1762
TCPT_RANGESET(tt, t * tcp_backoff[tp->t_rxtshift],
sys/netinet/tcp_reass.c
248
struct mbuf *t;
sys/netinet/tcp_reass.c
251
t = m;
sys/netinet/tcp_reass.c
252
while (t) {
sys/netinet/tcp_reass.c
253
cnt += t->m_len;
sys/netinet/tcp_reass.c
254
t = t->m_next;
sys/netinet/tcp_stacks/bbr.c
2754
bbr_log_type_bbrrttprop(struct tcp_bbr *bbr, uint32_t t, uint32_t end, uint32_t tsconv, uint32_t cts, int32_t match, uint32_t seq, uint8_t flags)
sys/netinet/tcp_stacks/bbr.c
2765
log.u_bbr.flex6 = t;
sys/netinet/tcp_stacks/bbr.c
6757
uint32_t t, uts = 0;
sys/netinet/tcp_stacks/bbr.c
6774
t = cts - rsm->r_tim_lastsent[0];
sys/netinet/tcp_stacks/bbr.c
6776
t = 1;
sys/netinet/tcp_stacks/bbr.c
6777
bbr->r_ctl.rc_last_rtt = t;
sys/netinet/tcp_stacks/bbr.c
6778
bbr_update_bbr_info(bbr, rsm, t, cts, to->to_tsecr, 0,
sys/netinet/tcp_stacks/bbr.c
6788
t = tcp_tv_to_msec(&bbr->rc_tv) - to->to_tsecr;
sys/netinet/tcp_stacks/bbr.c
6789
if (t < 1)
sys/netinet/tcp_stacks/bbr.c
6790
t = 1;
sys/netinet/tcp_stacks/bbr.c
6791
t *= MS_IN_USEC;
sys/netinet/tcp_stacks/bbr.c
6792
bbr_update_bbr_info(bbr, rsm, t, cts, to->to_tsecr, 0,
sys/netinet/tcp_stacks/bbr.c
6814
t = cts - rsm->r_tim_lastsent[i];
sys/netinet/tcp_stacks/bbr.c
6816
t = 1;
sys/netinet/tcp_stacks/bbr.c
6817
bbr->r_ctl.rc_last_rtt = t;
sys/netinet/tcp_stacks/bbr.c
6818
bbr_update_bbr_info(bbr, rsm, t, cts, to->to_tsecr, uts, BBR_RTT_BY_TSMATCHING,
sys/netinet/tcp_stacks/bbr.c
6843
t = cts - rsm->r_tim_lastsent[i];
sys/netinet/tcp_stacks/bbr.c
6846
if (t < bbr->r_ctl.rc_lowest_rtt) {
sys/netinet/tcp_stacks/bbr.c
6865
t = cts - rsm->r_tim_lastsent[i];
sys/netinet/tcp_stacks/bbr.c
6867
t = 1;
sys/netinet/tcp_stacks/bbr.c
6868
bbr_update_bbr_info(bbr, rsm, t, cts, to->to_tsecr, uts, BBR_RTT_BY_EARLIER_RET,
sys/netinet/tcp_stacks/bbr.c
6888
bbr_update_bbr_info(bbr, rsm, t, cts, to->to_tsecr, uts,
sys/netinet/tcp_stacks/bbr.c
8887
uint32_t t, rtt;
sys/netinet/tcp_stacks/bbr.c
8889
t = tcp_tv_to_msec(&bbr->rc_tv);
sys/netinet/tcp_stacks/bbr.c
8890
if (TSTMP_GEQ(t, to->to_tsecr)) {
sys/netinet/tcp_stacks/bbr.c
8891
rtt = t - to->to_tsecr;
sys/netinet/tcp_stacks/bbr.c
9061
uint32_t t, rtt;
sys/netinet/tcp_stacks/bbr.c
9063
t = tcp_tv_to_msec(&bbr->rc_tv);
sys/netinet/tcp_stacks/bbr.c
9064
if (TSTMP_GEQ(t, to->to_tsecr)) {
sys/netinet/tcp_stacks/bbr.c
9065
rtt = t - to->to_tsecr;
sys/netinet/tcp_stacks/rack.c
12895
uint32_t t, mcts;
sys/netinet/tcp_stacks/rack.c
12898
t = (mcts - to->to_tsecr) * HPTS_USEC_IN_MSEC;
sys/netinet/tcp_stacks/rack.c
12899
if (!tp->t_rttlow || tp->t_rttlow > t)
sys/netinet/tcp_stacks/rack.c
12900
tp->t_rttlow = t;
sys/netinet/tcp_stacks/rack.c
12901
rack_log_rtt_sample_calc(rack, t, (to->to_tsecr * 1000), (mcts * 1000), 4);
sys/netinet/tcp_stacks/rack.c
12902
tcp_rack_xmit_timer(rack, t + 1, 1, t, 0, NULL, 2);
sys/netinet/tcp_stacks/rack.c
13110
uint32_t t, mcts;
sys/netinet/tcp_stacks/rack.c
13113
t = (mcts - to->to_tsecr) * HPTS_USEC_IN_MSEC;
sys/netinet/tcp_stacks/rack.c
13114
if (!tp->t_rttlow || tp->t_rttlow > t)
sys/netinet/tcp_stacks/rack.c
13115
tp->t_rttlow = t;
sys/netinet/tcp_stacks/rack.c
13116
rack_log_rtt_sample_calc(rack, t, (to->to_tsecr * 1000), (mcts * 1000), 5);
sys/netinet/tcp_stacks/rack.c
13117
tcp_rack_xmit_timer(rack, t + 1, 1, t, 0, NULL, 2);
sys/netinet/tcp_stacks/rack.c
2710
rack_log_rtt_upd(struct tcpcb *tp, struct tcp_rack *rack, uint32_t t, uint32_t len,
sys/netinet/tcp_stacks/rack.c
2718
log.u_bbr.flex1 = t;
sys/netinet/tcp_stacks/rack.c
5989
int32_t t;
sys/netinet/tcp_stacks/rack.c
5993
t = (tp->t_srtt + (tp->t_rttvar << 2));
sys/netinet/tcp_stacks/rack.c
5994
RACK_TCPT_RANGESET(tt, t * tcp_backoff[tp->t_rxtshift],
sys/netinet/tcp_stacks/rack.c
8718
uint32_t t, len_acked;
sys/netinet/tcp_stacks/rack.c
8742
t = cts - (uint32_t)rsm->r_tim_lastsent[(rsm->r_rtr_cnt - 1)];
sys/netinet/tcp_stacks/rack.c
8743
if ((int)t <= 0)
sys/netinet/tcp_stacks/rack.c
8744
t = 1;
sys/netinet/tcp_stacks/rack.c
8745
if (!tp->t_rttlow || tp->t_rttlow > t)
sys/netinet/tcp_stacks/rack.c
8746
tp->t_rttlow = t;
sys/netinet/tcp_stacks/rack.c
8748
SEQ_LT(t, rack->r_ctl.rc_rack_min_rtt)) {
sys/netinet/tcp_stacks/rack.c
8749
rack->r_ctl.rc_rack_min_rtt = t;
sys/netinet/tcp_stacks/rack.c
8766
rack_log_rtt_sample_calc(rack, t, (uint32_t)rsm->r_tim_lastsent[(rsm->r_rtr_cnt - 1)], cts, 1);
sys/netinet/tcp_stacks/rack.c
8767
tcp_rack_xmit_timer(rack, t + 1, len_acked, us_rtt, 2 , rsm, rsm->r_rtr_cnt);
sys/netinet/tcp_stacks/rack.c
8807
rack_log_rtt_sample_calc(rack, t, (uint32_t)rsm->r_tim_lastsent[(rsm->r_rtr_cnt - 1)], cts, 2);
sys/netinet/tcp_stacks/rack.c
8808
tcp_rack_xmit_timer(rack, t + 1, len_acked, us_rtt,
sys/netinet/tcp_stacks/rack.c
8825
rack->rc_rack_rtt = t;
sys/netinet/tcp_stacks/rack.c
8848
t = cts - (uint32_t)rsm->r_tim_lastsent[i];
sys/netinet/tcp_stacks/rack.c
8849
if ((int)t <= 0)
sys/netinet/tcp_stacks/rack.c
8850
t = 1;
sys/netinet/tcp_stacks/rack.c
8877
if (!tp->t_rttlow || tp->t_rttlow > t)
sys/netinet/tcp_stacks/rack.c
8878
tp->t_rttlow = t;
sys/netinet/tcp_stacks/rack.c
8879
if (!rack->r_ctl.rc_rack_min_rtt || SEQ_LT(t, rack->r_ctl.rc_rack_min_rtt)) {
sys/netinet/tcp_stacks/rack.c
8880
rack->r_ctl.rc_rack_min_rtt = t;
sys/netinet/tcp_stacks/rack.c
8892
rack->rc_rack_rtt = t;
sys/netinet/tcp_stacks/rack.c
8894
rack_log_rtt_sample_calc(rack, t, (uint32_t)rsm->r_tim_lastsent[i], cts, 3);
sys/netinet/tcp_stacks/rack.c
8895
tcp_rack_xmit_timer(rack, t + 1, len_acked, t, 0, rsm,
sys/netinet/tcp_stacks/rack.c
8916
t = cts - (uint32_t)rsm->r_tim_lastsent[i];
sys/netinet/tcp_stacks/rack.c
8917
if ((int)t <= 0)
sys/netinet/tcp_stacks/rack.c
8918
t = 1;
sys/netinet/tcp_stacks/rack.c
8919
if (rack->r_ctl.rc_rack_min_rtt && SEQ_LT(t, rack->r_ctl.rc_rack_min_rtt)) {
sys/netinet/tcp_stacks/rack.c
8936
SEQ_LT(t, rack->r_ctl.rc_rack_min_rtt)) {
sys/netinet/tcp_stacks/rack.c
8937
rack->r_ctl.rc_rack_min_rtt = t;
sys/netinet/tcp_stacks/rack.c
8949
rack->rc_rack_rtt = t;
sys/netinet/tcp_stacks/tcp_bbr.h
345
#define BBR_TS_TO_MS(t) ((t+999)/MS_IN_USEC)
sys/netinet/tcp_subr.c
1703
struct tcptemp *t;
sys/netinet/tcp_subr.c
1705
t = malloc(sizeof(*t), M_TEMP, M_NOWAIT);
sys/netinet/tcp_subr.c
1706
if (t == NULL)
sys/netinet/tcp_subr.c
1708
tcpip_fillheaders(inp, 0, (void *)&t->tt_ipgen, (void *)&t->tt_t);
sys/netinet/tcp_subr.c
1709
return (t);
sys/netinet/tcp_subr.c
1843
#define xchg(a,b,type) { type t; t=a; a=b; b=t; }
sys/netinet/tcp_usrreq.c
2177
struct statsblob *t = tp->t_stats;
sys/netinet/tcp_usrreq.c
2179
sbp = t;
sys/netinet/toecore.c
214
struct toedev *t, *tod;
sys/netinet/toecore.c
227
t = arg;
sys/netinet/toecore.c
230
if (t == NULL || t == tod)
sys/netinet/toecore.c
308
struct toedev *t;
sys/netinet/toecore.c
311
TAILQ_FOREACH(t, &toedev_list, link) {
sys/netinet/toecore.c
312
if (t == tod) {
sys/netinet/toecore.c
335
struct toedev *t, *t2;
sys/netinet/toecore.c
339
TAILQ_FOREACH_SAFE(t, &toedev_list, link, t2) {
sys/netinet/toecore.c
340
if (t == tod) {
sys/netinet6/frag6.c
422
struct mbuf *m, *t;
sys/netinet6/frag6.c
830
t = m = ip6af->ip6af_m;
sys/netinet6/frag6.c
839
t = m_last(t);
sys/netinet6/frag6.c
842
m_cat(t, af6->ip6af_m);
sys/netinet6/frag6.c
879
for (t = m; t; t = t->m_next)
sys/netinet6/frag6.c
880
plen += t->m_len;
sys/netinet6/in6_mcast.c
2904
int t;
sys/netinet6/in6_mcast.c
2926
for (t = 0; t < 2; t++) {
sys/netinet6/in6_mcast.c
2927
printf("t%d: fmode %s asm %u ex %u in %u rec %u\n", t,
sys/netinet6/in6_mcast.c
2928
in6m_mode_str(inm->in6m_st[t].iss_fmode),
sys/netinet6/in6_mcast.c
2929
inm->in6m_st[t].iss_asm,
sys/netinet6/in6_mcast.c
2930
inm->in6m_st[t].iss_ex,
sys/netinet6/in6_mcast.c
2931
inm->in6m_st[t].iss_in,
sys/netinet6/in6_mcast.c
2932
inm->in6m_st[t].iss_rec);
sys/netinet6/in6_pcb.c
232
struct inpcb *t;
sys/netinet6/in6_pcb.c
251
t = in6_pcblookup_local(inp->inp_pcbinfo, laddr, lport,
sys/netinet6/in6_pcb.c
253
if (t != NULL &&
sys/netinet6/in6_pcb.c
255
IN6_IS_ADDR_UNSPECIFIED(&t->in6p_faddr)) &&
sys/netinet6/in6_pcb.c
256
(inp->inp_cred->cr_uid != t->inp_cred->cr_uid))
sys/netinet6/in6_pcb.c
265
t = in_pcblookup_local(inp->inp_pcbinfo,
sys/netinet6/in6_pcb.c
268
if (t != NULL &&
sys/netinet6/in6_pcb.c
270
in_nullhost(t->inp_faddr)) &&
sys/netinet6/in6_pcb.c
272
t->inp_cred->cr_uid))
sys/netinet6/in6_pcb.c
277
t = in6_pcblookup_local(inp->inp_pcbinfo, laddr, lport,
sys/netinet6/in6_pcb.c
279
if (t != NULL && ((reuseport | reuseport_lb) &
sys/netinet6/in6_pcb.c
280
t->inp_socket->so_options) == 0)
sys/netinet6/in6_pcb.c
288
t = in_pcblookup_local(inp->inp_pcbinfo, sin.sin_addr,
sys/netinet6/in6_pcb.c
290
if (t != NULL && ((reuseport | reuseport_lb) &
sys/netinet6/in6_pcb.c
291
t->inp_socket->so_options) == 0 &&
sys/netinet6/in6_pcb.c
292
(!in_nullhost(t->inp_laddr) ||
sys/netinet6/in6_pcb.c
293
(t->inp_vflag & INP_IPV6PROTO) != 0)) {
sys/netinet6/in6_var.h
571
#define IN6_IFADDR_RLOCK(t) rm_rlock(&in6_ifaddr_lock, (t))
sys/netinet6/in6_var.h
573
#define IN6_IFADDR_RUNLOCK(t) rm_runlock(&in6_ifaddr_lock, (t))
sys/netinet6/in6_var.h
766
uint8_t t)
sys/netinet6/in6_var.h
769
t = !!t;
sys/netinet6/in6_var.h
770
if (inm->in6m_st[t].iss_ex > 0 &&
sys/netinet6/in6_var.h
771
inm->in6m_st[t].iss_ex == ims->im6s_st[t].ex)
sys/netinet6/in6_var.h
773
else if (ims->im6s_st[t].in > 0 && ims->im6s_st[t].ex == 0)
sys/netinet6/ip6_id.c
157
u_int64_t s, t, u;
sys/netinet6/ip6_id.c
160
t = gen;
sys/netinet6/ip6_id.c
165
s = (s * t) % mod;
sys/netinet6/ip6_id.c
167
t = (t * t) % mod;
sys/netinet6/ip6_input.c
1122
} t;
sys/netinet6/ip6_input.c
1141
timespec2bintime(&ts1, &t.bt);
sys/netinet6/ip6_input.c
1143
bintime_add(&t.bt, &boottimebin);
sys/netinet6/ip6_input.c
1145
bintime(&t.bt);
sys/netinet6/ip6_input.c
1147
*mp = sbcreatecontrol(&t.bt, sizeof(t.bt), SCM_BINTIME,
sys/netinet6/ip6_input.c
1170
bintime2timeval(&bt1, &t.tv);
sys/netinet6/ip6_input.c
1172
microtime(&t.tv);
sys/netinet6/ip6_input.c
1174
*mp = sbcreatecontrol(&t.tv, sizeof(t.tv),
sys/netinet6/ip6_input.c
1188
mbuf_tstmp2timespec(m, &t.ts);
sys/netinet6/ip6_input.c
1191
timespecadd(&t.ts, &ts1, &t.ts);
sys/netinet6/ip6_input.c
1193
nanotime(&t.ts);
sys/netinet6/ip6_input.c
1195
*mp = sbcreatecontrol(&t.ts, sizeof(t.ts),
sys/netinet6/ip6_input.c
1206
mbuf_tstmp2timespec(m, &t.ts);
sys/netinet6/ip6_input.c
1208
nanouptime(&t.ts);
sys/netinet6/ip6_input.c
1209
*mp = sbcreatecontrol(&t.ts, sizeof(t.ts),
sys/netinet6/ip6_mroute.c
1034
collate(struct timeval *t)
sys/netinet6/ip6_mroute.c
1042
if (TV_LT(*t, tp))
sys/netinet6/ip6_mroute.c
1044
TV_DELTA(tp, *t, delta);
sys/netinet6/ip6_mroute.c
1375
rte->t = tp;
sys/netinet6/ip6_mroute.c
962
collate(&(rte->t));
sys/netinet6/ip6_mroute.h
100
#define IF_COPY(f, t) bcopy(f, t, sizeof(*(f)))
sys/netinet6/ip6_mroute.h
262
struct timeval t; /* Timestamp */
sys/netinet6/ip6_mroute.h
69
#define GET_TIME(t) microtime(&t)
sys/netinet6/ip6_mroute.h
71
#define GET_TIME(t) uniqtime(&t)
sys/netinet6/ip6_mroute.h
73
#define GET_TIME(t) ((t) = time)
sys/netipsec/key.c
5237
uint32_t min, max, newspi, t;
sys/netipsec/key.c
5257
t = min; min = max; max = t;
sys/netipsec/key.c
781
#define DBG_IPSEC_INITREF(t, p) do { \
sys/netipsec/key.c
785
__func__, #t, (p), (p)->refcnt)); \
sys/netipsec/key.c
787
#define DBG_IPSEC_ADDREF(t, p) do { \
sys/netipsec/key.c
791
__func__, #t, (p), (p)->refcnt)); \
sys/netipsec/key.c
793
#define DBG_IPSEC_DELREF(t, p) do { \
sys/netipsec/key.c
796
__func__, #t, (p), (p)->refcnt - 1)); \
sys/netipsec/key.c
800
#define IPSEC_INITREF(t, p) refcount_init(&(p)->refcnt, 1)
sys/netipsec/key.c
801
#define IPSEC_ADDREF(t, p) refcount_acquire(&(p)->refcnt)
sys/netipsec/key.c
802
#define IPSEC_DELREF(t, p) refcount_release(&(p)->refcnt)
sys/netpfil/ipfilter/netinet/fil.c
1918
u_char *t, tag, tlen, sensitivity;
sys/netpfil/ipfilter/netinet/fil.c
1935
t = (u_char *)s + 6;
sys/netpfil/ipfilter/netinet/fil.c
1936
for (len = ol - 6; len >= 2; len -= tlen, t+= tlen) {
sys/netpfil/ipfilter/netinet/fil.c
1937
tag = *t;
sys/netpfil/ipfilter/netinet/fil.c
1938
tlen = *(t + 1);
sys/netpfil/ipfilter/netinet/fil.c
1956
if (*(t + 2) != 0) {
sys/netpfil/ipfilter/netinet/fil.c
1958
DT2(ipf_fi_bad_checkcipso_tag1_t2, fr_info_t *, fin, u_int, (*t + 2));
sys/netpfil/ipfilter/netinet/fil.c
1961
sensitivity = *(t + 3);
sys/netpfil/ipfilter/netinet/fil.c
1965
if (*(t + 2) != 0) {
sys/netpfil/ipfilter/netinet/fil.c
1967
DT2(ipf_fi_bad_checkcipso_tag4_t2, fr_info_t *, fin, u_int, (*t + 2));
sys/netpfil/ipfilter/netinet/fil.c
1970
sensitivity = *(t + 3);
sys/netpfil/ipfilter/netinet/fil.c
1974
if (*(t + 2) != 0) {
sys/netpfil/ipfilter/netinet/fil.c
1976
DT2(ipf_fi_bad_checkcipso_tag5_t2, fr_info_t *, fin, u_int, (*t + 2));
sys/netpfil/ipfilter/netinet/fil.c
1979
sensitivity = *(t + 3);
sys/netpfil/ipfilter/netinet/fil.c
6950
ipftuneable_t *t, **p;
sys/netpfil/ipfilter/netinet/fil.c
6952
t = array;
sys/netpfil/ipfilter/netinet/fil.c
6953
if (t->ipft_name == NULL)
sys/netpfil/ipfilter/netinet/fil.c
6956
for (; t[1].ipft_name != NULL; t++)
sys/netpfil/ipfilter/netinet/fil.c
6957
t[0].ipft_next = &t[1];
sys/netpfil/ipfilter/netinet/fil.c
6958
t->ipft_next = NULL;
sys/netpfil/ipfilter/netinet/fil.c
6964
for (p = &softc->ipf_tuners; (t = *p) != NULL; p = &t->ipft_next)
sys/netpfil/ipfilter/netinet/fil.c
6965
if (t->ipft_name == NULL)
sys/netpfil/ipfilter/netinet/fil.c
6983
ipftuneable_t *t, **p;
sys/netpfil/ipfilter/netinet/fil.c
6985
for (p = &softc->ipf_tuners; (t = *p) != NULL; p = &t->ipft_next)
sys/netpfil/ipfilter/netinet/fil.c
6986
if (t == array)
sys/netpfil/ipfilter/netinet/fil.c
6988
if (t == NULL)
sys/netpfil/ipfilter/netinet/fil.c
6991
for (; t[1].ipft_name != NULL; t++)
sys/netpfil/ipfilter/netinet/fil.c
6994
*p = t->ipft_next;
sys/netpfil/ipfilter/netinet/fil.c
7743
ipf_getnextrule(ipf_main_softc_t *softc, ipftoken_t *t, void *ptr)
sys/netpfil/ipfilter/netinet/fil.c
7754
if (t == NULL || ptr == NULL) {
sys/netpfil/ipfilter/netinet/fil.c
7781
fr = t->ipt_data;
sys/netpfil/ipfilter/netinet/fil.c
7835
t->ipt_data = next;
sys/netpfil/ipfilter/netinet/fil.c
7840
t->ipt_data = NULL;
sys/netpfil/ipfilter/netinet/fil.c
7844
ipf_token_mark_complete(t);
sys/netpfil/ipfilter/netinet/fil.c
7850
if (error == 0 && t->ipt_data != NULL) {
sys/netpfil/ipfilter/netinet/fil.c
8949
ipf_settimeout(struct ipf_main_softc_s *softc, ipftuneable_t *t,
sys/netpfil/ipfilter/netinet/fil.c
8957
if (ipf_state_settimeout(softc, t, p) == -1)
sys/netpfil/ipfilter/netinet/fil.c
8959
if (ipf_nat_settimeout(softc, t, p) == -1)
sys/netpfil/ipfilter/netinet/fil.c
9013
ipf_settimeout_tcp(ipftuneable_t *t, ipftuneval_t *p, ipftq_t *tab)
sys/netpfil/ipfilter/netinet/fil.c
9015
if (!strcmp(t->ipft_name, "tcp_idle_timeout") ||
sys/netpfil/ipfilter/netinet/fil.c
9016
!strcmp(t->ipft_name, "tcp_established")) {
sys/netpfil/ipfilter/netinet/fil.c
9018
} else if (!strcmp(t->ipft_name, "tcp_close_wait")) {
sys/netpfil/ipfilter/netinet/fil.c
9020
} else if (!strcmp(t->ipft_name, "tcp_last_ack")) {
sys/netpfil/ipfilter/netinet/fil.c
9022
} else if (!strcmp(t->ipft_name, "tcp_timeout")) {
sys/netpfil/ipfilter/netinet/fil.c
9026
} else if (!strcmp(t->ipft_name, "tcp_listen")) {
sys/netpfil/ipfilter/netinet/fil.c
9028
} else if (!strcmp(t->ipft_name, "tcp_half_established")) {
sys/netpfil/ipfilter/netinet/fil.c
9030
} else if (!strcmp(t->ipft_name, "tcp_closing")) {
sys/netpfil/ipfilter/netinet/fil.c
9032
} else if (!strcmp(t->ipft_name, "tcp_syn_received")) {
sys/netpfil/ipfilter/netinet/fil.c
9034
} else if (!strcmp(t->ipft_name, "tcp_syn_sent")) {
sys/netpfil/ipfilter/netinet/fil.c
9036
} else if (!strcmp(t->ipft_name, "tcp_closed")) {
sys/netpfil/ipfilter/netinet/fil.c
9038
} else if (!strcmp(t->ipft_name, "tcp_half_closed")) {
sys/netpfil/ipfilter/netinet/fil.c
9040
} else if (!strcmp(t->ipft_name, "tcp_time_wait")) {
sys/netpfil/ipfilter/netinet/ip_auth.c
1016
for (t = auth.fra_buf; m && (len > 0); ) {
sys/netpfil/ipfilter/netinet/ip_auth.c
1020
&t, i);
sys/netpfil/ipfilter/netinet/ip_auth.c
1022
t += i;
sys/netpfil/ipfilter/netinet/ip_auth.c
967
char *t;
sys/netpfil/ipfilter/netinet/ip_compat.h
323
# define MTOD(m, t) ((t)(m)->mb_data)
sys/netpfil/ipfilter/netinet/ip_compat.h
550
# define MTOD(m,t) mtod(m,t)
sys/netpfil/ipfilter/netinet/ip_compat.h
667
# define offsetof(t,m) (size_t)((&((t *)0L)->m))
sys/netpfil/ipfilter/netinet/ip_compat.h
670
# define stsizeof(t,m) sizeof(((t *)0L)->m)
sys/netpfil/ipfilter/netinet/ip_dns_pxy.c
261
char *s, *t, clen;
sys/netpfil/ipfilter/netinet/ip_dns_pxy.c
265
t = buffer;
sys/netpfil/ipfilter/netinet/ip_dns_pxy.c
284
bcopy(s, t, clen);
sys/netpfil/ipfilter/netinet/ip_dns_pxy.c
285
t += clen;
sys/netpfil/ipfilter/netinet/ip_dns_pxy.c
287
*t++ = '.';
sys/netpfil/ipfilter/netinet/ip_dns_pxy.c
292
*(t - 1) = '\0';
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1221
ftpside_t *f, *t;
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1232
t = &ftp->ftp_side[1 - rv];
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1245
t->ftps_seq[0] = thack;
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1301
rv, t->ftps_seq[0], t->ftps_seq[1], seqoff, ackoff);
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1305
if (t->ftps_seq[0] == 0) {
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1306
t->ftps_seq[0] = thack;
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1310
if (t->ftps_seq[0] == thack)
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1312
else if (t->ftps_seq[1] == thack) {
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1313
t->ftps_seq[0] = thack;
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1317
if (t->ftps_seq[0] + ackoff == thack) {
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1318
t->ftps_seq[0] = thack;
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1320
} else if (t->ftps_seq[0] == thack + ackoff) {
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1321
t->ftps_seq[0] = thack + ackoff;
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1323
} else if (t->ftps_seq[1] + ackoff == thack) {
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1324
t->ftps_seq[0] = thack;
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1326
} else if (t->ftps_seq[1] == thack + ackoff) {
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1327
t->ftps_seq[0] = thack + ackoff;
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1339
if (t->ftps_seq[0] + ackoff != thack &&
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1340
t->ftps_seq[1] + ackoff != thack) {
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1341
DT3(thack, ftpside_t *t, t, int, ackoff, u_32_t, thack);
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1344
"ipf_p_ftp_process", t->ftps_seq[0],
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1347
"ipf_p_ftp_process", t->ftps_seq[1],
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1363
DT2(thseq, ftpside_t *t, t, u_32_t, thseq);
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1881
u_short *t;
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1906
t = (u_short *)&addr;
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1910
*t = htons((u_short)whole);
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1914
*t = part;
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1916
*t = htons((u_short)whole);
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1917
t++;
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1919
*t = htons((u_short)(whole >> 16));
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1920
t--;
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1928
t = (u_short *)&addr.i6[3];
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
1929
t++;
sys/netpfil/ipfilter/netinet/ip_nat.c
6498
ipf_nat_getnext(ipf_main_softc_t *softc, ipftoken_t *t, ipfgeniter_t *itp,
sys/netpfil/ipfilter/netinet/ip_nat.c
6518
hm = t->ipt_data;
sys/netpfil/ipfilter/netinet/ip_nat.c
6526
t->ipt_data = nexthm;
sys/netpfil/ipfilter/netinet/ip_nat.c
6530
t->ipt_data = NULL;
sys/netpfil/ipfilter/netinet/ip_nat.c
6536
ipn = t->ipt_data;
sys/netpfil/ipfilter/netinet/ip_nat.c
6544
t->ipt_data = nextipnat;
sys/netpfil/ipfilter/netinet/ip_nat.c
6548
t->ipt_data = NULL;
sys/netpfil/ipfilter/netinet/ip_nat.c
6554
nat = t->ipt_data;
sys/netpfil/ipfilter/netinet/ip_nat.c
6564
t->ipt_data = nextnat;
sys/netpfil/ipfilter/netinet/ip_nat.c
6568
t->ipt_data = NULL;
sys/netpfil/ipfilter/netinet/ip_nat.c
6620
ipf_token_mark_complete(t);
sys/netpfil/ipfilter/netinet/ip_nat.c
7843
ipf_nat_settimeout(struct ipf_main_softc_s *softc, ipftuneable_t *t,
sys/netpfil/ipfilter/netinet/ip_nat.c
7848
if (!strncmp(t->ipft_name, "tcp_", 4))
sys/netpfil/ipfilter/netinet/ip_nat.c
7849
return (ipf_settimeout_tcp(t, p, softn->ipf_nat_tcptq));
sys/netpfil/ipfilter/netinet/ip_nat.c
7851
if (!strcmp(t->ipft_name, "udp_timeout")) {
sys/netpfil/ipfilter/netinet/ip_nat.c
7853
} else if (!strcmp(t->ipft_name, "udp_ack_timeout")) {
sys/netpfil/ipfilter/netinet/ip_nat.c
7855
} else if (!strcmp(t->ipft_name, "icmp_timeout")) {
sys/netpfil/ipfilter/netinet/ip_nat.c
7857
} else if (!strcmp(t->ipft_name, "icmp_ack_timeout")) {
sys/netpfil/ipfilter/netinet/ip_nat.c
7859
} else if (!strcmp(t->ipft_name, "ip_timeout")) {
sys/netpfil/ipfilter/netinet/ip_nat.c
7883
ipf_nat_rehash(ipf_main_softc_t *softc, ipftuneable_t *t, ipftuneval_t *p)
sys/netpfil/ipfilter/netinet/ip_nat.c
8067
ipf_nat_rehash_rules(ipf_main_softc_t *softc, ipftuneable_t *t,
sys/netpfil/ipfilter/netinet/ip_nat.c
8080
if (newsize == *t->ipft_pint)
sys/netpfil/ipfilter/netinet/ip_nat.c
8089
if (t->ipft_pint == &softn->ipf_nat_rdrrules_sz) {
sys/netpfil/ipfilter/netinet/ip_nat.c
8108
KFREES(*old, *t->ipft_pint * sizeof(ipnat_t **));
sys/netpfil/ipfilter/netinet/ip_nat.c
8111
*t->ipft_pint = newsize;
sys/netpfil/ipfilter/netinet/ip_nat.c
8152
ipf_nat_hostmap_rehash(ipf_main_softc_t *softc, ipftuneable_t *t,
sys/netpfil/ipfilter/netinet/ip_nat.c
8164
if (newsize == *t->ipft_pint)
sys/netpfil/ipfilter/netinet/ip_rpcb_pxy.c
633
u_int d, dd, l, t;
sys/netpfil/ipfilter/netinet/ip_rpcb_pxy.c
676
t = ipf_p_rpcb_atoi(b);
sys/netpfil/ipfilter/netinet/ip_rpcb_pxy.c
677
if (t > 255)
sys/netpfil/ipfilter/netinet/ip_rpcb_pxy.c
685
i[d++] = t & 0xff;
sys/netpfil/ipfilter/netinet/ip_rpcb_pxy.c
687
pp[d++ - 4] = t & 0xff;
sys/netpfil/ipfilter/netinet/ip_rpcb_pxy.c
698
t = ipf_p_rpcb_atoi(b);
sys/netpfil/ipfilter/netinet/ip_rpcb_pxy.c
699
if (t > 255)
sys/netpfil/ipfilter/netinet/ip_rpcb_pxy.c
701
pp[d - 4] = t & 0xff;
sys/netpfil/ipfilter/netinet/ip_scan.c
285
char *s, *t, *up;
sys/netpfil/ipfilter/netinet/ip_scan.c
292
for (s = sp->s_txt, t = sp->s_msk; i; i--, s++, t++, up++)
sys/netpfil/ipfilter/netinet/ip_scan.c
293
switch ((int)*t)
sys/netpfil/ipfilter/netinet/ip_scan.c
384
tcpdata_t *t;
sys/netpfil/ipfilter/netinet/ip_scan.c
459
t = &is->is_tcp.ts_data[0];
sys/netpfil/ipfilter/netinet/ip_scan.c
460
if (t->td_end > is->is_s0[0] + 15)
sys/netpfil/ipfilter/netinet/ip_scan.c
463
t = &is->is_tcp.ts_data[1];
sys/netpfil/ipfilter/netinet/ip_scan.c
464
if (t->td_end > is->is_s0[1] + 15)
sys/netpfil/ipfilter/netinet/ip_state.c
5078
ipf_state_settimeout(struct ipf_main_softc_s *softc, ipftuneable_t *t,
sys/netpfil/ipfilter/netinet/ip_state.c
5086
if (*t->ipft_pint == p->ipftu_int)
sys/netpfil/ipfilter/netinet/ip_state.c
5089
if (!strncmp(t->ipft_name, "tcp_", 4))
sys/netpfil/ipfilter/netinet/ip_state.c
5090
return (ipf_settimeout_tcp(t, p, softs->ipf_state_tcptq));
sys/netpfil/ipfilter/netinet/ip_state.c
5092
if (!strcmp(t->ipft_name, "udp_timeout")) {
sys/netpfil/ipfilter/netinet/ip_state.c
5094
} else if (!strcmp(t->ipft_name, "udp_ack_timeout")) {
sys/netpfil/ipfilter/netinet/ip_state.c
5096
} else if (!strcmp(t->ipft_name, "icmp_timeout")) {
sys/netpfil/ipfilter/netinet/ip_state.c
5098
} else if (!strcmp(t->ipft_name, "icmp_ack_timeout")) {
sys/netpfil/ipfilter/netinet/ip_state.c
5100
} else if (!strcmp(t->ipft_name, "ip_timeout")) {
sys/netpfil/ipfilter/netinet/ip_state.c
5110
*t->ipft_pint = p->ipftu_int;
sys/netpfil/ipfilter/netinet/ip_state.c
5128
ipf_state_rehash(ipf_main_softc_t *softc, ipftuneable_t *t, ipftuneval_t *p)
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
403
u_char *msg, *s, *t;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
429
for (t = (u_char *)ti->ti_filename; (len > 0); len--, s++) {
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
430
*t++ = *s;
sys/netpfil/ipfw/dn_aqm_codel.c
142
aqm_time_t t)
sys/netpfil/ipfw/dn_aqm_codel.c
153
return t + cprms->interval;
sys/netpfil/ipfw/dn_aqm_codel.c
181
return t + ((cprms->interval * temp) >> FIX_POINT_BITS);
sys/netpfil/ipfw/dn_aqm_pie.c
487
int t;
sys/netpfil/ipfw/dn_aqm_pie.c
500
t = ENQUE;
sys/netpfil/ipfw/dn_aqm_pie.c
508
t = DROP;
sys/netpfil/ipfw/dn_aqm_pie.c
519
t = ENQUE;
sys/netpfil/ipfw/dn_aqm_pie.c
521
t = DROP;
sys/netpfil/ipfw/dn_aqm_pie.c
539
if (t != DROP && !(pprms->flags & PIE_DEPRATEEST_ENABLED)) {
sys/netpfil/ipfw/dn_aqm_pie.c
547
t = DROP;
sys/netpfil/ipfw/dn_aqm_pie.c
554
if (t != DROP) {
sys/netpfil/ipfw/dn_heap.c
56
#define malloc(s, t, w) my_malloc(s)
sys/netpfil/ipfw/dn_heap.c
57
#define free(p, t) my_free(p)
sys/netpfil/ipfw/dn_sched_fq_pie.c
693
int t;
sys/netpfil/ipfw/dn_sched_fq_pie.c
698
t = ENQUE;
sys/netpfil/ipfw/dn_sched_fq_pie.c
710
t = ENQUE;
sys/netpfil/ipfw/dn_sched_fq_pie.c
712
t = DROP;
sys/netpfil/ipfw/dn_sched_fq_pie.c
731
if (t != DROP && !(pprms->flags & PIE_DEPRATEEST_ENABLED)) {
sys/netpfil/ipfw/dn_sched_fq_pie.c
739
t = DROP;
sys/netpfil/ipfw/dn_sched_fq_pie.c
746
if (t != DROP) {
sys/netpfil/ipfw/ip_dn_io.c
354
u_int t = div64((V_dn_cfg.curr_time - q->q_time), fs->lookup_step);
sys/netpfil/ipfw/ip_dn_io.c
356
q->avg = (t < fs->lookup_depth) ?
sys/netpfil/ipfw/ip_dn_io.c
357
SCALE_MUL(q->avg, fs->w_q_lookup[t]) : 0;
sys/netpfil/ipfw/ip_dn_io.c
663
uint64_t t;
sys/netpfil/ipfw/ip_dn_io.c
665
t = div64(bw - 1 - si->credit, bw);
sys/netpfil/ipfw/ip_dn_io.c
667
dn_tag_get(m)->output_time += t;
sys/netpfil/ipfw/ip_dn_io.c
669
heap_insert(&V_dn_cfg.evheap, now + t, si);
sys/netpfil/ipfw/ip_dn_io.c
684
struct timeval t;
sys/netpfil/ipfw/ip_dn_io.c
706
getmicrouptime(&t);
sys/netpfil/ipfw/ip_dn_io.c
708
V_dn_cfg.tick_last = (t.tv_sec - V_dn_cfg.prev_t.tv_sec) * 1000000 +
sys/netpfil/ipfw/ip_dn_io.c
709
(t.tv_usec - V_dn_cfg.prev_t.tv_usec);
sys/netpfil/ipfw/ip_dn_io.c
715
V_dn_cfg.prev_t = t;
sys/netpfil/ipfw/ip_dummynet.c
1211
int t, i;
sys/netpfil/ipfw/ip_dummynet.c
1228
for (t = fs->lookup_step; t > 1; --t)
sys/netpfil/ipfw/ip_fw2.c
3419
struct cfg_nat *t;
sys/netpfil/ipfw/ip_fw2.c
3429
t = ((ipfw_insn_nat *)cmd)->nat;
sys/netpfil/ipfw/ip_fw2.c
3430
if (t == NULL) {
sys/netpfil/ipfw/ip_fw2.c
3432
t = (*lookup_nat_ptr)(&chain->nat, nat_id);
sys/netpfil/ipfw/ip_fw2.c
3434
if (t == NULL) {
sys/netpfil/ipfw/ip_fw2.c
3439
((ipfw_insn_nat *)cmd)->nat = t;
sys/netpfil/ipfw/ip_fw2.c
3441
retval = ipfw_nat_ptr(args, t, m);
sys/netpfil/ipfw/ip_fw_nat.c
292
ipfw_nat(struct ip_fw_args *args, struct cfg_nat *t, struct mbuf *m)
sys/netpfil/ipfw/ip_fw_nat.c
349
if (t == NULL) {
sys/netpfil/ipfw/ip_fw_nat.c
360
LIST_FOREACH(t, &chain->nat, _next) {
sys/netpfil/ipfw/ip_fw_nat.c
361
if ((t->mode & PKT_ALIAS_SKIP_GLOBAL) != 0)
sys/netpfil/ipfw/ip_fw_nat.c
363
retval = LibAliasOutTry(t->lib, c,
sys/netpfil/ipfw/ip_fw_nat.c
378
retval = LibAliasIn(t->lib, c,
sys/netpfil/ipfw/ip_fw_nat.c
381
retval = LibAliasOut(t->lib, c,
sys/netpfil/ipfw/ip_fw_nat.c
397
(t->mode & PKT_ALIAS_DENY_INCOMING) != 0)))) {
sys/netpfil/ipfw/test/dn_test.h
31
#define offsetof(t,m) (int)(intptr_t)((&((t *)0L)->m))
sys/netpfil/pf/pf.c
1609
struct m_tag *t;
sys/netpfil/pf/pf.c
1611
t = (struct m_tag *)mem;
sys/netpfil/pf/pf.c
1612
t->m_tag_cookie = MTAG_ABI_COMPAT;
sys/netpfil/pf/pf.c
1613
t->m_tag_id = PACKET_TAG_PF;
sys/netpfil/pf/pf.c
1614
t->m_tag_len = sizeof(struct pf_mtag);
sys/netpfil/pf/pf.c
1615
t->m_tag_free = pf_mtag_free;
sys/netpfil/pf/pf.c
1621
pf_mtag_free(struct m_tag *t)
sys/netpfil/pf/pf.c
1624
uma_zfree(pf_mtag_z, t);
sys/netpfil/pf/pf.c
5906
#define PF_TEST_ATTRIB(t, a) \
sys/netpfil/pf/pf.c
5907
if (t) { \
sys/netpfil/pf/pf.c
610
struct pfr_ktable *t;
sys/netpfil/pf/pf.c
618
else if ((t = srlim->pfsrlim_overload.table) != NULL &&
sys/netpfil/pf/pf.c
624
pfr_insert_kentry(t, &p, time_second);
sys/netpfil/pf/pf.c
633
struct pfr_ktable *t;
sys/netpfil/pf/pf.c
638
t = srlim->pfsrlim_overload.table;
sys/netpfil/pf/pf.c
639
if (t != NULL && sr->pfsr_intable &&
sys/netpfil/pf/pf.c
645
pfr_remove_kentry(t, &p);
sys/netpfil/pf/pf.c
8388
struct in_addr t;
sys/netpfil/pf/pf.c
8391
(sizeof(struct sctp_paramhdr) + sizeof(t)))
sys/netpfil/pf/pf.c
8394
if (!pf_pull_hdr(pd->m, start + off + sizeof(h), &t, sizeof(t),
sys/netpfil/pf/pf.c
8398
if (in_nullhost(t))
sys/netpfil/pf/pf.c
8399
t.s_addr = pd->src->v4.s_addr;
sys/netpfil/pf/pf.c
8415
SDT_PROBE2(pf, sctp, multihome_scan, ipv4, &t, op);
sys/netpfil/pf/pf.c
8420
memcpy(&job->src, &t, sizeof(t));
sys/netpfil/pf/pf.c
8433
struct in6_addr t;
sys/netpfil/pf/pf.c
8436
(sizeof(struct sctp_paramhdr) + sizeof(t)))
sys/netpfil/pf/pf.c
8439
if (!pf_pull_hdr(pd->m, start + off + sizeof(h), &t, sizeof(t),
sys/netpfil/pf/pf.c
8442
if (memcmp(&t, &pd->src->v6, sizeof(t)) == 0)
sys/netpfil/pf/pf.c
8444
if (memcmp(&t, &in6addr_any, sizeof(t)) == 0)
sys/netpfil/pf/pf.c
8445
memcpy(&t, &pd->src->v6, sizeof(t));
sys/netpfil/pf/pf.c
8451
SDT_PROBE2(pf, sctp, multihome_scan, ipv6, &t, op);
sys/netpfil/pf/pf.c
8454
memcpy(&job->src, &t, sizeof(t));
sys/netpfil/pf/pf_ioctl.c
664
struct pf_tagname *t, *tmp;
sys/netpfil/pf/pf_ioctl.c
672
TAILQ_FOREACH_SAFE(t, &ts->namehash[i], namehash_entries, tmp)
sys/netpfil/pf/pf_ioctl.c
673
uma_zfree(V_pf_tag_z, t);
sys/netpfil/pf/pf_ioctl.c
7450
u_int32_t t[5];
sys/netpfil/pf/pf_ioctl.c
7461
if ((error = pf_begin_rules(&t[rs_num], rs_num,
sys/netpfil/pf/pf_ioctl.c
7470
error = pf_commit_rules(t[rs_num], rs_num,
sys/netpfil/pf/pf_ioctl.c
7479
if ((error = pf_begin_eth(&t[0], eth_anchor->path))
sys/netpfil/pf/pf_ioctl.c
7486
error = pf_commit_eth(t[0], eth_anchor->path);
sys/netpfil/pf/pf_ioctl.c
7490
if ((error = pf_begin_rules(&t[0], PF_RULESET_SCRUB, &nn))
sys/netpfil/pf/pf_ioctl.c
7495
if ((error = pf_begin_rules(&t[1], PF_RULESET_FILTER, &nn))
sys/netpfil/pf/pf_ioctl.c
7500
if ((error = pf_begin_rules(&t[2], PF_RULESET_NAT, &nn))
sys/netpfil/pf/pf_ioctl.c
7505
if ((error = pf_begin_rules(&t[3], PF_RULESET_BINAT, &nn))
sys/netpfil/pf/pf_ioctl.c
7510
if ((error = pf_begin_rules(&t[4], PF_RULESET_RDR, &nn))
sys/netpfil/pf/pf_ioctl.c
7516
error = pf_commit_rules(t[0], PF_RULESET_SCRUB, &nn);
sys/netpfil/pf/pf_ioctl.c
7518
error = pf_commit_rules(t[1], PF_RULESET_FILTER, &nn);
sys/netpfil/pf/pf_ioctl.c
7520
error = pf_commit_rules(t[2], PF_RULESET_NAT, &nn);
sys/netpfil/pf/pf_ioctl.c
7522
error = pf_commit_rules(t[3], PF_RULESET_BINAT, &nn);
sys/netpfil/pf/pf_ioctl.c
7524
error = pf_commit_rules(t[4], PF_RULESET_RDR, &nn);
sys/netpfil/pf/pf_ioctl.c
7530
if ((error = pf_begin_eth(&t[0], &nn)) != 0) {
sys/netpfil/pf/pf_ioctl.c
7534
error = pf_commit_eth(t[0], &nn);
sys/netpfil/pf/pf_ioctl.c
7538
if ((error = pf_begin_altq(&t[0])) != 0) {
sys/netpfil/pf/pf_ioctl.c
7542
pf_commit_altq(t[0]);
sys/netpfil/pf/pf_ioctl.c
788
struct pf_tagname *t;
sys/netpfil/pf/pf_ioctl.c
796
TAILQ_FOREACH(t, &ts->taghash[index], taghash_entries)
sys/netpfil/pf/pf_ioctl.c
797
if (tag == t->tag) {
sys/netpfil/pf/pf_ioctl.c
799
return (t->name);
sys/netpfil/pf/pf_ioctl.c
809
struct pf_tagname *t;
sys/netpfil/pf/pf_ioctl.c
815
TAILQ_FOREACH(t, &ts->taghash[index], taghash_entries)
sys/netpfil/pf/pf_ioctl.c
816
if (tag == t->tag) {
sys/netpfil/pf/pf_ioctl.c
817
if (--t->ref == 0) {
sys/netpfil/pf/pf_ioctl.c
818
TAILQ_REMOVE(&ts->taghash[index], t,
sys/netpfil/pf/pf_ioctl.c
820
index = tagname2hashindex(ts, t->name);
sys/netpfil/pf/pf_ioctl.c
821
TAILQ_REMOVE(&ts->namehash[index], t,
sys/netpfil/pf/pf_ioctl.c
825
uma_zfree(V_pf_tag_z, t);
sys/netpfil/pf/pf_lb.c
129
#define PF_TEST_ATTRIB(t, a) \
sys/netpfil/pf/pf_lb.c
130
if (t) { \
sys/netpfil/pf/pf_nl.c
1769
const struct pf_kthreshold *t)
sys/netpfil/pf/pf_nl.c
1778
if (t->cr != NULL)
sys/netpfil/pf/pf_nl.c
1779
conn_rate_count = counter_rate_get(t->cr);
sys/netpfil/pf/pf_nl.c
1781
nlattr_add_u32(nw, PF_TH_LIMIT, t->limit);
sys/netpfil/pf/pf_nl.c
1782
nlattr_add_u32(nw, PF_TH_SECONDS, t->seconds);
sys/netpfil/pf/pf_nl.c
1973
struct pfr_table *t)
sys/netpfil/pf/pf_nl.c
1980
nlattr_add_string(nw, PF_T_ANCHOR, t->pfrt_anchor);
sys/netpfil/pf/pf_nl.c
1981
nlattr_add_string(nw, PF_T_NAME, t->pfrt_name);
sys/netpfil/pf/pf_nl.c
1982
nlattr_add_u32(nw, PF_T_TABLE_FLAGS, t->pfrt_flags);
sys/netpfil/pf/pf_nl.c
680
struct nl_parsed_timeouts *t = (struct nl_parsed_timeouts *)target;
sys/netpfil/pf/pf_nl.c
683
if (t->i >= PFTM_MAX)
sys/netpfil/pf/pf_nl.c
686
ret = nlattr_get_uint32(nla, npt, NULL, &t->timeouts[t->i]);
sys/netpfil/pf/pf_nl.c
688
t->i++;
sys/netpfil/pf/pf_norm.c
1054
struct mbuf *m = *m0, *t;
sys/netpfil/pf/pf_norm.c
1117
for (; m; m = t) {
sys/netpfil/pf/pf_norm.c
1118
t = m->m_nextpkt;
sys/nfs/xdr_subs.h
49
#define fxdr_unsigned(t, v) ((t)ntohl((int32_t)(v)))
sys/nfs/xdr_subs.h
52
#define fxdr_nfsv2time(f, t) \
sys/nfs/xdr_subs.h
54
(t)->tv_sec = ntohl(((struct nfsv2_time *)(f))->nfsv2_sec); \
sys/nfs/xdr_subs.h
56
(t)->tv_nsec = 1000 * ntohl(((struct nfsv2_time *)(f))->nfsv2_usec); \
sys/nfs/xdr_subs.h
58
(t)->tv_nsec = 0; \
sys/nfs/xdr_subs.h
60
#define txdr_nfsv2time(f, t) \
sys/nfs/xdr_subs.h
62
((struct nfsv2_time *)(t))->nfsv2_sec = htonl((f)->tv_sec); \
sys/nfs/xdr_subs.h
64
((struct nfsv2_time *)(t))->nfsv2_usec = htonl((f)->tv_nsec / 1000); \
sys/nfs/xdr_subs.h
66
((struct nfsv2_time *)(t))->nfsv2_usec = 0xffffffff; \
sys/nfs/xdr_subs.h
69
#define fxdr_nfsv3time(f, t) \
sys/nfs/xdr_subs.h
71
(t)->tv_sec = ntohl(((struct nfsv3_time *)(f))->nfsv3_sec); \
sys/nfs/xdr_subs.h
72
(t)->tv_nsec = ntohl(((struct nfsv3_time *)(f))->nfsv3_nsec); \
sys/nfs/xdr_subs.h
74
#define txdr_nfsv3time(f, t) \
sys/nfs/xdr_subs.h
76
((struct nfsv3_time *)(t))->nfsv3_sec = htonl((f)->tv_sec); \
sys/nfs/xdr_subs.h
77
((struct nfsv3_time *)(t))->nfsv3_nsec = htonl((f)->tv_nsec); \
sys/nfs/xdr_subs.h
85
txdr_hyper(uint64_t f, uint32_t* t)
sys/nfs/xdr_subs.h
87
t[0] = htonl((u_int32_t)(f >> 32));
sys/nfs/xdr_subs.h
88
t[1] = htonl((u_int32_t)(f & 0xffffffff));
sys/ofed/drivers/infiniband/core/ib_mad.c
936
struct ib_rmpp_segment *s, *t;
sys/ofed/drivers/infiniband/core/ib_mad.c
938
list_for_each_entry_safe(s, t, &mad_send_wr->rmpp_list, list) {
sys/ofed/drivers/infiniband/core/ib_sysfs.c
1307
struct kobject *p, *t;
sys/ofed/drivers/infiniband/core/ib_sysfs.c
1309
list_for_each_entry_safe(p, t, &device->port_list, entry) {
sys/ofed/drivers/infiniband/core/ib_sysfs.c
1412
struct kobject *p, *t;
sys/ofed/drivers/infiniband/core/ib_sysfs.c
1415
list_for_each_entry_safe(p, t, &device->port_list, entry) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c
304
} *t;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c
313
t = kmalloc(sizeof *t, GFP_KERNEL);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c
314
if (!t) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c
319
ipoib_cm_init_rx_wr(priv, &t->wr, t->sge);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c
339
ret = ipoib_cm_post_receive_nonsrq(priv, rx, &t->wr, t->sge, i);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c
350
kfree(t);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c
360
kfree(t);
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
360
unsigned long nsec_rem, t;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
367
t = l->time - start_t;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
368
nsec_rem = do_div(t, 1000000000);
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
372
l->idx, (unsigned long)t, nsec_rem/1000,
sys/opencrypto/gfmult.c
59
gf128_genmultable(struct gf128 h, struct gf128table *t)
sys/opencrypto/gfmult.c
73
t->a[nib_rev[i]] = tbl[i].v[0] >> 32;
sys/opencrypto/gfmult.c
74
t->b[nib_rev[i]] = tbl[i].v[0];
sys/opencrypto/gfmult.c
75
t->c[nib_rev[i]] = tbl[i].v[1] >> 32;
sys/opencrypto/gfmult.c
76
t->d[nib_rev[i]] = tbl[i].v[1];
sys/opencrypto/gfmult.c
84
gf128_genmultable4(struct gf128 h, struct gf128table4 *t)
sys/opencrypto/gfmult.c
88
gf128_genmultable(h, &t->tbls[0]);
sys/opencrypto/gfmult.c
90
h2 = gf128_mul(h, &t->tbls[0]);
sys/opencrypto/gfmult.c
92
gf128_genmultable(h2, &t->tbls[1]);
sys/opencrypto/gfmult.c
94
h3 = gf128_mul(h, &t->tbls[1]);
sys/opencrypto/gfmult.c
95
gf128_genmultable(h3, &t->tbls[2]);
sys/opencrypto/gfmult.c
97
h4 = gf128_mul(h2, &t->tbls[1]);
sys/opencrypto/gfmult.c
98
gf128_genmultable(h4, &t->tbls[3]);
sys/opencrypto/gfmult.h
117
void gf128_genmultable(struct gf128 h, struct gf128table *t);
sys/opencrypto/gfmult.h
118
void gf128_genmultable4(struct gf128 h, struct gf128table4 *t);
sys/opencrypto/rmd160.c
161
uint32_t a, b, c, d, e, aa, bb, cc, dd, ee, t, x[16];
sys/opencrypto/rmd160.c
358
t = state[1] + cc + d;
sys/opencrypto/rmd160.c
363
state[0] = t;
sys/powerpc/aim/mmu_radix.c
138
#define ___PPC_RT(t) ___PPC_RS(t)
sys/powerpc/include/atomic.h
100
: "=&r" (t), "=m" (*p) \
sys/powerpc/include/atomic.h
105
#define __atomic_add_long(p, v, t) \
sys/powerpc/include/atomic.h
111
: "=&r" (t), "=m" (*p) \
sys/powerpc/include/atomic.h
120
u_##type t; \
sys/powerpc/include/atomic.h
121
__atomic_add_##type(p, v, t); \
sys/powerpc/include/atomic.h
126
u_##type t; \
sys/powerpc/include/atomic.h
127
__atomic_add_##type(p, v, t); \
sys/powerpc/include/atomic.h
133
u_##type t; \
sys/powerpc/include/atomic.h
135
__atomic_add_##type(p, v, t); \
sys/powerpc/include/atomic.h
169
#define __atomic_clear_char(p, v, t) \
sys/powerpc/include/atomic.h
175
: "=&r" (t), "=m" (*p) \
sys/powerpc/include/atomic.h
179
#define __atomic_clear_short(p, v, t) \
sys/powerpc/include/atomic.h
185
: "=&r" (t), "=m" (*p) \
sys/powerpc/include/atomic.h
190
#define __atomic_clear_int(p, v, t) \
sys/powerpc/include/atomic.h
196
: "=&r" (t), "=m" (*p) \
sys/powerpc/include/atomic.h
202
#define __atomic_clear_long(p, v, t) \
sys/powerpc/include/atomic.h
208
: "=&r" (t), "=m" (*p) \
sys/powerpc/include/atomic.h
213
#define __atomic_clear_long(p, v, t) \
sys/powerpc/include/atomic.h
219
: "=&r" (t), "=m" (*p) \
sys/powerpc/include/atomic.h
228
u_##type t; \
sys/powerpc/include/atomic.h
229
__atomic_clear_##type(p, v, t); \
sys/powerpc/include/atomic.h
234
u_##type t; \
sys/powerpc/include/atomic.h
235
__atomic_clear_##type(p, v, t); \
sys/powerpc/include/atomic.h
241
u_##type t; \
sys/powerpc/include/atomic.h
243
__atomic_clear_##type(p, v, t); \
sys/powerpc/include/atomic.h
296
#define __atomic_set_char(p, v, t) \
sys/powerpc/include/atomic.h
302
: "=&r" (t), "=m" (*p) \
sys/powerpc/include/atomic.h
306
#define __atomic_set_short(p, v, t) \
sys/powerpc/include/atomic.h
312
: "=&r" (t), "=m" (*p) \
sys/powerpc/include/atomic.h
318
#define __atomic_set_int(p, v, t) \
sys/powerpc/include/atomic.h
324
: "=&r" (t), "=m" (*p) \
sys/powerpc/include/atomic.h
330
#define __atomic_set_long(p, v, t) \
sys/powerpc/include/atomic.h
336
: "=&r" (t), "=m" (*p) \
sys/powerpc/include/atomic.h
341
#define __atomic_set_long(p, v, t) \
sys/powerpc/include/atomic.h
347
: "=&r" (t), "=m" (*p) \
sys/powerpc/include/atomic.h
356
u_##type t; \
sys/powerpc/include/atomic.h
357
__atomic_set_##type(p, v, t); \
sys/powerpc/include/atomic.h
362
u_##type t; \
sys/powerpc/include/atomic.h
363
__atomic_set_##type(p, v, t); \
sys/powerpc/include/atomic.h
369
u_##type t; \
sys/powerpc/include/atomic.h
371
__atomic_set_##type(p, v, t); \
sys/powerpc/include/atomic.h
409
#define __atomic_subtract_int(p, v, t) \
sys/powerpc/include/atomic.h
415
: "=&r" (t), "=m" (*p) \
sys/powerpc/include/atomic.h
421
#define __atomic_subtract_long(p, v, t) \
sys/powerpc/include/atomic.h
427
: "=&r" (t), "=m" (*p) \
sys/powerpc/include/atomic.h
432
#define __atomic_subtract_long(p, v, t) \
sys/powerpc/include/atomic.h
438
: "=&r" (t), "=m" (*p) \
sys/powerpc/include/atomic.h
447
u_##type t; \
sys/powerpc/include/atomic.h
448
__atomic_subtract_##type(p, v, t); \
sys/powerpc/include/atomic.h
453
u_##type t; \
sys/powerpc/include/atomic.h
454
__atomic_subtract_##type(p, v, t); \
sys/powerpc/include/atomic.h
460
u_##type t; \
sys/powerpc/include/atomic.h
462
__atomic_subtract_##type(p, v, t); \
sys/powerpc/include/atomic.h
82
#define __atomic_add_int(p, v, t) \
sys/powerpc/include/atomic.h
88
: "=&r" (t), "=m" (*p) \
sys/powerpc/include/atomic.h
94
#define __atomic_add_long(p, v, t) \
sys/powerpc/include/bus.h
264
#define __bs_rs(sz, t, h, o) \
sys/powerpc/include/bus.h
265
(*(t)->__bs_opname(r,sz))(h, o)
sys/powerpc/include/bus.h
266
#define __bs_ws(sz, t, h, o, v) \
sys/powerpc/include/bus.h
267
(*(t)->__bs_opname(w,sz))(h, o, v)
sys/powerpc/include/bus.h
268
#define __bs_nonsingle(type, sz, t, h, o, a, c) \
sys/powerpc/include/bus.h
269
(*(t)->__bs_opname(type,sz))(h, o, a, c)
sys/powerpc/include/bus.h
270
#define __bs_set(type, sz, t, h, o, v, c) \
sys/powerpc/include/bus.h
271
(*(t)->__bs_opname(type,sz))(h, o, v, c)
sys/powerpc/include/bus.h
272
#define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \
sys/powerpc/include/bus.h
273
(*(t)->__bs_opname(c,sz))(h1, o1, h2, o2, cnt)
sys/powerpc/include/bus.h
278
#define bus_space_map(t, a, s, c, hp) (*(t)->bs_map)(a, s, c, hp)
sys/powerpc/include/bus.h
279
#define bus_space_unmap(t, h, s) (*(t)->bs_unmap)(h, s)
sys/powerpc/include/bus.h
280
#define bus_space_subregion(t, h, o, s, hp) (*(t)->bs_subregion)(h, o, s, hp)
sys/powerpc/include/bus.h
285
#define bus_space_alloc(t, rs, re, s, a, b, c, ap, hp) \
sys/powerpc/include/bus.h
286
(*(t)->bs_alloc)(rs, re, s, a, b, c, ap, hp)
sys/powerpc/include/bus.h
287
#define bus_space_free(t, h, s) \
sys/powerpc/include/bus.h
288
(*(t)->bs_free)(h, s)
sys/powerpc/include/bus.h
293
#define bus_space_barrier(t, h, o, l, f) (*(t)->bs_barrier)(h, o, l, f)
sys/powerpc/include/bus.h
298
#define bus_space_read_1(t, h, o) __bs_rs(1,t,h,o)
sys/powerpc/include/bus.h
299
#define bus_space_read_2(t, h, o) __bs_rs(2,t,h,o)
sys/powerpc/include/bus.h
300
#define bus_space_read_4(t, h, o) __bs_rs(4,t,h,o)
sys/powerpc/include/bus.h
301
#define bus_space_read_8(t, h, o) __bs_rs(8,t,h,o)
sys/powerpc/include/bus.h
304
#define bus_space_read_stream_2(t, h, o) __bs_rs(s_2,t,h,o)
sys/powerpc/include/bus.h
305
#define bus_space_read_stream_4(t, h, o) __bs_rs(s_4,t,h,o)
sys/powerpc/include/bus.h
306
#define bus_space_read_stream_8(t, h, o) __bs_rs(s_8,t,h,o)
sys/powerpc/include/bus.h
311
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/powerpc/include/bus.h
312
__bs_nonsingle(rm,1,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
313
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/powerpc/include/bus.h
314
__bs_nonsingle(rm,2,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
315
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/powerpc/include/bus.h
316
__bs_nonsingle(rm,4,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
317
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/powerpc/include/bus.h
318
__bs_nonsingle(rm,8,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
321
#define bus_space_read_multi_stream_2(t, h, o, a, c) \
sys/powerpc/include/bus.h
322
__bs_nonsingle(rm,s_2,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
323
#define bus_space_read_multi_stream_4(t, h, o, a, c) \
sys/powerpc/include/bus.h
324
__bs_nonsingle(rm,s_4,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
325
#define bus_space_read_multi_stream_8(t, h, o, a, c) \
sys/powerpc/include/bus.h
326
__bs_nonsingle(rm,s_8,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
331
#define bus_space_read_region_1(t, h, o, a, c) \
sys/powerpc/include/bus.h
332
__bs_nonsingle(rr,1,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
333
#define bus_space_read_region_2(t, h, o, a, c) \
sys/powerpc/include/bus.h
334
__bs_nonsingle(rr,2,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
335
#define bus_space_read_region_4(t, h, o, a, c) \
sys/powerpc/include/bus.h
336
__bs_nonsingle(rr,4,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
337
#define bus_space_read_region_8(t, h, o, a, c) \
sys/powerpc/include/bus.h
338
__bs_nonsingle(rr,8,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
341
#define bus_space_read_region_stream_2(t, h, o, a, c) \
sys/powerpc/include/bus.h
342
__bs_nonsingle(rr,s_2,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
343
#define bus_space_read_region_stream_4(t, h, o, a, c) \
sys/powerpc/include/bus.h
344
__bs_nonsingle(rr,s_4,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
345
#define bus_space_read_region_stream_8(t, h, o, a, c) \
sys/powerpc/include/bus.h
346
__bs_nonsingle(rr,s_8,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
351
#define bus_space_write_1(t, h, o, v) __bs_ws(1,(t),(h),(o),(v))
sys/powerpc/include/bus.h
352
#define bus_space_write_2(t, h, o, v) __bs_ws(2,(t),(h),(o),(v))
sys/powerpc/include/bus.h
353
#define bus_space_write_4(t, h, o, v) __bs_ws(4,(t),(h),(o),(v))
sys/powerpc/include/bus.h
354
#define bus_space_write_8(t, h, o, v) __bs_ws(8,(t),(h),(o),(v))
sys/powerpc/include/bus.h
357
#define bus_space_write_stream_2(t, h, o, v) __bs_ws(s_2,(t),(h),(o),(v))
sys/powerpc/include/bus.h
358
#define bus_space_write_stream_4(t, h, o, v) __bs_ws(s_4,(t),(h),(o),(v))
sys/powerpc/include/bus.h
359
#define bus_space_write_stream_8(t, h, o, v) __bs_ws(s_8,(t),(h),(o),(v))
sys/powerpc/include/bus.h
364
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/powerpc/include/bus.h
365
__bs_nonsingle(wm,1,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
366
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/powerpc/include/bus.h
367
__bs_nonsingle(wm,2,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
368
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/powerpc/include/bus.h
369
__bs_nonsingle(wm,4,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
370
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/powerpc/include/bus.h
371
__bs_nonsingle(wm,8,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
374
#define bus_space_write_multi_stream_2(t, h, o, a, c) \
sys/powerpc/include/bus.h
375
__bs_nonsingle(wm,s_2,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
376
#define bus_space_write_multi_stream_4(t, h, o, a, c) \
sys/powerpc/include/bus.h
377
__bs_nonsingle(wm,s_4,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
378
#define bus_space_write_multi_stream_8(t, h, o, a, c) \
sys/powerpc/include/bus.h
379
__bs_nonsingle(wm,s_8,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
384
#define bus_space_write_region_1(t, h, o, a, c) \
sys/powerpc/include/bus.h
385
__bs_nonsingle(wr,1,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
386
#define bus_space_write_region_2(t, h, o, a, c) \
sys/powerpc/include/bus.h
387
__bs_nonsingle(wr,2,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
388
#define bus_space_write_region_4(t, h, o, a, c) \
sys/powerpc/include/bus.h
389
__bs_nonsingle(wr,4,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
390
#define bus_space_write_region_8(t, h, o, a, c) \
sys/powerpc/include/bus.h
391
__bs_nonsingle(wr,8,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
394
#define bus_space_write_region_stream_2(t, h, o, a, c) \
sys/powerpc/include/bus.h
395
__bs_nonsingle(wr,s_2,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
396
#define bus_space_write_region_stream_4(t, h, o, a, c) \
sys/powerpc/include/bus.h
397
__bs_nonsingle(wr,s_4,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
398
#define bus_space_write_region_stream_8(t, h, o, a, c) \
sys/powerpc/include/bus.h
399
__bs_nonsingle(wr,s_8,(t),(h),(o),(a),(c))
sys/powerpc/include/bus.h
404
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/powerpc/include/bus.h
405
__bs_set(sm,1,(t),(h),(o),(v),(c))
sys/powerpc/include/bus.h
406
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/powerpc/include/bus.h
407
__bs_set(sm,2,(t),(h),(o),(v),(c))
sys/powerpc/include/bus.h
408
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/powerpc/include/bus.h
409
__bs_set(sm,4,(t),(h),(o),(v),(c))
sys/powerpc/include/bus.h
410
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/powerpc/include/bus.h
411
__bs_set(sm,8,(t),(h),(o),(v),(c))
sys/powerpc/include/bus.h
414
#define bus_space_set_multi_stream_2(t, h, o, v, c) \
sys/powerpc/include/bus.h
415
__bs_set(sm,s_2,(t),(h),(o),(v),(c))
sys/powerpc/include/bus.h
416
#define bus_space_set_multi_stream_4(t, h, o, v, c) \
sys/powerpc/include/bus.h
417
__bs_set(sm,s_4,(t),(h),(o),(v),(c))
sys/powerpc/include/bus.h
418
#define bus_space_set_multi_stream_8(t, h, o, v, c) \
sys/powerpc/include/bus.h
419
__bs_set(sm,s_8,(t),(h),(o),(v),(c))
sys/powerpc/include/bus.h
424
#define bus_space_set_region_1(t, h, o, v, c) \
sys/powerpc/include/bus.h
425
__bs_set(sr,1,(t),(h),(o),(v),(c))
sys/powerpc/include/bus.h
426
#define bus_space_set_region_2(t, h, o, v, c) \
sys/powerpc/include/bus.h
427
__bs_set(sr,2,(t),(h),(o),(v),(c))
sys/powerpc/include/bus.h
428
#define bus_space_set_region_4(t, h, o, v, c) \
sys/powerpc/include/bus.h
429
__bs_set(sr,4,(t),(h),(o),(v),(c))
sys/powerpc/include/bus.h
430
#define bus_space_set_region_8(t, h, o, v, c) \
sys/powerpc/include/bus.h
431
__bs_set(sr,8,(t),(h),(o),(v),(c))
sys/powerpc/include/bus.h
434
#define bus_space_set_region_stream_2(t, h, o, v, c) \
sys/powerpc/include/bus.h
435
__bs_set(sr,s_2,(t),(h),(o),(v),(c))
sys/powerpc/include/bus.h
436
#define bus_space_set_region_stream_4(t, h, o, v, c) \
sys/powerpc/include/bus.h
437
__bs_set(sr,s_4,(t),(h),(o),(v),(c))
sys/powerpc/include/bus.h
438
#define bus_space_set_region_stream_8(t, h, o, v, c) \
sys/powerpc/include/bus.h
439
__bs_set(sr,s_8,(t),(h),(o),(v),(c))
sys/powerpc/include/bus.h
445
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/powerpc/include/bus.h
446
__bs_copy(1, t, h1, o1, h2, o2, c)
sys/powerpc/include/bus.h
447
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/powerpc/include/bus.h
448
__bs_copy(2, t, h1, o1, h2, o2, c)
sys/powerpc/include/bus.h
449
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/powerpc/include/bus.h
450
__bs_copy(4, t, h1, o1, h2, o2, c)
sys/powerpc/include/bus.h
451
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/powerpc/include/bus.h
452
__bs_copy(8, t, h1, o1, h2, o2, c)
sys/powerpc/include/bus.h
455
#define bus_space_copy_region_stream_2(t, h1, o1, h2, o2, c) \
sys/powerpc/include/bus.h
456
__bs_copy(s_2, t, h1, o1, h2, o2, c)
sys/powerpc/include/bus.h
457
#define bus_space_copy_region_stream_4(t, h1, o1, h2, o2, c) \
sys/powerpc/include/bus.h
458
__bs_copy(s_4, t, h1, o1, h2, o2, c)
sys/powerpc/include/bus.h
459
#define bus_space_copy_region_stream_8(t, h1, o1, h2, o2, c) \
sys/powerpc/include/bus.h
460
__bs_copy(s_8, t, h1, o1, h2, o2, c)
sys/powerpc/include/bus.h
71
#define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
sys/powerpc/include/openpicreg.h
93
#define OPENPIC_TCNT(t) (0x1100 + (t) * 0x40)
sys/powerpc/include/openpicreg.h
94
#define OPENPIC_TBASE(t) (0x1110 + (t) * 0x40)
sys/powerpc/include/openpicreg.h
95
#define OPENPIC_TVEC(t) (0x1120 + (t) * 0x40)
sys/powerpc/include/openpicreg.h
96
#define OPENPIC_TDST(t) (0x1130 + (t) * 0x40)
sys/powerpc/include/param.h
90
#define ALIGNED_POINTER(p, t) ((((uintptr_t)(p)) & (sizeof (t) - 1)) == 0)
sys/powerpc/mpc85xx/fsl_sata.c
452
unsigned int mask, unsigned int val, int t)
sys/powerpc/mpc85xx/fsl_sata.c
458
if (timeout > t) {
sys/powerpc/mpc85xx/fsl_sata.c
855
int t = ccb->ccb_h.target_id;
sys/powerpc/mpc85xx/fsl_sata.c
860
if (((~ch->oslots) & (0xffff >> (16 - ch->curr[t].tags))) == 0)
sys/powerpc/mpc85xx/fsl_sata.c
863
if (ch->numrslotspd[t] != 0 && ch->numtslotspd[t] == 0)
sys/powerpc/mpc85xx/fsl_sata.c
867
if (ch->numrslotspd[t] != 0 && ch->numtslotspd[t] != 0)
sys/powerpc/powerpc/busdma_machdep.c
156
bus_dma_template_clone(bus_dma_template_t *t, bus_dma_tag_t dmat)
sys/powerpc/powerpc/busdma_machdep.c
160
if (t == NULL || dmat == NULL)
sys/powerpc/powerpc/busdma_machdep.c
165
t->alignment = common->alignment;
sys/powerpc/powerpc/busdma_machdep.c
166
t->boundary = common->boundary;
sys/powerpc/powerpc/busdma_machdep.c
167
t->lowaddr = common->lowaddr;
sys/powerpc/powerpc/busdma_machdep.c
168
t->highaddr = common->highaddr;
sys/powerpc/powerpc/busdma_machdep.c
169
t->maxsize = common->maxsize;
sys/powerpc/powerpc/busdma_machdep.c
170
t->nsegments = common->nsegments;
sys/powerpc/powerpc/busdma_machdep.c
171
t->maxsegsize = common->maxsegsz;
sys/powerpc/powerpc/busdma_machdep.c
172
t->flags = common->flags;
sys/powerpc/powerpc/busdma_machdep.c
173
t->lockfunc = common->lockfunc;
sys/powerpc/powerpc/busdma_machdep.c
174
t->lockfuncarg = common->lockfuncarg;
sys/powerpc/powerpc/copyinout.c
244
size_t i, l, t;
sys/powerpc/powerpc/copyinout.c
250
t = 0;
sys/powerpc/powerpc/copyinout.c
268
for (i = 0; len > 0 && i < l; i++, t++, len--) {
sys/powerpc/powerpc/copyinout.c
270
i++, t++;
sys/powerpc/powerpc/copyinout.c
283
*done = t;
sys/riscv/include/bus.h
262
#define __bs_rs(sz, t, h, o) \
sys/riscv/include/bus.h
263
(*(t)->__bs_opname(r,sz))((t)->bs_cookie, h, o)
sys/riscv/include/bus.h
264
#define __bs_ws(sz, t, h, o, v) \
sys/riscv/include/bus.h
265
(*(t)->__bs_opname(w,sz))((t)->bs_cookie, h, o, v)
sys/riscv/include/bus.h
266
#define __bs_nonsingle(type, sz, t, h, o, a, c) \
sys/riscv/include/bus.h
267
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, a, c)
sys/riscv/include/bus.h
268
#define __bs_set(type, sz, t, h, o, v, c) \
sys/riscv/include/bus.h
269
(*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, v, c)
sys/riscv/include/bus.h
270
#define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \
sys/riscv/include/bus.h
271
(*(t)->__bs_opname(c,sz))((t)->bs_cookie, h1, o1, h2, o2, cnt)
sys/riscv/include/bus.h
274
#define __bs_rs_s(sz, t, h, o) \
sys/riscv/include/bus.h
275
(*(t)->__bs_opname_s(r,sz))((t)->bs_cookie, h, o)
sys/riscv/include/bus.h
276
#define __bs_ws_s(sz, t, h, o, v) \
sys/riscv/include/bus.h
277
(*(t)->__bs_opname_s(w,sz))((t)->bs_cookie, h, o, v)
sys/riscv/include/bus.h
278
#define __bs_nonsingle_s(type, sz, t, h, o, a, c) \
sys/riscv/include/bus.h
279
(*(t)->__bs_opname_s(type,sz))((t)->bs_cookie, h, o, a, c)
sys/riscv/include/bus.h
284
#define bus_space_map(t, a, s, c, hp) \
sys/riscv/include/bus.h
285
(*(t)->bs_map)((t)->bs_cookie, (a), (s), (c), (hp))
sys/riscv/include/bus.h
286
#define bus_space_unmap(t, h, s) \
sys/riscv/include/bus.h
287
(*(t)->bs_unmap)((t)->bs_cookie, (h), (s))
sys/riscv/include/bus.h
288
#define bus_space_subregion(t, h, o, s, hp) \
sys/riscv/include/bus.h
289
(*(t)->bs_subregion)((t)->bs_cookie, (h), (o), (s), (hp))
sys/riscv/include/bus.h
294
#define bus_space_alloc(t, rs, re, s, a, b, c, ap, hp) \
sys/riscv/include/bus.h
295
(*(t)->bs_alloc)((t)->bs_cookie, (rs), (re), (s), (a), (b), \
sys/riscv/include/bus.h
297
#define bus_space_free(t, h, s) \
sys/riscv/include/bus.h
298
(*(t)->bs_free)((t)->bs_cookie, (h), (s))
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/riscv/include/bus.h
309
#define bus_space_read_1(t, h, o) __bs_rs(1,(t),(h),(o))
sys/riscv/include/bus.h
310
#define bus_space_read_2(t, h, o) __bs_rs(2,(t),(h),(o))
sys/riscv/include/bus.h
311
#define bus_space_read_4(t, h, o) __bs_rs(4,(t),(h),(o))
sys/riscv/include/bus.h
312
#define bus_space_read_8(t, h, o) __bs_rs(8,(t),(h),(o))
sys/riscv/include/bus.h
314
#define bus_space_read_stream_1(t, h, o) __bs_rs_s(1,(t), (h), (o))
sys/riscv/include/bus.h
315
#define bus_space_read_stream_2(t, h, o) __bs_rs_s(2,(t), (h), (o))
sys/riscv/include/bus.h
316
#define bus_space_read_stream_4(t, h, o) __bs_rs_s(4,(t), (h), (o))
sys/riscv/include/bus.h
317
#define bus_space_read_stream_8(t, h, o) __bs_rs_s(8,8,(t),(h),(o))
sys/riscv/include/bus.h
322
#define bus_space_read_multi_1(t, h, o, a, c) \
sys/riscv/include/bus.h
323
__bs_nonsingle(rm,1,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
324
#define bus_space_read_multi_2(t, h, o, a, c) \
sys/riscv/include/bus.h
325
__bs_nonsingle(rm,2,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
326
#define bus_space_read_multi_4(t, h, o, a, c) \
sys/riscv/include/bus.h
327
__bs_nonsingle(rm,4,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
328
#define bus_space_read_multi_8(t, h, o, a, c) \
sys/riscv/include/bus.h
329
__bs_nonsingle(rm,8,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
331
#define bus_space_read_multi_stream_1(t, h, o, a, c) \
sys/riscv/include/bus.h
332
__bs_nonsingle_s(rm,1,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
333
#define bus_space_read_multi_stream_2(t, h, o, a, c) \
sys/riscv/include/bus.h
334
__bs_nonsingle_s(rm,2,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
335
#define bus_space_read_multi_stream_4(t, h, o, a, c) \
sys/riscv/include/bus.h
336
__bs_nonsingle_s(rm,4,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
337
#define bus_space_read_multi_stream_8(t, h, o, a, c) \
sys/riscv/include/bus.h
338
__bs_nonsingle_s(rm,8,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
343
#define bus_space_read_region_1(t, h, o, a, c) \
sys/riscv/include/bus.h
344
__bs_nonsingle(rr,1,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
345
#define bus_space_read_region_2(t, h, o, a, c) \
sys/riscv/include/bus.h
346
__bs_nonsingle(rr,2,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
347
#define bus_space_read_region_4(t, h, o, a, c) \
sys/riscv/include/bus.h
348
__bs_nonsingle(rr,4,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
349
#define bus_space_read_region_8(t, h, o, a, c) \
sys/riscv/include/bus.h
350
__bs_nonsingle(rr,8,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
352
#define bus_space_read_region_stream_1(t, h, o, a, c) \
sys/riscv/include/bus.h
353
__bs_nonsingle_s(rr,1,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
354
#define bus_space_read_region_stream_2(t, h, o, a, c) \
sys/riscv/include/bus.h
355
__bs_nonsingle_s(rr,2,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
356
#define bus_space_read_region_stream_4(t, h, o, a, c) \
sys/riscv/include/bus.h
357
__bs_nonsingle_s(rr,4,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
358
#define bus_space_read_region_stream_8(t, h, o, a, c) \
sys/riscv/include/bus.h
359
__bs_nonsingle_s(rr,8,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
364
#define bus_space_write_1(t, h, o, v) __bs_ws(1,(t),(h),(o),(v))
sys/riscv/include/bus.h
365
#define bus_space_write_2(t, h, o, v) __bs_ws(2,(t),(h),(o),(v))
sys/riscv/include/bus.h
366
#define bus_space_write_4(t, h, o, v) __bs_ws(4,(t),(h),(o),(v))
sys/riscv/include/bus.h
367
#define bus_space_write_8(t, h, o, v) __bs_ws(8,(t),(h),(o),(v))
sys/riscv/include/bus.h
369
#define bus_space_write_stream_1(t, h, o, v) __bs_ws_s(1,(t),(h),(o),(v))
sys/riscv/include/bus.h
370
#define bus_space_write_stream_2(t, h, o, v) __bs_ws_s(2,(t),(h),(o),(v))
sys/riscv/include/bus.h
371
#define bus_space_write_stream_4(t, h, o, v) __bs_ws_s(4,(t),(h),(o),(v))
sys/riscv/include/bus.h
372
#define bus_space_write_stream_8(t, h, o, v) __bs_ws_s(8,(t),(h),(o),(v))
sys/riscv/include/bus.h
377
#define bus_space_write_multi_1(t, h, o, a, c) \
sys/riscv/include/bus.h
378
__bs_nonsingle(wm,1,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
379
#define bus_space_write_multi_2(t, h, o, a, c) \
sys/riscv/include/bus.h
380
__bs_nonsingle(wm,2,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
381
#define bus_space_write_multi_4(t, h, o, a, c) \
sys/riscv/include/bus.h
382
__bs_nonsingle(wm,4,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
383
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/riscv/include/bus.h
384
__bs_nonsingle(wm,8,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
386
#define bus_space_write_multi_stream_1(t, h, o, a, c) \
sys/riscv/include/bus.h
387
__bs_nonsingle_s(wm,1,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
388
#define bus_space_write_multi_stream_2(t, h, o, a, c) \
sys/riscv/include/bus.h
389
__bs_nonsingle_s(wm,2,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
390
#define bus_space_write_multi_stream_4(t, h, o, a, c) \
sys/riscv/include/bus.h
391
__bs_nonsingle_s(wm,4,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
392
#define bus_space_write_multi_stream_8(t, h, o, a, c) \
sys/riscv/include/bus.h
393
__bs_nonsingle_s(wm,8,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
398
#define bus_space_write_region_1(t, h, o, a, c) \
sys/riscv/include/bus.h
399
__bs_nonsingle(wr,1,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
400
#define bus_space_write_region_2(t, h, o, a, c) \
sys/riscv/include/bus.h
401
__bs_nonsingle(wr,2,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
402
#define bus_space_write_region_4(t, h, o, a, c) \
sys/riscv/include/bus.h
403
__bs_nonsingle(wr,4,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
404
#define bus_space_write_region_8(t, h, o, a, c) \
sys/riscv/include/bus.h
405
__bs_nonsingle(wr,8,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
407
#define bus_space_write_region_stream_1(t, h, o, a, c) \
sys/riscv/include/bus.h
408
__bs_nonsingle_s(wr,1,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
409
#define bus_space_write_region_stream_2(t, h, o, a, c) \
sys/riscv/include/bus.h
410
__bs_nonsingle_s(wr,2,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
411
#define bus_space_write_region_stream_4(t, h, o, a, c) \
sys/riscv/include/bus.h
412
__bs_nonsingle_s(wr,4,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
413
#define bus_space_write_region_stream_8(t, h, o, a, c) \
sys/riscv/include/bus.h
414
__bs_nonsingle_s(wr,8,(t),(h),(o),(a),(c))
sys/riscv/include/bus.h
419
#define bus_space_set_multi_1(t, h, o, v, c) \
sys/riscv/include/bus.h
420
__bs_set(sm,1,(t),(h),(o),(v),(c))
sys/riscv/include/bus.h
421
#define bus_space_set_multi_2(t, h, o, v, c) \
sys/riscv/include/bus.h
422
__bs_set(sm,2,(t),(h),(o),(v),(c))
sys/riscv/include/bus.h
423
#define bus_space_set_multi_4(t, h, o, v, c) \
sys/riscv/include/bus.h
424
__bs_set(sm,4,(t),(h),(o),(v),(c))
sys/riscv/include/bus.h
425
#define bus_space_set_multi_8(t, h, o, v, c) \
sys/riscv/include/bus.h
426
__bs_set(sm,8,(t),(h),(o),(v),(c))
sys/riscv/include/bus.h
431
#define bus_space_set_region_1(t, h, o, v, c) \
sys/riscv/include/bus.h
432
__bs_set(sr,1,(t),(h),(o),(v),(c))
sys/riscv/include/bus.h
433
#define bus_space_set_region_2(t, h, o, v, c) \
sys/riscv/include/bus.h
434
__bs_set(sr,2,(t),(h),(o),(v),(c))
sys/riscv/include/bus.h
435
#define bus_space_set_region_4(t, h, o, v, c) \
sys/riscv/include/bus.h
436
__bs_set(sr,4,(t),(h),(o),(v),(c))
sys/riscv/include/bus.h
437
#define bus_space_set_region_8(t, h, o, v, c) \
sys/riscv/include/bus.h
438
__bs_set(sr,8,(t),(h),(o),(v),(c))
sys/riscv/include/bus.h
443
#define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
sys/riscv/include/bus.h
444
__bs_copy(1, t, h1, o1, h2, o2, c)
sys/riscv/include/bus.h
445
#define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
sys/riscv/include/bus.h
446
__bs_copy(2, t, h1, o1, h2, o2, c)
sys/riscv/include/bus.h
447
#define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
sys/riscv/include/bus.h
448
__bs_copy(4, t, h1, o1, h2, o2, c)
sys/riscv/include/bus.h
449
#define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
sys/riscv/include/bus.h
450
__bs_copy(8, t, h1, o1, h2, o2, c)
sys/riscv/include/bus.h
71
#define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
sys/riscv/include/param.h
68
#define ALIGNED_POINTER(p, t) ((((u_long)(p)) & (sizeof(t) - 1)) == 0)
sys/riscv/include/reg.h
45
__uint64_t t[7]; /* temporaries */
sys/riscv/iommu/iommu_frontend.c
158
iommu_tag_init(struct iommu_domain *iodom, struct bus_dma_tag_iommu *t)
sys/riscv/iommu/iommu_frontend.c
164
t->common.impl = &bus_dma_iommu_impl;
sys/riscv/iommu/iommu_frontend.c
165
t->common.alignment = 1;
sys/riscv/iommu/iommu_frontend.c
166
t->common.boundary = 0;
sys/riscv/iommu/iommu_frontend.c
167
t->common.lowaddr = maxaddr;
sys/riscv/iommu/iommu_frontend.c
168
t->common.highaddr = maxaddr;
sys/riscv/iommu/iommu_frontend.c
169
t->common.maxsize = maxaddr;
sys/riscv/iommu/iommu_frontend.c
170
t->common.nsegments = BUS_SPACE_UNRESTRICTED;
sys/riscv/iommu/iommu_frontend.c
171
t->common.maxsegsz = maxaddr;
sys/riscv/riscv/bus_machdep.c
104
generic_bs_unmap(void *t, bus_space_handle_t bsh, bus_size_t size)
sys/riscv/riscv/bus_machdep.c
111
generic_bs_barrier(void *t, bus_space_handle_t bsh, bus_size_t offset,
sys/riscv/riscv/bus_machdep.c
117
generic_bs_subregion(void *t, bus_space_handle_t bsh, bus_size_t offset,
sys/riscv/riscv/bus_machdep.c
91
generic_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int flags,
sys/riscv/riscv/busdma_machdep.c
142
bus_dma_template_clone(bus_dma_template_t *t, bus_dma_tag_t dmat)
sys/riscv/riscv/busdma_machdep.c
146
if (t == NULL || dmat == NULL)
sys/riscv/riscv/busdma_machdep.c
151
t->alignment = common->alignment;
sys/riscv/riscv/busdma_machdep.c
152
t->boundary = common->boundary;
sys/riscv/riscv/busdma_machdep.c
153
t->lowaddr = common->lowaddr;
sys/riscv/riscv/busdma_machdep.c
154
t->highaddr = common->highaddr;
sys/riscv/riscv/busdma_machdep.c
155
t->maxsize = common->maxsize;
sys/riscv/riscv/busdma_machdep.c
156
t->nsegments = common->nsegments;
sys/riscv/riscv/busdma_machdep.c
157
t->maxsegsize = common->maxsegsz;
sys/riscv/riscv/busdma_machdep.c
158
t->flags = common->flags;
sys/riscv/riscv/busdma_machdep.c
159
t->lockfunc = common->lockfunc;
sys/riscv/riscv/busdma_machdep.c
160
t->lockfuncarg = common->lockfuncarg;
sys/riscv/riscv/exec_machdep.c
116
memcpy(frame->tf_t, regs->t, sizeof(frame->tf_t));
sys/riscv/riscv/exec_machdep.c
209
sizeof((struct reg *)0)->t);
sys/riscv/riscv/exec_machdep.c
97
memcpy(regs->t, frame->tf_t, sizeof(regs->t));
sys/riscv/riscv/identcpu.c
458
#define UPDATE_CAP(t, v) \
sys/riscv/riscv/identcpu.c
461
(t) = (v); \
sys/riscv/riscv/identcpu.c
463
(t) &= (v); \
sys/rpc/clnt_dg.c
1039
time_not_ok(struct timeval *t)
sys/rpc/clnt_dg.c
1041
return (t->tv_sec < -1 || t->tv_sec > 100000000 ||
sys/rpc/clnt_dg.c
1042
t->tv_usec < -1 || t->tv_usec > 1000000);
sys/rpc/clnt_vc.c
922
time_not_ok(struct timeval *t)
sys/rpc/clnt_vc.c
924
return (t->tv_sec <= -1 || t->tv_sec > 100000000 ||
sys/rpc/clnt_vc.c
925
t->tv_usec <= -1 || t->tv_usec > 1000000);
sys/rpc/xdr.h
275
#define IXDR_GET_ENUM(buf, t) ((t)IXDR_GET_LONG(buf))
sys/security/audit/bsm_token.c
1001
token_t *t;
sys/security/audit/bsm_token.c
1004
GET_TOKEN_AREA(t, dptr, 3 * sizeof(u_char) + strlen(so->sun_path) + 1);
sys/security/audit/bsm_token.c
101
token_t *t;
sys/security/audit/bsm_token.c
1012
return (t);
sys/security/audit/bsm_token.c
1024
token_t *t;
sys/security/audit/bsm_token.c
1028
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 2 * sizeof(uint16_t) +
sys/security/audit/bsm_token.c
1047
return (t);
sys/security/audit/bsm_token.c
105
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int16_t) +
sys/security/audit/bsm_token.c
1053
token_t *t;
sys/security/audit/bsm_token.c
1056
GET_TOKEN_AREA(t, dptr, 3 * sizeof(u_char) + sizeof(u_int16_t) +
sys/security/audit/bsm_token.c
1071
return (t);
sys/security/audit/bsm_token.c
1098
token_t *t;
sys/security/audit/bsm_token.c
1101
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 9 * sizeof(u_int32_t));
sys/security/audit/bsm_token.c
1114
return (t);
sys/security/audit/bsm_token.c
1121
token_t *t;
sys/security/audit/bsm_token.c
1124
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 7 * sizeof(u_int32_t) +
sys/security/audit/bsm_token.c
113
return (t);
sys/security/audit/bsm_token.c
1138
return (t);
sys/security/audit/bsm_token.c
1168
token_t *t;
sys/security/audit/bsm_token.c
1175
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 10 *
sys/security/audit/bsm_token.c
1178
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 13 *
sys/security/audit/bsm_token.c
1196
return (t);
sys/security/audit/bsm_token.c
1203
token_t *t;
sys/security/audit/bsm_token.c
1210
GET_TOKEN_AREA(t, dptr, sizeof(u_char) +
sys/security/audit/bsm_token.c
1214
GET_TOKEN_AREA(t, dptr, sizeof(u_char) +
sys/security/audit/bsm_token.c
1233
return (t);
sys/security/audit/bsm_token.c
126
token_t *t;
sys/security/audit/bsm_token.c
1282
token_t *t;
sys/security/audit/bsm_token.c
1295
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int32_t) + totlen);
sys/security/audit/bsm_token.c
1300
return (t);
sys/security/audit/bsm_token.c
133
GET_TOKEN_AREA(t, dptr, 2 * sizeof(u_char) + sizeof(u_int32_t) +
sys/security/audit/bsm_token.c
1335
token_t *t;
sys/security/audit/bsm_token.c
1352
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int32_t) + totlen);
sys/security/audit/bsm_token.c
1362
return (t);
sys/security/audit/bsm_token.c
1373
token_t *t;
sys/security/audit/bsm_token.c
1390
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int32_t) + totlen);
sys/security/audit/bsm_token.c
1400
return (t);
sys/security/audit/bsm_token.c
1414
token_t *t;
sys/security/audit/bsm_token.c
1417
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int16_t) + textlen);
sys/security/audit/bsm_token.c
142
return (t);
sys/security/audit/bsm_token.c
1422
return (t);
sys/security/audit/bsm_token.c
1438
token_t *t;
sys/security/audit/bsm_token.c
1442
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int32_t) +
sys/security/audit/bsm_token.c
1456
return (t);
sys/security/audit/bsm_token.c
1474
token_t *t;
sys/security/audit/bsm_token.c
148
token_t *t;
sys/security/audit/bsm_token.c
1483
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int32_t) +
sys/security/audit/bsm_token.c
1503
return (t);
sys/security/audit/bsm_token.c
1510
token_t *t;
sys/security/audit/bsm_token.c
1514
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int32_t) +
sys/security/audit/bsm_token.c
1528
return (t);
sys/security/audit/bsm_token.c
155
GET_TOKEN_AREA(t, dptr, 2 * sizeof(u_char) + sizeof(u_int64_t) +
sys/security/audit/bsm_token.c
1596
token_t *t;
sys/security/audit/bsm_token.c
1600
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int16_t) +
sys/security/audit/bsm_token.c
1607
return (t);
sys/security/audit/bsm_token.c
164
return (t);
sys/security/audit/bsm_token.c
187
token_t *t;
sys/security/audit/bsm_token.c
192
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 2 * sizeof(u_int16_t) +
sys/security/audit/bsm_token.c
228
return (t);
sys/security/audit/bsm_token.c
234
token_t *t;
sys/security/audit/bsm_token.c
239
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 2 * sizeof(u_int16_t) +
sys/security/audit/bsm_token.c
275
return (t);
sys/security/audit/bsm_token.c
296
token_t *t;
sys/security/audit/bsm_token.c
326
GET_TOKEN_AREA(t, dptr, 4 * sizeof(u_char) + totdata);
sys/security/audit/bsm_token.c
338
return (t);
sys/security/audit/bsm_token.c
349
token_t *t;
sys/security/audit/bsm_token.c
352
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 2 * sizeof(u_int32_t));
sys/security/audit/bsm_token.c
358
return (t);
sys/security/audit/bsm_token.c
378
token_t *t;
sys/security/audit/bsm_token.c
382
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int16_t) +
sys/security/audit/bsm_token.c
390
return (t);
sys/security/audit/bsm_token.c
400
token_t *t;
sys/security/audit/bsm_token.c
403
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(uint32_t));
sys/security/audit/bsm_token.c
408
return (t);
sys/security/audit/bsm_token.c
419
token_t *t;
sys/security/audit/bsm_token.c
423
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 5 * sizeof(uint32_t));
sys/security/audit/bsm_token.c
429
return (t);
sys/security/audit/bsm_token.c
441
token_t *t;
sys/security/audit/bsm_token.c
444
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(struct ip));
sys/security/audit/bsm_token.c
449
return (t);
sys/security/audit/bsm_token.c
460
token_t *t;
sys/security/audit/bsm_token.c
463
GET_TOKEN_AREA(t, dptr, 2 * sizeof(u_char) + sizeof(u_int32_t));
sys/security/audit/bsm_token.c
469
return (t);
sys/security/audit/bsm_token.c
485
token_t *t;
sys/security/audit/bsm_token.c
489
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 12 * sizeof(u_int16_t) +
sys/security/audit/bsm_token.c
529
return (t);
sys/security/audit/bsm_token.c
539
token_t *t;
sys/security/audit/bsm_token.c
542
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int16_t));
sys/security/audit/bsm_token.c
547
return (t);
sys/security/audit/bsm_token.c
558
token_t *t;
sys/security/audit/bsm_token.c
561
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int16_t) + bytes);
sys/security/audit/bsm_token.c
567
return (t);
sys/security/audit/bsm_token.c
58
#define GET_TOKEN_AREA(t, dptr, length) do { \
sys/security/audit/bsm_token.c
580
token_t *t;
sys/security/audit/bsm_token.c
588
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 2 * sizeof(u_int32_t) +
sys/security/audit/bsm_token.c
59
t = malloc(sizeof(token_t), M_AUDITBSM, M_WAITOK); \
sys/security/audit/bsm_token.c
599
return (t);
sys/security/audit/bsm_token.c
60
t->t_data = malloc(length, M_AUDITBSM, M_WAITOK | M_ZERO); \
sys/security/audit/bsm_token.c
61
t->len = length; \
sys/security/audit/bsm_token.c
610
token_t *t;
sys/security/audit/bsm_token.c
619
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int16_t) + textlen);
sys/security/audit/bsm_token.c
62
dptr = t->t_data; \
sys/security/audit/bsm_token.c
625
return (t);
sys/security/audit/bsm_token.c
636
token_t *t;
sys/security/audit/bsm_token.c
643
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int16_t) + textlen);
sys/security/audit/bsm_token.c
649
return (t);
sys/security/audit/bsm_token.c
669
token_t *t;
sys/security/audit/bsm_token.c
672
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 9 * sizeof(u_int32_t));
sys/security/audit/bsm_token.c
692
return (t);
sys/security/audit/bsm_token.c
699
token_t *t;
sys/security/audit/bsm_token.c
702
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 8 * sizeof(u_int32_t) +
sys/security/audit/bsm_token.c
723
return (t);
sys/security/audit/bsm_token.c
753
token_t *t;
sys/security/audit/bsm_token.c
759
GET_TOKEN_AREA(t, dptr, sizeof(u_char) +
sys/security/audit/bsm_token.c
76
token_t *t;
sys/security/audit/bsm_token.c
762
GET_TOKEN_AREA(t, dptr, sizeof(u_char) +
sys/security/audit/bsm_token.c
782
return (t);
sys/security/audit/bsm_token.c
789
token_t *t;
sys/security/audit/bsm_token.c
79
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_char) +
sys/security/audit/bsm_token.c
793
GET_TOKEN_AREA(t, dptr, sizeof(u_char) +
sys/security/audit/bsm_token.c
797
GET_TOKEN_AREA(t, dptr, sizeof(u_char) +
sys/security/audit/bsm_token.c
821
return (t);
sys/security/audit/bsm_token.c
836
token_t *t;
sys/security/audit/bsm_token.c
840
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(*rightsp));
sys/security/audit/bsm_token.c
846
return (t);
sys/security/audit/bsm_token.c
857
token_t *t;
sys/security/audit/bsm_token.c
86
return (t);
sys/security/audit/bsm_token.c
860
GET_TOKEN_AREA(t, dptr, 2 * sizeof(u_char) + sizeof(u_int32_t));
sys/security/audit/bsm_token.c
866
return (t);
sys/security/audit/bsm_token.c
872
token_t *t;
sys/security/audit/bsm_token.c
875
GET_TOKEN_AREA(t, dptr, 2 * sizeof(u_char) + sizeof(u_int64_t));
sys/security/audit/bsm_token.c
881
return (t);
sys/security/audit/bsm_token.c
898
token_t *t;
sys/security/audit/bsm_token.c
901
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int32_t));
sys/security/audit/bsm_token.c
906
return (t);
sys/security/audit/bsm_token.c
926
token_t *t;
sys/security/audit/bsm_token.c
932
GET_TOKEN_AREA(t, dptr, sizeof(u_char) +
sys/security/audit/bsm_token.c
935
GET_TOKEN_AREA(t, dptr, sizeof(u_char) +
sys/security/audit/bsm_token.c
961
return (t);
sys/security/audit/bsm_token.c
973
token_t *t;
sys/security/audit/bsm_token.c
977
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 2 * sizeof(u_int16_t) +
sys/security/audit/bsm_token.c
989
return (t);
sys/sys/_task.h
66
struct task t;
sys/sys/asan.h
67
#define kasan_thread_alloc(t)
sys/sys/atomic_common.h
79
#define __atomic_load_generic(p, t, ut, n) \
sys/sys/atomic_common.h
81
t: __atomic_load_ ## n ## _relaxed(p), \
sys/sys/atomic_common.h
83
#define __atomic_store_generic(p, v, t, ut, n) \
sys/sys/atomic_common.h
85
t: __atomic_store_ ## n ## _relaxed(p, v), \
sys/sys/atomic_common.h
92
#define __atomic_load_generic(p, t, ut, n) \
sys/sys/atomic_common.h
94
#define __atomic_store_generic(p, v, t, ut, n) \
sys/sys/bitset.h
227
#define __BIT_COPY_STORE_REL(_s, f, t) do { \
sys/sys/bitset.h
230
atomic_store_rel_long(&(t)->__bits[__i], \
sys/sys/bitset.h
330
#define BIT_COPY(_s, f, t) __BIT_COPY(_s, f, t)
sys/sys/bitset.h
331
#define BIT_COPY_STORE_REL(_s, f, t) __BIT_COPY_STORE_REL(_s, f, t)
sys/sys/bitset.h
52
#define __BIT_COPY(_s, f, t) (void)(*(t) = *(f))
sys/sys/bus.h
960
varp ## _set_ ## var(device_t dev, type t) \
sys/sys/bus.h
962
uintptr_t v = (uintptr_t) t; \
sys/sys/bus_dma.h
250
#define BUS_DMA_TEMPLATE_FILL(t, kv...) \
sys/sys/bus_dma.h
253
bus_dma_template_fill(t, pm, howmany(sizeof(pm), sizeof(pm[0]))); \
sys/sys/bus_dma.h
256
void bus_dma_template_init(bus_dma_template_t *t, bus_dma_tag_t parent);
sys/sys/bus_dma.h
257
int bus_dma_template_tag(bus_dma_template_t *t, bus_dma_tag_t *dmat);
sys/sys/bus_dma.h
258
void bus_dma_template_clone(bus_dma_template_t *t, bus_dma_tag_t dmat);
sys/sys/bus_dma.h
259
void bus_dma_template_fill(bus_dma_template_t *t, bus_dma_param_t *kv,
sys/sys/cdefs.h
222
#define __generic(expr, t, yes, no) \
sys/sys/cdefs.h
223
_Generic(expr, t: yes, default: no)
sys/sys/cdefs.h
225
#define __generic(expr, t, yes, no) \
sys/sys/cdefs.h
227
__typeof(((void)0, (expr))), t), yes, no)
sys/sys/cpuset.h
46
#define CPU_COPY(f, t) __BIT_COPY(CPU_SETSIZE, f, t)
sys/sys/cpuset.h
70
#define CPU_COPY_STORE_REL(f, t) __BIT_COPY_STORE_REL(CPU_SETSIZE, f, t)
sys/sys/ctf.h
192
#define CTF_TYPE_NAME(t, o) (((t) << 31) | ((o) & ((1u << 31) - 1)))
sys/sys/ctf.h
267
#define CTF_TYPE_LSIZE(t) \
sys/sys/ctf.h
268
(((uint64_t)(t)->ctt_lsizehi) << 32 | (t)->ctt_lsizelo)
sys/sys/domainset.h
45
#define DOMAINSET_COPY(f, t) __BIT_COPY(DOMAINSET_SETSIZE, f, t)
sys/sys/domainset.h
66
#define DOMAINSET_COPY_STORE_REL(f, t) \
sys/sys/domainset.h
67
__BIT_COPY_STORE_REL(DOMAINSET_SETSIZE, f, t)
sys/sys/epoch.h
112
#define NET_TASK_INIT(t, p, f, c) TASK_INIT_FLAGS(t, p, f, c, TASK_NETWORK)
sys/sys/ioccom.h
63
#define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t))
sys/sys/ioccom.h
64
#define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t))
sys/sys/ioccom.h
66
#define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t))
sys/sys/mbuf.h
108
#define mtod(m, t) ((t)((m)->m_data))
sys/sys/mbuf.h
1293
#define MCHTYPE(m, t) m_chtype((m), (t))
sys/sys/mbuf.h
1430
m_tag_setup(struct m_tag *t, uint32_t cookie, uint16_t type, int len)
sys/sys/mbuf.h
1433
t->m_tag_id = type;
sys/sys/mbuf.h
1434
t->m_tag_len = len;
sys/sys/mbuf.h
1435
t->m_tag_cookie = cookie;
sys/sys/mbuf.h
1442
m_tag_free(struct m_tag *t)
sys/sys/mbuf.h
1445
(*t->m_tag_free)(t);
sys/sys/mbuf.h
1462
m_tag_next(struct mbuf *m __unused, struct m_tag *t)
sys/sys/mbuf.h
1465
return (SLIST_NEXT(t, m_tag_link));
sys/sys/mbuf.h
1472
m_tag_prepend(struct mbuf *m, struct m_tag *t)
sys/sys/mbuf.h
1475
SLIST_INSERT_HEAD(&m->m_pkthdr.tags, t, m_tag_link);
sys/sys/mbuf.h
1482
m_tag_unlink(struct mbuf *m, struct m_tag *t)
sys/sys/mbuf.h
1485
SLIST_REMOVE(&m->m_pkthdr.tags, t, m_tag, m_tag_link);
sys/sys/mbuf.h
556
#define M_HASHTYPE_HASH(t) (M_HASHTYPE_HASHPROP | (t))
sys/sys/module.h
181
#define MODULE_PNP_INFO(d, b, unique, t, n) \
sys/sys/module.h
185
.table = t, \
sys/sys/module.h
186
.entry_len = sizeof((t)[0]), \
sys/sys/mutex.h
168
#define mtx_init(m, n, t, o) \
sys/sys/mutex.h
169
_mtx_init(&(m)->mtx_lock, n, t, o)
sys/sys/pcpu.h
103
#define DPCPU_DEFINE_STATIC(t, n) \
sys/sys/pcpu.h
104
t DPCPU_NAME(n) __section(DPCPU_SETNAME) __used
sys/sys/pcpu.h
106
#define DPCPU_DEFINE_STATIC(t, n) \
sys/sys/pcpu.h
107
static t DPCPU_NAME(n) __section(DPCPU_SETNAME) __used
sys/sys/pcpu.h
82
#define DPCPU_DECLARE(t, n) extern t DPCPU_NAME(n)
sys/sys/pcpu.h
84
#define DPCPU_DEFINE(t, n) \
sys/sys/pcpu.h
85
struct _hack; t DPCPU_NAME(n) __section(DPCPU_SETNAME) __used
sys/sys/pmckern.h
204
#define PMC_CALL_HOOK(t, cmd, arg) \
sys/sys/pmckern.h
209
(pmc_hook)((t), (cmd), (arg)); \
sys/sys/pmckern.h
214
#define PMC_CALL_HOOK_X(t, cmd, arg) \
sys/sys/pmckern.h
218
(pmc_hook)((t), (cmd), (arg)); \
sys/sys/pmckern.h
226
#define PMC_CALL_HOOK_UNLOCKED(t, cmd, arg) \
sys/sys/pmckern.h
229
(pmc_hook)((t), (cmd), (arg)); \
sys/sys/pmckern.h
232
#define PMC_SWITCH_CONTEXT(t,cmd) PMC_CALL_HOOK_UNLOCKED(t,cmd,NULL)
sys/sys/select.h
106
#define FD_COPY(f, t) (void)(*(t) = *(f))
sys/sys/stats.h
69
#define VNET_DEFINE(t, n) static t n __unused
sys/sys/sysproto.h
25
#define PAD_(t) (sizeof(syscallarg_t) <= sizeof(t) ? \
sys/sys/sysproto.h
26
0 : sizeof(syscallarg_t) - sizeof(t))
sys/sys/sysproto.h
29
#define PADL_(t) 0
sys/sys/sysproto.h
30
#define PADR_(t) PAD_(t)
sys/sys/sysproto.h
32
#define PADL_(t) PAD_(t)
sys/sys/sysproto.h
33
#define PADR_(t) 0
sys/sys/systm.h
253
#define ovbcopy(f, t, l) bcopy((f), (t), (l))
sys/sys/taskqueue.h
127
#define TASK_INIT(t, p, f, c) TASK_INIT_FLAGS(t, p, f, c, 0)
sys/sys/time.h
418
#define TICKS_2_MSEC(t) max(1, (uint32_t)(hz == 1000) ? \
sys/sys/time.h
419
(t) : (((uint64_t)(t) * (uint64_t)1000)/(uint64_t)hz))
sys/sys/time.h
420
#define TICKS_2_USEC(t) max(1, (uint32_t)(hz == 1000) ? \
sys/sys/time.h
421
((t) * 1000) : (((uint64_t)(t) * (uint64_t)1000000)/(uint64_t)hz))
sys/sys/time.h
615
#define ppsratecheck(t, c, m) eventratecheck(t, c, m)
sys/sys/ttydevsw.h
153
ttydevsw_param(struct tty *tp, struct termios *t)
sys/sys/ttydevsw.h
158
return (tp->t_devsw->tsw_param(tp, t));
sys/sys/ttydevsw.h
51
typedef int tsw_param_t(struct tty *tp, struct termios *t);
sys/teken/demo/teken_demo.c
280
teken_t t;
sys/teken/demo/teken_demo.c
309
teken_init(&t, &tf, NULL);
sys/teken/demo/teken_demo.c
310
teken_set_winsize(&t, &tp);
sys/teken/demo/teken_demo.c
347
teken_input(&t, b, bl);
sys/teken/stress/teken_stress.c
101
teken_t t;
sys/teken/stress/teken_stress.c
106
teken_init(&t, &tf, NULL);
sys/teken/stress/teken_stress.c
116
teken_input(&t, buf, sizeof buf);
sys/teken/teken.c
103
teken_assert(p->tp_row < t->t_winsize.tp_row);
sys/teken/teken.c
104
teken_assert(p->tp_col < t->t_winsize.tp_col);
sys/teken/teken.c
106
teken_assert(t->t_funcs->tf_putchar != NULL);
sys/teken/teken.c
107
t->t_funcs->tf_putchar(t->t_softc, p, c, a);
sys/teken/teken.c
111
teken_funcs_fill(const teken_t *t, const teken_rect_t *r,
sys/teken/teken.c
116
teken_assert(r->tr_end.tp_row <= t->t_winsize.tp_row);
sys/teken/teken.c
118
teken_assert(r->tr_end.tp_col <= t->t_winsize.tp_col);
sys/teken/teken.c
120
teken_assert(t->t_funcs->tf_fill != NULL);
sys/teken/teken.c
121
t->t_funcs->tf_fill(t->t_softc, r, c, a);
sys/teken/teken.c
125
teken_funcs_copy(const teken_t *t, const teken_rect_t *r, const teken_pos_t *p)
sys/teken/teken.c
129
teken_assert(r->tr_end.tp_row <= t->t_winsize.tp_row);
sys/teken/teken.c
131
teken_assert(r->tr_end.tp_col <= t->t_winsize.tp_col);
sys/teken/teken.c
132
teken_assert(p->tp_row + (r->tr_end.tp_row - r->tr_begin.tp_row) <= t->t_winsize.tp_row);
sys/teken/teken.c
133
teken_assert(p->tp_col + (r->tr_end.tp_col - r->tr_begin.tp_col) <= t->t_winsize.tp_col);
sys/teken/teken.c
135
teken_assert(t->t_funcs->tf_copy != NULL);
sys/teken/teken.c
136
t->t_funcs->tf_copy(t->t_softc, r, p);
sys/teken/teken.c
140
teken_funcs_pre_input(const teken_t *t)
sys/teken/teken.c
143
if (t->t_funcs->tf_pre_input != NULL)
sys/teken/teken.c
144
t->t_funcs->tf_pre_input(t->t_softc);
sys/teken/teken.c
148
teken_funcs_post_input(const teken_t *t)
sys/teken/teken.c
151
if (t->t_funcs->tf_post_input != NULL)
sys/teken/teken.c
152
t->t_funcs->tf_post_input(t->t_softc);
sys/teken/teken.c
156
teken_funcs_param(const teken_t *t, int cmd, unsigned int value)
sys/teken/teken.c
159
teken_assert(t->t_funcs->tf_param != NULL);
sys/teken/teken.c
160
t->t_funcs->tf_param(t->t_softc, cmd, value);
sys/teken/teken.c
164
teken_funcs_respond(const teken_t *t, const void *buf, size_t len)
sys/teken/teken.c
167
teken_assert(t->t_funcs->tf_respond != NULL);
sys/teken/teken.c
168
t->t_funcs->tf_respond(t->t_softc, buf, len);
sys/teken/teken.c
179
teken_init(teken_t *t, const teken_funcs_t *tf, void *softc)
sys/teken/teken.c
183
t->t_funcs = tf;
sys/teken/teken.c
184
t->t_softc = softc;
sys/teken/teken.c
186
t->t_nextstate = teken_state_init;
sys/teken/teken.c
187
t->t_stateflags = 0;
sys/teken/teken.c
188
t->t_utf8_left = 0;
sys/teken/teken.c
190
t->t_defattr.ta_format = 0;
sys/teken/teken.c
191
t->t_defattr.ta_fgcolor = TC_WHITE;
sys/teken/teken.c
192
t->t_defattr.ta_bgcolor = TC_BLACK;
sys/teken/teken.c
193
teken_subr_do_reset(t);
sys/teken/teken.c
195
teken_set_winsize(t, &tp);
sys/teken/teken.c
199
teken_input_char(teken_t *t, teken_char_t c)
sys/teken/teken.c
207
if (t->t_stateflags & TS_INSTRING) {
sys/teken/teken.c
210
t->t_stateflags &= ~TS_INSTRING;
sys/teken/teken.c
213
t->t_stateflags &= ~TS_INSTRING;
sys/teken/teken.c
224
teken_subr_bell(t);
sys/teken/teken.c
227
teken_subr_backspace(t);
sys/teken/teken.c
231
teken_subr_newline(t);
sys/teken/teken.c
234
teken_subr_newpage(t);
sys/teken/teken.c
237
if (t->t_stateflags & TS_CONS25)
sys/teken/teken.c
238
t->t_nextstate(t, c);
sys/teken/teken.c
240
t->t_curscs = 1;
sys/teken/teken.c
243
if (t->t_stateflags & TS_CONS25)
sys/teken/teken.c
244
t->t_nextstate(t, c);
sys/teken/teken.c
246
t->t_curscs = 0;
sys/teken/teken.c
249
teken_subr_carriage_return(t);
sys/teken/teken.c
252
teken_subr_horizontal_tab(t);
sys/teken/teken.c
255
t->t_nextstate(t, c);
sys/teken/teken.c
260
teken_assert(t->t_cursor.tp_row >= t->t_originreg.ts_begin);
sys/teken/teken.c
261
teken_assert(t->t_cursor.tp_row < t->t_originreg.ts_end);
sys/teken/teken.c
262
teken_assert(t->t_cursor.tp_row < t->t_winsize.tp_row);
sys/teken/teken.c
263
teken_assert(t->t_cursor.tp_col < t->t_winsize.tp_col);
sys/teken/teken.c
264
teken_assert(t->t_saved_cursor.tp_row < t->t_winsize.tp_row);
sys/teken/teken.c
265
teken_assert(t->t_saved_cursor.tp_col < t->t_winsize.tp_col);
sys/teken/teken.c
266
teken_assert(t->t_scrollreg.ts_end <= t->t_winsize.tp_row);
sys/teken/teken.c
267
teken_assert(t->t_scrollreg.ts_begin < t->t_scrollreg.ts_end);
sys/teken/teken.c
269
teken_assert((t->t_originreg.ts_begin == t->t_scrollreg.ts_begin &&
sys/teken/teken.c
270
t->t_originreg.ts_end == t->t_scrollreg.ts_end) ||
sys/teken/teken.c
271
(t->t_originreg.ts_begin == 0 &&
sys/teken/teken.c
272
t->t_originreg.ts_end == t->t_winsize.tp_row));
sys/teken/teken.c
276
teken_input_byte(teken_t *t, unsigned char c)
sys/teken/teken.c
282
if ((c & 0x80) == 0x00 || t->t_stateflags & TS_8BIT) {
sys/teken/teken.c
284
t->t_utf8_left = 0;
sys/teken/teken.c
285
teken_input_char(t, c);
sys/teken/teken.c
288
t->t_utf8_left = 1;
sys/teken/teken.c
289
t->t_utf8_partial = c & 0x1f;
sys/teken/teken.c
292
t->t_utf8_left = 2;
sys/teken/teken.c
293
t->t_utf8_partial = c & 0x0f;
sys/teken/teken.c
296
t->t_utf8_left = 3;
sys/teken/teken.c
297
t->t_utf8_partial = c & 0x07;
sys/teken/teken.c
299
if (t->t_utf8_left == 0)
sys/teken/teken.c
301
t->t_utf8_left--;
sys/teken/teken.c
302
t->t_utf8_partial = (t->t_utf8_partial << 6) | (c & 0x3f);
sys/teken/teken.c
303
if (t->t_utf8_left == 0) {
sys/teken/teken.c
304
teken_printf("Got UTF-8 char %x\n", t->t_utf8_partial);
sys/teken/teken.c
305
teken_input_char(t, t->t_utf8_partial);
sys/teken/teken.c
311
teken_input(teken_t *t, const void *buf, size_t len)
sys/teken/teken.c
315
teken_funcs_pre_input(t);
sys/teken/teken.c
317
teken_input_byte(t, *c++);
sys/teken/teken.c
318
teken_funcs_post_input(t);
sys/teken/teken.c
322
teken_get_cursor(const teken_t *t)
sys/teken/teken.c
325
return (&t->t_cursor);
sys/teken/teken.c
329
teken_set_cursor(teken_t *t, const teken_pos_t *p)
sys/teken/teken.c
333
teken_assert(p->tp_row < t->t_winsize.tp_row);
sys/teken/teken.c
334
teken_assert(p->tp_col < t->t_winsize.tp_col);
sys/teken/teken.c
336
t->t_cursor = *p;
sys/teken/teken.c
340
teken_get_curattr(const teken_t *t)
sys/teken/teken.c
343
return (&t->t_curattr);
sys/teken/teken.c
347
teken_set_curattr(teken_t *t, const teken_attr_t *a)
sys/teken/teken.c
350
t->t_curattr = *a;
sys/teken/teken.c
354
teken_get_defattr(const teken_t *t)
sys/teken/teken.c
357
return (&t->t_defattr);
sys/teken/teken.c
361
teken_set_defattr(teken_t *t, const teken_attr_t *a)
sys/teken/teken.c
364
t->t_curattr = t->t_saved_curattr = t->t_defattr = *a;
sys/teken/teken.c
368
teken_get_winsize(const teken_t *t)
sys/teken/teken.c
371
return (&t->t_winsize);
sys/teken/teken.c
375
teken_trim_cursor_pos(teken_t *t, const teken_pos_t *new)
sys/teken/teken.c
379
cur = &t->t_winsize;
sys/teken/teken.c
383
if (t->t_cursor.tp_row >= new->tp_row)
sys/teken/teken.c
384
t->t_cursor.tp_row = new->tp_row - 1;
sys/teken/teken.c
385
if (t->t_cursor.tp_col >= new->tp_col)
sys/teken/teken.c
386
t->t_cursor.tp_col = new->tp_col - 1;
sys/teken/teken.c
390
teken_set_winsize(teken_t *t, const teken_pos_t *p)
sys/teken/teken.c
393
teken_trim_cursor_pos(t, p);
sys/teken/teken.c
394
t->t_winsize = *p;
sys/teken/teken.c
395
teken_subr_do_reset(t);
sys/teken/teken.c
399
teken_set_winsize_noreset(teken_t *t, const teken_pos_t *p)
sys/teken/teken.c
402
teken_trim_cursor_pos(t, p);
sys/teken/teken.c
403
t->t_winsize = *p;
sys/teken/teken.c
404
teken_subr_do_resize(t);
sys/teken/teken.c
408
teken_set_8bit(teken_t *t)
sys/teken/teken.c
411
t->t_stateflags |= TS_8BIT;
sys/teken/teken.c
415
teken_set_cons25(teken_t *t)
sys/teken/teken.c
418
t->t_stateflags |= TS_CONS25;
sys/teken/teken.c
422
teken_set_cons25keys(teken_t *t)
sys/teken/teken.c
425
t->t_stateflags |= TS_CONS25KEYS;
sys/teken/teken.c
433
teken_state_switch(teken_t *t, teken_state_t *s)
sys/teken/teken.c
436
t->t_nextstate = s;
sys/teken/teken.c
437
t->t_curnum = 0;
sys/teken/teken.c
438
t->t_stateflags |= TS_FIRSTDIGIT;
sys/teken/teken.c
442
teken_state_numbers(teken_t *t, teken_char_t c)
sys/teken/teken.c
445
teken_assert(t->t_curnum < T_NUMSIZE);
sys/teken/teken.c
448
if (t->t_stateflags & TS_FIRSTDIGIT) {
sys/teken/teken.c
450
t->t_stateflags &= ~TS_FIRSTDIGIT;
sys/teken/teken.c
451
t->t_nums[t->t_curnum] = c - '0';
sys/teken/teken.c
452
} else if (t->t_nums[t->t_curnum] < UINT_MAX / 100) {
sys/teken/teken.c
463
t->t_nums[t->t_curnum] =
sys/teken/teken.c
464
t->t_nums[t->t_curnum] * 10 + c - '0';
sys/teken/teken.c
468
if (t->t_stateflags & TS_FIRSTDIGIT)
sys/teken/teken.c
469
t->t_nums[t->t_curnum] = 0;
sys/teken/teken.c
472
if (++t->t_curnum == T_NUMSIZE) {
sys/teken/teken.c
473
teken_state_switch(t, teken_state_init);
sys/teken/teken.c
477
t->t_stateflags |= TS_FIRSTDIGIT;
sys/teken/teken.c
480
if (t->t_stateflags & TS_FIRSTDIGIT && t->t_curnum > 0) {
sys/teken/teken.c
482
t->t_nums[t->t_curnum] = 0;
sys/teken/teken.c
483
t->t_curnum++;
sys/teken/teken.c
484
} else if ((t->t_stateflags & TS_FIRSTDIGIT) == 0) {
sys/teken/teken.c
486
t->t_curnum++;
sys/teken/teken.c
736
teken_get_sequence(const teken_t *t, unsigned int k)
sys/teken/teken.c
740
if ((t->t_stateflags & (TS_CONS25 | TS_CONS25KEYS)) ==
sys/teken/teken.c
743
if (t->t_stateflags & TS_CONS25 &&
sys/teken/teken.c
748
if (t->t_stateflags & TS_CURSORKEYS &&
sys/teken/teken.c
80
teken_funcs_bell(const teken_t *t)
sys/teken/teken.c
83
teken_assert(t->t_funcs->tf_bell != NULL);
sys/teken/teken.c
84
t->t_funcs->tf_bell(t->t_softc);
sys/teken/teken.c
88
teken_funcs_cursor(const teken_t *t)
sys/teken/teken.c
91
teken_assert(t->t_cursor.tp_row < t->t_winsize.tp_row);
sys/teken/teken.c
92
teken_assert(t->t_cursor.tp_col < t->t_winsize.tp_col);
sys/teken/teken.c
94
teken_assert(t->t_funcs->tf_cursor != NULL);
sys/teken/teken.c
95
t->t_funcs->tf_cursor(t->t_softc, &t->t_cursor);
sys/teken/teken.c
99
teken_funcs_putchar(const teken_t *t, const teken_pos_t *p, teken_char_t c,
sys/teken/teken_scs.h
30
teken_scs_process(const teken_t *t, teken_char_t c)
sys/teken/teken_scs.h
33
return (t->t_scs[t->t_curscs](t, c));
sys/teken/teken_scs.h
53
teken_scs_special_graphics(const teken_t *t, teken_char_t c)
sys/teken/teken_scs.h
58
return (t->t_stateflags & TS_8BIT ?
sys/teken/teken_scs.h
65
teken_scs_uk_national(const teken_t *t, teken_char_t c)
sys/teken/teken_scs.h
70
return (t->t_stateflags & TS_8BIT ? 0x9c : 0xa3);
sys/teken/teken_scs.h
75
teken_scs_us_ascii(const teken_t *t, teken_char_t c)
sys/teken/teken_scs.h
79
(void)t;
sys/teken/teken_subr.h
1000
t->t_originreg = t->t_scrollreg;
sys/teken/teken_subr.h
1001
t->t_stateflags &= TS_8BIT | TS_CONS25 | TS_CONS25KEYS;
sys/teken/teken_subr.h
1002
t->t_stateflags |= TS_AUTOWRAP;
sys/teken/teken_subr.h
1004
t->t_scs[0] = teken_scs_us_ascii;
sys/teken/teken_subr.h
1005
t->t_scs[1] = teken_scs_us_ascii;
sys/teken/teken_subr.h
1006
t->t_curscs = 0;
sys/teken/teken_subr.h
1008
teken_subr_save_cursor(t);
sys/teken/teken_subr.h
1009
teken_tab_default(t);
sys/teken/teken_subr.h
1013
teken_subr_reset_to_initial_state(teken_t *t)
sys/teken/teken_subr.h
1016
teken_subr_do_reset(t);
sys/teken/teken_subr.h
1017
teken_subr_erase_display(t, 2);
sys/teken/teken_subr.h
1018
teken_funcs_param(t, TP_SHOWCURSOR, 1);
sys/teken/teken_subr.h
1019
teken_funcs_cursor(t);
sys/teken/teken_subr.h
1023
teken_subr_restore_cursor(teken_t *t)
sys/teken/teken_subr.h
1026
t->t_cursor = t->t_saved_cursor;
sys/teken/teken_subr.h
1027
t->t_curattr = t->t_saved_curattr;
sys/teken/teken_subr.h
1028
t->t_scs[t->t_curscs] = t->t_saved_curscs;
sys/teken/teken_subr.h
1029
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
103
if (t->t_scrollreg.ts_begin + amount < t->t_scrollreg.ts_end) {
sys/teken/teken_subr.h
1032
if (t->t_cursor.tp_row < t->t_originreg.ts_begin ||
sys/teken/teken_subr.h
1033
t->t_cursor.tp_row >= t->t_originreg.ts_end) {
sys/teken/teken_subr.h
1034
t->t_stateflags &= ~TS_ORIGIN;
sys/teken/teken_subr.h
1035
t->t_originreg.ts_begin = 0;
sys/teken/teken_subr.h
1036
t->t_originreg.ts_end = t->t_winsize.tp_row;
sys/teken/teken_subr.h
1039
teken_funcs_cursor(t);
sys/teken/teken_subr.h
104
tr.tr_begin.tp_row = t->t_scrollreg.ts_begin + amount;
sys/teken/teken_subr.h
1043
teken_subr_reverse_index(teken_t *t)
sys/teken/teken_subr.h
1046
if (t->t_cursor.tp_row > t->t_scrollreg.ts_begin) {
sys/teken/teken_subr.h
1047
t->t_cursor.tp_row--;
sys/teken/teken_subr.h
1048
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
1049
teken_funcs_cursor(t);
sys/teken/teken_subr.h
1051
teken_subr_do_scroll(t, -1);
sys/teken/teken_subr.h
1056
teken_subr_save_cursor(teken_t *t)
sys/teken/teken_subr.h
1059
t->t_saved_cursor = t->t_cursor;
sys/teken/teken_subr.h
106
tr.tr_end.tp_row = t->t_scrollreg.ts_end;
sys/teken/teken_subr.h
1060
t->t_saved_curattr = t->t_curattr;
sys/teken/teken_subr.h
1061
t->t_saved_curscs = t->t_scs[t->t_curscs];
sys/teken/teken_subr.h
1065
teken_subr_secondary_device_attributes(const teken_t *t, unsigned int request)
sys/teken/teken_subr.h
107
tr.tr_end.tp_col = t->t_winsize.tp_col;
sys/teken/teken_subr.h
1070
teken_funcs_respond(t, response, sizeof response - 1);
sys/teken/teken_subr.h
1077
teken_subr_set_dec_mode(teken_t *t, unsigned int cmd)
sys/teken/teken_subr.h
108
tp.tp_row = t->t_scrollreg.ts_begin;
sys/teken/teken_subr.h
1082
t->t_stateflags |= TS_CURSORKEYS;
sys/teken/teken_subr.h
1088
teken_funcs_param(t, TP_132COLS, 1);
sys/teken/teken_subr.h
1089
teken_subr_reset_to_initial_state(t);
sys/teken/teken_subr.h
1095
t->t_stateflags |= TS_ORIGIN;
sys/teken/teken_subr.h
1096
t->t_originreg = t->t_scrollreg;
sys/teken/teken_subr.h
1097
t->t_cursor.tp_row = t->t_scrollreg.ts_begin;
sys/teken/teken_subr.h
1098
t->t_cursor.tp_col = 0;
sys/teken/teken_subr.h
1099
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
110
teken_funcs_copy(t, &tr, &tp);
sys/teken/teken_subr.h
1100
teken_funcs_cursor(t);
sys/teken/teken_subr.h
1103
t->t_stateflags |= TS_AUTOWRAP;
sys/teken/teken_subr.h
1106
teken_funcs_param(t, TP_AUTOREPEAT, 1);
sys/teken/teken_subr.h
1109
teken_funcs_param(t, TP_SHOWCURSOR, 1);
sys/teken/teken_subr.h
112
tr.tr_begin.tp_row = t->t_scrollreg.ts_end - amount;
sys/teken/teken_subr.h
1121
teken_funcs_param(t, TP_MOUSE, 1);
sys/teken/teken_subr.h
1129
teken_subr_set_mode(teken_t *t, unsigned int cmd)
sys/teken/teken_subr.h
1135
t->t_stateflags |= TS_INSERT;
sys/teken/teken_subr.h
114
tr.tr_begin.tp_row = t->t_scrollreg.ts_begin;
sys/teken/teken_subr.h
1143
teken_subr_set_graphic_rendition(teken_t *t, unsigned int ncmds,
sys/teken/teken_subr.h
1150
t->t_curattr = t->t_defattr;
sys/teken/teken_subr.h
1159
t->t_curattr = t->t_defattr;
sys/teken/teken_subr.h
1162
t->t_curattr.ta_format |= TF_BOLD;
sys/teken/teken_subr.h
1165
t->t_curattr.ta_format |= TF_UNDERLINE;
sys/teken/teken_subr.h
1168
t->t_curattr.ta_format |= TF_BLINK;
sys/teken/teken_subr.h
1171
t->t_curattr.ta_format |= TF_REVERSE;
sys/teken/teken_subr.h
1174
t->t_curattr.ta_format &= ~TF_BOLD;
sys/teken/teken_subr.h
1177
t->t_curattr.ta_format &= ~TF_UNDERLINE;
sys/teken/teken_subr.h
1180
t->t_curattr.ta_format &= ~TF_BLINK;
sys/teken/teken_subr.h
1183
t->t_curattr.ta_format &= ~TF_REVERSE;
sys/teken/teken_subr.h
119
tr.tr_end.tp_row = t->t_scrollreg.ts_end;
sys/teken/teken_subr.h
1193
t->t_curattr.ta_fgcolor = n - 30;
sys/teken/teken_subr.h
1198
t->t_curattr.ta_fgcolor = cmds[i + 2];
sys/teken/teken_subr.h
120
tr.tr_end.tp_col = t->t_winsize.tp_col;
sys/teken/teken_subr.h
1202
t->t_curattr.ta_fgcolor = t->t_defattr.ta_fgcolor;
sys/teken/teken_subr.h
121
teken_funcs_fill(t, &tr, BLANK, &t->t_curattr);
sys/teken/teken_subr.h
1212
t->t_curattr.ta_bgcolor = n - 40;
sys/teken/teken_subr.h
1217
t->t_curattr.ta_bgcolor = cmds[i + 2];
sys/teken/teken_subr.h
1221
t->t_curattr.ta_bgcolor = t->t_defattr.ta_bgcolor;
sys/teken/teken_subr.h
1231
t->t_curattr.ta_fgcolor = (n - 90) + 8;
sys/teken/teken_subr.h
1241
t->t_curattr.ta_bgcolor = (n - 100) + 8;
sys/teken/teken_subr.h
1250
teken_subr_set_top_and_bottom_margins(teken_t *t, unsigned int top,
sys/teken/teken_subr.h
1258
if (bottom == 0 || bottom > t->t_winsize.tp_row)
sys/teken/teken_subr.h
1259
bottom = t->t_winsize.tp_row;
sys/teken/teken_subr.h
1264
bottom = t->t_winsize.tp_row;
sys/teken/teken_subr.h
1268
t->t_scrollreg.ts_begin = top;
sys/teken/teken_subr.h
1269
t->t_scrollreg.ts_end = bottom;
sys/teken/teken_subr.h
127
if (t->t_scrollreg.ts_begin + amount < t->t_scrollreg.ts_end) {
sys/teken/teken_subr.h
1270
if (t->t_stateflags & TS_ORIGIN)
sys/teken/teken_subr.h
1271
t->t_originreg = t->t_scrollreg;
sys/teken/teken_subr.h
1274
t->t_cursor.tp_row = t->t_originreg.ts_begin;
sys/teken/teken_subr.h
1275
t->t_cursor.tp_col = 0;
sys/teken/teken_subr.h
1276
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
1277
teken_funcs_cursor(t);
sys/teken/teken_subr.h
128
tr.tr_begin.tp_row = t->t_scrollreg.ts_begin;
sys/teken/teken_subr.h
1281
teken_subr_single_height_double_width_line(const teken_t *t)
sys/teken/teken_subr.h
1284
(void)t;
sys/teken/teken_subr.h
1289
teken_subr_single_height_single_width_line(const teken_t *t)
sys/teken/teken_subr.h
1292
(void)t;
sys/teken/teken_subr.h
1297
teken_subr_string_terminator(const teken_t *t)
sys/teken/teken_subr.h
130
tr.tr_end.tp_row = t->t_scrollreg.ts_end - amount;
sys/teken/teken_subr.h
1300
(void)t;
sys/teken/teken_subr.h
1308
teken_subr_tab_clear(teken_t *t, unsigned int cmd)
sys/teken/teken_subr.h
131
tr.tr_end.tp_col = t->t_winsize.tp_col;
sys/teken/teken_subr.h
1313
teken_tab_clear(t, t->t_cursor.tp_col);
sys/teken/teken_subr.h
1316
memset(t->t_tabstops, 0, T_NUMCOL / 8);
sys/teken/teken_subr.h
132
tp.tp_row = t->t_scrollreg.ts_begin + amount;
sys/teken/teken_subr.h
1324
teken_subr_vertical_position_absolute(teken_t *t, unsigned int row)
sys/teken/teken_subr.h
1327
row = (row - 1) + t->t_originreg.ts_begin;
sys/teken/teken_subr.h
1328
t->t_cursor.tp_row = row < t->t_originreg.ts_end ?
sys/teken/teken_subr.h
1329
row : t->t_originreg.ts_end - 1;
sys/teken/teken_subr.h
1331
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
1332
teken_funcs_cursor(t);
sys/teken/teken_subr.h
1336
teken_subr_repeat_last_graphic_char(teken_t *t, unsigned int rpts)
sys/teken/teken_subr.h
134
teken_funcs_copy(t, &tr, &tp);
sys/teken/teken_subr.h
1340
max_repetitions = t->t_winsize.tp_row * t->t_winsize.tp_col;
sys/teken/teken_subr.h
1343
for (; t->t_last != 0 && rpts > 0; rpts--)
sys/teken/teken_subr.h
1344
teken_subr_regular_character(t, t->t_last);
sys/teken/teken_subr.h
136
tr.tr_end.tp_row = t->t_scrollreg.ts_begin + amount;
sys/teken/teken_subr.h
138
tr.tr_end.tp_row = t->t_scrollreg.ts_end;
sys/teken/teken_subr.h
142
tr.tr_begin.tp_row = t->t_scrollreg.ts_begin;
sys/teken/teken_subr.h
144
tr.tr_end.tp_col = t->t_winsize.tp_col;
sys/teken/teken_subr.h
145
teken_funcs_fill(t, &tr, BLANK, &t->t_curattr);
sys/teken/teken_subr.h
150
teken_subr_do_cpr(const teken_t *t, unsigned int cmd, char response[16])
sys/teken/teken_subr.h
161
(t->t_cursor.tp_row - t->t_originreg.ts_begin) + 1,
sys/teken/teken_subr.h
162
t->t_cursor.tp_col + 1);
sys/teken/teken_subr.h
184
teken_subr_alignment_test(teken_t *t)
sys/teken/teken_subr.h
188
t->t_cursor.tp_row = t->t_cursor.tp_col = 0;
sys/teken/teken_subr.h
189
t->t_scrollreg.ts_begin = 0;
sys/teken/teken_subr.h
190
t->t_scrollreg.ts_end = t->t_winsize.tp_row;
sys/teken/teken_subr.h
191
t->t_originreg = t->t_scrollreg;
sys/teken/teken_subr.h
192
t->t_stateflags &= ~(TS_WRAPPED|TS_ORIGIN);
sys/teken/teken_subr.h
193
teken_funcs_cursor(t);
sys/teken/teken_subr.h
197
tr.tr_end = t->t_winsize;
sys/teken/teken_subr.h
198
teken_funcs_fill(t, &tr, 'E', &t->t_defattr);
sys/teken/teken_subr.h
202
teken_subr_backspace(teken_t *t)
sys/teken/teken_subr.h
205
if (t->t_stateflags & TS_CONS25) {
sys/teken/teken_subr.h
206
if (t->t_cursor.tp_col == 0) {
sys/teken/teken_subr.h
207
if (t->t_cursor.tp_row == t->t_originreg.ts_begin)
sys/teken/teken_subr.h
209
t->t_cursor.tp_row--;
sys/teken/teken_subr.h
210
t->t_cursor.tp_col = t->t_winsize.tp_col - 1;
sys/teken/teken_subr.h
212
t->t_cursor.tp_col--;
sys/teken/teken_subr.h
215
if (t->t_cursor.tp_col == 0)
sys/teken/teken_subr.h
218
t->t_cursor.tp_col--;
sys/teken/teken_subr.h
219
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
222
teken_funcs_cursor(t);
sys/teken/teken_subr.h
226
teken_subr_bell(const teken_t *t)
sys/teken/teken_subr.h
229
teken_funcs_bell(t);
sys/teken/teken_subr.h
233
teken_subr_carriage_return(teken_t *t)
sys/teken/teken_subr.h
236
t->t_cursor.tp_col = 0;
sys/teken/teken_subr.h
237
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
238
teken_funcs_cursor(t);
sys/teken/teken_subr.h
242
teken_subr_cursor_backward(teken_t *t, unsigned int ncols)
sys/teken/teken_subr.h
245
if (ncols > t->t_cursor.tp_col)
sys/teken/teken_subr.h
246
t->t_cursor.tp_col = 0;
sys/teken/teken_subr.h
248
t->t_cursor.tp_col -= ncols;
sys/teken/teken_subr.h
249
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
250
teken_funcs_cursor(t);
sys/teken/teken_subr.h
254
teken_subr_cursor_backward_tabulation(teken_t *t, unsigned int ntabs)
sys/teken/teken_subr.h
259
if (t->t_cursor.tp_col == 0)
sys/teken/teken_subr.h
262
t->t_cursor.tp_col--;
sys/teken/teken_subr.h
265
if (teken_tab_isset(t, t->t_cursor.tp_col))
sys/teken/teken_subr.h
269
teken_funcs_cursor(t);
sys/teken/teken_subr.h
273
teken_subr_cursor_down(teken_t *t, unsigned int nrows)
sys/teken/teken_subr.h
276
if (t->t_cursor.tp_row + nrows >= t->t_scrollreg.ts_end)
sys/teken/teken_subr.h
277
t->t_cursor.tp_row = t->t_scrollreg.ts_end - 1;
sys/teken/teken_subr.h
279
t->t_cursor.tp_row += nrows;
sys/teken/teken_subr.h
280
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
281
teken_funcs_cursor(t);
sys/teken/teken_subr.h
285
teken_subr_cursor_forward(teken_t *t, unsigned int ncols)
sys/teken/teken_subr.h
288
if (t->t_cursor.tp_col + ncols >= t->t_winsize.tp_col)
sys/teken/teken_subr.h
289
t->t_cursor.tp_col = t->t_winsize.tp_col - 1;
sys/teken/teken_subr.h
291
t->t_cursor.tp_col += ncols;
sys/teken/teken_subr.h
292
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
293
teken_funcs_cursor(t);
sys/teken/teken_subr.h
297
teken_subr_cursor_forward_tabulation(teken_t *t, unsigned int ntabs)
sys/teken/teken_subr.h
302
if (t->t_cursor.tp_col == t->t_winsize.tp_col - 1)
sys/teken/teken_subr.h
305
t->t_cursor.tp_col++;
sys/teken/teken_subr.h
308
if (teken_tab_isset(t, t->t_cursor.tp_col))
sys/teken/teken_subr.h
312
teken_funcs_cursor(t);
sys/teken/teken_subr.h
316
teken_subr_cursor_next_line(teken_t *t, unsigned int ncols)
sys/teken/teken_subr.h
319
t->t_cursor.tp_col = 0;
sys/teken/teken_subr.h
320
teken_subr_cursor_down(t, ncols);
sys/teken/teken_subr.h
324
teken_subr_cursor_position(teken_t *t, unsigned int row, unsigned int col)
sys/teken/teken_subr.h
327
row = (row - 1) + t->t_originreg.ts_begin;
sys/teken/teken_subr.h
328
t->t_cursor.tp_row = row < t->t_originreg.ts_end ?
sys/teken/teken_subr.h
329
row : t->t_originreg.ts_end - 1;
sys/teken/teken_subr.h
332
t->t_cursor.tp_col = col < t->t_winsize.tp_col ?
sys/teken/teken_subr.h
333
col : t->t_winsize.tp_col - 1;
sys/teken/teken_subr.h
335
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
336
teken_funcs_cursor(t);
sys/teken/teken_subr.h
340
teken_subr_cursor_position_report(const teken_t *t, unsigned int cmd)
sys/teken/teken_subr.h
345
len = teken_subr_do_cpr(t, cmd, response + 2);
sys/teken/teken_subr.h
349
teken_funcs_respond(t, response, len + 2);
sys/teken/teken_subr.h
353
teken_subr_cursor_previous_line(teken_t *t, unsigned int ncols)
sys/teken/teken_subr.h
356
t->t_cursor.tp_col = 0;
sys/teken/teken_subr.h
357
teken_subr_cursor_up(t, ncols);
sys/teken/teken_subr.h
36
teken_tab_isset(const teken_t *t, unsigned int col)
sys/teken/teken_subr.h
361
teken_subr_cursor_up(teken_t *t, unsigned int nrows)
sys/teken/teken_subr.h
364
if (t->t_scrollreg.ts_begin + nrows >= t->t_cursor.tp_row)
sys/teken/teken_subr.h
365
t->t_cursor.tp_row = t->t_scrollreg.ts_begin;
sys/teken/teken_subr.h
367
t->t_cursor.tp_row -= nrows;
sys/teken/teken_subr.h
368
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
369
teken_funcs_cursor(t);
sys/teken/teken_subr.h
373
teken_subr_set_cursor_style(teken_t *t __unused, unsigned int style __unused)
sys/teken/teken_subr.h
392
teken_subr_delete_character(const teken_t *t, unsigned int ncols)
sys/teken/teken_subr.h
396
tr.tr_begin.tp_row = t->t_cursor.tp_row;
sys/teken/teken_subr.h
397
tr.tr_end.tp_row = t->t_cursor.tp_row + 1;
sys/teken/teken_subr.h
398
tr.tr_end.tp_col = t->t_winsize.tp_col;
sys/teken/teken_subr.h
400
if (t->t_cursor.tp_col + ncols >= t->t_winsize.tp_col) {
sys/teken/teken_subr.h
401
tr.tr_begin.tp_col = t->t_cursor.tp_col;
sys/teken/teken_subr.h
404
tr.tr_begin.tp_col = t->t_cursor.tp_col + ncols;
sys/teken/teken_subr.h
405
teken_funcs_copy(t, &tr, &t->t_cursor);
sys/teken/teken_subr.h
407
tr.tr_begin.tp_col = t->t_winsize.tp_col - ncols;
sys/teken/teken_subr.h
411
teken_funcs_fill(t, &tr, BLANK, &t->t_curattr);
sys/teken/teken_subr.h
415
teken_subr_delete_line(const teken_t *t, unsigned int nrows)
sys/teken/teken_subr.h
420
if (t->t_cursor.tp_row < t->t_scrollreg.ts_begin ||
sys/teken/teken_subr.h
421
t->t_cursor.tp_row >= t->t_scrollreg.ts_end)
sys/teken/teken_subr.h
425
tr.tr_end.tp_row = t->t_scrollreg.ts_end;
sys/teken/teken_subr.h
426
tr.tr_end.tp_col = t->t_winsize.tp_col;
sys/teken/teken_subr.h
428
if (t->t_cursor.tp_row + nrows >= t->t_scrollreg.ts_end) {
sys/teken/teken_subr.h
429
tr.tr_begin.tp_row = t->t_cursor.tp_row;
sys/teken/teken_subr.h
434
tr.tr_begin.tp_row = t->t_cursor.tp_row + nrows;
sys/teken/teken_subr.h
435
tp.tp_row = t->t_cursor.tp_row;
sys/teken/teken_subr.h
437
teken_funcs_copy(t, &tr, &tp);
sys/teken/teken_subr.h
439
tr.tr_begin.tp_row = t->t_scrollreg.ts_end - nrows;
sys/teken/teken_subr.h
443
teken_funcs_fill(t, &tr, BLANK, &t->t_curattr);
sys/teken/teken_subr.h
447
teken_subr_device_control_string(teken_t *t)
sys/teken/teken_subr.h
451
t->t_stateflags |= TS_INSTRING;
sys/teken/teken_subr.h
455
teken_subr_device_status_report(const teken_t *t, unsigned int cmd)
sys/teken/teken_subr.h
46
return (t->t_tabstops[b] & (1U << o));
sys/teken/teken_subr.h
460
len = teken_subr_do_cpr(t, cmd, response + 3);
sys/teken/teken_subr.h
464
teken_funcs_respond(t, response, len + 3);
sys/teken/teken_subr.h
468
teken_subr_double_height_double_width_line_top(const teken_t *t)
sys/teken/teken_subr.h
471
(void)t;
sys/teken/teken_subr.h
476
teken_subr_double_height_double_width_line_bottom(const teken_t *t)
sys/teken/teken_subr.h
479
(void)t;
sys/teken/teken_subr.h
484
teken_subr_erase_character(const teken_t *t, unsigned int ncols)
sys/teken/teken_subr.h
488
tr.tr_begin = t->t_cursor;
sys/teken/teken_subr.h
489
tr.tr_end.tp_row = t->t_cursor.tp_row + 1;
sys/teken/teken_subr.h
491
if (t->t_cursor.tp_col + ncols >= t->t_winsize.tp_col)
sys/teken/teken_subr.h
492
tr.tr_end.tp_col = t->t_winsize.tp_col;
sys/teken/teken_subr.h
494
tr.tr_end.tp_col = t->t_cursor.tp_col + ncols;
sys/teken/teken_subr.h
496
teken_funcs_fill(t, &tr, BLANK, &t->t_curattr);
sys/teken/teken_subr.h
50
teken_tab_clear(teken_t *t, unsigned int col)
sys/teken/teken_subr.h
500
teken_subr_erase_display(const teken_t *t, unsigned int mode)
sys/teken/teken_subr.h
505
r.tr_end.tp_col = t->t_winsize.tp_col;
sys/teken/teken_subr.h
509
teken_subr_erase_line(t, 1);
sys/teken/teken_subr.h
512
if (t->t_cursor.tp_row == 0)
sys/teken/teken_subr.h
515
r.tr_end.tp_row = t->t_cursor.tp_row;
sys/teken/teken_subr.h
519
r.tr_end.tp_row = t->t_winsize.tp_row;
sys/teken/teken_subr.h
522
teken_subr_erase_line(t, 0);
sys/teken/teken_subr.h
525
if (t->t_cursor.tp_row == t->t_winsize.tp_row - 1)
sys/teken/teken_subr.h
527
r.tr_begin.tp_row = t->t_cursor.tp_row + 1;
sys/teken/teken_subr.h
528
r.tr_end.tp_row = t->t_winsize.tp_row;
sys/teken/teken_subr.h
532
teken_funcs_fill(t, &r, BLANK, &t->t_curattr);
sys/teken/teken_subr.h
536
teken_subr_erase_line(const teken_t *t, unsigned int mode)
sys/teken/teken_subr.h
540
r.tr_begin.tp_row = t->t_cursor.tp_row;
sys/teken/teken_subr.h
541
r.tr_end.tp_row = t->t_cursor.tp_row + 1;
sys/teken/teken_subr.h
546
r.tr_end.tp_col = t->t_cursor.tp_col + 1;
sys/teken/teken_subr.h
550
r.tr_end.tp_col = t->t_winsize.tp_col;
sys/teken/teken_subr.h
553
r.tr_begin.tp_col = t->t_cursor.tp_col;
sys/teken/teken_subr.h
554
r.tr_end.tp_col = t->t_winsize.tp_col;
sys/teken/teken_subr.h
558
teken_funcs_fill(t, &r, BLANK, &t->t_curattr);
sys/teken/teken_subr.h
562
teken_subr_g0_scs_special_graphics(teken_t *t)
sys/teken/teken_subr.h
565
t->t_scs[0] = teken_scs_special_graphics;
sys/teken/teken_subr.h
569
teken_subr_g0_scs_uk_national(teken_t *t)
sys/teken/teken_subr.h
572
t->t_scs[0] = teken_scs_uk_national;
sys/teken/teken_subr.h
576
teken_subr_g0_scs_us_ascii(teken_t *t)
sys/teken/teken_subr.h
579
t->t_scs[0] = teken_scs_us_ascii;
sys/teken/teken_subr.h
583
teken_subr_g1_scs_special_graphics(teken_t *t)
sys/teken/teken_subr.h
586
t->t_scs[1] = teken_scs_special_graphics;
sys/teken/teken_subr.h
590
teken_subr_g1_scs_uk_national(teken_t *t)
sys/teken/teken_subr.h
593
t->t_scs[1] = teken_scs_uk_national;
sys/teken/teken_subr.h
597
teken_subr_g1_scs_us_ascii(teken_t *t)
sys/teken/teken_subr.h
60
t->t_tabstops[b] &= ~(1U << o);
sys/teken/teken_subr.h
600
t->t_scs[1] = teken_scs_us_ascii;
sys/teken/teken_subr.h
604
teken_subr_horizontal_position_absolute(teken_t *t, unsigned int col)
sys/teken/teken_subr.h
608
t->t_cursor.tp_col = col < t->t_winsize.tp_col ?
sys/teken/teken_subr.h
609
col : t->t_winsize.tp_col - 1;
sys/teken/teken_subr.h
611
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
612
teken_funcs_cursor(t);
sys/teken/teken_subr.h
616
teken_subr_horizontal_tab(teken_t *t)
sys/teken/teken_subr.h
619
teken_subr_cursor_forward_tabulation(t, 1);
sys/teken/teken_subr.h
623
teken_subr_horizontal_tab_set(teken_t *t)
sys/teken/teken_subr.h
626
teken_tab_set(t, t->t_cursor.tp_col);
sys/teken/teken_subr.h
630
teken_subr_index(teken_t *t)
sys/teken/teken_subr.h
633
if (t->t_cursor.tp_row < t->t_scrollreg.ts_end - 1) {
sys/teken/teken_subr.h
634
t->t_cursor.tp_row++;
sys/teken/teken_subr.h
635
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
636
teken_funcs_cursor(t);
sys/teken/teken_subr.h
638
teken_subr_do_scroll(t, 1);
sys/teken/teken_subr.h
64
teken_tab_set(teken_t *t, unsigned int col)
sys/teken/teken_subr.h
643
teken_subr_insert_character(const teken_t *t, unsigned int ncols)
sys/teken/teken_subr.h
647
tr.tr_begin = t->t_cursor;
sys/teken/teken_subr.h
648
tr.tr_end.tp_row = t->t_cursor.tp_row + 1;
sys/teken/teken_subr.h
650
if (t->t_cursor.tp_col + ncols >= t->t_winsize.tp_col) {
sys/teken/teken_subr.h
651
tr.tr_end.tp_col = t->t_winsize.tp_col;
sys/teken/teken_subr.h
656
tr.tr_end.tp_col = t->t_winsize.tp_col - ncols;
sys/teken/teken_subr.h
657
tp.tp_row = t->t_cursor.tp_row;
sys/teken/teken_subr.h
658
tp.tp_col = t->t_cursor.tp_col + ncols;
sys/teken/teken_subr.h
659
teken_funcs_copy(t, &tr, &tp);
sys/teken/teken_subr.h
661
tr.tr_end.tp_col = t->t_cursor.tp_col + ncols;
sys/teken/teken_subr.h
665
teken_funcs_fill(t, &tr, BLANK, &t->t_curattr);
sys/teken/teken_subr.h
669
teken_subr_insert_line(const teken_t *t, unsigned int nrows)
sys/teken/teken_subr.h
674
if (t->t_cursor.tp_row < t->t_scrollreg.ts_begin ||
sys/teken/teken_subr.h
675
t->t_cursor.tp_row >= t->t_scrollreg.ts_end)
sys/teken/teken_subr.h
678
tr.tr_begin.tp_row = t->t_cursor.tp_row;
sys/teken/teken_subr.h
680
tr.tr_end.tp_col = t->t_winsize.tp_col;
sys/teken/teken_subr.h
682
if (t->t_cursor.tp_row + nrows >= t->t_scrollreg.ts_end) {
sys/teken/teken_subr.h
683
tr.tr_end.tp_row = t->t_scrollreg.ts_end;
sys/teken/teken_subr.h
688
tr.tr_end.tp_row = t->t_scrollreg.ts_end - nrows;
sys/teken/teken_subr.h
689
tp.tp_row = t->t_cursor.tp_row + nrows;
sys/teken/teken_subr.h
691
teken_funcs_copy(t, &tr, &tp);
sys/teken/teken_subr.h
693
tr.tr_end.tp_row = t->t_cursor.tp_row + nrows;
sys/teken/teken_subr.h
697
teken_funcs_fill(t, &tr, BLANK, &t->t_curattr);
sys/teken/teken_subr.h
701
teken_subr_keypad_application_mode(const teken_t *t)
sys/teken/teken_subr.h
704
teken_funcs_param(t, TP_KEYPADAPP, 1);
sys/teken/teken_subr.h
708
teken_subr_keypad_numeric_mode(const teken_t *t)
sys/teken/teken_subr.h
711
teken_funcs_param(t, TP_KEYPADAPP, 0);
sys/teken/teken_subr.h
715
teken_subr_newline(teken_t *t)
sys/teken/teken_subr.h
718
t->t_cursor.tp_row++;
sys/teken/teken_subr.h
720
if (t->t_cursor.tp_row >= t->t_scrollreg.ts_end) {
sys/teken/teken_subr.h
721
teken_subr_do_scroll(t, 1);
sys/teken/teken_subr.h
722
t->t_cursor.tp_row = t->t_scrollreg.ts_end - 1;
sys/teken/teken_subr.h
725
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
726
teken_funcs_cursor(t);
sys/teken/teken_subr.h
730
teken_subr_newpage(teken_t *t)
sys/teken/teken_subr.h
733
if (t->t_stateflags & TS_CONS25) {
sys/teken/teken_subr.h
737
tr.tr_begin.tp_row = t->t_originreg.ts_begin;
sys/teken/teken_subr.h
739
tr.tr_end.tp_row = t->t_originreg.ts_end;
sys/teken/teken_subr.h
74
t->t_tabstops[b] |= 1U << o;
sys/teken/teken_subr.h
740
tr.tr_end.tp_col = t->t_winsize.tp_col;
sys/teken/teken_subr.h
741
teken_funcs_fill(t, &tr, BLANK, &t->t_curattr);
sys/teken/teken_subr.h
744
t->t_cursor.tp_row = t->t_originreg.ts_begin;
sys/teken/teken_subr.h
745
t->t_cursor.tp_col = 0;
sys/teken/teken_subr.h
746
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
747
teken_funcs_cursor(t);
sys/teken/teken_subr.h
749
teken_subr_newline(t);
sys/teken/teken_subr.h
754
teken_subr_next_line(teken_t *t)
sys/teken/teken_subr.h
757
t->t_cursor.tp_col = 0;
sys/teken/teken_subr.h
758
teken_subr_newline(t);
sys/teken/teken_subr.h
762
teken_subr_operating_system_command(teken_t *t)
sys/teken/teken_subr.h
766
t->t_stateflags |= TS_INSTRING;
sys/teken/teken_subr.h
770
teken_subr_pan_down(const teken_t *t, unsigned int nrows)
sys/teken/teken_subr.h
773
teken_subr_do_scroll(t, (int)nrows);
sys/teken/teken_subr.h
777
teken_subr_pan_up(const teken_t *t, unsigned int nrows)
sys/teken/teken_subr.h
78
teken_tab_default(teken_t *t)
sys/teken/teken_subr.h
780
teken_subr_do_scroll(t, -(int)nrows);
sys/teken/teken_subr.h
784
teken_subr_primary_device_attributes(const teken_t *t, unsigned int request)
sys/teken/teken_subr.h
790
teken_funcs_respond(t, response, sizeof response - 1);
sys/teken/teken_subr.h
797
teken_subr_do_putchar(teken_t *t, const teken_pos_t *tp, teken_char_t c,
sys/teken/teken_subr.h
801
t->t_last = c;
sys/teken/teken_subr.h
802
if (t->t_stateflags & TS_INSERT &&
sys/teken/teken_subr.h
803
tp->tp_col < t->t_winsize.tp_col - width) {
sys/teken/teken_subr.h
810
ctr.tr_end.tp_col = t->t_winsize.tp_col - width;
sys/teken/teken_subr.h
813
teken_funcs_copy(t, &ctr, &ctp);
sys/teken/teken_subr.h
816
teken_funcs_putchar(t, tp, c, &t->t_curattr);
sys/teken/teken_subr.h
818
if (width == 2 && tp->tp_col + 1 < t->t_winsize.tp_col) {
sys/teken/teken_subr.h
82
memset(t->t_tabstops, 0, T_NUMCOL / 8);
sys/teken/teken_subr.h
825
attr = t->t_curattr;
sys/teken/teken_subr.h
827
teken_funcs_putchar(t, &tp2, c, &attr);
sys/teken/teken_subr.h
832
teken_subr_regular_character(teken_t *t, teken_char_t c)
sys/teken/teken_subr.h
836
if (t->t_stateflags & TS_8BIT) {
sys/teken/teken_subr.h
837
if (!(t->t_stateflags & TS_CONS25) && (c <= 0x1b || c == 0x7f))
sys/teken/teken_subr.h
839
c = teken_scs_process(t, c);
sys/teken/teken_subr.h
842
c = teken_scs_process(t, c);
sys/teken/teken_subr.h
849
if (t->t_stateflags & TS_CONS25) {
sys/teken/teken_subr.h
85
teken_tab_set(t, i);
sys/teken/teken_subr.h
850
teken_subr_do_putchar(t, &t->t_cursor, c, width);
sys/teken/teken_subr.h
851
t->t_cursor.tp_col += width;
sys/teken/teken_subr.h
853
if (t->t_cursor.tp_col >= t->t_winsize.tp_col) {
sys/teken/teken_subr.h
854
if (t->t_cursor.tp_row == t->t_scrollreg.ts_end - 1) {
sys/teken/teken_subr.h
856
teken_subr_do_scroll(t, 1);
sys/teken/teken_subr.h
859
if (t->t_cursor.tp_row <
sys/teken/teken_subr.h
860
t->t_winsize.tp_row - 1)
sys/teken/teken_subr.h
861
t->t_cursor.tp_row++;
sys/teken/teken_subr.h
863
t->t_cursor.tp_col = 0;
sys/teken/teken_subr.h
865
} else if (t->t_stateflags & TS_AUTOWRAP &&
sys/teken/teken_subr.h
866
((t->t_stateflags & TS_WRAPPED &&
sys/teken/teken_subr.h
867
t->t_cursor.tp_col + 1 == t->t_winsize.tp_col) ||
sys/teken/teken_subr.h
868
t->t_cursor.tp_col + width > t->t_winsize.tp_col)) {
sys/teken/teken_subr.h
877
if (t->t_cursor.tp_row == t->t_scrollreg.ts_end - 1) {
sys/teken/teken_subr.h
879
teken_subr_do_scroll(t, 1);
sys/teken/teken_subr.h
880
tp.tp_row = t->t_scrollreg.ts_end - 1;
sys/teken/teken_subr.h
883
tp.tp_row = t->t_cursor.tp_row + 1;
sys/teken/teken_subr.h
884
if (tp.tp_row == t->t_winsize.tp_row) {
sys/teken/teken_subr.h
89
teken_subr_do_scroll(const teken_t *t, int amount)
sys/teken/teken_subr.h
890
teken_subr_do_putchar(t, &t->t_cursor,
sys/teken/teken_subr.h
897
teken_subr_do_putchar(t, &tp, c, width);
sys/teken/teken_subr.h
899
t->t_cursor.tp_row = tp.tp_row;
sys/teken/teken_subr.h
900
t->t_cursor.tp_col = width;
sys/teken/teken_subr.h
901
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
904
teken_subr_do_putchar(t, &t->t_cursor, c, width);
sys/teken/teken_subr.h
905
t->t_cursor.tp_col += width;
sys/teken/teken_subr.h
907
if (t->t_cursor.tp_col >= t->t_winsize.tp_col) {
sys/teken/teken_subr.h
908
t->t_stateflags |= TS_WRAPPED;
sys/teken/teken_subr.h
909
t->t_cursor.tp_col = t->t_winsize.tp_col - 1;
sys/teken/teken_subr.h
911
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
915
teken_funcs_cursor(t);
sys/teken/teken_subr.h
919
teken_subr_reset_dec_mode(teken_t *t, unsigned int cmd)
sys/teken/teken_subr.h
924
t->t_stateflags &= ~TS_CURSORKEYS;
sys/teken/teken_subr.h
930
teken_funcs_param(t, TP_132COLS, 0);
sys/teken/teken_subr.h
931
teken_subr_reset_to_initial_state(t);
sys/teken/teken_subr.h
937
t->t_stateflags &= ~TS_ORIGIN;
sys/teken/teken_subr.h
938
t->t_originreg.ts_begin = 0;
sys/teken/teken_subr.h
939
t->t_originreg.ts_end = t->t_winsize.tp_row;
sys/teken/teken_subr.h
94
teken_assert(t->t_cursor.tp_row <= t->t_winsize.tp_row);
sys/teken/teken_subr.h
940
t->t_cursor.tp_row = t->t_cursor.tp_col = 0;
sys/teken/teken_subr.h
941
t->t_stateflags &= ~TS_WRAPPED;
sys/teken/teken_subr.h
942
teken_funcs_cursor(t);
sys/teken/teken_subr.h
945
t->t_stateflags &= ~TS_AUTOWRAP;
sys/teken/teken_subr.h
948
teken_funcs_param(t, TP_AUTOREPEAT, 0);
sys/teken/teken_subr.h
95
teken_assert(t->t_scrollreg.ts_end <= t->t_winsize.tp_row);
sys/teken/teken_subr.h
951
teken_funcs_param(t, TP_SHOWCURSOR, 0);
sys/teken/teken_subr.h
963
teken_funcs_param(t, TP_MOUSE, 0);
sys/teken/teken_subr.h
971
teken_subr_reset_mode(teken_t *t, unsigned int cmd)
sys/teken/teken_subr.h
976
t->t_stateflags &= ~TS_INSERT;
sys/teken/teken_subr.h
984
teken_subr_do_resize(teken_t *t)
sys/teken/teken_subr.h
987
t->t_scrollreg.ts_begin = 0;
sys/teken/teken_subr.h
988
t->t_scrollreg.ts_end = t->t_winsize.tp_row;
sys/teken/teken_subr.h
989
t->t_originreg = t->t_scrollreg;
sys/teken/teken_subr.h
993
teken_subr_do_reset(teken_t *t)
sys/teken/teken_subr.h
996
t->t_curattr = t->t_defattr;
sys/teken/teken_subr.h
997
t->t_cursor.tp_row = t->t_cursor.tp_col = 0;
sys/teken/teken_subr.h
998
t->t_scrollreg.ts_begin = 0;
sys/teken/teken_subr.h
999
t->t_scrollreg.ts_end = t->t_winsize.tp_row;
sys/teken/teken_subr_compat.h
100
teken_funcs_param(t, TP_SWITCHVT, vt);
sys/teken/teken_subr_compat.h
104
teken_subr_cons25_set_bell_pitch_duration(const teken_t *t, unsigned int pitch,
sys/teken/teken_subr_compat.h
108
teken_funcs_param(t, TP_SETBELLPD, (pitch << 16) |
sys/teken/teken_subr_compat.h
113
teken_subr_cons25_set_graphic_rendition(teken_t *t, unsigned int cmd,
sys/teken/teken_subr_compat.h
120
t->t_curattr = t->t_defattr;
sys/teken/teken_subr_compat.h
128
teken_subr_cons25_set_terminal_mode(teken_t *t, unsigned int mode)
sys/teken/teken_subr_compat.h
133
t->t_stateflags &= ~TS_CONS25;
sys/teken/teken_subr_compat.h
136
t->t_stateflags |= TS_CONS25;
sys/teken/teken_subr_compat.h
145
teken_subr_vt52_decid(teken_t *t)
sys/teken/teken_subr_compat.h
149
teken_funcs_respond(t, response, sizeof response - 1);
sys/teken/teken_subr_compat.h
30
teken_subr_cons25_set_border(const teken_t *t, unsigned int c)
sys/teken/teken_subr_compat.h
33
teken_funcs_param(t, TP_SETBORDER, c);
sys/teken/teken_subr_compat.h
37
teken_subr_cons25_set_global_cursor_shape(const teken_t *t, unsigned int ncmds,
sys/teken/teken_subr_compat.h
55
teken_funcs_param(t, TP_SETGLOBALCURSOR, code);
sys/teken/teken_subr_compat.h
59
teken_subr_cons25_set_local_cursor_type(const teken_t *t, unsigned int type)
sys/teken/teken_subr_compat.h
62
teken_funcs_param(t, TP_SETLOCALCURSOR, type);
sys/teken/teken_subr_compat.h
69
teken_subr_cons25_set_default_background(teken_t *t, unsigned int c)
sys/teken/teken_subr_compat.h
72
t->t_defattr.ta_bgcolor = cons25_colors[c % 8] | (c & 8);
sys/teken/teken_subr_compat.h
73
t->t_curattr.ta_bgcolor = cons25_colors[c % 8] | (c & 8);
sys/teken/teken_subr_compat.h
77
teken_subr_cons25_set_default_foreground(teken_t *t, unsigned int c)
sys/teken/teken_subr_compat.h
80
t->t_defattr.ta_fgcolor = cons25_colors[c % 8] | (c & 8);
sys/teken/teken_subr_compat.h
81
t->t_curattr.ta_fgcolor = cons25_colors[c % 8] | (c & 8);
sys/teken/teken_subr_compat.h
87
teken_get_defattr_cons25(const teken_t *t, int *fg, int *bg)
sys/teken/teken_subr_compat.h
90
*fg = cons25_revcolors[teken_256to8(t->t_defattr.ta_fgcolor)];
sys/teken/teken_subr_compat.h
91
if (t->t_defattr.ta_format & TF_BOLD)
sys/teken/teken_subr_compat.h
93
*bg = cons25_revcolors[teken_256to8(t->t_defattr.ta_bgcolor)];
sys/teken/teken_subr_compat.h
97
teken_subr_cons25_switch_virtual_terminal(const teken_t *t, unsigned int vt)
sys/tests/fib_lookup/fib_lookup.c
787
uint32_t t, p;
sys/tests/fib_lookup/fib_lookup.c
817
t = keys[p];
sys/tests/fib_lookup/fib_lookup.c
819
keys[i] = t;
sys/tools/syscalls/examples/cpp/test_proto.h
25
#define PAD_(t) (sizeof(syscallarg_t) <= sizeof(t) ? \
sys/tools/syscalls/examples/cpp/test_proto.h
26
0 : sizeof(syscallarg_t) - sizeof(t))
sys/tools/syscalls/examples/cpp/test_proto.h
29
#define PADL_(t) 0
sys/tools/syscalls/examples/cpp/test_proto.h
30
#define PADR_(t) PAD_(t)
sys/tools/syscalls/examples/cpp/test_proto.h
32
#define PADL_(t) PAD_(t)
sys/tools/syscalls/examples/cpp/test_proto.h
33
#define PADR_(t) 0
sys/vm/vm_phys.c
388
vm_phys_mem_affinity(int f __numa_used, int t __numa_used)
sys/vm/vm_phys.c
394
if (f >= vm_ndomains || t >= vm_ndomains)
sys/vm/vm_phys.c
396
return (mem_locality[f * vm_ndomains + t]);
sys/vm/vm_phys.h
82
int vm_phys_mem_affinity(int f, int t);
sys/x86/include/bus.h
1000
bus_space_write_1((t), (h), (o), (v))
sys/x86/include/bus.h
1001
#define bus_space_write_stream_2(t, h, o, v) \
sys/x86/include/bus.h
1002
bus_space_write_2((t), (h), (o), (v))
sys/x86/include/bus.h
1003
#define bus_space_write_stream_4(t, h, o, v) \
sys/x86/include/bus.h
1004
bus_space_write_4((t), (h), (o), (v))
sys/x86/include/bus.h
1006
#define bus_space_write_multi_stream_1(t, h, o, a, c) \
sys/x86/include/bus.h
1007
bus_space_write_multi_1((t), (h), (o), (a), (c))
sys/x86/include/bus.h
1008
#define bus_space_write_multi_stream_2(t, h, o, a, c) \
sys/x86/include/bus.h
1009
bus_space_write_multi_2((t), (h), (o), (a), (c))
sys/x86/include/bus.h
1010
#define bus_space_write_multi_stream_4(t, h, o, a, c) \
sys/x86/include/bus.h
1011
bus_space_write_multi_4((t), (h), (o), (a), (c))
sys/x86/include/bus.h
1013
#define bus_space_set_multi_stream_1(t, h, o, v, c) \
sys/x86/include/bus.h
1014
bus_space_set_multi_1((t), (h), (o), (v), (c))
sys/x86/include/bus.h
1015
#define bus_space_set_multi_stream_2(t, h, o, v, c) \
sys/x86/include/bus.h
1016
bus_space_set_multi_2((t), (h), (o), (v), (c))
sys/x86/include/bus.h
1017
#define bus_space_set_multi_stream_4(t, h, o, v, c) \
sys/x86/include/bus.h
1018
bus_space_set_multi_4((t), (h), (o), (v), (c))
sys/x86/include/bus.h
1020
#define bus_space_read_region_stream_1(t, h, o, a, c) \
sys/x86/include/bus.h
1021
bus_space_read_region_1((t), (h), (o), (a), (c))
sys/x86/include/bus.h
1022
#define bus_space_read_region_stream_2(t, h, o, a, c) \
sys/x86/include/bus.h
1023
bus_space_read_region_2((t), (h), (o), (a), (c))
sys/x86/include/bus.h
1024
#define bus_space_read_region_stream_4(t, h, o, a, c) \
sys/x86/include/bus.h
1025
bus_space_read_region_4((t), (h), (o), (a), (c))
sys/x86/include/bus.h
1027
#define bus_space_write_region_stream_1(t, h, o, a, c) \
sys/x86/include/bus.h
1028
bus_space_write_region_1((t), (h), (o), (a), (c))
sys/x86/include/bus.h
1029
#define bus_space_write_region_stream_2(t, h, o, a, c) \
sys/x86/include/bus.h
1030
bus_space_write_region_2((t), (h), (o), (a), (c))
sys/x86/include/bus.h
1031
#define bus_space_write_region_stream_4(t, h, o, a, c) \
sys/x86/include/bus.h
1032
bus_space_write_region_4((t), (h), (o), (a), (c))
sys/x86/include/bus.h
1034
#define bus_space_set_region_stream_1(t, h, o, v, c) \
sys/x86/include/bus.h
1035
bus_space_set_region_1((t), (h), (o), (v), (c))
sys/x86/include/bus.h
1036
#define bus_space_set_region_stream_2(t, h, o, v, c) \
sys/x86/include/bus.h
1037
bus_space_set_region_2((t), (h), (o), (v), (c))
sys/x86/include/bus.h
1038
#define bus_space_set_region_stream_4(t, h, o, v, c) \
sys/x86/include/bus.h
1039
bus_space_set_region_4((t), (h), (o), (v), (c))
sys/x86/include/bus.h
1041
#define bus_space_copy_region_stream_1(t, h1, o1, h2, o2, c) \
sys/x86/include/bus.h
1042
bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
sys/x86/include/bus.h
1043
#define bus_space_copy_region_stream_2(t, h1, o1, h2, o2, c) \
sys/x86/include/bus.h
1044
bus_space_copy_region_2((t), (h1), (o1), (h2), (o2), (c))
sys/x86/include/bus.h
1045
#define bus_space_copy_region_stream_4(t, h1, o1, h2, o2, c) \
sys/x86/include/bus.h
1046
bus_space_copy_region_4((t), (h1), (o1), (h2), (o2), (c))
sys/x86/include/bus.h
154
static __inline int bus_space_subregion(bus_space_tag_t t,
sys/x86/include/bus.h
160
bus_space_subregion(bus_space_tag_t t __unused, bus_space_handle_t bsh,
sys/x86/include/bus.h
173
int bus_space_alloc(bus_space_tag_t t, bus_addr_t rstart,
sys/x86/include/bus.h
182
static __inline void bus_space_free(bus_space_tag_t t, bus_space_handle_t bsh,
sys/x86/include/bus.h
186
bus_space_free(bus_space_tag_t t __unused, bus_space_handle_t bsh __unused,
sys/x86/include/bus.h
580
#define bus_space_write_multi_8(t, h, o, a, c) \
sys/x86/include/bus.h
988
#define bus_space_read_stream_1(t, h, o) bus_space_read_1((t), (h), (o))
sys/x86/include/bus.h
989
#define bus_space_read_stream_2(t, h, o) bus_space_read_2((t), (h), (o))
sys/x86/include/bus.h
990
#define bus_space_read_stream_4(t, h, o) bus_space_read_4((t), (h), (o))
sys/x86/include/bus.h
992
#define bus_space_read_multi_stream_1(t, h, o, a, c) \
sys/x86/include/bus.h
993
bus_space_read_multi_1((t), (h), (o), (a), (c))
sys/x86/include/bus.h
994
#define bus_space_read_multi_stream_2(t, h, o, a, c) \
sys/x86/include/bus.h
995
bus_space_read_multi_2((t), (h), (o), (a), (c))
sys/x86/include/bus.h
996
#define bus_space_read_multi_stream_4(t, h, o, a, c) \
sys/x86/include/bus.h
997
bus_space_read_multi_4((t), (h), (o), (a), (c))
sys/x86/include/bus.h
999
#define bus_space_write_stream_1(t, h, o, v) \
sys/x86/iommu/intel_drv.c
1132
int pci_domain, bus, device, function, i, t;
sys/x86/iommu/intel_drv.c
1138
t = db_read_token();
sys/x86/iommu/intel_drv.c
1139
if (t == tSLASH) {
sys/x86/iommu/intel_drv.c
1140
t = db_read_token();
sys/x86/iommu/intel_drv.c
1141
if (t != tIDENT) {
sys/x86/iommu/intel_drv.c
1148
t = db_read_token();
sys/x86/iommu/intel_drv.c
1152
if (t == tNUMBER) {
sys/x86/iommu/intel_drv.c
1154
t = db_read_token();
sys/x86/iommu/intel_drv.c
1155
if (t == tNUMBER) {
sys/x86/iommu/intel_drv.c
1157
t = db_read_token();
sys/x86/iommu/intel_drv.c
1158
if (t == tNUMBER) {
sys/x86/iommu/intel_drv.c
1160
t = db_read_token();
sys/x86/iommu/intel_drv.c
1161
if (t == tNUMBER) {
sys/x86/x86/busdma_machdep.c
165
bus_dma_template_clone(bus_dma_template_t *t, bus_dma_tag_t dmat)
sys/x86/x86/busdma_machdep.c
169
if (t == NULL || dmat == NULL)
sys/x86/x86/busdma_machdep.c
174
t->alignment = common->alignment;
sys/x86/x86/busdma_machdep.c
175
t->boundary = common->boundary;
sys/x86/x86/busdma_machdep.c
176
t->lowaddr = common->lowaddr;
sys/x86/x86/busdma_machdep.c
177
t->highaddr = common->highaddr;
sys/x86/x86/busdma_machdep.c
178
t->maxsize = common->maxsize;
sys/x86/x86/busdma_machdep.c
179
t->nsegments = common->nsegments;
sys/x86/x86/busdma_machdep.c
180
t->maxsegsize = common->maxsegsz;
sys/x86/x86/busdma_machdep.c
181
t->flags = common->flags;
sys/x86/x86/busdma_machdep.c
182
t->lockfunc = common->lockfunc;
sys/x86/x86/busdma_machdep.c
183
t->lockfuncarg = common->lockfuncarg;
sys/xdr/xdr_mbuf.c
148
int32_t t;
sys/xdr/xdr_mbuf.c
152
t = *p;
sys/xdr/xdr_mbuf.c
154
xdrmbuf_getbytes(xdrs, (char *) &t, sizeof(int32_t));
sys/xdr/xdr_mbuf.c
157
*lp = ntohl(t);
sys/xdr/xdr_mbuf.c
165
int32_t t = htonl(*lp);
sys/xdr/xdr_mbuf.c
169
*p = t;
sys/xdr/xdr_mbuf.c
172
return (xdrmbuf_putbytes(xdrs, (char *) &t, sizeof(int32_t)));
sys/xen/xenstore/xenstorevar.h
127
int xs_directory(struct xs_transaction t, const char *dir,
sys/xen/xenstore/xenstorevar.h
141
int xs_exists(struct xs_transaction t, const char *dir, const char *node);
sys/xen/xenstore/xenstorevar.h
160
int xs_read(struct xs_transaction t, const char *dir,
sys/xen/xenstore/xenstorevar.h
174
int xs_write(struct xs_transaction t, const char *dir,
sys/xen/xenstore/xenstorevar.h
187
int xs_mkdir(struct xs_transaction t, const char *dir,
sys/xen/xenstore/xenstorevar.h
200
int xs_rm(struct xs_transaction t, const char *dir, const char *node);
sys/xen/xenstore/xenstorevar.h
212
int xs_rm_tree(struct xs_transaction t, const char *dir,
sys/xen/xenstore/xenstorevar.h
227
int xs_transaction_start(struct xs_transaction *t);
sys/xen/xenstore/xenstorevar.h
239
int xs_transaction_end(struct xs_transaction t, int abort);
sys/xen/xenstore/xenstorevar.h
255
int xs_scanf(struct xs_transaction t,
sys/xen/xenstore/xenstorevar.h
271
int xs_printf(struct xs_transaction t, const char *dir,
sys/xen/xenstore/xenstorevar.h
287
int xs_vprintf(struct xs_transaction t, const char *dir,
sys/xen/xenstore/xenstorevar.h
324
int xs_gather(struct xs_transaction t, const char *dir, ...);
tests/sys/kern/kcov.c
433
ATF_TC_HEAD(kcov_enable_multi_thread, t)
tests/sys/kern/kcov.c
438
ATF_TC_BODY(kcov_enable_multi_thread, t)
tests/sys/kern/listener_wakeup.c
230
struct test const *t = &tests[i];
tests/sys/kern/listener_wakeup.c
232
.test = t,
tests/sys/kern/listener_wakeup.c
238
if (t->nonblock)
tests/sys/kern/listener_wakeup.c
241
if (t->when == AFTER) {
tests/sys/kern/listener_wakeup.c
247
switch (t->wakeup) {
tests/sys/kern/listener_wakeup.c
257
if (t->when == BEFORE) {
tests/sys/kern/listener_wakeup.c
271
ATF_REQUIRE_MSG(ctx.result == t->result,
tests/sys/kern/listener_wakeup.c
273
"expected %d, got %d", pr->name, t->sleep, t->wakeup,
tests/sys/kern/listener_wakeup.c
274
t->nonblock, t->result, ctx.result);
tests/sys/kern/listener_wakeup.c
276
if (t->wakeup == WAKEUP_SHUTDOWN)
tests/sys/kern/ptrace_test.c
2003
pthread_t t;
tests/sys/kern/ptrace_test.c
2019
CHILD_REQUIRE(pthread_create(&t, NULL, mask_usr1_thread,
tests/sys/kern/ptrace_test.c
2033
CHILD_REQUIRE(pthread_setschedparam(t, SCHED_FIFO,
tests/sys/kern/ptrace_test.c
2102
pthread_t t;
tests/sys/kern/ptrace_test.c
2122
CHILD_REQUIRE(pthread_create(&t, NULL, mask_usr1_thread,
tests/sys/kern/ptrace_test.c
2136
CHILD_REQUIRE(pthread_setschedparam(t, SCHED_FIFO,
tests/sys/kern/ptrace_test.c
3083
pthread_t t;
tests/sys/kern/ptrace_test.c
3093
CHILD_REQUIRE_EQ(pthread_create(&t, NULL, signal_thread,
tests/sys/kern/ptrace_test.c
3131
CHILD_REQUIRE_EQ(pthread_join(t, NULL), 0);
tests/sys/kern/ptrace_test.c
3285
pthread_t t;
tests/sys/kern/ptrace_test.c
3316
CHILD_REQUIRE(pthread_create(&t, NULL,
tests/sys/kern/ptrace_test.c
3326
CHILD_REQUIRE(pthread_create(&t, NULL,
tests/sys/kern/ptrace_test.c
3516
pthread_t t[2];
tests/sys/kern/ptrace_test.c
3532
if (pthread_create(&t[0], NULL, flock_thread, &cfd) != 0)
tests/sys/kern/ptrace_test.c
3534
if (pthread_create(&t[1], NULL, flock_thread, &cfd) != 0)
tests/sys/kern/ptrace_test.c
3536
if (pthread_join(t[0], NULL) != 0)
tests/sys/kern/ptrace_test.c
3538
if (pthread_join(t[1], NULL) != 0)
tests/sys/kern/shutdown_dgram.c
71
pthread_t t;
tests/sys/kern/shutdown_dgram.c
74
ATF_REQUIRE(pthread_create(&t, NULL, blocking_thread, &s) == 0);
tests/sys/kern/shutdown_dgram.c
78
ATF_REQUIRE(pthread_join(t, (void *)&rv) == 0);
tests/sys/kern/socket_msg_waitall.c
109
ATF_REQUIRE(pthread_join(t, NULL) == 0);
tests/sys/kern/socket_msg_waitall.c
67
pthread_t t;
tests/sys/kern/socket_msg_waitall.c
91
error = pthread_create(&t, NULL, close_test_client, &p);
tests/sys/kern/unix_seqpacket_test.c
1228
pthread_t t;
tests/sys/kern/unix_seqpacket_test.c
1266
ATF_REQUIRE(pthread_create(&t, NULL, sending_thread, ¶ms) == 0);
tests/sys/kern/unix_seqpacket_test.c
1311
ATF_REQUIRE(pthread_join(t, NULL) == 0);
tests/sys/kqueue/libkqueue/timer.c
22
#define SEC_TO_MS(t) ((t) * THOUSAND) /* Convert seconds to milliseconds. */
tests/sys/kqueue/libkqueue/timer.c
23
#define SEC_TO_US(t) ((t) * MILLION) /* Convert seconds to microseconds. */
tests/sys/kqueue/libkqueue/timer.c
24
#define MS_TO_US(t) ((t) * THOUSAND) /* Convert milliseconds to microseconds. */
tests/sys/kqueue/libkqueue/timer.c
25
#define US_TO_NS(t) ((t) * THOUSAND) /* Convert microseconds to nanoseconds. */
tests/sys/kqueue/libkqueue/timer.c
45
mssleep(int t)
tests/sys/kqueue/libkqueue/timer.c
49
.tv_nsec = US_TO_NS(MS_TO_US(t)),
tests/sys/kqueue/libkqueue/timer.c
59
ussleep(int t)
tests/sys/kqueue/libkqueue/timer.c
63
.tv_nsec = US_TO_NS(t),
tests/sys/netgraph/util.h
48
#define ng_mkpeer(p1,h1,t,h2) \
tests/sys/netgraph/util.h
49
_ng_mkpeer(p1,h1,t,h2,__FILE__,__LINE__)
tests/sys/netinet/udp_dontroute.c
122
len = read(t, recvbuf, buflen);
tests/sys/netinet/udp_dontroute.c
55
int s, t;
tests/sys/netinet/udp_dontroute.c
81
t = open(tapdev, O_RDWR | O_NONBLOCK);
tests/sys/netinet/udp_dontroute.c
82
if (t < 0)
tests/sys/netmap/ctrl-api-test.c
1846
struct nmreq_parse_test *t,
tests/sys/netmap/ctrl-api-test.c
1852
save = ctx->ifparse = t->ifname;
tests/sys/netmap/ctrl-api-test.c
1857
if (t->exp_error > 0) {
tests/sys/netmap/ctrl-api-test.c
1858
if (errno != t->exp_error) {
tests/sys/netmap/ctrl-api-test.c
1860
errno, t->exp_error);
tests/sys/netmap/ctrl-api-test.c
1876
if (t->exp_error > 0) {
tests/sys/netmap/ctrl-api-test.c
1877
printf("!!! nmreq_header_decode returns 0, but error %d was expected\n", t->exp_error);
tests/sys/netmap/ctrl-api-test.c
1880
if (strcmp(t->exp_port, hdr->nr_name) != 0) {
tests/sys/netmap/ctrl-api-test.c
1881
printf("!!! got '%s', want '%s'\n", hdr->nr_name, t->exp_port);
tests/sys/netmap/ctrl-api-test.c
1895
struct nmreq_parse_test *t,
tests/sys/netmap/ctrl-api-test.c
1907
if (t->exp_error < 0) {
tests/sys/netmap/ctrl-api-test.c
1908
if (errno != -t->exp_error) {
tests/sys/netmap/ctrl-api-test.c
1910
errno, -t->exp_error);
tests/sys/netmap/ctrl-api-test.c
1926
if (t->exp_error < 0) {
tests/sys/netmap/ctrl-api-test.c
1927
printf("!!! nmreq_register_decode returns 0, but error %d was expected\n", -t->exp_error);
tests/sys/netmap/ctrl-api-test.c
1930
if (reg->nr_mode != t->exp_mode) {
tests/sys/netmap/ctrl-api-test.c
1931
printf("!!! got nr_mode '%d', want '%d'\n", reg->nr_mode, t->exp_mode);
tests/sys/netmap/ctrl-api-test.c
1934
if (reg->nr_ringid != t->exp_ringid) {
tests/sys/netmap/ctrl-api-test.c
1935
printf("!!! got nr_ringid '%d', want '%d'\n", reg->nr_ringid, t->exp_ringid);
tests/sys/netmap/ctrl-api-test.c
1938
if (reg->nr_flags != t->exp_flags) {
tests/sys/netmap/ctrl-api-test.c
1940
(unsigned long long)t->exp_flags);
tests/sys/netmap/ctrl-api-test.c
1967
struct nmreq_parse_test *t;
tests/sys/netmap/ctrl-api-test.c
1981
for (t = nmreq_parse_tests; t->ifname != NULL; t++) {
tests/sys/netmap/ctrl-api-test.c
1982
const char *exp_suff = t->exp_suff != NULL ?
tests/sys/netmap/ctrl-api-test.c
1983
t->exp_suff : t->ifname;
tests/sys/netmap/ctrl-api-test.c
1988
if (nmreq_hdr_parsing(ctx, t, &hdr) < 0) {
tests/sys/netmap/ctrl-api-test.c
1990
} else if (t->exp_error <= 0 && nmreq_reg_parsing(ctx, t, ®) < 0) {
tests/sys/netmap/ctrl-api-test.c
2203
struct timespec t;
tests/sys/netmap/ctrl-api-test.c
2206
clock_gettime(CLOCK_REALTIME, &t);
tests/sys/netmap/ctrl-api-test.c
2207
srand((unsigned int)t.tv_nsec);
tools/regression/fsx/fsx.c
356
unsigned char c, t;
tools/regression/fsx/fsx.c
368
t = temp_buf[i];
tools/regression/fsx/fsx.c
369
if (c != t) {
tools/regression/net80211/ccmp/test_ccmp.c
582
printtest(const struct ciphertest *t)
tools/regression/net80211/ccmp/test_ccmp.c
585
, t->keyix
tools/regression/net80211/ccmp/test_ccmp.c
586
, t->pn
tools/regression/net80211/ccmp/test_ccmp.c
587
, t->key_len
tools/regression/net80211/ccmp/test_ccmp.c
588
, t->plaintext_len
tools/regression/net80211/ccmp/test_ccmp.c
593
runtest(struct ieee80211vap *vap, struct ciphertest *t)
tools/regression/net80211/ccmp/test_ccmp.c
595
struct ieee80211_key *key = &vap->iv_nw_keys[t->keyix];
tools/regression/net80211/ccmp/test_ccmp.c
600
printf("%s: ", t->name);
tools/regression/net80211/ccmp/test_ccmp.c
608
if (!ieee80211_crypto_newkey(vap, t->cipher,
tools/regression/net80211/ccmp/test_ccmp.c
614
memcpy(key->wk_key, t->key, t->key_len);
tools/regression/net80211/ccmp/test_ccmp.c
615
key->wk_keylen = t->key_len;
tools/regression/net80211/ccmp/test_ccmp.c
617
key->wk_keytsc = t->pn-1; /* PN-1 since we do encap */
tools/regression/net80211/ccmp/test_ccmp.c
629
memcpy(mtod(m, void *), t->plaintext, t->plaintext_len);
tools/regression/net80211/ccmp/test_ccmp.c
630
m->m_len = t->plaintext_len;
tools/regression/net80211/ccmp/test_ccmp.c
638
printtest(t);
tools/regression/net80211/ccmp/test_ccmp.c
645
if (m->m_pkthdr.len != t->encrypted_len) {
tools/regression/net80211/ccmp/test_ccmp.c
647
printtest(t);
tools/regression/net80211/ccmp/test_ccmp.c
649
t->encrypted, t->encrypted_len);
tools/regression/net80211/ccmp/test_ccmp.c
651
} else if (memcmp(mtod(m, const void *), t->encrypted, t->encrypted_len)) {
tools/regression/net80211/ccmp/test_ccmp.c
653
printtest(t);
tools/regression/net80211/ccmp/test_ccmp.c
655
t->encrypted, t->encrypted_len);
tools/regression/net80211/ccmp/test_ccmp.c
656
dumpdata("Plaintext", t->plaintext, t->plaintext_len);
tools/regression/net80211/ccmp/test_ccmp.c
665
printtest(t);
tools/regression/net80211/ccmp/test_ccmp.c
667
t->plaintext, t->plaintext_len);
tools/regression/net80211/ccmp/test_ccmp.c
673
if (m->m_pkthdr.len != t->plaintext_len) {
tools/regression/net80211/ccmp/test_ccmp.c
675
printtest(t);
tools/regression/net80211/ccmp/test_ccmp.c
677
t->plaintext, t->plaintext_len);
tools/regression/net80211/ccmp/test_ccmp.c
679
} else if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) {
tools/regression/net80211/ccmp/test_ccmp.c
681
printtest(t);
tools/regression/net80211/ccmp/test_ccmp.c
683
t->plaintext, t->plaintext_len);
tools/regression/net80211/tkip/test_tkip.c
180
runtest(struct ieee80211vap *vap, struct ciphertest *t)
tools/regression/net80211/tkip/test_tkip.c
183
struct ieee80211_key *key = &vap->iv_nw_keys[t->keyix];
tools/regression/net80211/tkip/test_tkip.c
189
printf("%s: ", t->name);
tools/regression/net80211/tkip/test_tkip.c
197
if (!ieee80211_crypto_newkey(vap, t->cipher,
tools/regression/net80211/tkip/test_tkip.c
203
memcpy(key->wk_key, t->key, t->key_len);
tools/regression/net80211/tkip/test_tkip.c
206
key->wk_keytsc = t->pn;
tools/regression/net80211/tkip/test_tkip.c
218
len = t->plaintext_len - IEEE80211_WEP_MICLEN;
tools/regression/net80211/tkip/test_tkip.c
219
memcpy(mtod(m, void *), t->plaintext, len);
tools/regression/net80211/tkip/test_tkip.c
234
if (m->m_pkthdr.len != t->plaintext_len) {
tools/regression/net80211/tkip/test_tkip.c
237
t->plaintext, t->plaintext_len);
tools/regression/net80211/tkip/test_tkip.c
240
if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) {
tools/regression/net80211/tkip/test_tkip.c
243
t->plaintext, t->plaintext_len);
tools/regression/net80211/tkip/test_tkip.c
257
if (memcmp(ctx->tx_ttak, t->phase1, t->phase1_len)) {
tools/regression/net80211/tkip/test_tkip.c
260
t->phase1, t->phase1_len);
tools/regression/net80211/tkip/test_tkip.c
262
} else if (memcmp(ctx->tx_rc4key, t->phase2, t->phase2_len)) {
tools/regression/net80211/tkip/test_tkip.c
265
t->phase2, t->phase2_len);
tools/regression/net80211/tkip/test_tkip.c
267
} else if (m->m_pkthdr.len != t->encrypted_len) {
tools/regression/net80211/tkip/test_tkip.c
270
t->encrypted, t->encrypted_len);
tools/regression/net80211/tkip/test_tkip.c
272
} else if (memcmp(mtod(m, const void *), t->encrypted, m->m_pkthdr.len)) {
tools/regression/net80211/tkip/test_tkip.c
275
t->encrypted, t->encrypted_len);
tools/regression/net80211/tkip/test_tkip.c
276
dumpdata("Plaintext", t->plaintext, t->plaintext_len);
tools/regression/net80211/tkip/test_tkip.c
288
if (memcmp(ctx->rx_ttak, t->phase1, t->phase1_len)) {
tools/regression/net80211/tkip/test_tkip.c
291
t->phase1, t->phase1_len);
tools/regression/net80211/tkip/test_tkip.c
292
} else if (memcmp(ctx->rx_rc4key, t->phase2, t->phase2_len)) {
tools/regression/net80211/tkip/test_tkip.c
295
t->phase2, t->phase2_len);
tools/regression/net80211/tkip/test_tkip.c
299
t->plaintext, t->plaintext_len);
tools/regression/net80211/tkip/test_tkip.c
306
if (m->m_pkthdr.len != t->plaintext_len) {
tools/regression/net80211/tkip/test_tkip.c
309
t->plaintext, t->plaintext_len);
tools/regression/net80211/tkip/test_tkip.c
312
if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) {
tools/regression/net80211/tkip/test_tkip.c
315
t->plaintext, t->plaintext_len);
tools/regression/net80211/wep/test_wep.c
186
runtest(struct ieee80211vap *vap, struct ciphertest *t)
tools/regression/net80211/wep/test_wep.c
188
struct ieee80211_key *key = &vap->iv_nw_keys[t->keyix];
tools/regression/net80211/wep/test_wep.c
194
printf("%s: ", t->name);
tools/regression/net80211/wep/test_wep.c
202
if (!ieee80211_crypto_newkey(vap, t->cipher,
tools/regression/net80211/wep/test_wep.c
208
memcpy(key->wk_key, t->key, t->key_len);
tools/regression/net80211/wep/test_wep.c
209
key->wk_keylen = t->key_len;
tools/regression/net80211/wep/test_wep.c
220
memcpy(mtod(m, void *), t->encrypted, t->encrypted_len);
tools/regression/net80211/wep/test_wep.c
221
m->m_len = t->encrypted_len;
tools/regression/net80211/wep/test_wep.c
231
t->plaintext, t->plaintext_len);
tools/regression/net80211/wep/test_wep.c
237
if (m->m_pkthdr.len != t->plaintext_len) {
tools/regression/net80211/wep/test_wep.c
240
t->plaintext, t->plaintext_len);
tools/regression/net80211/wep/test_wep.c
242
} else if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) {
tools/regression/net80211/wep/test_wep.c
245
t->plaintext, t->plaintext_len);
tools/regression/net80211/wep/test_wep.c
255
memcpy(&ctx->wc_iv, t->iv, sizeof(t->iv)); /* for encap/encrypt */
tools/regression/net80211/wep/test_wep.c
263
if (m->m_pkthdr.len != t->encrypted_len) {
tools/regression/net80211/wep/test_wep.c
266
t->encrypted, t->encrypted_len);
tools/regression/net80211/wep/test_wep.c
268
} else if (memcmp(mtod(m, const void *), t->encrypted, m->m_pkthdr.len)) {
tools/regression/net80211/wep/test_wep.c
271
t->encrypted, t->encrypted_len);
tools/regression/net80211/wep/test_wep.c
272
dumpdata("Plaintext", t->plaintext, t->plaintext_len);
tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c
106
close(t);
tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c
113
if (write(t, buf, sizeof buf) == -1) {
tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c
114
close(t);
tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c
64
int o, s, t, u, do_t, do_u;
tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c
86
t = socket(AF_INET, SOCK_STREAM, 0);
tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c
87
if (t == -1)
tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c
89
if (connect(t, (struct sockaddr *) &sa, sizeof sa) == -1)
tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c
95
fcntl(t, F_SETFL, fcntl(t, F_GETFL) | O_NONBLOCK);
tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c
96
fcntl(u, F_SETFL, fcntl(t, F_GETFL) | O_NONBLOCK);
tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c
99
pfd[0].fd = t;
tools/regression/p1003_1b/main.c
14
const char *t;
tools/regression/p1003_1b/main.c
33
fprintf(stderr, "%s%s", (i)? " | " : "", tab[i].t);
tools/regression/p1003_1b/main.c
52
fprintf(stderr, "p1003_1b %s\n", tab[i].t);
tools/regression/p1003_1b/main.c
62
"%s failed\n", tab[i].t);
tools/regression/p1003_1b/main.c
74
if (strcmp(tab[i].t, argv[1]) == 0)
tools/regression/pthread/unwind/cond_wait_cancel.cpp
16
Test t;
tools/regression/pthread/unwind/cond_wait_cancel2.cpp
20
Test t;
tools/regression/pthread/unwind/sem_wait_cancel.cpp
15
Test t;
tools/regression/security/cap_test/cap_test.c
110
exit(t->t_run());
tools/regression/security/cap_test/cap_test.c
115
id, t->t_name);
tools/regression/security/cap_test/cap_test.c
94
execute(int id, struct test *t) {
tools/regression/sockets/so_setfib/so_setfib.c
193
t(i, j);
tools/test/pthread_vfork/pthread_vfork_test.c
77
int rc, t;
tools/test/pthread_vfork/pthread_vfork_test.c
89
for (t = 0; t < NUM_THREADS; t++) {
tools/test/pthread_vfork/pthread_vfork_test.c
90
rc = pthread_create(&threads[t], NULL, vfork_test, &t);
tools/test/stress2/lib/options.c
210
time_t t;
tools/test/stress2/lib/options.c
215
t = op->run_time;
tools/test/stress2/lib/options.c
216
days = t / (60 * 60 * 24);
tools/test/stress2/lib/options.c
217
t = t % (60 * 60 * 24);
tools/test/stress2/lib/options.c
218
strftime(buf, sizeof(buf), "%T", gmtime(&t));
tools/test/stress2/testcases/run/run.c
81
time_t t;
tools/test/stress2/testcases/run/run.c
89
(void)time(&t);
tools/test/stress2/testcases/run/run.c
90
tm = localtime(&t);
tools/tools/ath/athalq/ar5416_ds_tdma.c
361
struct if_ath_alq_tdma_beacon_state t;
tools/tools/ath/athalq/ar5416_ds_tdma.c
364
memcpy(&t, &a->payload, sizeof(t));
tools/tools/ath/athalq/ar5416_ds_tdma.c
369
(unsigned long long) be64toh(t.rx_tsf),
tools/tools/ath/athalq/ar5416_ds_tdma.c
370
(unsigned long long) be64toh(t.beacon_tsf),
tools/tools/ath/athalq/ar5416_ds_tdma.c
371
be64toh(t.beacon_tsf) - last_beacon_tx);
tools/tools/ath/athalq/ar5416_ds_tdma.c
373
last_beacon_tx = be64toh(t.beacon_tsf);
tools/tools/ath/athalq/ar5416_ds_tdma.c
379
struct if_ath_alq_tdma_timer_config t;
tools/tools/ath/athalq/ar5416_ds_tdma.c
381
memcpy(&t, &a->payload, sizeof(t));
tools/tools/ath/athalq/ar5416_ds_tdma.c
387
struct if_ath_alq_tdma_slot_calc t;
tools/tools/ath/athalq/ar5416_ds_tdma.c
389
memcpy(&t, &a->payload, sizeof(t));
tools/tools/ath/athalq/ar5416_ds_tdma.c
393
(unsigned long long) be64toh(t.nexttbtt),
tools/tools/ath/athalq/ar5416_ds_tdma.c
394
(unsigned long long) be64toh(t.next_slot),
tools/tools/ath/athalq/ar5416_ds_tdma.c
395
(int) be32toh(t.tsfdelta),
tools/tools/ath/athalq/ar5416_ds_tdma.c
396
(int) be32toh(t.avg_plus),
tools/tools/ath/athalq/ar5416_ds_tdma.c
397
(int) be32toh(t.avg_minus));
tools/tools/ath/athalq/ar5416_ds_tdma.c
403
struct if_ath_alq_tdma_tsf_adjust t;
tools/tools/ath/athalq/ar5416_ds_tdma.c
405
memcpy(&t, &a->payload, sizeof(t));
tools/tools/ath/athalq/ar5416_ds_tdma.c
409
(unsigned long long) be64toh(t.tsf64_old),
tools/tools/ath/athalq/ar5416_ds_tdma.c
410
(int) be32toh(t.tsfdelta),
tools/tools/ath/athalq/ar5416_ds_tdma.c
411
(unsigned long long) be64toh(t.tsf64_new));
tools/tools/ath/athalq/ar5416_ds_tdma.c
417
struct if_ath_alq_tdma_timer_set t;
tools/tools/ath/athalq/ar5416_ds_tdma.c
419
memcpy(&t, &a->payload, sizeof(t));
tools/tools/ath/athalq/ar5416_ds_tdma.c
423
be32toh(t.bt_intval),
tools/tools/ath/athalq/ar5416_ds_tdma.c
424
be32toh(t.bt_nexttbtt),
tools/tools/ath/athalq/ar5416_ds_tdma.c
425
be32toh(t.bt_nextdba),
tools/tools/ath/athalq/ar5416_ds_tdma.c
426
be32toh(t.bt_nextswba),
tools/tools/ath/athalq/ar5416_ds_tdma.c
427
be32toh(t.bt_nextatim),
tools/tools/ath/athalq/ar5416_ds_tdma.c
428
be32toh(t.bt_flags),
tools/tools/ath/athalq/ar5416_ds_tdma.c
429
be32toh(t.sc_tdmadbaprep),
tools/tools/ath/athalq/ar5416_ds_tdma.c
430
be32toh(t.sc_tdmaswbaprep));
tools/tools/ath/athalq/tdma.c
100
memcpy(&t, &a->payload, sizeof(t));
tools/tools/ath/athalq/tdma.c
107
be32toh(t.bt_intval),
tools/tools/ath/athalq/tdma.c
108
be32toh(t.bt_nexttbtt),
tools/tools/ath/athalq/tdma.c
109
be32toh(t.bt_nextdba),
tools/tools/ath/athalq/tdma.c
110
be32toh(t.bt_nextswba),
tools/tools/ath/athalq/tdma.c
111
be32toh(t.bt_nextatim),
tools/tools/ath/athalq/tdma.c
112
be32toh(t.bt_flags),
tools/tools/ath/athalq/tdma.c
113
be32toh(t.sc_tdmadbaprep),
tools/tools/ath/athalq/tdma.c
114
be32toh(t.sc_tdmaswbaprep));
tools/tools/ath/athalq/tdma.c
37
struct if_ath_alq_tdma_beacon_state t;
tools/tools/ath/athalq/tdma.c
40
memcpy(&t, &a->payload, sizeof(t));
tools/tools/ath/athalq/tdma.c
46
(unsigned long long) be64toh(t.rx_tsf),
tools/tools/ath/athalq/tdma.c
47
(unsigned long long) be64toh(t.beacon_tsf),
tools/tools/ath/athalq/tdma.c
48
be64toh(t.beacon_tsf) - last_beacon_tx);
tools/tools/ath/athalq/tdma.c
50
last_beacon_tx = be64toh(t.beacon_tsf);
tools/tools/ath/athalq/tdma.c
56
struct if_ath_alq_tdma_timer_config t;
tools/tools/ath/athalq/tdma.c
58
memcpy(&t, &a->payload, sizeof(t));
tools/tools/ath/athalq/tdma.c
64
struct if_ath_alq_tdma_slot_calc t;
tools/tools/ath/athalq/tdma.c
66
memcpy(&t, &a->payload, sizeof(t));
tools/tools/ath/athalq/tdma.c
72
(unsigned long long) be64toh(t.nexttbtt),
tools/tools/ath/athalq/tdma.c
73
(unsigned long long) be64toh(t.next_slot),
tools/tools/ath/athalq/tdma.c
74
(int) be32toh(t.tsfdelta),
tools/tools/ath/athalq/tdma.c
75
(int) be32toh(t.avg_plus),
tools/tools/ath/athalq/tdma.c
76
(int) be32toh(t.avg_minus));
tools/tools/ath/athalq/tdma.c
82
struct if_ath_alq_tdma_tsf_adjust t;
tools/tools/ath/athalq/tdma.c
84
memcpy(&t, &a->payload, sizeof(t));
tools/tools/ath/athalq/tdma.c
90
(unsigned long long) be64toh(t.tsf64_old),
tools/tools/ath/athalq/tdma.c
91
(int) be32toh(t.tsfdelta),
tools/tools/ath/athalq/tdma.c
92
(unsigned long long) be64toh(t.tsf64_new));
tools/tools/ath/athalq/tdma.c
98
struct if_ath_alq_tdma_timer_set t;
tools/tools/drm/radeon/mkregtable/mkregtable.c
576
static void table_offset_add(struct table *t, struct offset *offset)
tools/tools/drm/radeon/mkregtable/mkregtable.c
578
list_add_tail(&offset->list, &t->offsets);
tools/tools/drm/radeon/mkregtable/mkregtable.c
581
static void table_init(struct table *t)
tools/tools/drm/radeon/mkregtable/mkregtable.c
583
INIT_LIST_HEAD(&t->offsets);
tools/tools/drm/radeon/mkregtable/mkregtable.c
584
t->offset_max = 0;
tools/tools/drm/radeon/mkregtable/mkregtable.c
585
t->nentry = 0;
tools/tools/drm/radeon/mkregtable/mkregtable.c
586
t->table = NULL;
tools/tools/drm/radeon/mkregtable/mkregtable.c
589
static void table_print(struct table *t)
tools/tools/drm/radeon/mkregtable/mkregtable.c
593
nlloop = (t->nentry + 3) / 4;
tools/tools/drm/radeon/mkregtable/mkregtable.c
594
c = t->nentry;
tools/tools/drm/radeon/mkregtable/mkregtable.c
595
printf("static const unsigned %s_reg_safe_bm[%d] = {\n", t->gpu_prefix,
tools/tools/drm/radeon/mkregtable/mkregtable.c
596
t->nentry);
tools/tools/drm/radeon/mkregtable/mkregtable.c
607
printf("0x%08X,", t->table[id++]);
tools/tools/drm/radeon/mkregtable/mkregtable.c
614
static int table_build(struct table *t)
tools/tools/drm/radeon/mkregtable/mkregtable.c
619
t->nentry = ((t->offset_max >> 2) + 31) / 32;
tools/tools/drm/radeon/mkregtable/mkregtable.c
620
t->table = (unsigned *)malloc(sizeof(unsigned) * t->nentry);
tools/tools/drm/radeon/mkregtable/mkregtable.c
621
if (t->table == NULL)
tools/tools/drm/radeon/mkregtable/mkregtable.c
623
memset(t->table, 0xff, sizeof(unsigned) * t->nentry);
tools/tools/drm/radeon/mkregtable/mkregtable.c
624
list_for_each_entry(offset, &t->offsets, list) {
tools/tools/drm/radeon/mkregtable/mkregtable.c
628
t->table[i] ^= m;
tools/tools/drm/radeon/mkregtable/mkregtable.c
634
static int parser_auth(struct table *t, const char *filename)
tools/tools/drm/radeon/mkregtable/mkregtable.c
672
t->gpu_prefix = gpu_name;
tools/tools/drm/radeon/mkregtable/mkregtable.c
698
table_offset_add(t, offset);
tools/tools/drm/radeon/mkregtable/mkregtable.c
699
if (o > t->offset_max)
tools/tools/drm/radeon/mkregtable/mkregtable.c
700
t->offset_max = o;
tools/tools/drm/radeon/mkregtable/mkregtable.c
705
if (t->offset_max < last_reg)
tools/tools/drm/radeon/mkregtable/mkregtable.c
706
t->offset_max = last_reg;
tools/tools/drm/radeon/mkregtable/mkregtable.c
707
return table_build(t);
tools/tools/drm/radeon/mkregtable/mkregtable.c
712
struct table t;
tools/tools/drm/radeon/mkregtable/mkregtable.c
718
table_init(&t);
tools/tools/drm/radeon/mkregtable/mkregtable.c
719
if (parser_auth(&t, argv[1])) {
tools/tools/drm/radeon/mkregtable/mkregtable.c
723
table_print(&t);
tools/tools/ioat/ioatcontrol.c
100
(void)ioctl(fd, IOAT_DMATEST, t);
tools/tools/ioat/ioatcontrol.c
103
exit(prettyprint(t));
tools/tools/ioat/ioatcontrol.c
109
struct ioat_test t;
tools/tools/ioat/ioatcontrol.c
114
memset(&t, 0, sizeof(t));
tools/tools/ioat/ioatcontrol.c
122
t.coalesce_period = atoi(optarg);
tools/tools/ioat/ioatcontrol.c
145
t.raw_is_virtual = true;
tools/tools/ioat/ioatcontrol.c
148
t.verify = true;
tools/tools/ioat/ioatcontrol.c
151
t.raw_write = true;
tools/tools/ioat/ioatcontrol.c
162
t.zero_stats = true;
tools/tools/ioat/ioatcontrol.c
180
t.buffer_size = 256 * 1024;
tools/tools/ioat/ioatcontrol.c
181
t.chain_depth = 2;
tools/tools/ioat/ioatcontrol.c
182
t.duration = 0;
tools/tools/ioat/ioatcontrol.c
183
t.testkind = IOAT_TEST_DMA;
tools/tools/ioat/ioatcontrol.c
186
t.testkind = IOAT_TEST_FILL;
tools/tools/ioat/ioatcontrol.c
188
t.testkind = IOAT_TEST_DMA_8K;
tools/tools/ioat/ioatcontrol.c
189
t.buffer_size = 8 * 1024;
tools/tools/ioat/ioatcontrol.c
191
t.testkind = IOAT_TEST_MEMCPY;
tools/tools/ioat/ioatcontrol.c
193
t.testkind = IOAT_TEST_DMA_CRC;
tools/tools/ioat/ioatcontrol.c
195
t.testkind = IOAT_TEST_DMA_CRC_COPY;
tools/tools/ioat/ioatcontrol.c
197
t.channel_index = atoi(argv[0]);
tools/tools/ioat/ioatcontrol.c
198
if (t.channel_index > 8) {
tools/tools/ioat/ioatcontrol.c
204
main_raw(&t, argc, argv);
tools/tools/ioat/ioatcontrol.c
208
t.transactions = atoi(argv[1]);
tools/tools/ioat/ioatcontrol.c
211
t.buffer_size = atoi(argv[2]);
tools/tools/ioat/ioatcontrol.c
212
if (t.buffer_size == 0) {
tools/tools/ioat/ioatcontrol.c
219
t.chain_depth = atoi(argv[3]);
tools/tools/ioat/ioatcontrol.c
220
if (t.chain_depth < 1) {
tools/tools/ioat/ioatcontrol.c
227
t.duration = atoi(argv[4]);
tools/tools/ioat/ioatcontrol.c
228
if (t.duration < 1) {
tools/tools/ioat/ioatcontrol.c
240
(void)ioctl(fd, IOAT_DMATEST, &t);
tools/tools/ioat/ioatcontrol.c
243
return (prettyprint(&t));
tools/tools/ioat/ioatcontrol.c
247
prettyprint(struct ioat_test *t)
tools/tools/ioat/ioatcontrol.c
252
if (t->status[IOAT_TEST_NO_DMA_ENGINE] != 0 ||
tools/tools/ioat/ioatcontrol.c
253
t->status[IOAT_TEST_NO_MEMORY] != 0 ||
tools/tools/ioat/ioatcontrol.c
254
t->status[IOAT_TEST_MISCOMPARE] != 0) {
tools/tools/ioat/ioatcontrol.c
256
if (t->status[IOAT_TEST_NO_DMA_ENGINE] != 0)
tools/tools/ioat/ioatcontrol.c
258
(unsigned)t->status[IOAT_TEST_NO_DMA_ENGINE]);
tools/tools/ioat/ioatcontrol.c
259
if (t->status[IOAT_TEST_NO_MEMORY] != 0)
tools/tools/ioat/ioatcontrol.c
261
(unsigned)t->status[IOAT_TEST_NO_MEMORY]);
tools/tools/ioat/ioatcontrol.c
262
if (t->status[IOAT_TEST_MISCOMPARE] != 0)
tools/tools/ioat/ioatcontrol.c
264
(unsigned)t->status[IOAT_TEST_MISCOMPARE]);
tools/tools/ioat/ioatcontrol.c
267
printf("Processed %u txns\n", (unsigned)t->status[IOAT_TEST_OK] /
tools/tools/ioat/ioatcontrol.c
268
t->chain_depth);
tools/tools/ioat/ioatcontrol.c
269
bytes = (uintmax_t)t->buffer_size * t->status[IOAT_TEST_OK];
tools/tools/ioat/ioatcontrol.c
273
if (t->duration) {
tools/tools/ioat/ioatcontrol.c
275
(int64_t)1000 * bytes / t->duration, "B/s", HN_AUTOSCALE,
tools/tools/ioat/ioatcontrol.c
278
(unsigned)t->duration, bps);
tools/tools/ioat/ioatcontrol.c
70
main_raw(struct ioat_test *t, int argc, char **argv)
tools/tools/ioat/ioatcontrol.c
75
t->testkind = IOAT_TEST_RAW_DMA;
tools/tools/ioat/ioatcontrol.c
76
t->transactions = 1;
tools/tools/ioat/ioatcontrol.c
77
t->chain_depth = 1;
tools/tools/ioat/ioatcontrol.c
78
t->buffer_size = 4 * 1024;
tools/tools/ioat/ioatcontrol.c
80
t->raw_target = strtoull(argv[1], NULL, 0);
tools/tools/ioat/ioatcontrol.c
81
if (t->raw_target == 0) {
tools/tools/ioat/ioatcontrol.c
87
t->buffer_size = atoi(argv[2]);
tools/tools/ioat/ioatcontrol.c
88
if (t->buffer_size == 0) {
tools/tools/net80211/stumbler/stumbler.c
210
struct tm* t;
tools/tools/net80211/stumbler/stumbler.c
213
t = localtime( (time_t*) &node->seen.tv_sec);
tools/tools/net80211/stumbler/stumbler.c
214
if (!t) {
tools/tools/net80211/stumbler/stumbler.c
219
strftime(tim, sizeof(tim), "%H:%M:%S", t);
tools/tools/net80211/wesside/wesside/wesside.c
237
struct tm *t;
tools/tools/net80211/wesside/wesside/wesside.c
250
t = localtime(&tt);
tools/tools/net80211/wesside/wesside/wesside.c
251
if (!t) {
tools/tools/net80211/wesside/wesside/wesside.c
257
t->tm_hour, t->tm_min, t->tm_sec, lame);
tools/tools/netmap/ctrs.h
12
struct timeval t;
tools/tools/netmap/lb.c
240
cur.t = counters_buf.ts;
tools/tools/netmap/lb.c
241
if (prev.t.tv_sec || prev.t.tv_usec) {
tools/tools/netmap/lb.c
242
usec = (cur.t.tv_sec - prev.t.tv_sec) * 1000000 +
tools/tools/netmap/lb.c
243
cur.t.tv_usec - prev.t.tv_usec;
tools/tools/netmap/lb.c
285
"}", cur.t.tv_sec + (cur.t.tv_usec / 1000000.0),
tools/tools/netmap/lb.c
327
"}", cur.t.tv_sec + (cur.t.tv_usec / 1000000.0),
tools/tools/netmap/lb.c
465
int i, j, t = 0;
tools/tools/netmap/lb.c
469
g->ports = &ports[t];
tools/tools/netmap/lb.c
472
t += g->nports;
tools/tools/netmap/lb.c
801
int j, t = 0;
tools/tools/netmap/lb.c
840
struct overflow_queue *q = &oq[t + k];
tools/tools/netmap/lb.c
852
t += g->nports;
tools/tools/netmap/nmreplay.c
1440
constant,t constant delay equal to t
tools/tools/netmap/nmreplay.c
1560
uint64_t i, d_av, d_min, *t; /*table of values */
tools/tools/netmap/nmreplay.c
1576
t = (uint64_t *)dst->arg;
tools/tools/netmap/nmreplay.c
1580
t[i] = (uint64_t)d;
tools/tools/netmap/nmreplay.c
1589
uint64_t *t = (uint64_t *)arg->arg;
tools/tools/netmap/nmreplay.c
1590
q->cur_delay = t[my_random24() & (PTS_D_EXP - 1)];
tools/tools/netmap/nmreplay.c
679
struct timespec t;
tools/tools/netmap/nmreplay.c
681
clock_gettime(CLOCK_REALTIME, &t); // XXX precise on FreeBSD ?
tools/tools/netmap/nmreplay.c
682
*now = (uint64_t)(t.tv_nsec + NS_IN_S * t.tv_sec);
tools/tools/netmap/pkt-gen.c
1000
update_addresses(struct pkt *pkt, struct targ *t)
tools/tools/netmap/pkt-gen.c
1003
if (t->g->af == AF_INET)
tools/tools/netmap/pkt-gen.c
1004
update_ip(pkt, t);
tools/tools/netmap/pkt-gen.c
1006
update_ip6(pkt, t);
tools/tools/netmap/pkt-gen.c
1077
update_size(struct pkt *pkt, struct targ *t, int size)
tools/tools/netmap/pkt-gen.c
1079
if (t->g->options & OPT_UPDATE_CSUM) {
tools/tools/netmap/pkt-gen.c
1080
if (t->g->af == AF_INET)
tools/tools/netmap/pkt-gen.c
1261
int size, struct targ *t, u_int count, int options)
tools/tools/netmap/pkt-gen.c
1264
u_int frags = t->frags;
tools/tools/netmap/pkt-gen.c
1265
u_int frag_size = t->frag_size;
tools/tools/netmap/pkt-gen.c
1316
update_addresses(pkt, t);
tools/tools/netmap/pkt-gen.c
1322
update_addresses(pkt, t);
tools/tools/netmap/pkt-gen.c
2151
uint16_t *w = (uint16_t *)PKT(pkt, body, targ->g->af), t;
tools/tools/netmap/pkt-gen.c
2156
t = *w;
tools/tools/netmap/pkt-gen.c
2159
sum = ~cksum_add(~sum, cksum_add(~t, *w));
tools/tools/netmap/pkt-gen.c
2160
t = *++w;
tools/tools/netmap/pkt-gen.c
2163
sum = ~cksum_add(~sum, cksum_add(~t, *w));
tools/tools/netmap/pkt-gen.c
2622
struct targ *t;
tools/tools/netmap/pkt-gen.c
2629
t = &targs[i];
tools/tools/netmap/pkt-gen.c
2631
bzero(t, sizeof(*t));
tools/tools/netmap/pkt-gen.c
2632
t->fd = -1; /* default, with pcap */
tools/tools/netmap/pkt-gen.c
2633
t->g = g;
tools/tools/netmap/pkt-gen.c
2634
memcpy(t->seed, &seed, sizeof(t->seed));
tools/tools/netmap/pkt-gen.c
2654
t->nmd = nmport_clone(g->nmd);
tools/tools/netmap/pkt-gen.c
2655
if (t->nmd == NULL)
tools/tools/netmap/pkt-gen.c
2661
t->nmd->reg.nr_mode = NR_REG_ONE_SW;
tools/tools/netmap/pkt-gen.c
2664
t->nmd->reg.nr_ringid = j & NETMAP_RING_MASK;
tools/tools/netmap/pkt-gen.c
2667
t->nmd->reg.nr_flags |= NETMAP_NO_TX_POLL;
tools/tools/netmap/pkt-gen.c
2670
if (nmport_open_desc(t->nmd) < 0) {
tools/tools/netmap/pkt-gen.c
2671
nmport_undo_prepare(t->nmd);
tools/tools/netmap/pkt-gen.c
2672
t->nmd = NULL;
tools/tools/netmap/pkt-gen.c
2676
t->nmd = g->nmd;
tools/tools/netmap/pkt-gen.c
2678
t->fd = t->nmd->fd;
tools/tools/netmap/pkt-gen.c
2679
t->frags = g->frags;
tools/tools/netmap/pkt-gen.c
2683
t->used = 1;
tools/tools/netmap/pkt-gen.c
2684
t->me = i;
tools/tools/netmap/pkt-gen.c
2686
t->affinity = (g->affinity + i) % g->cpus;
tools/tools/netmap/pkt-gen.c
2688
t->affinity = -1;
tools/tools/netmap/pkt-gen.c
2691
initialize_packet(t);
tools/tools/netmap/pkt-gen.c
2699
t = &targs[i];
tools/tools/netmap/pkt-gen.c
2700
if (pthread_create(&t->thread, NULL, g->td_body, t) == -1) {
tools/tools/netmap/pkt-gen.c
2702
t->used = 0;
tools/tools/netmap/pkt-gen.c
2718
gettimeofday(&prev.t, NULL);
tools/tools/netmap/pkt-gen.c
2726
usec = wait_for_next_report(&prev.t, &cur.t,
tools/tools/netmap/pkt-gen.c
829
update_ip(struct pkt *pkt, struct targ *t)
tools/tools/netmap/pkt-gen.c
831
struct glob_arg *g = t->g;
tools/tools/netmap/pkt-gen.c
845
ip.ip_src.s_addr = nrand48(t->seed);
tools/tools/netmap/pkt-gen.c
846
udp.uh_sport = nrand48(t->seed);
tools/tools/netmap/pkt-gen.c
874
ip.ip_dst.s_addr = nrand48(t->seed);
tools/tools/netmap/pkt-gen.c
875
udp.uh_dport = nrand48(t->seed);
tools/tools/netmap/pkt-gen.c
915
update_ip6(struct pkt *pkt, struct targ *t)
tools/tools/netmap/pkt-gen.c
917
struct glob_arg *g = t->g;
tools/tools/netmap/pkt-gen.c
933
ip6.ip6_src.s6_addr16[group] = nrand48(t->seed);
tools/tools/netmap/pkt-gen.c
934
udp.uh_sport = nrand48(t->seed);
tools/tools/netmap/pkt-gen.c
965
ip6.ip6_dst.s6_addr16[group] = nrand48(t->seed);
tools/tools/netmap/pkt-gen.c
966
udp.uh_dport = nrand48(t->seed);
tools/tools/netrate/netreceive/netreceive.c
101
struct td_desc *t = data;
tools/tools/netrate/netreceive/netreceive.c
105
fds.fd = t->fd;
tools/tools/netrate/netreceive/netreceive.c
114
y = recv(t->fd, t->buf, t->buflen, MSG_DONTWAIT);
tools/tools/netrate/netreceive/netreceive.c
117
t->count++;
tools/tools/netrate/netreceive/netreceive.c
118
t->byte_count += y;
tools/tools/sortbench/sort_bench.c
156
run_bench(enum sort s, enum test t, int runs, int elts)
tools/tools/sortbench/sort_bench.c
159
switch (t) {
tools/tools/sortbench/sort_bench.c
249
enum test t = parse_test(argv[2]);
tools/tools/sortbench/sort_bench.c
250
if (t == INVALID_TEST)
tools/tools/sortbench/sort_bench.c
256
run_bench(s, t, runs, elts);
tools/tools/vhba/mptest/vhba_mptest.c
379
struct timeval t;
tools/tools/vhba/mptest/vhba_mptest.c
382
t.tv_sec = 0;
tools/tools/vhba/mptest/vhba_mptest.c
383
t.tv_usec = (500 + arc4random());
tools/tools/vhba/mptest/vhba_mptest.c
384
if (t.tv_usec > 10000) {
tools/tools/vhba/mptest/vhba_mptest.c
385
t.tv_usec = 10000;
tools/tools/vhba/mptest/vhba_mptest.c
387
ticks = tvtohz(&t);
usr.bin/at/at.c
646
struct tm *t;
usr.bin/at/at.c
655
if ((t = localtime(&now)) == NULL)
usr.bin/at/at.c
659
t->tm_sec = 0; /* Seconds defaults to 0. */
usr.bin/at/at.c
664
t->tm_sec = ATOI2(p);
usr.bin/at/at.c
670
t->tm_year = ATOI2(arg);
usr.bin/at/at.c
671
t->tm_year *= 100;
usr.bin/at/at.c
677
t->tm_year += yearset;
usr.bin/at/at.c
680
t->tm_year = yearset + 2000;
usr.bin/at/at.c
682
t->tm_year -= 1900; /* Convert to UNIX time. */
usr.bin/at/at.c
685
t->tm_mon = ATOI2(arg);
usr.bin/at/at.c
686
--t->tm_mon; /* Convert from 01-12 to 00-11 */
usr.bin/at/at.c
687
t->tm_mday = ATOI2(arg);
usr.bin/at/at.c
688
t->tm_hour = ATOI2(arg);
usr.bin/at/at.c
689
t->tm_min = ATOI2(arg);
usr.bin/at/at.c
695
t->tm_isdst = -1; /* Figure out DST. */
usr.bin/at/at.c
696
tv[0].tv_sec = tv[1].tv_sec = mktime(t);
usr.bin/calendar/calendar.c
150
time_t t;
usr.bin/calendar/calendar.c
155
time(&t);
usr.bin/calendar/calendar.c
156
localtime_r(&t, &tm);
usr.bin/calendar/dates.c
104
time_t t;
usr.bin/calendar/dates.c
113
t = mktime(&td);
usr.bin/calendar/dates.c
114
localtime_r(&t, &td);
usr.bin/calendar/day.c
104
(int)mktime(&tm), (int)t, asctime(&tm));
usr.bin/calendar/day.c
77
time_t t;
usr.bin/calendar/day.c
81
(void)time(&t);
usr.bin/calendar/day.c
82
localtime_r(&t, &tp);
usr.bin/calendar/pom.c
152
t = potm_minute(days_today - 1, olddir) +
usr.bin/calendar/pom.c
155
*pfnms = d - 1 + t;
usr.bin/calendar/pom.c
158
*pffms = d - 1 + t;
usr.bin/calendar/pom.c
98
double *pfnms, *pffms, t;
usr.bin/cap_mkdb/cap_mkdb.c
151
char *bp, *p, *t;
usr.bin/cap_mkdb/cap_mkdb.c
217
for (p = t = bp;; ++p) {
usr.bin/cap_mkdb/cap_mkdb.c
218
if (p > t && (*p == ':' || *p == '|')) {
usr.bin/cap_mkdb/cap_mkdb.c
219
key.size = p - t;
usr.bin/cap_mkdb/cap_mkdb.c
220
key.data = t;
usr.bin/cap_mkdb/cap_mkdb.c
230
t = p + 1;
usr.bin/chat/chat.c
483
term_parms t;
usr.bin/chat/chat.c
485
if (get_term_param (&t) < 0)
usr.bin/chat/chat.c
488
saved_tty_parameters = t;
usr.bin/chat/chat.c
491
t.c_iflag |= IGNBRK | ISTRIP | IGNPAR;
usr.bin/chat/chat.c
492
t.c_oflag = 0;
usr.bin/chat/chat.c
493
t.c_lflag = 0;
usr.bin/chat/chat.c
494
t.c_cc[VERASE] =
usr.bin/chat/chat.c
495
t.c_cc[VKILL] = 0;
usr.bin/chat/chat.c
496
t.c_cc[VMIN] = 1;
usr.bin/chat/chat.c
497
t.c_cc[VTIME] = 0;
usr.bin/chat/chat.c
499
if (set_term_param (&t) < 0)
usr.bin/chpass/util.c
102
if (!strncasecmp(*mp, t, 3)) {
usr.bin/chpass/util.c
108
if (!(t = strtok(NULL, " \t,")) || !isdigit(*t))
usr.bin/chpass/util.c
110
day = atoi(t);
usr.bin/chpass/util.c
111
if (!(t = strtok(NULL, " \t,")) || !isdigit(*t))
usr.bin/chpass/util.c
113
year = atoi(t);
usr.bin/chpass/util.c
80
char *t;
usr.bin/chpass/util.c
94
if (!(t = strtok(p, " \t")))
usr.bin/chpass/util.c
96
if (isdigit(*t)) {
usr.bin/chpass/util.c
97
month = atoi(t);
usr.bin/column/column.c
227
TBL *t;
usr.bin/column/column.c
235
if ((t = tbl = calloc(entries, sizeof(TBL))) == NULL)
usr.bin/column/column.c
241
for (cnt = 0, lp = list; cnt < entries; ++cnt, ++lp, ++t) {
usr.bin/column/column.c
267
if ((t->list = calloc(coloff, sizeof(*t->list))) == NULL)
usr.bin/column/column.c
269
if ((t->len = calloc(coloff, sizeof(int))) == NULL)
usr.bin/column/column.c
271
for (t->cols = coloff; --coloff >= 0;) {
usr.bin/column/column.c
272
t->list[coloff] = cols[coloff];
usr.bin/column/column.c
273
t->len[coloff] = width(cols[coloff]);
usr.bin/column/column.c
274
if (t->len[coloff] > lens[coloff])
usr.bin/column/column.c
275
lens[coloff] = t->len[coloff];
usr.bin/column/column.c
278
for (cnt = 0, t = tbl; cnt < entries; ++cnt, ++t) {
usr.bin/column/column.c
279
for (coloff = 0; coloff < t->cols - 1; ++coloff)
usr.bin/column/column.c
280
(void)wprintf(L"%ls%*ls", t->list[coloff],
usr.bin/column/column.c
281
lens[coloff] - t->len[coloff] + 2, L" ");
usr.bin/column/column.c
282
(void)wprintf(L"%ls\n", t->list[coloff]);
usr.bin/column/column.c
283
free(t->list);
usr.bin/column/column.c
284
free(t->len);
usr.bin/ctags/C.c
462
skip_comment(int t) /* t is comment character */
usr.bin/ctags/C.c
474
if (star && t == '*')
usr.bin/ctags/C.c
479
if (t == '/')
usr.bin/diff/diffreg.c
1394
int i, t, space;
usr.bin/diff/diffreg.c
1400
switch (t = getc(f)) {
usr.bin/diff/diffreg.c
1407
t = getc(f);
usr.bin/diff/diffreg.c
1408
if (t == '\n')
usr.bin/diff/diffreg.c
1410
ungetc(t, f);
usr.bin/diff/diffreg.c
1428
sum = sum * 127 + chrtran(t);
usr.bin/diff/diffreg.c
704
int i, j, l, t;
usr.bin/diff/diffreg.c
714
t = clist[c[l]].y;
usr.bin/diff/diffreg.c
715
if (t > y)
usr.bin/diff/diffreg.c
717
else if (t < y)
usr.bin/dtc/dtb.hh
166
inline void write_token(token_type t)
usr.bin/dtc/dtb.hh
168
write_comment(token_type_name(t));
usr.bin/dtc/dtb.hh
169
write_data((uint32_t)t);
usr.bin/dtc/dtb.hh
94
inline const char *token_type_name(token_type t)
usr.bin/dtc/dtb.hh
96
switch(t)
usr.bin/find/printf.c
119
fp_ctime(FILE *fp, time_t t)
usr.bin/find/printf.c
123
ctime_r(&t, s);
usr.bin/find/printf.c
136
fp_strftime(FILE *fp, time_t t, char mod)
usr.bin/find/printf.c
147
fprintf(fp, "%ju", (uintmax_t)t);
usr.bin/find/printf.c
151
gmtime_r(&t, &tm);
usr.bin/finger/lprint.c
170
strftime(t, sizeof(t),
usr.bin/finger/lprint.c
173
cpr = printf("On since %s on %s", t, w->tty);
usr.bin/finger/lprint.c
203
strftime(t, sizeof(t),
usr.bin/finger/lprint.c
208
strftime(t, sizeof(t),
usr.bin/finger/lprint.c
213
cpr = printf("Last login %s on %s", t, w->tty);
usr.bin/finger/lprint.c
226
strftime(t, sizeof(t),
usr.bin/finger/lprint.c
230
printf("New mail received %s\n", t);
usr.bin/finger/lprint.c
232
strftime(t, sizeof(t),
usr.bin/finger/lprint.c
236
printf(" Unread since %s\n", t);
usr.bin/finger/lprint.c
239
strftime(t, sizeof(t),
usr.bin/finger/lprint.c
243
printf("Mail last read %s\n", t);
usr.bin/finger/lprint.c
99
char t[80];
usr.bin/finger/util.c
319
char *p, *t;
usr.bin/finger/util.c
342
for (t = name; t < &name[sizeof(name) - 1] && (*t = *p) != '\0'; ++p) {
usr.bin/finger/util.c
343
if (*t == '&') {
usr.bin/finger/util.c
344
(void)strncpy(t, pw->pw_name,
usr.bin/finger/util.c
345
sizeof(name) - (t - name));
usr.bin/finger/util.c
347
if (islower(*t))
usr.bin/finger/util.c
348
*t = toupper(*t);
usr.bin/finger/util.c
349
while (t < &name[sizeof(name) - 1] && *++t)
usr.bin/finger/util.c
352
++t;
usr.bin/finger/util.c
355
*t = '\0';
usr.bin/finger/util.c
60
char *p, *t;
usr.bin/finger/util.c
79
for (t = name; t < &name[sizeof(name) - 1] && (*t = *p) != '\0'; ++p) {
usr.bin/finger/util.c
80
if (*t == '&') {
usr.bin/finger/util.c
81
(void)strncpy(t, pw->pw_name,
usr.bin/finger/util.c
82
sizeof(name) - (t - name));
usr.bin/finger/util.c
84
while (t < &name[sizeof(name) - 1] && *++t)
usr.bin/finger/util.c
87
++t;
usr.bin/finger/util.c
90
*t = '\0';
usr.bin/finger/util.c
91
for (t = name; (p = strtok(t, "\t ")) != NULL; t = NULL)
usr.bin/fmt/fmt.c
201
char *t;
usr.bin/fmt/fmt.c
202
long result = strtol(s, &t, 0);
usr.bin/fmt/fmt.c
204
if (*t) {
usr.bin/fmt/fmt.c
219
char *t;
usr.bin/fmt/fmt.c
220
long result = strtol(s, &t, 0);
usr.bin/fmt/fmt.c
222
if (*t) {
usr.bin/from/from.c
141
const char *p, *t;
usr.bin/from/from.c
150
for (p = sender, t = line;;) {
usr.bin/from/from.c
153
ch = tolower(*t);
usr.bin/from/from.c
154
t++;
usr.bin/grdc/grdc.c
200
for(j=0,t=1<<26; t; t>>=1,j++) {
usr.bin/grdc/grdc.c
201
if(a&t) {
usr.bin/grdc/grdc.c
202
if(!(a&(t<<1))) {
usr.bin/grdc/grdc.c
250
set(int t, int n)
usr.bin/grdc/grdc.c
256
next[i] |= ((disp[t]>>(4-i)*3)&07)<<n;
usr.bin/grdc/grdc.c
62
long t, a;
usr.bin/indent/io.c
236
int t = paren_target;
usr.bin/indent/io.c
238
if ((w = count_spaces(t, s_code) - opt.max_col) > 0
usr.bin/indent/io.c
240
t -= w + 1;
usr.bin/indent/io.c
241
if (t > target_col)
usr.bin/indent/io.c
242
target_col = t;
usr.bin/indent/io.c
245
target_col = t;
usr.bin/indent/pr_comment.c
186
char *t = e_com;
usr.bin/indent/pr_comment.c
192
e_com = s_com = t;
usr.bin/ipcs/ipcs.c
88
cvt_time(time_t t, char *buf)
usr.bin/ipcs/ipcs.c
92
if (t == 0) {
usr.bin/ipcs/ipcs.c
95
tm = localtime(&t);
usr.bin/join/join.c
572
char **p, *ap, *t;
usr.bin/join/join.c
640
if ((t = malloc(len + 3)) == NULL)
usr.bin/join/join.c
642
t[0] = '-';
usr.bin/join/join.c
643
t[1] = 'o';
usr.bin/join/join.c
644
memmove(t + 2, *p, len + 1);
usr.bin/join/join.c
645
*p = t;
usr.bin/jot/jot.c
266
long t = (ender - begin + s) / s;
usr.bin/jot/jot.c
267
if (t <= 0)
usr.bin/jot/jot.c
269
if (t < reps) /* take lesser */
usr.bin/jot/jot.c
270
reps = t;
usr.bin/last/last.c
224
time_t t;
usr.bin/last/last.c
229
(void)time(&t);
usr.bin/last/last.c
241
if (t > ut->ut_tv.tv_sec)
usr.bin/last/last.c
242
t = ut->ut_tv.tv_sec;
usr.bin/last/last.c
252
tm = localtime(&t);
usr.bin/last/last.c
255
xo_attr("seconds", "%lu", (unsigned long) t);
usr.bin/last/last.c
347
time_t t;
usr.bin/last/last.c
355
t = bp->ut_tv.tv_sec;
usr.bin/last/last.c
356
tm = localtime(&t);
usr.bin/last/last.c
378
xo_attr("seconds", "%lu", (unsigned long)t);
usr.bin/last/last.c
530
struct tm *t;
usr.bin/last/last.c
537
if ((t = localtime(&timet)) == NULL)
usr.bin/last/last.c
542
t->tm_sec = 0; /* Seconds defaults to 0. */
usr.bin/last/last.c
547
t->tm_sec = ATOI2(p);
usr.bin/last/last.c
553
t->tm_year = ATOI2(arg);
usr.bin/last/last.c
554
t->tm_year *= 100;
usr.bin/last/last.c
560
t->tm_year += yearset;
usr.bin/last/last.c
564
t->tm_year = yearset + 2000;
usr.bin/last/last.c
566
t->tm_year = yearset + 1900;
usr.bin/last/last.c
568
t->tm_year -= 1900; /* Convert to UNIX time. */
usr.bin/last/last.c
571
t->tm_mon = ATOI2(arg);
usr.bin/last/last.c
572
--t->tm_mon; /* Convert from 01-12 to 00-11 */
usr.bin/last/last.c
573
t->tm_mday = ATOI2(arg);
usr.bin/last/last.c
574
t->tm_hour = ATOI2(arg);
usr.bin/last/last.c
575
t->tm_min = ATOI2(arg);
usr.bin/last/last.c
578
t->tm_hour = ATOI2(arg);
usr.bin/last/last.c
579
t->tm_min = ATOI2(arg);
usr.bin/last/last.c
584
t->tm_isdst = -1; /* Figure out DST. */
usr.bin/last/last.c
585
timet = mktime(t);
usr.bin/lastcomm/lastcomm.c
187
t = ab.ac_btime;
usr.bin/lastcomm/lastcomm.c
188
t += (time_t)(ab.ac_etime / 1000000);
usr.bin/lastcomm/lastcomm.c
191
localtime(&t));
usr.bin/lastcomm/lastcomm.c
194
(void)printf(" %.19s", ctime(&t));
usr.bin/lastcomm/lastcomm.c
72
time_t t;
usr.bin/leave/leave.c
102
t = localtime(&now);
usr.bin/leave/leave.c
112
if (t->tm_hour > 11)
usr.bin/leave/leave.c
113
t_12_hour = t->tm_hour - 12;
usr.bin/leave/leave.c
115
t_12_hour = t->tm_hour;
usr.bin/leave/leave.c
118
(hours == t_12_hour && minutes <= t->tm_min))
usr.bin/leave/leave.c
123
secs += (minutes - t->tm_min) * 60;
usr.bin/leave/leave.c
58
struct tm *t;
usr.bin/localedef/collate.c
1103
type *t; \
usr.bin/localedef/collate.c
1105
RB_FOREACH(t, name, head) { \
usr.bin/login/login.c
931
struct ttyent *t;
usr.bin/login/login.c
934
t = getttynam(ttyid);
usr.bin/login/login.c
935
if (t != NULL && t->ty_type != NULL)
usr.bin/login/login.c
936
return (t->ty_type);
usr.bin/m4/eval.c
526
const char *t;
usr.bin/m4/eval.c
531
t = argv[0]; /* defn string as a whole */
usr.bin/m4/eval.c
532
p = t;
usr.bin/m4/eval.c
536
while (p > t) {
usr.bin/m4/eval.c
589
if (p == t) /* do last character */
usr.bin/m4/main.c
324
do_look_ahead(int t, const char *token)
usr.bin/m4/main.c
328
assert((unsigned char)t == (unsigned char)token[0]);
usr.bin/m4/main.c
331
t = gpbc();
usr.bin/m4/main.c
332
if (t == EOF || (unsigned char)t != (unsigned char)*token) {
usr.bin/m4/main.c
333
pushback(t);
usr.bin/m4/main.c
342
#define LOOK_AHEAD(t, token) (t != EOF && \
usr.bin/m4/main.c
343
(unsigned char)(t)==(unsigned char)(token)[0] && \
usr.bin/m4/main.c
344
do_look_ahead(t,token))
usr.bin/m4/main.c
353
int t, l;
usr.bin/m4/main.c
358
t = gpbc();
usr.bin/m4/main.c
360
if (LOOK_AHEAD(t,lquote)) { /* strip quotes */
usr.bin/m4/main.c
392
} else if (sp < 0 && LOOK_AHEAD(t, scommt)) {
usr.bin/m4/main.c
396
t = gpbc();
usr.bin/m4/main.c
397
if (LOOK_AHEAD(t, ecommt)) {
usr.bin/m4/main.c
401
if (t == EOF)
usr.bin/m4/main.c
403
reallyputchar(t);
usr.bin/m4/main.c
405
} else if (t == '_' || isalpha(t)) {
usr.bin/m4/main.c
406
p = inspect(t, token);
usr.bin/m4/main.c
442
} else if (t == EOF) {
usr.bin/m4/main.c
456
reallyputchar(t); /* output directly.. */
usr.bin/m4/main.c
459
else switch(t) {
usr.bin/m4/main.c
463
chrsave(t);
usr.bin/m4/main.c
473
chrsave(t);
usr.bin/m4/main.c
497
chrsave(t);
usr.bin/m4/main.c
501
if (LOOK_AHEAD(t, scommt)) {
usr.bin/m4/main.c
506
t = gpbc();
usr.bin/m4/main.c
507
if (LOOK_AHEAD(t, ecommt)) {
usr.bin/m4/main.c
512
if (t == EOF)
usr.bin/m4/main.c
514
CHRSAVE(t);
usr.bin/m4/main.c
517
CHRSAVE(t); /* stack the char */
usr.bin/m4/main.c
626
record(struct position *t, int lev)
usr.bin/m4/main.c
629
t[lev].name = CURRENT_NAME;
usr.bin/m4/main.c
630
t[lev].line = CURRENT_LINE;
usr.bin/m4/main.c
635
dump_stack(struct position *t, int lev)
usr.bin/m4/main.c
645
t[i].name, t[i].line);
usr.bin/m4/misc.c
73
char *t;
usr.bin/m4/misc.c
75
t = strstr(s1, s2);
usr.bin/m4/misc.c
76
if (t == NULL)
usr.bin/m4/misc.c
79
return (t - s1);
usr.bin/mail/collect.c
117
t = GTO|GSUBJECT|GCC|GNL;
usr.bin/mail/collect.c
121
t &= ~GNL, getsub++;
usr.bin/mail/collect.c
123
puthead(hp, stdout, t);
usr.bin/mail/collect.c
391
if ((t = putline(collf, linebuf,
usr.bin/mail/collect.c
396
cc += t;
usr.bin/mail/collect.c
435
while ((t = getc(fbuf)) != EOF)
usr.bin/mail/collect.c
436
(void)putchar(t);
usr.bin/mail/collect.c
447
while ((t = getc(collf)) != EOF)
usr.bin/mail/collect.c
448
(void)putchar(t);
usr.bin/mail/collect.c
70
int lc, cc, escape, eofcount, fd, c, t;
usr.bin/mail/edit.c
133
int t;
usr.bin/mail/edit.c
140
if ((t = mkstemp(tempname)) == -1 ||
usr.bin/mail/edit.c
141
(nf = Fdopen(t, "w")) == NULL) {
usr.bin/mail/edit.c
145
if (readonly && fchmod(t, 0400) == -1) {
usr.bin/mail/edit.c
151
while (--size >= 0 && (t = getc(fp)) != EOF)
usr.bin/mail/edit.c
152
(void)putc(t, nf);
usr.bin/mail/edit.c
154
while ((t = getc(fp)) != EOF)
usr.bin/mail/edit.c
155
(void)putc(t, nf);
usr.bin/mail/names.c
100
t->n_blink = np;
usr.bin/mail/names.c
101
np = t;
usr.bin/mail/names.c
549
int t, extra, metoo, verbose;
usr.bin/mail/names.c
552
if ((t = count(n)) == 0)
usr.bin/mail/names.c
568
top = (char **)salloc((t + extra) * sizeof(*top));
usr.bin/mail/names.c
591
struct name *np, *t, *new;
usr.bin/mail/names.c
603
t = new;
usr.bin/mail/names.c
604
while (strcasecmp(t->n_name, np->n_name) < 0) {
usr.bin/mail/names.c
605
if (t->n_flink == NULL)
usr.bin/mail/names.c
607
t = t->n_flink;
usr.bin/mail/names.c
615
if (strcasecmp(t->n_name, np->n_name) < 0) {
usr.bin/mail/names.c
616
t->n_flink = np;
usr.bin/mail/names.c
617
np->n_blink = t;
usr.bin/mail/names.c
618
t = np;
usr.bin/mail/names.c
620
t->n_flink = NULL;
usr.bin/mail/names.c
630
if (t == new) {
usr.bin/mail/names.c
631
t = np;
usr.bin/mail/names.c
633
t->n_flink = new;
usr.bin/mail/names.c
634
new->n_blink = t;
usr.bin/mail/names.c
635
t->n_blink = NULL;
usr.bin/mail/names.c
636
new = t;
usr.bin/mail/names.c
647
x->n_flink = t;
usr.bin/mail/names.c
648
x->n_blink = t->n_blink;
usr.bin/mail/names.c
649
t->n_blink->n_flink = x;
usr.bin/mail/names.c
650
t->n_blink = x;
usr.bin/mail/names.c
660
t = np;
usr.bin/mail/names.c
661
while (t->n_flink != NULL &&
usr.bin/mail/names.c
662
strcasecmp(np->n_name, t->n_flink->n_name) == 0)
usr.bin/mail/names.c
663
t = t->n_flink;
usr.bin/mail/names.c
664
if (t == np || t == NULL) {
usr.bin/mail/names.c
674
np->n_flink = t->n_flink;
usr.bin/mail/names.c
675
if (t->n_flink != NULL)
usr.bin/mail/names.c
676
t->n_flink->n_blink = np;
usr.bin/mail/names.c
85
struct name *top, *np, *t;
usr.bin/mail/names.c
95
t = nalloc(nbuf, ntype);
usr.bin/mail/names.c
97
top = t;
usr.bin/mail/names.c
99
np->n_flink = t;
usr.bin/mail/send.c
359
char **t;
usr.bin/mail/send.c
362
for (t = namelist; *t != NULL; t++)
usr.bin/mail/send.c
363
printf(" \"%s\"", *t);
usr.bin/mail/strings.c
56
char *t;
usr.bin/mail/strings.c
81
t = sp->s_nextFree;
usr.bin/mail/strings.c
83
return (t);
usr.bin/ministat/ministat.c
250
double spool, s, d, e, t;
usr.bin/ministat/ministat.c
256
t = student[0][confidx];
usr.bin/ministat/ministat.c
258
t = student[z][confidx];
usr.bin/ministat/ministat.c
264
e = t * s;
usr.bin/ministat/ministat.c
269
re = t * sqrt(re);
usr.bin/ministat/ministat.c
486
char buf[BUFSIZ], *p, *t;
usr.bin/ministat/ministat.c
502
for (i = 1, t = strtok(buf, delim);
usr.bin/ministat/ministat.c
503
t != NULL && *t != '#';
usr.bin/ministat/ministat.c
504
i++, t = strtok(NULL, delim)) {
usr.bin/ministat/ministat.c
508
if (t == NULL || *t == '#')
usr.bin/ministat/ministat.c
511
d = strtod(t, &p);
usr.bin/ministat/ministat.c
514
t, line, n);
usr.bin/mkimg/vhd.c
190
time_t t;
usr.bin/mkimg/vhd.c
193
t = timestamp != (time_t)-1 ? timestamp : time(NULL);
usr.bin/mkimg/vhd.c
194
return (t - 0x386d4380);
usr.bin/msgs/msgs.c
120
static time_t t;
usr.bin/msgs/msgs.c
161
time(&t);
usr.bin/msgs/msgs.c
255
keep = t - (rcback? rcback : NDAYS) DAYS;
usr.bin/msgs/msgs.c
348
nextmsg, ptr, ctime(&t));
usr.bin/msgs/msgs.c
354
ptr, ctime(&t), inbuf);
usr.bin/ncal/ncal.c
1065
center(char *s, char *t, int w)
usr.bin/ncal/ncal.c
1070
sprintf(s, "%.*s%s", (int)(w - strlen(t)) / 2, blanks, t);
usr.bin/ncal/ncal.c
1076
wcenter(wchar_t *s, wchar_t *t, int w)
usr.bin/ncal/ncal.c
1081
swprintf(s, MAX_WIDTH, L"%.*s%ls", (int)(w - wcslen(t)) / 2, blanks, t);
usr.bin/ncal/ncal.c
168
static char *center(char *s, char *t, int w);
usr.bin/ncal/ncal.c
169
static wchar_t *wcenter(wchar_t *s, wchar_t *t, int w);
usr.bin/ncal/ncal.c
381
time_t t;
usr.bin/ncal/ncal.c
384
t = time(NULL);
usr.bin/ncal/ncal.c
385
tm = localtime(&t);
usr.bin/ncal/ncal.c
485
time_t t;
usr.bin/ncal/ncal.c
488
t = time(NULL);
usr.bin/ncal/ncal.c
489
tm1 = localtime(&t);
usr.bin/ncal/ncal.c
596
char s[MAX_WIDTH], t[MAX_WIDTH];
usr.bin/ncal/ncal.c
642
printf("%s\n", center(t, s, mpl * mw));
usr.bin/ncal/ncal.c
689
char s[MAX_WIDTH], t[MAX_WIDTH];
usr.bin/ncal/ncal.c
732
printf("%s\n", center(t, s, mpl * mw));
usr.bin/netstat/ipsec.c
263
#define hist(f, n, t, c) \
usr.bin/netstat/ipsec.c
264
ipsec_hist_new((f), sizeof(f)/sizeof(f[0]), (n), (t), (c))
usr.bin/netstat/ipsec.c
322
#define hist(f, n, t, c) \
usr.bin/netstat/ipsec.c
323
ipsec_hist_new((f), sizeof(f)/sizeof(f[0]), (n), (t), (c));
usr.bin/netstat/ipsec.c
383
#define hist(f, n, t, c) \
usr.bin/netstat/ipsec.c
384
ipsec_hist_new((f), sizeof(f)/sizeof(f[0]), (n), (t), (c));
usr.bin/patch/pch.c
1453
char *t;
usr.bin/patch/pch.c
1474
for (t = buf; isdigit((unsigned char)*t) || *t == ','; t++)
usr.bin/patch/pch.c
1478
(*t == 'a' || *t == 'c' || *t == 'd' || *t == 'i' || *t == 's')) {
usr.bin/patch/pch.c
1481
if (*t == 's') {
usr.bin/patch/pch.c
1484
t = strchr(buf, '\0') - 1;
usr.bin/patch/pch.c
1485
while (--t >= buf && *t == '\\')
usr.bin/patch/pch.c
1493
} else if (*t != 'd') {
usr.bin/patch/pch.c
247
char *t, *h;
usr.bin/patch/pch.c
254
for (t = str, h = NULL; *t != '\0' && !isspace((unsigned char)*t); t++)
usr.bin/patch/pch.c
255
if (*t == '#')
usr.bin/patch/pch.c
256
h = t;
usr.bin/patch/pch.c
273
char *s, *t;
usr.bin/patch/pch.c
309
for (t = s; isdigit((unsigned char)*t) || *t == ','; t++)
usr.bin/patch/pch.c
312
(*t == 'd' || *t == 'c' || *t == 'a'));
usr.bin/patch/pch.c
340
for (t = s + 7; isspace((unsigned char)*t); t++)
usr.bin/patch/pch.c
342
revision = xstrdup(t);
usr.bin/patch/pch.c
343
for (t = revision;
usr.bin/patch/pch.c
344
*t && !isspace((unsigned char)*t); t++)
usr.bin/patch/pch.c
346
*t = '\0';
usr.bin/patch/pch.c
356
if ((t = strstr(s + 5, " - ")) != NULL)
usr.bin/patch/pch.c
357
p4_fetchname(&names[NEW_FILE], t + 3);
usr.bin/patch/util.c
355
char *fullname, *name, *t;
usr.bin/patch/util.c
372
name = fullname = t = savestr(at);
usr.bin/patch/util.c
374
tab = strchr(t, '\t') != NULL;
usr.bin/patch/util.c
376
for (sleading = strip_leading; *t != '\0' && ((tab && *t != '\t') ||
usr.bin/patch/util.c
377
!isspace((unsigned char)*t)); t++) {
usr.bin/patch/util.c
378
if (t[0] == '/' && t[1] != '/' && t[1] != '\0')
usr.bin/patch/util.c
380
name = t + 1;
usr.bin/patch/util.c
382
*t = '\0';
usr.bin/quota/quota.c
383
time_t t;
usr.bin/quota/quota.c
402
t = qup->dqblk.dqb_btime;
usr.bin/quota/quota.c
403
printf(" %s", ctime(&t));
usr.bin/quota/quota.c
409
t = qup->dqblk.dqb_itime;
usr.bin/quota/quota.c
410
printf(" %s", ctime(&t));
usr.bin/rev/rev.c
49
wchar_t *p, *t;
usr.bin/rev/rev.c
82
for (t = p + len - 1; t >= p; --t)
usr.bin/rev/rev.c
83
putwchar(*t);
usr.bin/rpcgen/rpc_main.c
266
char *dupvar, *t, *word;
usr.bin/rpcgen/rpc_main.c
280
for (s = var, t = dupvar; *s; ++s) {
usr.bin/rpcgen/rpc_main.c
289
*t++ = '\0';
usr.bin/rpcgen/rpc_main.c
296
word = t;
usr.bin/rpcgen/rpc_main.c
301
word = t;
usr.bin/rpcgen/rpc_main.c
318
word = t;
usr.bin/rpcgen/rpc_main.c
319
*t++ = *s;
usr.bin/rpcgen/rpc_main.c
331
*t++ = *s;
usr.bin/rpcgen/rpc_main.c
360
*t++ = *s;
usr.bin/rpcgen/rpc_main.c
370
*t++ = '\0';
usr.bin/rusers/rusers.c
123
time_t t = _int_to_time(up->utmpidlearr_val[x].ui_utmp.ut_time);
usr.bin/rusers/rusers.c
124
strncpy(date, &(ctime(&t)[4]), sizeof(date) - 1);
usr.bin/rwho/rwho.c
179
time_t t;
usr.bin/rwho/rwho.c
181
t = _int_to_time(mp->myutmp.out_time);
usr.bin/rwho/rwho.c
183
localtime(&t));
usr.bin/sed/compile.c
1015
for (h = 0, p = (u_char *)cp->t; (c = *p) != 0; p++)
usr.bin/sed/compile.c
1019
if (lh->lh_hash == h && strcmp(cp->t, lh->lh_cmd->t) == 0)
usr.bin/sed/compile.c
1020
errx(1, "%lu: %s: duplicate label '%s'", linenum, fname, cp->t);
usr.bin/sed/compile.c
1044
if (lh->lh_hash == h && strcmp(name, lh->lh_cmd->t) == 0) {
usr.bin/sed/compile.c
1067
linenum, fname, lh->lh_cmd->t);
usr.bin/sed/compile.c
272
cmd->t = compile_text();
usr.bin/sed/compile.c
281
cmd->t = duptoeol(p, "w command");
usr.bin/sed/compile.c
295
cmd->t = duptoeol(p, "read command");
usr.bin/sed/compile.c
301
cmd->t = NULL;
usr.bin/sed/compile.c
303
cmd->t = duptoeol(p, "branch");
usr.bin/sed/compile.c
308
cmd->t = duptoeol(p, "label");
usr.bin/sed/compile.c
488
compile_ccl(char **sp, char *t)
usr.bin/sed/compile.c
493
*t++ = *s++;
usr.bin/sed/compile.c
495
*t++ = *s++;
usr.bin/sed/compile.c
497
*t++ = *s++;
usr.bin/sed/compile.c
498
for (; *s && (*t = *s) != ']'; s++, t++) {
usr.bin/sed/compile.c
500
*++t = *++s, t++, s++;
usr.bin/sed/compile.c
501
for (c = *s; (*t = *s) != ']' || c != d; s++, t++)
usr.bin/sed/compile.c
507
*t = '\n';
usr.bin/sed/compile.c
511
*t = '\r';
usr.bin/sed/compile.c
515
*t = '\t';
usr.bin/sed/compile.c
519
if (dohex(&s[2], t, &hexlen))
usr.bin/sed/compile.c
525
return (*s == ']') ? *sp = ++s, ++t : NULL;
usr.bin/sed/compile.c
990
if (cp->t == NULL) {
usr.bin/sed/compile.c
994
if ((cp->u.c = findlabel(cp->t)) == NULL)
usr.bin/sed/compile.c
995
errx(1, "%lu: %s: undefined label '%s'", linenum, fname, cp->t);
usr.bin/sed/compile.c
996
free(cp->t);
usr.bin/sed/defs.h
95
char *t; /* Text for : a c i r w */
usr.bin/sed/process.c
125
appends[appendx].s = cp->t;
usr.bin/sed/process.c
126
appends[appendx].len = strlen(cp->t);
usr.bin/sed/process.c
136
(void)fprintf(outfile, "%s", cp->t);
usr.bin/sed/process.c
168
(void)fprintf(outfile, "%s", cp->t);
usr.bin/sed/process.c
223
appends[appendx].s = cp->t;
usr.bin/sed/process.c
224
appends[appendx].len = strlen(cp->t);
usr.bin/sed/process.c
240
if (cp->u.fd == -1 && (cp->u.fd = open(cp->t,
usr.bin/sed/process.c
243
err(1, "%s", cp->t);
usr.bin/sed/process.c
246
err(1, "%s", cp->t);
usr.bin/sed/process.c
777
err(1, "%s", cp->t);
usr.bin/stat/stat.c
404
int nl, t, i;
usr.bin/stat/stat.c
566
t = format1(st,
usr.bin/stat/stat.c
572
for (i = 0; i < t && i < (int)(sizeof(buf) - 1); i++)
usr.bin/systat/cmds.c
102
if (t > 0) {
usr.bin/systat/cmds.c
103
delay = (unsigned int)t;
usr.bin/systat/cmds.c
50
double t;
usr.bin/systat/cmds.c
88
t = strtod(tmpstr1, NULL) * 1000000.0;
usr.bin/systat/cmds.c
89
if (t > 0 && t < (double)UINT_MAX)
usr.bin/systat/cmds.c
90
delay = (unsigned int)t;
usr.bin/systat/cmds.c
91
if ((t <= 0 || t > (double)UINT_MAX) &&
usr.bin/systat/cmds.c
95
t = strtod(cp, NULL) * 1000000.0;
usr.bin/systat/cmds.c
96
if (t <= 0 || t >= (double)UINT_MAX) {
usr.bin/systat/cmds.c
97
error("%d: bad interval.", (int)t);
usr.bin/systat/ifstat.c
382
char *p = matchline, *ch, t;
usr.bin/systat/ifstat.c
395
t = *p;
usr.bin/systat/ifstat.c
399
*p = t;
usr.bin/systat/ifstat.c
402
*p = t;
usr.bin/systat/iostat.c
247
long t;
usr.bin/systat/iostat.c
250
#define X(fld) t = cur_dev.fld[i]; cur_dev.fld[i] -= last_dev.fld[i]; last_dev.fld[i] = t
usr.bin/systat/main.c
103
t = strtod(argv[0], NULL) * 1000000.0;
usr.bin/systat/main.c
104
if (t > 0 && t < (double)UINT_MAX)
usr.bin/systat/main.c
105
delay = (unsigned int)t;
usr.bin/systat/main.c
82
double t;
usr.bin/systat/vmstat.c
137
static time_t t;
usr.bin/systat/vmstat.c
360
#define X(fld) {t=s.fld[i]; s.fld[i]-=s1.fld[i]; if(state==TIME) s1.fld[i]=t;}
usr.bin/systat/vmstat.c
361
#define Q(fld) {t=cur_dev.fld[i]; cur_dev.fld[i]-=last_dev.fld[i]; if(state==TIME) last_dev.fld[i]=t;}
usr.bin/systat/vmstat.c
362
#define Y(fld) {t = s.fld; s.fld -= s1.fld; if(state == TIME) s1.fld = t;}
usr.bin/systat/vmstat.c
363
#define Z(fld) {t = s.nchstats.fld; s.nchstats.fld -= s1.nchstats.fld; \
usr.bin/systat/vmstat.c
364
if(state == TIME) s1.nchstats.fld = t;}
usr.bin/tail/read.c
107
WR(t + 1, len);
usr.bin/tail/read.c
67
char *ep, *p, *t;
usr.bin/tail/read.c
88
for (t = p - 1, len = 0; t >= sp; --t, ++len)
usr.bin/tail/read.c
89
if (*t == '\n' && len) {
usr.bin/tail/read.c
90
WR(t + 1, len);
usr.bin/tail/read.c
95
for (t = ep - 1, len = 0; t >= p; --t, ++len)
usr.bin/tail/read.c
96
if (*t == '\n') {
usr.bin/tail/read.c
98
WR(t + 1, len);
usr.bin/tail/tail.c
281
char *ap, *p, *t;
usr.bin/tail/tail.c
309
t = *argv + len - 1;
usr.bin/tail/tail.c
310
if (*t == 'F' || *t == 'f' || *t == 'r') {
usr.bin/tail/tail.c
311
*p++ = *t;
usr.bin/tail/tail.c
312
*t-- = '\0';
usr.bin/tail/tail.c
314
switch(*t) {
usr.bin/tail/tail.c
317
*t = '\0';
usr.bin/tail/tail.c
321
*t = '\0';
usr.bin/tail/tail.c
324
*t = '\0';
usr.bin/tftp/main.c
617
int t;
usr.bin/tftp/main.c
630
t = atoi(argv[1]);
usr.bin/tftp/main.c
631
if (t < 0) {
usr.bin/tftp/main.c
636
settimeouts(t, timeoutnetwork, maxtimeouts);
usr.bin/tftp/main.c
644
int t;
usr.bin/tftp/main.c
657
t = atoi(argv[1]);
usr.bin/tftp/main.c
658
if (t < 0) {
usr.bin/tftp/main.c
663
settimeouts(timeoutpacket, t, maxtimeouts);
usr.bin/tip/tip/log.c
48
time_t t;
usr.bin/tip/tip/log.c
62
t = time(0);
usr.bin/tip/tip/log.c
63
timestamp = ctime(&t);
usr.bin/top/display.c
966
display_header(int t)
usr.bin/top/display.c
969
if (t)
usr.bin/top/display.h
13
void display_header(int t);
usr.bin/touch/touch.c
212
struct tm *t;
usr.bin/touch/touch.c
217
if ((t = localtime(&now)) == NULL)
usr.bin/touch/touch.c
221
t->tm_sec = 0; /* Seconds defaults to 0. */
usr.bin/touch/touch.c
226
t->tm_sec = ATOI2(p);
usr.bin/touch/touch.c
232
t->tm_year = ATOI2(arg);
usr.bin/touch/touch.c
233
t->tm_year *= 100;
usr.bin/touch/touch.c
239
t->tm_year += yearset;
usr.bin/touch/touch.c
243
t->tm_year = yearset + 2000;
usr.bin/touch/touch.c
245
t->tm_year = yearset + 1900;
usr.bin/touch/touch.c
247
t->tm_year -= 1900; /* Convert to UNIX time. */
usr.bin/touch/touch.c
250
t->tm_mon = ATOI2(arg);
usr.bin/touch/touch.c
251
--t->tm_mon; /* Convert from 01-12 to 00-11 */
usr.bin/touch/touch.c
252
t->tm_mday = ATOI2(arg);
usr.bin/touch/touch.c
253
t->tm_hour = ATOI2(arg);
usr.bin/touch/touch.c
254
t->tm_min = ATOI2(arg);
usr.bin/touch/touch.c
260
t->tm_isdst = -1; /* Figure out DST. */
usr.bin/touch/touch.c
261
t->tm_yday = -1;
usr.bin/touch/touch.c
262
tvp[0].tv_sec = tvp[1].tv_sec = mktime(t);
usr.bin/touch/touch.c
263
if (t->tm_yday == -1)
usr.bin/touch/touch.c
278
struct tm *t;
usr.bin/touch/touch.c
281
if ((t = localtime(&now)) == NULL)
usr.bin/touch/touch.c
284
t->tm_mon = ATOI2(arg); /* MMDDhhmm[yy] */
usr.bin/touch/touch.c
285
--t->tm_mon; /* Convert from 01-12 to 00-11 */
usr.bin/touch/touch.c
286
t->tm_mday = ATOI2(arg);
usr.bin/touch/touch.c
287
t->tm_hour = ATOI2(arg);
usr.bin/touch/touch.c
288
t->tm_min = ATOI2(arg);
usr.bin/touch/touch.c
290
t->tm_year = ATOI2(arg);
usr.bin/touch/touch.c
291
if (t->tm_year < 39) /* support 2000-2038 not 1902-1969 */
usr.bin/touch/touch.c
292
t->tm_year += 100;
usr.bin/touch/touch.c
295
t->tm_isdst = -1; /* Figure out DST. */
usr.bin/touch/touch.c
296
t->tm_yday = -1;
usr.bin/touch/touch.c
297
tvp[0].tv_sec = tvp[1].tv_sec = mktime(t);
usr.bin/touch/touch.c
298
if (t->tm_yday == -1)
usr.bin/touch/touch.c
308
struct tm t = { .tm_sec = 0 };
usr.bin/touch/touch.c
314
t.tm_isdst = -1;
usr.bin/touch/touch.c
320
p = strptime(arg, fmt, &t);
usr.bin/touch/touch.c
340
t.tm_yday = -1;
usr.bin/touch/touch.c
341
tvp[0].tv_sec = isutc ? timegm(&t) : mktime(&t);
usr.bin/touch/touch.c
342
if (t.tm_yday == -1)
usr.bin/tr/cmap.c
165
cmap_splay(struct cmapnode *t, wint_t ch)
usr.bin/tr/cmap.c
173
assert(t != NULL);
usr.bin/tr/cmap.c
178
if (ch < t->cmn_from) {
usr.bin/tr/cmap.c
179
if (t->cmn_left != NULL &&
usr.bin/tr/cmap.c
180
ch < t->cmn_left->cmn_from) {
usr.bin/tr/cmap.c
181
y = t->cmn_left;
usr.bin/tr/cmap.c
182
t->cmn_left = y->cmn_right;
usr.bin/tr/cmap.c
183
y->cmn_right = t;
usr.bin/tr/cmap.c
184
t = y;
usr.bin/tr/cmap.c
186
if (t->cmn_left == NULL)
usr.bin/tr/cmap.c
188
r->cmn_left = t;
usr.bin/tr/cmap.c
189
r = t;
usr.bin/tr/cmap.c
190
t = t->cmn_left;
usr.bin/tr/cmap.c
191
} else if (ch > t->cmn_from) {
usr.bin/tr/cmap.c
192
if (t->cmn_right != NULL &&
usr.bin/tr/cmap.c
193
ch > t->cmn_right->cmn_from) {
usr.bin/tr/cmap.c
194
y = t->cmn_right;
usr.bin/tr/cmap.c
195
t->cmn_right = y->cmn_left;
usr.bin/tr/cmap.c
196
y->cmn_left = t;
usr.bin/tr/cmap.c
197
t = y;
usr.bin/tr/cmap.c
199
if (t->cmn_right == NULL)
usr.bin/tr/cmap.c
201
l->cmn_right = t;
usr.bin/tr/cmap.c
202
l = t;
usr.bin/tr/cmap.c
203
t = t->cmn_right;
usr.bin/tr/cmap.c
207
l->cmn_right = t->cmn_left;
usr.bin/tr/cmap.c
208
r->cmn_left = t->cmn_right;
usr.bin/tr/cmap.c
209
t->cmn_left = N.cmn_right;
usr.bin/tr/cmap.c
210
t->cmn_right = N.cmn_left;
usr.bin/tr/cmap.c
211
return (t);
usr.bin/tr/cset.c
214
cset_rangecmp(struct csnode *t, wchar_t ch)
usr.bin/tr/cset.c
217
if (ch < t->csn_min)
usr.bin/tr/cset.c
219
if (ch > t->csn_max)
usr.bin/tr/cset.c
225
cset_splay(struct csnode *t, wchar_t ch)
usr.bin/tr/cset.c
233
assert(t != NULL);
usr.bin/tr/cset.c
238
if (cset_rangecmp(t, ch) < 0) {
usr.bin/tr/cset.c
239
if (t->csn_left != NULL &&
usr.bin/tr/cset.c
240
cset_rangecmp(t->csn_left, ch) < 0) {
usr.bin/tr/cset.c
241
y = t->csn_left;
usr.bin/tr/cset.c
242
t->csn_left = y->csn_right;
usr.bin/tr/cset.c
243
y->csn_right = t;
usr.bin/tr/cset.c
244
t = y;
usr.bin/tr/cset.c
246
if (t->csn_left == NULL)
usr.bin/tr/cset.c
248
r->csn_left = t;
usr.bin/tr/cset.c
249
r = t;
usr.bin/tr/cset.c
250
t = t->csn_left;
usr.bin/tr/cset.c
251
} else if (cset_rangecmp(t, ch) > 0) {
usr.bin/tr/cset.c
252
if (t->csn_right != NULL &&
usr.bin/tr/cset.c
253
cset_rangecmp(t->csn_right, ch) > 0) {
usr.bin/tr/cset.c
254
y = t->csn_right;
usr.bin/tr/cset.c
255
t->csn_right = y->csn_left;
usr.bin/tr/cset.c
256
y->csn_left = t;
usr.bin/tr/cset.c
257
t = y;
usr.bin/tr/cset.c
259
if (t->csn_right == NULL)
usr.bin/tr/cset.c
261
l->csn_right = t;
usr.bin/tr/cset.c
262
l = t;
usr.bin/tr/cset.c
263
t = t->csn_right;
usr.bin/tr/cset.c
267
l->csn_right = t->csn_left;
usr.bin/tr/cset.c
268
r->csn_left = t->csn_right;
usr.bin/tr/cset.c
269
t->csn_left = N.csn_right;
usr.bin/tr/cset.c
270
t->csn_right = N.csn_left;
usr.bin/tr/cset.c
271
return (t);
usr.bin/tr/cset.c
275
cset_delete(struct csnode *t, wchar_t ch)
usr.bin/tr/cset.c
279
assert(t != NULL);
usr.bin/tr/cset.c
280
t = cset_splay(t, ch);
usr.bin/tr/cset.c
281
assert(cset_rangecmp(t, ch) == 0);
usr.bin/tr/cset.c
282
if (t->csn_left == NULL)
usr.bin/tr/cset.c
283
x = t->csn_right;
usr.bin/tr/cset.c
285
x = cset_splay(t->csn_left, ch);
usr.bin/tr/cset.c
286
x->csn_right = t->csn_right;
usr.bin/tr/cset.c
288
free(t);
usr.bin/truss/setup.c
285
free_thread(struct threadinfo *t)
usr.bin/truss/setup.c
288
LIST_REMOVE(t, entries);
usr.bin/truss/setup.c
289
free(t);
usr.bin/truss/setup.c
296
struct threadinfo *t;
usr.bin/truss/setup.c
309
t = new_thread(p, lwps[i]);
usr.bin/truss/setup.c
313
info->curthread = t;
usr.bin/truss/setup.c
314
enter_syscall(info, t, &pl);
usr.bin/truss/setup.c
355
struct threadinfo *t, *t2;
usr.bin/truss/setup.c
358
LIST_FOREACH_SAFE(t, &p->threadlist, entries, t2) {
usr.bin/truss/setup.c
359
free(t);
usr.bin/truss/setup.c
433
alloc_syscall(struct threadinfo *t, struct ptrace_lwpinfo *pl)
usr.bin/truss/setup.c
437
assert(t->in_syscall == 0);
usr.bin/truss/setup.c
438
assert(t->cs.number == 0);
usr.bin/truss/setup.c
439
assert(t->cs.sc == NULL);
usr.bin/truss/setup.c
440
assert(t->cs.nargs == 0);
usr.bin/truss/setup.c
441
for (i = 0; i < nitems(t->cs.s_args); i++)
usr.bin/truss/setup.c
442
assert(t->cs.s_args[i] == NULL);
usr.bin/truss/setup.c
443
memset(t->cs.args, 0, sizeof(t->cs.args));
usr.bin/truss/setup.c
444
t->cs.number = pl->pl_syscall_code;
usr.bin/truss/setup.c
445
t->in_syscall = 1;
usr.bin/truss/setup.c
449
free_syscall(struct threadinfo *t)
usr.bin/truss/setup.c
453
for (i = 0; i < t->cs.nargs; i++)
usr.bin/truss/setup.c
454
free(t->cs.s_args[i]);
usr.bin/truss/setup.c
455
memset(&t->cs, 0, sizeof(t->cs));
usr.bin/truss/setup.c
456
t->in_syscall = 0;
usr.bin/truss/setup.c
460
enter_syscall(struct trussinfo *info, struct threadinfo *t,
usr.bin/truss/setup.c
466
alloc_syscall(t, pl);
usr.bin/truss/setup.c
467
narg = MIN(pl->pl_syscall_narg, nitems(t->cs.args));
usr.bin/truss/setup.c
468
if (narg != 0 && ptrace(PT_GET_SC_ARGS, t->tid, (caddr_t)t->cs.args,
usr.bin/truss/setup.c
469
sizeof(t->cs.args)) != 0) {
usr.bin/truss/setup.c
470
free_syscall(t);
usr.bin/truss/setup.c
474
sc = get_syscall(t, t->cs.number, narg);
usr.bin/truss/setup.c
477
t->proc->abi->type, t->cs.number);
usr.bin/truss/setup.c
479
t->cs.nargs = sc->decode.nargs;
usr.bin/truss/setup.c
480
assert(sc->decode.nargs <= nitems(t->cs.s_args));
usr.bin/truss/setup.c
482
t->cs.sc = sc;
usr.bin/truss/setup.c
494
for (i = 0; i < t->cs.nargs; i++) {
usr.bin/truss/setup.c
497
t->cs.args[sc->decode.args[i].offset],
usr.bin/truss/setup.c
498
i < (t->cs.nargs - 1) ? "," : "");
usr.bin/truss/setup.c
501
t->cs.s_args[i] = print_arg(&sc->decode.args[i],
usr.bin/truss/setup.c
502
t->cs.args, NULL, info, &sc->decode);
usr.bin/truss/setup.c
509
clock_gettime(CLOCK_REALTIME, &t->before);
usr.bin/truss/setup.c
522
struct threadinfo *t;
usr.bin/truss/setup.c
524
t = info->curthread;
usr.bin/truss/setup.c
525
if (!t->in_syscall)
usr.bin/truss/setup.c
528
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
531
free_syscall(t);
usr.bin/truss/setup.c
537
struct threadinfo *t;
usr.bin/truss/setup.c
543
t = info->curthread;
usr.bin/truss/setup.c
544
if (!t->in_syscall)
usr.bin/truss/setup.c
547
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
548
p = t->proc;
usr.bin/truss/setup.c
549
if (ptrace(PT_GET_SC_RET, t->tid, (caddr_t)&psr, sizeof(psr)) != 0) {
usr.bin/truss/setup.c
550
free_syscall(t);
usr.bin/truss/setup.c
554
sc = t->cs.sc;
usr.bin/truss/setup.c
569
(long)t->cs.args[sc->decode.args[i].offset]);
usr.bin/truss/setup.c
572
t->cs.args, psr.sr_retval, info,
usr.bin/truss/setup.c
575
t->cs.s_args[i] = temp;
usr.bin/truss/setup.c
589
f->domain = (int)t->cs.args[0];
usr.bin/truss/setup.c
590
f->protocol = (int)t->cs.args[2];
usr.bin/truss/setup.c
601
if (f->fd == (int)t->cs.args[0]) {
usr.bin/truss/setup.c
609
free_syscall(t);
usr.bin/truss/setup.c
630
struct threadinfo *t;
usr.bin/truss/setup.c
634
t = info->curthread;
usr.bin/truss/setup.c
637
len += fprintf(info->outfile, "%5d", t->proc->pid);
usr.bin/truss/setup.c
642
len += fprintf(info->outfile, "%6d", t->tid);
usr.bin/truss/setup.c
646
timespecsub(&t->after, &info->start_time, &timediff);
usr.bin/truss/setup.c
651
timespecsub(&t->after, &t->before, &timediff);
usr.bin/truss/setup.c
661
struct threadinfo *t;
usr.bin/truss/setup.c
663
t = info->curthread;
usr.bin/truss/setup.c
664
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
666
fprintf(info->outfile, "<thread %ld exited>\n", (long)t->tid);
usr.bin/truss/setup.c
672
struct threadinfo *t;
usr.bin/truss/setup.c
674
t = info->curthread;
usr.bin/truss/setup.c
675
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
676
t->before = t->after;
usr.bin/truss/setup.c
678
fprintf(info->outfile, "<new thread %ld>\n", (long)t->tid);
usr.bin/truss/setup.c
684
struct threadinfo *t;
usr.bin/truss/setup.c
686
t = info->curthread;
usr.bin/truss/setup.c
687
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
701
struct threadinfo *t;
usr.bin/truss/setup.c
703
t = info->curthread;
usr.bin/truss/setup.c
704
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
705
t->before = t->after;
usr.bin/truss/setup.c
767
struct threadinfo *t;
usr.bin/truss/setup.c
770
t = info->curthread;
usr.bin/truss/setup.c
771
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/syscall.h
255
#define PAD_(t) (sizeof(syscallarg_t) <= sizeof(t) ? \
usr.bin/truss/syscall.h
256
0 : sizeof(syscallarg_t) - sizeof(t))
usr.bin/truss/syscall.h
259
#define PADL_(t) 0
usr.bin/truss/syscall.h
260
#define PADR_(t) PAD_(t)
usr.bin/truss/syscall.h
262
#define PADL_(t) PAD_(t)
usr.bin/truss/syscall.h
263
#define PADR_(t) 0
usr.bin/truss/syscalls.c
2810
struct threadinfo *t;
usr.bin/truss/syscalls.c
2815
t = trussinfo->curthread;
usr.bin/truss/syscalls.c
2817
name = t->cs.sc->name;
usr.bin/truss/syscalls.c
2818
nargs = t->cs.nargs;
usr.bin/truss/syscalls.c
2819
s_args = t->cs.s_args;
usr.bin/truss/syscalls.c
2842
struct threadinfo *t;
usr.bin/truss/syscalls.c
2845
t = trussinfo->curthread;
usr.bin/truss/syscalls.c
2846
sc = t->cs.sc;
usr.bin/truss/syscalls.c
2848
timespecsub(&t->after, &t->before, &timediff);
usr.bin/truss/syscalls.c
2874
sysdecode_freebsd_to_abi_errno(t->proc->abi->abi, error),
usr.bin/truss/syscalls.c
2877
t->proc->abi->pointer_size == 4) {
usr.bin/truss/syscalls.c
892
get_syscall(struct threadinfo *t, u_int number, u_int nargs)
usr.bin/truss/syscalls.c
901
procabi = t->proc->abi;
usr.bin/truss/syscalls.c
925
add_syscall(t->proc->abi, number, sc);
usr.bin/truss/syscalls.c
943
add_syscall(t->proc->abi, number, sc);
usr.bin/tty/tty.c
42
char *t;
usr.bin/tty/tty.c
56
t = ttyname(STDIN_FILENO);
usr.bin/tty/tty.c
58
puts(t ? t : "not a tty");
usr.bin/tty/tty.c
59
exit(t ? EXIT_SUCCESS : EXIT_FAILURE);
usr.bin/usbhidaction/usbhidaction.c
286
int inst, cinst, u, lo, hi, range, t;
usr.bin/usbhidaction/usbhidaction.c
401
t = strlen(usbuf) - strlen(name);
usr.bin/usbhidaction/usbhidaction.c
402
if (t > 0) {
usr.bin/usbhidaction/usbhidaction.c
403
if (strcmp(usbuf + t, name))
usr.bin/usbhidaction/usbhidaction.c
405
if (usbuf[t - 1] != '.')
usr.bin/usbhidctl/usbhid.c
161
t = strlen(hname) - strlen(var->name);
usr.bin/usbhidctl/usbhid.c
162
if (t > 0) {
usr.bin/usbhidctl/usbhid.c
163
if (strcmp(hname + t, var->name) != 0)
usr.bin/usbhidctl/usbhid.c
165
if (hname[t - 1] != '.')
usr.bin/usbhidctl/usbhid.c
75
int i, instance, cp, t;
usr.bin/vtfontcvt/vtfontcvt.c
369
uint8_t t;
usr.bin/vtfontcvt/vtfontcvt.c
372
t = *(line + wbytes + i - 1);
usr.bin/vtfontcvt/vtfontcvt.c
373
t <<= 8 - s;
usr.bin/vtfontcvt/vtfontcvt.c
374
t |= *(line + wbytes + i) >> s;
usr.bin/vtfontcvt/vtfontcvt.c
375
*(right + i) = t;
usr.bin/w/w.c
418
time_t t;
usr.bin/w/w.c
453
t = ep->utmp.ut_tv.tv_sec;
usr.bin/w/w.c
454
longattime = pr_attime(&t, &now);
usr.bin/who/who.c
166
time_t idle, t;
usr.bin/who/who.c
192
t = ut->ut_tv.tv_sec;
usr.bin/who/who.c
193
tm = localtime(&t);
usr.sbin/apm/apm.c
269
time_t t;
usr.sbin/apm/apm.c
278
t = mktime(&tm);
usr.sbin/apm/apm.c
280
t = timegm(&tm);
usr.sbin/apm/apm.c
281
if (t != -1) {
usr.sbin/apm/apm.c
282
tm = *localtime(&t);
usr.sbin/bhyve/amd64/rtc.c
61
time_t t;
usr.sbin/bhyve/amd64/rtc.c
63
time(&t);
usr.sbin/bhyve/amd64/rtc.c
65
localtime_r(&t, &tm);
usr.sbin/bhyve/amd64/rtc.c
66
t = timegm(&tm);
usr.sbin/bhyve/amd64/rtc.c
68
return (t);
usr.sbin/bhyve/block_if.c
179
blockif_dequeue(struct blockif_ctxt *bc, pthread_t t, struct blockif_elem **bep)
usr.sbin/bhyve/block_if.c
192
be->be_tid = t;
usr.sbin/bhyve/block_if.c
376
pthread_t t;
usr.sbin/bhyve/block_if.c
384
t = pthread_self();
usr.sbin/bhyve/block_if.c
388
while (blockif_dequeue(bc, t, &be)) {
usr.sbin/bhyve/pci_virtio_console.c
386
pci_vtcon_sock_accept(int fd __unused, enum ev_type t __unused, void *arg)
usr.sbin/bhyve/pci_virtio_console.c
408
pci_vtcon_sock_rx(int fd __unused, enum ev_type t __unused, void *arg)
usr.sbin/bhyve/pci_virtio_input.c
588
enum ev_type t __attribute__((unused)), void *arg __attribute__((unused)))
usr.sbin/bhyve/rtc_pl031.c
90
time_t t;
usr.sbin/bhyve/rtc_pl031.c
92
time(&t);
usr.sbin/bhyve/rtc_pl031.c
94
localtime_r(&t, &tm);
usr.sbin/bhyve/rtc_pl031.c
95
t = timegm(&tm);
usr.sbin/bhyve/rtc_pl031.c
97
return (t);
usr.sbin/bluetooth/bthidd/btuinput.c
474
uinput_rep_mouse(int32_t fd, int32_t x, int32_t y, int32_t z, int32_t t,
usr.sbin/bluetooth/bthidd/btuinput.c
489
(t != 0 && uinput_write_event(fd, EV_REL, REL_HWHEEL, t) < 0))
usr.sbin/bluetooth/bthidd/btuinput.h
35
int32_t t, int32_t buttons, int32_t obuttons);
usr.sbin/bluetooth/btpand/event.c
116
t.tv_sec = t.tv_usec = 0;
usr.sbin/bluetooth/btpand/event.c
118
t = ev->expire;
usr.sbin/bluetooth/btpand/event.c
119
tv_sub(&t, &now);
usr.sbin/bluetooth/btpand/event.c
122
if (tv_cmp(&t, &timeout) < 0)
usr.sbin/bluetooth/btpand/event.c
123
timeout = t;
usr.sbin/bluetooth/btpand/event.c
90
struct timeval now, timeout, t;
usr.sbin/bluetooth/hccontrol/util.c
100
static char const * const t[] = {
usr.sbin/bluetooth/hccontrol/util.c
107
return (coding >= SIZE(t)? "?" : t[coding]);
usr.sbin/bluetooth/hccontrol/util.c
113
static char const * const t[] = {
usr.sbin/bluetooth/hccontrol/util.c
120
return (data >= SIZE(t)? "?" : t[data]);
usr.sbin/bluetooth/hccontrol/util.c
126
static char const * const t[] = {
usr.sbin/bluetooth/hccontrol/util.c
137
for (n = 0; n < SIZE(t); n++) {
usr.sbin/bluetooth/hccontrol/util.c
143
strncat(buffer, t[n], size - len);
usr.sbin/bluetooth/hccontrol/util.c
153
static char const * const t[] = {
usr.sbin/bluetooth/hccontrol/util.c
168
return (ver >= SIZE(t)? "?" : t[ver]);
usr.sbin/bluetooth/hccontrol/util.c
174
static char const * const t[] = {
usr.sbin/bluetooth/hccontrol/util.c
189
return (ver >= SIZE(t)? "?" : t[ver]);
usr.sbin/bluetooth/hccontrol/util.c
195
static char const * const t[] = {
usr.sbin/bluetooth/hccontrol/util.c
2428
return (m >= SIZE(t)? "?" : t[m]);
usr.sbin/bluetooth/hccontrol/util.c
2434
static char const * const t[][8] = {
usr.sbin/bluetooth/hccontrol/util.c
2903
for (n = 0; n < SIZE(t); n++) {
usr.sbin/bluetooth/hccontrol/util.c
2904
for (i = 0; i < SIZE(t[n]); i++) {
usr.sbin/bluetooth/hccontrol/util.c
2910
if (len1 + strlen(t[n][i]) > 60) {
usr.sbin/bluetooth/hccontrol/util.c
2915
len1 += strlen(t[n][i]);
usr.sbin/bluetooth/hccontrol/util.c
2916
strncat(buffer, t[n][i], size - len0);
usr.sbin/bluetooth/hccontrol/util.c
2929
static char const * const t[][8] = {
usr.sbin/bluetooth/hccontrol/util.c
3018
for (n = 0; n < SIZE(t); n++) {
usr.sbin/bluetooth/hccontrol/util.c
3019
for (i = 0; i < SIZE(t[n]); i++) {
usr.sbin/bluetooth/hccontrol/util.c
3025
if (len1 + strlen(t[n][i]) > 60) {
usr.sbin/bluetooth/hccontrol/util.c
3030
len1 += strlen(t[n][i]);
usr.sbin/bluetooth/hccontrol/util.c
3031
strncat(buffer, t[n][i], size - len0);
usr.sbin/bluetooth/hccontrol/util.c
3043
static char const * const t[][8] = {
usr.sbin/bluetooth/hccontrol/util.c
3132
for (n = 0; n < SIZE(t); n++) {
usr.sbin/bluetooth/hccontrol/util.c
3133
for (i = 0; i < SIZE(t[n]); i++) {
usr.sbin/bluetooth/hccontrol/util.c
3139
if (len1 + strlen(t[n][i]) > 60) {
usr.sbin/bluetooth/hccontrol/util.c
3144
len1 += strlen(t[n][i]);
usr.sbin/bluetooth/hccontrol/util.c
3145
strncat(buffer, t[n][i], size - len0);
usr.sbin/bluetooth/hccontrol/util.c
3157
static char const * const t[] = {
usr.sbin/bluetooth/hccontrol/util.c
3162
return (cc >= SIZE(t)? "?" : t[cc]);
usr.sbin/bluetooth/hccontrol/util.c
3168
static char const * const t[] = {
usr.sbin/bluetooth/hccontrol/util.c
3175
return (state >= SIZE(t)? "UNKNOWN" : t[state]);
usr.sbin/bluetooth/hccontrol/util.c
3181
static char const * const t[] = {
usr.sbin/bluetooth/hccontrol/util.c
3254
return (status >= SIZE(t)? "Unknown error" : t[status]);
usr.sbin/bluetooth/hccontrol/util.c
3287
static char const * const t[] = {
usr.sbin/bluetooth/hccontrol/util.c
3294
return (type >= SIZE(t)? "?" : t[type]);
usr.sbin/bluetooth/hccontrol/util.c
44
static char const * const t[] = {
usr.sbin/bluetooth/hccontrol/util.c
49
return (link_type >= SIZE(t)? "?" : t[link_type]);
usr.sbin/bluetooth/hccontrol/util.c
55
static char const * const t[] = {
usr.sbin/bluetooth/hccontrol/util.c
60
return (type >= SIZE(t)? "?" : t[type]);
usr.sbin/bluetooth/hccontrol/util.c
66
static char const * const t[] = {
usr.sbin/bluetooth/hccontrol/util.c
73
return (scan >= SIZE(t)? "?" : t[scan]);
usr.sbin/bluetooth/hccontrol/util.c
79
static char const * const t[] = {
usr.sbin/bluetooth/hccontrol/util.c
94
return (encrypt >= SIZE(t)? "?" : t[encrypt]);
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_addrs.c
62
struct tp_entry *t;
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_addrs.c
64
while ((t = TAILQ_FIRST(headp)) != NULL) {
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_addrs.c
65
TAILQ_REMOVE(headp, t, tp_e);
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_addrs.c
66
free(t);
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_fs_tbl.c
325
u_int t;
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_fs_tbl.c
329
for (t = 0; t < N_FS_TYPE_MAP; t++)
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_fs_tbl.c
330
if (strcmp(fs_type_map[t].str, fs_p->f_fstypename) == 0)
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_fs_tbl.c
331
return (fs_type_map[t].oid);
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c
287
time_t t;
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c
307
if ((t = timegm(&tm_to_set)) == (time_t)-1)
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c
315
t += 3600 * str[9] + 60 * str[10];
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c
317
t -= 3600 * str[9] + 60 * str[10];
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c
323
tv->tv_sec = t;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1130
struct ngtype *t;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1138
while ((t = TAILQ_FIRST(&ngtype_list)) != NULL) {
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1139
TAILQ_REMOVE(&ngtype_list, t, link);
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1140
free(t);
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1149
if ((t = malloc(sizeof(*t))) == NULL) {
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1153
strcpy(t->name, typelist->typeinfo[u].type_name);
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1154
t->index.subs[0] = strlen(t->name);
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1155
t->index.len = t->index.subs[0] + 1;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1156
for (i = 0; i < t->index.subs[0]; i++)
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1157
t->index.subs[i + 1] = t->name[i];
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1159
INSERT_OBJECT_OID(t, &ngtype_list);
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1217
struct ngtype *t;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1228
if ((t = NEXT_OBJECT_OID(&ngtype_list, &value->var, sub)) == NULL)
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1230
index_append(&value->var, sub, &t->index);
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1236
if ((t = FIND_OBJECT_OID(&ngtype_list, &value->var, sub)) == NULL)
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1251
t = FIND_OBJECT_OID(&ngtype_list, &value->var, sub);
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1255
if (t != NULL)
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1264
ctx->scratch->int1 |= (t != NULL) << 1;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1268
if (t == NULL) {
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
937
struct ngtype *t;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
939
while ((t = TAILQ_FIRST(&ngtype_list)) != NULL) {
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
940
TAILQ_REMOVE(&ngtype_list, t, link);
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
941
free(t);
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1300
pft_add_tstats(const struct pfr_tstats *t, void *arg)
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1311
memcpy(&e->pft, t, sizeof(struct pfr_tstats));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1356
struct pfr_astats *t = NULL;
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1367
t = reallocf(t, numaddrs * sizeof(struct pfr_astats));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1368
if (t == NULL) {
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1376
if ((error = pfctl_get_astats(pfh, &tbl, t, &outnum, 0)) != 0) {
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1390
if ((t + i)->pfras_a.pfra_af != AF_INET &&
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1391
(t + i)->pfras_a.pfra_af != AF_INET6) {
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1404
memcpy(&e->pfas, t + i, sizeof(struct pfr_astats));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1408
free(t);
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
336
struct enum_type *t;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
460
if ((t = snmp_enumtc_lookup(snmptoolctx, nexttok)) != NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
461
val = t->syntax;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
589
struct enum_type *t;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
592
t = snmp_enumtc_lookup(snmptoolctx, nexttok);
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
593
if (t != NULL)
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
594
*snmp_enum = t->snmp_enum;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
884
struct enum_type *t;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
896
t = snmp_enumtc_init(nexttok);
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
899
t->is_enum = (*tok == TOK_ENUM);
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
900
t->is_bits = (*tok == TOK_BITS);
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
901
t->syntax = parse_type(snmptoolctx, tok, &tc, &(t->snmp_enum));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
902
snmp_enumtc_insert(snmptoolctx, t);
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
145
struct snmp_index_entry *t;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
147
while ((t = SLIST_FIRST(headp)) != NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
150
if (t->string)
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
151
free(t->string);
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
153
snmp_index_listfree(&(t->index_list));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
154
free(t);
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
161
struct enum_type *t;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
163
while ((t = SLIST_FIRST(headp)) != NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
166
if (t->name)
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
167
free(t->name);
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
168
enum_pairs_free(t->snmp_enum);
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
169
free(t);
usr.sbin/cdcontrol/cdcontrol.c
1054
struct ioc_play_track t;
usr.sbin/cdcontrol/cdcontrol.c
1056
t.start_track = tstart;
usr.sbin/cdcontrol/cdcontrol.c
1057
t.start_index = istart;
usr.sbin/cdcontrol/cdcontrol.c
1058
t.end_track = tend;
usr.sbin/cdcontrol/cdcontrol.c
1059
t.end_index = iend;
usr.sbin/cdcontrol/cdcontrol.c
1061
return ioctl (fd, CDIOCPLAYTRACKS, &t);
usr.sbin/cdcontrol/cdcontrol.c
1067
struct ioc_play_blocks t;
usr.sbin/cdcontrol/cdcontrol.c
1069
t.blk = blk;
usr.sbin/cdcontrol/cdcontrol.c
1070
t.len = len;
usr.sbin/cdcontrol/cdcontrol.c
1072
return ioctl (fd, CDIOCPLAYBLOCKS, &t);
usr.sbin/cdcontrol/cdcontrol.c
1094
struct ioc_read_toc_entry t;
usr.sbin/cdcontrol/cdcontrol.c
1096
t.address_format = msf ? CD_MSF_FORMAT : CD_LBA_FORMAT;
usr.sbin/cdcontrol/cdcontrol.c
1097
t.starting_track = 0;
usr.sbin/cdcontrol/cdcontrol.c
1098
t.data_len = len;
usr.sbin/cdcontrol/cdcontrol.c
1099
t.data = toc_buffer;
usr.sbin/cdcontrol/cdcontrol.c
1101
return (ioctl (fd, CDIOREADTOCENTRYS, (char *) &t));
usr.sbin/cdcontrol/cdcontrol.c
916
t = 0,
usr.sbin/cdcontrol/cdcontrol.c
935
t += ((TC_MM(i+1) * 60) + TC_SS(i+1)) -
usr.sbin/cdcontrol/cdcontrol.c
939
return((n % 0xff) << 24 | t << 8 | ntr);
usr.sbin/config/mkmakefile.cc
137
struct opt *op, *t;
usr.sbin/config/mkmakefile.cc
147
SLIST_FOREACH_SAFE(op, &mkopt, op_next, t) {
usr.sbin/cron/crontab/crontab.c
308
int t;
usr.sbin/cron/crontab/crontab.c
330
if ((t = mkstemp(Filename)) == -1) {
usr.sbin/cron/crontab/crontab.c
337
if (fchown(t, getuid(), getgid()) < 0) {
usr.sbin/cron/crontab/crontab.c
344
if (!(NewCrontab = fdopen(t, "r+"))) {
usr.sbin/cron/crontab/crontab.c
353
if (fstat(t, &fsbuf) < 0) {
usr.sbin/cron/lib/misc.c
380
struct tm *t = localtime(&now);
usr.sbin/cron/lib/misc.c
413
t->tm_mon+1, t->tm_mday, t->tm_hour, t->tm_min,
usr.sbin/cron/lib/misc.c
414
t->tm_sec, pid, event, detail);
usr.sbin/cron/lib/misc.c
475
first_word(char *s, char *t)
usr.sbin/cron/lib/misc.c
487
while (*s && (NULL != strchr(t, *s))) {
usr.sbin/cron/lib/misc.c
492
while (*s && (NULL == strchr(t, *s)) && (rp < &rb[MAX_TEMPSTR])) {
usr.sbin/cron/lib/misc.c
556
time_t t = clock ?*clock :time(0L);
usr.sbin/cron/lib/misc.c
557
struct tm *tm = localtime(&t);
usr.sbin/cxgbetool/cxgbetool.c
1000
if (rc != 0 || t.idx == 0xffffffff)
usr.sbin/cxgbetool/cxgbetool.c
1009
do_show_one_filter_info(&t, mode);
usr.sbin/cxgbetool/cxgbetool.c
1014
bzero(&t, sizeof (t));
usr.sbin/cxgbetool/cxgbetool.c
1015
t.idx = 0;
usr.sbin/cxgbetool/cxgbetool.c
1016
t.fs.hash = hash;
usr.sbin/cxgbetool/cxgbetool.c
1017
for (t.idx = 0; ; t.idx++) {
usr.sbin/cxgbetool/cxgbetool.c
1018
rc = doit(CHELSIO_T4_GET_FILTER, &t);
usr.sbin/cxgbetool/cxgbetool.c
1019
if (rc != 0 || t.idx == 0xffffffff)
usr.sbin/cxgbetool/cxgbetool.c
1028
do_show_one_filter_info(&t, mode);
usr.sbin/cxgbetool/cxgbetool.c
1156
struct t4_filter t;
usr.sbin/cxgbetool/cxgbetool.c
1158
t.fs.prio = prio;
usr.sbin/cxgbetool/cxgbetool.c
1159
t.fs.hash = hashfilter;
usr.sbin/cxgbetool/cxgbetool.c
1160
t.idx = idx;
usr.sbin/cxgbetool/cxgbetool.c
1162
return doit(CHELSIO_T4_DEL_FILTER, &t);
usr.sbin/cxgbetool/cxgbetool.c
1171
struct t4_filter t;
usr.sbin/cxgbetool/cxgbetool.c
1177
bzero(&t, sizeof (t));
usr.sbin/cxgbetool/cxgbetool.c
1178
t.idx = idx;
usr.sbin/cxgbetool/cxgbetool.c
1179
t.fs.hitcnts = 1;
usr.sbin/cxgbetool/cxgbetool.c
1180
t.fs.hash = hash;
usr.sbin/cxgbetool/cxgbetool.c
1205
t.fs.val.fcoe = val;
usr.sbin/cxgbetool/cxgbetool.c
1206
t.fs.mask.fcoe = mask;
usr.sbin/cxgbetool/cxgbetool.c
1208
t.fs.val.iport = val;
usr.sbin/cxgbetool/cxgbetool.c
1209
t.fs.mask.iport = mask;
usr.sbin/cxgbetool/cxgbetool.c
1211
t.fs.val.vnic = val;
usr.sbin/cxgbetool/cxgbetool.c
1212
t.fs.mask.vnic = mask;
usr.sbin/cxgbetool/cxgbetool.c
1213
t.fs.val.ovlan_vld = 1;
usr.sbin/cxgbetool/cxgbetool.c
1214
t.fs.mask.ovlan_vld = 1;
usr.sbin/cxgbetool/cxgbetool.c
1216
t.fs.val.vlan = val;
usr.sbin/cxgbetool/cxgbetool.c
1217
t.fs.mask.vlan = mask;
usr.sbin/cxgbetool/cxgbetool.c
1218
t.fs.val.vlan_vld = 1;
usr.sbin/cxgbetool/cxgbetool.c
1219
t.fs.mask.vlan_vld = 1;
usr.sbin/cxgbetool/cxgbetool.c
1221
t.fs.val.vnic &= 0x1fff;
usr.sbin/cxgbetool/cxgbetool.c
1222
t.fs.val.vnic |= (val & 0x7) << 13;
usr.sbin/cxgbetool/cxgbetool.c
1223
t.fs.mask.vnic &= 0x1fff;
usr.sbin/cxgbetool/cxgbetool.c
1224
t.fs.mask.vnic |= (mask & 0x7) << 13;
usr.sbin/cxgbetool/cxgbetool.c
1225
t.fs.val.pfvf_vld = 1;
usr.sbin/cxgbetool/cxgbetool.c
1226
t.fs.mask.pfvf_vld = 1;
usr.sbin/cxgbetool/cxgbetool.c
1228
t.fs.val.vnic &= 0xe000;
usr.sbin/cxgbetool/cxgbetool.c
1229
t.fs.val.vnic |= val & 0x1fff;
usr.sbin/cxgbetool/cxgbetool.c
1230
t.fs.mask.vnic &= 0xe000;
usr.sbin/cxgbetool/cxgbetool.c
1231
t.fs.mask.vnic |= mask & 0x1fff;
usr.sbin/cxgbetool/cxgbetool.c
1232
t.fs.val.pfvf_vld = 1;
usr.sbin/cxgbetool/cxgbetool.c
1233
t.fs.mask.pfvf_vld = 1;
usr.sbin/cxgbetool/cxgbetool.c
1235
t.fs.val.tos = val;
usr.sbin/cxgbetool/cxgbetool.c
1236
t.fs.mask.tos = mask;
usr.sbin/cxgbetool/cxgbetool.c
1238
t.fs.val.proto = val;
usr.sbin/cxgbetool/cxgbetool.c
1239
t.fs.mask.proto = mask;
usr.sbin/cxgbetool/cxgbetool.c
1241
t.fs.val.ethtype = val;
usr.sbin/cxgbetool/cxgbetool.c
1242
t.fs.mask.ethtype = mask;
usr.sbin/cxgbetool/cxgbetool.c
1244
t.fs.val.macidx = val;
usr.sbin/cxgbetool/cxgbetool.c
1245
t.fs.mask.macidx = mask;
usr.sbin/cxgbetool/cxgbetool.c
1247
t.fs.val.matchtype = val;
usr.sbin/cxgbetool/cxgbetool.c
1248
t.fs.mask.matchtype = mask;
usr.sbin/cxgbetool/cxgbetool.c
1250
t.fs.val.frag = val;
usr.sbin/cxgbetool/cxgbetool.c
1251
t.fs.mask.frag = mask;
usr.sbin/cxgbetool/cxgbetool.c
1253
t.fs.val.dport = val;
usr.sbin/cxgbetool/cxgbetool.c
1254
t.fs.mask.dport = mask;
usr.sbin/cxgbetool/cxgbetool.c
1256
t.fs.val.sport = val;
usr.sbin/cxgbetool/cxgbetool.c
1257
t.fs.mask.sport = mask;
usr.sbin/cxgbetool/cxgbetool.c
1258
} else if (!parse_ipaddr("dip", args, &af, t.fs.val.dip,
usr.sbin/cxgbetool/cxgbetool.c
1259
t.fs.mask.dip, hash)) {
usr.sbin/cxgbetool/cxgbetool.c
1261
} else if (!parse_ipaddr("sip", args, &af, t.fs.val.sip,
usr.sbin/cxgbetool/cxgbetool.c
1262
t.fs.mask.sip, hash)) {
usr.sbin/cxgbetool/cxgbetool.c
1264
} else if (!parse_ipaddr("nat_dip", args, &af, t.fs.nat_dip, NULL, 1)) {
usr.sbin/cxgbetool/cxgbetool.c
1266
} else if (!parse_ipaddr("nat_sip", args, &af, t.fs.nat_sip, NULL, 1)) {
usr.sbin/cxgbetool/cxgbetool.c
1269
t.fs.nat_dport = val;
usr.sbin/cxgbetool/cxgbetool.c
1271
t.fs.nat_sport = val;
usr.sbin/cxgbetool/cxgbetool.c
1274
t.fs.action = FILTER_PASS;
usr.sbin/cxgbetool/cxgbetool.c
1276
t.fs.action = FILTER_DROP;
usr.sbin/cxgbetool/cxgbetool.c
1278
t.fs.action = FILTER_SWITCH;
usr.sbin/cxgbetool/cxgbetool.c
1286
t.fs.hitcnts = val;
usr.sbin/cxgbetool/cxgbetool.c
1297
t.fs.prio = val;
usr.sbin/cxgbetool/cxgbetool.c
1299
t.fs.rpttid = 1;
usr.sbin/cxgbetool/cxgbetool.c
1301
t.fs.dirsteer = 1; /* direct steer */
usr.sbin/cxgbetool/cxgbetool.c
1302
t.fs.iq = val; /* to the iq with this cntxt_id */
usr.sbin/cxgbetool/cxgbetool.c
1304
t.fs.dirsteerhash = 1; /* direct steer */
usr.sbin/cxgbetool/cxgbetool.c
1306
t.fs.iq = val;
usr.sbin/cxgbetool/cxgbetool.c
1308
t.fs.maskhash = 1; /* steer to RSS region */
usr.sbin/cxgbetool/cxgbetool.c
1313
t.fs.iq = val >> 1;
usr.sbin/cxgbetool/cxgbetool.c
1315
t.fs.eport = val;
usr.sbin/cxgbetool/cxgbetool.c
1317
t.fs.swapmac = 1;
usr.sbin/cxgbetool/cxgbetool.c
1320
t.fs.nat_mode = NAT_MODE_DIP;
usr.sbin/cxgbetool/cxgbetool.c
1322
t.fs.nat_mode = NAT_MODE_DIP_DP;
usr.sbin/cxgbetool/cxgbetool.c
1324
t.fs.nat_mode = NAT_MODE_DIP_DP_SIP;
usr.sbin/cxgbetool/cxgbetool.c
1326
t.fs.nat_mode = NAT_MODE_DIP_DP_SP;
usr.sbin/cxgbetool/cxgbetool.c
1328
t.fs.nat_mode = NAT_MODE_SIP_SP;
usr.sbin/cxgbetool/cxgbetool.c
1330
t.fs.nat_mode = NAT_MODE_DIP_SIP_SP;
usr.sbin/cxgbetool/cxgbetool.c
1332
t.fs.nat_mode = NAT_MODE_ALL;
usr.sbin/cxgbetool/cxgbetool.c
1340
t.fs.nat_seq_chk = val;
usr.sbin/cxgbetool/cxgbetool.c
1342
t.fs.nat_flag_chk = 1;
usr.sbin/cxgbetool/cxgbetool.c
1352
memcpy(t.fs.dmac, daddr, ETHER_ADDR_LEN);
usr.sbin/cxgbetool/cxgbetool.c
1353
t.fs.newdmac = 1;
usr.sbin/cxgbetool/cxgbetool.c
1363
memcpy(t.fs.smac, saddr, ETHER_ADDR_LEN);
usr.sbin/cxgbetool/cxgbetool.c
1364
t.fs.newsmac = 1;
usr.sbin/cxgbetool/cxgbetool.c
1368
t.fs.newvlan = VLAN_REMOVE;
usr.sbin/cxgbetool/cxgbetool.c
1370
t.fs.newvlan = VLAN_REWRITE;
usr.sbin/cxgbetool/cxgbetool.c
1372
t.fs.newvlan = VLAN_INSERT;
usr.sbin/cxgbetool/cxgbetool.c
1379
if (t.fs.newvlan == VLAN_REWRITE ||
usr.sbin/cxgbetool/cxgbetool.c
1380
t.fs.newvlan == VLAN_INSERT) {
usr.sbin/cxgbetool/cxgbetool.c
1381
t.fs.vlan = strtoul(argv[start_arg + 1] + 1,
usr.sbin/cxgbetool/cxgbetool.c
1384
t.fs.vlan > MAX_VLANID) {
usr.sbin/cxgbetool/cxgbetool.c
1403
if (t.fs.action != FILTER_SWITCH &&
usr.sbin/cxgbetool/cxgbetool.c
1404
(t.fs.eport || t.fs.newdmac || t.fs.newsmac || t.fs.newvlan ||
usr.sbin/cxgbetool/cxgbetool.c
1405
t.fs.swapmac || t.fs.nat_mode)) {
usr.sbin/cxgbetool/cxgbetool.c
1410
if (!t.fs.nat_mode && (t.fs.nat_seq_chk || t.fs.nat_flag_chk ||
usr.sbin/cxgbetool/cxgbetool.c
1411
*t.fs.nat_dip || *t.fs.nat_sip || t.fs.nat_dport || t.fs.nat_sport)) {
usr.sbin/cxgbetool/cxgbetool.c
1415
if (t.fs.action != FILTER_PASS &&
usr.sbin/cxgbetool/cxgbetool.c
1416
(t.fs.rpttid || t.fs.dirsteer || t.fs.maskhash)) {
usr.sbin/cxgbetool/cxgbetool.c
1421
if (t.fs.val.ovlan_vld && t.fs.val.pfvf_vld) {
usr.sbin/cxgbetool/cxgbetool.c
1426
t.fs.type = (af == AF_INET6 ? 1 : 0); /* default IPv4 */
usr.sbin/cxgbetool/cxgbetool.c
1427
rc = doit(CHELSIO_T4_SET_FILTER, &t);
usr.sbin/cxgbetool/cxgbetool.c
1429
printf("%d\n", t.idx);
usr.sbin/cxgbetool/cxgbetool.c
2560
struct t4_tracer t;
usr.sbin/cxgbetool/cxgbetool.c
2571
t.idx = 0;
usr.sbin/cxgbetool/cxgbetool.c
2572
for (t.idx = 0; ; t.idx++) {
usr.sbin/cxgbetool/cxgbetool.c
2573
rc = doit(CHELSIO_T4_GET_TRACER, &t);
usr.sbin/cxgbetool/cxgbetool.c
2574
if (rc != 0 || t.idx == 0xff)
usr.sbin/cxgbetool/cxgbetool.c
2577
if (t.tp.port < 4) {
usr.sbin/cxgbetool/cxgbetool.c
2579
port_idx = t.tp.port;
usr.sbin/cxgbetool/cxgbetool.c
2580
} else if (t.tp.port < 8) {
usr.sbin/cxgbetool/cxgbetool.c
2582
port_idx = t.tp.port - 4;
usr.sbin/cxgbetool/cxgbetool.c
2583
} else if (t.tp.port < 12) {
usr.sbin/cxgbetool/cxgbetool.c
2585
port_idx = t.tp.port - 8;
usr.sbin/cxgbetool/cxgbetool.c
2586
} else if (t.tp.port < 16) {
usr.sbin/cxgbetool/cxgbetool.c
2588
port_idx = t.tp.port - 12;
usr.sbin/cxgbetool/cxgbetool.c
2589
} else if (t.tp.port < 20) {
usr.sbin/cxgbetool/cxgbetool.c
2591
port_idx = t.tp.port - 16;
usr.sbin/cxgbetool/cxgbetool.c
2594
port_idx = t.tp.port;
usr.sbin/cxgbetool/cxgbetool.c
2597
printf("\ntracer %u (currently %s) captures ", t.idx,
usr.sbin/cxgbetool/cxgbetool.c
2598
t.enabled ? "ENABLED" : "DISABLED");
usr.sbin/cxgbetool/cxgbetool.c
2599
if (t.tp.port < 8)
usr.sbin/cxgbetool/cxgbetool.c
2603
printf("snap length: %u, min length: %u\n", t.tp.snap_len,
usr.sbin/cxgbetool/cxgbetool.c
2604
t.tp.min_len);
usr.sbin/cxgbetool/cxgbetool.c
2606
t.tp.invert ? "do not " : "");
usr.sbin/cxgbetool/cxgbetool.c
2607
if (t.tp.skip_ofst) {
usr.sbin/cxgbetool/cxgbetool.c
2609
for (i = 0; i < t.tp.skip_ofst * 2; i += 2)
usr.sbin/cxgbetool/cxgbetool.c
2610
printf("%08x%08x", t.tp.data[i],
usr.sbin/cxgbetool/cxgbetool.c
2611
t.tp.data[i + 1]);
usr.sbin/cxgbetool/cxgbetool.c
2613
for (i = 0; i < t.tp.skip_ofst * 2; i += 2)
usr.sbin/cxgbetool/cxgbetool.c
2614
printf("%08x%08x", t.tp.mask[i],
usr.sbin/cxgbetool/cxgbetool.c
2615
t.tp.mask[i + 1]);
usr.sbin/cxgbetool/cxgbetool.c
2619
for (i = t.tp.skip_ofst * 2; i < T4_TRACE_LEN / 4; i += 2)
usr.sbin/cxgbetool/cxgbetool.c
2620
printf("%08x%08x", t.tp.data[i], t.tp.data[i + 1]);
usr.sbin/cxgbetool/cxgbetool.c
2622
for (i = t.tp.skip_ofst * 2; i < T4_TRACE_LEN / 4; i += 2)
usr.sbin/cxgbetool/cxgbetool.c
2623
printf("%08x%08x", t.tp.mask[i], t.tp.mask[i + 1]);
usr.sbin/cxgbetool/cxgbetool.c
2624
printf("@%u\n", (t.tp.skip_ofst + t.tp.skip_len) * 8);
usr.sbin/cxgbetool/cxgbetool.c
2633
struct t4_tracer t;
usr.sbin/cxgbetool/cxgbetool.c
2635
t.idx = idx;
usr.sbin/cxgbetool/cxgbetool.c
2636
t.enabled = enabled;
usr.sbin/cxgbetool/cxgbetool.c
2637
t.valid = 0;
usr.sbin/cxgbetool/cxgbetool.c
2639
return doit(CHELSIO_T4_SET_TRACER, &t);
usr.sbin/cxgbetool/cxgbetool.c
2665
struct t4_tracer t;
usr.sbin/cxgbetool/cxgbetool.c
2668
bzero(&t, sizeof (t));
usr.sbin/cxgbetool/cxgbetool.c
2669
t.idx = idx;
usr.sbin/cxgbetool/cxgbetool.c
2670
t.enabled = 1;
usr.sbin/cxgbetool/cxgbetool.c
2671
t.valid = 1;
usr.sbin/cxgbetool/cxgbetool.c
2709
t.tp.snap_len = 128;
usr.sbin/cxgbetool/cxgbetool.c
2710
t.tp.min_len = 0;
usr.sbin/cxgbetool/cxgbetool.c
2711
t.tp.skip_ofst = 0;
usr.sbin/cxgbetool/cxgbetool.c
2712
t.tp.skip_len = 0;
usr.sbin/cxgbetool/cxgbetool.c
2713
t.tp.invert = 0;
usr.sbin/cxgbetool/cxgbetool.c
2714
t.tp.port = port;
usr.sbin/cxgbetool/cxgbetool.c
2717
return doit(CHELSIO_T4_SET_TRACER, &t);
usr.sbin/cxgbetool/cxgbetool.c
853
do_show_one_filter_info(struct t4_filter *t, uint32_t mode)
usr.sbin/cxgbetool/cxgbetool.c
857
printf("%4d", t->idx);
usr.sbin/cxgbetool/cxgbetool.c
858
if (t->hits == UINT64_MAX)
usr.sbin/cxgbetool/cxgbetool.c
861
printf(" %8ju", t->hits);
usr.sbin/cxgbetool/cxgbetool.c
869
printf(" %1d/%1d", t->fs.val.fcoe, t->fs.mask.fcoe);
usr.sbin/cxgbetool/cxgbetool.c
872
printf(" %1d/%1d", t->fs.val.iport, t->fs.mask.iport);
usr.sbin/cxgbetool/cxgbetool.c
877
t->fs.val.pfvf_vld,
usr.sbin/cxgbetool/cxgbetool.c
878
(t->fs.val.vnic >> 13) & 0x7,
usr.sbin/cxgbetool/cxgbetool.c
879
t->fs.val.vnic & 0x1fff,
usr.sbin/cxgbetool/cxgbetool.c
880
t->fs.mask.pfvf_vld,
usr.sbin/cxgbetool/cxgbetool.c
881
(t->fs.mask.vnic >> 13) & 0x7,
usr.sbin/cxgbetool/cxgbetool.c
882
t->fs.mask.vnic & 0x1fff);
usr.sbin/cxgbetool/cxgbetool.c
885
t->fs.val.ovlan_vld, t->fs.val.vnic,
usr.sbin/cxgbetool/cxgbetool.c
886
t->fs.mask.ovlan_vld, t->fs.mask.vnic);
usr.sbin/cxgbetool/cxgbetool.c
891
t->fs.val.vlan_vld, t->fs.val.vlan,
usr.sbin/cxgbetool/cxgbetool.c
892
t->fs.mask.vlan_vld, t->fs.mask.vlan);
usr.sbin/cxgbetool/cxgbetool.c
895
printf(" %02x/%02x", t->fs.val.tos, t->fs.mask.tos);
usr.sbin/cxgbetool/cxgbetool.c
898
printf(" %02x/%02x", t->fs.val.proto, t->fs.mask.proto);
usr.sbin/cxgbetool/cxgbetool.c
901
printf(" %04x/%04x", t->fs.val.ethtype,
usr.sbin/cxgbetool/cxgbetool.c
902
t->fs.mask.ethtype);
usr.sbin/cxgbetool/cxgbetool.c
905
printf(" %03x/%03x", t->fs.val.macidx,
usr.sbin/cxgbetool/cxgbetool.c
906
t->fs.mask.macidx);
usr.sbin/cxgbetool/cxgbetool.c
909
printf(" %1x/%1x", t->fs.val.matchtype,
usr.sbin/cxgbetool/cxgbetool.c
910
t->fs.mask.matchtype);
usr.sbin/cxgbetool/cxgbetool.c
913
printf(" %1d/%1d", t->fs.val.frag, t->fs.mask.frag);
usr.sbin/cxgbetool/cxgbetool.c
924
filters_show_ipaddr(t->fs.type, t->fs.val.dip, t->fs.mask.dip);
usr.sbin/cxgbetool/cxgbetool.c
925
filters_show_ipaddr(t->fs.type, t->fs.val.sip, t->fs.mask.sip);
usr.sbin/cxgbetool/cxgbetool.c
927
t->fs.val.dport, t->fs.mask.dport,
usr.sbin/cxgbetool/cxgbetool.c
928
t->fs.val.sport, t->fs.mask.sport);
usr.sbin/cxgbetool/cxgbetool.c
933
if (t->fs.action == FILTER_DROP)
usr.sbin/cxgbetool/cxgbetool.c
935
else if (t->fs.action == FILTER_SWITCH) {
usr.sbin/cxgbetool/cxgbetool.c
936
printf(" Switch: port=%d", t->fs.eport);
usr.sbin/cxgbetool/cxgbetool.c
937
if (t->fs.newdmac)
usr.sbin/cxgbetool/cxgbetool.c
941
t->fs.dmac[0], t->fs.dmac[1],
usr.sbin/cxgbetool/cxgbetool.c
942
t->fs.dmac[2], t->fs.dmac[3],
usr.sbin/cxgbetool/cxgbetool.c
943
t->fs.dmac[4], t->fs.dmac[5],
usr.sbin/cxgbetool/cxgbetool.c
944
t->l2tidx);
usr.sbin/cxgbetool/cxgbetool.c
945
if (t->fs.newsmac)
usr.sbin/cxgbetool/cxgbetool.c
949
t->fs.smac[0], t->fs.smac[1],
usr.sbin/cxgbetool/cxgbetool.c
950
t->fs.smac[2], t->fs.smac[3],
usr.sbin/cxgbetool/cxgbetool.c
951
t->fs.smac[4], t->fs.smac[5],
usr.sbin/cxgbetool/cxgbetool.c
952
t->smtidx);
usr.sbin/cxgbetool/cxgbetool.c
953
if (t->fs.newvlan == VLAN_REMOVE)
usr.sbin/cxgbetool/cxgbetool.c
955
else if (t->fs.newvlan == VLAN_INSERT)
usr.sbin/cxgbetool/cxgbetool.c
956
printf(", vlan=insert(%x)", t->fs.vlan);
usr.sbin/cxgbetool/cxgbetool.c
957
else if (t->fs.newvlan == VLAN_REWRITE)
usr.sbin/cxgbetool/cxgbetool.c
958
printf(", vlan=rewrite(%x)", t->fs.vlan);
usr.sbin/cxgbetool/cxgbetool.c
961
if (t->fs.dirsteer == 0) {
usr.sbin/cxgbetool/cxgbetool.c
963
if (t->fs.maskhash)
usr.sbin/cxgbetool/cxgbetool.c
964
printf("(region %d)", t->fs.iq << 1);
usr.sbin/cxgbetool/cxgbetool.c
966
printf("%d", t->fs.iq);
usr.sbin/cxgbetool/cxgbetool.c
967
if (t->fs.dirsteerhash == 0)
usr.sbin/cxgbetool/cxgbetool.c
973
if (g.chip_id <= 5 && t->fs.prio)
usr.sbin/cxgbetool/cxgbetool.c
975
if (t->fs.rpttid)
usr.sbin/cxgbetool/cxgbetool.c
984
struct t4_filter t;
usr.sbin/cxgbetool/cxgbetool.c
994
bzero(&t, sizeof (t));
usr.sbin/cxgbetool/cxgbetool.c
995
t.idx = 0;
usr.sbin/cxgbetool/cxgbetool.c
996
t.fs.hash = 0;
usr.sbin/cxgbetool/cxgbetool.c
997
t.fs.prio = 1;
usr.sbin/cxgbetool/cxgbetool.c
998
for (t.idx = 0; ; t.idx++) {
usr.sbin/cxgbetool/cxgbetool.c
999
rc = doit(CHELSIO_T4_GET_FILTER, &t);
usr.sbin/efidp/efidp.c
124
char *t;
usr.sbin/efidp/efidp.c
128
t = s + strlen(s) - 1;
usr.sbin/efidp/efidp.c
129
while (t > s && isspace(*t))
usr.sbin/efidp/efidp.c
130
*t-- = '\0';
usr.sbin/fdread/fdutil.c
450
getname(enum fd_drivetype t, const char **name, const char **descr)
usr.sbin/fdread/fdutil.c
453
switch (t) {
usr.sbin/fifolog/lib/fifolog_reader.c
133
time_t t, tt;
usr.sbin/fifolog/lib/fifolog_reader.c
151
t = be32dec(fr->ff->recbuf + 5);
usr.sbin/fifolog/lib/fifolog_reader.c
153
if (t > t0) {
usr.sbin/fifolog/lib/fifolog_reader.c
165
t = be32dec(fr->ff->recbuf + 5);
usr.sbin/fifolog/lib/fifolog_reader.c
252
time_t t;
usr.sbin/fifolog/lib/fifolog_reader.c
281
t = be32dec(fr->ff->recbuf + 5);
usr.sbin/fifolog/lib/fifolog_reader.c
282
if (t > end)
usr.sbin/inetd/inetd.c
1022
#define SWAP(t,a, b) { t c = a; a = b; b = c; }
usr.sbin/inetd/inetd.c
2206
time_t t = time(NULL);
usr.sbin/inetd/inetd.c
2211
unsigned int ticks = t / CHTGRAN;
usr.sbin/inetd/inetd.c
2298
chBest->ch_LTime = t;
usr.sbin/lastlogin/lastlogin.c
159
time_t t = u->ut_tv.tv_sec;
usr.sbin/lastlogin/lastlogin.c
164
xo_attr("seconds", "%lu", (unsigned long)t);
usr.sbin/lastlogin/lastlogin.c
165
xo_emit(" {:login-time/%.24s/%.24s}\n", ctime(&t));
usr.sbin/lpr/pac/pac.c
202
double t;
usr.sbin/lpr/pac/pac.c
211
t = atof(cp);
usr.sbin/lpr/pac/pac.c
228
hp->h_feetpages += t;
usr.sbin/makefs/cd9660.c
1485
#define PTQUEUE_NEW(n,s,r,t){\
usr.sbin/makefs/cd9660.c
1487
n->node = t;\
usr.sbin/makefs/cd9660.c
740
volume_descriptor *temp, *t;
usr.sbin/makefs/cd9660.c
756
t = emalloc(sizeof(*t));
usr.sbin/makefs/cd9660.c
757
t->volumeDescriptorData = ecalloc(1, 2048);
usr.sbin/makefs/cd9660.c
758
temp->next = t;
usr.sbin/makefs/cd9660.c
759
temp = t;
usr.sbin/makefs/cd9660.c
760
t->sector = 17;
usr.sbin/makefs/cd9660.c
763
cd9660_setup_boot_volume_descriptor(diskStructure, t);
usr.sbin/makefs/cd9660.c
768
t = emalloc(sizeof(*t));
usr.sbin/makefs/cd9660.c
769
t->volumeDescriptorData = ecalloc(1, 2048);
usr.sbin/makefs/cd9660.c
770
temp->next = t;
usr.sbin/makefs/cd9660.c
771
t->volumeDescriptorData[0] = ISO_VOLUME_DESCRIPTOR_TERMINATOR;
usr.sbin/makefs/cd9660.c
772
t->next = NULL;
usr.sbin/makefs/cd9660.c
773
t->volumeDescriptorData[6] = 1;
usr.sbin/makefs/cd9660.c
774
t->sector = sector;
usr.sbin/makefs/cd9660.c
775
memcpy(t->volumeDescriptorData + 1,
usr.sbin/makefs/cd9660/cd9660_conversion.c
150
struct tm t, gm;
usr.sbin/makefs/cd9660/cd9660_conversion.c
152
(void)localtime_r(&tim, &t);
usr.sbin/makefs/cd9660/cd9660_conversion.c
154
gm.tm_year -= t.tm_year;
usr.sbin/makefs/cd9660/cd9660_conversion.c
155
gm.tm_yday -= t.tm_yday;
usr.sbin/makefs/cd9660/cd9660_conversion.c
156
gm.tm_hour -= t.tm_hour;
usr.sbin/makefs/cd9660/cd9660_conversion.c
157
gm.tm_min -= t.tm_min;
usr.sbin/makefs/cd9660/cd9660_conversion.c
170
struct tm t;
usr.sbin/makefs/cd9660/cd9660_conversion.c
173
(void)localtime_r(&tim, &t);
usr.sbin/makefs/cd9660/cd9660_conversion.c
175
1900+(int)t.tm_year,
usr.sbin/makefs/cd9660/cd9660_conversion.c
176
(int)t.tm_mon+1,
usr.sbin/makefs/cd9660/cd9660_conversion.c
177
(int)t.tm_mday,
usr.sbin/makefs/cd9660/cd9660_conversion.c
178
(int)t.tm_hour,
usr.sbin/makefs/cd9660/cd9660_conversion.c
179
(int)t.tm_min,
usr.sbin/makefs/cd9660/cd9660_conversion.c
180
(int)t.tm_sec,
usr.sbin/makefs/cd9660/cd9660_conversion.c
190
struct tm t;
usr.sbin/makefs/cd9660/cd9660_conversion.c
192
(void)localtime_r(&tim, &t);
usr.sbin/makefs/cd9660/cd9660_conversion.c
193
buf[0] = t.tm_year;
usr.sbin/makefs/cd9660/cd9660_conversion.c
194
buf[1] = t.tm_mon+1;
usr.sbin/makefs/cd9660/cd9660_conversion.c
195
buf[2] = t.tm_mday;
usr.sbin/makefs/cd9660/cd9660_conversion.c
196
buf[3] = t.tm_hour;
usr.sbin/makefs/cd9660/cd9660_conversion.c
197
buf[4] = t.tm_min;
usr.sbin/makefs/cd9660/cd9660_conversion.c
198
buf[5] = t.tm_sec;
usr.sbin/makefs/cd9660/cd9660_debug.c
196
int t = 0;
usr.sbin/makefs/cd9660/cd9660_debug.c
202
while (t < size) {
usr.sbin/makefs/cd9660/cd9660_debug.c
205
t += 8;
usr.sbin/makefs/cd9660/cd9660_debug.c
208
t += pttemp.length[0];
usr.sbin/makefs/cd9660/cd9660_debug.c
226
int t, t2;
usr.sbin/makefs/cd9660/cd9660_debug.c
238
t = (int)((unsigned char)buf[0]);
usr.sbin/makefs/cd9660/cd9660_debug.c
239
switch (t) {
usr.sbin/makefs/cd9660/cd9660_debug.c
249
} while (t != 255);
usr.sbin/makefs/cd9660/cd9660_debug.c
251
t = debug_get_encoded_number((u_char *)primaryVD.type_l_path_table,
usr.sbin/makefs/cd9660/cd9660_debug.c
255
t,t2);
usr.sbin/makefs/cd9660/cd9660_debug.c
256
debug_dump_to_xml_path_table(fd, t, t2, 721);
usr.sbin/makefs/cd9660/cd9660_debug.c
258
t = debug_get_encoded_number((u_char *)primaryVD.type_m_path_table,
usr.sbin/makefs/cd9660/cd9660_debug.c
260
debug_dump_to_xml_path_table(fd, t, t2, 722);
usr.sbin/makefs/cd9660/cd9660_debug.c
270
int t;
usr.sbin/makefs/cd9660/cd9660_debug.c
274
t = (unsigned char)buf[i];
usr.sbin/makefs/cd9660/cd9660_debug.c
275
if (t >= 32 && t < 127)
usr.sbin/makefs/cd9660/cd9660_debug.c
276
printf("%c",t);
usr.sbin/makefs/cd9660/cd9660_debug.c
282
t = (unsigned char)buf[i];
usr.sbin/makefs/cd9660/cd9660_debug.c
283
printf(" %x",t);
usr.sbin/makefs/cd9660/cd9660_debug.c
62
struct ISO_SUSP_ATTRIBUTES *t;
usr.sbin/makefs/cd9660/cd9660_debug.c
63
TAILQ_FOREACH(t, &node->head, rr_ll) {
usr.sbin/makefs/cd9660/cd9660_debug.c
72
struct ISO_SUSP_ATTRIBUTES *t;
usr.sbin/makefs/cd9660/cd9660_debug.c
74
TAILQ_FOREACH(t, &n->head, rr_ll) {
usr.sbin/makefs/cd9660/cd9660_debug.c
77
printf("%c%c: L:%i",t->attr.su_entry.SP.h.type[0],
usr.sbin/makefs/cd9660/cd9660_debug.c
78
t->attr.su_entry.SP.h.type[1],
usr.sbin/makefs/cd9660/cd9660_debug.c
79
(int)t->attr.su_entry.SP.h.length[0]);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
634
struct cd9660_boot_image *t;
usr.sbin/makefs/cd9660/cd9660_eltorito.c
662
TAILQ_FOREACH(t, &diskStructure->boot_images, image_list) {
usr.sbin/makefs/cd9660/cd9660_eltorito.c
665
t->filename, t->sector);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
667
cd9660_copy_file(diskStructure, fd, t->sector, t->filename);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
669
if (t->system == ET_SYS_MAC)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
671
if (t->system == ET_SYS_PPC)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
692
TAILQ_FOREACH(t, &diskStructure->boot_images, image_list) {
usr.sbin/makefs/cd9660/cd9660_eltorito.c
693
if (t->system != ET_SYS_PPC)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
696
t->sector * (diskStructure->sectorSize / 512),
usr.sbin/makefs/cd9660/cd9660_eltorito.c
697
t->num_sectors * (diskStructure->sectorSize / 512),
usr.sbin/makefs/cd9660/cd9660_eltorito.c
732
TAILQ_FOREACH(t, &diskStructure->boot_images, image_list) {
usr.sbin/makefs/cd9660/cd9660_eltorito.c
733
if (t->system != ET_SYS_MAC)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
738
t->sector * (diskStructure->sectorSize / 512),
usr.sbin/makefs/cd9660/cd9660_eltorito.c
739
t->num_sectors * (diskStructure->sectorSize / 512),
usr.sbin/makefs/cd9660/iso9660_rrip.c
155
struct ISO_SUSP_ATTRIBUTES *t;
usr.sbin/makefs/cd9660/iso9660_rrip.c
165
TAILQ_FOREACH(t, &node->head, rr_ll) {
usr.sbin/makefs/cd9660/iso9660_rrip.c
166
if (t->susp_type != SUSP_TYPE_SUSP ||
usr.sbin/makefs/cd9660/iso9660_rrip.c
167
t->entry_type != SUSP_ENTRY_SUSP_CE)
usr.sbin/makefs/cd9660/iso9660_rrip.c
172
t->attr.su_entry.CE.ca_sector);
usr.sbin/makefs/cd9660/iso9660_rrip.c
177
t->attr.su_entry.CE.ca_sector);
usr.sbin/makefs/cd9660/iso9660_rrip.c
179
t->attr.su_entry.CE.offset);
usr.sbin/makefs/cd9660/iso9660_rrip.c
181
t->attr.su_entry.CE.length);
usr.sbin/makefs/cd9660/iso9660_rrip.c
189
struct ISO_SUSP_ATTRIBUTES *t;
usr.sbin/makefs/cd9660/iso9660_rrip.c
191
TAILQ_FOREACH(t, &node->head, rr_ll) {
usr.sbin/makefs/cd9660/iso9660_rrip.c
192
if (t->susp_type != SUSP_TYPE_RRIP)
usr.sbin/makefs/cd9660/iso9660_rrip.c
194
switch (t->entry_type) {
usr.sbin/makefs/cd9660/iso9660_rrip.c
202
t->attr.rr_entry.CL.dir_loc);
usr.sbin/makefs/cd9660/iso9660_rrip.c
212
t->attr.rr_entry.PL.dir_loc);
usr.sbin/makefs/ffs.c
571
time_t t;
usr.sbin/makefs/ffs.c
573
t = (time_t)((struct fs *)fsopts->superblock)->fs_time;
usr.sbin/makefs/ffs.c
575
fsopts->superblock, ctime(&t));
usr.sbin/makefs/walk.c
422
#define NODETEST(t, m) \
usr.sbin/makefs/walk.c
423
if (!(t)) \
usr.sbin/makefs/walk.c
494
#define ASEPRINT(t, b, o, n) \
usr.sbin/makefs/walk.c
497
t, o, n)
usr.sbin/makefs/zfs/zap.c
90
uint64_t *t;
usr.sbin/makefs/zfs/zap.c
92
t = crc64_table + i;
usr.sbin/makefs/zfs/zap.c
93
*t = i;
usr.sbin/makefs/zfs/zap.c
95
*t = (*t >> 1) ^ (-(*t & 1) & crc64_poly);
usr.sbin/mfiutil/mfi_evt.c
245
time_t t;
usr.sbin/mfiutil/mfi_evt.c
265
t = base + timestamp;
usr.sbin/mfiutil/mfi_evt.c
266
strftime(buffer, sizeof(buffer), "%+", localtime(&t));
usr.sbin/mfiutil/mfi_patrol.c
46
time_t t;
usr.sbin/mfiutil/mfi_patrol.c
48
t = (now - at_now) + at;
usr.sbin/mfiutil/mfi_patrol.c
49
return (ctime(&t));
usr.sbin/moused/moused/moused.c
1469
const struct quirk_tuples *t;
usr.sbin/moused/moused/moused.c
1473
if (quirks_get_tuples(q, QUIRK_ATTR_EVENT_CODE, &t)) {
usr.sbin/moused/moused/moused.c
1474
for (size_t i = 0; i < t->ntuples; i++) {
usr.sbin/moused/moused/moused.c
1475
int type = t->tuples[i].first;
usr.sbin/moused/moused/moused.c
1476
int code = t->tuples[i].second;
usr.sbin/moused/moused/moused.c
1477
bool enable = t->tuples[i].third;
usr.sbin/moused/moused/moused.c
1512
if (quirks_get_tuples(q, QUIRK_ATTR_INPUT_PROP, &t)) {
usr.sbin/moused/moused/moused.c
1513
for (size_t idx = 0; idx < t->ntuples; idx++) {
usr.sbin/moused/moused/moused.c
1514
unsigned int p = t->tuples[idx].first;
usr.sbin/moused/moused/moused.c
1515
bool enable = t->tuples[idx].second;
usr.sbin/moused/msconvd/msconvd.c
1017
t = pnpproto(&pnpid);
usr.sbin/moused/msconvd/msconvd.c
1018
if (t != NULL) {
usr.sbin/moused/msconvd/msconvd.c
1019
rodent.mode.protocol = t->val;
usr.sbin/moused/msconvd/msconvd.c
1020
rodent.hw.model = t->val2;
usr.sbin/moused/msconvd/msconvd.c
2302
symtab_t *t;
usr.sbin/moused/msconvd/msconvd.c
2312
t = gettoken(pnpprod, id->eisaid, id->neisaid);
usr.sbin/moused/msconvd/msconvd.c
2313
if (t->val != MOUSE_PROTO_UNKNOWN)
usr.sbin/moused/msconvd/msconvd.c
2314
return (t);
usr.sbin/moused/msconvd/msconvd.c
2328
t = gettoken(pnpprod, id->compat + j, i - j);
usr.sbin/moused/msconvd/msconvd.c
2329
if (t->val != MOUSE_PROTO_UNKNOWN)
usr.sbin/moused/msconvd/msconvd.c
2330
return (t);
usr.sbin/moused/msconvd/msconvd.c
954
symtab_t *t;
usr.sbin/ndp/ndp.c
183
time_t t;
usr.sbin/ndp/ndp.c
186
t = time(NULL);
usr.sbin/ndp/ndp.c
187
tm = localtime(&t);
usr.sbin/newsyslog/newsyslog.c
1574
if (ola->t > olb->t)
usr.sbin/newsyslog/newsyslog.c
1576
else if (ola->t < olb->t)
usr.sbin/newsyslog/newsyslog.c
1702
if ((oldlogs[logcnt].t = timegm(&tm)) == -1)
usr.sbin/newsyslog/newsyslog.c
217
time_t t; /* Parsed timestamp of the logfile */
usr.sbin/newsyslog/newsyslog.c
2507
time_t t;
usr.sbin/newsyslog/newsyslog.c
2512
t = -1;
usr.sbin/newsyslog/newsyslog.c
2516
return (t);
usr.sbin/newsyslog/newsyslog.c
2522
return (t);
usr.sbin/newsyslog/newsyslog.c
2544
if (t < sb.st_mtime)
usr.sbin/newsyslog/newsyslog.c
2545
t = sb.st_mtime;
usr.sbin/newsyslog/newsyslog.c
2552
return (t);
usr.sbin/newsyslog/ptimes.c
129
char *t;
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
144
switch (t - s) {
usr.sbin/newsyslog/ptimes.c
175
if (*t != '\0') {
usr.sbin/newsyslog/ptimes.c
176
s = ++t;
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
181
switch (t - s) {
usr.sbin/pciconf/pciconf.c
1553
union tunion t;
usr.sbin/pciconf/pciconf.c
1559
t.one = *((uint8_t *)addr);
usr.sbin/pciconf/pciconf.c
1562
t.two = *((uint16_t *)addr);
usr.sbin/pciconf/pciconf.c
1565
t.four = *((uint32_t *)addr);
usr.sbin/pciconf/pciconf.c
1568
t.eight = *((uint64_t *)addr);
usr.sbin/pciconf/pciconf.c
1574
printf("%02x", t.bytes[j]);
usr.sbin/pmc/cmd_pmc_frontend.cc
148
table t = table();
usr.sbin/pmc/cmd_pmc_frontend.cc
149
t.addcolumn("Image", true);
usr.sbin/pmc/cmd_pmc_frontend.cc
150
t.addcolumn("Function", true);
usr.sbin/pmc/cmd_pmc_frontend.cc
151
t.addcolumn("Latency");
usr.sbin/pmc/cmd_pmc_frontend.cc
152
t.addcolumn("Samples");
usr.sbin/pmc/cmd_pmc_frontend.cc
153
t.addcolumn("OC Miss");
usr.sbin/pmc/cmd_pmc_frontend.cc
154
t.addcolumn("L2 Miss");
usr.sbin/pmc/cmd_pmc_frontend.cc
155
t.addcolumn("L3 Miss");
usr.sbin/pmc/cmd_pmc_frontend.cc
156
t.addcolumn("L1 TLB Miss");
usr.sbin/pmc/cmd_pmc_frontend.cc
157
t.addcolumn("L2 TLB Miss");
usr.sbin/pmc/cmd_pmc_frontend.cc
172
t.addrow(r);
usr.sbin/pmc/cmd_pmc_frontend.cc
175
t.sort(sortcol);
usr.sbin/pmc/cmd_pmc_frontend.cc
176
t.print();
usr.sbin/pmc/cmd_pmc_info.cc
117
table t = table();
usr.sbin/pmc/cmd_pmc_info.cc
118
t.addcolumn("Counter", true);
usr.sbin/pmc/cmd_pmc_info.cc
119
t.addcolumn("Counts", true);
usr.sbin/pmc/cmd_pmc_info.cc
127
t.addrow(r);
usr.sbin/pmc/cmd_pmc_info.cc
130
t.print();
usr.sbin/pmc/display.cc
243
title(const std::string &t)
usr.sbin/pmc/display.cc
249
printf("%s\n", t.c_str());
usr.sbin/pmc/display.cc
252
for (i = 0; i < t.size(); i++)
usr.sbin/pmc/display.cc
393
field::field(int64_t c, int64_t t, bool percent)
usr.sbin/pmc/display.cc
400
value[1] = t;
usr.sbin/pmccontrol/pmccontrol.c
127
int c, error, i, j, ncpu, npmc, t;
usr.sbin/pmccontrol/pmccontrol.c
139
if ((t = pmc_npmc(c)) < 0)
usr.sbin/pmccontrol/pmccontrol.c
143
npmc = MAX(t, npmc);
usr.sbin/ppp/bundle.c
1022
struct pppThroughput *t;
usr.sbin/ppp/bundle.c
1040
t = &arg->bundle->ncp.mp.link.stats.total;
usr.sbin/ppp/bundle.c
1041
octets = MAX(t->in.OctetsPerSecond, t->out.OctetsPerSecond);
usr.sbin/ppp/bundle.c
1042
secs = t->downtime ? 0 : throughput_uptime(t);
usr.sbin/ppp/bundle.c
1043
if (secs > t->SamplePeriod)
usr.sbin/ppp/bundle.c
1044
secs = t->SamplePeriod;
usr.sbin/ppp/command.c
3122
struct pppThroughput *t;
usr.sbin/ppp/command.c
3137
t = &cx->physical->link.stats.total;
usr.sbin/ppp/command.c
3139
t = &arg->bundle->ncp.ipcp.throughput;
usr.sbin/ppp/command.c
3142
t = &arg->bundle->ncp.ipv6cp.throughput;
usr.sbin/ppp/command.c
3161
throughput_clear(t, clear_type, arg->prompt);
usr.sbin/ppp/ether.c
222
struct timeval t;
usr.sbin/ppp/ether.c
238
t.tv_sec = t.tv_usec = 0;
usr.sbin/ppp/ether.c
239
ret = select(dev->cs + 1, r, NULL, NULL, &t);
usr.sbin/ppp/main.c
596
struct timeval t;
usr.sbin/ppp/main.c
602
t.tv_sec = t.tv_usec = 0;
usr.sbin/ppp/main.c
603
if (select(nfds, rfds, wfds, efds, &t) != -1) {
usr.sbin/ppp/main.c
611
t.tv_sec = t.tv_usec = 0;
usr.sbin/ppp/main.c
612
if (select(nfds, rfds, wfds, efds, &t) != -1) {
usr.sbin/ppp/main.c
620
t.tv_sec = t.tv_usec = 0;
usr.sbin/ppp/main.c
621
if (select(nfds, rfds, wfds, efds, &t) != -1) {
usr.sbin/ppp/main.c
671
struct timeval t;
usr.sbin/ppp/main.c
673
t.tv_sec = 0;
usr.sbin/ppp/main.c
674
t.tv_usec = 100000;
usr.sbin/ppp/main.c
675
select(0, NULL, NULL, NULL, &t);
usr.sbin/ppp/netgraph.c
176
struct timeval t;
usr.sbin/ppp/netgraph.c
189
t.tv_sec = t.tv_usec = 0;
usr.sbin/ppp/netgraph.c
190
ret = select(dev->cs + 1, r, NULL, NULL, &t);
usr.sbin/ppp/probe.c
45
struct timeval t;
usr.sbin/ppp/probe.c
47
t.tv_sec = 0;
usr.sbin/ppp/probe.c
48
t.tv_usec = 100000;
usr.sbin/ppp/probe.c
49
select(0, NULL, NULL, NULL, &t);
usr.sbin/ppp/probe.c
50
return t.tv_usec != 100000;
usr.sbin/ppp/throughput.c
100
throughput_disp(struct pppThroughput *t, struct prompt *prompt)
usr.sbin/ppp/throughput.c
104
secs_up = throughput_uptime(t);
usr.sbin/ppp/throughput.c
107
if (t->downtime)
usr.sbin/ppp/throughput.c
108
prompt_Printf(prompt, " - down at %s", ctime(&t->downtime));
usr.sbin/ppp/throughput.c
114
t->OctetsIn, t->OctetsOut);
usr.sbin/ppp/throughput.c
116
t->PacketsIn, t->PacketsOut);
usr.sbin/ppp/throughput.c
117
if (t->rolling) {
usr.sbin/ppp/throughput.c
119
(t->OctetsIn + t->OctetsOut) / divisor);
usr.sbin/ppp/throughput.c
122
t->downtime ? "average " : "currently",
usr.sbin/ppp/throughput.c
123
t->in.OctetsPerSecond, t->out.OctetsPerSecond,
usr.sbin/ppp/throughput.c
124
secs_up > t->SamplePeriod ? t->SamplePeriod : secs_up);
usr.sbin/ppp/throughput.c
126
t->BestOctetsPerSecond, ctime(&t->BestOctetsPerSecondTime));
usr.sbin/ppp/throughput.c
129
(t->OctetsIn + t->OctetsOut) / divisor);
usr.sbin/ppp/throughput.c
134
throughput_log(struct pppThroughput *t, int level, const char *title)
usr.sbin/ppp/throughput.c
136
if (t->uptime) {
usr.sbin/ppp/throughput.c
139
secs_up = throughput_uptime(t);
usr.sbin/ppp/throughput.c
143
" out\n", title, *title ? ": " : "", secs_up, t->OctetsIn,
usr.sbin/ppp/throughput.c
144
t->OctetsOut);
usr.sbin/ppp/throughput.c
146
title, *title ? ": " : "", t->PacketsIn, t->PacketsOut);
usr.sbin/ppp/throughput.c
149
if (t->rolling)
usr.sbin/ppp/throughput.c
151
(t->OctetsIn + t->OctetsOut) / secs_up, t->BestOctetsPerSecond,
usr.sbin/ppp/throughput.c
152
ctime(&t->BestOctetsPerSecondTime));
usr.sbin/ppp/throughput.c
155
(t->OctetsIn + t->OctetsOut) / secs_up);
usr.sbin/ppp/throughput.c
162
struct pppThroughput *t = (struct pppThroughput *)v;
usr.sbin/ppp/throughput.c
167
timer_Stop(&t->Timer);
usr.sbin/ppp/throughput.c
169
uptime = throughput_uptime(t);
usr.sbin/ppp/throughput.c
170
divisor = uptime < t->SamplePeriod ? uptime + 1 : t->SamplePeriod;
usr.sbin/ppp/throughput.c
172
old = t->in.SampleOctets[t->nSample];
usr.sbin/ppp/throughput.c
173
t->in.SampleOctets[t->nSample] = t->OctetsIn;
usr.sbin/ppp/throughput.c
174
t->in.OctetsPerSecond = (t->in.SampleOctets[t->nSample] - old) / divisor;
usr.sbin/ppp/throughput.c
176
old = t->out.SampleOctets[t->nSample];
usr.sbin/ppp/throughput.c
177
t->out.SampleOctets[t->nSample] = t->OctetsOut;
usr.sbin/ppp/throughput.c
178
t->out.OctetsPerSecond = (t->out.SampleOctets[t->nSample] - old) / divisor;
usr.sbin/ppp/throughput.c
180
octets = t->in.OctetsPerSecond + t->out.OctetsPerSecond;
usr.sbin/ppp/throughput.c
181
if (t->BestOctetsPerSecond < octets) {
usr.sbin/ppp/throughput.c
182
t->BestOctetsPerSecond = octets;
usr.sbin/ppp/throughput.c
183
time(&t->BestOctetsPerSecondTime);
usr.sbin/ppp/throughput.c
186
if (++t->nSample == t->SamplePeriod)
usr.sbin/ppp/throughput.c
187
t->nSample = 0;
usr.sbin/ppp/throughput.c
189
if (t->callback.fn != NULL && uptime >= t->SamplePeriod)
usr.sbin/ppp/throughput.c
190
(*t->callback.fn)(t->callback.data);
usr.sbin/ppp/throughput.c
192
timer_Start(&t->Timer);
usr.sbin/ppp/throughput.c
196
throughput_start(struct pppThroughput *t, const char *name, int rolling)
usr.sbin/ppp/throughput.c
199
timer_Stop(&t->Timer);
usr.sbin/ppp/throughput.c
201
for (i = 0; i < t->SamplePeriod; i++)
usr.sbin/ppp/throughput.c
202
t->in.SampleOctets[i] = t->out.SampleOctets[i] = 0;
usr.sbin/ppp/throughput.c
203
t->nSample = 0;
usr.sbin/ppp/throughput.c
204
t->OctetsIn = t->OctetsOut = t->PacketsIn = t->PacketsOut = 0;
usr.sbin/ppp/throughput.c
205
t->in.OctetsPerSecond = t->out.OctetsPerSecond = t->BestOctetsPerSecond = 0;
usr.sbin/ppp/throughput.c
206
time(&t->BestOctetsPerSecondTime);
usr.sbin/ppp/throughput.c
207
t->downtime = 0;
usr.sbin/ppp/throughput.c
208
time(&t->uptime);
usr.sbin/ppp/throughput.c
209
throughput_restart(t, name, rolling);
usr.sbin/ppp/throughput.c
213
throughput_restart(struct pppThroughput *t, const char *name, int rolling)
usr.sbin/ppp/throughput.c
215
timer_Stop(&t->Timer);
usr.sbin/ppp/throughput.c
216
t->rolling = rolling ? 1 : 0;
usr.sbin/ppp/throughput.c
217
if (t->rolling) {
usr.sbin/ppp/throughput.c
218
t->Timer.load = SECTICKS;
usr.sbin/ppp/throughput.c
219
t->Timer.func = throughput_sampler;
usr.sbin/ppp/throughput.c
220
t->Timer.name = name;
usr.sbin/ppp/throughput.c
221
t->Timer.arg = t;
usr.sbin/ppp/throughput.c
222
timer_Start(&t->Timer);
usr.sbin/ppp/throughput.c
224
t->Timer.load = 0;
usr.sbin/ppp/throughput.c
225
t->Timer.func = NULL;
usr.sbin/ppp/throughput.c
226
t->Timer.name = NULL;
usr.sbin/ppp/throughput.c
227
t->Timer.arg = NULL;
usr.sbin/ppp/throughput.c
232
throughput_stop(struct pppThroughput *t)
usr.sbin/ppp/throughput.c
234
if (t->Timer.state != TIMER_STOPPED)
usr.sbin/ppp/throughput.c
235
time(&t->downtime);
usr.sbin/ppp/throughput.c
236
timer_Stop(&t->Timer);
usr.sbin/ppp/throughput.c
240
throughput_addin(struct pppThroughput *t, long long n)
usr.sbin/ppp/throughput.c
242
t->OctetsIn += n;
usr.sbin/ppp/throughput.c
243
t->PacketsIn++;
usr.sbin/ppp/throughput.c
247
throughput_addout(struct pppThroughput *t, long long n)
usr.sbin/ppp/throughput.c
249
t->OctetsOut += n;
usr.sbin/ppp/throughput.c
250
t->PacketsOut++;
usr.sbin/ppp/throughput.c
254
throughput_clear(struct pppThroughput *t, int clear_type, struct prompt *prompt)
usr.sbin/ppp/throughput.c
259
for (i = 0; i < t->SamplePeriod; i++)
usr.sbin/ppp/throughput.c
260
t->in.SampleOctets[i] = t->out.SampleOctets[i] = 0;
usr.sbin/ppp/throughput.c
261
t->nSample = 0;
usr.sbin/ppp/throughput.c
267
if ((divisor = throughput_uptime(t)) == 0)
usr.sbin/ppp/throughput.c
270
(t->OctetsIn + t->OctetsOut) / divisor);
usr.sbin/ppp/throughput.c
271
t->OctetsIn = t->OctetsOut = t->PacketsIn = t->PacketsOut = 0;
usr.sbin/ppp/throughput.c
272
t->downtime = 0;
usr.sbin/ppp/throughput.c
273
time(&t->uptime);
usr.sbin/ppp/throughput.c
279
t->in.OctetsPerSecond, t->out.OctetsPerSecond);
usr.sbin/ppp/throughput.c
280
t->in.OctetsPerSecond = t->out.OctetsPerSecond = 0;
usr.sbin/ppp/throughput.c
286
time_buf = ctime(&t->BestOctetsPerSecondTime);
usr.sbin/ppp/throughput.c
291
t->BestOctetsPerSecond, time_buf);
usr.sbin/ppp/throughput.c
292
t->BestOctetsPerSecond = 0;
usr.sbin/ppp/throughput.c
293
time(&t->BestOctetsPerSecondTime);
usr.sbin/ppp/throughput.c
298
throughput_callback(struct pppThroughput *t, void (*fn)(void *), void *data)
usr.sbin/ppp/throughput.c
300
t->callback.fn = fn;
usr.sbin/ppp/throughput.c
301
t->callback.data = data;
usr.sbin/ppp/throughput.c
46
throughput_init(struct pppThroughput *t, int period)
usr.sbin/ppp/throughput.c
48
t->OctetsIn = t->OctetsOut = t->PacketsIn = t->PacketsOut = 0;
usr.sbin/ppp/throughput.c
49
t->SamplePeriod = period;
usr.sbin/ppp/throughput.c
50
t->in.SampleOctets = (long long *)
usr.sbin/ppp/throughput.c
51
calloc(period, sizeof *t->in.SampleOctets);
usr.sbin/ppp/throughput.c
52
t->in.OctetsPerSecond = 0;
usr.sbin/ppp/throughput.c
53
t->out.SampleOctets = (long long *)
usr.sbin/ppp/throughput.c
54
calloc(period, sizeof *t->out.SampleOctets);
usr.sbin/ppp/throughput.c
55
t->out.OctetsPerSecond = 0;
usr.sbin/ppp/throughput.c
56
t->BestOctetsPerSecond = 0;
usr.sbin/ppp/throughput.c
57
t->nSample = 0;
usr.sbin/ppp/throughput.c
58
time(&t->BestOctetsPerSecondTime);
usr.sbin/ppp/throughput.c
59
memset(&t->Timer, '\0', sizeof t->Timer);
usr.sbin/ppp/throughput.c
60
t->Timer.name = "throughput";
usr.sbin/ppp/throughput.c
61
t->uptime = 0;
usr.sbin/ppp/throughput.c
62
t->downtime = 0;
usr.sbin/ppp/throughput.c
63
t->rolling = 0;
usr.sbin/ppp/throughput.c
64
t->callback.data = NULL;
usr.sbin/ppp/throughput.c
65
t->callback.fn = NULL;
usr.sbin/ppp/throughput.c
66
throughput_stop(t);
usr.sbin/ppp/throughput.c
70
throughput_destroy(struct pppThroughput *t)
usr.sbin/ppp/throughput.c
72
if (t && t->in.SampleOctets) {
usr.sbin/ppp/throughput.c
73
throughput_stop(t);
usr.sbin/ppp/throughput.c
74
free(t->in.SampleOctets);
usr.sbin/ppp/throughput.c
75
free(t->out.SampleOctets);
usr.sbin/ppp/throughput.c
76
t->in.SampleOctets = NULL;
usr.sbin/ppp/throughput.c
77
t->out.SampleOctets = NULL;
usr.sbin/ppp/throughput.c
82
throughput_uptime(struct pppThroughput *t)
usr.sbin/ppp/throughput.c
86
downat = t->downtime ? t->downtime : time(NULL);
usr.sbin/ppp/throughput.c
87
if (t->uptime && downat < t->uptime) {
usr.sbin/ppp/throughput.c
91
for (i = 0; i < t->SamplePeriod; i++)
usr.sbin/ppp/throughput.c
92
t->in.SampleOctets[i] = t->out.SampleOctets[i] = 0;
usr.sbin/ppp/throughput.c
93
t->nSample = 0;
usr.sbin/ppp/throughput.c
94
t->uptime = downat;
usr.sbin/ppp/throughput.c
96
return t->uptime ? downat - t->uptime : 0;
usr.sbin/ppp/timer.c
105
for (t = TimerList; t; t = t->next) {
usr.sbin/ppp/timer.c
106
if (ticks + t->rest >= tp->load)
usr.sbin/ppp/timer.c
108
ticks += t->rest;
usr.sbin/ppp/timer.c
109
pt = t;
usr.sbin/ppp/timer.c
115
if (t)
usr.sbin/ppp/timer.c
117
"timer[%p], delta = %ld\n", tp->name, tp, t->name, t, tp->rest);
usr.sbin/ppp/timer.c
122
tp->next = t;
usr.sbin/ppp/timer.c
127
timer_InitService(t != NULL); /* [re]Start the Timer Service */
usr.sbin/ppp/timer.c
129
if (t)
usr.sbin/ppp/timer.c
130
t->rest -= tp->rest;
usr.sbin/ppp/timer.c
139
struct pppTimer *t, *pt;
usr.sbin/ppp/timer.c
151
for (t = TimerList; t != tp && t != NULL; t = t->next)
usr.sbin/ppp/timer.c
152
pt = t;
usr.sbin/ppp/timer.c
154
if (t) {
usr.sbin/ppp/timer.c
156
pt->next = t->next;
usr.sbin/ppp/timer.c
158
TimerList = t->next;
usr.sbin/ppp/timer.c
162
if (t->next) {
usr.sbin/ppp/timer.c
164
t->next->rest += RESTVAL(itimer); /* t (tp) was the first in the list */
usr.sbin/ppp/timer.c
166
t->next->rest += t->rest;
usr.sbin/ppp/timer.c
167
if (!pt && t->next->rest > 0) /* t->next is now the first in the list */
usr.sbin/ppp/timer.c
173
for (t = ExpiredList; t != tp && t != NULL; t = t->enext)
usr.sbin/ppp/timer.c
174
pt = t;
usr.sbin/ppp/timer.c
176
if (t) {
usr.sbin/ppp/timer.c
178
pt->enext = t->enext;
usr.sbin/ppp/timer.c
180
ExpiredList = t->enext;
usr.sbin/ppp/timer.c
195
static time_t t; /* Only show timers globally every second */
usr.sbin/ppp/timer.c
198
if (n > t)
usr.sbin/ppp/timer.c
200
t = n;
usr.sbin/ppp/timer.c
46
#define RESTVAL(t) \
usr.sbin/ppp/timer.c
47
((t).it_value.tv_sec * SECTICKS + (t).it_value.tv_usec / TICKUNIT + \
usr.sbin/ppp/timer.c
48
((((t).it_value.tv_usec % TICKUNIT) >= (TICKUNIT >> 1)) ? 1 : 0))
usr.sbin/ppp/timer.c
80
struct pppTimer *t, *pt;
usr.sbin/pppctl/pppctl.c
122
struct timeval t;
usr.sbin/pppctl/pppctl.c
131
t.tv_sec = 0;
usr.sbin/pppctl/pppctl.c
132
t.tv_usec = 100000;
usr.sbin/pppctl/pppctl.c
190
if ((Result = select(fd + 1, &f, NULL, NULL, &t)) <= 0) {
usr.sbin/pppctl/pppctl.c
213
struct timeval t;
usr.sbin/pppctl/pppctl.c
220
t.tv_sec = t.tv_usec = 0;
usr.sbin/pppctl/pppctl.c
222
if (select(data + 1, &f, NULL, NULL, &t) > 0) {
usr.sbin/pw/psdate.c
130
t->tm_mday = tm.tm_mday;
usr.sbin/pw/psdate.c
131
t->tm_mon = tm.tm_mon;
usr.sbin/pw/psdate.c
132
t->tm_year = tm.tm_year;
usr.sbin/pw/psdate.c
133
t->tm_hour = tm.tm_hour;
usr.sbin/pw/psdate.c
134
t->tm_min = tm.tm_min;
usr.sbin/pw/psdate.c
135
t->tm_sec = tm.tm_sec;
usr.sbin/pw/psdate.c
78
parse_datesub(char const * str, struct tm *t)
usr.sbin/pw/psdate.h
38
void print_date(char *buf, time_t t, int dotime);
usr.sbin/pw/pw_group.c
52
struct termios t, n;
usr.sbin/pw/pw_group.c
65
if (tcgetattr(fd, &t) == -1)
usr.sbin/pw/pw_group.c
68
n = t;
usr.sbin/pw/pw_group.c
80
tcsetattr(fd, TCSANOW, &t);
usr.sbin/pw/pw_log.c
101
t = localtime(&now);
usr.sbin/pw/pw_log.c
103
strftime(nfmt, sizeof nfmt, "%Y-%m-%d %T ", t);
usr.sbin/pw/pw_log.c
45
struct tm *t;
usr.sbin/pw/pw_user.c
169
struct termios t, n;
usr.sbin/pw/pw_user.c
183
if (tcgetattr(fd, &t) == -1)
usr.sbin/pw/pw_user.c
186
n = t;
usr.sbin/pw/pw_user.c
198
tcsetattr(fd, TCSANOW, &t);
usr.sbin/pwd_mkdb/pwd_mkdb.c
349
#define COMPACT(e) t = e; while ((*p++ = *t++));
usr.sbin/pwd_mkdb/pwd_mkdb.c
95
const char *t;
usr.sbin/route6d/route6d.c
1113
time_t t;
usr.sbin/route6d/route6d.c
1262
t = time(NULL);
usr.sbin/route6d/route6d.c
1263
t_half_lifetime = t - (RIP_LIFETIME/2);
usr.sbin/route6d/route6d.c
1368
rrt->rrt_t = t;
usr.sbin/route6d/route6d.c
1375
rrt->rrt_t = t;
usr.sbin/route6d/route6d.c
1383
rrt->rrt_t = t;
usr.sbin/route6d/route6d.c
1393
rrt->rrt_t = t;
usr.sbin/route6d/route6d.c
1422
rrt->rrt_t = t;
usr.sbin/route6d/route6d.c
3118
time_t t, age;
usr.sbin/route6d/route6d.c
3126
t = time(NULL);
usr.sbin/route6d/route6d.c
3132
age = t - rrt->rrt_t;
usr.sbin/route6d/route6d.c
3426
time_t t;
usr.sbin/route6d/route6d.c
3429
t = time(NULL);
usr.sbin/route6d/route6d.c
3430
if ((tm = localtime(&t)) == 0) {
usr.sbin/route6d/route6d.c
3455
time_t t;
usr.sbin/route6d/route6d.c
3458
t = (int)(RIP_TRIG_INT6_MIN +
usr.sbin/route6d/route6d.c
3460
sup_trig_update = time(NULL) + t;
usr.sbin/route6d/route6d.c
3461
return t;
usr.sbin/rpc.lockd/kern.c
586
u_int8_t *p, *t, buf[NFS_SMALLFH*3+1];
usr.sbin/rpc.lockd/kern.c
590
for (t = buf, p = (u_int8_t *)mp->lm_fh,
usr.sbin/rpc.lockd/kern.c
593
*t++ = '\\';
usr.sbin/rpc.lockd/kern.c
594
*t++ = hex[(*p & 0xf0) >> 4];
usr.sbin/rpc.lockd/kern.c
595
*t++ = hex[*p & 0x0f];
usr.sbin/rpc.lockd/kern.c
597
*t = '\0';
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
104
t = buf;
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
106
e = t; \
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
107
while ((*t++ = *p++)); \
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
90
char *t, *s = p;
usr.sbin/rtadvd/config.c
126
int64_t t; \
usr.sbin/rtadvd/config.c
127
if ((t = agetnum(cap)) < 0) { \
usr.sbin/rtadvd/config.c
132
var = t; \
usr.sbin/rwhod/rwhod.c
347
time_t t;
usr.sbin/rwhod/rwhod.c
427
(void) time(&t);
usr.sbin/rwhod/rwhod.c
428
wd.wd_recvtime = _time_to_int(t);
usr.sbin/rwhod/rwhod.c
727
time_t t = _time32_to_time(ntohl(we->we_utmp.out_time));
usr.sbin/rwhod/rwhod.c
730
w->wd_hostname, we->we_utmp.out_line, ctime(&t) + 4);
usr.sbin/sa/pdb.c
282
double t, c;
usr.sbin/sa/pdb.c
286
t = (cip->ci_utime + cip->ci_stime) / 1000000;
usr.sbin/sa/pdb.c
287
if (t < 0.01) {
usr.sbin/sa/pdb.c
288
t = 0.01;
usr.sbin/sa/pdb.c
316
printf("%11.3fcp ", t / (double) cip->ci_calls);
usr.sbin/sa/pdb.c
318
printf("%11.2fcp ", t / 60.0);
usr.sbin/sa/pdb.c
370
printf("%8.0fk ", cip->ci_mem / t);
usr.sbin/sa/usrdb.c
184
double t;
usr.sbin/sa/usrdb.c
197
t = (ui->ui_utime + ui->ui_stime) / 1000000;
usr.sbin/sa/usrdb.c
198
if (t < 0.000001) /* kill divide by zero */
usr.sbin/sa/usrdb.c
199
t = 0.000001;
usr.sbin/sa/usrdb.c
201
printf("%12.2f%s ", t / 60.0, "cpu");
usr.sbin/sa/usrdb.c
212
printf("%12.0f%s", ui->ui_mem / t, "k");
usr.sbin/traceroute/traceroute.c
1336
pr_type(register u_char t)
usr.sbin/traceroute/traceroute.c
1346
if (t > 16)
usr.sbin/traceroute/traceroute.c
1349
return (ttab[t]);
usr.sbin/traceroute6/traceroute6.c
1273
u_char t = t0 & 0xff;
usr.sbin/traceroute6/traceroute6.c
1276
switch (t) {
usr.sbin/tzsetup/tzsetup.c
311
char *s, *t, *name;
usr.sbin/tzsetup/tzsetup.c
328
t = strsep(&s, "\t");
usr.sbin/tzsetup/tzsetup.c
329
if (t == NULL || strlen(t) != 2)
usr.sbin/tzsetup/tzsetup.c
331
if (t[0] < 'A' || t[0] > 'Z' || t[1] < 'A' || t[1] > 'Z')
usr.sbin/tzsetup/tzsetup.c
333
lineno, t);
usr.sbin/tzsetup/tzsetup.c
345
cp = &countries[CODE2INT(t)];
usr.sbin/tzsetup/tzsetup.c
348
path_iso3166, lineno, t, cp->name);
usr.sbin/tzsetup/tzsetup.c
352
cp->tlc = strdup(t);
usr.sbin/tzsetup/tzsetup.c
703
time_t t = time(0);
usr.sbin/tzsetup/tzsetup.c
709
tm = localtime(&t);
usr.sbin/uefisign/uefisign.c
154
ASN1_TYPE *t;
usr.sbin/uefisign/uefisign.c
196
t = ASN1_generate_nconf(str, cnf);
usr.sbin/uefisign/uefisign.c
197
if (t == NULL) {
usr.sbin/uefisign/uefisign.c
206
len = i2d_ASN1_TYPE(t, NULL);
usr.sbin/uefisign/uefisign.c
210
i2d_ASN1_TYPE(t, &tmp);
usr.sbin/uefisign/uefisign.c
216
t = NULL;
usr.sbin/uefisign/uefisign.c
232
t = ASN1_TYPE_new();
usr.sbin/uefisign/uefisign.c
235
ASN1_TYPE_set(t, V_ASN1_SEQUENCE, s);
usr.sbin/uefisign/uefisign.c
237
PKCS7_set0_type_other(pkcs7->d.sign->contents, nid, t);
usr.sbin/uhsoctl/uhsoctl.c
1138
struct termios t;
usr.sbin/uhsoctl/uhsoctl.c
1153
tcgetattr(ctx->fd, &t);
usr.sbin/uhsoctl/uhsoctl.c
1154
t.c_oflag = 0;
usr.sbin/uhsoctl/uhsoctl.c
1155
t.c_iflag = 0;
usr.sbin/uhsoctl/uhsoctl.c
1156
t.c_cflag = CLOCAL | CREAD;
usr.sbin/uhsoctl/uhsoctl.c
1157
t.c_lflag = 0;
usr.sbin/uhsoctl/uhsoctl.c
1158
tcsetattr(ctx->fd, TCSAFLUSH, &t);
usr.sbin/usbconfig/usbconfig.c
422
uint16_t t;
usr.sbin/usbconfig/usbconfig.c
431
t = actlen;
usr.sbin/usbconfig/usbconfig.c
433
for (t = 0; t != actlen; t++) {
usr.sbin/usbconfig/usbconfig.c
435
((uint8_t *)opt->buffer)[t],
usr.sbin/usbconfig/usbconfig.c
436
(t == (actlen - 1)) ? "" : " ");
usr.sbin/usbconfig/usbconfig.c
439
for (t = 0; t != actlen; t++) {
usr.sbin/usbconfig/usbconfig.c
442
c = ((uint8_t *)opt->buffer)[t];
usr.sbin/usbconfig/usbconfig.c
565
int t;
usr.sbin/usbconfig/usbconfig.c
638
t = (argc - n - 1);
usr.sbin/usbconfig/usbconfig.c
639
if (t > 255)
usr.sbin/usbconfig/usbconfig.c
640
t = 255;
usr.sbin/usbconfig/usbconfig.c
641
switch (get_token(argv[n], t)) {
usr.sbin/usbconfig/usbconfig.c
861
t = (argc - n - 1);
usr.sbin/usbconfig/usbconfig.c
862
if (t < opt->setup.wLength) {
usr.sbin/usbconfig/usbconfig.c
865
t = opt->setup.wLength;
usr.sbin/usbconfig/usbconfig.c
866
while (t--) {
usr.sbin/usbconfig/usbconfig.c
867
((uint8_t *)opt->buffer)[t] =
usr.sbin/usbconfig/usbconfig.c
868
num_id(argv[n + t + 1], "req_data");
usr.sbin/vidcontrol/vidcontrol.c
375
vfnt_map_t *t;
usr.sbin/vidcontrol/vidcontrol.c
381
if ((t = calloc(nmappings, sizeof(*t))) == NULL) {
usr.sbin/vidcontrol/vidcontrol.c
386
if (fread(t, sizeof *t * nmappings, 1, f) != 1) {
usr.sbin/vidcontrol/vidcontrol.c
388
free(t);
usr.sbin/vidcontrol/vidcontrol.c
393
t[i].vfm_src = be32toh(t[i].vfm_src);
usr.sbin/vidcontrol/vidcontrol.c
394
t[i].vfm_dst = be16toh(t[i].vfm_dst);
usr.sbin/vidcontrol/vidcontrol.c
395
t[i].vfm_len = be16toh(t[i].vfm_len);
usr.sbin/vidcontrol/vidcontrol.c
398
return (t);
usr.sbin/watch/watch.c
92
time_t t;
usr.sbin/watch/watch.c
97
t = time(NULL);
usr.sbin/watch/watch.c
98
strftime(btmp, 1024, "Time: %d %b %H:%M", localtime(&t));
usr.sbin/ypldap/ber.c
1006
t = (t << 7) | (u & ~BER_TAG_MORE);
usr.sbin/ypldap/ber.c
1015
*tag = t;
usr.sbin/ypldap/ber.c
633
unsigned long *t;
usr.sbin/ypldap/ber.c
693
t = va_arg(ap, unsigned long *);
usr.sbin/ypldap/ber.c
695
*t = ber->be_type;
usr.sbin/ypldap/ber.c
846
unsigned long t;
usr.sbin/ypldap/ber.c
857
for (t = root->be_type; t > 0; t >>= 7)
usr.sbin/ypldap/ber.c
921
u_char id = 0, t, buf[8];
usr.sbin/ypldap/ber.c
942
for (t = 0, type = root->be_type; type > 0; type >>= 7)
usr.sbin/ypldap/ber.c
943
buf[t++] = type & ~BER_TAG_MORE;
usr.sbin/ypldap/ber.c
945
while (t-- > 0) {
usr.sbin/ypldap/ber.c
946
if (t > 0)
usr.sbin/ypldap/ber.c
947
buf[t] |= BER_TAG_MORE;
usr.sbin/ypldap/ber.c
948
ber_putc(ber, buf[t]);
usr.sbin/ypldap/ber.c
956
for (t = 0, size = root->be_len; size > 0; size >>= 8)
usr.sbin/ypldap/ber.c
957
buf[t++] = size & 0xff;
usr.sbin/ypldap/ber.c
959
ber_putc(ber, t | BER_TAG_MORE);
usr.sbin/ypldap/ber.c
961
while (t > 0)
usr.sbin/ypldap/ber.c
962
ber_putc(ber, buf[--t]);
usr.sbin/ypldap/ber.c
990
unsigned long t = 0;
usr.sbin/ypserv/yp_server.c
371
char g[11], t[11], p[11];
usr.sbin/ypserv/yp_server.c
375
snprintf (t, sizeof(t), "%u", argp->transid);
usr.sbin/ypserv/yp_server.c
385
"-p", yp_dir, "-C", t,
usr.sbin/ypserv/yp_server.c
393
"-C", t,